gas:
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
4a2d9c08
PA
12012-02-10 Pedro Alves <palves@redhat.com>
2
3 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
4 always non-empty.
5 (test_attach): Always pass $exec to test_attach_gdb.
6
09fa21bd
TT
72012-02-08 Tom Tromey <tromey@redhat.com>
8
9 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
10 before inferior is started.
11
f0823d2c
TT
122012-02-07 Tom Tromey <tromey@redhat.com>
13
14 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
15 Symbol.value.
16 * gdb.python/py-symbol.c (qq): Set default value.
17
182012-02-07 Tom Tromey <tromey@redhat.com>
64e7d9dd
TT
19
20 * gdb.python/py-symbol.c (qq): New global.
21 * gdb.python/py-symbol.exp: Add test for frame-less
22 lookup_symbol.
23 * gdb.python/py-symtab.exp: Fix line number.
24
f7e44f65
JB
252012-02-03 Joel Brobecker <brobecker@adacore.com>
26
27 * gdb.ada/mi_task_arg: New testcase.
28
4c9ed63c
PA
292012-02-02 Pedro Alves <palves@redhat.com>
30
31 * gdb.reverse/until-precsave.exp: Also put "record save" under the
32 extended timeout.
33
c0b9f2c6
PA
342012-02-02 Pedro Alves <palves@redhat.com>
35
36 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
37 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
38
5f8cefd7
PA
392012-02-02 Pedro Alves <palves@redhat.com>
40
41 * gdb.base/term.exp: Rewrite.
42 * gdb.base/term.c: New.
43
2f3a2569
PA
442012-02-02 Pedro Alves <palves@redhat.com>
45
46 * gdb.base/default.exp (run "r" abbreviation, run): Add
47 extended-remote expected output.
48
f149aabd
TT
492012-02-02 Tom Tromey <tromey@redhat.com>
50
51 * gdb.cp/dispcxx.exp: New file.
52 * gdb.cp/dispcxx.cc: New file.
53
03bef283
TT
542012-02-01 Tom Tromey <tromey@redhat.com>
55
56 * gdb.base/jit-simple.exp: New file.
57 * gdb.base/jit-simple.c: New file.
58
a79b18b5
YQ
592012-01-30 Yao Qi <yao@codesourcery.com>
60
61 * gdb.base/skip.exp: Make test result unique.
62
f0d1a53e
JK
632012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
64
65 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
66 compatibility with valgrind-3.7.0.
67
4b3c9f41
PA
682012-01-27 Pedro Alves <palves@redhat.com>
69
70 * gdb.base/watchpoint.exp (no_hw): New global.
71 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
72 disable hw watchpoints.
73 (test_wide_location_1, test_wide_location_2): If no_hw is set,
74 don't expect hw watchpoints.
75 (no_hw_watchpoints): Always clean restart.
76 (do_tests): New procedure, factored out from the top level.
77 (top level): Run tests twice. Once with hw watchpoints enabled,
78 another time with hw watchpoints disabled.
79
a13491c8
PA
802012-01-27 Pedro Alves <palves@redhat.com>
81
82 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
83 out from the top level.
84 (top level): Call it instead.
85
f2c8a051
PA
862012-01-27 Pedro Alves <palves@redhat.com>
87
88 * gdb.base/watchpoint.exp (top level): Re-enable hardware
89 watchpoints sooner.
90
654d7a9e
PA
912012-01-27 Pedro Alves <palves@redhat.com>
92
93 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
94
274f47f3
PA
952012-01-27 Pedro Alves <palves@redhat.com>
96
97 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
98 "You may have requested too many hardware
99 breakpoints/watchpoints".
100
e4d63ba2
PA
1012012-01-27 Pedro Alves <palves@redhat.com>
102
103 * gdb.base/watchpoint.exp (maybe_clean_restart)
104 (maybe_reinitialize): New.
105 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
106 expect "hit N times".
107 (test_disabling_watchpoints, test_complex_watchpoint)
108 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
109 Call maybe_clean_restart.
110 (top level): Use clean_restart. Remove "mips-idt-*"
111 reinitialization.
112
dbd95daf
PA
1132012-01-27 Pedro Alves <palves@redhat.com>
114
115 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
116
f3ad2025
PA
1172012-01-27 Pedro Alves <palves@redhat.com>
118
119 * gdb.base/watchpoint.exp: Clean restart after tests that don't
120 require `initialize' anymore. Remove unnecessary `initialize'
121 calls.
122
100aa3ae
PA
1232012-01-27 Pedro Alves <palves@redhat.com>
124
125 * gdb.base/watchpoint.exp (wp_set): Delete.
126 (initialize, test_simple_watchpoint, top level): Remove dead code.
127
c79a8e11
PA
1282012-01-27 Pedro Alves <palves@redhat.com>
129
130 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
131 typo.
132
048fe15a
PA
1332012-01-27 Pedro Alves <palves@redhat.com>
134
135 * config/extended-gdbserver.exp: New file.
136 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
137 comment.
138 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
139 * boards/native-extended-gdbserver.exp: New file.
140
4033a6bf
PA
1412012-01-26 Pedro Alves <palves@redhat.com>
142
143 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
144 and gdb_test_multiple.
145
3d7f4b81
PA
1462012-01-26 Pedro Alves <palves@redhat.com>
147
148 Make test messages unique, and more identifiable.
149 * gdb.multi/watchpoint-multi.exp: Change test messages.
150
484abf42
TT
1512012-01-25 Tom Tromey <tromey@redhat.com>
152
153 * gdb.base/solib-disc.exp: Fix regexps.
154
edcc5120
TT
1552012-01-24 Tom Tromey <tromey@redhat.com>
156
157 * lib/mi-support.exp (mi_expect_stop): Add special case for
158 solib-event.
159 * gdb.base/catch-load-so.c: New file.
160 * gdb.base/catch-load.exp: New file.
161 * gdb.base/catch-load.c: New file.
162 * gdb.base/break-interp.exp (reach_1): Update regexp.
163
30b91c90
JK
1642012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
165
166 Fix fuzzy results.
167 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
168 lpsimple and func.
169
53fe1783
GB
1702012-01-24 Gary Benson <gbenson@redhat.com>
171
172 Delete #if 0'd out code.
173 * gdb.base/default.exp (info catch): Remove.
174 * gdb.base/gdb_history (info catch): Likewise.
175 * gdb.base/help.exp (info catch): Likewise.
176
d0d8b0c6
JK
1772012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
178
179 Fix watchpoints to be specific for each inferior.
180 * gdb.multi/watchpoint-multi.c: New file.
181 * gdb.multi/watchpoint-multi.exp: New file.
182
4403d8e9
JK
1832012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
184
185 Fix watchpoints across inferior fork.
186 * gdb.threads/watchpoint-fork-child.c: New file.
187 * gdb.threads/watchpoint-fork-mt.c: New file.
188 * gdb.threads/watchpoint-fork-parent.c: New file.
189 * gdb.threads/watchpoint-fork-st.c: New file.
190 * gdb.threads/watchpoint-fork.exp: New file.
191 * gdb.threads/watchpoint-fork.h: New file.
192
050a2e1d
PA
1932012-01-23 Pedro Alves <palves@redhat.com>
194
195 * gdb.base/call-signal-resume.exp: Allow output after "return".
196
6a52fb62
PA
1972012-01-20 Pedro Alves <palves@redhat.com>
198
199 * gdb.python/py-finish-breakpoint.py: Fix typo.
200
145b16a9
UW
2012012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
202
203 * gdb.base/info-proc.exp: Also run on remote targets. Main
204 "info proc" command is now always present; whether target supports
205 actual info proc operation is detected when attempting to issue
206 the command.
207
26f6125e
JK
2082012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
209
210 * .gdbinit: Remove.
211
eb5227ce
PA
2122012-01-19 Pedro Alves <palves@redhat.com>
213
214 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
215 look at the funtions' returns.
216 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
217 (jprint.print(int, int)): Change return type to int. Adjust.
218
1db33378
PP
2192012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
220
221 PR gdb/9538
222 * gdb.base/sepdebug.exp: New test.
223
b9736cf8
PA
2242012-01-18 Pedro Alves <palves@redhat.com>
225
226 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
227 Allow output before ^done.
228
4aac40c8
TT
2292012-01-16 Tom Tromey <tromey@redhat.com>
230
231 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
232 Add tests for relative directory.
233
cafec441
TT
2342012-01-16 Tom Tromey <tromey@redhat.com>
235
236 * gdb.base/printcmds.c (enum flag_enum): New.
237 (three): New global.
238 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
239 enum printing.
240 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
241 FlagEnumerationPrinter.
242 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
243 * gdb.python/py-pp-maint.c (enum flag_enum): New.
244 (fval): New global.
245
abcc4978
PA
2462012-01-16 Pedro Alves <palves@redhat.com>
247
248 * lib/gdb.exp (banned_procedures): New variable.
249 (banned_variables_traced): Rename to ...
250 (banned_traced): ... this.
251 (gdb_init): Also trace banned procedures.
252 (gdb_finish): Also untrace banned procedures.
253
97ccebe8
PA
2542012-01-16 Pedro Alves <palves@redhat.com>
255
256 Remove all calls to strace.
257
2af7517b
JK
2582012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
259
260 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
261 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
262
9241a8bc
PP
2632012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
264
265 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
266 * gdb.base/pie-execl.exp: Likewise.
267
3848a17f
KS
2682012-01-12 Keith Seitz <keiths@redhat.com>
269
270 PR mi/10586
271 * gdb.mi/var-cmd.c (struct anonymous): New structure.
272 (do_anonymous_type_tests): New function.
273 (main): Call do_anonymous_type_tests.
274 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
275 (verify_everything): New procedure.
276 * gdb.mi/mi-var-cp.cc (class A): New class.
277 (anonymous_structs_and_unions): New function.
278 (main): Call anonymous_structs_and_unions.
279 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
280 (verify_everything): New procedure.
281
440e2fca
KS
2822012-01-12 Keith Seitz <keiths@redhat.com>
283
284 * lib/mi-support.exp: Expand comments about PATH_EXPR.
285 (varobj_tree::get_path_expr): Assume that all varobjs are
286 compound unless they are known simple types.
287 Adjust path expressions based on parent type, path parent type,
288 and tree language.
289 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
290 the root varobj.
291 (mi_walk_varobj_tree): Add LANGUAGE parameter.
292
675399c9
PA
2932012-01-11 Pedro Alves <palves@redhat.com>
294
295 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
296 core files on this machine" anymore.
297
97ddaa9b
PH
2982012-01-11 Paul Hilfinger <hilfingr@adacore.com>
299
300 * gdb.base/watchpoint.c (recurser): Initialize local_x.
301 (main): Repeat recurser call.
302 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
303 equivalent to 'local_x'.
304
ea733575
PH
3052012-01-11 Paul Hilfinger <hilfingr@adacore.com>
306 Joel Brobecker <brobecker@adacore.com>
307
308 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
309
2ca0b532
PA
3102012-01-05 Pedro Alves <alves.ped@gmail.com>
311
312 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
313 * gdb.python/py-events.c (first): Add bits for new "step N" test.
314 * gdb.python/py-events.exp: Test that "step N" tripping on a
315 breakpoint emits a breakpoint event.
316
6e681866
JB
3172012-01-03 Joel Brobecker <brobecker@adacore.com>
318
319 * gdb.base/auxv.exp: Reformat the copyright notice.
320
3c2d6aff
YQ
3212012-01-03 Yao Qi <yao@codesourcery.com>
322
323 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
324 (strace_trace_on_diff_addr): New.
325 * gdb.trace/strace.c: (main): Add two local variables.
326
0852fee3
UW
3272011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
328
329 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
330 * gdb.cell/gcore.exp: Likewise.
331 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
332 to verify the correct instance of main is selected.
333
12c3e59c
JB
3342012-01-02 Joel Brobecker <brobecker@adacore.com>
335
336 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
337 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
338 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
339 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
340 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
341 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
342 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
343 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
344 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
345 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
346 gdb.threads/thread_check.c: Reformat copyright header.
347
c0f378ec
EBM
3482011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
349
e4a7ca93 350 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
c0f378ec
EBM
351 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
352 is not enabled.
353
3bc96cfb
JK
3542011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
355
356 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
357 parameter to self_exec, adjust the function.
358 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
359 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
360 (set var do_exit = 0): Remove test.
361 (newline at end of file): Add one.
362
095bcf5e
JB
3632011-12-27 Joel Brobecker <brobecker@adacore.com>
364
365 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
366 New files.
367
18d19bd1
JK
3682011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
369
370 Fix racy FAILs.
371 * gdb.threads/fork-thread-pending.c (barrier): New variable.
372 (thread_function, thread_forker): Call pthread_barrier_wait for it.
373 (main): Call pthread_barrier_init for it.
374
e809353a
JK
3752011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
376
377 Fix double send_gdb leading to racy FAILs.
378 * gdb.base/break.exp (set silent break bp_location1): Replace
379 3x send_gdb and gdb_expect by gdb_test.
380 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
381 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
382 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
383 instead of send_gdb. Twice.
384 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
385 3x send_gdb and gdb_expect by gdb_test.
386 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
387
da8cb7ec
JK
3882011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
389
390 * gdb.linespec/linespec.exp: Compile using {c++}.
391
ae1a303e
JK
3922011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
393
394 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
395 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
396 (verify GCC PR debug/51668): New test.
397
cc72b2a2
KP
3982011-12-23 Kevin Pouget <kevin.pouget@st.com>
399
400 Introduce gdb.FinishBreakpoint in Python.
401 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
402 py-finish-breakpoint2
403 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
404 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
405 instead of line number.
406 * gdb.python/py-finish-breakpoint.c: New file.
407 * gdb.python/py-finish-breakpoint.exp: New file.
408 * gdb.python/py-finish-breakpoint.py: New file.
409 * gdb.python/py-finish-breakpoint2.cc: New file.
410 * gdb.python/py-finish-breakpoint2.exp: New file.
411 * gdb.python/py-finish-breakpoint2.py: New file.
412
3b7962f9
JK
4132011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
414
415 Partial fix of compatibility with gcc-4.7.
416 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
417 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
418 Add comment to add a PASS case in the future.
419
6538471c
JK
420 Fix compatibility with gcc-4.7.
421 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
422
7052e42c
UW
4232011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
424
425 PR tdep/12797
426 * gdb.base/callfuncs.exp: Remove KFAIL.
427
9ac7f98e
JB
4282011-12-21 Joel Brobecker <brobecker@adacore.com>
429
430 * gdb.ada/task_bp: New testcase.
431
f6eeced0
JK
4322011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
433
434 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
435 -DNO_SECTIONS.
436 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
437
72225e17
JK
4382011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
439
440 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
441 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
442 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
443 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
444 conditional for gcc <= 4.5.
445
13ac8d2c
JK
4462011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
447
448 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
449 by XFAIL.
450 * gdb.cp/static-method.exp (info addr A::func())
451 (list static-method.cc:xxx::(anonymous namespace)::A::func)
452 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
453 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
454 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
455 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
456 (test value of F in k3_m): Likewise.
457 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
458 Likewise.
459
049682ba
JK
4602011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
461
462 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
463 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
464 Remove.
465 * gdb.threads/attachstop-mt.c: Remove.
466 * gdb.threads/attachstop-mt.exp: Remove.
467
2c9d8796
MK
4682011-12-17 Mark Kettenis <kettenis@gnu.org>
469
470 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
471
e0f9f062
DE
4722011-12-16 Doug Evans <dje@google.com>
473
f4aa2101 474 * boards/native-stdio-gdbserver.exp: New file.
966be4fd
DE
475 * boards/native-gdbserver.exp: New file.
476
e0f9f062
DE
477 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
478 gdbserver output.
479 (gdbserver_default_get_remote_address): New function.
480 (gdbserver_start): Call gdb,get_remote_address to compute argument
481 to "target remote" command.
482
80b6e756
PM
4832011-12-16 Phil Muldoon <pmuldoon@redhat.com>
484
1c3ad6ab 485 * gdb.python/py-function.exp: Change "on" to "full" for
80b6e756
PM
486 python print-stack. Add set/show python print-stack
487 off|full|message tests.
488
1576bd00
YQ
4892011-12-15 Yao Qi <yao@codesourcery.com>
490
491 * gdb.trace/strace.c: New
492 * gdb.trace/strace.exp: New.
493
d6a0f6e0
TT
4942011-12-14 Tom Tromey <tromey@redhat.com>
495
496 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
497
31015e1d
DE
4982011-12-14 Doug Evans <dje@google.com>
499
500 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
501
7b50312a
PA
5022011-12-14 Pedro Alves <pedro@codesourcery.com>
503
504 PR threads/10729
505
506 * gdb.mi/watch-nonstop.c: New file.
507 * gdb.mi/mi-watch-nonstop.exp: New file.
508
924437bc
PA
5092011-12-13 Pedro Alves <pedro@codesourcery.com>
510 Doug Evans <dje@google.com>
511
512 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
513 (clean_restart): Remove references to the gdb_stub target board
514 variable.
515 (gdb_step_for_stub): Delete.
516
517 * gdb.base/annota1.exp: Remove all references to [target_info
518 exists gdb_stub], gdb_step_for_stub and usestubs.
519 * gdb.base/annota3.exp: Ditto.
520 * gdb.base/async.exp: Ditto.
521 * gdb.base/break.exp: Ditto.
522 * gdb.base/code-expr.exp: Ditto.
523 * gdb.base/commands.exp: Ditto.
524 * gdb.base/completion.exp: Ditto.
525 * gdb.base/condbreak.exp: Ditto.
526 * gdb.base/consecutive.exp: Ditto.
527 * gdb.base/cvexpr.exp: Ditto.
528 * gdb.base/define.exp: Ditto.
529 * gdb.base/display.exp: Ditto.
530 * gdb.base/ena-dis-br.exp: Ditto.
531 * gdb.base/environ.exp: Ditto.
532 * gdb.base/gnu-ifunc.exp: Ditto.
533 * gdb.base/maint.exp: Ditto.
534 * gdb.base/pending.exp: Ditto.
535 * gdb.base/sect-cmd.exp: Ditto.
536 * gdb.base/sepdebug.exp: Ditto.
537 * gdb.base/unload.exp: Ditto.
538 * gdb.base/watchpoint-solib.exp: Ditto.
539 * gdb.cp/annota2.exp: Ditto.
540 * gdb.cp/annota3.exp: Ditto.
541 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
542 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
543 * gdb.mi/mi-pending.exp: Ditto.
544 * gdb.trace/circ.exp: Ditto.
545 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
546 * gdb.base/list.exp: Ditto.
547
548 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
549 breakpoint function and all references to the usestubs macro.
550 * gdb.base/exprs.c: Ditto.
551 * gdb.base/freebpcmd.c: Ditto.
552 * gdb.base/bitfields.c: Ditto.
553 * gdb.base/bitfields2.c: Ditto.
554 * gdb.base/break.c: Ditto.
555 * gdb.base/call-sc.c: Ditto.
556 * gdb.base/call-signals.c: Ditto.
557 * gdb.base/callfuncs.c: Ditto.
558 * gdb.base/charset.c: Ditto.
559 * gdb.base/consecutive.c: Ditto.
560 * gdb.base/constvars.c: Ditto.
561 * gdb.base/funcargs.c: Ditto.
562 * gdb.base/int-type.c: Ditto.
563 * gdb.base/interrupt.c: Ditto.
564 * gdb.base/langs0.c: Ditto.
565 * gdb.base/list0.c: Ditto.
566 * gdb.base/mips_pro.c: Ditto.
567 * gdb.base/miscexprs.c: Ditto.
568 * gdb.base/nodebug.c: Ditto.
569 * gdb.base/opaque0.c: Ditto.
570 * gdb.base/pointers.c: Ditto.
571 * gdb.base/printcmds.c: Ditto.
572 * gdb.base/ptype.c: Ditto.
573 * gdb.base/recurse.c: Ditto.
574 * gdb.base/reread1.c: Ditto.
575 * gdb.base/reread2.c: Ditto.
576 * gdb.base/restore.c: Ditto.
577 * gdb.base/return.c: Ditto.
578 * gdb.base/run.c: Ditto.
579 * gdb.base/scope0.c: Ditto.
580 * gdb.base/sepdebug.c: Ditto.
581 * gdb.base/setshow.c: Ditto.
582 * gdb.base/setvar.c: Ditto.
583 * gdb.base/sigall.c: Ditto.
584 * gdb.base/signals.c: Ditto.
585 * gdb.base/structs.c: Ditto.
586 * gdb.base/structs2.c: Ditto.
587 * gdb.base/testenv.c: Ditto.
588 * gdb.base/twice.c: Ditto.
589 * gdb.base/unwindonsignal.c: Ditto.
590 * gdb.base/watchpoint.c: Ditto.
591 * gdb.base/watchpoints.c: Ditto.
592 * gdb.base/whatis.c: Ditto.
593 * gdb.cp/classes.cc: Ditto.
594 * gdb.cp/cplusfuncs.cc: Ditto.
595 * gdb.cp/derivation.cc: Ditto.
596 * gdb.cp/formatted-ref.cc: Ditto.
597 * gdb.cp/misc.cc: Ditto.
598 * gdb.cp/overload.cc: Ditto.
599 * gdb.cp/ovldbreak.cc: Ditto.
600 * gdb.cp/ref-params.cc: Ditto.
601 * gdb.cp/ref-types.cc: Ditto.
602 * gdb.cp/templates.cc: Ditto.
603 * gdb.cp/virtfunc.cc: Ditto.
604 * gdb.hp/gdb.aCC/run.c: Ditto.
605 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
606 * gdb.hp/gdb.compat/xdb0.c: Ditto.
607 * gdb.reverse/consecutive-reverse.c: Ditto.
608 * gdb.reverse/sigall-reverse.c: Ditto.
609 * gdb.reverse/until-reverse.c: Ditto.
610 * gdb.reverse/watch-reverse.c: Ditto.
611 * gdb.trace/actions.c: Ditto.
612 * gdb.trace/circ.c: Ditto.
613 * gdb.trace/collection.c: Ditto.
614
fabde485
PA
6152011-12-13 Pedro Alves <pedro@codesourcery.com>
616
617 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
618 (func6, func7): New.
619 (main): Call func6 and func7.
620 * gdb.base/watchpoint.exp (test_wide_location_1)
621 (test_wide_location_2): New.
622 (top level): Re-enable hardware watchpoints if necessary. Call
623 test_wide_location_1 and test_wide_location_2.
624
ff7d1690
YQ
6252011-12-11 Yao Qi <yao@codesourcery.com>
626
627 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
628
a6af7abe
JB
6292011-12-11 Joel Brobecker <brobecker@adacore.com>
630
631 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
632 expected output for unsupported case.
633
61638e15
JK
6342011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
635
636 PR testsuite/12649
637 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
638 Protect gdb_test_multiple by final $gdb_prompt match.
639
0a00efc3
JK
6402011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
641
642 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
643 New variable, new test.
644 (list static-method.cc:xxx::(anonymous namespace)::A::func)
645 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
646 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
647 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
648 them if HAVE_GCC_45682_FIXED is not set.
649
4511b1ba
YQ
6502011-12-10 Yao Qi <yao@codesourcery.com>
651
652 * gdb.trace/status-stop.exp: New.
653 * gdb.trace/status-stop.c: New.
654
27949e73
JK
6552011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
656
657 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
658 timeout.
659
d8ea7931
TT
6602011-12-08 Tom Tromey <tromey@redhat.com>
661
662 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
663 condition.
664
1cc310d2
SS
6652011-12-07 Stan Shebs <stan@codesourcery.com>
666
667 * gdb.trace/tfind.exp: Update for output changes.
668
d482a875
PA
6692011-12-07 Pedro Alves <pedro@codesourcery.com>
670
671 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
672 throws "Cannot insert catchpoints in this configuration".
673 * gdb.ada/mi_catch_ex.exp: Likewise.
674
f0ba3972
PA
6752011-12-06 Pedro Alves <pedro@codesourcery.com>
676
677 * gdb.base/break-always.exp: Test changing memory at addresses
678 with breakpoints inserted.
679
f8eba3c6
TT
6802011-12-06 Joel Brobecker <brobecker@acacore.com>
681
682 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
683 involving a fully qualified function name.
684
6852011-12-06 Tom Tromey <tromey@redhat.com>
686
687 * gdb.ada/homonym.exp: Add three breakpoint tests.
688
6892011-12-06 Tom Tromey <tromey@redhat.com>
690
691 * gdb.base/solib-weak.exp (do_test): Remove kfail.
692 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
693 * gdb.objc/objcdecode.exp: Update for output changes.
694 * gdb.linespec/linespec.exp: New file.
695 * gdb.linespec/lspec.cc: New file.
696 * gdb.linespec/lspec.h: New file.
697 * gdb.linespec/body.h: New file.
698 * gdb.linespec/base/two/thefile.cc: New file.
699 * gdb.linespec/base/one/thefile.cc: New file.
700 * gdb.linespec/Makefile.in: New file.
701 * gdb.cp/templates.exp (test_template_breakpoints): Update for
702 output changes.
703 * gdb.cp/re-set-overloaded.exp: Remove kfail.
704 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
705 makes one breakpoint.
706 * gdb.cp/method2.exp (test_break): Update for output changes.
707 * gdb.cp/mb-templates.exp: Update for output changes.
708 * gdb.cp/mb-inline.exp: Update for output changes.
709 * gdb.cp/mb-ctor.exp: Update for output changes.
710 * gdb.cp/ovsrch.exp: Use fully-qualified names.
711 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
712 has multiple matches.
713 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
714 error message change.
715 * gdb.base/list.exp (test_list_filename_and_number): Update for
716 error message change.
717 * gdb.base/break.exp: Disable pending breakpoints. Update for
718 output changes.
719 * configure.ac: Add gdb.linespec.
720 * configure: Rebuild.
721 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
722
c642a434
UW
7232011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
724
725 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
726 last_break register on s390*-*-* targets.
727
b18003d1
JB
7282011-12-06 Joel Brobecker <brobecker@adacore.com>
729
730 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
731 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
732 of parameter X in procedure Foo.
733
fe96589c
SS
7342011-12-05 Stan Shebs <stan@codesourcery.com>
735
736 * gdb.trace/tfind.exp: Update help string matches.
737
1820ab47
JK
7382011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
739
740 * gdb.server/ext-run.exp (get process list): Accept also systemd
741 as PID 1.
742
e11ac3a3
JK
7432011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
744 Pedro Alves <pedro@codesourcery.com>
745
746 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
747 starting GDB.
748 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
749 $use_gdb_stub.
750 * gdb.base/display.exp: Likewise.
751 * gdb.base/ending-run.exp: Likewise.
752 * gdb.base/list.exp (test_listsize): Likewise.
753 * gdb.base/setshow.exp: Likewise.
754 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
755 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
756 check by global $use_gdb_stub.
757 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
758 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
759 (default_gdb_init): Unset global $use_gdb_stub.
760 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
761 by global $use_gdb_stub.
762 * lib/gdbserver-support.exp: Extend comments for set_board_info
763 gdb_protocol and gdb,socketport.
764 (gdbserver_start_extended): Set global gdbserver_protocol and
765 gdbserver_gdbport. Clear global use_gdb_stub.
766 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
767 from target use_gdb_stub.
768 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
769
1d41d75c
DE
7702011-12-03 Doug Evans <dje@google.com>
771
772 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
773 (gdb_step_for_stub): Add comments.
774
d6d7a51a
MR
7752011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
776
777 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
778 to the caller.
779 (gdb_test_multiple): Likewise.
780
05acf274
JK
7812011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
782
783 Fix gdb.mi/mi-solib.exp without system debug info installed.
784 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
785 expect attribute, return 0 for it. Update comments.
786
2268b414
JK
7872011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
788
789 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
790 (corrupted list): Adjust the expectation.
791
585861ea
JK
7922011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
793
794 PR threads/13448
795 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
796 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
797 * gdb.threads/tls-var-main.c: New file.
798 * gdb.threads/tls-var.c: New file.
799 * gdb.threads/tls-var.exp: New file.
800
968643aa
JK
8012011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
802
803 PR testsuite/12649
804 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
805 Protect gdb_test_multiple by final $gdb_prompt match.
806 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
807 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
808 (test_tracepoints): Likewise.
809
9750bca9
JK
8102011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
811
812 PR breakpoints/13346
813 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
814 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
815 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
816
ac1349b7
JB
8172011-12-01 Joel Brobecker <brobecker@adacore.com>
818
819 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
820 * gdb.ada/homonym/homonym.adb: For use of all types defined
821 locally inside both Get_Value subprograms.
822
26d44faf
JK
8232011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
824
825 Fix racy FAILs.
826 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
827 of send_gdb.
828
514f6425
UW
8292011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
830
831 * gdb.base/testenv.exp: Skip on remote targets. Unset global
832 environment variable after test completed.
833
4255c8d2
UW
8342011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
835
836 * gdb.base/solib-nodir.exp: Skip if remote target.
837 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
838 application. Call gdb_load_shlibs.
839 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
840
a35ad96a
JB
8412011-11-29 Joel Brobecker <brobecker@adacore.com>
842
843 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
844
1a1d5513
JB
8452011-11-28 Joel Brobecker <brobecker@adacore.com>
846
847 * gdb.ada/fullname_bp: New testcase.
848
50b4ddf8
JK
8492011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
850
851 PR testsuite/12649
852 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
853 Wrap send_gdb into a new gdb_test.
854
fb0aec57
JK
855 Code cleanup.
856 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
857 Convert send_gdb and gdb_expect to gdb_test_multiple.
858
2376d946
JK
8592011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
860
861 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
862
1eec78bd
KS
8632011-11-23 Keith Seitz <keiths@redhat.com>
864
865 * lib/mi-support.exp (varobj_tree): New namespace and procs.
866 (mi_varobj_tree_test_children_callback): New proc.
867 (mi_walk_varobj_tree): New proc.
868
36dfb11c
TT
8692011-11-22 Tom Tromey <tromey@redhat.com>
870
871 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
872 Add "use_mi_command" argument.
873 (mi_run_cmd, mi_run_with_cli): New procs.
874 * gdb.mi/solib-lib.c: New file.
875 * gdb.mi/solib-main.c: New file.
876 * gdb.mi/mi-solib.exp: New file.
877
0e965dd0
DE
8782011-11-21 Doug Evans <dje@google.com>
879
880 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
881 _Unwind_DebugHook is missing.
882
f196051f
SS
8832011-11-20 Stan Shebs <stan@codesourcery.com>
884
885 * gdb.trace/tstatus.exp: New.
886 * gdb.trace/actions.c: Include string.h.
887
bfccc43c
YQ
8882011-11-18 Yao Qi <yao@codesourcery.com>
889
890 * gdb.trace/pending.exp: New.
891 * gdb.trace/pending.c: New.
892 * gdb.trace/pendshr1.c: New.
893 * gdb.trace/pendshr2.c: New.
894 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
895 tracepoint location becomes pending.
896 (tracepoint_change_loc_2): New.
897
73cd8ab1
DM
8982011-11-16 David S. Miller <davem@davemloft.net>
899
900 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
901 target is sparc*-*-linux*
902
77426730
PK
9032011-11-15 Paul Koning <paul_koning@dell.com>
904
905 * gdb.python/py-type.exp: New testcases for exceptions on scalar
906 types.
907
ed59ded5
DE
9082011-11-14 Doug Evans <dje@google.com>
909
910 * gdb.base/shell.exp: New file.
911
405f8e94
SS
9122011-11-14 Stan Shebs <stan@codesourcery.com>
913
914 * gdb.trace/ftrace.c: New.
915 * gdb.trace/ftrace.exp: New.
916
1e4d1764
YQ
9172011-11-14 Yao Qi <yao@codesourcery.com>
918
919 * gdb.trace/change-loc-1.c: New.
920 * gdb.trace/change-loc-2.c: New.
921 * gdb.trace/change-loc.c: New.
922 * gdb.trace/change-loc.exp: New.
923 * gdb.trace/change-loc.h: New.
924 * gdb.trace/trace-break.c (marker): Define new symbol.
925 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
926 New.
927 (break_trace_same_addr_6): New.
928
71eba9c2 9292011-11-12 Matt Rice <ratmice@gmail.com>
930
931 * gdb.base/info-macros.exp: Make tests for info definitions
932 test info macro. Add tests for info macro argument processing.
933 Rename a few tests.
934
1d93e29a
KS
9352011-11-11 Keith Seitz <keiths@redhat.com>
936
937 PR gdb/12843
938 * gdb.base/linespecs.exp: New file.
939
a4b5b48a
DE
9402011-11-11 Doug Evans <dje@google.com>
941
942 * gdb.threads/print-threads.exp: Extend timeout for slower
943 tests.
944
f6b47be4
DE
9452011-11-10 Doug Evans <dje@google.com>
946
792a0230
DE
947 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
948 "record to end of main" test.
949
f6b47be4
DE
950 * gdb.python/py-type.c (TS): New typedef.
951 (ts): New global.
952 * gdb.python/py-type.exp: Test field list of typedef.
953
22355c90
JB
9542011-11-10 Joel Brobecker <brobecker@adacore.com>
955
956 * gdb.ada/small_reg_param: New testcase.
957
a7860e76
TT
9582011-11-09 Tom Tromey <tromey@redhat.com>
959
960 * gdb.cp/destrprint.exp: New file.
961 * gdb.cp/destrprint.cc: New file.
962
72a2e3dc
MI
9632011-11-08 Meador Inge <meadori@codesourcery.com>
964
965 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
966 (switch_stack_to_other): New test function.
967 * gdb.arch/thumb-prologue.exp: New test cases.
968
c7195df2 9692011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
7bf9deb0
MR
970
971 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
972
d3895d7d
YQ
9732011-11-08 Yao Qi <yao@codesourcery.com>
974
975 * gdb.exp (supports_process_record): New.
976 (supports_reverse): New.
977 * gdb.reverse/break-precsave.exp: Call support_process_record
978 to run test conditionally.
979 * gdb.reverse/consecutive-precsave.exp: Likewise.
980 * gdb.reverse/i386-precsave.exp: Likewise.
981 * gdb.reverse/machinestate-precsave.exp: Likewise.
982 * gdb.reverse/solib-precsave.exp: Likewise.
983 * gdb.reverse/step-precsave.exp: Likewise.
984 * gdb.reverse/until-precsave.exp: Likewise.
985 * gdb.reverse/watch-precsave.exp: Likewise.
986 * gdb.reverse/break-reverse.exp: Call support_reverse to run
987 test conditionally.
988 * gdb.reverse/consecutive-reverse.exp: Likewise.
989 * gdb.reverse/finish-precsave.exp: Likewise.
990 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
991 * gdb.reverse/finish-reverse.exp: Likewise.
992 * gdb.reverse/i386-reverse.exp: Likewise.
993 * gdb.reverse/i386-sse-reverse.exp: Likewise.
994 * gdb.reverse/machinestate.exp: Likewise.
995 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
996 * gdb.reverse/sigall-precsave.exp: Likewise.
997 * gdb.reverse/sigall-reverse.exp: Likewise.
998 * gdb.reverse/solib-reverse.exp: Likewise.
999 * gdb.reverse/step-reverse.exp: Likewise.
1000 * gdb.reverse/until-reverse.exp: Likewise.
1001 * gdb.reverse/watch-reverse.exp: Likewise.
1002
a59306a3
YQ
10032011-11-05 Yao Qi <yao@codesourcery.com>
1004
1005 * gdb.trace/trace-break.exp: Add test on setting two
1006 fast tracepoints at the same address.
1007
87769f59
JK
10082011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1009
1010 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
1011
3065dfb6
SS
10122011-11-02 Stan Shebs <stan@codesourcery.com>
1013
1014 * gdb.trace/collection.c: Add code using strings.
1015 * gdb.trace/collection.exp: Add tests of string collection.
1016
89e208db
JK
10172011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1018
1019 * gdb.base/skip-solib.exp (executable_main): New variable.
1020 (binfile_main): Base it on that.
1021 Use $executable_main in clean_restart calls. Drop gdb_exit and
1022 gdb_start calls.
1023
405e54e9
JK
10242011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1025
1026 Fix racy FAILs.
1027 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
1028 breakpoint_re globals import by async. Set string_regex to .* for
1029 async. Remove the optional thread_selected_re and breakpoint_re
1030 globals expectations.
1031
58e8570a
JM
10322011-11-01 Joseph Myers <joseph@codesourcery.com>
1033
1034 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
1035 well as Cygwin.
1036
7b35ec7f 10372011-11-01 Justin Lebar <justin.lebar@gmail.com>
1bfeeb0f
JL
1038
1039 Add tests for skip command.
89e208db
JK
1040 * gdb.base/skip-solib-lib.c: New
1041 * gdb.base/skip-solib-main.c: New
1042 * gdb.base/skip-solib.exp: New
1043 * gdb.base/skip.c: New
1044 * gdb.base/skip.exp: New
1045 * gdb.base/skip1.c: New
1046 * gdb.base/Makefile.in: Adding new files.
1bfeeb0f 1047
b9fd1791
PA
10482011-10-31 Yao Qi <yao@codesourcery.com>
1049 Pedro Alves <pedro@codesourcery.com>
1050
1051 * gdb.trace/trace-break.c: New.
1052 * gdb.trace/trace-break.exp: New.
1053
4323fecc
JK
10542011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1055
1056 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
1057 break-here-2.
1058
0e5bf2a8
PA
10592011-10-28 Pedro Alves <pedro@codesourcery.com>
1060
1061 * gdb.threads/no-unwaited-for-left.c: New.
1062 * gdb.threads/no-unwaited-for-left.exp: New.
1063 * gdb.threads/non-ldr-exc-1.c: New.
1064 * gdb.threads/non-ldr-exc-1.exp: New.
1065 * gdb.threads/non-ldr-exc-2.c: New.
1066 * gdb.threads/non-ldr-exc-2.exp: New.
1067 * gdb.threads/non-ldr-exc-3.c: New.
1068 * gdb.threads/non-ldr-exc-3.exp: New.
1069 * gdb.threads/non-ldr-exc-4.c: New.
1070 * gdb.threads/non-ldr-exc-4.exp: New.
1071
3a3dad98
JK
10722011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1073
1074 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
1075 * gdb.base/attach-pie-misread.exp: Likewise.
1076 * gdb.base/break-interp.exp: Likewise.
1077 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
1078 testcases for use_gdb_stub.
1079 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
1080 (continue): New testcase.
1081 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
1082 * gdb.threads/attach-into-signal.exp: Likewise.
1083 * gdb.threads/attach-stopped.exp: Likewise.
1084 * gdb.threads/attachstop-mt.exp: Likewise.
1085
d6a5d40c
PK
10862011-10-28 Paul Koning <paul_koning@dell.com>
1087
1088 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
1089
ca539be8
JK
10902011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1091
1092 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
1093 (mi_gdb_test): Import globals thread_selected_re
1094 and breakpoint_re. Expect them optionally at the regex start.
1095
d234ef5c
DE
10962011-10-27 Doug Evans <dje@google.com>
1097
1098 * gdb.python/python.exp: Test source -s.
1099
ab964825
PK
11002011-10-26 Paul Koning <paul_koning@dell.com>
1101
1102 * gdb.python/lib-types.cc (struct A): New structure.
1103 * gdb.python/lib-types.exp (deepitems): New tests.
d234ef5c 1104
54d8a644
PK
11052011-10-25 Paul Koning <paul_koning@dell.com>
1106
1107 PR python/13327
d234ef5c 1108
54d8a644
PK
1109 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
1110 fetch_lazy method.
1111
b0221781
YQ
11122011-10-24 Yao Qi <yao@codesourcery.com>
1113
1114 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
1115 target is tic6x-*-*.
1116
6cda5a20
JB
11172011-10-21 Joel Brobecker <brobecker@adacore.com>
1118
1119 * gdb.ada/mi_task_info/task_switch.adb: New file.
1120 * gdb.ada/mi_task_info.exp: New file.
1121
5ed9db04
JK
11222011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1123
1124 * gdb.cp/expand-psymtabs-cxx.exp: New file.
1125 * gdb.cp/expand-psymtabs-cxx.cc: New file.
1126
9df2fbc4
PM
11272011-10-20 Phil Muldoon <pmuldoon@redhat.com>
1128
1129 PR python/12656
1130
1131 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
1132 global_block tests.
1133
736086ba
TT
11342011-10-18 Tom Tromey <tromey@redhat.com>
1135
1136 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
1137
4af31552
TT
11382011-10-18 Tom Tromey <tromey@redhat.com>
1139
1140 * gdb.base/source.exp: Don't include full file name in test name.
1141 * gdb.python/python.exp: Don't include full file name in test
1142 name.
1143
43136979
AR
11442011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1145
1146 * gdb.base/attach-pie-noexec.c: New files.
1147 * gdb.base/attach-pie-noexec.exp: New files.
1148
543a9323
JM
11492011-10-17 Joseph Myers <joseph@codesourcery.com>
1150
1151 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
1152 prompt for each extra line in command.
1153
21ae7a4d
JK
11542011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1155
1156 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
1157 Revert the part of:
1158 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1159 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
1160 Change the expected string.
1161
20ec36d9
JK
11622011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1163
1164 Fix results with system glibc debug info installed.
1165 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
1166 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
1167 Accept also __libc_ symbol prefix and no prefix.
1168
6501c2fc
KS
11692011-10-14 Keith Seitz <keiths@redhat.com>
1170
1171 PR c++/13225
1172 * gdb.cp/converts.cc (foo3_1): New function.
1173 (foo3_2): New functions.
1174 * gdb.cp/converts.exp: Add tests for int to pointer conversion
1175 and null pointer conversions of integer constant zero.
1176 Add test to check if all arguments are checked for incompatible
1177 conversion BADNESS.
1178
55b1fd0c
TT
11792011-10-14 Tom Tromey <tromey@redhat.com>
1180
1181 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
1182 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
1183 linespec.
1184
22c05d8a
JK
11852011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1186
1187 Fix internal error regression.
1188 * gdb.dwarf2/implptr-optimized-out.S: New file.
1189 * gdb.dwarf2/implptr-optimized-out.exp: New file.
1190
1d6edc3c
JK
11912011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1192
1193 Fix empty DWARF expressions DATA vs. SIZE conditionals.
1194 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
1195 (loclist): New.
1196 (4): New abbrev.
1197 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
1198 Use prepare_for_testing, remove clean_restart.
1199 (p arraynoloc, p arraycallnoloc): New tests.
1200
9ec72168
JK
12012011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1202
1203 * gdb.cp/namespace-enum.exp (executable): New variable.
1204 (binfile): Use ${objdir}/${subdir}/ prefix.
1205 Use ${executable} for clean_restart.
1206
9c6c53f7
SA
12072011-10-11 Sterling Augustine <saugustine@google.com>
1208
1209 * gdb.cp/Makefile.in: Add namespace-enum test.
1210 * gdb.cp/namespace-enum.exp: New file.
1211 * gdb.cp/namespace-enum.c: New file.
1212 * gdb.cp/namespace-enum-main.c: New file.
1213
fac7ceb3
UW
12142011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
1215
1216 * gdb.python/py-shared.exp: Relax filename check to handle remote:
1217 sysroot.
1218
941b2081
JK
12192011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1220
1221 Reimplement @entry in input expressions.
1222 * gdb.base/exprs.c (v_int_array_init): New variable.
1223 * gdb.base/exprs.exp (print v_int_array_init)
1224 (print *v_int_array_init@1, print *v_int_array_init@2)
1225 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
1226 (print v_int_array_init[1]@1): New tests.
1227
0344e878
JM
12282011-10-10 Joseph Myers <joseph@codesourcery.com>
1229
1230 * gdb.cp/gdb2495.exp: Do not include directories in filename in
1231 expected message.
1232
5a56e9c5
DE
12332011-10-09 Doug Evans <dje@google.com>
1234
1235 * gdb.base/alias.exp: Add tests for alias command.
1236
2bda9cc5
JK
12372011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1238
1239 * gdb.arch/amd64-entry-value.s: New file.
1240 * gdb.mi/mi2-amd64-entry-value.s: New file.
1241
a471c594
JK
12422011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1243
1244 Display @entry parameter values even for references.
1245 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
1246 functions.
1247 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
1248 reference and datap_input.
1249 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
1250 breakpoints.
1251 (continue to breakpoint: entry_reference: reference)
1252 (entry_reference: bt at entry)
1253 (continue to breakpoint: entry_reference: breakhere_reference)
1254 (entry_reference: bt, entry_reference: ptype regparam)
1255 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
1256 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
1257 (entry_reference: p regcopy, entry_reference: p nodataparam)
1258 (entry_reference: p nodataparam@entry): New tests.
1259
36b11add
JK
12602011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1261
1262 Support @entry in input expressions.
1263 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
1264 (entry_stack: p s1@entry, entry_stack: p s2@entry)
1265 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
1266 (tailcall: p j@entry): New tests.
1267 * gdb.cp/koenig.cc (A::entry): New function.
1268 (main): Call it.
1269 * gdb.cp/koenig.exp (p entry (c)): New test.
1270
e18b2753
JK
12712011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1272
1273 Display @entry parameter values (without references).
1274 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
1275 (different, validity, invalid): New functions.
1276 (main): Call them.
1277 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
1278 stacktest, breakhere_stacktest, different, breakhere_different,
1279 breakhere_validity and breakhere_invalid.
1280 (entry: bt): Update for @entry.
1281 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
1282 (entry_validity: *, entry_invalid: *): Many new tests.
1283 * gdb.base/break.exp
1284 (run until breakpoint set at small function, optimized file): Accept
1285 also the @entry suffix.
1286 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
1287 * gdb.mi/mi2-amd64-entry-value.c: New files.
1288 * gdb.mi/mi2-amd64-entry-value.exp: New files.
1289
2d6c5dc2
JK
12902011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1291
1292 Protect entry values against self tail calls.
1293 * gdb.arch/amd64-entry-value.cc (self2, self): New.
1294 (main): Call self.
1295 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
1296 (set debug entry-values 1, self: bt debug entry-values): New tests.
1297
111c6489
JK
12982011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1299
1300 Recognize virtual tail call frames.
1301 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
1302 (amb_b, amb_a): New.
1303 (main): Call a and b.
1304 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
1305 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
1306 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
1307 New tests.
1308
8e3b41a9
JK
13092011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1310
1311 Implement basic support for DW_TAG_GNU_call_site.
1312 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
1313 * gdb.arch/amd64-entry-value.cc: New file.
1314 * gdb.arch/amd64-entry-value.exp: New file.
1315
181cebd4
JK
13162011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1317
1318 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
1319 * gdb.dwarf2/implptr-64bit.S: New file.
1320 * gdb.dwarf2/implptr-64bit.exp: New file.
1321
741f5e3c
JK
13222011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1323
1324 Fix initial language detection with -readnow.
1325 * gdb.cp/readnow-language.cc: New file.
1326 * gdb.cp/readnow-language.exp: New file.
1327
a73d2258
JK
13282011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1329
1330 Fix printed anonymous struct name.
1331 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
1332
af369495
JM
13332011-10-09 Joseph Myers <joseph@codesourcery.com>
1334
1335 * gdb.base/solib-symbol.exp: Do not include directories in
1336 filenames in expected messages.
1337
1fa57852
DE
13382011-10-07 Doug Evans <dje@google.com>
1339
1340 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
1341
bd054e06
KP
13422011-10-07 Kevin Pouget <kevin.pouget@st.com>
1343
1344 Allow Python notification of new object-file loadings.
1345 * gdb.python/py-events.exp: Test newobjfile event.
1346 * gdb.python/py-events.py: Register newobjfile callback.
1347 * gdb.python/py-events.c: Add call to shared library
1348 * gdb.python/py-events-shlib.c: New file.
1349
8031b6f8
JM
13502011-10-06 Joseph Myers <joseph@codesourcery.com>
1351
1352 * gdb.base/fixsection.exp: Do not include directories in filename
1353 in expected message.
1354
7fea6923
PM
13552011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
1356
1357 Add tests for passing of environment variables to inferior.
1358 * gdb.base/testenv.c: New test source.
1359 * gdb.base/testenv.exp: New expect test.
1360
687f2a88
PK
13612011-10-04 Paul Koning <paul_koning@dell.com>
1362
1363 * gdb.python/py-value.c (main): Break before return.
1364
cb6be26b
KP
13652011-10-04 Kevin Pouget <kevin.pouget@st.com>
1366
1367 PR python/12691: Add the inferior to Python exited event
1368 * gdb.python/py-events.exp: Test the inferior attribute of exited
1369 event with a fork.
1370 * gdb.python/py-events.py: Print inferior number on exit.
1371 * gdb.python/py-events.c: Fork the inferior.
1372
fb213700
EBM
13732011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
1374
1375 * gdb.base/jit.exp: Add testcase name to log message
1376
aa2071bd
PK
13772011-10-03 Paul Koning <paul_koning@dell.com>
1378 Jan Kratochvil <jan.kratochvil@redhat.com>
1379
1380 * gdb.python/py-value.exp
1381 (python inval = gdb.parse_and_eval('*(int*)0'))
1382 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
1383 (set argc=2, python print argc_lazy): New tests.
1384
dd11a36c
JB
13852011-10-02 Joel Brobecker <brobecker@adacore.com>
1386
1387 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
1388
46f886f1
JK
13892011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1390 Pedro Alves <pedro@codesourcery.com>
1391
1392 * gdb.python/py-value.exp (test_value_in_inferior): New variable
1393 can_read_0, test for it.
1394 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
1395 (parse_and_eval with memory error): ... here, make it untested if
1396 can_read_0.
1397
c5cb204f
MP
13982011-09-30 Marek Polacek <mpolacek@redhat.com>
1399
1400 * gdb.python/python.exp (verify pagination beforehand)
1401 (verify pagination afterwards): Fix race by splitting the line.
1402
68fb0ec0
JM
14032011-09-29 Joseph Myers <joseph@codesourcery.com>
1404
1405 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
1406 for 64-bit multilibs from i?86-* targets.
1407
6aee0d90
MP
14082011-09-29 Marek Polacek <mpolacek@redhat.com>
1409
1410 * lib/gdb.exp: Fix a typo in one of the comments.
1411
e9101ff5
MP
14122011-09-29 Marek Polacek <mpolacek@redhat.com>
1413
1414 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
1415 matching pattern.
1416
7a81bdbf
PK
14172011-09-28 Paul Koning <paul_koning@dell.com>
1418
1419 * gdb.python/py-type.c (enum E): New.
1420 * gdb.python/py-type.exp (test_fields): Add tests for Python
1421 mapping access to fields.
1422 (test_enums): New test for field access on enums.
1423
6710bf39
SS
14242011-09-27 Stan Shebs <stan@codesourcery.com>
1425
1426 * gdb.trace/collection.exp: Test collection of $_ret.
1427
b2a6bdeb
AT
14282011-09-22 Andreas Tobler <andreast@fgznet.ch>
1429
1430 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
1431 list of compilation switches for <*-*-freebsd*>.
1432
3c9057f3
SS
14332011-09-19 Stan Shebs <stan@codesourcery.com>
1434
1435 * gdb.trace/tspeed.exp: New file.
1436 * gdb.trace/tspeed.c: New file.
1437
34518530
YQ
14382011-09-18 Yao Qi <yao@codesourcery.com>
1439
1440 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
1441 instructions.
1442 (test_adr_32bit, test_pop_pc): Likewise.
1443 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
1444 Thumb instructions.
1445 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
1446 in gdb_test_multiple.
1447 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
1448
ab254057
YQ
14492011-09-17 Yao Qi <yao@codesourcery.com>
1450
1451 * lib/gdb.exp (can_single_step_to_signal_handler): New.
1452 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
1453 support single step to signal handler.
1454
9c317b71
YQ
14552011-09-17 Yao Qi <yao@codesourcery.com>
1456
1457 * gdb.base/disp-step-fork.c: New.
1458 * gdb.base/disp-step-syscall.exp: New.
1459 * gdb.base/disp-step-vfork.c: New.
1460
a8123151
JB
14612011-09-16 Joel Brobecker <brobecker@adacore.com>
1462
1463 * gdb.ada/tasks.exp: Make the expected output for
1464 the `info tasks' tests more resilient to spacing
1465 changes.
1466
63a9aad8
JK
14672011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1468
1469 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
1470 (reached breakpoint 2, reached breakpoint 3): Update expected output.
1471
2aa48337
KP
14722011-09-15 Kevin Pouget <kevin.pouget@st.com>
1473
1474 PR Python/12692 Add gdb.selected_inferior() to Python interface.
1475 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
1476
6839b47f
KP
14772011-04-30 Kevin Pouget <kevin.pouget@st.com>
1478
1479 Handle multiple breakpoint hits in Python interface:
1480 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
1481 presence.
1482 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
1483 breakpoint hits.
1484
0935723e
JK
14852011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
1486 Jan Kratochvil <jan.kratochvil@redhat.com>
1487
1488 * gdb.python/py-events.exp: Remove pretty printing comment.
1489 * gdb.python/py-evsignal.exp: New file.
1490 * gdb.python/py-evthreads.c: Include signal.h.
1491 (thread3): Remove variable count3. Remove variable bad and use raise
1492 instead.
1493 (thread2): Remove variable count2. Move thread3 pthread_create here,
1494 merge pthread_join to a single line.
1495 (main): Remove variable count1. Merge pthread_join with pthread_create
1496 to a single line.
1497 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
1498 KFAIL python/12966 for gdbserver. Test return value of
1499 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
1500 gdb_expect by gdb_test and gdb_test_multiple.
1501 (thread 2, thread 3): New tests.
1502
4801a9a3
PA
15032011-09-12 Matt Rice <ratmice@gmail.com>
1504 Pedro Alves <pedro@codesourcery.com>
1505
1506 PR gdb/13175
1507
1508 * gdb.base/interp.exp: New tests.
1509 * gdb.base/interp.c: New file.
1510
24ece742
DE
15112011-09-12 Doug Evans <dje@google.com>
1512
1513 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
1514 * gdb.dwarf2/typeddwarf.exp: Ditto.
1515
7f062217
JK
15162011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1517
1518 Fix compatibility with x32 arch.
1519 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
1520 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
1521 is_x86_like_target.
1522 * testsuite/gdb.trace/collection.exp: Likewise.
1523 * testsuite/gdb.trace/report.exp: Likewise.
1524 * testsuite/gdb.trace/unavailable.exp: Likewise.
1525 * testsuite/gdb.trace/while-dyn.exp: Likewise.
1526 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
1527 (is_x86_like_target): Check also is_amd64_regs_target.
1528
08711b9a
JK
15292011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1530
1531 PR breakpoints/12435
1532 * gdb.arch/amd64-prologue-xmm.c: New file.
1533 * gdb.arch/amd64-prologue-xmm.exp: New file.
1534 * gdb.arch/amd64-prologue-xmm.s: New file.
1535
b99b5f66
JK
15362011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1537
1538 * gdb.dwarf2/dw2-param-error-main.c: New file.
1539 * gdb.dwarf2/dw2-param-error.S: New file.
1540 * gdb.dwarf2/dw2-param-error.exp: New file.
1541
a391a2f6
PA
15422011-09-08 Pedro Alves <pedro@codesourcery.com>
1543
1544 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
1545 inferior's pid and look for a core dump named core.$pid. Use
1546 `remote_file' commands on the host instead of hand coding shell
1547 commands on the build.
1548 * gdb.base/valgrind-db-attach.exp: Kill the program before
1549 finishing the test.
1550
7d8e6458 15512011-09-02 Matt Rice <ratmice@gmail.com>
1552
1553 * lib/prompt.exp: New file for testing the first prompt.
1554 * gdb.python/py-prompt.exp: Ditto.
1555 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
1556
68e77c9e
PA
15572011-09-02 Pedro Alves <pedro@codesourcery.com>
1558
1559 * gdb.threads/gcore-thread.exp: Set the global core_supported to
1560 0, before testing gcore.
1561
9655e943
JK
15622011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1563
df6dc84d
JK
1564 * dw2-ifort-parameter-debug.S: Update copyright year.
1565 * dw2-ifort-parameter.c: Update copyright year.
1566 * dw2-ifort-parameter.exp: Update copyright year.
1567
9655e943
JK
1568 * dw2-ifort-parameter-debug.S: New file.
1569 * dw2-ifort-parameter.c: New file.
1570 * dw2-ifort-parameter.exp: New file.
1571
353d1d73
JK
15722011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1573
1574 * gdb.base/commands.exp (error_clears_commands_left): New function.
1575 (): Call it.
1576
5c07461a
JK
15772011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1578
1579 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
1580 (C): Initialize `a'.
1581 * gdb.mi/mi-inheritance-syntax-error.exp
1582 (-data-evaluate-expression $path): Expect `a' as 5.
1583
0d932b2f
MK
15842011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
1585
1586 PR mi/11912
1587 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
1588 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
1589 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
1590 keyword in output of -var-info-path-expression.
1591
bdb54049
JK
15922011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1593
1594 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
1595 * gdb.trace/collection.exp: Likewise.
1596 * gdb.trace/report.exp: Likewise.
1597 * gdb.trace/unavailable.exp: Likewise.
1598 * gdb.trace/while-dyn.exp: Likewise.
1599
59cde39c
KS
16002011-08-18 Keith Seitz <keiths@redhat.com>
1601
1602 PR c++/12266
1603 * gdb.cp/meth-typedefs.cc: New file.
1604 * gdb.cp/meth-typedefs.exp: New file.
1605
fa3a4f15
PM
16062011-08-17 Phil Muldoon <pmuldoon@redhat.com>
1607
1608 * gdb.python/python.exp: Add extended-prompt tests.
1609
c1049fca
JK
16102011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1611
1612 * gdb.arch/i386-dr3-watch.exp
1613 (watchpoint on gap1 does not fit debug registers)
1614 (delete all watchpoints): Fix racy expect strings.
1615
d93f7b5c
YQ
16162011-08-14 Yao Qi <yao@codesourcery.com>
1617
1618 * gdb.base/maint.exp: set data_section to ".neardata".
1619 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
1620 * gdb.base/savedregs.exp: Handle SIGILL.
1621 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
1622 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
1623
457e09f0
DE
16242011-08-12 Doug Evans <dje@google.com>
1625
1626 * gdb.python/py-symbol.exp: Add test for symbol.type.
1627
5d0bb2fb
UW
16282011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
1629
1630 * gdb.threads/pthreads.exp: Enable on non-native configurations.
1631 * gdb.mi/mi-pthreads.exp: Likewise.
1632 * gdb.mi/mi2-pthreads.exp: Likewise.
1633 * gdb.mi/gdb669.exp.exp: Likewise.
1634
fcdfa280
PA
16352011-08-09 Pedro Alves <pedro@codesourcery.com>
1636
1637 * lib/mi-support.exp (detect_async): Rename to...
1638 (mi_detect_async): ... this.
1639 * gdb.mi/mi-nonstop-exit.exp: Adjust.
1640 * gdb.mi/mi-nonstop.exp: Adjust.
1641 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
1642 * gdb.mi/mi-nsintrall.exp: Adjust.
1643 * gdb.mi/mi-nsmoribund.exp: Adjust.
1644 * gdb.mi/mi-nsthrexec.exp: Adjust.
1645
9d8fa392
PA
16462011-08-09 Pedro Alves <pedro@codesourcery.com>
1647
1648 * gdb.base/display.c (do_loops): New `p_i' local.
1649 * gdb.base/display.exp: Test displaying a variable that is
1650 temporarily at a bad address.
1651
b6cede78
JK
16522011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1653
1654 * gdb.dwarf2/dw2-op-stack-value.S: New file.
1655 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
1656
67bedb8c
JK
16572011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1658
1659 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
3c542bc3
JK
1660 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
1661 (p fuNC_symtab): Permit also ppc64 leading dot.
67bedb8c 1662
af6e93b2
PA
16632011-08-05 Pedro Alves <pedro@codesourcery.com>
1664
1665 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
1666 procedure.
1667 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
1668
1cf0e11f
YQ
16692011-08-05 Yao Qi <yao@codesourcery.com>
1670
1671 * gdb.base/callfuncs.exp: Set language after main.
1672 * gdb.cp/cplusfuncs.exp: Likewise.
1673 * gdb.cp/inherit.exp: Likewise.
1674
a1e28cb2
UW
16752011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
1676
1677 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
1678 * gdb.base/watch-vfork.exp: Skip on remote targets.
1679
d4f5bbb9
UW
16802011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
1681
1682 * gdb.threads/thread-find.exp: Support remote targets.
1683
724f4f80
UW
16842011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
1685
1686 * gdb.base/jit.exp: Download solib_binfile to target.
1687 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
1688 and call dlopen without full path name.
1689 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
1690 dlopen without full path name.
1691
934709f0
PW
16922011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1693
1694 * gdb.base/break-always.exp: Complete the test
1695 with duplicated breakpoints and enabling/disabling them.
1696
c26106c4
TT
16972011-08-02 Tom Tromey <tromey@redhat.com>
1698
1699 PR gdb/11289:
1700 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
1701
9300444e 17022011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
fbe12357
PP
1703
1704 PR gdb/13045
1705 * gdb.base/float.exp: Add new test case for PR gdb/13045
1706 * gdb.base/float.c: New file.
1707
00bd41d6
PM
17082011-07-28 Phil Muldoon <pmuldoon@redhat.com>
1709
1710 * gdb.python/py-mi.exp: Test printers returning string hint, and
1711 also not returning a value.
1712 * gdb.python/py-prettyprint.c: Add testcase for above.
1713 * gdb.python/py-prettyprint.py: Add test printer for above.
1714
d24f74ce
JK
17152011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1716
1717 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
1718 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
1719 (.Ldie30) Add as field "data4".
1720 (.Ldie32) Rename field "b" to "shl".
1721 (abbrev4) Change for the "data4" field.
1722 (abbrev5, abbrev6) Remove.
1723 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
1724 (p &s.shl): ... here. Add comment.
1725 (p &s.data4): New.
1726
bb7da2bf
JK
17272011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1728
1729 Fix crash on lval_computed values.
1730 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
1731
11081198
JK
17322011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1733
1734 * gdb.base/help.exp (help whatis): Update the expected string.
1735
3c6e0cb3
JK
17362011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1737
1738 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
1739 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
1740 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
1741 Change the expected string.
1742
efa80663
PA
17432011-07-26 Pedro Alves <pedro@codesourcery.com>
1744
1745 * gdb.base/watchpoint.exp
1746 (test_disable_enable_software_watchpoint): New procedure.
1747 (top level): Run it.
1748
db8e4570
UW
17492011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
1750
1751 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
1752 executable file "${binfile}", C++ version "${binfile}-cxx".
1753 * gdb.python/py-prettyprint.exp: Likewise.
1754 * gdb.python/py-symbol.exp: Likewise.
1755 * gdb.python/py-type.exp: Likewise.
1756 * gdb.python/py-value.exp: Likewise.
1757 * gdb.python/py-template.exp (test_template_arg): Pass full executable
1758 file name instead of just suffix.
1759
543305c9
JK
17602011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1761
1762 Fix implicit pointer offsets.
1763 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
1764 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
1765 (continue to breakpoint: continue to baz breakpoint for implptr)
1766 (sanity check element 0, sanity check element 1)
1767 (enter the inlined function, check element 0 for the offset)
1768 (check element 1 for the offset)
1769 (continue to breakpoint: ignore the second baz breakpoint): New tests.
1770 (set foo breakpoint for implptr): Update the breakpoint number.
1771
b3215adc
UW
17722011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
1773
1774 * gdb.python/py-mi.exp: Use different file names for different
1775 versions of the executable under test.
1776 * gdb.python/py-prettyprint.exp: Likewise.
1777 * gdb.python/py-symbol.exp: Likewise.
1778 * gdb.python/py-template.exp: Likewise.
1779 * gdb.python/py-type.exp: Likewise.
1780 * gdb.python/py-value.exp: Likewise.
1781
182b9acc
UW
17822011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
1783
1784 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
1785 flag after restarting GDB if necessary.
1786
e6052b5d
UW
17872011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
1788
1789 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
1790
1ced966e
PA
17912011-07-22 Pedro Alves <pedro@codesourcery.com>
1792
1793 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
1794 backend doesn't leave used debug registers behind.
1795
3543a589
TT
17962011-07-22 Tom Tromey <tromey@redhat.com>
1797
1798 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
1799 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
1800 argument.
1801 * gdb.dwarf2/typeddwarf-amd64.S: New file.
1802
14d15303 18032011-07-21 Matt Rice <ratmice@gmail.com>
1804
1805 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
1806 in mostlyclean rule. Add files ending in .core.
1807
9b158ba0 18082011-07-21 Matt Rice <ratmice@gmail.com>
1809
1810 PR macros/12999
1811 * gdb.base/info-macros.c: New test sources.
1812 * gdb.base/info-macros.exp: New tests.
1813
d17b6f81
PM
18142011-07-21 Phil Muldoon <pmuldoon@redhat.com>
1815
1816 * gdb.python/python.exp: Add prompt substitution tests.
1817
918dd910
JK
18182011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1819
1820 Fix crash if referenced CU is aged out.
1821 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
1822 New.
1823 * gdb.dwarf2/implptr.exp: Likewise.
1824
0e37a63c
JK
18252011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1826
1827 * gdb.dwarf2/implptr.S: Rebuilt.
1828 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
1829 (bar): Use them for j, k, l.
1830 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
1831 COMPILE.
1832 (print j in implptr:bar): Update for the intp typedef.
1833 (print p[0].x in implptr:foo): Use more exact regex.
1834
f65cf84c
TT
18352011-07-18 Tom Tromey <tromey@redhat.com>
1836
1837 * gdb.cp/static-method.exp: Add missing single quote.
1838
d5b4a7be
YQ
18392011-07-18 Yao Qi <yao@codesourcery.com>
1840
1841 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
1842 supported.
1843 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1844 * gdb.mi/mi-nonstop.exp: Likewise.
1845 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1846 * gdb.mi/mi-nsintrall.exp: Likewise.
1847 * gdb.mi/mi-nsmoribund.exp: Likewise.
1848 * gdb.mi/mi-nsthrexec.exp: Likewise.
1849 * gdb.python/py-evthreads.exp: Likewise.
1850
e9ea2662
JK
18512011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1852
1853 Code cleanup.
1854 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
1855 it. Substitute it instead of test_compiler_info everywhere.
1856
ce451573
UW
18572011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
1858
1859 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
1860 remote targets as well.
1861
756d88a7
UW
18622011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
1863
1864 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
1865 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
1866
31f83dc5
UW
18672011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
1868
1869 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
1870 a remote machine, not the host.
1871 (gdb_compile_shlib): Set soname if target is remote.
1872
059241a0
PP
18732011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
1874
1875 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
1876
28a0b48c 18772011-07-13 Matt Rice <ratmice@gmail.com>
1878
1879 * gdb.python/py-objfile-script-gdb.py: Renamed to
1880 py-objfile-script-gdb.py.in.
1881 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
1882 py-objfile-script-gdb.py.
1883 * gdb.python/py-objfile-script.exp: Update reference to
1884 py-objfile-script-gdb.py.
1885
9a771b67
JK
18862011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1887
1888 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
1889 reference undefined label.
1890
04ad99e6
JK
18912011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1892
1893 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
1894 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
1895 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
1896 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
1897
713389e0
PM
18982011-07-11 Phil Muldoon <pmuldoon@redhat.com>
1899
1900 PR python/12438
1901 * gdb.python/python.exp: Add maint set/show python print-stack
1902 deprecated tests. Add set/show python print-backtrace tests.
1903
97d146f8
JK
19042011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1905
1906 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
1907 debug info.
1908
facde0e5 19092011-07-06 Matt Rice <ratmice@gmail.com>
1910
1911 * gdb.python/python.exp: Update filename paths.
1912 * gdb.python/py-symtab.exp: Ditto.
1913
438640d1
MP
19142011-07-06 Marek Polacek <mpolacek@redhat.com>
1915
1916 * gdb.python/py-evthreads.exp: Add missing `$'.
1917
33a365df
MF
19182011-07-06 Jie Zhang <jie.zhang@analog.com>
1919
1920 * config/bfin.exp: New file.
1921 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
1922 * gdb.asm/bfin.inc: New file.
1923
8f7ae686
MP
19242011-07-06 Marek Polacek <mpolacek@redhat.com>
1925
df46027d 1926 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
8f7ae686
MP
1927 the whole output.
1928
eb2a6f42
TT
19292011-07-05 Tom Tromey <tromey@redhat.com>
1930
1931 * gdb.java/jprint.java (jprint.hi): New field.
1932 * gdb.java/jprint.exp: Print string.
1933
177b42fe
TJB
19342011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
1935
1936 * gdb.base/call-sc.c: Fix typos.
1937 * gdb.base/ifelse.exp: Likewise.
1938 * gdb.base/structs.c: Likewise.
1939
3b2a0cf2
JB
19402011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1941
1942 * gdb.base/jit-so.exp: New test.
1943 * gdb.base/jit-dlmain.c: New file.
1944 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
1945
46fc714c
JK
19462011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1947
1948 * gdb.cp/m-static.exp: Call get_compiler_info.
e17476d7
JK
1949 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
1950 * gdb.cp/pr9167.exp (p b): Likewise.
1951 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
1952 (test value of P in inner_m, test type of Z in inner_m): Call
1953 setup_xfail for gcc <= 4.5.
46fc714c 1954
418c7cf7
JK
19552011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1956
1957 * gdb.cp/paren-type.cc: New files.
1958 * gdb.cp/paren-type.exp: New files.
1959
3d50dd94
JK
19602011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1961
1962 Stop on first linespec terminator instead of eating what we can.
1963 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
1964 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
1965 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
1966 (break C::f()): ... this one.
1967 (break C::operator()()): New test.
1968 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
1969 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
1970 test.
1971
dcf9f4ab
JK
19722011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1973
1974 Fall back linespec to minimal symbols.
1975 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
1976 error message.
1977 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
1978 * gdb.cp/minsym-fallback-main.cc: New file.
1979 * gdb.cp/minsym-fallback.cc: New file.
1980 * gdb.cp/minsym-fallback.exp: New file.
1981 * gdb.cp/minsym-fallback.h: New file.
1982
3f542ed1
JK
19832011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1984
1985 * gdb.cp/no-dmgl-verbose.cc: New file.
1986 * gdb.cp/no-dmgl-verbose.exp: New file.
1987
19882011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
900e11f9
JK
1989
1990 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
1991 __GI_.
1992 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
1993 (f): New function.
1994 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
1995 (complete p 'func<short>(): ... here.
1996 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
1997 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
1998 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
1999 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
2000 Make them KFAIL gcc/49546.
2001
00eb2c4a
JB
20022011-07-01 Joel Brobecker <brobecker@adacore.com>
2003
2004 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
2005
85a20c42
JK
20062011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2007
2008 Test GCC PR debug/49546.
2009 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
2010 (test type of F in k3_m, test value of F in k3_m): New.
2011 * gdb.cp/temargs.cc (struct S3, struct K3): New.
2012 (main): New variable k3. Call k3.k3_m.
2013
d2d43431
JB
20142011-07-01 Jean-Charles Delay <delay@adacore.com>
2015
2016 * gdb.ada/packed_array.exp: Fix expected outout.
2017
54ae186f
JB
20182011-07-01 Jean-Charles Delay <delay@adacore.com>
2019
2020 * gdb.ada/packed_array.exp: fixed expected output.
2021
8f17729f
JB
20222011-07-01 Joel Brobecker <brobecker@adacore.com>
2023
2024 * gdb.ada/same_enum: New testcase.
2025
f5aa6869
JB
20262011-07-01 Joel Brobecker <brobecker@adacore.com>
2027
2028 * gdb.ada/ptr_typedef: New testcase.
2029
828292f2
JB
20302011-07-01 Joel Brobecker <brobecker@adacore.com>
2031
2032 * gdb.ada/arrayptr.exp: Add ptype test.
2033
18920c42
JB
20342011-07-01 Joel Brobecker <brobecker@adacore.com>
2035
2036 * gdb.ada/char_enum: New testcase.
2037
3536d9e3 20382011-07-01 Yao Qi <yao@codesourcery.com>
54aeeb99
YQ
2039
2040 * gdb.base/dump.exp (capture_pointer_with_type): New.
2041 Get value from address instead of name.
2042 Start GDB once, and do `dump' and `restore'
2043 tests together.
2044
db863c42
MF
20452011-06-30 Jie Zhang <jie.zhang@analog.com>
2046 Mike Frysinger <vapier@gentoo.org>
2047
2048 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
2049 helper functions for getting/setting remotetimeout variable.
2050 * lib/gdb.exp (gdb_load): If the target is remote, set
2051 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
2052 with $loadtimeout. Set $load_ok to 0 before doing the load.
2053 Instead of returning, immediately, set $load_ok to 0. Call
2054 set_remotetimeout with $oldremotetimeout, and then return if
2055 $load_ok is 1.
2056
e9e642a8
AB
20572011-06-30 Andrew Burgess <aburgess@broadcom.com>
2058
2059 * gdb.python/py-template.exp: Don't run this test if the target
2060 does not support c++ tests.
2061
32019081
JK
20622011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2063
2064 Fix non-only rename list for Fortran modules import.
2065 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
2066 tests.
2067 * gdb.fortran/module.f90 (module moduse): New.
2068 (program module): use moduse, test var_x, var_y and var_z.
2069
0ecee54c
TT
20702011-06-29 Tom Tromey <tromey@redhat.com>
2071
2072 PR testsuite/12040:
2073 * gdb.fortran/array-element.exp: Use f90, not f77.
2074 * gdb.fortran/complex.exp: Use f90, not f77.
2075 * gdb.fortran/derived-type.exp: Use f90, not f77.
2076 * gdb.fortran/library-module.exp: Use f90, not f77.
2077 * gdb.fortran/logical.exp: Use f90, not f77.
2078 * gdb.fortran/module.exp: Use f90, not f77.
2079 * gdb.fortran/multi-dim.exp: Use f90, not f77.
2080 * gdb.fortran/subarray.exp: Use f90, not f77.
2081
3b2b8fea
TT
20822011-06-29 Tom Tromey <tromey@redhat.com>
2083
2084 * gdb.fortran/charset.exp: New file.
2085 * gdb.fortran/charset.f90: New file.
2086
42159ca5
TT
20872011-06-29 Tom Tromey <tromey@redhat.com>
2088
2089 PR testsuite/12040:
2090 * lib/future.exp: New file, mostly extracted from ada.exp.
2091 Rewrote compatibility code to use rename.
2092 (gdb_find_gfortran): New proc.
2093 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
2094 gfortran patch.
2095 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
2096 Move to future.exp.
2097 * lib/gdb.exp: Always load future.exp.
2098
af69a5ce
YQ
20992011-06-28 Yao Qi <yao@codesourcery.com>
2100
2101 * gdb.cp/exception.cc: Don't include iostream.
2102 (bar): Remove print statement.
2103 (catcher): New.
2104 (main): Remove print statements. Call function catcher.
2105 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
2106 Set breakpoint on catcher, and check the value of parameter.
2107
ab5c6a72
YQ
21082011-06-23 Yao Qi <yao@codesourcery.com>
2109
2110 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check breakpoint
2111 1.2 is disabled. KFAIL for uclinux.
2112
9497469f
MP
21132011-06-23 Marek Polacek <mpolacek@redhat.com>
2114
2115 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
2116 mi_gdb_test.
2117
b9132588
MP
21182011-06-23 Marek Polacek <mpolacek@redhat.com>
2119
5d197ed0 2120 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
b9132588 2121
e55595ca
MP
21222011-06-23 Marek Polacek <mpolacek@redhat.com>
2123
5d197ed0
MP
2124 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
2125
21262011-06-23 Marek Polacek <mpolacek@redhat.com>
2127
2128 * gdb.mi/mi2-basics.exp: Fix races. Honour the
2129 `test_exec_and_symbol_mi_operatons' return value.
2130 (test_mi_interpreter_selection): Use mi_gdb_test instead of
2131 gdb_test_multiple.
2132 (test_exec_and_symbol_mi_operatons): Likewise.
2133 (test_path_specification): Likewise.
e55595ca 2134
be777e08
YQ
21352011-06-23 Yao Qi <yao@codesourcery.com>
2136
2137 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
2138 supported.
2139 * lib/gdb.exp (support_displaced_stepping): New.
2140
615556d6
YQ
21412011-06-23 Yao Qi <yao@codesourcery.com>
2142
2143 * gdb.threads/execl.exp: Skip on remote target.
2144
833b0ca7
MP
21452011-06-21 Marek Polacek <mpolacek@redhat.com>
2146
5d197ed0 2147 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
833b0ca7
MP
2148 mi_gdb_test.
2149
1ee4023a
MP
21502011-06-20 Marek Polacek <mpolacek@redhat.com>
2151
5d197ed0 2152 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1ee4023a 2153
d0b1d624
MP
21542011-06-20 Marek Polacek <mpolacek@redhat.com>
2155
5d197ed0 2156 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
d0b1d624
MP
2157 mi_gdb_test.
2158
79aa92c1
MP
21592011-06-20 Marek Polacek <mpolacek@redhat.com>
2160
5d197ed0 2161 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
79aa92c1 2162
5ce5db06
YQ
21632011-06-14 Yao Qi <yao@codesourcery.com>
2164
2165 gdb/testsuite/
2166 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
2167
533a737e
JK
21682011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2169
2170 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
2171
d0e53741
TT
21722011-06-10 Tom Tromey <tromey@redhat.com>
2173
2174 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
2175 Add tests for pointer-to-member-function.
2176 * gdb.cp/temargs.cc (S::somefunc): New function.
2177 (K2): New class.
2178 (main): Instantiate K2; call method.
2179
b5916bbd
JB
21802011-06-08 Joel Brobecker <brobecker@adacore.com>
2181
2182 * gdb.python/py-inferior.c (f2): Make str an array rather
2183 than a pointer.
2184 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
2185
5be4dfca
JK
21862011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2187
2188 * gdb.base/async-shell.c: New file.
2189 * gdb.base/async-shell.exp: New file.
2190
9f47e254
PA
21912011-06-06 Pedro Alves <pedro@codesourcery.com>
2192
2193 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
2194
64b9b334
JB
21952011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
2196
2197 From Stephen Kitt <steve@sk2.org>
2198 * gdb.base/help.exp: Adjust following some spelling corrections
2199 in GDB.
2200
dbc0f131
YQ
22012011-06-01 Yao Qi <yao@codesourcery.com>
2202
2203 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
2204
fd336a18
KS
22052010-05-31 Keith Seitz <keiths@redhat.com>
2206
2207 PR c++/12750
2208 * gdb.cp/static-method.cc: New file.
2209 * gdb.cp/static-method.exp: New file.
2210
fa8b9902
KS
22112010-05-31 Keith Seitz <keiths@redhat.com>
2212
2213 PR symtab/12704
2214 * gdb.cp/anon-ns.cc: New file.
2215 * gdb.cp/anon-ns.exp: New file.
2216
0a5b1e09
PA
22172011-05-31 Pedro Alves <pedro@codesourcery.com>
2218
2219 * gdb.arch/i386-dr3-watch.c: New file.
2220 * gdb.arch/i386-dr3-watch.exp: New file.
2221
0578b8d1
YQ
22222011-05-30 Yao Qi <yao@codesourcery.com>
2223
2224 * gdb.base/callfuncs.c (t_structs_fc): New.
2225 (t_structs_dc, t_structs_ldc): New.
2226 (t_double_many_args):
2227 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
2228 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
2229 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
2230 * gdb.base/callfuncs.exp: Call new functions.
2231
6680506e
YQ
22322011-05-30 Yao Qi <yao@codesourcery.com>
2233
ff4d2c60
YQ
2234 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
2235 Call rerun_and_prepare for each test to isolate effects.
2236
22372011-05-30 Yao Qi <yao@codesourcery.com>
2238
2239 * gdb.base/varargs.c (find_max_float_real): New.
2240 (find_max_double_real, find_max_long_double_real): New.
2241 * gdb.base/varargs.exp: Call these new added functions.
6680506e
YQ
2242 * lib/gdb.exp (setup_kfail_for_target): New.
2243
e43ec454
YQ
22442011-05-30 Yao Qi <yao@codesourcery.com>
2245
2246 * gdb.base/funcargs.c (callca, callcb, callcc): New.
2247 (callcd, callce, callcf, callc1a, callc1b): New.
2248 (callc2a, callc2b): New.
2249 * gdb.base/funcargs.exp (complex_args): New.
2250 (complex_integral_args, complex_float_integral_args): New.
2251 * lib/gdb.exp (support_complex_tests): New. Determine
2252 whether to run test cases on _Complex types.
2253
432b4d03
JK
22542011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2255
2256 * gdb.threads/leader-exit.c: New file.
2257 * gdb.threads/leader-exit.exp: New file.
2258
6caf069d
MP
22592011-05-27 Marek Polacek <mpolacek@redhat.com>
2260
9497469f 2261 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
6caf069d 2262
97fce28b
MP
22632011-05-27 Marek Polacek <mpolacek@redhat.com>
2264
2265 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
2266 remove the `supported' variable.
2267 * gdb.mi/mi-nonstop.exp: Likewise.
2268 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2269 * gdb.mi/mi-nsintrall.exp: Likewise.
2270 * gdb.mi/mi-nsmoribund.exp: Likewise.
2271 * gdb.mi/mi-nsthrexec.exp: Likewise.
2272
9da8c2a0
PA
22732011-05-26 Pedro Alves <pedro@codesourcery.com>
2274
2275 * gdb.reverse/finish-reverse-bkpt.exp: New test.
2276
2c03e5be
PA
22772011-05-26 Pedro Alves <pedro@codesourcery.com>
2278
2279 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
2280
2e21250d
KS
22812011-05-24 Keith Seitz <keiths@redhat.com>
2282
2283 PR breakpoint/12803
2284 * gdb.cp/cmpd-minsyms.cc (a): New method.
2285 (b): New method.
2286 (c): New method.
2287 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
2288
cdac0397
PA
22892011-05-24 Pedro Alves <pedro@codesourcery.com>
2290
2291 * gdb.base/commands.exp (watchpoint_command_test): Check that the
2292 watchpoint's command list didn't execute when the watchpoint went
2293 out of scope.
2294
ee5683ab
PM
22952011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
2296
2297 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
2298 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
2299 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
2300 * gdb.arch/i386-gnu-cfi.exp: Likewise.
2301 * gdb.arch/i386-permbkpt.exp: Likewise.
2302 * gdb.arch/i386-prologue.exp: Likewise.
2303 * gdb.arch/i386-size-overlap.exp: Likewise.
2304 * gdb.arch/i386-size.exp: Likewise.
2305 * gdb.arch/i386-unwind.exp: Likewise.
2306 * gdb.reverse/i386-precsave.exp: Likewise.
2307 * gdb.reverse/i386-reverse.exp: Likewise.
2308 * gdb.reverse/i386-sse-reverse.exp: Likewise.
2309 * gdb.reverse/i387-env-reverse.exp: Likewise.
2310 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2311
c91c8c16
PA
23122011-05-24 Pedro Alves <pedro@codesourcery.com>
2313
2314 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
2315 file doesn't error, using MI.
2316
c50491a7
TT
23172011-05-23 Tom Tromey <tromey@redhat.com>
2318
2319 * gdb.base/charset.exp (string_display): Add tests to assign to
2320 arrays.
2321 * gdb.base/charset.c (short_array, int_array, long_array): New.
2322
4a07b7da
PA
23232011-05-20 Pedro Alves <pedro@codesourcery.com>
2324
2325 Cope with async mode.
2326
4a07b7da
PA
2327 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
2328 into gdb_test + mi_expect_stop.
2329
b275f2d2
PA
23302011-05-20 Pedro Alves <pedro@codesourcery.com>
2331
2332 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
2333 (callme): Remove printf call.
2334
eec52c44
PM
23352011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
2336
2337 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
2338 quote pattern to avoid problems with Cygwin/mingw expect versions.
2339 * gdb.base/default.exp (show convenience): Use double
2340 quote pattern for regular expressions.
2341
b3c8eb43
JK
23422011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2343
2344 Fix -readnow for -gdwarf-4 unused type units.
2345 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
2346 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
2347
ed731959
JK
23482011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2349
2350 * gdb.base/kill-after-signal.c: New file.
2351 * gdb.base/kill-after-signal.exp: New file.
2352
3b48433d
PA
23532011-05-16 Pedro Alves <pedro@codesourcery.com>
2354
2355 * gdb.ada/start.exp: Call untested with the correct test filename.
2356 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
2357 test filename. Make the test's binary unique.
2358 * gdb.arch/i386-signal.exp: Call untested with the correct test
2359 filename.
2360 * gdb.arch/i386-size-overlap.exp: Ditto.
2361 * gdb.arch/Makefile.in (EXECUTABLES): Update.
2362 * gdb.base/gcore-buffer-overflow.exp: Ditto.
2363 * gdb.cp/call-c.exp: Ditto.
2364 * gdb.mi/mi-reverse.exp: Call untested with the correct test
2365 filename. Make the test's binary unique.
2366 * gdb.mi/Makefile.in (EXECUTABLES): Update.
2367 * gdb.python/py-mi.exp: Ditto.
2368 * gdb.python/Makefile.in (EXECUTABLES): Update.
2369 * gdb.reverse/i386-precsave.exp: Ditto.
2370 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
2371 test filename.
2372 * gdb.reverse/i387-stack-reverse.exp: Ditto.
2373 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
2374 unique.
2375 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
2376 test filename.
2377 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
2378 * gdb.trace/tfile.exp: Ditto.
2379
ba4a8bdd
YQ
23802011-05-14 Yao Qi <yao@codesourcery.com>
2381
2382 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
2383 type.
2384
dbaefcf7
DE
23852011-05-13 Doug Evans <dje@google.com>
2386
2387 * gdb.python/py-objfile-script.exp: New file.
2388 * gdb.python/py-objfile-script.c: New file.
2389 * gdb.python/py-objfile-script-gdb.py: New file.
2390 * testsuite/gdb.python/py-section-script.exp: Test
2391 "info auto-load-scripts".
2392
9930639c
TT
23932011-05-13 Tom Tromey <tromey@redhat.com>
2394
2395 * gdb.dwarf2/clztest.exp: New file.
2396 * gdb.dwarf2/clztest.c: New file.
2397 * gdb.dwarf2/clztest.S: New file.
2398
05272e11
DE
23992011-05-13 Doug Evans <dje@google.com>
2400
cc63ef9b
DE
2401 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
2402 String16 tests.
05272e11 2403
6edba76f
TT
24042011-05-13 Tom Tromey <tromey@redhat.com>
2405
2406 * lib/gdb.exp (is_x86_like_target): New proc.
2407 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
2408 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
2409 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
2410 -nostdlib to compiler.
2411 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
2412 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
2413 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
2414 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
2415 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
2416
028d0ed5
TJB
24172011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
2418
2419 * gdb.python/py-function.exp: Test setting a value from a function
2420 which executes a command.
2421
8a9b8146
TT
24222011-05-12 Tom Tromey <tromey@redhat.com>
2423
2424 * gdb.dwarf2/typeddwarf.S: New file.
2425 * gdb.dwarf2/typeddwarf.c: New file.
2426 * gdb.dwarf2/typeddwarf.exp: New file.
2427
10483e8e
MP
24282011-05-12 Marek Polacek <mpolacek@redhat.com>
2429
2430 * gdb.mi/mi-basics.exp: Fix races. Honour the
2431 `test_exec_and_symbol_mi_operatons' return value.
2432 (test_mi_interpreter_selection): Use mi_gdb_test instead of
2433 gdb_test_multiple.
2434 (test_exec_and_symbol_mi_operatons): Likewise.
2435 (test_path_specification): Likewise.
2436
faf067f1
JK
24372011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2438
2439 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
2440 (gdb_touch_execfile): Remove catch wrappers. New variable time.
2441 Replace `file copy' and `file rename' by `file mtime'. Twice.
2442
7ff911a3
JK
24432011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2444
2445 * gdb.base/readline-ask.c: New file.
2446 * gdb.base/readline-ask.exp: New file.
2447 * gdb.base/readline-ask.inputrc: New file.
2448
a536c6d7
UW
24492011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
2450
2451 * gdb.cell/bt.exp: Delete breakpoints before running to signal
2452 to avoid race condition.
2453 * gdb.cell/coremaker.c: Use small stack size.
2454 * gdb.cell/ea-standalone.exp: Use file name without path as
2455 argument to c_to.
2456 * gdb.cell/fork.exp: Allow other output when continuing to end.
2457
d472a426
JK
24582011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2459
2460 * gdb.threads/corethreads.c: New file.
2461 * gdb.threads/corethreads.exp: New file.
2462
24632011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
774094b8
JK
2464
2465 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
2466 Try to compile the test using -Wl,-z,norelro first.
2467 (load_core): New variable libthread_db_seen, initialize it.
2468 (zeroed-threads cannot be listed): Protect it by XFAIL on
2469 !$libthread_db_seen.
2470
8be455d7
JK
24712011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2472
2473 PR 12573
2474 * gdb.dwarf2/dw2-skip-prologue.S: New file.
2475 * gdb.dwarf2/dw2-skip-prologue.c: New file.
2476 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
2477
1976171a
JK
24782011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2479
2480 * gdb.cp/psymtab-parameter.cc: New file.
2481 * gdb.cp/psymtab-parameter.exp: New file.
2482
7db6f30f
JK
24832011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2484
2485 Fix a race.
2486 * gdb.cp/static-print-quit.exp (print c): Split to ...
2487 (print c - <return>, print c - q <return>, print c - to quit):
2488 ... these. Make the testfile untested on gdb-7.1.
2489
85161e9e 24902011-5-05 Janis Johnson <janisjo@codesourcery.com>
56744f0a
JJ
2491
2492 * lib/gdb.exp (exec_target_file, exec_symbol_file,
2493 gdb_rename_execfile, gdb_touch_execfile): New.
2494 * gdb.base/reread.exp: Use new procs to handle multiple
2495 exec files.
2496
0c51be18
YQ
24972011-05-05 Yao Qi <yao@codesourcery.com>
2498
2499 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
2500 (test_adr_32bit, test_pop_pc): New.
2501 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
2502 (test_adr_32bit, test_pop_pc): New.
2503
4d393d60
JM
25042011-05-04 Joseph Myers <joseph@codesourcery.com>
2505
2506 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
2507 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
2508 targets.
2509 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
2510 handle targets.
2511
8ffd0459
JK
25122011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2513
2514 * gdb.base/completion.exp (complete help info wat): Rename to ...
2515 (complete 'help info wat'): ... here.
2516 Remove all `-re ".*' and `-re "^.*' redundant regexes.
2517 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
2518
8e28d804
PA
25192011-05-04 Pedro Alves <pedro@codesourcery.com>
2520
2521 * gdb.base/completion.exp: Use gdb_test_multiple instead of
2522 gdb_test and explicit $gdb_prompt/timeout matches.
2523
3eb2ef34
YQ
25242011-05-04 Yao Qi <yao@codesourcery.com>
2525
2526 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
2527 and __thumb2__.
2528
aaaf81a3
MP
25292011-05-03 Marek Polacek <mpolacek@redhat.com>
2530
2531 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
2532 in place of `gdb_test "delete breakpoints"'. This eliminates two
2533 testcases.
2534
c4cbc0df
PA
25352011-05-02 Pedro Alves <pedro@codesourcery.com>
2536
2537 PR testsuite/12649
2538 Fix races.
2539
2540 * gdb.base/completion.exp: Remove all sleep calls. Remove
2541 unnecessary regexs. Don't explicitly expect anything after the
2542 prompt. Eat the prompt if necessary.
2543
b4cbb4a3
EBM
25442011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
2545
2546 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
2547 accept to show the caller line again as well as the line after.
2548
d65aec65
PM
25492011-04-29 Phil Muldoon <pmuldoon@redhat.com>
2550
2551 PR mi/12531
2552
2553 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
2554 compile target.
2555 * gdb.python/py-prettyprint.exp: Add C++ object for
2556 CPLUS_FAKE_CHILD test.
2557
30852783
UW
25582011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
2559
2560 * gdb.base/signest.exp: New file.
2561 * gdb.base/signest.c: Likewise.
2562
c7b1f0d9
JK
25632011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2564
2565 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
2566 thread and breakpoint notifications.
2567
559a7a62
JK
25682011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2569
2570 * gdb.base/fortran-sym-case.c: New file.
2571 * gdb.base/fortran-sym-case.exp: New file.
2572 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
2573 * gdb.dwarf2/dw2-case-insensitive.c: New file.
2574 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
2575
8344e389
JK
25762011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2577
2578 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
2579 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
2580 false #1', `if true else false #2' and `if true else false #3'.
2581
2484c66b
UW
25822011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
2583
2584 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
2585 while delivering signal.
2586
8d3788bd
VP
25872011-04-27 Vladimir Prus <vladimir@codesourcery.com>
2588
2589 MI breakpoint notifications.
2590
2591 * testsuite/gdb.mi/mi-cli.exp: Adust.
2592 * testsuite/gdb.mi/mi2-cli.exp: Adust.
2593 * testsuite/gdb.mi/mi-watch.exp: Adust.
2594 * testsuite/gdb.mi/mi2-watch.exp: Adust.
2595 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
2596 notifications.
2597
3e03848b
JK
25982011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2599
2600 * gdb.base/gdbindex-stabs-dwarf.c: New file.
2601 * gdb.base/gdbindex-stabs.c: New file.
2602 * gdb.base/gdbindex-stabs.exp: New file.
2603
918c9108
YQ
26042011-04-25 Yao Qi <yao@codesourcery.com>
2605
2606 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
2607 with /*...*/.
2608 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
2609
90556b8c
JK
26102011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2611
2612 * gdb.python/py-value.exp (test_objfiles): Name the first test
2613 `py-value in file.filename'.
2614
03f2bd59
JK
26152011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2616
2617 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
2618 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
2619 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
2620 !gdbserver_reconnect_p..
2621 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
2622
7b08b9eb
JK
26232011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2624
2625 * gdb.cp/cpcompletion.exp (complete class methods)
2626 (complete class methods beginning with F): Move them above runto. New
2627 comment about the runto delimiter.
2628
b78974c3
PA
26292011-04-20 Pedro Alves <pedro@codesourcery.com>
2630
2631 * gdb.base/maint.exp: Test that "maint print registers" works
2632 without a running program.
2633
20429c40 26342011-04-20 Marek Polacek <mpolacek@redhat.com>
b78974c3 2635
20429c40
MP
2636 * gdb.base/setshow.exp: Fix racy tests.
2637 ($old_gdb_prompt): New variable.
2638
7a9dd1b2
TT
26392011-04-19 Tom Tromey <tromey@redhat.com>
2640
2641 * gdb.mi/mi-nsmoribund.exp:
2642 * gdb.hp/gdb.objdbg/objdbg01.exp:
2643 * gdb.base/structs.exp (test_struct_returns):
2644 * gdb.base/call-sc.exp (test_scalar_returns):
2645 * gdb.base/bigcore.exp: Remove duplicate words.
2646
02835898
JK
26472011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2648
2649 * gdb.base/break-interp-lib.c (v, vptr): New variables.
2650 * gdb.base/break-interp.exp (test_attach): New comment.
2651
254f582e
JK
26522011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2653
2654 * gdb.threads/gcore-thread.exp ($core0file): New variable.
2655 (clear __stack_user.next, clear stack_used.next)
2656 (save a zeroed-threads corefile): New test.
2657 Call core_load for $core0file.
2658 (zeroed-threads cannot be listed): New test.
2659
4fe85f5c
JK
26602011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2661
2662 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
2663 filename.
2664 ($srcfile): Preserve the original value.
2665 ($testfile): Match it the .exp filename.
2666 ($corefile): New variable. Substitute it around.
2667 Use clean_restart.
2668 ($prev_timeout): Remove.
2669 (load_core): Move core loading into this proc.
2670 Fix restore of $timeout if load_core fails.
2671
63524580
JK
26722011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2673
2674 * gdb.base/eu-strip-infcall.c: New file.
2675 * gdb.base/eu-strip-infcall.exp: New file.
2676
90359a16
JK
26772011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2678
2679 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
2680 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
2681
626e7282
JK
26822011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2683
2684 Fix Python access to inlined frames.
2685 * gdb.python/py-frame-inline.c: New file.
2686 * gdb.python/py-frame-inline.exp: New file.
2687
3363d018
EBM
26882011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
2689
2690 * gdb.base/gdb1090.exp: Change breakpoint location to read the
2691 content of 's24' correctly (avoiding "optimized out").
2692 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
2693
28781456
JK
26942011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2695
2696 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
2697
4a4106ca
TJB
26982011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
2699
2700 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
2701 expect a colon in watch -location output.
2702
d26ccb4f
JK
27032011-04-13 Marek Polacek <mpolacek@redhat.com>
2704
df46027d 2705 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
d26ccb4f
JK
2706 New testcase `expect response to define backtrace'. Also remove
2707 redundant `default' block.
2708
e1ab1f9c
JK
27092011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2710
2711 * gdb.python/py-prettyprint.c (struct hint_error): New.
2712 (main): New variable hint_error.
2713 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
2714 "print hint_error".
2715 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
2716 (register_pretty_printers): Register it.
2717
0c2e6019
TT
27182011-04-04 Tom Tromey <tromey@redhat.com>
2719
2720 * gdb.cp/maint.exp (test_help): Update.
2721 (test_namespace): Likewise.
2722
af57139d
JB
27232011-04-01 Joel Brobecker <brobecker@adacore.com>
2724
2725 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
2726 * gdb.ada/arrayptr.exp: Add new tests.
2727
956a9fb9
JB
27282011-04-01 Joel Brobecker <brobecker@adacore.com>
2729
2730 * gdb.ada/mi_catch_ex: New testcase.
2731
d0c4d642
PA
27322011-04-01 Pedro Alves <pedro@codesourcery.com>
2733
2734 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
2735 base::overload(void) method without specifying "const".
2736
18819fa6
UW
27372011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
2738
2739 * gdb.arch/thumb-singlestep.S: New file.
2740 * gdb.arch/thumb-singlestep.exp: Likewise.
2741
a4c8e806
TT
27422011-03-31 Tom Tromey <tromey@redhat.com>
2743
2744 * gdb.python/py-prettyprint.py (exception_flag): New global.
2745 (NoStringContainerPrinter._iterator.next): Check it.
2746 * gdb.python/py-prettyprint.c (main): New variable nstype2.
2747 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
2748
53832f31
TT
27492011-03-29 Tom Tromey <tromey@redhat.com>
2750
2751 * gdb.cp/anon-struct.cc: New file.
2752 * gdb.cp/anon-struct.exp: New file.
2753
e4620230
JK
27542011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2755
2756 Test STT_GNU_IFUNC support.
2757 * gdb.base/gnu-ifunc-lib.c: New file.
2758 * gdb.base/gnu-ifunc.c: New file.
2759 * gdb.base/gnu-ifunc.exp: New file.
2760
d0fb5eae
JK
27612011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2762
2763 Support a ring of related breakpoints.
2764 * gdb.base/watchpoint-delete.c: New file.
2765 * gdb.base/watchpoint-delete.exp: New file.
2766
20106cfb
JK
27672011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2768
2769 * gdb.ada/arrayparam.exp (print first after function call): Use
2770 explicit package name. Add a comment
2771 (print lasta after function call): Rename ...
2772 (print last after function call): ... it and use explicit package
2773 name.
2774 (print length after function call): Use explicit package name.
2775 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
2776 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
2777 (multiple matches for symbol i): Rename ...
2778 (multiple matches for symbol integervar): ... it.
2779 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
2780 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
2781
e7ab5e63
AB
27822011-03-25 Andrew Burgess <aburgess@broadcom.com>
2783
2784 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
2785 environment variable to make grep output more predictable. Move
2786 all the environment setup into gdb_init so it's done once per test
2787 case rather than each time we start gdb.
2788
9ef07c8c
TT
27892011-03-24 Tom Tromey <tromey@redhat.com>
2790
2791 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
2792 test.
2793
dd90784c
JK
27942011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2795
2796 * gdb.dwarf2/dw2-entry-value-main.c: New file.
2797 * gdb.dwarf2/dw2-entry-value.S: New file.
2798 * gdb.dwarf2/dw2-entry-value.exp: New file.
2799
05775840
PM
28002011-03-22 Phil Muldoon <pmuldoon@redhat.com>
2801
2802 PR python/12183
2803
2804 * gdb.python/py-function.exp: Add GdbError tests.
2805
8661b11b
PA
28062011-03-18 Pedro Alves <pedro@codesourcery.com>
2807
2808 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
2809 (reglocal_test_func, statlocal_test_func): New functions.
2810 (globals_test_func): Call new functions.
2811 * gdb.trace/unavailable.exp (gdb_collect_args_test)
2812 (gdb_collect_locals_test): New procedure.
2813 (gdb_trace_collection_test): Call new procedures.
2814
0fdb4f18
PA
28152011-03-18 Pedro Alves <pedro@codesourcery.com>
2816
2817 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
2818 (test_register, test_register_unavailable): New procedures.
2819 (gdb_unavailable_registers_test): New procedure.
2820 (gdb_trace_collection_test): Call it.
2821
99c3dc11
PM
28222011-03-18 Phil Muldoon <pmuldoon@redhat.com>
2823
2824 PR python/12149
2825
2826 * gdb.python/python.exp: Add gdb.write tests.
2827
29703da4
PM
28282010-03-17 Phil Muldoon <pmuldoon@redhat.com>
2829
2830 * gdb.python/Makefile.in: Add py-objfile.
2831 * gdb.python/py-objfile.exp: New file.
2832 * gdb.python/py-objfile.c: New file.
2833 * gdb.python/py-block.exp: Add is_valid tests.
2834 * gdb.python/py-inferior.exp: Ditto.
2835 * gdb.python/py-infthread.exp: Ditto.
2836 * gdb.python/py-symbol.exp: Ditto.
2837 * gdb.python/py-symtab.exp: Ditto.
2838
598997c8
KS
28392011-03-16 Keith Seitz <keiths@redhat.com>
2840
2841 PR c++/12273
2842 * gdb.cp/cmpd-minsyms.exp: New test.
2843 * gdb.cp/cmpd-minsyms.cc: New file.
2844
2845 PR c++/11734
2846 * gdb.cp/ovsrch.exp: New test.
2847 * gdb.cp/ovsrch.h: New file.
2848 * gdb.cp/ovsrch1.cc: New file.
2849 * gdb.cp/ovsrch2.cc: New file.
2850 * gdb.cp/ovsrch3.cc: New file.
2851 * gdb.cp/ovsrch4.cc: New file.
2852
c91513d8
PP
28532011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
2854
2855 PR gdb/12528
2856 * gdb.base/Makefile.in: Adjust EXECUTABLES.
2857 * gdb.base/break-on-linker-gcd-function.exp: New test.
2858 * gdb.base/break-on-linker-gcd-function.cc: New file.
2859
7470fc63
AT
28602011-03-15 Andreas Tobler <andreast@fgznet.ch>
2861
2862 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
2863
959e7469
PM
28642011-03-15 Phil Muldoon <pmuldoon@redhat.com>
2865
2866 * lib/gdb.exp (gdb_unload): Add another termination case.
2867
9373cf26
JK
28682011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2869
2870 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
2871 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
2872 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
2873 Provide a stub byte there.
2874 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
2875 DW_AT_entry_pc.
2876 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
2877
24e9cda0
UW
28782011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
2879
2880 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
2881 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
2882 "generic ABI, auto".
2883 (altivec_abi_tests): Accept vectors returned by reference.
2884
7371cf6d
PM
28852010-03-14 Phil Muldoon <pmuldoon@redhat.com>
2886
2887 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
2888
ce77046a
UW
28892011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
2890
2891 * gdb.python/py-section-script.exp: Skip test if no Python support.
2892
176400c3
UW
28932011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
2894
2895 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
2896
ecec24e6
PM
28972011-03-10 Phil Muldoon <pmuldoon@redhat.com>
2898
2899 * gdb.python/py-parameter.exp: Update tests to the new Python
2900 parameter API. Add "no documentation" test. Add deprecated API
2901 backward compatibility test.
2902
5dbdd470
TT
29032011-03-09 Tom Tromey <tromey@redhat.com>
2904
2905 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
2906 gdb_continue_to_end.
2907
b66e66ee
MK
29082011-03-09 Mark Kettenis <kettenis@gnu.org>
2909
2910 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
2911 tabs.
2912
eceb0c5f
TT
29132011-03-09 Tom Tromey <tromey@redhat.com>
2914
2915 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
2916 parentheses.
2917 (gdb_continue_to_end): Add "allow_extra" parameter. Use
2918 $command.
2919 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
2920 argument to gdb_continue_to_end.
2921 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
2922 argument to gdb_continue_to_end.
2923 * gdb.cp/annota3.exp: Fix regex.
2924 * gdb.cp/annota2.exp: Fix regex.
2925 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
2926 gdb_continue_to_end.
2927 * gdb.base/call-signal-resume.exp: Revert earlier patch.
2928 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
2929 gdb_continue_to_end.
2930
63154eca
PA
29312011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2932
2933 * gdb.server/ext-run.exp
2934 (load new file without any gdbserver inferior): New test.
2935
967d1f9b
TT
29362011-03-07 Tom Tromey <tromey@redhat.com>
2937
2938 * Makefile.in (TAGS): Rewrite.
2939
d68dcbb9
JK
29402011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2941
2942 * gdb.trace/report.exp (12.1: trace report #1): New match for the
2943 initial commands echo. New match for `Found trace'. Anchor all the
2944 other matches. Anchor and match for `No trace frame found' the final
2945 match.
2946
6bf58e63
TT
29472011-03-07 Tom Tromey <tromey@redhat.com>
2948
2949 * Makefile.in (TAGS): New target.
2950
fda326dd
TT
29512011-03-07 Tom Tromey <tromey@redhat.com>
2952
2953 * lib/opencl.exp (skip_opencl_tests): Update for exit message
2954 change.
2955 * lib/mi-support.exp (mi_gdb_test): Update for exit message
2956 change.
2957 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
2958 exit message change.
2959 (skip_altivec_tests): Update for exit message change.
2960 (skip_vsx_tests): Likewise.
2961 (gdb_continue_to_end): Likewise. Add 'command' argument.
2962 * lib/cell.exp (skip_cell_tests): Update for exit message change.
2963 * gdb.threads/tls.exp: Update for exit message change.
2964 * gdb.threads/thread-unwindonsignal.exp: Use
2965 gdb_continue_to_end.
2966 * gdb.threads/step.exp (step_it): Update for exit message change.
2967 (continue_all): Likewise.
2968 * gdb.threads/print-threads.exp (test_all_threads): Update for
2969 exit message change.
2970 * gdb.threads/interrupted-hand-call.exp: Use
2971 gdb_continue_to_end.
2972 * gdb.threads/execl.exp: Use gdb_continue_to_end.
2973 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
2974 gdb_continue_to_end.
2975 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
2976 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
2977 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
2978 * gdb.cp/method.exp: Update for exit message change.
2979 * gdb.cp/mb-templates.exp: Update for exit message change.
2980 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
2981 * gdb.cp/annota3.exp: Update for exit message change.
2982 * gdb.cp/annota2.exp: Update for exit message change.
2983 * gdb.cell/fork.exp: Use gdb_continue_to_end.
2984 * gdb.base/term.exp: Update for exit message change.
2985 * gdb.base/step-test.exp (test_i): Update for exit message change.
2986 * gdb.base/sigstep.exp (advance): Update for exit message change.
2987 (advancei): Likewise.
2988 * gdb.base/siginfo.exp: Update for exit message change.
2989 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
2990 * gdb.base/reread.exp: Use gdb_continue_to_end.
2991 * gdb.base/langs.exp: Use gdb_continue_to_end.
2992 * gdb.base/interrupt.exp: Update for exit message change.
2993 * gdb.base/gdb1555.exp: Update for exit message change.
2994 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
2995 * gdb.base/ending-run.exp: Update for exit message change.
2996 * gdb.base/chng-syms.exp: Update for exit message change.
2997 * gdb.base/checkpoint.exp: Update for exit message change.
2998 * gdb.base/catch-syscall.exp (check_for_program_end): Use
2999 gdb_continue_to_end.
3000 (test_catch_syscall_with_wrong_args): Likewise.
3001 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
3002 * gdb.base/break-interp.exp (test_ld): Update for exit message
3003 change.
3004 * gdb.base/bang.exp: Update for exit message change.
3005 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
3006 (do_call_attach_tests): Likewise.
3007 * gdb.base/a2-run.exp: Update for exit message change.
3008 * gdb.arch/ppc-dfp.exp: Update for exit message change.
3009 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
3010 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
3011
dd19bd70
JK
30122011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3013
3014 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
3015
30e62689
TT
30162011-03-03 Tom Tromey <tromey@redhat.com>
3017
3018 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
3019 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
3020 * gdb.hp/gdb.aCC/configure.ac: Remove.
3021 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
3022 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
3023 * gdb.hp/gdb.base-hp/configure.ac: Remove.
3024 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
3025 * gdb.hp/gdb.compat/configure (Makefile): Remove.
3026 * gdb.hp/gdb.compat/configure.ac: Remove.
3027 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
3028 * gdb.hp/gdb.defects/configure (Makefile): Remove.
3029 * gdb.hp/gdb.defects/configure.ac: Remove.
3030 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
3031 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
3032 * gdb.hp/gdb.objdbg/configure.ac: Remove.
3033 * gdb.hp/configure.ac: Remove.
3034 * gdb.hp/configure: Remove.
3035 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
3036 substitution.
3037 (Makefile): Remove rule.
3038 * gdb.cell/configure.ac: Remove.
3039 * gdb.cell/configure: Remove.
3040 * gdb.stabs/Makefile.in (Makefile): Remove.
3041 (distclean): Don't remove config.status or config.log.
3042 * gdb.stabs/configure (Makefile): Remove.
3043 * gdb.stabs/configure.ac: Remove.
3044 * configure: Rebuild.
3045 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
3046 Remove stabs- and cell-specific logic. Test for existence of
3047 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
3048 subdirectories, gdb.cell, and and gdb.stabs.
3049 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
3050
c171f854
JB
30512011-03-03 Joel Brobecker <brobecker@adacore.com>
3052
3053 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
3054 end of buffer.
3055
9a5193cb
JB
30562011-03-02 Joel Brobecker <brobecker@adacore.com>
3057
3058 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
3059 gdb_test when running a test where we expected no output back.
3060
9bb4c1bb
MS
30612011-02-28 Michael Snyder <msnyder@vmware.com>
3062
3063 * gdb.cp/overload.cc: Change initializer value to integer.
3064
3bd0f5ef
MS
30652011-02-27 Michael Snyder <msnyder@vmware.com>
3066
3067 * gdb.multi/base.exp: Add test for remove-inferiors.
3068
2279eaad
JB
30692011-02-26 Joel Brobecker <brobecker@adacore.com>
3070
3071 * gdb.python/py-frame.exp: Simplify the initialization phase
3072 using prepare_for_testing.
3073
c82c0b55
MS
30742011-02-25 Michael Snyder <msnyder@vmware.com>
3075
3076 * gdb.multi/base.exp: Add tests for info inferiors with args.
3077
1d94651b
JK
30782011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3079
3080 * gdb.dwarf2/dw2-ranges.S: Rename to ...
3081 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
3082 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
3083 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
3084 asmfile3. Comment the STABS (#3) file compilation. Compile
3085 everything through assembler. Provide KFAIL for symtab/12497.
3086 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
3087 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
3088 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
3089 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
3090
3bd0f5ef
MS
30912011-02-24 Michael Snyder <msnyder@vmware.com>
3092
3093 * gdb.base/break.exp: Add tests for delete breakpoints using
3094 convenience variables and value history references.
3095
12c1418e
MS
30962011-02-24 Michael Snyder <msnyder@vmware.com>
3097
3098 * gdb.base/break.exp: Remove debugging 'printf' accidentally
3099 left behind in previous check-in.
3100
e5a67952
MS
31012011-02-23 Michael Snyder <msnyder@vmware.com>
3102
3103 * gdb.base/break.exp: Add tests for "info break" with arguments.
3104 * gdb.trace/infotrace.exp: Update patterns for error and help.
3105 * gdb.base/completion.exp: Update pattern.
3106 * gdb.base/ena-dis-br.exp: Update pattern.
3107 * gdb.base/help.exp: Update patterns.
3108
31092011-02-23 Michael Snyder <msnyder@vmware.com>
fbcb778d
MS
3110
3111 * gdb.base/memattr.exp: New test.
3112 * gdb.base/memattr.c: Test load for memattr.exp.
3113
6e6fbe60
DE
31142011-02-22 Doug Evans <dje@google.com>
3115
3116 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
3117
1d41d745
MS
31182011-02-22 Michael Snyder <msnyder@vmware.com>
3119
3120 * Makefile.in: Make more clean.
3121 * gdb.ada/Makefile.in: Ditto.
3122 * gdb.arch/Makefile.in: Ditto.
3123 * gdb.asm/Makefile.in: Ditto.
3124 * gdb.base/Makefile.in: Ditto.
3125 * gdb.cp/Makefile.in: Ditto.
3126 * gdb.dwarf2/Makefile.in: Ditto.
3127 * gdb.java/Makefile.in: Ditto.
3128 * gdb.mi/Makefile.in: Ditto.
3129 * gdb.modula2/Makefile.in: Ditto.
3130 * gdb.python/Makefile.in: Ditto.
3131 * gdb.server/Makefile.in: Ditto.
3132 * gdb.stabs/Makefile.in: Ditto.
3133 * gdb.threads/Makefile.in: Ditto.
3134 * gdb.trace/Makefile.in: Ditto.
3135
79ba84ca
MS
31362011-02-22 Michael Snyder <msnyder@vmware.com>
3137
df46027d 3138 * gdb.threads/thread-find.exp: Add tests for bad input to
79ba84ca
MS
3139 info threads.
3140
b9b35694
JB
31412011-02-22 Joel Brobecker <brobecker@adacore.com>
3142
3143 * gdb.python/py-breakpoint.exp: Fix the expected output of
3144 one of the "maint info breakpoints" tests to accept the output
3145 generated on platforms that do not have hardware watchpoints.
3146
8bfb830f
JB
31472011-02-22 Joel Brobecker <brobecker@adacore.com>
3148
3149 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
3150 clean_restart. Be a little stricter in the expected output
3151 for one of the tests. Fix a typo in one of the comments.
3152
c45f3c54
JB
31532011-02-22 Joel Brobecker <brobecker@adacore.com>
3154
3155 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
3156 Delete variable binfile, no longer use. Add or modify test
3157 comments to make them unique.
3158
b97c863c
MS
31592011-02-21 Michael Snyder <msnyder@vmware.com>
3160
3161 * Makefile.in: Update for make clean.
3162 * gdb.ada/Makefile.in: Ditto.
3163 * gdb.arch/Makefile.in: Ditto.
3164 * gdb.asm/Makefile.in: Ditto.
3165 * gdb.base/Makefile.in: Ditto.
3166 * gdb.cp/Makefile.in: Ditto.
3167 * gdb.dwarf2/Makefile.in: Ditto.
3168 * gdb.java/Makefile.in: Ditto.
3169 * gdb.mi/Makefile.in: Ditto.
3170 * gdb.modula2/Makefile.in: Ditto.
3171 * gdb.python/Makefile.in: Ditto.
3172 * gdb.server/Makefile.in: Ditto.
3173 * gdb.stabs/Makefile.in: Ditto.
3174 * gdb.threads/Makefile.in: Ditto.
3175 * gdb.trace/Makefile.in: Ditto.
3176
aea5b279
MS
31772011-02-21 Michael Snyder <msnyder@vmware.com>
3178
3179 * gdb.threads/thread-find.exp: Update patterns for changes in
3180 output of "info threads" command.
3181
e3039479
UW
31822011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
3183 Ulrich Weigand <uweigand@de.ibm.com>
3184
3185 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
3186 (skip_hw_watchpoint_tests): Likewise.
3187 (skip_hw_watchpoint_multi_tests): Likewise.
3188
b800ec70
UW
31892011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
3190
3191 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
3192 (skip_hw_watchpoint_tests): Likewise.
3193 (skip_hw_watchpoint_multi_tests): Likewise.
3194 (skip_hw_watchpoint_access_tests): Likewise.
3195
3196 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
3197 * gdb.base/pr11022.exp: Likewise.
3198 * gdb.base/watch-read.exp: Likewise.
3199 * gdb.base/watch_thread_num.exp: Likewise.
3200 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
3201 * gdb.base/watchpoint-hw.exp: Likewise.
3202 * gdb.base/watchpoint.exp: Likewise.
3203 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
3204 * gdb.threads/watchthreads-reorder.exp: Likewise.
3205 * gdb.threads/watchthreads.exp: Likewise.
3206 * gdb.threads/watchthreads2.exp: Likewise.
3207
91033e37
JB
32082011-02-21 Joel Brobecker <brobecker@adacore.com>
3209
3210 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
3211 the debugger is unable to find the array bounds.
3212
eeaafae2
JK
32132011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3214
3215 * gdb.cp/typedef-operator.exp: New file.
3216 * gdb.cp/typedef-operator.cc: New file.
3217
e338d953
MS
32182011-02-17 Michael Snyder <msnyder@vmware.com>
3219
3220 * gdb.threads/thread-find.exp: Fix regular expressions.
3221
e67ad678
JB
32222011-02-17 Joel Brobecker <brobecker@adacore.com>
3223
3224 * gdb.ada/packed_array: Expand testcase to test printing of
3225 unconstrained packed array.
3226
93084bca
JB
32272011-02-17 Joel Brobecker <brobecker@adacore.com>
3228
3229 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
3230
a0c78a73
PA
32312011-02-16 Pedro Alves <pedro@codesourcery.com>
3232
f65d5553 3233 * gdb.trace/collection.c (globalarr3): New global.
a0c78a73
PA
3234 (main): Initialize it before collecting, and and clear it
3235 afterwards.
f65d5553
PA
3236 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
3237 collecting with '{type} addr', where the addr expression is not an
3238 rvalue.
a0c78a73 3239
3dfcbbd2
KW
32402011-02-16 Ken Werner <ken.werner@de.ibm.com>
3241
3242 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
3243 a bool variable. Expect correct OpenCL names for vector types. Use the
3244 uc3 variable name instead of referring to the uchar3 built-in type.
3245 Escape the asterisk at the half pointer test.
3246
08807d5a
PA
32472011-02-16 Pedro Alves <pedro@codesourcery.com>
3248
f65d5553 3249 * gdb.trace/collection.c (globalarr2): New global.
08807d5a
PA
3250 (main): Initialize it before collecting, and and clear it
3251 afterwards.
f65d5553
PA
3252 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
3253 collecting overlapping memory ranges.
08807d5a 3254
60f98dde
MS
32552011-02-15 Michael Snyder <msnyder@vmware.com>
3256
3257 * gdb.base/default.exp: Add tests for thread commands.
3258 * gdb.base/help.exp: Add tests for thread commands.
3259 * gdb.threads/thread-find.exp: New test for thread find command.
3260
648cd113
KW
32612011-02-15 Ken Werner <ken.werner@de.ibm.com>
3262
3263 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
3264
494e194e
YQ
32652011-02-15 Yao Qi <yao@codesourcery.com>
3266
3267 PR tdep/12352
3268 * gdb.arch/arm-disp-step.S : New test for str instruction.
3269 * gdb.arch/arm-disp-step.exp : Likewise.
3270
d9492458
TJB
32712011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
3272
3273 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
3274 "vector_register2_vr" test strings. Test the extended floating
3275 point registers (F32~F63).
3276 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
3277 IBM XL C compiler. Make the test program use a register provided
3278 by the compiler for the lxvd2x instruction.
3279
8af8e3bc
PA
32802011-02-14 Pedro Alves <pedro@codesourcery.com>
3281
3282 * gdb.trace/unavailable.cc (class Base, class Middle, class
3283 Derived): New types.
3284 (derived_unavail, derived_partial, derived_whole): New globals.
3285 (virtual_partial): New global.
3286 (virtualp): Point at virtual_partial.
3287 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
3288 related to unavailable vptr.
3289
1b28d0b3
PA
32902011-02-14 Pedro Alves <pedro@codesourcery.com>
3291
3292 * gdb.trace/unavailable.cc (a, b, c): New globals.
3293 (main): Set and clear them.
3294 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
3295 `a' and `c', and check that `b' isn't collected, although `a' and
3296 `c' are.
3297
ec0a52e1
PA
32982011-02-14 Pedro Alves <pedro@codesourcery.com>
3299
3300 * gdb.trace/unavailable.cc (struct Virtual): New.
3301 (virtualp): New global pointer.
3302 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
3303 printing a pointer to an object whose type has a vtable, with
3304 print object on.
3305
24e6bcee
PA
33062011-02-14 Pedro Alves <pedro@codesourcery.com>
3307
3308 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
3309 value repeat handles unavailableness.
3310
39d37385
PA
33112011-02-14 Pedro Alves <pedro@codesourcery.com>
3312
3313 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
3314 tests for building arrays from unavailable values, subscripting
3315 non-memory rvalue unvailable arrays, and accessing fields or
3316 baseclasses of non-lazy unavailable values,
3317 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
3318 struct types.
3319 (g_smallstruct, g_smallstruct_b): New globals.
3320
06d72e16
PA
33212011-02-14 Pedro Alves <pedro@codesourcery.com>
3322
3323 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
3324
bc9a5551
JK
33252011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3326
3327 Fix const/volatile qualifiers of C++ types, PR c++/12328.
3328 * gdb.cp/overload-const.exp: New file.
3329 * gdb.cp/overload-const.cc: New file.
3330
54fcddd0
UW
33312011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
3332
3333 * gdb.opencl/callfuncs.cl: New file.
3334 * gdb.opencl/callfuncs.exp: New test.
3335 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
3336
d6dafb7c
UW
33372011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
3338
3339 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
3340 when computing result.
3341 * gdb.arch/altivec-abi.exp: Update expected results.
3342
a449c2d8
TJB
33432011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
3344
3345 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
3346 * gdb.base/jit.exp: Likewise.
3347 * gdb.base/pie-execl.exp: Likewise.
3348 * gdb.base/solib-nodir.exp: Likewise.
3349 * gdb.base/solib-overlap.exp: Likewise.
3350
764880b7
PA
33512011-02-07 Pedro Alves <pedro@codesourcery.com>
3352
3353 * gdb.trace/collection.c (global_pieces): New.
3354 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
3355 New procedure.
3356 (gdb_trace_collection_test): Call it.
3357
505500db
SW
33582011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
3359
3360 * gdb.python/py-evthreads.c: New file.
3361 * gdb.python/py-evthreads.exp: New file.
3362 * gdb.python/py-events.py: New file.
3363 * gdb.python/py-events.exp: New file.
3364 * gdb.python/py-events.c: New file.
3365
385203ed
DD
33662011-02-04 David Daney <ddaney@caviumnetworks.com>
3367
3368 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
3369
9011945e
AB
33702011-02-03 Andrew Burgess <aburgess@broadcom.com>
3371
3372 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
3373 gdb.base/disasm-end-cu.exp: New test for disassembling over the
3374 boundary between two compilation units.
3375
580688f3
PA
33762011-02-02 Pedro Alves <pedro@codesourcery.com>
3377
3378 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
3379 (Virtual): New structs.
3380 (virtual_o, virtual_middle_b): New globals.
3381 * gdb.cp/virtbase.exp: New tests.
3382
d3f0f853
PP
33832011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3384
3385 * gdb.base/jit.exp: New file.
3386 * gdb.base/jit-main.c: New file.
3387 * gdb.base/jit-solib.c: New file.
3388
b2030fb5
UW
33892011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
3390
3391 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
3392 proceed to initial kernel entry point.
3393 * gdb.opencl/datatypes.exp: Likewise.
3394 * gdb.opencl/operators.exp: Likewise.
3395 * gdb.opencl/vec_comps.exp: Likewise.
3396
2db19d1e
SW
33972011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
3398
3399 * gdb.cp/nsnested.cc: New.
3400 * gdb.cp/nsnested.exp: New.
3401 * gdb.cp/nsnoimports.exp: New.
3402 * gdb.cp/nsnoimports.cc: New.
3403
6b0c4c1f
JB
34042011-01-31 Joel Brobecker <brobecker@adacore.com>
3405
3406 * gdb.base/interact.exp: Add extra tests that verify that
3407 the value of the interactive-mode setting does not change
3408 after the script is sourced.
3409
80b23b6a
JK
34102011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3411
3412 * gdb.cp/noparam.exp: New file.
3413 * gdb.cp/noparam.cc: New file.
3414
ffd5ec24
PA
34152011-01-28 Pedro Alves <pedro@codesourcery.com>
3416
3417 * gdb.trace/tfile.exp: Test that with no traceframe selected,
3418 there's no stack or registers.
3419
a81766d8
TT
34202011-01-26 Tom Tromey <tromey@redhat.com>
3421
3422 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
3423 space before string output. Add test for "set print pretty off"
3424 case.
3425
585fdaa1
PA
34262011-01-25 Pedro Alves <pedro@codesourcery.com>
3427
3428 * gdb.base/frame-args.exp: Adjust.
3429 * gdb.dwarf2/dw2-noloc.exp: Adjust.
3430 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
3431 * gdb.dwarf2/pieces.exp: Adjust.
3432 * gdb.opt/clobbered-registers-O2.exp: Adjust.
3433 * gdb.opt/inline-locals.exp: Adjust.
3434 * gdb.threads/fork-child-threads.exp: Adjust.
3435
d468832a
KW
34362011-01-25 Ken Werner <ken.werner@de.ibm.com>
3437
3438 * gdb.opencl/convs_casts.cl: Move program scope variables into the
3439 OpenCL kernel function. Add a comment as marker. Add address space
3440 qualifiers for the remaining program scope variables.
3441 * gdb.opencl/datatypes.cl: Likewise.
3442 * gdb.opencl/operators.cl: Likewise.
3443 * gdb.opencl/vec_comps.cl: Likewise.
3444 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
3445 Add breakpoint at the marker comment.
3446 * gdb.opencl/datatypes.exp: Likewise.
3447 * gdb.opencl/operators.exp: Likewise.
3448 * gdb.opencl/vec_comps.exp: Likewise.
3449
490f124f
PA
34502011-01-24 Pedro Alves <pedro@codesourcery.com>
3451
3452 * gdb.base/printcmds.c (some_struct): New struct and instance.
3453 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
3454 procedure.
3455 <global scope>: Call it.
3456
6da78614
KW
34572011-01-21 Ken Werner <ken.werner@de.ibm.com>
3458
3459 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
3460 argument to the gdb_compile_opencl_hostapp call.
3461
ec64c9aa
YQ
34622011-01-19 Yao Qi <yao@codesourcery.com>
3463
3464 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
3465 positve list.
3466
810cfdbb
YQ
34672011-01-19 Yao Qi <yao@codesourcery.com>
3468
3469 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
3470 canonical form.
3471 Remove "xscale-*-*"
3472 * gdb.xml/tdesc-regs.exp: Likewise.
3473 * gdb.python/py-section-script.exp: Replace ARM target triplet
3474 with canonical form.
3475 Match arm*-*-symbianelf*.
3476 * gdb.base/dup-sect.exp: Likewise.
3477 * lib/dwarf.exp: New.
3478 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
3479 dwarf2_support.
3480 * gdb.dwarf2/dup-psym.exp: Likewise.
3481 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
3482 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3483 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
3484 * gdb.dwarf2/dw2-basic.exp: Likewise.
3485 * gdb.dwarf2/dw2-compressed.exp: Likewise.
3486 * gdb.dwarf2/dw2-const.exp: Likewise.
3487 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
3488 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
3489 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3490 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
3491 * gdb.dwarf2/dw2-filename.exp: Likewise.
3492 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3493 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
3494 * gdb.dwarf2/dw2-intercu.exp: Likewise.
3495 * gdb.dwarf2/dw2-intermix.exp: Likewise.
3496 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
3497 * gdb.dwarf2/dw2-noloc.exp: Likewise.
3498 * gdb.dwarf2/dw2-op-call.exp: Likewise.
3499 * gdb.dwarf2/dw2-producer.exp: Likewise.
3500 * gdb.dwarf2/dw2-ranges.exp: Likewise.
3501 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
3502 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
3503 * gdb.dwarf2/dw2-strp.exp: Likewise.
3504 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
3505 * gdb.dwarf2/implptr.exp: Likewise.
3506 * gdb.dwarf2/mac-fileno.exp: Likewise.
3507 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
3508 * gdb.dwarf2/pieces.exp: Likewise.
3509 * gdb.dwarf2/pr11465.exp: Likewise.
3510 * gdb.dwarf2/valop.exp: Likewise.
3511 * gdb.dwarf2/watch-notconst.exp: Likewise.
3512 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
3513
4694da01
TT
35142011-01-19 Tom Tromey <tromey@redhat.com>
3515
3516 * gdb.python/py-infthread.exp: Add thread tests.
3517
b075872c
JB
35182011-01-14 Joel Brobecker <brobecker@adacore.com>
3519
3520 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
3521
2c3e6e24
JB
35222011-01-14 Joel Brobecker <brobecker@adacore.com>
3523
3524 * gdb.ada/widewide: New testcase.
3525
de8fa76c
JB
35262011-01-13 Joel Brobecker <brobecker@adacore.com>
3527
3528 * gdb.base/interact.exp: New testcase.
3529
1b05df00
TT
35302011-01-12 Tom Tromey <tromey@redhat.com>
3531
3532 * gdb.mi/gdb2549.exp: Update for error message changes.
3533 * gdb.mi/mi-cli.exp: Likewise.
3534 * gdb.mi/mi-disassemble.exp: Likewise.
3535 * gdb.mi/mi-pthreads.exp: Likewise.
3536 * gdb.mi/mi-regs.exp: Likewise.
3537 * gdb.mi/mi-stack.exp: Likewise.
3538 * gdb.mi/mi-var-block.exp: Likewise.
3539 * gdb.mi/mi-var-cmd.exp: Likewise.
3540 * gdb.mi/mi2-cli.exp: Likewise.
3541 * gdb.mi/mi2-disassemble.exp: Likewise.
3542 * gdb.mi/mi2-pthreads.exp: Likewise.
3543 * gdb.mi/mi2-regs.exp: Likewise.
3544 * gdb.mi/mi2-stack.exp: Likewise.
3545 * gdb.mi/mi2-var-block.exp: Likewise.
3546 * gdb.mi/mi2-var-cmd.exp: Likewise.
3547
c2ff108b
JK
35482011-01-12 Andrew Burgess <aburgess@broadcom.com>
3549 Jan Kratochvil <jan.kratochvil@redhat.com>
3550
3551 PR fortran/11104 and DWARF unbound arrays detection.
3552 * gdb.fortran/multi-dim.exp: New file.
3553 * gdb.fortran/multi-dim.f90: New file.
3554
b716877b
AB
35552011-01-12 Andrew Burgess <aburgess@broadcom.com>
3556
3557 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
3558 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
3559 add new tests for opcode dumping.
3560
6c162d5e
TT
35612011-01-11 Tom Tromey <tromey@redhat.com>
3562
3563 * gdb.python/py-infthread.exp: Load gdb-python.exp.
3564
77b06cd7
TJB
35652010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
3566
3567 Convert hardware watchpoints to use breakpoint_ops.
3568 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
3569 type is not supported.
3570 * gdb.base/foll-fork.exp: Likewise.
3571 * gdb.base/foll-vfork.exp: Likewise.
3572
f39a75d0
PM
35732011-01-10 Phil Muldoon <pmuldoon@redhat.com>
3574
3575 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
3576 Use load_lib gdb-python.exp.
3577 * gdb.python/python.exp: Ditto.
3578 * gdb.python/py-function.exp: Ditto.
3579
fc529d80
AS
35802011-01-09 Andreas Schwab <schwab@linux-m68k.org>
3581
3582 * gdb.threads/tls.exp ("info address me"): Fix expected output.
3583
fb03cb59
JK
35842011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3585
3586 * configure: Regenerate.
3587
d8e22779
TT
35882011-01-06 Tom Tromey <tromey@redhat.com>
3589
3590 * gdb.python/py-frame.exp: Test gdb.newest_frame.
3591
09050809
JB
35922011-01-06 Joel Brobecker <brobecker@adacore.com>
3593
fc529d80
AS
3594 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
3595 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
3596 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
3597 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
3598 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
3599 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
3600 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
3601 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
3602 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
3603 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
3604 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
3605 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
3606 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
3607 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
3608 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
3609 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
3610 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
3611 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
3612 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
3613 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
3614 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
3615 gdb.ada/uninitialized_vars.exp,
3616 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
3617 Simplify by using clean_restart.
09050809 3618
8ed5dd9e
JB
36192011-01-06 Joel Brobecker <brobecker@adacore.com>
3620
3621 Add marker to be used as anchor for inserting breakpoints.
3622 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
3623 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
3624 Likewise.
3625
3626 Remove uses of gdb_start_cmd.
3627 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
3628 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
3629
3630 Do not run testcase if testing with GDBserver.
3631 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
3632 if testing with GDBserver.
3633
368a124f
JB
36342011-01-06 Joel Brobecker <brobecker@adacore.com>
3635
3636 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
3637 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
3638 copyright header.
3639
44944448
JB
36402011-01-05 Joel Brobecker <brobecker@adacore.com>
3641
3642 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
3643 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
3644 testsuite/gdb.fortran/complex.f,
3645 testsuite/gdb.fortran/derived-type.f90,
3646 testsuite/gdb.fortran/library-module-lib.f90,
3647 testsuite/gdb.fortran/library-module-main.f90,
3648 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
3649 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
3650 Copyright year update.
3651
31886ea6
JB
36522011-01-05 Joel Brobecker <brobecker@adacore.com>
3653
3654 * gdb.base/langs1.f: Add copyright header.
3655
ebedcab5
JK
36562011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3657
3658 * gdb.base/morestack.exp: New file.
3659 * gdb.base/morestack.c: New file.
3660
de1eb2f9
JK
36612011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3662
3663 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
3664
9e87a409
JB
36652010-12-29 Joel Brobecker <brobecker@adacore.com>
3666
3667 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
3668 * gdb.ada/arrayptr.exp: Add test printing that new variable.
3669
720d1a40
JB
36702010-12-29 Joel Brobecker <brobecker@adacore.com>
3671
3672 * gdb.ada/lang_switch.exp: Correct expected parameter value.
3673
a283af87
AS
36742010-12-25 Andreas Schwab <schwab@linux-m68k.org>
3675
5d3d9cba
AS
3676 * gdb.threads/tls.exp: Fix typo.
3677
a283af87
AS
3678 * gdb.threads/thread-specific.exp (get_thread_list): Update.
3679 * gdb.threads/execl.exp: Update.
3680
2a20745c
YQ
36812010-12-23 Yao Qi <yao@codesourcery.com>
3682
3683 * gdb.arch/arm-disp-step.exp: New.
3684 * gdb.arch/arm-disp-step.S: New.
3685
a7658b96
TT
36862010-12-21 Tom Tromey <tromey@redhat.com>
3687
3688 * gdb.threads/execl.exp: Update.
3689 * gdb.threads/linux-dp.exp: Update.
3690 * gdb.threads/manythreads.exp: Update.
3691 * gdb.threads/tls.exp: Update.
3692
5b79abe7
TT
36932010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3694
3695 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
3696 (NextOverThrowDerivates) <resumebpt>: New.
3697 (resumebpt_test): New.
3698 (main): Call resumebpt_test.
3699 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
3700
0914bcdb
SS
37012010-12-12 Stan Shebs <stan@codesourcery.com>
3702
3703 * gdb.trace/tsv.exp: Test print command on trace state variables.
3704
305aeedc
TT
37052010-12-09 Tom Tromey <tromey@redhat.com>
3706
3707 * gdb.base/interp.exp: Add regression test.
3708
186c406b
TT
37092010-12-09 Tom Tromey <tromey@redhat.com>
3710
3711 * gdb.java/jnpe.java: New file.
3712 * gdb.java/jnpe.exp: New file.
3713 * gdb.cp/nextoverthrow.exp: New file.
3714 * gdb.cp/nextoverthrow.cc: New file.
3715
aae1c79a
DE
37162010-12-07 Doug Evans <dje@google.com>
3717
3718 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
3719 of data-directory.
3720 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
3721 updated.
3722 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
3723
60f98dde 37242010-11-29 Michael Snyder <msnyder@vmware.com>
d426f7b4
MS
3725
3726 * gdb.base/callfuncs.exp: Test for skip_float_tests.
3727 * gdb.base/call-sc.exp: Ditto.
3728 * gdb.base/finish.exp: Ditto.
3729 * gdb.base/return.exp: Ditto.
3730 * gdb.base/return2.exp: Ditto.
3731
5fa290c1
DE
37322010-11-30 Doug Evans <dje@google.com>
3733
3734 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
3735 (gdb_expect_list): Fix spelling errors in comments.
3736 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
3737 send_gdb/gdb_expect_list where applicable.
3738 * gdb.base/call-ar-st.exp: Ditto.
3739 * gdb.base/funcargs.exp: Ditto.
3740 * gdb.base/gcore.exp: Ditto.
3741 * gdb.base/page.exp: Ditto.
3742 * gdb.base/sigaltstack.exp: Ditto.
3743 * gdb.base/siginfo.exp: Ditto.
3744 * gdb.base/sigstep.exp: Ditto.
3745 * gdb.base/trace-commands.exp: Ditto.
3746
4e04c971
DE
37472010-11-29 Doug Evans <dje@google.com>
3748
3749 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
3750 printer-name;subprinter-name.
3751
8cf6f0b1
TT
37522010-11-29 Tom Tromey <tromey@redhat.com>
3753
3754 * gdb.dwarf2/implptr.exp: New file.
3755 * gdb.dwarf2/implptr.c: New file.
3756 * gdb.dwarf2/implptr.S: New file.
3757
94b6973e
PM
37582010-11-29 Phil Muldoon <pmuldoon@redhat.com>
3759
fc529d80 3760 PR python/12199
94b6973e
PM
3761
3762 * gdb.python/py-breakpoint.exp: Test the delete method.
3763
8358c15c
JK
37642010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3765
3766 Fix step_resume_breakpoint unsaved during an infcall.
3767 * gdb.base/step-resume-infcall.exp: New file.
3768 * gdb.base/step-resume-infcall.c: New file.
3769
f6df29bc
TJB
37702010-11-24 Edjunior Machado <emachado@br.ibm.com>
3771
3772 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
3773
f2b5a5cf
TJB
37742010-11-24 Edjunior Machado <emachado@br.ibm.com>
3775
3776 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
3777 on ppc64's symbols; "finish" and "return" commands must accept to
3778 show the caller line again as well as the line after.
3779 * gdb.asm/powerpc64.inc: New file.
3780
6b0ecdc2
DE
37812010-11-23 Doug Evans <dje@google.com>
3782
3783 * lib/gdb.exp (gdb_test_sequence): New function.
3784 (gdb_expect_list): Add verbose -log call for each pattern.
3785 * gdb.base/signals.exp (test_handle_all_print): Call it.
3786 Reduce timeout increment from 6 minutes to 1 minute.
3787 * gdb.server/ext-run.exp: Call it.
3788
ea976c60
PM
37892010-11-23 Phil Muldoon <pmuldoon@redhat.com>
3790
f2b5a5cf 3791 PR python/12212
ea976c60
PM
3792
3793 * gdb.python/python.exp: Check that selected_thread raises an
3794 error when no inferior is loaded.
3795
c0efa795
JK
37962010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3797
3798 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
3799 * gdb.dwarf2/dw2-stack-boundary.S: New file.
3800
ec3aa567
JK
38012010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3802
3803 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
3804 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
3805
d8249011
DE
38062010-11-18 Doug Evans <dje@google.com>
3807
3808 * gdb.server/ext-run.exp: Fix intermittent failures.
3809
d4eba7d1
NF
38102010-11-12 Nathan Froyd <froydnj@codesourcery.com>
3811
3812 * gdb.stabs/gdb11479.exp: Use runto_main.
3813
b04c2f88
NF
38142010-11-12 Nathan Froyd <froydnj@codesourcery.com>
3815
3816 * gdb.base/break-entry.exp: Skip if using a stub.
3817
ae9d7ce4
NF
38182010-11-12 Nathan Froyd <froydnj@codesourcery.com>
3819
3820 * gdb.python/py-inferior.exp: Pack values in target endianness.
3821
621c8364
TT
38222010-11-12 Tom Tromey <tromey@redhat.com>
3823
3824 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
3825 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
3826 MemoryError.
3827 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
3828 type.
3829 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
3830 MemoryError.
3831 (test_subscript_regression): Update exception type.
3832
84f4c1fe
PM
38332010-11-11 Phil Muldoon <pmuldoon@redhat.com>
3834
3835 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
3836 breakpoint tests.
3837
a1442452
PA
38382010-11-09 Pedro Alves <pedro@codesourcery.com>
3839
3840 * gdb.base/watchpoint.exp: Test "watch -location" with an
3841 innacessible location.
3842
efd11a33
JK
38432010-11-09 Edjunior Machado <emachado@br.ibm.com>
3844 Luis Machado <luisgpm@br.ibm.com>
3845
3846 * gdb.base/maint.exp: Expect "." prefix.
3847 * gdb.base/nodebug.exp: Expect "." Likewise.
3848 * gdb.base/sepsymtab.exp: Expect "." Likewise.
3849 * gdb.base/watchpoint-cond-gone.exp: Likewise.
3850 * gdb.base/watchpoint.exp: Expect a software watch to be created for
3851 POWER server processors.
3852
aa00efb5
JK
38532010-11-08 Edjunior Machado <emachado@br.ibm.com>
3854 Luis Machado <luisgpm@br.ibm.com>
3855
3856 * gdb.base/break-entry.exp: convert entry point for
3857 ppc64 and expect leading `.' on ppc64's symbols
3858
99e7ae30
DE
38592010-11-05 Doug Evans <dje@google.com>
3860
3861 * gdb.base/help.exp: Update expected output.
b521dba8
DE
3862 * gdb.python/py-param.exp: Delete, contents moved to ...
3863 * gdb.python/py-parameter.exp: ... here. New file.
3864 Add test for gdb.parameter ("directories").
99e7ae30 3865
f4b8a18d
KW
38662010-11-05 Ken Werner <ken.werner@de.ibm.com>
3867
3868 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
3869 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
3870 * configure: Regenerate.
3871 * gdb.opencl/Makefile.in: New File.
3872 * gdb.opencl/datatypes.exp: Likewise.
3873 * gdb.opencl/datatypes.cl: Likewise.
3874 * gdb.opencl/operators.exp: Likewise.
3875 * gdb.opencl/operators.cl: Likewise.
3876 * gdb.opencl/vec_comps.exp: Likewise.
3877 * gdb.opencl/vec_comps.cl: Likewise.
3878 * gdb.opencl/convs_casts.exp: Likewise.
3879 * gdb.opencl/convs_casts.cl: Likewise.
3880 * lib/opencl.exp: Likewise.
3881 * lib/opencl_hostapp.c: Likewise.
3882 * lib/opencl_kernel.cl: Likewise.
3883 * lib/cl_util.c: Likewise.
3884 * lib/cl_util.c: Likewise.
3885 * gdb.base/default.exp (set language): Add "opencl" to the list of
3886 languages.
3887
a9d5ef47
SW
38882010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
3889
3890 * gdb.cp/overload.exp: Added test for inheritance overload.
3891 * gdb.cp/overload.cc: Ditto.
3892 * gdb.cp/oranking.exp: Removed releveant kfails.
3893
03eb1c79
JK
38942010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3895 Joel Brobecker <brobecker@adacore.com>
3896
3897 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
3898 check test_compiler_info.
3899
dbc98a8b
KW
39002010-11-03 Ken Werner <ken.werner@de.ibm.com>
3901
3902 * gdb.base/gnu_vector.exp: Adjust expect messages.
3903
120bd360
KW
39042010-11-03 Ken Werner <ken.werner@de.ibm.com>
3905
3906 * gdb.base/gnu_vector.exp: Add unary operator tests.
3907
c37f7098
KW
39082010-11-03 Ken Werner <ken.werner@de.ibm.com>
3909
3910 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
3911
7b51bc51
DE
39122010-11-02 Doug Evans <dje@google.com>
3913
3914 * gdb.python/py-pp-maint.c: New file.
3915 * gdb.python/py-pp-maint.exp: New file.
3916 * gdb.python/py-pp-maint.py: New file.
3917
50c97f38
TT
39182010-11-02 Tom Tromey <tromey@redhat.com>
3919
3920 * gdb.base/default.exp: Remove "scheme" from language list.
3921
a289b8f6
JK
39222010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3923
3924 Revert:
3925 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3926 * gdb.threads/sigstep-threads.exp: New file.
3927 * gdb.threads/sigstep-threads.c: New file.
3928
cd017491
MS
39292010-10-20 Michael Snyder <msnyder@vmware.com>
3930
3931 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
3932
8e6a5956
UW
39332010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
3934
3935 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
3936 Skip test completely if gdb,no_hardware_watchpoints.
3937
2c04da0d
UW
39382010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
3939
3940 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
3941 strict, but do not check for any particular function name within libc.
3942
79afc5ef
SW
39432010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
3944
3945 * gdb.cp/smartp.exp: New test.
3946 * gdb.cp/smartp.cc : New test.
3947
026ffab7
SW
39482010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
3949
3950 * gdb.cp/converts.exp: Test pointer to bool conversion.
3951 Test pointer to long conversion.
3952 * gdb.cp/oranking.exp: Removed relevant kfail.
3953
3a772aa4
TT
39542010-10-18 Tom Tromey <tromey@redhat.com>
3955
3956 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
3957 argument to lazy_string.
3958 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
3959 (pp_ls.to_string): Use it.
3960 * gdb.python/py-prettyprint.c (main): Move declarations to top.
3961 Add "estring2" local.
3962
5fc3827b
JK
39632010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3964
3965 Fix s390x compatibility.
3966 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
3967 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
3968
8aeb23f3
JK
39692010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3970
3971 * gdb.threads/sigstep-threads.exp: New file.
3972 * gdb.threads/sigstep-threads.c: New file.
3973
c1e56572
JK
39742010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3975
3976 * gdb.base/pie-execl.exp: New file.
3977 * gdb.base/pie-execl.c: New file.
3978
92163a10
JK
39792010-10-13 Doug Evans <dje@google.com>
3980 Jan Kratochvil <jan.kratochvil@redhat.com>
3981
3982 PR exp/12117
3983 * gdb.cp/ptype-cv-cp.cc: New file.
3984 * gdb.cp/ptype-cv-cp.exp: New file.
3985
7062b0a0
SW
39862010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
3987
3988 * gdb.cp/converts.cc: New test program.
3989 * gdb.cp/converts.exp: New test.
3990 * gdb.cp/overload.exp: Added test for void* vs int*.
3991 * gdb.cp/overload.exp: Ditto.
3992 * gdb.cp/oranking.exp: Removed related kfail.
3993
0e3509db
DE
39942010-10-13 Doug Evans <dje@google.com>
3995
3996 * lib/gdb-python.exp (gdb_check_python_config): New function.
3997 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
3998 * gdb.python/lib-types.cc: New file.
3999 * gdb.python/lib-types.exp: New file.
4000
8dc78533
JK
40012010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4002
4003 * gdb.python/py-error.exp: New file.
4004 * gdb.python/py-error.py: New file.
4005
93c17e06
JK
40062010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4007
4008 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
4009 gdb_test_multiple.
4010
d8b34041
JK
40112010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4012
4013 * gdb.base/break-interp.exp: Use ldlags for linking flags.
4014 * gdb.base/prelink.exp: Likewise.
4015 * gdb.base/solib-nodir.exp: Likewise.
4016 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
4017 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
4018 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
4019
e0cc584e
UW
40202010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
4021
4022 * break-interp.exp (test_ld): Use two separate gdb_expect statements
4023 for the "info files" test to avoid timeouts on slow machines.
4024
cfc353b1
JK
40252010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4026
4027 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
4028 (main): Make openlib dummy call.
4029
d3d7896d
JK
40302010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4031
4032 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
4033 * break-interp.exp (reach): Move the core body ...
4034 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
4035 (test_ld): Provide always real argument, even to the linker. Replace
4036 dl_main by _dl_debug_state.
4037
5e533c94
JK
40382010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4039
4040 Fix results of prelinked PIEs on ppc*.
4041 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
4042 Accept also DISPLACEMENT "PRESENT".
4043 (main): Replace "ZERO" displacements by "PRESENT".
4044
33540610
SW
40452010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
4046
4047 * gdb.cp/oranking.exp: New test.
4048 * gdb.cp/oranking.cc: New test program.
4049
3bdf2bbd
KW
40502010-10-08 Ken Werner <ken.werner@de.ibm.com>
4051
4052 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
4053 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
4054
2f608a3a
KW
40552010-10-06 Ken Werner <ken.werner@de.ibm.com>
4056
4057 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
4058 lush, lynx) New constant.
4059 * gdb.base/constvars.exp: Test const array types.
4060 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
4061
aa2e2d8d
DE
40622010-10-06 Doug Evans <dje@google.com>
4063
4064 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
4065 of syscall staging area.
4066
2844d6b5
KW
40672010-10-06 Ken Werner <ken.werner@de.ibm.com>
4068
4069 * gdb.base/gnu_vector.c: Add variable c4.
4070 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
4071 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
4072
7d8ac8bb
MR
40732010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
4074
4075 * gdb.arch/altivec-abi.exp: Fix a typo.
4076
84a02e58
MR
40772010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
4078
4079 * lib/mi-support.exp (thread_selected_re): Correct pattern used
4080 to match a thread ID.
4081
b18e6318
JK
40822010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4083
4084 Fix s390x testcase compatibility.
4085 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
4086
a2c09bd0
DE
40872010-10-01 Doug Evans <dje@google.com>
4088
4089 * lib/gdb-python.exp: New file.
4090 * gdb.python/py-block.exp: Use it.
4091 * gdb.python/py-breakpoint.exp: Ditto.
4092 * gdb.python/py-frame.exp: Ditto.
4093 * gdb.python/py-inferior.exp: Ditto.
4094 * gdb.python/py-param.exp: Ditto.
4095 * gdb.python/py-prettyprint.exp: Ditto.
4096 * gdb.python/py-shared.exp: Ditto.
4097 * gdb.python/py-symbol.exp: Ditto.
4098 * gdb.python/py-symtab.exp: Ditto.
4099 * gdb.python/py-type.exp: Ditto.
4100 * gdb.python/py-value.exp: Ditto.
4101 * gdb.python/python.exp: Ditto.
4102
38f12cfc
TT
41032010-09-30 Tom Tromey <tromey@redhat.com>
4104
4105 * gdb.base/anon.exp: New file.
4106 * gdb.base/anon.c: New file.
4107
9ae8282d
TT
41082010-09-30 Tom Tromey <tromey@redhat.com>
4109
4110 * gdb.base/completion.exp: Test completion through anonymous
4111 union.
4112 * gdb.base/break1.c (struct some_struct): Add anonymous union.
4113
e9e07ba6
JK
41142010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4115
4116 Fix printing parameters of inlined functions.
4117 * gdb.dwarf2/dw2-inline-param.exp: New file.
4118 * gdb.dwarf2/dw2-inline-param-main.c: New file.
4119 * gdb.dwarf2/dw2-inline-param.S: New file.
4120
cd2effb2
JK
41212010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4122
4123 PR corefiles/12071.
4124 * gdb.base/corefile.exp (quit with a process, no question: load core)
4125 (quit with a core file): New tests.
4126
bceffbf3
JK
41272010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4128
4129 Fix GDB crash on inferior calls with self-referencing classes.
4130 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
4131 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
4132 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
4133
1736ad11
JK
41342010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4135
4136 Fix lost siginfo_t for inferior calls.
4137 * gdb.base/siginfo-infcall.exp: New file.
4138 * gdb.base/siginfo-infcall.c: New file.
4139
a176ad92
JB
41402010-09-22 Joel Brobecker <brobecker@adacore.com>
4141
4142 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
4143
c2b0a229
JK
41442010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4145
4146 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
4147 New test.
4148 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
4149
e8ae22d1
JB
41502010-09-22 Joel Brobecker <brobecker@adacore.com>
4151
4152 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
4153 type of our const type.
4154
ec322823
SW
41552010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
4156
4157 * gdb.cp/pr12028.cc: New.
4158 * gdb.cp/pr12028.exp: New.
4159
72929c62
JB
41602010-09-22 Joel Brobecker <brobecker@adacore.com>
4161
4162 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
4163
875b4ff5 41642010-09-16 Phil Muldoon <pmuldoon@redhat.com>
fc529d80 4165 Jan Kratochvil <jan.kratochvil@redhat.com>
875b4ff5
PM
4166
4167 PR mi/11407
4168 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
4169 * gdb.mi/dw2-ref-missing-frame-main.c New File.
4170 * gdb.mi/dw2-ref-missing-frame.S New File.
4171 * gdb.mi/dw2-ref-missing-frame.exp New File.
4172
7155d578
TT
41732010-09-14 Tom Tromey <tromey@redhat.com>
4174
4175 PR symtab/8399:
4176 * gdb.threads/tls.exp: Remove kfail. Update expected output.
4177
515ed532
TT
41782010-09-14 Tom Tromey <tromey@redhat.com>
4179
4180 PR exp/11803:
4181 * gdb.threads/tls.exp: Use C++.
4182 (check_thread_local): Use K::another_thread_local.
4183 * gdb.threads/tls.c (class K): New.
4184 (another_thread_local): Now a member of K.
4185 (spin): Update. No longer K&R C.
4186
450ca57c
SW
41872010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
4188
4189 * gdb.cp/koenig.cc: created class for testing member lookup.
4190 * gdb.cp/koenig.exp: Added test for member lookup.
4191
dbd492a3
JK
41922010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4193
4194 Fix false FAILs on sourcetree topdir directory containing "kill".
4195 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
4196 source line matching regexp.
4197
8d4d924b
JK
41982010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4199
4200 * gdb.python/python.exp (set height 0, collect help from uiout)
4201 (verify help to uiout): New tests.
4202
8e64f2a0
JK
42032010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4204
4205 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
4206 is_lp64_target to check 64bit target.
4207
4569eed2
JK
42082010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4209
4210 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
4211 (test_ld) <powerpc64-*>: New.
4212
5e1617b1
DJ
42132010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
4214
4215 * gdb.cp/templates.exp (test_template_args): Allow "struct".
4216
c767944b
DJ
42172010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
4218
4219 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
4220 (FunctionArg::method): New function.
4221 (empty, arg): New variables.
4222 (main): Call arg.method.
4223 * gdb.cp/templates.exp (test_template_args): New function.
4224 (do_tests): Call it.
4225
27d3a3fc
UW
42262010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
4227
4228 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
4229 of "next" to proceed over pthread_exit call.
4230
55b7ce7f
UW
42312010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
4232
4233 * gdb.base/maint.exp: Avoid wildcards against potentially very long
4234 "maint print statistics" output to prevent expect timeouts.
4235
809df446
JK
42362010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4237
4238 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
4239 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4240 (test_float_rejected): ... here.
4241 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
4242 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4243 (test_float_rejected): ... here.
4244 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
4245 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4246 (test_float_rejected): ... here.
4247 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
4248 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4249 (test_float_rejected): ... here.
4250
8464be76
DJ
42512010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
4252
4253 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
4254 before disabling hardware watchpoints.
4255 (test_inaccessible_watchpoint): Check that hardware watchpoints
4256 are used. Test for watchpoints on a constant address.
4257
14dba4b4
JK
42582010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4259
4260 * gdb.base/ui-redirect.exp: New file.
4261
3f3540e1 42622010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
fc529d80 4263 Joel Brobecker <brobecker@adacore.com>
3f3540e1
JB
4264
4265 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
4266
0f254bb7
DE
42672010-08-31 Doug Evans <dje@google.com>
4268
4269 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
4270
03f17ccf
TT
42712010-08-30 Tom Tromey <tromey@redhat.com>
4272
4273 PR python/11792:
4274 * gdb.python/py-value.exp (test_subscript_regression): Add
4275 dynamic_type test.
4276
640617ad
DJ
42772010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
4278
4279 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
4280 instead of running to main. Do not test the main function.
4281 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
4282 Add new main.
4283
2ed91d1b
PA
42842010-08-26 Pedro Alves <pedro@codesourcery.com>
4285
4286 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
4287 one test.
4288
673bfd45
DE
42892010-08-24 Doug Evans <dje@google.com>
4290
4291 PR symtab/11942
4292 * gdb.dwarf2/dw4-sig-types.cc: New file.
4293 * gdb.dwarf2/dw4-sig-types.h: New file.
4294 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
4295 * gdb.dwarf2/dw4-sig-types.exp: New file.
4296
f9ffd4bb
TT
42972010-08-23 Tom Tromey <tromey@redhat.com>
4298
4299 PR python/11145:
4300 * gdb.python/py-value.c (Base, Derived): New types.
4301 (base): New global.
4302 * gdb.python/py-value.exp (test_subscript_regression): Add
4303 dynamic_cast test.
4304
d839c8a4
TT
43052010-08-23 Tom Tromey <tromey@redhat.com>
4306
4307 PR python/10676:
4308 * gdb.python/py-type.exp (test_fields): Add tests for type
4309 equality.
4310
702c2711
TT
43112010-08-23 Tom Tromey <tromey@redhat.com>
4312
4313 PR python/11915:
4314 * gdb.python/py-type.exp (test_fields): Add tests for array.
4315
832bafd3
KS
43162010-08-23 Keith Seitz <keiths@redhat.com>
4317
4318 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
4319 have any children. Create a new abbrev for it.
4320 Add missing terminal sequence to .debug_abbrev.
4321
c37bf528
KS
43222010-08-20 Keith Seitz <keiths@redhat.com>
4323
4324 PR symtab/11465:
4325 * gdb.dwarf2/pr11465.exp: New test.
4326 * gdb.dwarf2/pr11465.S: New file.
4327 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
4328 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
4329
4572cbac
TJB
43302010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
4331
4332 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
4333 registers. Update data sets with the new v2_double element in the
4334 VSX register union. Add vector_register3_vr data set for the AltiVec
4335 registers. Use gdb_test_no_output instead of send_gdb.
4336
e7fbb131
PA
43372010-08-19 Pedro Alves <pedro@codesourcery.com>
4338
4339 * gdb.python/py-shared.exp: New file, factored out from
4340 python.exp.
4341 * gdb.python/py-shared.c: New file.
4342 * gdb.python/py-shared-sl.c: New file.
4343 * gdb.python/python-1.c: New file.
4344 * gdb.python/python-sl.c: Delete.
4345 * gdb.python/python.c: Mention python-1.c.
4346 * gdb.python/python.exp: Move shared library tests to
4347 py-shared.exp.
4348 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
4349 (MISCELLANEOUS): New.
4350 (clean mostlyclean): Also remove $MISCELLANEOUS.
4351
d30f5e1f
DE
43522010-08-19 Doug Evans <dje@google.com>
4353
4354 PR exp/11926
4355 * gdb.base/printcmds.exp (test_float_accepted): New function.
4356 Move existing float tests there. Add tests for floats with suffixes.
4357 (test_float_rejected): New function.
4358 * gdb.java/jv-print.exp (test_float_accepted): New function.
4359 (test_float_rejected): New function.
4360 * gdb.objc/print.exp: New file.
4361 * gdb.pascal/print.exp: New file.
4362 * lib/objc.exp: New file.
4363
7b3fd859
PM
43642010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
4365
4366 * gdb.base/default.exp (info set): Avoid full buffer error and force
4367 reading up to final gdb prompt.
4368 (show): Likewise.
4369
c92817ce
TT
43702010-08-18 Tom Tromey <tromey@redhat.com>
4371
4372 PR symtab/11919:
4373 * gdb.base/completion.exp: Add test.
4374
f1208f9e
DE
43752010-08-18 Doug Evans <dje@google.com>
4376
4377 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
4378 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
4379 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
4380 Simplify, early exit if runto_main fails.
4381 * gdb.fortran/exprs.exp: load_lib fortran.exp.
4382 (set_lang_fortran): Moved to lib/fortran.exp.
4383 * gdb.fortran/types.exp: load_lib fortran.exp.
4384 (set_lang_fortran): Moved to lib/fortran.exp.
4385 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
4386 * gdb.java/jprint.exp (set_lang_java): Ditto.
4387 * gdb.java/jv-exp.exp: load_lib java.exp.
4388 If set_lang_java fails, issue a warning instead of failure to be
4389 consistent with other set_lang_foo uses.
4390 (set_lang_java): Moved to lib/java.exp.
4391 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
4392 If set_lang_java fails, issue a warning instead of failure to be
4393 consistent with other set_lang_foo uses.
4394 * gdb.pascal/types.exp: load_lib pascal.exp.
4395 (set_lang_pascal): Moved to lib/pascal.exp.
4396 * lib/fortran.exp: New file.
4397 * lib/java.exp (set_lang_java): New function.
4398 * lib/pascal.exp (set_lang_pascal): New function.
4399
2f06b485
YQ
44002010-08-18 Yao Qi <yao@codesourcery.com
4401
4402 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
4403 func_nofb_start and func_loopfb_start, so that address of functions
4404 is equal to these labels on Thumb.
4405
96e25403
YQ
44062010-08-18 Yao Qi <yao@codesourcery.com>
4407
4408 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
4409 to reflect latest c source file.
4410
36e6adc4
JK
44112010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4412
4413 * gdb.cp/infcall-dlopen.exp: New file.
4414 * gdb.cp/infcall-dlopen.cc: New file.
4415 * gdb.cp/infcall-dlopen-lib.cc: New file.
4416
f431efe5
PA
44172010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4418 Pedro Alves <pedro@codesourcery.com>
4419
4420 PR breakpoints/11371
4421
4422 * gdb.base/watch-cond-infcall.exp: New file.
4423 * gdb.base/watch-cond-infcall.c: New file.
4424
06a64a0b
TT
44252010-08-16 Tom Tromey <tromey@redhat.com>
4426
4427 * gdb.base/help.exp: Update.
4428 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
4429 watchpoint.
4430 (test_watch_location): New proc.
4431 (test_watchpoint_in_big_blob): Delete watchpoint.
4432 * gdb.base/watchpoint.c (func5): New function.
4433 (main): Call it.
4434
70ebf4ed
DE
44352010-08-16 Doug Evans <dje@google.com>
4436
4437 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
4438
ca5c20b6
PM
44392010-08-11 Phil Muldoon <pmuldoon@redhat.com>
4440
4441 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
4442 tests.
4443
7346b668
KW
44442010-08-11 Ken Werner <ken.werner@de.ibm.com>
4445
4446 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
4447 * gdb.base/gnu_vector.c: New File.
4448 * gdb.base/gnu_vector.exp: Likewise.
4449
cb2e07a6
PM
44502010-08-11 Phil Muldoon <pmuldoon@redhat.com>
4451
4452 * gdb.python/python.c: New File.
4453 * gdb.python/python-sl.c: New File.
4454 * gdb.python/python.exp: Test solib_address and decode_line
4455 * functions.
4456
5da1313b
JK
44572010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4458
4459 * gdb.python/python.exp (show height, set height 10)
4460 (verify pagination beforehand, verify pagination beforehand: q)
4461 (gdb.execute does not page, verify pagination afterwards)
4462 (verify pagination afterwards: q): New.
4463
49c3ccf7
DE
44642010-08-02 Doug Evans <dje@google.com>
4465
4466 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
4467 because of an older gcc, change test2
4468 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
4469 to unsupported.
4470
42c0c4f1
KH
44712010-07-30 Kazu Hirata <kazu@codesourcery.com>
4472
4473 * gdb.base/break-always.exp: Do not expect full paths to file
4474 names.
4475 * gdb.base/commands.exp: Likewise.
4476
d3765805
DE
44772010-07-30 Doug Evans <dje@google.com>
4478
c98ee71b
DE
4479 * gdb.cp/temargs.exp: For new tests that require newer gccs,
4480 xfail them when run with older gccs.
4481
fd961404
DE
4482 * lib/gdb.exp (build_executable): Forward "c++" option to
4483 get_compiler_info.
4484
999adef4
DE
4485 * gdb.python/py-type.exp (test_template): Mark as xfail tests
4486 "python print ttype.template_argument(1)" and
4487 "python print isinstance(ttype.template_argument(1), gdb.Value)"
4488 if using gcc 4.4 or earlier.
4489
d3765805
DE
4490 * gdb.base/valgrind-db-attach.exp: Use unique test name for
4491 attach-to-debugger handling.
4492
1276c759
JK
44932010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4494
4495 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
4496 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
4497 (main): Use copyreloc.
4498 * gdb.base/prelink.exp (split debug of executable)
4499 (.dynbss vs. .bss address shift): New tests.
4500
88caa9b9
PA
45012010-07-29 Pedro Alves <pedro@codesourcery.com>
4502
4503 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
4504 in gdb_test_multiple.
4505
c6f2ac43
PA
45062010-07-29 Pedro Alves <pedro@codesourcery.com>
4507
4508 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
4509 environment.
4510
326fd672
TT
45112010-07-28 Tom Tromey <tromey@redhat.com>
4512
4513 PR python/11060:
4514 * gdb.python/py-type.c (Temargs): New template.
4515 (temvar): New variable.
4516 * gdb.python/py-type.exp (test_template): New proc.
4517
3ce3b1ba
PA
45182010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
4519
4520 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
4521 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
4522
34eaf542
TT
45232010-07-28 Tom Tromey <tromey@redhat.com>
4524
4525 PR c++/9946:
4526 * gdb.cp/temargs.exp: New file.
4527 * gdb.cp/temargs.cc: New file.
4528
d41b819e
JK
45292010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4530
4531 * gdb.base/help.exp (help disassemble): Update the content.
4532
26ab7092
JK
45332010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4534
4535 * gdb.threads/ia64-sigill.exp: New file.
4536 * gdb.threads/ia64-sigill.c: New file.
4537
5283e9e1
TT
45382010-07-27 Tom Tromey <tromey@redhat.com>
4539
4540 * gdb.opt/inline-cmds.c (ATTR): New define.
4541 (func1): Use it.
4542 (func2): Likewise.
4543 (func3): Likewise.
4544 (outer_inline1): Likewise.
4545 (outer_inline2): Likewise.
4546 * gdb.opt/inline-bt.c (ATTR): New define.
4547 (func1): Use it.
4548 (func2): Likewise.
4549 * gdb.opt/inline-locals.c (ATTR): New define.
4550 (func1): Use it.
4551 (func2): Likewise.
4552
e992ef73
TT
45532010-07-27 Tom Tromey <tromey@redhat.com>
4554
4555 * gdb.stabs/gdb11479.c (hack): New function.
4556 (test): Use it.
4557 (test2): Use it.
4558 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
4559 (int32_search_buf, int64_search_buf): No longer static.
4560 (x): Remove.
4561 * gdb.base/relocate.c (hack): New function.
4562
5374244e
PM
45632010-07-27 Phil Muldoon <pmuldoon@redhat.com>
4564
4565 * gdb.python/py-value.exp (test_inferior_function_call): New function.
4566 * gdb.python/py-value.c (func1): New function.
4567 (func2): Likewise.
4568
a99aee83
CV
45692010-07-26 Corinna Vinschen <vinschen@redhat.com>
4570
4571 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
4572 as not to clash with .data section.
4573
a04ba985
JG
45742010-07-26 Jerome Guitton <guitton@adacore.com>
4575
4576 * gdb.base/code_elim.exp: New file.
4577 * gdb.base/code_elim1.c: New file.
4578 * gdb.base/code_elim2.c: New file.
4579
23bd0f7c
PA
45802010-07-21 Pedro Alves <pedro@codesourcery.com>
4581
4582 PR symtab/11827
4583
4584 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
4585 (some_volatile_enum): New variable.
4586 * gdb.base/printcmds.exp (test_print_enums): New.
4587 <top level>: Call it.
4588
883df6dd
SW
45892010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
4590
4591 * gdb.cp/fpointer.cc: New test.
4592 * gdb.cp/fpointer.exp: New test.
4593
569b05a5
JK
45942010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4595
4596 * gdb.base/solib-nodir.exp: New file.
4597 * lib/gdb.exp (runto): New case for a GDB internal error.
4598
51d7d803
JK
45992010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4600 Ulrich Weigand <uweigand@de.ibm.com>
4601 Tom Tromey <tromey@redhat.com>
4602
4603 * gdb.base/charset-malloc.c: New file.
4604 * gdb.base/charset.c (malloc_stub): New prototype.
4605 (main): Call it instead of malloc itself.
4606 * gdb.base/charset.exp: Use only prepare_for_testing.
4607 (binfile): Remove the variable.
4608
c0edd9ed
JK
46092010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4610
4611 Make core files the process_stratum.
4612 * gdb.base/corefile.exp (run: load core again)
4613 (run: sanity check we see the core file, run: with core)
4614 (run: core file is cleared, attach: load core again)
4615 (attach: sanity check we see the core file, attach: with core)
4616 (attach: core file is cleared): New tests.
4617 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
4618
3cbaedff
KW
46192010-07-14 Ken Werner <ken.werner@de.ibm.com>
4620
4621 * gdb.arch/altivec-abi.exp: New tests.
4622
91158a56
TT
46232010-07-13 Tom Tromey <tromey@redhat.com>
4624
4625 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
4626 (main): Use it.
4627 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
4628
0f5238ed
TT
46292010-07-13 Tom Tromey <tromey@redhat.com>
4630
4631 * gdb.base/label.exp: New file.
4632 * gdb.base/label.c: New file.
4633
add265ae
L
46342010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
4635 H.J. Lu <hongjiu.lu@intel.com>
4636
4637 * lib/gdb.exp (is_ilp32_target): New.
4638 (is_lp64_target): Likewise.
4639
4640 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
4641 target.
4642 * gdb.arch/amd64-disp-step.exp: Likewise.
4643 * gdb.arch/amd64-dword.exp: Likewise.
4644 * gdb.arch/amd64-i386-address.exp: Likewise.
4645 * gdb.arch/amd64-word.exp: Likewise.
889bf7c5 4646
add265ae
L
4647 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
4648 target.
4649 * gdb.arch/i386-bp_permanent.exp: Likewise.
4650 * gdb.arch/i386-byte.exp: Likewise.
4651 * gdb.arch/i386-disp-step.exp: Likewise.
4652 * gdb.arch/i386-gnu-cfi.exp: Likewise.
4653 * gdb.arch/i386-prologue.exp: Likewise.
4654 * gdb.arch/i386-size-overlap.exp: Likewise.
4655 * gdb.arch/i386-size.exp: Likewise.
4656 * gdb.arch/i386-sse.exp: Likewise.
4657 * gdb.arch/i386-unwind.exp: Likewise.
4658 * gdb.arch/i386-word.exp: Likewise.
4659
4660 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
4661 test only when building 64-bit executables. Do not hard-code
4662 -m64 option.
4663
2dfb8c17
DE
46642010-07-07 Doug Evans <dje@google.com>
4665
4666 * lib/gdb.exp (gdb_test_list_exact): New function.
4667 * gdb.base/default.exp (show convenience): Call it, add tests for
4668 $_sdata = void, $_thread = 0.
4669
4e5799b6
JK
46702010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4671 Joel Brobecker <brobecker@adacore.com>
4672
4673 Fix re-run of PIE executable, PR shlibs/11776.
4674 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
4675 Remove $displacement_main to match the solib-svr4.c change. New "kill"
4676 and re-"run" of the inferior.
4677
1a219cc7
JK
46782010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4679 Joel Brobecker <brobecker@adacore.com>
4680
4681 Cope with missing /usr/sbin/prelink.
4682 * lib/prelink-support.exp (prelink_no):
4683 <result == 1 && $output is "no such file or directory">: New.
4684 (prelink_yes): Likewise. Return on failed prelink_no.
4685
5e3b36f8
JK
46862010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4687 Joel Brobecker <brobecker@adacore.com>
4688
4689 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
4690 build_executable by build_executable_own_libs. Replace "prelink -R"
4691 execution by a call of prelink_yes. Comment why "prelink -r" needs no
4692 change.
4693 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
4694 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
4695 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
4696 Replace build_executable by build_executable_own_libs's function
4697 build_executable_own_libs.
4698 (prelinkNO): Create new stub to call prelink_no.
4699 (prelinkYES): Create new stub to call prelink_yes.
4700 (test_attach): Rename calls of copy to file_copy.
4701 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
4702 (copy): Move to ...
4703 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
4704 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
4705 * gdb.base/prelink.exp: Disable testcase also for is_remote and
4706 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
4707 special flags by gdb_compile_shlib. Replace second gdb_compile by
4708 build_executable_own_libs. Replace "prelink -R" execution by a call of
4709 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
4710 a second call of prelink_yes. Replace restart commands by
4711 clean_restart.
4712 (prelink): Rename to ...
4713 (seen displacement message): ... this test. Extend its expectation
4714 strictness.
4715
86e4bafc
JK
47162010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4717
4718 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
4719 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
4720 displacement message exactly once.
4721
3cd07d20
JK
47222010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4723 Joel Brobecker <brobecker@adacore.com>
4724
4725 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
4726 its restore after the <$relink_args != ""> loop. new comment.
4727
0a1e94c7
JK
47282010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4729 Joel Brobecker <brobecker@adacore.com>
4730
4731 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
4732 code for it. New variable relink_args.
4733 (prelinkYES): Call prelinkNO.
4734 (test_attach): Accept new parameter relink_args. Re-prelink the binary
4735 in such case. Move the core code to ...
4736 (test_attach_gdb): ... a new function. Send GDB command "file".
4737 Extend expected "Attaching to " string.
4738
2f70bcfb
TT
47392010-07-02 Tom Tromey <tromey@redhat.com>
4740
4741 * gdb.base/bitops.exp: Remove extraneous "pass".
4742
a17ac5b0
TT
47432010-07-02 Ken Werner <ken.werner@de.ibm.com>
4744
4745 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
4746
dc10affe
PA
47472010-07-01 Pedro Alves <pedro@codesourcery.com>
4748
d41c0fc8
PA
4749 * gdb.base/help.exp: Adjust expected output.
4750
47512010-07-01 Pedro Alves <pedro@codesourcery.com>
4752
4753 * gdb.base/help.exp: Adjust expected output.
dc10affe 4754
0a600c36
JK
47552010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4756
4757 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
4758 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
4759 c++/11702.
4760
37cc8bfe
JK
47612010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4762 Doug Evans <dje@google.com>
4763
4764 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
4765 add .dynamic entry'.
4766
254e6b9e
DE
47672010-06-29 Doug Evans <dje@google.com>
4768
4769 Test PR c++/11702.
4770 * gdb.cp/m-static.exp: Add testcase.
4771 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
4772
595939de 47732010-06-28 Phil Muldoon <pmuldoon@redhat.com>
889bf7c5
PA
4774 Tom Tromey <tromey@redhat.com>
4775 Thiago Jung Bauermann <bauerman@br.ibm.com>
595939de
PM
4776
4777 * gdb.python/py-inferior.c: New File.
4778 * gdb.python/py-infthread.c: New File.
4779 * gdb.python/py-inferior.exp: New File.
4780 * gdb.python/py-infthread.exp: New File.
4781
98751a41
JK
47822010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4783
4784 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
4785 (ptype ::C::OtherFileClass typedefs): New.
4786 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
4787 (C::OtherFileClass::cOtherFileClassVar2): New.
4788 (C::OtherFileClass::cOtherFileClassVar_use): Use also
4789 cOtherFileClassVar2.
4790 (C::cOtherFileType2, C::cOtherFileVar2): New.
4791 (C::cOtherFileVar_use): use also cOtherFileVar2.
4792 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
4793
41f62f39
JK
47942010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4795
4796 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
4797 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
4798 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
4799 (print ::C::cOtherFileVar)
4800 (whatis C::OtherFileClass::cOtherFileClassType)
4801 (whatis ::C::OtherFileClass::cOtherFileClassType)
4802 (print C::OtherFileClass::cOtherFileClassVar)
4803 (print ::cOtherFileClassVar)
4804 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
4805 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
4806 trailing content.
4807 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
4808 (C::OtherFileClass::cOtherFileClassVar)
4809 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
4810 (C::cOtherFileVar, C::cOtherFileVar_use): New.
4811
af53d231
JK
48122010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4813
4814 Test PR c++/11703 and PR gdb/1448.
4815 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
4816 gdb/1448.
4817
9655fd1a
JK
48182010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4819
4820 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
4821 (main) <rtti_data>: New.
4822 * gdb.cp/virtbase.exp (print rtti_data): New.
4823
824cc8dd
JK
48242010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4825 Joel Brobecker <brobecker@adacore.com>
4826
4827 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
4828
6036c742
JK
48292010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4830
4831 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
4832
de6a0421
DE
48332010-06-28 Doug Evans <dje@google.com>
4834
4835 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
4836
b2dae948
DE
48372010-06-27 Doug Evans <dje@google.com>
4838
4839 * gdb.cp/m-static.exp: Update expected test output.
4840
0f3bb72e
PH
48412010-06-25 Paul Hilfinger <hilfinger@adacore.com>
4842
889bf7c5
PA
4843 * gdb.gdb/selftest.exp: Adjust expected message for
4844 capturing start-up runtime.
0f3bb72e 4845
bc9f0842
TT
48462010-06-25 Tom Tromey <tromey@redhat.com>
4847
4848 PR python/10808:
4849 * gdb.python/python.exp: Add new tests.
4850
099ef718
SW
48512010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
4852
4853 * gdb.cp/operator.cc: Created an import loop.
4854 * gdb.cp/operator.exp: Added testcase for import loop.
4855
5868a632
JK
48562010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4857
4858 Test PR python/11407.
4859 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
4860 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
4861 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
4862 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
4863 executable_nofb and executable_fb. New variables srcsfile, objsfile,
4864 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
4865 binfile. Call gdb_compile with clean_restart twice.
4866 (func_nofb print, func_nofb backtrace, func_loopfb print)
4867 (func_loopfb backtrace): New.
4868
af76db58
JK
48692010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4870
4871 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
4872 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
4873 by a hand made one.
4874 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
4875 i?86 requirement. Remove variables srcfile and binfile. New variable
4876 sources, executable_nofb and executable_fb. Call prepare_for_testing.
4877
f2c7657e
UW
48782010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4879
4880 * gdb.cell/dwarfaddr.exp: New file.
4881 * gdb.cell/dwarfaddr.S: New file.
4882
628fe4e4
JK
48832010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4884
4885 Test PR 9436.
4886 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
4887
f1421989
HZ
48882010-06-24 Hui Zhu <teawater@gmail.com>
4889
4890 * gdb.base/eval.exp: New file.
4891
d03285ec
UW
48922010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4893
4894 * gdb.cell/fork.exp: New file.
4895 * gdb.cell/fork.c: Likewise.
4896 * gdb.cell/fork-spu.c: Likewise.
4897
41b2c92d
PM
48982010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
4899
4900 * lib/gdb.exp (banned_variables_traced): New global variable.
4901 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
4902 (gdb_init): Use `trace add variable' instead of obsolete
4903 `trace variable'.
4904
d5bc977f
DE
49052010-06-21 Doug Evans <dje@google.com>
4906
4907 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
4908
d2ed6730
UW
49092010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4910
4911 * gdb.arch/spu-ls.exp: New file.
4912 * gdb.arch/spu-ls.c: Likewise.
4913
6aed2dbc
SS
49142010-06-18 Stan Shebs <stan@codesourcery.com>
4915
4916 * gdb.threads/thread-specific.exp: Add tests of $_thread.
4917
e0756905
UW
49182010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4919
4920 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
4921 * gdb.base/watch-cond.exp: Likewise.
4922 * gdb.python/py-breakpoint.exp: Likewise.
4923
d8053d4d
PA
49242010-06-18 Pedro Alves <pedro@codesourcery.com>
4925
4926 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
4927 clean_restart, make sure every test has a distinct message, and
4928 that messages don't include the executable' full path.
4929
81ce510c
DE
49302010-06-17 Doug Evans <dje@google.com>
4931
4932 * gdb.arch/i386-size.exp: Updated expected output for
4933 DISASSEMBLY_OMIT_FNAME.
4934
65d79d4b
SDJ
49352010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4936 Sergio Durigan Junior <sergiodj@redhat.com>
4937
4938 * gdb.base/watch-notconst.c: New file.
4939 * gdb.base/watch-notconst.S: New file.
4940 * gdb.base/watch-notconst2.c: New file.
4941 * gdb.base/watch-notconst2.S: New file.
4942 * gdb.base/watch-notconst.exp: New file.
4943 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
4944 (func4): Add operations on `global_ptr_ptr'.
4945 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
4946 routine to test watchpoints created with a constant expression.
4947 (test_inaccessible_watchpoint): Include tests for watchpoints
4948 created with a constant expression.
4949
df0f4836
KB
49502010-06-14 Kevin Buettner <kevinb@redhat.com>
4951
4952 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
4953 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
4954 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
4955 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
4956 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
4957 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
4958 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
4959 of `_start'.
4960
b769def5
UW
49612010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4962
4963 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
4964 not supported on the target.
4965 * gdb.mi/mi-nonstop-exit.exp: Likewise.
4966 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
4967 * gdb.mi/mi-nsintrall.exp: Likewise.
4968 * gdb.mi/mi-nsmoribund.exp: Likewise.
4969 * gdb.mi/mi-nsthrexec.exp: Likewise.
4970
d914c394
SS
49712010-06-11 Stan Shebs <stan@codesourcery.com>
4972
4973 * gdb.base/permissions.exp: New file.
4974
49752010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
4976
4977 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
4978 does not support ELF executable class.
4979
f3ce5b9c
UW
49802010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4981
4982 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
4983
8e46892c
JK
49842010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4985
4986 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
4987 (runto): Catch "The target does not support running in non-stop mode.".
4988
6cc55c64
MS
49892010-06-11 Michael Snyder <msnyder@vmware.com>
4990
4991 * gdb.base/setshow.exp (set language asm): Don't use
4992 gdb_test_no_output, fails on some targets.
4993
caddefa4
UW
49942010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4995
4996 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
4997 * gdb.cp/pr9167.exp: Likewise.
4998
468b1aa7
UW
49992010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5000
5001 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
5002
5c3552dc
UW
50032010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5004
5005 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
5006
02e6fe6a
UW
50072010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5008
5009 * gdb.base/charset.c (main): Make sure malloc gets linked in.
5010
0e03807e
TT
50112010-06-11 Tom Tromey <tromey@redhat.com>
5012
5013 PR gdb/9977, PR exp/11636::
5014 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
5015 (pieces_test_f6): Update expected output.
5016
2bdf28a0
JK
50172010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5018
5019 * gdb.base/moribund-step.exp: New.
5020
f6978de9
MS
50212010-06-08 Michael Snyder <msnyder@vmware.com>
5022
5023 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
889bf7c5 5024 * gdb.ada/boolean_expr.exp:
f6978de9
MS
5025 * gdb.ada/frame_args.exp: Ditto.
5026 * gdb.ada/lang_switch.exp: Ditto.
5027 * gdb.ada/ptype_arith_binop.exp: Ditto.
5028 * gdb.ada/ref_param.exp: Ditto.
5029 * gdb.ada/type_coercion.exp:Ditto.
5030
5031 * gdb.asm/asm-source.exp: Ditto.
5032
5033 * gdb.base/attach.exp: Ditto.
5034 * gdb.base/bitfields2.exp: Ditto.
5035 * gdb.base/call-signal-resume.exp: Ditto.
5036 * gdb.base/callfuncs.exp: Ditto.
5037 * gdb.base/commands.exp: Ditto.
5038 * gdb.base/dbx.exp: Ditto.
5039 * gdb.base/default.exp: Ditto.
5040 * gdb.base/dump.exp: Ditto.
5041 * gdb.base/exprs.exp: Ditto.
5042 * gdb.base/freebpcmd.exp: Ditto.
5043 * gdb.base/interrupt.exp: Ditto.
5044 * gdb.base/list.exp: Ditto.
5045 * gdb.base/long_long.exp: Ditto.
5046 * gdb.base/maint.exp: Ditto.
5047 * gdb.base/ptype.exp: Ditto.
5048 * gdb.base/return.exp: Ditto.
5049 * gdb.base/setshow.exp: Ditto.
5050 * gdb.base/sigbpt.exp: Ditto.
5051 * gdb.base/sigrepeat.exp: Ditto.
5052
5053 * gdb.cp/classes.exp: Ditto.
5054
5055 * gdb.dwarf2/dw2-restore.exp: Ditto.
5056
5057 * gdb.gdb/selftest.exp: Ditto.
5058
5059 * gdb.multi/base.exp: Ditto.
5060 * gdb.multi/bkpt-multi-exec.exp: Ditto.
5061
5062 * gdb.python/py-block.exp: Ditto.
5063 * gdb.python/py-prettyprint.exp: Ditto.
5064 * gdb.python/py-template.exp: Ditto.
5065
5066 * gdb.server/ext-attach.exp: Ditto.
5067 * gdb.server/ext-run.exp: Ditto.
5068 * gdb.server/server-mon.exp: Ditto.
5069
5070 * gdb.threads/fork-thread-pending.exp: Ditto.
5071 * gdb.threads/hand-call-in-threads.exp: Ditto.
5072 * gdb.threads/interrupted-hand-call.exp: Ditto.
5073 * gdb.threads/linux-dp.exp: Ditto.
5074 * gdb.threads/manythreads.exp: Ditto.
5075 * gdb.threads/print-threads.exp: Ditto.
5076 * gdb.threads/pthreads.exp: Ditto.
5077 * gdb.threads/schedlock.exp: Ditto.
5078 * gdb.threads/thread-unwindonsignal.exp: Ditto.
5079 * gdb.threads/threadapply.exp: Ditto.
5080
de7ff789
MS
50812010-06-08 Michael Snyder <msnyder@vmware.com>
5082
889bf7c5 5083 * gdb.ada/exec_changed.exp:
de7ff789
MS
5084 Use ".*" instead of "" as wildcard regexp.
5085
5086 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
5087 * gdb.base/call-ar-st.exp: Ditto.
5088 * gdb.base/checkpoint.exp: Ditto.
5089 * gdb.base/default.exp: Ditto.
5090 * gdb.base/dump.exp: Ditto.
5091 * gdb.base/ending-run.exp: Ditto.
5092 * gdb.base/fileio.exp: Ditto.
5093 * gdb.base/miscexprs.exp: Ditto.
5094 * gdb.base/pointers.exp: Ditto.
5095 * gdb.base/readline.exp: Ditto.
5096 * gdb.base/reread.exp: Ditto.
5097 * gdb.base/restore.exp: Ditto.
5098 * gdb.base/shlib-call.exp: Ditto.
5099 * gdb.base/valgrind-db-attach.exp: Ditto.
5100 * gdb.base/volatile.exp: Ditto.
5101 * gdb.base/watchpoints.exp: Ditto.
5102
5103 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
5104
5105 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
5106 * gdb.python/py-value.exp: Ditto.
5107
5108 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
5109 * gdb.trace/circ.exp: Ditto.
5110 * gdb.trace/collection.exp: Ditto.
5111 * gdb.trace/packetlen.exp: Ditto.
5112 * gdb.trace/passc-dyn.exp: Ditto.
5113 * gdb.trace/report.exp: Ditto.
5114 * gdb.trace/tfile.exp: Ditto.
5115 * gdb.trace/tfind.exp: Ditto.
5116 * gdb.trace/while-dyn.exp: Ditto.
5117
3bebe2f2
JK
51182010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5119
5120 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
5121
5c631832
JK
51222010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5123
5124 Test PR 10640.
5125 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
5126
4c3376c8
SW
51272010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
5128
5129 * gdb.cp/koenig.exp: Test for ADL operators.
5130 * gdb.cp/koenig.cc: Added ADL operators.
5131 * gdb.cp/operator.exp: New test.
5132 * gdb.cp/operator.cc: New test.
5133
dc226d5a
MS
51342010-06-04 Michael Snyder <msnyder@vmware.com>
5135
dfb88a23
MS
5136 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
5137 * gdb.base/pending.exp: Ditto.
f7ae76b3 5138
dc226d5a
MS
5139 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
5140
967cf477
DE
51412010-06-04 Doug Evans <dje@google.com>
5142
5143 * gdb.python/py-prettyprint.exp: Add new test for enabled and
5144 disabled printers.
5145 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
5146 (enable_lookup_function): New function.
5147
eb801841
TT
51482010-06-04 Tom Tromey <tromey@redhat.com>
5149
5150 * gdb.python/py-value.exp (test_value_hash): Don't test equality
5151 of hash and id.
5152
38979823
JK
51532010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5154
5155 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
5156 newline.
5157 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
5158 (empty verbose non-noisy clear, empty verbose noisy clear)
5159 (empty non-verbose noisy clear): Likewise.
5160
35ec993f
MS
51612010-06-03 Michael Snyder <msnyder@vmware.com>
5162
5163 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
5164 * gdb.base/display.exp: Ditto.
5165 * gdb.base/find.exp: Ditto.
5166 * gdb.base/ifelse.exp: Ditto.
5167 * gdb.base/multi-forks.exp: Ditto.
5168 * gdb.base/recurse.exp: Ditto.
5169 * gdb.base/setshow.exp: Ditto.
5170 * gdb.base/value-double-free.exp: Ditto.
5171 * gdb.base/watch-vfork.exp: Ditto.
5172 * gdb.base/watch_thread_num.exp: Ditto.
5173 * gdb.base/watchpoint-solib.exp: Ditto.
5174 * gdb.base/watchpoint.exp: Ditto.
5175 * gdb.base/watchpoints.exp: Ditto.
5176
5177 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
5178 * gdb.cp/overload.exp: Ditto.
5179 * gdb.cp/virtfunc.exp: Ditto.
5180
5181 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
5182
889bf7c5 5183 * gdb.reverse/watch-precsave.exp:
35ec993f
MS
5184 Replace gdb_test with gdb_test_no_output.
5185
889bf7c5 5186 * gdb.threads/attach-into-signal.exp:
35ec993f
MS
5187 Replace gdb_test with gdb_test_no_output.
5188 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
5189 * gdb.threads/watchthreads.exp: Ditto.
5190 * gdb.threads/watchthreads2.exp: Ditto.
5191
5192 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
5193 * gdb.trace/tfind.exp: Ditto.
5194
c22decce
JB
51952010-06-03 Joel Brobecker <brobecker@adacore.com>
5196
5197 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
5198 successful test if message is the empty string.
5199
fd5700c7
JK
52002010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5201
5202 * gdb.fortran/module.exp (stopped language detection): New test.
5203
f55ee35c
JK
52042010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5205
5206 Support DW_TAG_module as separate namespaces.
5207 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
5208 gdb.fortran/library-module-lib.f90: New.
5209 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
5210 (print i): Remove.
5211 (continue to breakpoint: i-is-1, print var_i value 1)
5212 (continue to breakpoint: i-is-2, print var_i value 2)
5213 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
5214 (print var_d, print var_i value 14, ptype modmany, complete `modm)
5215 (complete `modmany, complete `modmany`, complete `modmany`var)
5216 (show language, setting breakpoint at module): New tests.
5217 * gdb.fortran/module.f90 (module mod): Remove.
5218 (module mod1, module mod2, module modmany, subroutine sub1)
5219 (subroutine sub2, program module): New.
5220
b8e8282f
JK
52212010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5222
5223 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
5224 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
5225 * gdb.cp/anon-union.exp (pass): Rename to ...
5226 (print z 2): ... here.
b8e8282f 5227
019ebafc
MS
52282010-06-02 Michael Snyder <msnyder@vmware.com>
5229
e68d8fd4
MS
5230 * gdb.trace/actions.exp: Use gdb_test_no_output.
5231 * gdb.trace/circ.exp: Ditto.
5232 * gdb.trace/packetlen.exp: Ditto.
5233 * gdb.trace/save-trace.exp: Ditto.
5234 * gdb.trace/tracecmd.exp: Ditto.
5235 * gdb.trace/tsv.exp: Ditto.
5236
12b5d08a
MS
5237 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
5238 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
5239 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
5240 * gdb.threads/manythreads.exp: Ditto.
5241 * gdb.threads/print-threads.exp: Ditto.
5242 * gdb.threads/pthreads.exp: Ditto.
5243 * gdb.threads/schedlock.exp: Ditto.
5244 * gdb.threads/staticthreads.exp: Ditto.
5245 * gdb.threads/thread-specific.exp: Ditto.
5246 * gdb.threads/thread-unwindonsignal.exp: Ditto.
5247 * gdb.threads/threadapply.exp: Ditto.
5248 * gdb.threads/watchthreads.exp: Ditto.
5249 * gdb.threads/watchthreads2.exp: Ditto.
5250
89493308
MS
5251 * gdb.python/py-block.exp: Use gdb_test_no_output.
5252 * gdb.python/py-prettyprint.exp: Ditto.
5253 * gdb.python/py-template.exp: Ditto.
5254 * gdb.python/py-value.exp: Ditto.
5255
5256 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
5257 * gdb.reverse/watch-reverse.exp: Ditto.
5258
5259 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
5260 * gdb.server/ext-run.exp: Ditto.
5261
019ebafc
MS
5262 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
5263 * gdb.dwarf2/dw2-compressed.exp: Ditto.
5264 * gdb.dwarf2/dw2-intercu.exp: Ditto.
5265 * gdb.dwarf2/dw2-intermix.exp: Ditto.
5266 * gdb.dwarf2/dw2-producer.exp: Ditto.
5267 * gdb.dwarf2/mac-fileno.exp: Ditto.
5268
5269 * gdb.gdb/observer.exp: Use gdb_test_no_output.
5270 * gdb.gdb/selftest.exp: Ditto.
5271
5272 * gdb.multi/base.exp: Use gdb_test_no_output.
5273
5274 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
5275
3e0ca3a5
JK
52762010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5277
5278 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
5279
9db70545
MS
52802010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
5281
a8d52276
MS
5282 * gdb.cp/class2.exp: Use gdb_test_no_output.
5283 * gdb.cp/classes.exp: Ditto.
5284 * gdb.cp/extern-c.exp: Ditto.
5285 * gdb.cp/inherit.exp: Ditto.
5286 * gdb.cp/maint.exp: Ditto.
5287 * gdb.cp/mb-inline.exp: Ditto.
5288 * gdb.cp/mb-templates.exp: Ditto.
5289 * gdb.cp/method2.exp: Ditto.
5290 * gdb.cp/misc.exp: Ditto.
5291 * gdb.cp/ovldbreak.exp: Ditto.
5292 * gdb.cp/punctuator.exp: Ditto.
5293 * gdb.cp/templates.exp: Ditto.
5294 * gdb.cp/virtbase.exp: Ditto.
5295
889bf7c5 5296 * gdb.threads/attach-stopped.exp:
9db70545 5297 Replace uses of send_gdb / gdb_expect.
889bf7c5 5298 * gdb.threads/attachstop-mt.exp:
9db70545 5299 Replace uses of send_gdb / gdb_expect.
889bf7c5 5300 * gdb.threads/gcore-thread.exp:
9db70545 5301 Replace uses of send_gdb / gdb_expect.
889bf7c5 5302 * gdb.threads/hand-call-in-threads.exp:
9db70545
MS
5303 Replace uses of send_gdb / gdb_expect.
5304 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 5305 * gdb.threads/print-threads.exp:
9db70545
MS
5306 Replace uses of send_gdb / gdb_expect.
5307 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
5308 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
5309 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
5310
5311 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
5312 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
5313 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
5314 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
5315 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
5316 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
5317 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
5318 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
5319 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
5320 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
5321 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
5322
359cc68c
JK
53232010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5324
5325 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
5326
7d3fe98e
SW
53272010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
5328
5329 * gdb.cp/koenig.exp: Added new test case.
5330 * gdb.cp/koenig.cc: Ditto.
5331
27d3a1a2
MS
53322010-06-01 Michael Snyder <msnyder@vmware.com>
5333
5334 * gdb.base/arithmet.exp: Use gdb_test_no_output.
5335 * gdb.base/arrayidx.exp: Ditto.
5336 * gdb.base/attach.exp: Ditto.
5337 * gdb.base/auxv.exp: Ditto.
5338 * gdb.base/bigcre.exp: Ditto.
5339 * gdb.base/break-always.exp: Ditto.
5340 * gdb.base/break-interp.exp: Ditto.
5341 * gdb.base/break.exp: Ditto.
5342 * gdb.base/breakpoint-shadow.exp: Ditto.
5343 * gdb.base/call-ar-st.exp: Ditto.
5344 * gdb.base/call-sc.exp: Ditto.
5345 * gdb.base/call-signal-resume.exp: Ditto.
5346 * gdb.base/callfuncs.exp: Ditto.
5347 * gdb.base/catch-syscall.exp: Ditto.
5348 * gdb.base/charset.exp: Ditto.
5349 * gdb.base/code-expr.exp: Ditto.
5350 * gdb.base/commands.exp: Ditto.
5351 * gdb.base/cond-expr.exp: Ditto.
5352 * gdb.base/condbreak.exp: Ditto.
5353 * gdb.base/cursal.exp: Ditto.
5354 * gdb.base/cvexpr.exp: Ditto.
5355 * gdb.base/default.exp: Ditto.
5356 * gdb.base/del.exp: Ditto.
5357 * gdb.base/detach.exp: Ditto.
5358 * gdb.base/display.exp: Ditto.
5359 * gdb.base/ena-dis-br.exp: Ditto.
5360 * gdb.base/eval-skip.exp: Ditto.
5361 * gdb.base/foll-fork.exp: Ditto.
5362 * gdb.base/foll-vfork.exp: Ditto.
5363 * gdb.base/frame-args.exp: Ditto.
5364 * gdb.base/funcargs.exp: Ditto.
5365 * gdb.base/gcore-buffer-overflow.exp: Ditto.
5366 * gdb.base/gdbvars.exp: Ditto.
5367 * gdb.base/help.exp: Ditto.
5368 * gdb.base/ifelse.exp: Ditto.
5369 * gdb.base/included.exp: Ditto.
5370 * gdb.base/list.exp: Ditto.
5371 * gdb.base/macscp.exp: Ditto.
5372 * gdb.base/maint.exp: Ditto.
5373 * gdb.base/multi-fork.exp: Ditto.
5374 * gdb.base/overlays.exp: Ditto.
5375 * gdb.base/page.exp: Ditto.
5376 * gdb.base/pending.exp: Ditto.
5377 * gdb.base/pointers.exp: Ditto.
5378 * gdb.base/pr11022.exp: Ditto.
5379 * gdb.base/prelink.exp: Ditto.
5380 * gdb.base/printcmds.exp: Ditto.
5381 * gdb.base/psymtab.exp: Ditto.
5382 * gdb.base/randomize.exp: Ditto.
5383 * gdb.base/relational.exp: Ditto.
5384 * gdb.base/relocate.exp: Ditto.
5385 * gdb.base/remote.exp: Ditto.
5386 * gdb.base/sepdebug.exp: Ditto.
5387 * gdb.base/set-lang-auto.exp: Ditto.
5388 * gdb.base/setshow.exp: Ditto.
5389 * gdb.base/setvar.exp: Ditto.
5390 * gdb.base/signals.exp: Ditto.
5391 * gdb.base/signull.exp: Ditto.
5392 * gdb.base/sigstep.exp: Ditto.
5393 * gdb.base/sizeof.exp: Ditto.
5394 * gdb.base/solib-disc.exp: Ditto.
5395 * gdb.base/store.exp: Ditto.
5396 * gdb.base/structs.exp: Ditto.
5397 * gdb.base/structs2.exp: Ditto.
5398 * gdb.base/subst.exp: Ditto.
5399 * gdb.base/term.exp: Ditto.
5400 * gdb.base/trace-commands.exp: Ditto.
5401 * gdb.base/unwindonsignal.exp: Ditto.
5402 * gdb.base/valgrind-db-attach.exp: Ditto.
5403 * gdb.base/varargs.exp: Ditto.
5404 * gdb.base/watch-cond.exp: Ditto.
5405 * gdb.base/watch_thread_num.exp: Ditto.
5406 * gdb.base/watchpoint-cond-gone.exp: Ditto.
5407 * gdb.base/watchpoint.exp: Ditto.
5408 * gdb.base/whatis-exp.exp: Ditto.
5409
f8d3bf8f
MS
54102010-06-01 Michael Snyder <msnyder@vmware.com>
5411
5412 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
5413 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
5414 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
5415 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
5416 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
5417 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
5418 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
5419 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
5420 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
5421 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
5422 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
5423 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
5424 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
5425 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
5426 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
5427
3f9e0d32
JK
54282010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5429
5430 * gdb.base/commands.exp (begin commands on watch): Remove excessive
5431 trailing newline.
5432 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
5433 * gdb.java/jmisc.exp (p *args\n): Rename to ...
5434 (p *args): ... here and remove excessive trailing newline.
5435
f629457d
JB
54362010-05-31 Joel Brobecker <brobecker@adacore.com>
5437
5438 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
5439
09eef106
JK
54402010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
5441
5442 Accept the new Linux kernel "t (tracing stop)" string.
5443 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
5444 Update comment.
5445 (state_wait) <T (tracing stop)>: New.
5446 (main): Update the state_wait expect string.
5447
94f31136
PA
54482010-05-28 Pedro Alves <pedro@codesourcery.com>
5449
5450 * limits.c, limits.exp: Delete files.
5451 * Makefile.in (clean mostlyclean): Adjust.
5452 * tracecmd.exp: Adjust.
5453
096554ab
JK
54542010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5455
5456 * gdb.base/tui-layout.exp: New.
5457
27d3a1a2 54582010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50 5459
889bf7c5 5460 * gdb.reverse/break-precsave.exp:
bcd2dc50 5461 Replace uses of send_gdb / gdb_expect.
889bf7c5 5462 * gdb.reverse/break-reverse.exp:
bcd2dc50 5463 Replace uses of send_gdb / gdb_expect.
889bf7c5 5464 * gdb.reverse/consecutive-precsave.exp:
bcd2dc50 5465 Replace uses of send_gdb / gdb_expect.
889bf7c5 5466 * gdb.reverse/consecutive-reverse.exp:
bcd2dc50 5467 Replace uses of send_gdb / gdb_expect.
889bf7c5 5468 * gdb.reverse/finish-precsave.exp:
bcd2dc50 5469 Replace uses of send_gdb / gdb_expect.
889bf7c5 5470 * gdb.reverse/finish-reverse.exp:
bcd2dc50 5471 Replace uses of send_gdb / gdb_expect.
889bf7c5 5472 * gdb.reverse/i386-precsave.exp:
bcd2dc50 5473 Replace uses of send_gdb / gdb_expect.
889bf7c5 5474 * gdb.reverse/i386-reverse.exp:
bcd2dc50 5475 Replace uses of send_gdb / gdb_expect.
889bf7c5 5476 * gdb.reverse/i386-sse-reverse.exp:
bcd2dc50 5477 Replace uses of send_gdb / gdb_expect.
889bf7c5 5478 * gdb.reverse/i387-env-reverse.exp:
bcd2dc50 5479 Replace uses of send_gdb / gdb_expect.
889bf7c5 5480 * gdb.reverse/i387-stack-reverse.exp:
bcd2dc50 5481 Replace uses of send_gdb / gdb_expect.
889bf7c5 5482 * gdb.reverse/machinestate-precsave.exp:
bcd2dc50 5483 Replace uses of send_gdb / gdb_expect.
889bf7c5 5484 * gdb.reverse/machinestate.exp:
bcd2dc50 5485 Replace uses of send_gdb / gdb_expect.
889bf7c5 5486 * gdb.reverse/sigall-precsave.exp:
bcd2dc50 5487 Replace uses of send_gdb / gdb_expect.
889bf7c5 5488 * gdb.reverse/sigall-reverse.exp:
bcd2dc50 5489 Replace uses of send_gdb / gdb_expect.
889bf7c5 5490 * gdb.reverse/solib-precsave.exp:
bcd2dc50 5491 Replace uses of send_gdb / gdb_expect.
889bf7c5 5492 * gdb.reverse/solib-reverse.exp:
bcd2dc50 5493 Replace uses of send_gdb / gdb_expect.
889bf7c5 5494 * gdb.reverse/step-precsave.exp:
bcd2dc50 5495 Replace uses of send_gdb / gdb_expect.
889bf7c5 5496 * gdb.reverse/step-reverse.exp:
bcd2dc50 5497 Replace uses of send_gdb / gdb_expect.
889bf7c5 5498 * gdb.reverse/until-precsave.exp:
bcd2dc50 5499 Replace uses of send_gdb / gdb_expect.
889bf7c5 5500 * gdb.reverse/until-reverse.exp:
bcd2dc50 5501 Replace uses of send_gdb / gdb_expect.
889bf7c5 5502 * gdb.reverse/watch-precsave.exp:
bcd2dc50 5503 Replace uses of send_gdb / gdb_expect.
889bf7c5 5504 * gdb.reverse/watch-reverse.exp:
bcd2dc50
MS
5505 Replace uses of send_gdb / gdb_expect.
5506
3def43e0
JK
55072010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5508
5509 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
5510 excessive newline.
5511
27d3a1a2 55122010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
5513
5514 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
5515 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
5516 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
5517 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
5518 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
5519 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
5520 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
5521 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
5522 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
5523 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
5524 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
5525 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
5526 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
5527 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
5528 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
5529 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
5530 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
5531 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
5532 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 5533
27d3a1a2 55342010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 5535
22454424
MS
5536 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
5537 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
5538
5539 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
5540 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
5541 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
5542
889bf7c5 5543 * gdb.reverse/consecutive-reverse.exp:
22454424 5544 Replace uses of send_gdb / gdb_expect.
889bf7c5 5545 * gdb.reverse/consecutive-precsave.exp:
22454424
MS
5546 Replace uses of send_gdb / gdb_expect.
5547
5548 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
5549 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
5550 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 5551 * gdb.mi/mi-ns-stale-regcache.exp:
22454424
MS
5552 Replace uses of send_gdb / gdb_expect.
5553 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
5554 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
5555 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
5556 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
5557 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
5558 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
5559 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
5560 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
5561 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
5562
55632010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 5564
22454424 5565 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 5566
22454424 5567 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 5568
22454424
MS
5569 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
5570 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
5571 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
5572 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
5573 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
5574 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
5575 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
5576 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
5577 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 5578
6e5f2c59
TT
55792010-05-25 Tom Tromey <tromey@redhat.com>
5580
5581 * gdb.base/macscp.exp: Add missing space after setup_kfail.
5582
bbc8b958
TT
55832010-05-25 Tom Tromey <tromey@redhat.com>
5584
5585 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
5586 argument order.
5587 * gdb.base/macscp.exp: Fix setup_kfail argument order.
5588 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
5589 order.
5590 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
5591 order.
5592 * gdb.base/call-sc.exp (setup_kfails): Remove.
5593 (setup_compiler_kfails): Remove.
5594 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
5595 argument order.
5596 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
5597 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
5598 (advancei): Fix setup_kfail argument order.
5599 * gdb.base/radix.exp: Fix setup_kfail argument order.
5600 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
5601 order.
5602 * gdb.base/structs.exp (setup_kfails): Remove.
5603 (setup_compiler_kfails): Fix setup_kfail argument order.
5604 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
5605 order.
5606 * gdb.java/jmain.exp: Fix setup_kfail argument order.
5607 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
5608 setup_kfail argument order.
5609 * gdb.cp/overload.exp: Fix setup_kfail argument order.
5610
83d1babf
TT
56112010-05-25 Tom Tromey <tromey@redhat.com>
5612
5613 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
5614
6acb16a2
MS
56152010-05-25 Michael Snyder <msnyder@vmware.com>
5616
5617 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
5618 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
5619 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
5620 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
5621 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
5622 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
5623 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
5624 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
5625 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
5626 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
5627 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
5628 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
5629 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
5630 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
5631 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
5632 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
5633 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
5634 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
5635 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
5636 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
5637 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
5638 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
5639 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
5640 * gdb.base/default.exp: Replace send_gdb with gdb_test.
5641 * gdb.base/define.exp: Replace send_gdb with gdb_test.
5642 * gdb.base/display.exp: Replace send_gdb with gdb_test.
5643 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
5644 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
5645 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
5646 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
5647 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
5648 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
5649 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
5650 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
5651 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
5652 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
5653 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
5654 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
5655 * gdb.base/help.exp: Replace send_gdb with gdb_test.
5656 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
5657 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
5658 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
5659 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
5660 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
5661 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
5662 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
5663 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 5664 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
5665
56662010-05-25 Doug Evans <dje@google.com>
5667
5668 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
5669 gdb.string_to_argv.
ad3986f0 5670
d3b1e874
TT
56712010-05-21 Tom Tromey <tromey@redhat.com>
5672
5673 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
5674 Call it.
5675 * gdb.dwarf2/pieces.S: Update.
5676 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
5677
cb826367
TT
56782010-05-21 Tom Tromey <tromey@redhat.com>
5679
5680 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
5681 Call it.
5682 * gdb.dwarf2/pieces.c (struct C): New.
5683 (f6): New function.
5684 * gdb.dwarf2/pieces.S: Replace.
5685
74de6778
TT
56862010-05-21 Tom Tromey <tromey@redhat.com>
5687
5688 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
5689 Call it.
5690
afd74c5f
TT
56912010-05-21 Tom Tromey <tromey@redhat.com>
5692
5693 * gdb.dwarf2.pieces.exp: New file.
5694 * gdb.dwarf2.pieces.S: New file.
5695 * gdb.dwarf2.pieces.c: New file.
5696
a7b75dfd 56972010-05-20 Pedro Alves <pedro@codesourcery.com>
889bf7c5 5698 Joel Brobecker <brobecker@adacore.com>
a7b75dfd
JB
5699
5700 * lib/gdb.exp (gdb_test_no_output): New function.
5701 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
5702 when testing commands that should produce no output.
5703
c81c812a
JB
57042010-05-17 Joel Brobecker <brobecker@adacore.com>
5705
5706 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
5707 parameter that we want to watch being a constant.
5708
0cce5bd9
JB
57092010-05-17 Joel Brobecker <brobecker@adacore.com>
5710
5711 * gdb.ada/cond_lang: New testcase.
5712
47050449
JB
57132010-05-17 Joel Brobecker <brobecker@adacore.com>
5714
5715 * lib/gdb.exp (banned_variables): New variable/constant.
5716 (gdb_init): Add write trace on variables listed in banned_variables.
5717 (gdb_finish): Remove write traces on variables listed in
5718 banned_variables.
5719
77c01586
JB
57202010-05-17 Joel Brobecker <brobecker@adacore.com>
5721
5722 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
5723 * gdb.cp/koenig.exp: Likewise.
5724
88d4aea7
PM
57252010-05-14 Phil Muldoon <pmuldoon@redhat.com>
5726
889bf7c5 5727 PR python/11482
88d4aea7
PM
5728
5729 * gdb.python/py-value.exp (test_value_hash): New function.
5730
f5a010c0
PM
57312010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
5732
5733 PR exp/11530.
5734 * gdb.base/gdb11530.c: New file.
5735 * gdb.base/gdb11530.exp: New file.
5736
8ef4892f
JK
57372010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5738
5739 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
5740 * gdb.dwarf2/dw2-modula2-self-type.S: New.
5741
7322dca9
SW
57422010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
5743
5744 * gdb.cp/koenig.exp: New test.
5745 * gdb.cp/koenig.cc: New test program.
5746
02e7ea18
JB
57472010-05-05 Joel Brobecker <brobecker@adacore.com>
5748
5749 Remove the use of prms_id and bug_id throughout the testsuite.
5750
e1c34c5d
PM
57512010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
5752
5753 PR exp/11349.
5754 * testsuite/gdb.cp/ref-types.exp: Add test to examine
5755 use a reference local variable.
5756
8e1d0c49
JK
57572010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5758
5759 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
5760 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
5761 variable different_dir. Move debugfile into a full directory pathname
5762 under DIFFERENT_DIR.
5763 * lib/gdb.exp (separate_debug_filename): Remove.
5764 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
5765 variable debug_dir and mkdir of it. Update function comments.
5766
e66408ed
PA
57672010-04-29 Pedro Alves <pedro@codesourcery.com>
5768
5769 PR gdb/11557
5770
5771 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
5772 files.
5773
d7b32ed3
PM
57742010-04-29 Phil Muldoon <pmuldoon@redhat.com>
5775
889bf7c5 5776 * gdb.python/py-param.exp: New File.
d7b32ed3 5777
6aecb9c2
JB
57782010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
5779
5780 * gdb.base/default.exp: Fix "set language" test.
5781
bdf92a1c
PM
57822010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
5783
5784 PR breakpoints/11531.
5785 * gdb.base/gdb11531.c: New file.
5786 * gdb.base/gdb11531.exp: New file.
5787
3f172e24
TT
57882010-04-26 Tom Tromey <tromey@redhat.com>
5789
5790 * gdb.base/completion.exp: Add tests for completion and deprecated
5791 commands.
5792
64af4c92
JK
57932010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5794
5795 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
5796 (print /x char_array): Escape curly brackets.
5797
492928e4
JK
57982010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5799
5800 Fix deadlock on looped list of loaded shared objects.
5801 * gdb.base/solib-corrupted.exp: New.
5802
66d09542
DE
58032010-04-23 Doug Evans <dje@google.com>
5804
5805 * gdb.python/py-section-script.c: New file.
5806 * gdb.python/py-section-script.exp: New file.
5807 * gdb.python/py-section-script.py: New file.
5808
8bd10a10
CM
58092010-04-20 Chris Moller <cmoller@redhat.com>
5810
5811 PR 10179
5812
5813 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
5814 * gdb.base/pr10179-a.c:
5815 * gdb.base/pr10179-b.c:
5816 * gdb.base/pr10179.exp: New files.
5817
c0201579
JK
58182010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5819
5820 Fix crashes on dangling display expressions.
5821 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
5822 is SEP.
5823 (lib_flags): Remove the "debug" keyword.
5824 (libsepdebug): New variable for iterating new loop.
5825 (save_pf_prefix): New variable wrapping the loop.
5826 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
5827 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
5828
793b0ff8
PM
58292010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
5830
5831 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
5832
097f51f7
PM
58332010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
5834
5835 PR stabs/11479.
5836 * gdb.stabs/gdb11479.exp: New file.
5837 * gdb.stabs/gdb11479.c: New file.
5838
9a22f0d0
PM
58392010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
5840
5841 * gdb.base/charset.c (Strin16, String32): New variables.
5842 * gdb.base/charset.exp (gdb_test): Test correct display
5843 of 16 or 32 bit strings.
5844
58452010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
5846
5847 PR 9167
5848 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
5849 * gdb.cp/pr9167.cc: New file.
5850 * gdb.cp/pr9167.exp: New file.
5851
5852
6e354e5e
PM
58532010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
5854
5855 PR pascal/11492.
5856 * gdb.pascal/gdb11492.pas: New file.
5857 * gdb.pascal/gdb11492.exp: New file.
5858
be942545
JB
58592010-04-20 Joel Brobecker <brobecker@adacore.com>
5860
1667e6e3 5861 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 5862
0c3acc09
JB
58632010-04-20 Joel Brobecker <brobecker@adacore.com>
5864
5865 * gdb.ada/dyn_loc: New testcase.
5866
ec31cde5
CM
58672010-04-20 Chris Moller <cmoller@redhat.com>
5868
5869 PR 10867
889bf7c5 5870
ec31cde5
CM
5871 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
5872 * gdb.cp/pr10687.cc: New file.
5873 * gdb.cp/pr10687.exp: New file.
5874
5875
ce4b0682
SDJ
58762010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5877 Sergio Durigan Junior <sergiodj@redhat.com>
5878
5879 * gdb.fortran/logical.exp: New testcase.
5880 * gdb.fortran/logical.f90: New file.
5881
3436961f
DE
58822010-04-19 Doug Evans <dje@google.com>
5883
5884 * gdb.base/help.exp (help source): Update expected output.
5885
4d836c09
JK
58862010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5887
5888 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
5889 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
5890 gdb_exit and return.
5891 (executable): New variable.
5892 (binfile): Use it.
5893
6149aea9
PA
58942010-04-19 Pedro Alves <pedro@codesourcery.com>
5895
5896 PR breakpoints/8554.
5897
5898 * gdb.trace/save-trace.exp: Adjust.
5899
ed41462c
L
59002010-04-17 H.J. Lu <hongjiu.lu@intel.com>
5901
5902 PR corefiles/11511
5903 * gdb.arch/system-gcore.exp: New.
5904 * gdb.arch/gcore.c: Likewise.
5905
3f7b2faa
DE
59062010-04-15 Doug Evans <dje@google.com>
5907
fa33c3cd
DE
5908 * gdb.python/py-progspace.c: New file.
5909 * gdb.python/py-progspace.exp: New file.
5910
3f7b2faa
DE
5911 * gdb.base/source.exp: Add tests for "source -s".
5912
79f283fe
PM
59132010-04-14 Phil Muldoon <pmuldoon@redhat.com>
5914
5915 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
5916 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
5917 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
5918 * gdb.python/py-mi.exp: New test for to_string returning None.
5919
fc8eb08a
PM
59202010-04-12 Phil Muldoon <pmuldoon@redhat.com>
5921
5922 * gdb.python/py-breakpoint.c: Make result global.
5923
26e197f6
JK
59242010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5925
5926 Fix non-GNU make compatibility.
5927 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
5928
adc36818
PM
59292010-04-09 Phil Muldoon <pmuldoon@redhat.com>
5930
5931 * gdb.python/py-breakpoint.exp: New File.
5932 * gdb.python/py-breakpoint.C: Ditto.
5933
64e17368
SS
59342010-04-08 Stan Shebs <stan@codesourcery.com>
5935
5936 * gdb.trace/actions.exp: Clear default-collect.
5937 * gdb.trace/save-trace.exp: Clear default-collect.
5938
fff5cc64
PM
59392010-04-08 Phil Muldoon <pmuldoon@redhat.com>
5940
5941 * gdb.python/py-value: Add null string variable.
5942 (test_lazy_string): Test zero length, NULL address lazy
5943 strings.
5944
a055a187
L
59452010-04-07 H.J. Lu <hongjiu.lu@intel.com>
5946
5947 * gdb.arch/i386-avx.c: New.
5948 * gdb.arch/i386-avx.exp: Likewise.
5949
5950 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
5951
96e39866
DE
59522010-04-06 Doug Evans <dje@google.com>
5953
5954 * gdb.base/source-test.gdb: New file.
5955 * gdb.base/source.exp: Test source -v.
5956
5984a431
UW
59572010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5958
5959 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
5960
ec8a089a
PM
59612010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
5962
5963 * gdb.stabs/aout.sed: Convert all backslash to double backslash
5964 within one line, unless it is followed by a double quote.
5965 * gdb.stabs/hppa.sed: Idem.
5966 * gdb.stabs/weird.def: Add char and String constants
889bf7c5
PA
5967 * gdb.stabs/weird.exp: Check for correct parsing of
5968 char and string constants.
ec8a089a
PM
5969 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
5970 in .stabs to .stabx substitution.
5971
fce3c1f0
SS
59722010-04-05 Stan Shebs <stan@codesourcery.com>
5973
5974 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
5975 constant global.
5976 * gdb.trace/tfile.exp: Try to print them.
5977
d77f58be
SS
59782010-04-04 Stan Shebs <stan@codesourcery.com>
5979
5980 * gdb.base/completion.exp: Update for new "info watchpoints".
5981 * gdb.base/default.exp: Ditto.
5982 * gdb.base/help.exp: Ditto.
5983 * gdb.base/watchpoint.exp: Ditto.
5984 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
889bf7c5 5985
af54718e
SS
59862010-04-04 Stan Shebs <stan@codesourcery.com>
5987
5988 * gdb.trace/tfile.exp: Sharpen tfind test.
5989
74d1f91e
JK
59902010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5991
5992 * gdb.base/break-entry.exp: New.
5993
eb8e76db 59942010-04-02 Hui Zhu <teawater@gmail.com>
889bf7c5 5995 Michael Snyder <msnyder@vmware.com>
eb8e76db
HZ
5996
5997 * gdb.reverse/i386-sse-reverse.exp: New file.
5998 * gdb.reverse/i386-sse-reverse.c: New file.
5999
bf65cad8
PA
60002010-04-02 Pedro Alves <pedro@codesourcery.com>
6001
6002 * gdb.trace/tfind.exp: Adjust expected disassembly output.
6003
fff87407
SS
60042010-04-01 Stan Shebs <stan@codesourcery.com>
6005
6006 * gdb.trace/actions.exp: Tweak expected output.
6007 * gdb.trace/while-stepping.exp: Tweak expected output.
6008
fe01d668
L
60092010-04-01 H.J. Lu <hongjiu.lu@intel.com>
6010
6011 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
6012
86b17b60
PA
60132010-04-01 Pedro Alves <pedro@codesourcery.com>
6014
6015 * gdb.base/commands.exp: Adjust.
6016 * gdb.cp/extern-c.exp: Adjust.
6017
2c58c0a9
PA
60182010-04-01 Pedro Alves <pedro@codesourcery.com>
6019
6020 * gdb.trace/collection.c (local_test_func): Define a local struct,
6021 and instanciate it.
6022
0db9b91c
PA
60232010-04-01 Pedro Alves <pedro@codesourcery.com>
6024
6025 * gdb.trace/collection.exp (gdb_collect_args_test)
6026 (gdb_collect_argarray_test): XFAIL the tests that assume the
6027 argarray argument's elements are collected.
6028
8072405b
JK
60292010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
6030
6031 * gdb.dwarf2/dw2-bad-parameter-type.exp,
6032 gdb.dwarf2/dw2-bad-parameter-type.S: New.
6033
8bf6485c
SS
60342010-03-31 Stan Shebs <stan@codesourcery.com>
6035
6036 * gdb.trace/save-trace.exp: Test save/restore of default-collect
6037 and tracepoint conditionals.
6038 (gdb_verify_tracepoints): Delete unused return.
6039
fd7f724a
KS
60402010-03-26 Keith Seitz <keiths@redhat.com>
6041
6042 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
6043 appear in the output before main.
6044 Remove KFAIL for gdb/2215 aka bz 9320.
6045
8d9e7719
DE
60462010-03-30 Doug Evans <dje@google.com>
6047
0906dd0b
DE
6048 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
6049 by dejagnu.
6050 * gdb.arch/amd64-dword.exp: Ditto.
6051
8d9e7719
DE
6052 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
6053 match.
6054 (break printf): Ditto.
6055
1da644f0
SW
60562010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
6057
6058 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
6059 gcc < 4.4.
6060 * gdb.cp/shadow.exp: Ditto.
6061
a8121990
PA
60622010-03-29 Pedro Alves <pedro@codesourcery.com>
6063
6064 * gdb.trace/collection.exp (run_trace_experiment): Make sure
6065 "tstart" is silent.
6066
6e79d367
PA
60672010-03-29 Pedro Alves <pedro@codesourcery.com>
6068
6069 * gdb.trace/collection.exp (executable): New.
6070 (binfile): Use it.
6071 (fpreg, spreg, pcreg): New.
6072 (test_register): Use gdb_test_multiple. Pass /x to print.
6073 (prepare_for_trace_test): New.
6074 (run_trace_experiment): Use "continue", not gdb_run_cmd.
6075 (gdb_collect_args_test, gdb_collect_argstruct_test)
6076 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
6077 prepare_for_trace_test.
6078 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
6079 fpreg, spreg and pcreg.
6080 (gdb_collect_expression_test, gdb_collect_globals_test): Use
6081 prepare_for_trace_test.
6082 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
6083 try to detect tracing support here. Don't set breakpoints at
6084 `begin' or `end' here.
6085 <global scope>: Use clean_restart. Run to main before checking
6086 for tracing support. Check for for tracing support here.
6087
09248348
JK
60882010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6089
6090 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
6091 " as $displacement" to "seen displacement message".
6092
d350db38
PA
60932010-03-28 Pedro Alves <pedro@codesourcery.com>
6094
6095 * gdb.trace/while-dyn.exp (executable): New variable.
6096 (binfile): Use it.
6097 (test_while_stepping): New function. Move most tests here. Call
6098 it once for each of the while-stepping, stepping and ws aliases.
6099
907af001
UW
61002010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6101
6102 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
6103 that do not provide the tagless_struct type name at all.
6104 (test_print_anon_union): Do not check value of uninitialized
6105 union member. Do not use cp_test_ptype_class, so we can accept
6106 "long" as well as "long int".
6107
610197fd
PA
61082010-03-26 Pedro Alves <pedro@codesourcery.com>
6109
6110 * gdb.trace/tfile.c (tohex, bin2hex): New.
6111 (write_error_trace_file): Hexify error description.
6112
6c28cbf2
SS
61132010-03-25 Stan Shebs <stan@codesourcery.com>
6114
6115 * gdb.trace/tfile.c: Generate an additional trace file, improve
6116 portability.
6117 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
6118 files in a better way.
6119
e62b8c7e
KS
61202010-03-25 Keith Seitz <keiths@redhat.com>
6121
6122 * gdb.java/jprint.exp: XFAIL printing of static class members
6123 because of GCC debuginfo problem.
6124
82ccf5a5
JK
61252010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6126
6127 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
6128
293e2f9e
DJ
61292010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
6130
6131 * gdb.base/completion.exp: Allow long instead of long int.
6132 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
6133 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
6134 variable p.
6135 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
6136 * gdb.base/pointers.exp: Allow long instead of long int.
6137 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
6138 * gdb.base/step-line.exp: Allow a directory before the source file name.
6139
95a42b64
TT
61402010-03-24 Tom Tromey <tromey@redhat.com>
6141
6142 PR breakpoints/9352:
6143 * gdb.base/default.exp: Update.
6144 * gdb.base/commands.exp: Update.
6145 * gdb.cp/extern-c.exp: Test setting commands on multiple
6146 breakpoints at once.
6147
2390201f
DJ
61482010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
6149
6150 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
6151 if gdb,nosignals.
6152 * gdb.base/watchpoints.c: Do not include unnecessary headers.
6153 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
6154 exited".
6155
8c9a6790
SS
61562010-03-24 Stan Shebs <stan@codesourcery.com>
6157
6158 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
6159
a6c727b2
DJ
61602010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
6161
6162 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
6163 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
6164 argument. Handle "short" and "long".
6165 (Top level): Pass overprototyped output for old_fptr and xptr.
6166
4dfd5423
PA
61672010-03-23 Pedro Alves <pedro@codesourcery.com>
6168
6169 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
6170 format strings and add casts to avoid compiler warnings.
6171
61722010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
6173
6174 * lib/trace-support.exp (gdb_trace_setactions):
6175 Don't expect whitespace after ">" prompt.
6176 * gdb.trace/actions.exp: Adjust for output changes.
6177 * gdb.trace/while-stepping.exp: Likewise.
6178
c847d045
JK
61792010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6180
6181 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
6182 and r157645).
6183
5f717f1d
JK
61842010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6185
6186 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
6187 New.
6188
7d6d51d5
DJ
61892010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
6190
6191 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
6192 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
6193
3b11a015
SS
61942010-03-19 Stan Shebs <stan@codesourcery.com>
6195
6196 * gdb.trace/ax.exp: New file.
6197
d7d158ed
DE
61982010-03-19 Doug Evans <dje@google.com>
6199
6bb85cd1
DE
6200 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
6201 output from gcc.
6202
d7d158ed
DE
6203 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
6204 named /usr/sbin/prelink<foo>.
6205
4daf5ac0
SS
62062010-03-18 Stan Shebs <stan@codesourcery.com>
6207
6208 * gdb.trace/circ.exp: Test circular-trace-buffer.
6209 * gdb.trace/tfile.exp: Update tstatus test.
6210
e8d05480
JB
62112010-03-18 Joel Brobecker <brobecker@adacore.com>
6212
6213 * gdb.dwarf2/dw2-anonymous-func.S: New file.
6214 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
6215
441b986a
UW
62162010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6217
6218 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
6219
4247603b
PA
62202010-03-18 Pedro Alves <pedro@codesourcery.com>
6221
6222 * gdb.base/default.exp: Adjust the expected output of the finish
6223 and until commands when the inferior is not being run.
6224
13387711
SW
62252010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
6226
6227 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
6228 * gdb.cp/nsusing.exp: Ditto.
6229
6e31430b
TT
62302010-03-15 Tom Tromey <tromey@redhat.com>
6231
6232 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
6233 * gdb.cp/userdef.cc (operator==): New function.
6234 (main): New locals mem1, mem2.
6235
e2d69cb5
JZ
62362010-03-15 Jie Zhang <jie@codesourcery.com>
6237
6238 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
6239 Declare and use new loadtimeout variable.
6240
f572f0a9
DJ
62412010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
6242
6243 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
6244 Use gdb_load later.
6245
51f4c0b0
PA
62462010-03-14 Pedro Alves <pedro@codesourcery.com>
6247
6248 * gdb.base/solib-disc.c (main): Make format of fprintf a string
6249 literal. Add missing endlines to prints to stderr.
6250
1c809c68
TT
62512010-03-12 Tom Tromey <tromey@redhat.com>
6252
6253 PR c++/9708:
6254 * gdb.cp/m-static.exp: Add regression test.
6255 * gdb.cp/m-static.cc (method): New method.
6256 (main): Call it.
6257
00ae8fef
SW
62582010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
6259
6260 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
6261 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
6262
759f0f0b
PA
62632010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
6264
21e24d21
PA
6265 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
6266
62672010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
6268
759f0f0b
PA
6269 * lib/gdb.exp (skip_stl_tests): New.
6270 (gdb_compile): Symbian needs -ldl.
6271 (shlib_target_file): New.
6272 (shlib_symbol_file): New.
6273 (gdb_load_shlibs): Use shlib_target_file.
6274 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
6275 * gdb.cp/exception.exp: Use skip_stl_tests.
6276 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
6277 * gdb.cp/try_catch.exp: Use skip_stl_tests.
6278 * gdb.cp/mb-templates.exp: Ditto.
6279 * gdb.base/commands.exp: Relax regexes.
6280 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
6281 shlib_target_file and shlib_symbol_file.
6282 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
6283 sections.
6284 * gdb.base/ending-run.exp: Accept E32Main for symbian.
6285 * gdb.base/solib-disc.exp: Use
6286 shlib_target_file and shlib_symbol_file.
6287 * gdb.base/unload.exp: Don't skip on symbian. Use
6288 shlib_target_file and shlib_symbol_file.
6289 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
6290
6a8f2671 62912010-03-12 Pedro Alves <pedro@codesourcery.com>
889bf7c5 6292
6a8f2671
PA
6293 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
6294 * gdb.trace/report.exp: Adjust for x86 and x86_64.
6295 Issue a tfind end before looking for a tracepoint frame.
6296 * gdb.trace/tfind.exp: Adjust tstatus output.
6297 Adjust disassembly output.
6298 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
6299
ccf26247
JK
63002010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6301
6302 * gdb.base/break-interp.exp: Create new displacement parameter value
6303 for the test_ld calls.
6304 (reach): New parameter displacement, verify its content. New push of
6305 pf_prefix "reach-$func:". Import global expect_out.
6306 (test_core): New parameter displacement, verify its content. New push
6307 of pf_prefix "core:". New command "set verbose on". Import global
6308 expect_out.
6309 (test_attach): New parameter displacement, verify its content. New
6310 push of pf_prefix "attach:". New command "set verbose on". Import
6311 global expect_out.
6312 (test_ld): New parameter displacement, pass it to the reach, test_core
6313 and test_attach calls and verify its content in the "ld.so exit" test.
6314 * gdb.base/prelink.exp: Remove gdb_exit and final return.
6315 (prelink): Update expected text, use gdb_test.
6316
e469c7fb
DE
63172010-03-10 Doug Evans <dje@google.com>
6318
6319 * gdb.base/checkpoint.exp: Fix comment.
6320 Lengthen timeout while doing >600 checkpoints test.
6321 Rename duplicate "kill all one" test to keep test names unique.
6322
60e1c644
PA
63232010-03-10 Pedro Alves <pedro@codesourcery.com>
6324
6325 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
6326
cec808ec
KS
63272010-03-08 Keith Seitz <keiths@redhat.com>
6328
889bf7c5
PA
6329 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
6330 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
6331 (dm_type_long): New function.
6332 (dm_type_unsigned_short): New function.
6333 (dm_type_unsigned_long): New function.
6334 (myint): New typedef.
6335 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
6336 long, unsigned shor and long, operator char*, and typedef.
6337 (test_lookup_operator_functions): Add operator char* test.
6338 (test_paddr_operator_functions): Likewise.
6339 (test_paddr_overloaded_functions): Use probe values for
6340 short, long, and unsigned short and long.
6341 (test_paddr_hairy_functions): If the demangler probe detected
6342 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
6343 demangler.
6344 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
6345 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
6346 and "print null_pmf".
6347 Add test "ptype a.*pmf".
6348 * gdb.cp/overload.exp: Allow optional "int" to appear with
6349 "short" and "long".
6350 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
6351 long expect value for men_overload1arg.
6352 Allow "int" to appear with "short" and "long".
6353 When testing "info break", add argument for main (void).
6354 Also allow "int" to appear with "short" and "long".
6355 Ditto with "unsigned" and "long long".
cec808ec
KS
6356 * gdb.java/jmain.exp: Do not enclose methods names in single
6357 quotes.
6358 * gdb.java/jmisc.exp: Likewise.
6359 * gdb.java/jprint.exp: Likewise.
6360 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
6361
6362 From Jan Kratochvil <jan.kratochvil@redhat.com>:
6363 * gdb.cp/exception.exp (backtrace after first throw)
6364 (backtrace after second throw): Allow a namespace before __cxa_throw.
6365 (backtrace after first catch, backtrace after second catch): Allow
6366 a namespace before __cxa_begin_catch.
6367
6368 * gdb.cp/cpexprs.exp: New file.
6369 * gdb.cp/cpexprs.cc: New file.
6370
6371 From Daniel Jacobowitz <dan@codesourcery.com>
6372 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
6373 to use string_to_regexp.
6374 (ctor, dtor): New functions. Use them to match constructor
6375 and destructor function types.
6376 (Top level): Use runto_main.
6377
f870a310
TT
63782010-03-05 Tom Tromey <tromey@redhat.com>
6379
6380 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
6381 gdb.target_charset.
6382 (pp_ns.to_string): Likewise.
6383
0c199f28
KS
63842010-03-04 Keith Seitz <keiths@redhat.com>
6385
6386 * gdb.cp/overload.exp: Test that the filename portion of a linespec
6387 can be quoted. Test that both the filename and function/line
6388 portions can be quoted at the same time.
6389
c7437ca6
PA
63902010-03-04 Pedro Alves <pedro@codesourcery.com>
6391
6392 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
6393
b111b805
DE
63942010-03-03 Doug Evans <dje@google.com>
6395
24486cb7
DE
6396 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
6397 libc contains libpthread.
6398
b111b805
DE
6399 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
6400 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
6401 of gdb_compile. Add another pattern to match android backtrace.
6402
a0e0ef55
TT
64032010-03-03 Tom Tromey <tromey@redhat.com>
6404
6405 PR gdb/11345:
6406 * gdb.base/printcmds.exp (test_printf): Add test.
6407
1ba53b71
L
64082010-03-02 H.J. Lu <hongjiu.lu@intel.com>
6409
6410 * gdb.arch/amd64-byte.exp: New.
6411 * gdb.arch/amd64-dword.exp: Likewise.
6412 * gdb.arch/amd64-pseudo.c: Likewise.
6413 * gdb.arch/amd64-word.exp: Likewise.
6414 * gdb.arch/i386-byte.exp: Likewise.
6415 * gdb.arch/i386-pseudo.c: Likewise.
6416 * gdb.arch/i386-word.exp: Likewise.
6417
f5dff777
DJ
64182010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
6419
6420 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
6421 types. Add structreg, bitfields, and flags registers.
6422 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
6423 registers.
6424
90884b2b
L
64252010-03-01 H.J. Lu <hongjiu.lu@intel.com>
6426
6427 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
6428 (load_description): Set architecture if defined.
6429
dc00d89f
PM
64302010-02-28 Phil Muldoon <pmuldoon@redhat.com>
6431
6432 * gdb.python/py-frame.exp: Add read_var block tests.
6433 * gdb.python/py-frame.c (block): New function.
6434
0e095b7e
JK
64352010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6436 Daniel Jacobowitz <dan@codesourcery.com>
6437
6438 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
6439
624f1a65
DM
64402010-02-25 David S. Miller <davem@davemloft.net>
6441
6442 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
6443 fix logic for setting all_syscalls_numbers.
6444
f3e9a817
PM
64452010-02-24 Phil Muldoon <pmuldoon@redhat.com>
6446
6447 * Makefile.in: Add py-block and py-symbol.
6448 * gdb.python/py-symbol.exp: New File.
6449 * gdb.python/py-symtab.exp: New File.
6450 * gdb.python/py-block.exp: New File.
6451 * gdb.python/py-symbol.c: New File.
6452 * gdb.python/py-block.c: New File.
6453
f6bbabf0
PM
64542010-02-24 Phil Muldoon <pmuldoon@redhat.com>
6455
6456 PR python/11314
6457 * lib/gdb.exp (skip_python_tests): New function.
6458 * gdb.python/py-cmd.exp: Use skip_python_tests.
6459 * gdb.python/py-frame.exp: Likewise.
6460 * gdb.python/py-function.exp: Likewise.
6461 * gdb.python/py-prettyprint.exp: Likewise.
6462 * gdb.python/py-template.exp: Likewise.
6463 * gdb.python/py-type.exp: Likewise.
6464 * gdb.python/py-value.exp: Likewise.
6465
85d721b8
PA
64662010-02-22 Pedro Alves <pedro@codesourcery.com>
6467
6468 PR9605
6469
6470 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
6471
48e32051
TT
64722010-02-19 Tom Tromey <tromey@redhat.com>
6473
6474 PR c++/8693, PR c++/9496:
6475 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
6476 regression tests.
6477
ac9c0048
JK
64782010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6479
6480 Fix compatibility with m68k as.
6481 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
6482 Use only /* comments */.
6483
57bb97a4
UW
64842010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6485
6486 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
6487 * configure: Regenerate.
6488
7d1bf85c
DJ
64892010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
6490
6491 * gdb.python/py-type.exp: Check for Python support.
6492
061b5285
PA
64932010-02-17 Pedro Alves <pedro@codesourcery.com>
6494
6495 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
6496 `regsub' syntax available.
6497
f8a8bc2c
PA
64982010-02-17 Pedro Alves <pedro@codesourcery.com>
6499
6500 * gdb.base/shmain.c (main): Remove printf call.
6501 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
6502 * gdb.base/unload.c (main): Make format of fprintf a string
6503 literal. Add missing endlines to prints to stderr.
6504 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
6505
6f451e5e
TT
65062010-02-17 Tom Tromey <tromey@redhat.com>
6507
6508 * gdb.java/jprint.java (jprint.props): New field.
6509 * gdb.java/jprint.exp (set_lang_java): Add regression test.
6510
12d79008
PA
65112010-02-17 Pedro Alves <pedro@codesourcery.com>
6512
ef801a0e 6513 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
6514 available.
6515
d252f7e5
DJ
65162010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6517
6518 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
6519 creation to support remote host testing.
6520
67bdab6c
DJ
65212010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6522
6523 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
6524 Recognize "command not found".
6525
bb391223
DJ
65262010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6527
6528 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
6529 single-stepping.
6530
70362913
DJ
65312010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6532
6533 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
6534 if arguments are not supported.
6535
493f3c00
DJ
65362010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6537
6538 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
6539 be const or non-const.
6540
8034c749
DJ
65412010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6542
6543 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
6544 mi_send_resuming_command to send -exec-continue.
6545
791dfb64
DJ
65462010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6547
6548 * gdb.base/list.exp (test_list_filename_and_function): Add test
6549 with single quotes.
6550 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
6551 matching.
6552 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
6553 Add KFAIL'd tests for PR gdb/11289.
6554
7c5fe868
DJ
65552010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6556
6557 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
6558
fdc498b8
DJ
65592010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6560
6561 * gdb.base/comp-dir/subdir/dummy.txt: New file.
6562 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
6563 a temporary directory.
6564
b519e2a6
DJ
65652010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6566
6567 * gdb.base/charset.exp: Use a single regular expression to match
6568 show host-charset and show target-charset output.
6569
74164c56
JK
65702010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6571
6572 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
6573 "Illegal process-id" expect string more exact.
6574 (attach to digits-starting nonsense is prohibited): New.
6575
701ed6dc
JK
65762010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6577
6578 * gdb.base/prelink.exp (set verbose on): New.
6579
889bf7c5 65802010-02-12 Tomas Holmberg <th@virtutech.com>
fa19b4e5
MS
6581
6582 * mi-reverse.exp: New file. Test for reverse option to the
6583 following MI commands: exec-continue, exec-finish, exec-next,
6584 exec-step, exec-next-instruction, exec-step-instruction.
889bf7c5 6585
dadf0e9c
JB
65862010-02-09 Joel Brobecker <brobecker@adacore.com>
6587
6588 * gdb.ada/ptype_tagged_param: New testcase.
6589
714f19d5
TT
65902010-02-08 Tom Tromey <tromey@redhat.com>
6591
6592 PR c++/8017:
6593 * gdb.cp/overload.exp: Add tests.
6594 * gdb.cp/overload.cc (struct K): New.
6595 (namespace N): New.
6596 (main): Call new functions.
6597 (K::staticoverload): Define.
6598
889bf7c5 65992010-02-08 Chris Moller <moller@mollerware.com>
83b10087
CM
6600
6601 PR gdb/10728
6602 * gdb.cp/pr10728-x.h: New file.
6603 * gdb.cp/pr10728-x.cc: New file.
6604 * gdb.cp/pr10728-y.cc: New file.
6605 * gdb.cp/pr10728.exp: New file.
6606 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
6607
889bf7c5 66082010-02-08 Chris Moller <moller@mollerware.com>
99903ae3
CM
6609
6610 PR gdb/9067
6611 * gdb.cp/pr9067.exp: New
6612 * gdb.cp/pr9067.cc: New
6613 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
6614
7b356089
JB
66152010-02-08 Joel Brobecker <brobecker@adacore.com>
6616
6617 * lib/gdb.exp (gdb_test_timeout): New global variable.
6618 Set it to timeout if not already set.
6619 (gdb_init): Reset the value of timeout to gdb_test_timeout.
6620
1be00882
DE
66212010-02-05 Doug Evans <dje@google.com>
6622
6623 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
6624 user.
6625
82856980
SW
66262010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
6627
6628 PR c++/7935:
6629 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
6630
1a334831
TT
66312010-02-04 Tom Tromey <tromey@redhat.com>
6632
6633 * gdb.cp/virtbase.exp: Make test case names unique.
6634
9c3c02fd
TT
66352010-02-02 Tom Tromey <tromey@redhat.com>
6636
6637 * gdb.cp/virtbase.exp: Add regression tests.
6638 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
6639 (main): Instantiate RHC.
6640
0cc2414c
TT
66412010-02-02 Tom Tromey <tromey@redhat.com>
6642
6643 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
6644 type-printing change.
6645
edf3d5f3
TT
66462010-02-02 Tom Tromey <tromey@redhat.com>
6647
6648 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
6649 * gdb.cp/virtbase.cc: New file.
6650 * gdb.cp/virtbase.exp: New file.
6651 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
6652
e4b7f41c
JK
66532010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6654
6655 PR libc/11214:
6656 * gdb.threads/current-lwp-dead.c: Include features.h.
6657 (HAS_NOMMU): New.
6658 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
6659
b381ea14
JK
66602010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6661
6662 * gdb.base/symbol-without-target_section.exp,
6663 gdb.base/symbol-without-target_section.c: New.
6664
c593ac0e
DJ
66652010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
6666
6667 * gdb.base/bigcore.exp: Reset increased timeout.
6668 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
6669
db25f29d
DJ
66702010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
6671
6672 * gdb.base/gcore.exp (capture_command_output): Use
6673 gdb_test_multiple.
6674
f9d67f43
DJ
66752010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
6676
6677 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
6678 * gdb.arch/thumb2-it.exp (test_it_break): New function.
6679 (Top level): Call it.
6680
177321bd
DJ
66812010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
6682
6683 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
6684
97f2ed50
DJ
66852010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
6686
6687 * gdb.base/call-strs.exp, gdb.base/default.exp,
6688 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
6689 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
6690 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
6691 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
6692 gdb.base/watchpoint-solib.exp: Save and restore timeout.
6693 * gdb.base/ending-run.exp: Correct restore of timeout.
6694 * gdb.base/page.exp: Remove unnecessary timeout setting.
6695
e4e2711a
JB
66962010-01-29 Joel Brobecker <brobecker@adacore.com>
6697
6698 * gdb.ada/rec_return: New testcase.
6699
ba581dc1
JB
67002010-01-29 Joel Brobecker <brobecker@adacore.com>
6701
6702 * gdb.ada/call_pn: New testcase.
6703
4ea95be9
DJ
67042010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
6705
6706 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
6707 (Top level): Use it to resume.
6708 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
6709 the Thumb mode displaced stepping error as unsupported.
6710
df83a9bf
SW
67112010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
6712
889bf7c5
PA
6713 * gdb.cp/nsusing.exp: Added more tests.
6714 * gdb.cp/nsrecurs.exp: Ditto.
6715 * gdb.cp/nsusing.cc: Added test functions.
6716 * gdb.cp/nsrecurs.cc: Ditto.
df83a9bf 6717
40b27cdc
JK
67182010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6719
6720 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
6721 absolute directory pathnames in gdb.sum file.
6722
de958931
SW
67232010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
6724
6725 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
6726 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
6727
708ead4e
TT
67282010-01-26 Tom Tromey <tromey@redhat.com>
6729
6730 PR exp/7643:
6731 * gdb.base/printcmds.exp (test_print_string_constants): Remove
6732 setup_kfail.
6733
b14e635e
SW
67342010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
6735
6736 * gdb.cp/nsrecurs.exp: New test.
6737 * gdb.cp/nsrecurs.cc: New test program.
6738 * gdb.cp/nsstress.exp: New test.
6739 * gdb.cp/nsstress.cc: New test program.
6740 * gdb.cp/nsdecl.exp: New test.
6741 * gdb.cp/nsdecl.cc: New test program.
6742
8540c487
SW
67432010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
6744
6745 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
6746 imported into file scope.
6747 Marked test as xfail.
6748 * gdb.cp/namespace-using.cc (marker5): New function.
6749 * gdb.cp/shadow.exp: New test.
6750 * gdb.cp/shadow.cc: New test program.
6751 * gdb.cp/nsimport.exp: New test.
6752 * gdb.cp/nsimport.cc: New test program.
6753
421d5d99
TT
67542010-01-25 Tom Tromey <tromey@redhat.com>
6755
6756 PR gdb/11049:
6757 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
6758 with "set print null-stop on".
6759
691f8dc1
JK
67602010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6761
6762 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
6763 Adjust it for DISASSEMBLY_OMIT_FNAME.
6764
0b92b5bb
TT
67652010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6766
6767 PR symtab/11199:
6768 * gdb.dwarf2/member-ptr-forwardref.exp,
6769 gdb.dwarf2/member-ptr-forwardref.S: New.
6770
23787403
JK
67712010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6772
6773 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
6774 (thread1_func): Protect thread1_tid with thread1_tid_cond by
6775 thread1_tid_mutex. Remove gdbstop_mutex handling.
6776 (thread2_func): Protect thread2_tid with thread2_tid_cond by
6777 thread2_tid_mutex. Remove gdbstop_mutex handling.
6778 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
6779 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
6780 pthread_cond_wait conditionalizations by while loops.
6781
b966cb8a
TT
67822010-01-20 Tom Tromey <tromey@redhat.com>
6783
6784 PR backtrace/10770:
6785 * gdb.dwarf2/pr10770.exp: New file.
6786 * gdb.dwarf2/pr10770.c: New file.
6787 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
6788
fcae584b
VP
67892010-01-20 Vladimir Prus <vladimir@codesourcery.com>
6790
6791 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
6792 that target was removed, and the test always runs native anyway.
6793
a0f49112
JK
67942010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6795
6796 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
6797 gdb.base/watchpoint-cond-gone-stripped.c: New.
6798
ceeb3d5a
TT
67992010-01-19 Tom Tromey <tromey@redhat.com>
6800
6801 PR c++/8000:
6802 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
6803 existing tests.
6804 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
6805 (main): Use AAA::SomeEnum.
6806
dd322c54
JK
68072010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6808
6809 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
6810 (test_ignore_count): Declare line_callme_body global.
6811 (run to breakpoint with ignore count): Use line_callme_body.
6812 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
6813 (set line_main_hello, set line_main_return): Reindent.
6814 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
6815 New.
6816 (continue to callee4): Use line_callee4_body.
6817 (check *stopped from CLI command): Use line_callee4_next.
6818 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
6819 (set line_main_hello, set line_main_return): Reindent.
6820 (set line_callee4_head, set line_callee4_body): New.
6821 (continue to callee4): Use line_callee4_body.
6822
4e8f195d
TT
68232010-01-18 Tom Tromey <tromey@redhat.com>
6824
6825 PR c++/9680:
6826 * gdb.cp/casts.cc: Add new classes and variables.
6827 * gdb.cp/casts.exp: Test new operators.
6828
9e14a9ba
JB
68292010-01-18 Tom Tromey <tromey@redhat.com>
6830 Thiago Jung Bauermann <bauerman@br.ibm.com>
6831
6832 * gdb.python/source2.py: New file.
6833 * gdb.python/source1: New file.
6834 * gdb.python/python.exp: Test "source" command.
6835
00bf0b85
SS
68362010-01-15 Stan Shebs <stan@codesourcery.com>
6837
6838 * gdb.trace/tfile.c: New file.
6839 * gdb.trace/tfile.exp: New file.
889bf7c5 6840
55235ad7
JK
68412010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6842
6843 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
6844
9f2982ff
JK
68452010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6846
6847 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
6848
bbfba9ed
JK
68492010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6850
6851 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
6852 (libfunc): New parameter action. Implement also selectable "sleep".
6853 * gdb.base/break-interp-main.c: Include assert.h.
6854 (libfunc): New parameter action.
6855 (main): New parameters argc and argv. Assert argc. Pass argv.
6856 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
6857 (test_attach): New proc.
6858 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
6859 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
6860
61f0d762
JK
68612010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6862
6863 * gdb.base/break-interp.exp (test_core): New proc.
6864 (test_ld): Call it.
6865
06a6f270
JK
68662010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6867
6868 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
6869 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
6870 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
6871 and gdb_compile_shlib. Use new -Wl compiler options.
6872 (dl bt, main bt): New tests.
6873
51bee8e9
JK
68742010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6875
6876 Support PIEs with no symfile_objfile.
6877 * gdb.base/break-interp.exp: New argument at the test_ld calls.
6878 (test_ld): New parameter trynosym.
6879 (test_ld <$trynosym>): New block.
6880
b8040f19
JK
68812010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6882
6883 * gdb.base/break-interp.exp: New file.
6884
be759fcf
PM
68852010-01-13 Phil Muldoon <pmuldoon@redhat.com>
6886
6887 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
6888 * gdb.python/py-prettyprint.py (pp_ls): New printer.
6889 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
6890 test.
6891 * gdb.python/py-prettyprint.c: Define lazystring test structure.
6892 * gdb.python/py-mi.exp: Add lazy string test.
6893
dc146f7c
VP
68942010-01-13 Vladimir Prus <vladimir@codesourcery.com>
6895
6896 * lib/mi-support.exp (mi_check_thread_states): Handle
6897 core number in thread listing.
6898
b4ba55a1
JB
68992010-01-12 Joel Brobecker <brobecker@adacore.com>
6900
6901 * gdb.base/maint.exp: Adjust the expected output for the
6902 "maint print type" test. Use gdb_test_multiple instead of
6903 gdb_sent/gdb_expect.
6904
08e24bd4
DE
69052010-01-11 Doug Evans <dje@google.com>
6906
6496a609
DE
6907 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
6908 from gdbserver_download. All callers updated.
6909
08e24bd4
DE
6910 * gdb.server/ext-run.exp: "info os processes" requires xml support.
6911
b5cfddf5
JK
69122010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6913
6914 Implement binary numbers parsing.
6915 * gdb.base/printcmds.exp (test_integer_literals_accepted)
6916 (test_integer_literals_rejected): New binary tests.
6917
3725885a
RW
69182010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6919
6920 * gdb.cell/configure: Regenerate.
6921
37aeb5df
JK
69222010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6923
6924 * gdb.base/corefile.exp: Move the core finding block out and call it as
6925 core_find, new variable $corefile, replace corefile by $corefile and
6926 [file tail $corefile] for usage vs. test names resp.
6927 * lib/gdb.exp (core_find): Move it as a new function here. New
6928 parameter binfile and deletefiles. New variable $destcore. Pre-delete
6929 $destcore. Return "" on error.
6930
d521f563
JK
69312010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6932
6933 Workaround PR binutils/10802.
6934 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
6935 (twice).
6936
28f24826
DJ
69372010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
6938
6939 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
6940
2de75e71
JB
69412010-01-08 Joel Brobecker <brobecker@adacore.com>
6942
6943 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
6944 call, to avoid interruption.
6945
fe00719b 69462010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
6947
6948 * gdb.stabs/weird.def (args93): New.
6949
d0ef5df8
DE
69502010-01-07 Doug Evans <dje@google.com>
6951
6952 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
6953
3a08d52f
TT
69542010-01-07 Tom Tromey <tromey@redhat.com>
6955
6956 * gdb.base/source.exp: Use correct line number.
6957
7a697b8d
SS
69582010-01-05 Stan Shebs <stan@codesourcery.com>
6959
6960 * gdb.trace/tracecmd.exp: Test ftrace.
6961
7803799a
UW
69622010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6963
6964 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
6965
c54eabfa
JK
69662010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6967
6968 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
6969 "uint_for_mi_testing".
6970
02e7ef19
JB
69712010-01-01 Joel Brobecker <brobecker@adacore.com>
6972
6973 Test indented comment in file being sourced.
6974 * gdb.base/commands.exp: Test indented comment in file being sourced.
6975
abd775ce
JB
69762010-01-01 Joel Brobecker <brobecker@adacore.com>
6977
6978 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
6979 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
6980 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
6981 notice.
6982
79b55b82
JB
69832010-01-01 Joel Brobecker <brobecker@adacore.com>
6984
6985 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
6986 notice.
6987
8997583e
JK
69882010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6989
6990 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
6991 missing $after_stopped and comma (,) expectation.
6992
6da95a67
SS
69932009-12-31 Stan Shebs <stan@codesourcery.com>
6994
6995 * gdb.trace/actions.exp: Test teval action.
889bf7c5 6996
218d2fc6
TJB
69972009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
6998
6999 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
7000 (top level): Call test_watchpoint_in_big_blob.
7001 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
7002 watchpoints.
7003 (func3): Write to buf.
7004
236f1d4d
SS
70052009-12-29 Stan Shebs <stan@codesourcery.com>
7006
7007 * gdb.trace/actions.exp: Test default-collect.
889bf7c5 7008
f61e138d
SS
70092009-12-28 Stan Shebs <stan@codesourcery.com>
7010
7011 * gdb.trace/tsv.exp: New file.
7012 * gdb.base/completion.exp: Update ambiguous info output.
889bf7c5 7013
0219b378
DJ
70142009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
7015
7016 * gdb.base/find.c (main): Reference search buffers.
7017 * gdb.base/included.c (main): Reference integer.
7018 * gdb.base/ptype.c (charfoo): Declare.
7019 (intfoo): Call charfoo.
7020 * gdb.base/scope0.c (useitp): New function.
7021 (usestatics): Use useitp.
7022 (useit): Add a type for val.
7023 * gdb.base/scope1.c (useit1): Take a pointer argument.
7024 (usestatics1): Update calls to useit1.
7025 * gdb.cp/call-c.cc: Declare foo.
7026 (main): Call foo.
7027 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
7028 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
7029 (main): Call C::ensureRefs and ensureOtherRefs.
7030 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
7031 variables.
7032 (ensureOtherRefs): New function.
7033 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
7034 * gdb.cp/templates.cc (main): Call t5i.value.
7035
3f78692f
JK
70362009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7037
7038 Fix compatibility with G++-4.5.
7039 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
7040 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
7041 (uncaught return): Remove.
7042
429374b8
JK
70432009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7044 Phil Muldoon <pmuldoon@redhat.com>
7045
7046 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
7047 (bp_location13, bp_location14, bp_location17, bp_location18)
7048 (marker3_proto, marker4_proto): New variables.
7049 (breakpoint info): Update output.
7050 (run until breakpoint at marker3, run until breakpoint at marker4): New
7051 tests.
7052
859825b8
JK
70532009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7054
7055 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
7056 Replace the printf call of Y by provided "y-set-1" label. New block
7057 for the second shared library.
7058 * gdb.base/unload.exp: Compile also the second library, call
7059 gdb_load_shlibs also for it. Use now gdb_breakpoint.
7060 (single pending breakpoint info): Rename to ...
7061 (pending breakpoint info before run): ... this extended test.
7062 (libfile2, libname2, libsrcfile2, libsrc2)
7063 (lib_sl2): New variables.
7064 (exec_opts): Set also SHLIB_NAME2.
7065 (pending breakpoint info on first run at shrfunc1)
7066 (pending breakpoint info on second run at shrfunc1)
7067 (pending breakpoint info on second run at shrfunc2)
7068 (print y from libfile, print y from libfile2): New tests.
7069 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
7070 * gdb.base/unloadshr2.c: New.
7071
e6a386cd
HZ
70722009-12-22 Hui Zhu <teawater@gmail.com>
7073
7074 * gdb.reverse/sigall-reverse.exp: Adjust.
7075
9e19b45e
VP
70762009-12-21 Vladimir Prus <vladimir@codesourcery.com>
7077
7078 PR gdb/10884
7079
7080 * gdb.mi/var-cmd.c (do_bitfield_tests): New
7081 (main): Call do_bitfield_tests.
aacf5b1e 7082 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 7083
d53a7b30
JB
70842009-12-20 Joel Brobecker <brobecker@adacore.com>
7085
7086 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
7087 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
7088 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
7089 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
7090 gdb.modula2/unbounded1.c: Update copyright header.
7091
191ca0a1
CM
70922009-12-10 Chris Moller <moller@mollerware.com>
7093
7094 PR gdb/9399
7095 * gdb.cp/virtfunc2.exp: New tests
7096 * gdb.cp/virtfunc2.cc: New tests
7097 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
7098
0fa6cf1b
MS
70992009-12-10 Oza Pawandeep (paawan1982@yahoo.com
7100
7101 * gdb.reverse/i387-env-reverse.c: New file.
7102 * gdb.reverse/i387-env-reverse.exp: New file.
7103 * gdb.reverse/i387-stack-reverse.c: New file.
7104 * gdb.reverse/i387-stack-reverse.exp: New file.
7105
361ae042
PM
71062009-12-08 Phil Muldoon <pmuldoon@redhat.com>
7107
7108 * gdb.python/py-type.exp (test_range): New test.
7109
bfd31e71
PM
71102009-12-03 Phil Muldoon <pmuldoon@redhat.com>
7111
7112 PR python/10805
7113
7114 * gdb.python/py-type.exp: New file.
7115 * gdb.python/py-type.c: New file.
7116 * Makefile.in: Add py-type.
7117
57a1d736
TT
71182009-12-03 Tom Tromey <tromey@redhat.com>
7119
7120 * gdb.python/py-value.exp (test_parse_and_eval): New
7121 function.
7122
1f3b5d1b
PP
71232009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
7124
7125 PR gdb/11022
7126
7127 * gdb.base/pr11022.exp: New test.
889bf7c5
PA
7128 * gdb.base/pr11022.c: New test.
7129
8b7dbdc9
JK
71302009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7131
7132 Fix spurious false FAILs.
7133 * gdb.base/structs.c (chartest): New.
7134 (main): Fill-in chartest.
7135 * gdb.base/structs.exp (anychar_re, first): New.
7136 (start_structs_test): Import global anychar_re and first.
7137 New gdb_test call "set print elements 300; ${testfile}"
7138 (start_structs_test <$first>): New block.
7139 (any): Import global anychar_re. New variable ac. Use ${ac}.
7140
6a53b2ec
JK
71412009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7142
7143 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
7144
d7167b4c
JK
71452009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7146
7147 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
7148 Force $srcfile file.
7149 * gdb.base/foll-fork.c (callee): Comment out the printf call.
7150
b1798462
UW
71512009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7152
7153 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
7154 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
7155 * gdb.threads/watchthreads-reorder.exp: Likewise.
7156
b6199126
DJ
71572009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
7158
7159 PR gdb/8704
7160
7161 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
7162 "if", and "thread". Correct matching in the previous test.
7163
b22a0510
DJ
71642009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
7165
7166 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
7167
930636d2
MS
71682009-11-23 Michael Snyder <msnyder@vmware.com>
7169
7170 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
7171 * gdb.reverse-watch-precsave.exp: Ditto.
7172
21a0512e
PP
71732009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
7174
7175 * gdb.asm/asm-source.exp: Adjust.
7176 * gdb.base/help.exp: Adjust.
889bf7c5 7177
fc30d5e0
PA
71782009-11-22 Pedro Alves <pedro@codesourcery.com>
7179
7180 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
7181 (do_syscall_tests_without_xml): Set data-directory to
7182 /the/path/to/nowhere.
7183
f6bc2008
PA
71842009-11-21 Pedro Alves <pedro@codesourcery.com>
7185
7186 * gdb.threads/local-watch-wrong-thread.c,
7187 gdb.threads/local-watch-wrong-thread.exp: New files.
7188
8c2fb5de
PA
71892009-11-21 Pedro Alves <pedro@codesourcery.com>
7190
7191 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
7192 assume new `regsub' syntax available.
7193
ebec9a0f
PA
71942009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7195
a79d3c27
JK
7196 * gdb.base/watchpoint-hw-hit-once.exp,
7197 gdb.base/watchpoint-hw-hit-once.c: New.
7198
71992009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7200
7201 * gdb.threads/watchthreads-reorder.exp,
7202 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 7203
276a961b
MK
72042009-11-17 Nathan Sidwell <nathan@codesourcery.com>
7205
7206 * gdb.xml/tdesc-regs.exp: Use for m68k.
7207
4867c1fb
PA
72082009-11-15 Pedro Alves <pedro@codesourcery.com>
7209
7210 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
7211
f6838f81
DJ
72122009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7213
7214 * lib/gdb.exp (current_target_name): New procedure.
7215 (gdb_wrapper_target): New variable.
7216 (gdb_wrapper_init): Set gdb_wrapper_target.
7217 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
7218 wrapper.
7219
4ac4dd3f
DJ
72202009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7221
7222 * gdb.base/remote.exp: Delete the slowest load test.
7223 Do not load with fixed packet sizes.
7224
a7881759
DJ
72252009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7226
7227 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
7228
97a5b505
DJ
72292009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7230
7231 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
7232 srcfile when setting a breakpoint.
7233
d3e1fc54
DJ
72342009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
7235
7236 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
7237 macros.
7238
7cbcbded
DJ
72392009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7240
7241 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
7242 to be in memory.
7243 * gdb.base/display.c (force_mem): New.
7244 (do_loops): Use it. Add breakpoint comments.
7245 (do_vars): Add a breakpoint comment.
7246 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
7247 line numbers.
7248
bdea3a92
NF
72492009-11-13 Nathan Froyd <froydnj@codesourcery.com>
7250
7251 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
7252 instead of a bare "run".
7253
269f82e5
PP
72542009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
7255
7256 * gdb.python/py-prettyprint.exp: Adjust.
889bf7c5 7257
a69b7d9d
DJ
72582009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7259
7260 * lib/cell.exp (skip_cell_tests): Clean up test files before
7261 returning.
7262
b598bfda
DJ
72632009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7264
7265 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
7266 and the breakpoint menu. Do not call perror if a prompt is seen.
7267 Consume the following GDB prompt.
7268 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
7269 * gdb.cp/namespace.exp: Use gdb_test.
7270 * gdb.cp/templates.exp: Use gdb_test.
7271 (test_template_breakpoints): Use gdb_test_multiple.
7272
87728fa0
DJ
72732009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7274
7275 * gdb.base/break1.c (struct some_struct, values): Move earlier.
7276 (marker4): Reference values.
7277
b67c692f
DJ
72782009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7279
7280 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
7281 is missing.
7282
f0df251a
DJ
72832009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7284
7285 * gdb.base/break.c (need_malloc): New.
7286 * gdb.base/constvars.c (main): Reference crass and crisp.
7287 * gdb.base/gdb1821.c (main): Reference bar.
7288 * gdb.cp/gdb1355.cc (main): Reference s1.
7289 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
7290 (main): Call them.
7291 * gdb.cp/hang2.cc (dummy2): Define.
7292 * gdb.cp/hang3.cc (dummy3): Define.
7293 * gdb.cp/m-data.cc (main): Reference shadow.
7294
bdf7534a
NF
72952009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7296 Nathan Froyd <froydnj@codesourcery.com>
7297
7298 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
7299 remote host.
7300
f24fce77
NF
73012009-11-12 Nathan Froyd <froydnj@codesourcery.com>
7302
7303 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
7304 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
7305 * gdb.dwarf2/dw2-compressed.exp: Likewise.
7306 * gdb.dwarf2/dw2-intercu.exp: Likewise.
7307 * gdb.dwarf2/dw2-intermix.exp: Likewise.
7308 * gdb.dwarf2/dw2-producer.exp: Likewise.
7309 * gdb.dwarf2/mac-fileno.exp: Likewise.
7310 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
7311 py-prettyprint.py to the remote host.
7312 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
7313
40f0318e
KS
73142009-11-11 Keith Seitz <keiths@redhat.com>
7315
7316 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
7317 use it instead of "Foo".
7318 * gdb.cp/classes.exp (do_tests): Add a test to access
7319 a method through a typedef'd class name.
7320
f3d9f7fb
NF
73212009-11-11 Nathan Froyd <froydnj@codesourcery.com>
7322
7323 * gdb.base/long_long.exp: Permit leading zeros on floating-point
7324 exponents.
7325 * gdb.base/pointers.exp: Likewise.
7326 * gdb.cp/ref-types.exp: Likewise.
7327
a4216f37
KS
73282009-11-11 Keith Seitz <keiths@redhat.com>
7329
7330 * gdb.cp/cplusfuncs.cc (class foo): Add operators
7331 new[] and delete[].
7332 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
7333 "void".
7334 (probe_demangler): Remove all single-quoting of
7335 method and variable names.
7336 (info_func_regexp): Remove the word "void" from any
7337 occurrence of "(void)".
7338 (print_addr_2): Remove all single-quoting of
7339 method names.
7340 (print_addr_2_kfail): Likewise.
7341 (print_addr): Single-quote C function names before
7342 passing to print_addr_2.
7343 (test_paddr_operator_functions): Remove single-quoting
7344 for method names.
7345 Add tests for operator new[] and operator delete[].
7346
9b14d7aa
JK
73472009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7348
7349 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
7350
85feb311
KS
73512009-11-09 Keith Seitz <keiths@redhat.com>
7352
7353 * gdb.cp/overload.exp: Add tests for resolving overloaded
7354 methods in expression parsing/evaluation.
7355
fa335448
DJ
73562009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
7357
7358 * lib/gdb.exp (default_gdb_version): Use --version instead of
7359 --command.
7360
ec3c07fc
NS
73612009-11-10 Nathan Sidwell <nathan@codesourcery.com>
7362
7363 * lib/gdb.exp (gdb_compile_test): New.
7364 (skip_ada_tests, skip_java_tests): New.
7365 (gdb_compile): Use gdb_compile_test for f77.
7366 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
7367 * lib/java.exp (compile_java_from_source): Remove runtests check,
7368 use gdb_compile_test to record result.
7369 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
7370 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
7371 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
7372 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
7373 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
7374 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
7375 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
7376 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
7377 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
7378 adjust gdb_compile invocations.
7379
b8b4e42b
JK
73802009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7381
7382 * Makefile.in (abs_builddir): New.
7383 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
7384 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
7385 `$(abs_builddir)/site.exp'.
7386
f8b7eaf3
DJ
73872009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
7388
7389 * config/m68k-emc.exp, lib/emc-support.exp,
7390 gdb.trace/gdb_c_test.c: Delete.
7391 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
7392 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
7393 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
7394 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
7395 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
7396 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
7397 casing for m68k-*-elf.
7398
c4187697
NS
73992009-11-03 Pedro Alves <pedro@codesourcery.com>
7400
7401 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
7402 * gdb.arch/i386-prologue.exp: Likewise.
7403 * gdb.arch/i386-unwind.exp: Likewise.
7404
db16b772
DJ
74052009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
7406
7407 * lib/gdb.exp (gdb_expect): Fix timeout typo.
7408
bcf71277
DJ
74092009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
7410
7411 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
7412
0105cee2
DJ
74132009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
7414
7415 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
7416
24ddea62
JK
74172009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7418
7419 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
7420
287ccc17
JK
74212009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7422
7423 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
7424 * gdb.base/sepdebug2.c: New file.
7425
08bca259 74262009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
7427
7428 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
7429 the modified warnings for catch syscall. Verify if GDB was compiled
7430 with support for lib expat, and choose which tests to run depending
7431 on this.
7432
5d4e2b76
VP
74332009-10-30 Vladimir Prus <vladimir@codesourcery.com>
7434
7435 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
7436 that composite commands are parsed OK. And also test
7437 that breakpoint commands do work.
7438
240e538a
MS
74392009-10-23 Michael Snyder <msnyder@vmware.com>
7440
7441 gdb.reverse/consecutive-precsave.exp: Change expect pattern
7442 to allow for new disassembly style.
7443
9c419145
PP
74442009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
7445
7446 * gdb.asm/asm-source.exp: Adjust.
889bf7c5 7447
02506ff1
MS
74482009-10-22 Michael Snyder <msnyder@vmware.com>
7449
7450 * gdb.reverse/break-precsave.exp: New test.
7451 * gdb.reverse/consecutive-precsave.exp: Ditto.
7452 * gdb.reverse/finish-precsave.exp: Ditto.
7453 * gdb.reverse/i386-precsave.exp: Ditto.
7454 * gdb.reverse/machinestate-precsave.exp: Ditto.
7455 * gdb.reverse/sigall-precsave.exp: Ditto.
7456 * gdb.reverse/solilb-precsave.exp: Ditto.
7457 * gdb.reverse/step-precsave.exp: Ditto.
7458 * gdb.reverse/until-precsave.exp: Ditto.
7459 * gdb.reverse/watch-precsave.exp: Ditto.
7460
4cf866a3
MS
74612009-10-22 Michael Snyder <msnyder@vmware.com>
7462
7463 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
7464 for gdb_expect. Adjust one test's expect strings for the new
7465 format of disassemble.
7466 * gdb.reverse/finish-reverse.exp: Delete 'return'.
7467 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
7468 gdb_test_multiple.
7469 * gdb.reverse/step-reverse.exp: Delete 'return'.
7470 * gdb.reverse/until-reverse.exp: Delete blank lines.
7471 * gdb.reverse/watch-reverse.exp: Delete blank lines.
7472
2b28d209
PP
74732009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
7474
7475 * gdb.base/consecutive.exp: Adjust.
7476 * gdb.base/display.exp: Likewise.
7477 * gdb.base/pc-fp.exp: Likewise.
7478 * gdb.base/sigbpt.exp: Likewise.
889bf7c5 7479
33b9c32b
MS
74802009-10-19 Michael Snyder <msnyder@vmware.com>
7481
7482 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
7483 * gdb.reverse/finish-reverse.c: Ditto.
7484 * gdb.reverse/sigall-reverse.c: Ditto.
7485 * gdb.reverse/solib-reverse.c: Ditto.
7486 * gdb.reverse/step-reverse.c: Ditto.
7487 * gdb.reverse/watch-reverse.c: Ditto.
7488
6c95b8df
PA
74892009-10-19 Pedro Alves <pedro@codesourcery.com>
7490 Stan Shebs <stan@codesourcery.com>
7491
7492 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
7493 * gdb.base/foll-exec.exp: Adjust to expect a process id before
7494 "Executing new program".
7495 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
7496 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
7497 left listed after having been killed.
7498 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
7499 * gdb.base/maint.exp: Adjust test.
7500
7501 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
7502 * gdb.multi/Makefile.in: New.
7503 * gdb.multi/base.exp: New.
7504 * gdb.multi/goodbye.c: New.
7505 * gdb.multi/hangout.c: New.
7506 * gdb.multi/hello.c: New.
7507 * gdb.multi/bkpt-multi-exec.c: New.
7508 * gdb.multi/bkpt-multi-exec.exp: New.
7509 * gdb.multi/crashme.c: New.
7510
279017b7
TG
75112009-10-13 Tristan Gingold <gingold@adacore.com>
7512
7513 * gdb.base/sepdebug.exp: Check debug info are found.
7514
0413d738
PA
75152009-10-08 Pedro Alves <pedro@codesourcery.com>
7516
7517 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
7518 bits.
7519
c628eecc
JK
75202009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7521
7522 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
7523
38af1bfe
JB
75242009-10-07 Joel Brobecker <brobecker@adacore.com>
7525
7526 * gdb.base/watchpoints.c: Add copyright header. Reformat one
7527 of the comments.
7528
2b0adecd
PM
75292009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
7530
7531 * gdb.base/annota1.exp: Remove obsolete match_max increase.
7532 * gdb.base/annota3.exp: Idem.
7533 * gdb.base/maint.exp: Idem.
7534
8d417781
PM
75352009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
7536
889bf7c5 7537 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8d417781
PM
7538 to default.
7539
bb61102d
PM
75402009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
7541
889bf7c5 7542 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
bb61102d
PM
7543 mingw and cygwin targets.
7544
ace5c364
PM
75452009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
7546 Pedro Alves <pedro@codesourcery.com>
7547
889bf7c5 7548 * lib/gdb.exp (gdb_compile): Avoid adding
ace5c364
PM
7549 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
7550
c2d494a0
PM
75512009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
7552
e1b52ce2
PM
7553 * gdb.base/shr1.c: Use %p in format string.
7554 * gdb.base/unload.c: Avoid warning in fprintf.
7555 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 7556
209f53f5
PM
75572009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
7558
7559 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
7560 long type.
7561 (test_unlink): Correct printf string.
7562 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
7563 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
7564
8172766a
JK
75652009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7566
7567 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
7568 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
7569 * gdb.arch/ia64-breakpoint-shadow.S: New file.
7570
0f73703c
UW
75712009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7572
7573 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
7574 * gdb.objc/nondebug.exp: Likewise.
7575
b32306ca
UW
75762009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7577
7578 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
7579 target_info setting.
7580
7581 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
7582 that detect new threads during "info threads".
7583
0057022f
UW
75842009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7585
7586 * gdb.threads/manythreads.c (main): Increase thread stack size
7587 to 2*PTHREAD_STACK_MIN.
7588 * gdb.threads/multi-create.c (main): Likewise.
7589 (create_function): Likewise.
7590
f29c0325
UW
75912009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7592
7593 * gdb.base/dump.exp: Pass difference of pointer types instead
7594 of integer types as offset to restore in intarr3.srec case.
7595
fcb34849
UW
75962009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7597
7598 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
7599
d5142e3b
UW
76002009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7601
7602 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
7603
087b74b2 76042009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
889bf7c5 7605
087b74b2
PM
7606 New test for two watchpoints, with disabling of
7607 the first inserted.
7608 * testsuite/gdb.base/watchpoints.c: New file.
7609 * testsuite/gdb.base/watchpoints.exp: New file.
7610
96c07c5b
TT
76112009-09-25 Tom Tromey <tromey@redhat.com>
7612
7613 * gdb.base/charset.exp: Test utf-16 strings with Python.
7614
b8899f2b
TT
76152009-09-25 Tom Tromey <tromey@redhat.com>
7616
7617 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
7618 UCS-4.
7619 * gdb.base/charset.c (utf_32_string): Rename.
7620 (init_utf32): Rename.
7621 (main): Update.
7622
329719ec
TT
76232009-09-22 Tom Tromey <tromey@redhat.com>
7624
7625 * gdb.python/py-function.exp: Add regression tests.
7626
11ef0d76
KS
76272009-09-21 Keith Seitz <keiths@redhat.com>
7628
7629 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
7630 with invalid operator.
7631
3fe8f3b3
KS
76322009-09-21 Keith Seitz <keiths@redhat.com>
7633
7634 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
7635 and destructor using typedef name of class.
7636 * gdb.cp/classes.cc (class Base1): Add a destructor.
7637 (base1): New typedef.
7638 (use_methods): Instanitate an object of type base1.
7639 * gdb.cp/templates.exp (test_template_typedef): New procedure.
7640 (do_tests): Call test_template_typedef.
7641 * gdb.cp/templates.cc (Baz::~Baz): New method.
7642 (intBazOne): New typedef.
7643 (main): Instantiate intBazOne.
7644
7a9fe101
PM
76452009-09-21 Phil Muldoon <pmuldoon@redhat.com>
7646
7647 PR python/10633
7648
7649 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
7650 Function.
7651 (run_lang_tests): Add print elements test.
7652
2e4d963f
PM
76532009-09-21 Phil Muldoon <pmuldoon@redhat.com>
7654
7655 * gdb.python/py-value.exp (test_subscript_regression): New
7656 function. Test for invalid subscripts.
7657 * gdb.python/py-value.c (main): Add test array, and pointer to it.
7658 (ptr_ref): New function.
7659
ec7e75e7
PP
76602009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7661
7662 * gdb.base/default.exp: Fix "show convenience".
7663
0cc7d26f
TT
76642009-09-15 Tom Tromey <tromey@redhat.com>
7665
7666 * lib/mi-support.exp (mi_create_varobj): Update.
7667 (mi_create_floating_varobj): Likewise.
7668 (mi_create_dynamic_varobj): New proc.
7669 (mi_varobj_update): Update.
7670 (mi_varobj_update_with_type_change): Likewise.
7671 (mi_varobj_update_kv_helper): New proc.
7672 (mi_varobj_update_dynamic_helper): Rewrite.
7673 (mi_varobj_update_dynamic): New proc.
7674 (mi_list_varobj_children): Update.
7675 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
7676 * gdb.python/python-prettyprint.py (pp_outer): New class.
7677 (pp_nullstr): Likewise.
7678 (lookup_function): Register new printers.
7679 * gdb.python/python-prettyprint.c (struct substruct): New type.
7680 (struct outerstruct): Likewise.
7681 (substruct_test): New function.
7682 (struct nullstr): New type.
7683 (string_1, string_2): New globals.
7684 (main): Add new tests.
7685 * gdb.python/python-mi.exp: Added regression tests.
7686 * gdb.mi/mi2-var-display.exp: Update.
7687 * gdb.mi/mi2-var-cmd.exp: Update.
7688 * gdb.mi/mi2-var-child.exp: Update.
7689 * gdb.mi/mi2-var-block.exp: Update.
7690 * gdb.mi/mi-var-invalidate.exp: Update.
7691 * gdb.mi/mi-var-display.exp: Update.
7692 * gdb.mi/mi-var-cmd.exp: Update.
7693 * gdb.mi/mi-var-child.exp: Update.
7694 * gdb.mi/mi-var-block.exp: Update.
7695 * gdb.mi/mi-break.exp: Update.
7696 * gdb.mi/gdb701.exp: Update.
7697
a96d9b2e
SDJ
76982009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
7699
7700 * Makefile.in: Inclusion of catch-syscall object.
7701 * gdb.base/catch-syscall.c: New file.
7702 * gdb.base/catch-syscall.exp: New file.
7703
b43b923a
MS
77042009-09-12 Michael Snyder <msnyder@vmware.com>
7705
7706 * gdb.reverse/step-reverse.exp: Explicitly check for targets
7707 that can support reverse debuggnig.
7708
cec03d70
TT
77092009-09-11 Tom Tromey <tromey@redhat.com>
7710
7711 * gdb.dwarf2/valop.S: New file.
7712 * gdb.dwarf2/valop.exp: New file.
7713
e23bb3fc
MK
77142009-09-11 Mark Kettenis <kettenis@gnu.org>
7715
7716 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
7717
37c3696d
DE
77182009-09-10 Doug Evans <dje@google.com>
7719
7720 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
7721 Add $gdb_prompt to second breakpoint regexp.
7722
5172aecb
JB
77232009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
7724
7725 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
7726 names, add missing ones.
7727 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
7728 * gdb.python/py-frame.c: Rename from python-frame.c.
7729 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
7730 testfile name.
7731 * gdb.python/py-function.exp: Rename from python-function.exp.
7732 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
7733 testfile name.
7734 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
7735 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
7736 Adjust testfile name.
7737 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
7738 * gdb.python/py-template.cc: Rename from python-template.cc.
7739 * gdb.python/py-template.exp: Rename from python-template.exp.
7740 Adjust testfile name.
7741 * gdb.python/py-value.c: Rename from python-value.c.
7742 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
7743 testfile name.
7744
b554e4bd
JK
77452009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7746
7747 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
7748 $bpt2address.
7749 (Second breakpoint address is valid on ia64)
7750 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
7751
9a68ae16
JM
77522009-09-03 Joseph Myers <joseph@codesourcery.com>
7753
7754 * gdb.base/ending-run.exp: Restrict regular expression matching
7755 line number to require closing brace following.
7756
146b9145
DE
77572009-09-03 Doug Evans <dje@google.com>
7758
7759 * gdb.base/store.exp (check_set): Fix typo in expected value message.
7760
787d21e1
TT
77612009-09-02 Tom Tromey <tromey@redhat.com>
7762
7763 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
7764
e7802207
TT
77652009-09-02 Tom Tromey <tromey@redhat.com>
7766
7767 * gdb.dwarf2/callframecfa.exp: New file.
7768 * gdb.dwarf2/callframecfa.S: New file.
7769
817aadd2
JK
77702009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7771
7772 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
7773 gdb.base/solib-overlap-main.c: New.
7774
4a76eae5
DJ
77752009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
7776
7777 PR gdb/10565
7778
7779 * gdb.base/bitfields.c (struct container, container): New.
7780 (main): Initialize it and call break5.
7781 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
7782
d4b96c9a
JK
77832009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7784
7785 Support constant DW_AT_data_member_location by GCC PR debug/40659.
7786 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
7787
4e22772d
JK
77882009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7789
7790 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
7791
2efab443
MS
77922009-08-26 Michael Snyder <msnyder@vmware.com>
7793
7794 * gdb.base/i386-reverse.c: New file.
7795 * gdb.base/i386-reverse.exp: New file.
7796 * gdb.base/Makefile.in: Add new files to be removed.
7797
07ab73a0
JM
77982009-08-26 Joseph Myers <joseph@codesourcery.com>
7799
7800 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
7801 environment-pwd for remote host.
7802 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
7803
676accff
KS
78042009-08-24 Keith Seitz <keiths@redhat.com>
7805
7806 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
7807 Add two new C++ completer tests which limit the output to a
889bf7c5 7808 given class.
676accff 7809
f9f7ad22
MS
78102009-08-24 Michael Snyder <msnyder@vmware.com>
7811
7812 * gdb.base/del.exp: Fix typo in comment.
7813 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
7814
81ecdfbb
RW
78152009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7816
7817 * configure: Regenerate.
7818 * gdb.hp/configure: Likewise.
7819 * gdb.hp/gdb.aCC/configure: Likewise.
7820 * gdb.hp/gdb.base-hp/configure: Likewise.
7821 * gdb.hp/gdb.compat/configure: Likewise.
7822 * gdb.hp/gdb.defects/configure: Likewise.
7823 * gdb.hp/gdb.objdbg/configure: Likewise.
7824 * gdb.stabs/configure: Likewise.
7825
cab0c772
UW
78262009-08-19 Doug Evans <dje@google.com>
7827
7828 * gdb.base/gdbvars.c: New file.
7829 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
7830
b8fa0bfa
PA
78312009-08-14 Pedro Alves <pedro@codesourcery.com>
7832
7833 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
7834 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
7835
b84aa90a
PA
78362009-08-13 Pedro Alves <pedro@codesourcery.com>
7837
7838 * gdb.base/default.exp: Adjust "set language test": it's now an
7839 enum command. Larger help string moved to "help set language".
7840 * gdb.base/help.exp: Adjust "help set language" expected output,
7841 now lists all known languages.
7842
0d8f9b2c
NF
78432009-08-11 Nathan Froyd <froydnj@codesourcery.com>
7844
7845 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
7846 all frame arguments.
7847 * gdb.arch/altivec-regs.exp: Likewise.
7848
bda180e0
TT
78492009-08-07 Tom Tromey <tromey@redhat.com>
7850
7851 * gdb.base/setshow.exp: Add tests for changes to set language, set
7852 check range, and set check type.
7853
48cb2d85
VP
78542009-08-03 Vladimir Prus <vladimir@codesourcery.com>
7855
7856 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
7857 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
889bf7c5 7858 Call it.
48cb2d85 7859
1ea34204
UW
78602009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7861
7862 * configure.ac: Run gdb.cell tests when appropriate.
7863 * configure: Regenerate.
7864 * lib/cell.exp: New file.
7865 * gdb.cell: New directory.
7866 * gdb.cell/configure.ac: New file.
7867 * gdb.cell/configure: New file.
7868 * gdb.cell/Makefile.in: New file.
7869 * gdb.cell/arch.exp: New file.
7870 * gdb.cell/break.c: New file.
7871 * gdb.cell/break.exp: New file.
7872 * gdb.cell/break-spu.c: New file.
7873 * gdb.cell/bt.c: New file.
7874 * gdb.cell/bt2-spu.c: New file.
7875 * gdb.cell/bt-spu.c: New file.
7876 * gdb.cell/bt.exp: New file.
7877 * gdb.cell/coremaker.c: New file.
7878 * gdb.cell/coremaker-spu.c: New file.
7879 * gdb.cell/core.exp: New file.
7880 * gdb.cell/gcore.exp: New file.
7881 * gdb.cell/data.c: New file.
7882 * gdb.cell/data.exp: New file.
7883 * gdb.cell/data-spu.c: New file.
7884 * gdb.cell/ea-cache.exp: New file.
7885 * gdb.cell/ea-cache.c: New file.
7886 * gdb.cell/ea-cache-spu.c: New file.
7887 * gdb.cell/ea-standalone.c: New file.
7888 * gdb.cell/ea-standalone.exp: New file.
7889 * gdb.cell/ea-test.c: New file.
7890 * gdb.cell/ea-test.exp: New file.
7891 * gdb.cell/f-regs.exp: New file.
7892 * gdb.cell/mem-access.c: New file.
7893 * gdb.cell/mem-access.exp: New file.
7894 * gdb.cell/mem-access-spu.c: New file.
7895 * gdb.cell/ptype.exp: New file.
7896 * gdb.cell/registers.exp: New file.
7897 * gdb.cell/size.c: New file.
7898 * gdb.cell/sizeof.exp: New file.
7899 * gdb.cell/size-spu.c: New file.
7900 * gdb.cell/solib.exp: New file.
7901 * gdb.cell/solib-symbol.exp: New file.
7902
85e747d2
UW
79032009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7904
7905 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
7906
58d6951d
DJ
79072009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
7908
7909 * gdb.base/float.exp: Handle VFP registers.
7910
6e0a4f15
MS
79112009-07-14 Michael Snyder <msnyder@vmware.com>
7912
dcd5da87
MS
7913 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
7914 to bring gdb to the beginning of the calling line.
7915
6e0a4f15
MS
7916 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
7917 confusing the i386 epilogue unwinder.
7918
782b2b07
SS
79192009-07-14 Stan Shebs <stan@codesourcery.com>
7920
7921 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
7922
f662c3bc
MS
79232009-07-14 Michael Snyder <msnyder@vmware.com>
7924
7925 * gdb.reverse/step-reverse.exp (stepi into function call):
7926 Call instruction may not be first instruction in the line.
7927 (reverse stepi from a function call): Used wrong line number.
7928
8f313923
JK
79292009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7930
7931 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
7932
4662c76e
JK
79332009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7934
7935 Fix gdb.base/macscp.exp when using custom inputrc.
7936 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
7937 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
7938 env(TERM) set.
7939 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
7940 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
7941
aa81e255
JK
79422009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7943
7944 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
7945 * gdb.base/annota1.exp (thread_test): Import global $testfile.
7946 Change the compilation target to match the testcase name.
7947 * gdb.base/sect-cmd.exp: Change the compilation target to match the
7948 testcase name.
7949 * a2-run.exp: Use for setup prepare_for_testing. Change the
7950 compilation target to match the testcase name.
7951 * gdb.base/commands.exp: Likewise.
7952 * gdb.base/finish.exp: Likewise.
7953 * gdb.base/float.exp: Likewise.
7954 * gdb.base/info-target.exp: Likewise.
7955 * gdb.base/relational.exp: Likewise.
7956 * gdb.base/term.exp: Likewise.
7957 * gdb.base/until.exp: Likewise.
7958 * gdb.base/volatile.exp: Likewise.
7959 * gdb.base/whatis-exp.exp: Likewise.
7960
4c93b1d7
HZ
79612009-07-11 Hui Zhu <teawater@gmail.com>
7962
7963 * gdb.base/help.exp (disassemble): Update expected help text.
7964
812f7342
TT
79652009-07-09 Tom Tromey <tromey@redhat.com>
7966
7967 * lib/gdb.exp: Handle TRANSCRIPT.
7968 (remote_spawn, remote_close, send_gdb): New procs.
7969
fbb8f299
PM
79702009-07-10 Phil Muldoon <pmuldoon@redhat.com>
7971
7972 * gdb.python/python-prettyprint.c: Add counted null string
7973 structure.
7974 * gdb.python/python-prettyprint.exp: Print null string. Test for
7975 embedded nulls.
7976 * gdb.python/python-prettyprint.py (pp_ns): New Function.
7977 * gdb.python/python-value.exp (test_value_in_inferior): Add
7978 variable length string fetch tests.
7979 * gdb.python/python-value.c (main): Add strings for string fetch tests.
7980
c0ac0ec7
JK
79812009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7982
7983 * gdb.base/dump.exp (inaccessible memory is reported): New test.
7984
30b66ecc
TT
79852009-07-07 Tom Tromey <tromey@redhat.com>
7986
7987 * gdb.base/call-rt-st.exp: Update for change to escape output.
7988 * gdb.base/callfuncs.exp: Likewise.
7989 * gdb.base/charset.exp: Likewise.
7990 * gdb.base/constvars.exp: Likewise.
7991 * gdb.base/long_long.exp: Likewise.
7992 * gdb.base/pointers.exp: Likewise.
7993 * gdb.base/printcmds.exp: Likewise.
7994 * gdb.base/setvar.exp: Likewise.
7995 * gdb.base/store.exp: Likewise.
7996 * gdb.cp/ref-types.exp: Likewise.
7997 * gdb.mi/mi-var-child.exp: Likewise.
7998 * gdb.mi/mi-var-display.exp: Likewise.
7999 * gdb.mi/mi2-var-display.exp: Likewise.
8000 * gdb.base/charset.exp: Test octal escape sequence length.
8001 Update for change to escape output.
8002
187c4a2b
JK
80032009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8004
8005 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
8006
d80a43f9
DJ
80072009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
8008
8009 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
8010
047427a8
JK
80112009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8012
8013 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
8014 gdbserver increasing $portnum if "Can't bind address" has been seen.
8015
8b5a0f4f
PA
80162009-07-05 Pedro Alves <pedro@codesourcery.com>
8017
8018 * gdb.base/ending-run.exp: Add "step out of main" pattern for
8019 mingw32ce.
8020
7d93ba58
PA
80212009-07-05 Pedro Alves <pedro@codesourcery.com>
8022
8023 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
8024 VFP format.
8025
2277426b
PA
80262009-07-02 Pedro Alves <pedro@codesourcery.com>
8027
8028 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
8029 linux. Adjust to use "inferior", "info inferiors", "detach
8030 inferior" and "kill inferior" instead of "restart", "info fork",
8031 "detach fork" and "delete fork".
8032 * gdb.base/ending-run.exp: Spell out "info".
8033 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
8034 the "kill" command.
8035
5af949e3
UW
80362009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8037
8038 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
8039 change to prefix TLS offset in hex with 0x.
8040
5d3729b5
UW
80412009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8042
8043 * gdb.base/default.exp: Update test case for "x" changes.
8044
af589bd0
TG
80452009-07-01 Tristan Gingold <gingold@adacore.com>
8046
8047 * gdb.base/bigcore.exp: Make darwin untested.
8048
40974f91
JK
80492009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8050
8051 * gdb.base/completion.exp (directory completion): Create the directory.
8052 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
8053 escapeuniquesub.
8054 (directory completion 2): Expect now ${escapeuniquesub}.
8055 (Glob remaining of directory test): Remove one excessive newline.
8056 Expect the real output.
8057
59dd3af6
JK
80582009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8059
8060 Fix `make check//%' target after `make check' has been ran.
8061 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
8062 a mkdir call.
8063 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
8064 (%/.dir): Remove.
8065
f4e164aa
JK
80662009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8067
8068 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
8069 the expected result record.
8070
69af2122
JK
80712009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8072
8073 Remove racy FAILs relying just on the timeouts.
8074 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
8075 (annotation_level 2): Remove racy FAILs.
8076
2fd481e1
PP
80772009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
8078
8079 gdb/10275
889bf7c5
PA
8080 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
8081
c38f313d
DJ
80822009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
8083
8084 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
8085
8b777f02
VP
80862009-06-30 Vladimir Prus <vladimir@codesourcery.com>
8087
8088 * gdb.mi/mi-stack.exp: Testing symbolic options
8089 to -stack-list-locals and -stack-list-arguments.
8090
00c7eacf
JK
80912009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8092
8093 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
8094
6bc80edc
TT
80952009-06-29 Tom Tromey <tromey@redhat.com>
8096
8097 * dg-extract-results.sh: New file.
8098 * Makefile.in (FORCE_PARALLEL): New variable.
8099 (CHECK_TARGET): New conditional variable.
8100 (check): Use CHECK_TARGET.
8101 (DO_RUNTEST): New variable.
8102 (check-single): New target.
8103 (TEST_DIRS): New variable.
8104 (TEST_TARGETS): Likewise.
8105 (check-parallel): New target.
8106 (check-gdb.%): New pattern.
8107 (BASE1_FILES): New variable.
8108 (BASE2_FILES): Likewise.
8109 (check-gdb.base%): New pattern.
8110 (%/.dir): New pattern.
8111 * configure: Rebuild.
8112 * aclocal.m4 (AM_CONDITIONAL): New defun.
8113 * configure.ac: Check whether user is using GNU make.
8114 (GMAKE): New conditional.
8115
794684b6
SW
81162009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
8117
8118 * gdb.cp/namespace-nested-import.cc: New test.
8119 * gdb.cp/namespace-nested-import.exp: New test.
8120
edb3359d
DJ
81212009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
8122
8123 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
8124 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
8125 * gdb.opt/Makefile.in (EXECUTABLES): Update.
8126 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
8127 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
8128 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
8129 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
8130 gdb.opt/inline-markers.c: New files.
8131 * lib/gdb.exp (skip_inline_frame_tests): New function.
8132 (skip_inline_var_tests): New function.
8133
cf657a0c
AS
81342009-06-27 Andreas Schwab <schwab@linux-m68k.org>
8135
8136 * gdb.cp/exception.exp: Don't require $hex before inner frame in
8137 backtrace.
8138
28d41a99
MS
81392009-06-27 Michael Snyder <msnyder@vmware.com>
8140
8141 * gdb.reverse: New directory.
8142 * gdb.reverse/break-reverse.c: New test.
8143 * gdb.reverse/break-reverse.exp: New test.
8144 * gdb.reverse/consecutive-reverse.c: New test.
8145 * gdb.reverse/consecutive-reverse.exp: New test.
8146 * gdb.reverse/finish-reverse.c: New test.
8147 * gdb.reverse/finish-reverse.exp: New test.
8148 * gdb.reverse/machinestate.c: New test.
8149 * gdb.reverse/ms1.c: New test.
8150 * gdb.reverse/machinestate.exp: New test.
8151 * gdb.reverse/Makefile.in: New file.
8152 * gdb.reverse/shr2.c: New test.
8153 * gdb.reverse/solib-reverse.c: New test.
8154 * gdb.reverse/solib-reverse.exp: New test.
8155 * gdb.reverse/step-reverse.c: New test.
8156 * gdb.reverse/step-reverse.exp: New test.
8157 * gdb.reverse/until-reverse.c: New test.
8158 * gdb.reverse/ur1.c: New test.
8159 * gdb.reverse/until-reverse.exp: New test.
8160 * gdb.reverse/watch-reverse.c: New test.
8161 * gdb.reverse/watch-reverse.exp: New test.
8162 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
8163 * configure: Regenerate.
8164
fe3c8b0d
DE
81652009-06-26 Doug Evans <dje@google.com>
8166
8167 * gdb.base/psymtab.exp: Turn off pending breakpoints.
8168
3a72a602
PM
81692009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
8170
8171 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
8172 windows problem for 'file delete $binfile'.
8173
27aa8d6a
SW
81742009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
8175
8176 * gdb.cp/namespace-using.exp: New test.
8177 * gdb.cp/namespace-using.cc: New test.
8178
8ac055f8
JB
81792009-05-20 Joel Brobecker <brobecker@adacore.com>
8180
8181 * gdb.ada/variant_record_packed_array: New testcase.
8182
85e306ed
TT
81832009-06-23 Tom Tromey <tromey@redhat.com>
8184
8185 * gdb.base/charset.exp (test_combination): Regression test.
8186 * gdb.base/charset.c (my_wchar_t): New typedef.
8187 (myvar): New global.
8188 (main): Set myvar.
8189
56643c5e
PM
81902009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
8191
8192 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
8193 target.
8194
1fac167a
UW
81952009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8196
8197 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
8198
7ccb0be9
UW
81992009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8200
8201 * gdb.mi/gdb680.exp: Update test for error message.
8202
568d6575
UW
82032009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8204
8205 * gdb.base/annota1.exp: Allow multiple occurrences of the
8206 frames-invalid annotation.
8207 * gdb.cp/annota2.exp: Likewise.
8208
7cd1089b
PM
82092009-06-15 Phil Muldoon <pmuldoon@redhat.com>
8210
8211 * gdb.cp/gdb2495.cc: New file.
8212 * gdb.cp/gdb2495.exp: New file.
8213
72c63395
JK
82142009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8215
8216 Report error on GDB crash during runto.
8217 * lib/gdb.exp (runto <eof>): New.
8218
3788363d
DJ
82192009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
8220
8221 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
8222 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
8223 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
8224 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
8225 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
8226 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
8227 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
8228 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
8229 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
8230 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
8231 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
8232 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
8233 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
8234 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
8235 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
8236 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
8237 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
8238 gdb.server/server-mon.exp, gdb.server/server-run.exp,
8239 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
8240 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
8241 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
8242 gdb.trace/passcount.exp, gdb.trace/report.exp,
8243 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
8244 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
8245 gdb.trace/while-stepping.exp: Use a unique name for the compiled
8246 executable.
8247
17592de3
PA
82482009-06-07 Pedro Alves <pedro@codesourcery.com>
8249
8250 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
8251 defined before referencing it.
8252
701e355d
DE
82532009-06-03 Doug Evans <dje@google.com>
8254
8255 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
8256 * gdb.arch/i386-see.c: Ditto.
8257
f2292c65
PM
82582009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
8259
8260 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
8261 (check_macro): Return 1 if undefined.
8262 If first test fails, check if macro debug information is available,
8263 and report unsupported test if no macro information is found.
8264
5a437975
DE
82652009-05-29 Doug Evans <dje@google.com>
8266
8267 * gdb.threads/hand-call-in-threads.exp: New.
8268 * gdb.threads/hand-call-in-threads.c: New.
8269
c141c696
MS
82702009-05-29 Michael Snyder <msnyder@vmware.com>
8271
8272 * gdb.base/break-always.exp: Change "1" to "on".
8273 Add confirmation check.
8274
b3444185
PA
82752009-05-28 Pedro Alves <pedro@codesourcery.com>
8276
8277 * gdb.threads/threxit-hop-specific.c: New.
8278 * gdb.threads/threxit-hop-specific.exp: New.
8279 * gdb.threads/thread-execl.c: New.
8280 * gdb.threads/thread-execl.exp: New.
8281
b6313243
TT
82822009-05-27 Tom Tromey <tromey@redhat.com>
8283 Thiago Jung Bauermann <bauerman@br.ibm.com>
8284
8285 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
8286 (mi_child_regexp): Likewise.
8287 (mi_list_varobj_children_range): Likewise.
8288 (mi_get_features): Likewise.
8289 (mi_list_varobj_children): Rewrite.
8290 * gdb.python/python-mi.exp: New file.
8291
a6bac58e
TT
82922009-05-27 Tom Tromey <tromey@redhat.com>
8293 Thiago Jung Bauermann <bauerman@br.ibm.com>
8294 Phil Muldoon <pmuldoon@redhat.com>
8295 Paul Pluzhnikov <ppluzhnikov@google.com>
8296
8297 * gdb.python/python-prettyprint.exp: New file.
8298 * gdb.python/python-prettyprint.c: New file.
8299 * gdb.python/python-prettyprint.py: New file.
8300 * gdb.base/display.exp: print/r is now valid.
8301
2c74e833
TT
83022009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
8303 Tom Tromey <tromey@redhat.com>
8304 Pedro Alves <pedro@codesourcery.com>
8305 Paul Pluzhnikov <ppluzhnikov@google.com>
8306
8307 * gdb.python/python-template.exp: New file.
8308 * gdb.python/python-template.cc: New file.
8309 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
8310 tests.
8311 * gdb.python/python-value.exp (py_objfile_tests): New proc.
8312 Call it.
8313 (test_value_after_death): New proc.
8314 * gdb.python/python-value.c (PTR): New typedef.
8315 (main): New variable 'x'.
8316
89c73ade
TT
83172009-05-27 Tom Tromey <tromey@redhat.com>
8318
8319 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
8320 tests.
8321 * gdb.python/python-value.exp (py_objfile_tests): New proc.
8322 Call it.
8323
a75724bc
PA
83242009-05-27 Pedro Alves <pedro@codesourcery.com>
8325
8326 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
8327
e58b0e63
PA
83282009-05-24 Pedro Alves <pedro@codesourcery.com>
8329
8330 * gdb.threads/fork-thread-pending.c: New.
8331 * gdb.threads/fork-thread-pending.exp: New.
8332
4ac36638
JK
83332009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8334
8335 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
8336 * gdb.dwarf2/dw2-strp.S (a_string2): New.
8337
889bf7c5 83382009-05-18 Jon Beniston <jon@beniston.com>
c28c63d8 8339
889bf7c5 8340 * gdb.asm/asm-source.exp: Add lm32 target.
c28c63d8 8341
b242c3c2
PA
83422009-05-17 Pedro Alves <pedro@codesourcery.com>
8343
8344 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
8345 `gdb_get_line_number'. Call `callee' in both parent and child.
8346 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
8347 `gdb_get_line_number' instead of hardcoding line numbers.
8348 (catch_fork_unpatch_child): New procedure to test detaching
8349 breakpoints from child fork.
8350 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
8351 hardcoding line numbers.
8352 (do_fork_tests): Run `catch_fork_unpatch_child'.
8353
ee342b23
VP
83542009-05-17 Vladimir Prus <vladimir@codesourcery.com>
8355
8356 * gdb.mi/mi-cmd-var.exp: Check that when varobj
8357 of structure type enters or leaves the scope, it
8358 is reported by -var-update.
8359
e2009e98
DE
83602009-05-11 Doug Evans <dje@sebabeach.org>
8361
8362 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
fc529d80 8363 * gdb.threads/pending-step.c (main): Fix off-by-one error.
e2009e98
DE
8364 * gdb.threads/schedlock.c (main): Fix off-by-one error.
8365
00903456
JK
83662009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8367
8368 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
8369
dc621c35
DE
83702009-04-30 Doug Evans <dje@google.com>
8371
8372 * gdb.threads/watchthreads2.exp: New testcase.
8373 * gdb.threads/watchthreads2.c: New testcase.
8374
9ab4e744
DE
83752009-04-29 Doug Evans <dje@google.com>
8376
8377 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
8378 * gdb.cp/mb-ctor.cc: Ditto.
8379 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
8380 * gdb.cp/mb-inline.h (multi_line_foo): New function.
8381 * gdb.cp/mb-inline1.cc: Call it.
8382 * gdb.cp/mb-inline2.cc: Ditto.
8383 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
8384 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
8385
484086b7
JK
83862009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8387
8388 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
8389 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
8390 Replace all uses of `decimal' by `nonzero'.
8391 (info macro FROM_COMMANDLINE): New test.
8392
379a77b5
TT
83932009-04-27 Tom Tromey <tromey@redhat.com>
8394
8395 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
8396
b92b73c2
DE
83972009-04-27 Doug Evans <dje@google.com>
8398
8399 * gdb.threads/watchthreads.c (main): Initialize args before starting
8400 the threads. Plus formatting cleanup.
8401 * gdb.threads/watchthreads.exp: Avoid errant failures due to
8402 biased scheduling of one thread.
8403
945a118d
JG
84042009-04-27 Jerome Guitton <guitton@adacore.com>
8405
8406 * gdb.cp/templates.cc (GetMax): New template.
8407 (main): Declare two instances of GetMax.
8408 * gdb.cp/templates.exp: Add new test.
8409
d389af10
JK
84102009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8411
8412 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
8413
e7f86de9
JM
84142009-04-22 Joseph Myers <joseph@codesourcery.com>
8415
8416 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
8417
334cc82d
TT
84182009-04-15 Tom Tromey <tromey@redhat.com>
8419
8420 * gdb.base/charset.exp: Add regression test.
8421
d12672cc
JB
84222009-04-14 Joel Brobecker <brobecker@adacore.com>
8423
8424 * gdb.base/exe-lock.exp: New testcase.
8425
18e8c3bc
TT
84262009-04-13 Tom Tromey <tromey@redhat.com>
8427
8428 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
8429 operator on Frame.
8430
5ecd5cbe
UW
84312009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8432
8433 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
8434 * gdb.server/ext-attach.exp: Likewise.
8435
7309f756
VP
84362009-04-03 Vladimir Prus <vladimir@codesourcery.com>
8437
8438 Eliminate some sleep usage.
8439
889bf7c5
PA
8440 * gdb.mi/basics.c (do_nothing): New.
8441 (main): Use do_nothing instead of printf, so that
8442 not to introduce race condition between output of
8443 inferiour and output of gdb. Do not use sleep as it
8444 is not generally available on embedded targets.
7309f756 8445
f4b95f6f
PA
84462009-04-02 Pedro Alves <pedro@codesourcery.com>
8447
8448 * gdb.server/ext-attach.exp: Expect an optional process id after
8449 "Detached from remote process".
8450
de40b933
JK
84512009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8452
8453 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
8454 gdb.dwarf2/dw2-unresolved.exp: New.
8455
2ae101a4
PA
84562009-04-02 Pedro Alves <pedro@codesourcery.com>
8457
8458 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
8459 mi_run_to_main.
8460
56a8e183
PA
84612009-04-02 Pedro Alves <pedro@codesourcery.com>
8462
8463 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
8464 mi_run_to_main. Skip thread exit test on remote targets.
8465 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
8466 mi_run_to_main.
8467 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
8468 mi_run_to_main.
8469 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
8470 when expecting ^connected. Detect when the target doesn't support
8471 non-stop mode.
8472 (mi_run_cmd): Detect if non-stop mode was requested by isn't
8473 supported. Return -1 on error, 0 on success.
8474 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
8475 (mi_runto): Return mi_runto_helper's result explicitly.
8476
c35fafde
PA
84772009-04-01 Pedro Alves <pedro@codesourcery.com>
8478
8479 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
8480
f8a8dce6
JB
84812009-04-01 Tom Tromey <tromey@redhat.com>
8482
8483 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
8484 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
8485 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
8486 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
8487
71c25dea
TT
84882009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
8489 Jan Kratochvil <jan.kratochvil@redhat.com>
8490
8491 PR gdb/931
8492 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
8493 output.
8494 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
8495 for gdb/931.
8496 * dw2-strp.S (DW_AT_language): Change to C++.
8497 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
8498
02d9a9ce
JB
84992009-03-31 Joel Brobecker <brobecker@adacore.com>
8500
8501 * gdb.ada/tasks: New testcase.
8502
1042e4c0
SS
85032009-03-30 Stan Shebs <stan@codesourcery.com>
8504
8505 * gdb.trace/actions.exp: Update to match new info trace format.
8506 * gdb.trace/deltrace.exp: Ditto.
8507 * gdb.trace/infotrace.exp: Ditto.
8508 * gdb.trace/passcount.exp: Ditto.
8509 * gdb.trace/save-trace.exp: Ditto.
8510 * gdb.trace/while-stepping.exp: Ditto.
8511 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
8512
f8f6f20b
TJB
85132009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
8514
8515 * gdb.python/python-frame.c: New file.
8516 * gdb.python/python-frame.exp: New file.
8517
c0c6f777
TJB
85182009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
8519
8520 * gdb.python/python-value.exp: Add tests for the address
8521 attribute.
8522
3cb51905
AS
85232009-03-29 Andreas Schwab <schwab@linux-m68k.org>
8524
8525 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
8526
88fc996f
DE
85272009-03-26 Doug Evans <dje@google.com>
8528
8529 * gdb.mi/mi-nonstop-exit.exp: New file.
8530 * gdb.mi/non-stop-exit.c: New file.
8531
56ef84b1
TT
85322009-03-26 Tom Tromey <tromey@redhat.com>
8533
8534 Update for change to prologue skipping:
8535 * gdb.mi/mi2-simplerun.exp: Update.
8536 * gdb.mi/mi2-break.exp: Update.
8537 * gdb.mi/mi-simplerun.exp: Update.
8538 * gdb.mi/mi-break.exp: Update.
8539 * gdb.base/ending-run.exp: Update.
8540
def2b000
TJB
85412009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
8542
8543 * gdb.python/python-value.exp (test_value_in_inferior): Test
8544 gdb.Value.is_optimized_out attribute.
8545
442ddf59
JK
85462009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8547
8548 * gdb.dwarf2/dw2-noloc-main.c: New file.
8549 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
8550 (.text): Remove.
8551 (.data): New.
8552 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
8553 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
8554 (DW_TAG_subprogram func_cu1, noloc): Remove.
8555 (main): New.
8556 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
8557 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
8558 (file_symbols): New procedure.
8559
a8df5de4
TT
85602009-03-25 Tom Tromey <tromey@redhat.com>
8561
8562 * gdb.base/charset.exp (valid_target_charset): New proc.
8563 Use it to skip tests on invalid charsets.
8564
cc1d7add
PM
85652009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
8566
8567 * gdb.base/completion.exp: Add a test for directory completion.
8568
bcd5727b
JK
85692009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8570
8571 Fix a racy FAIL.
8572 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
8573 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
8574
cc924cad
TJB
85752009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
8576
8577 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
8578 * gdb.python/python-function.exp: Add test for function returning
8579 a GDB value.
8580
bc3b79fd
TJB
85812009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
8582
8583 * gdb.python/python-function.exp: New file.
8584
6c7a06a3
TT
85852009-03-20 Tom Tromey <tromey@redhat.com>
8586
8587 * gdb.base/store.exp: Update for change to escape output.
8588 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
8589 to escape output.
8590 * gdb.base/pointers.exp: Update for change to escape output.
8591 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
8592 to escape output.
8593 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
8594 escape output.
8595 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
8596 to escape output.
8597 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
8598 escape output.
8599 * gdb.base/setvar.exp: Update for change to escape output.
8600 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
8601 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
8602 to escape output.
8603 (test_print_string_constants): Likewise.
8604 * gdb.base/charset.exp (valid_host_charset): Check size of
8605 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
8606 cases. Handle "auto"-related output.
8607 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
8608 (uvar, Uvar): New globals.
8609
c31af87b
JG
86102009-03-19 Jerome Guitton <guitton@adacore.com>
8611
8612 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
8613 deltas.
8614 * gdb.ada/fixed_points.exp: Ditto.
8615
51272cf2
PA
86162009-03-18 Pedro Alves <pedro@codesourcery.com>
8617
8618 * return-nodebug.c: Don't include stdio.h.
8619 (init): Delete.
8620 (func): Delete definition and provide extern declaration.
8621 (t): New.
8622 (main): Don't call printf. Call func and store its result in t.
8623 * return-nodebug1.c: New.
8624 * return-nodebug.exp: Don't expect stdio output. Instead, print
8625 the global variable t. Drop printf formatters and cast types from
8626 foreach loop. Don't use prepare_for_testing. Compile
8627 return-nodebug.c and return-nodebug1.c in separate steps. Don't
8628 define FORMAT or CAST.
8629
d24948ac
PP
86302009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
8631
8632 * gdb.base/solib-display.exp: Disable test for remote targers.
8633
61ff14c6
JK
86342009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8635
8636 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
8637
cb4dce93
JK
86382009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8639
8640 Fix a racy FAIL.
8641 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
8642 code from `follow parent, print pids'.
8643 (`follow child, print pids', `follow parent, print pids'): Call it.
8644 Replace `gdb_test "break..."' by gdb_breakpoint.
8645
f7c60c5e
VP
86462009-03-13 Vladimir Prus <vladimir@codesourcery.com>
8647
8648 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 8649 sync and async modes.
f7c60c5e 8650
383ace49
JB
86512009-03-12 Joel Brobecker <brobecker@adacore.com>
8652
8653 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
8654 that was checked in by mistake. Remove loading of ada.exp, since
8655 this is not necessary in this case.
8656
4ce102af
JB
86572009-03-12 Joel Brobecker <brobecker@adacore.com>
8658
8659 * gdb.ada/ptype_arith_binop.exp: New testcase.
8660
529a2aef
JB
86612009-03-12 Joel Brobecker <brobecker@adacore.com>
8662
8663 * gdb.ada/mod_from_name: New testcase.
8664
8a38181c
JB
86652009-03-12 Joel Brobecker <brobecker@adacore.com>
8666
8667 * gdb.ada/tick_last_segv: New testcase.
8668
11436dee
VP
86692009-03-12 Vladimir Prus <vladimir@codesourcery.com>
8670
61ff14c6 8671 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 8672
1f31650a
VP
86732009-03-12 Vladimir Prus <vladimir@codesourcery.com>
8674
61ff14c6
JK
8675 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
8676 include the token in ^running and frame info in *stopped.
1f31650a 8677
a3247a22
PP
86782009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8679
8680 * solib-display.exp: New file.
8681 * solib-display-main.c: New file.
8682 * solib-display-lib.c: New file.
61ff14c6 8683
aae64587
PA
86842009-03-05 Pedro Alves <pedro@codesourcery.com>
8685
8686 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
8687
44aabfbc
JK
86882009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8689
8690 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
8691 (list_and_check_macro): Use more specific test name.
8692 (next to definition): Make the test names unique.
8693
c087fcd3
PM
86942009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
8695
8696 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 8697
c86cf029
VP
86982009-02-17 Vladimir Prus <vladimir@codesourcery.com>
8699
8700 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
8701 notifications.
8702 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
8703 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
8704 * lib/mi-support.exp (library_loaded_re): New.
8705 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
8706
3ea85240
VP
87072009-02-17 Vladimir Prus <vladimir@codesourcery.com>
8708
8709 * gdb.gdb/observer.exp: Use test_notification observer, not
8710 normal_stop, everywhere.
8711 (test_normal_stop_notifications): Rename to...
8712 (test_notifications): ...this.
8713 (test_observer_normal_stop): Rename to...
8714 (test_observer): ...this.
8715
1903f0e6
DE
87162009-02-16 Doug Evans <dje@google.com>
8717
8718 * gdb.arch/amd64-disp-step.S (test_int3): New test.
8719 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
8720 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
8721 (test_prefixed_syscall,test_int3): New tests.
8722 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
8723 (test_prefixed_syscall,test_int3): New tests.
8724
1d33d6ba
VP
87252009-02-14 Vladimir Prus <vladimir@codesourcery.com>
8726
3cb51905
AS
8727 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
8728 (mi_expect_interrupt): Likewise.
8729 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
8730 response.
1d33d6ba 8731
faafb047
PM
87322009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
8733
8734 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
8735 * gdb.base/pc-fp.exp (get_valueofx): Remove.
8736 Replace calls to get_valueofx by get_hexadecimal_valueof.
8737
417e16e2
PM
87382009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
8739
8740 * lib/gdb.exp (get_valueof): Accept anything as a return value.
8741 (get_integer_valueof): New procedure.
8742 (get_sizeof): Use new get_integer_value_of.
8743 * gdb.base/sizeof.exp: Replace all uses of get_valueof
8744 by get_integer_valueof.
8745
7065b901
TT
87462009-02-13 Tom Tromey <tromey@redhat.com>
8747
8748 * gdb.base/remote.exp (get_sizeof): Remove.
8749 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
8750 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
8751 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
8752 * lib/gdb.exp (get_valueof): Move from long_long.exp.
8753 (get_sizeof): Likewise.
8754
5d7cb8df
JK
87552009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8756
8757 PR fortran/9806
8758 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
8759
b2febfff
PP
87602009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8761
8762 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
8763
4aa995e1
PA
87642009-02-06 Pedro Alves <pedro@codesourcery.com>
8765
8766 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
8767
d8906c6f
TJB
87682009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
8769
8770 * gdb.python/python-cmd.exp: New file.
8771
ff4ab08d
TG
87722009-02-06 Tristan Gingold <gingold@adacore.com>
8773
8774 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
8775
aacd552b
TG
87762009-02-05 Tristan Gingold <gingold@adacore.com>
8777
8778 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
8779 pointer is dereferenced and use this signal name in regexp.
8780 * gdb.base/signull.exp: Ditto.
8781 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
8782 * gdb.base/signull.c (main): Ditto.
8783
08c637de
TJB
87842009-02-04 Tom Tromey <tromey@redhat.com>
8785 Thiago Jung Bauermann <bauerman@br.ibm.com>
8786
8787 * gdb.python/python-value.exp: Use `gdb.history' instead of
8788 `gdb.value_from_history'.
8789 (test_value_numeric_ops): Add test for conversion of enum constant.
8790 * gdb.python/python-value.c (enum e): New type.
8791 (evalue): New global.
8792 (main): Use argv.
8793
20261af8
JG
87942009-02-04 Jerome Guitton <guitton@adacore.com>
8795
8796 * gdb.ada/uninitialized_vars: New test program.
8797 * gdb.ada/uninitialized_vars.exp: New testcase.
8798
52e44b43
TT
87992009-02-02 Tom Tromey <tromey@redhat.com>
8800
8801 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
8802 * gdb.cp/pr2489.cc: Rename...
8803 * gdb.cp/pr9594.cc: ... to this.
8804
1c71341a
TT
88052009-02-02 Tom Tromey <tromey@redhat.com>
8806
8807 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
8808 * gdb.cp/pr2489.cc: New file.
8809 * gdb.cp/cpcompletion.exp: New file.
8810
a4295225
TT
88112009-02-02 Tom Tromey <tromey@redhat.com>
8812
8813 PR exp/9059:
8814 * gdb.cp/call-c.exp: Add regression test.
8815 * gdb.cp/call-c.cc (FooHandle): New typedef.
8816 (main): New variable 'handle'.
8817
592375cd
VP
88182009-01-30 Vladimir Prus <vladimir@codesourcery.com>
8819
8820 * lib/mi-support.exp (et_mi_thread_list)
8821 (check_mi_and_console_threads): Adjust for current thread in
8822 -thread-list-ids output.
8823
41447f92
VP
88242009-01-30 Vladimir Prus <vladimir@codesourcery.com>
8825
889bf7c5
PA
8826 * gdb.mi/mi-break.exp (test_disabled_creation): New.
8827 Call it.
41447f92 8828
35669430
DE
88292009-01-28 Doug Evans <dje@google.com>
8830
8831 * gdb.arch/amd64-disp-step.S: New file.
8832 * gdb.arch/amd64-disp-step.exp: New file.
8833 * gdb.arch/i386-disp-step.S: New file.
8834 * gdb.arch/i386-disp-step.exp: New file.
8835
09f00d9a
PM
88362009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
8837
8838 * gdb.base/find.exp: Set newline variable
8839 using quotes instead of braces to fix cygwin failures.
8840
1e8fb976
PA
88412009-01-23 Pedro Alves <pedro@codesourcery.com>
8842
8843 * gdb.base/radix.exp: Add tests to ensure that that set
8844 input-radix 0 and set output-radix 0 are really rejected.
8845
da061712
PA
88462009-01-23 Pedro Alves <pedro@codesourcery.com>
8847
8848 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
8849 copyright years.
8850
dd7e2d2b
PA
88512009-01-23 Pedro Alves <pedro@codesourcery.com>
8852
8853 PR gdb/9664:
8854 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
8855
392452f6
PA
88562009-01-22 Pedro Alves <pedro@codesourcery.com>
8857
8858 PR c++/9631:
8859 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
8860
8653e71c
PM
88612009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
8862
8863 * gdb.server/file-transfer.exp: Use EXEEXT variable for
8864 binfile definition to fix Windows OS failure.
8865
a12cc160
DJ
88662009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
8867
8868 PR gdb/9346
8869 * gdb.base/interrupt.c (sigint_handler): New.
8870 (main): Install a SIGINT handler if SIGNALS is defined. Exit
8871 on error.
8872 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
8873 Test "signal SIGINT".
8874
b89667eb
DE
88752009-01-19 Doug Evans <dje@google.com>
8876
8877 * gdb.base/break.exp: Update expected gdb output.
8878 * gdb.base/sepdebug.exp: Ditto.
8879 * gdb.mi/mi-syn-frame.exp: Ditto.
8880 * gdb.mi/mi2-syn-frame.exp: Ditto.
8881 * gdb.base/call-signal-resume.exp: New file.
8882 * gdb.base/call-signals.c: New file.
8883 * gdb.base/unwindonsignal.exp: New file.
8884 * gdb.base/unwindonsignal.c: New file.
8885 * gdb.threads/interrupted-hand-call.exp: New file.
8886 * gdb.threads/interrupted-hand-call.c: New file.
8887 * gdb.threads/thread-unwindonsignal.exp: New file.
8888
adb483fe
DJ
88892009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
8890
8891 * gdb.base/define.exp: Test defining and hooking prefix commands.
8892 * gdb.python/python.exp: Update test for "show user" output.
8893
60023297
JK
88942009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8895
8896 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
8897 now the output exactly, using less wildcards. Expect also the output
8898 of gfortran-4.3. Update for the f-valprint.c modification from
8899 2008-04-22.
8900 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
8901 Remove gdb_test test names where matching the command.
8902
ccc57cf9
PA
89032009-01-01 Pedro Alves <pedro@codesourcery.com>
8904
8905 PR breakpoints/9681:
8906 * gdb.base/watchpoint.exp: Add regression test.
8907
c7a6ca08
PA
89082008-12-31 Pedro Alves <pedro@codesourcery.com>
8909
8910 * gdb.threads/attach-into-signal.exp: Don't use
8911 gdb_suppress_entire_file.
8912 * gdb.threads/attach-stopped.exp: Ditto.
8913 * gdb.threads/attachstop-mt.exp: Ditto.
8914
3a031f65
PA
89152008-12-31 Pedro Alves <pedro@codesourcery.com>
8916
8917 PR gdb/8812:
8918 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
8919
09e6485f
PA
89202008-12-29 Pedro Alves <pedro@codesourcery.com>
8921
8922 PR gdb/7536:
8923 * gdb.base/radix.exp: Add tests to ensure invalid input radices
8924 and unsupported output radices are really rejected.
8925
0cd53049
JK
89262008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
8927
8928 * gdb.cp/punctuator.exp: Backslash the '$' signs.
8929
ba163c7e
TT
89302008-12-22 Tom Tromey <tromey@redhat.com>
8931
8932 * gdb.cp/punctuator.exp: New file.
8933
6f4de6c9
JK
89342008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8935
8936 * gdb.base/completion.exp (Completing non-existing component): New test.
8937
0f34d0b4
JK
89382008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8939
8940 Fix for PR gdb/8648.
8941 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
8942 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
8943 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
8944 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
8945
db2ad4c3
JK
89462008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8947
8948 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
8949
bb5ef15e
DP
89502008-12-16 Christophe Lyon <christophe.lyon@st.com>
8951
8952 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
8953 compiler actually generate code at the expected line number.
8954
90142adc
JZ
89552008-12-15 Jie Zhang <jie.zhang@analog.com>
8956
8957 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
8958
fad6eecd
TT
89592008-12-12 Tom Tromey <tromey@redhat.com>
8960
8961 * gdb.base/commands.exp (redefine_hook_test): New proc.
8962 Call it.
8963
17c8aaf5
TT
89642008-12-11 Tom Tromey <tromey@redhat.com>
8965
8966 * gdb.base/macscp.exp: New regression test.
8967
7c8adf68
TT
89682008-12-11 Tom Tromey <tromey@redhat.com>
8969
8970 * gdb.base/macscp.exp: Print "address.addr".
8971 * gdb.base/macscp1.c (struct outer): New struct.
8972 (address): New global.
8973
b05dcbb7
TT
89742008-12-09 Tom Tromey <tromey@redhat.com>
8975
8976 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
8977 Call it.
8978
2d476de1
DE
89792008-12-04 Doug Evans <dje@google.com>
8980
8981 * gdb.server/ext-run.exp: Relax regexp for init program.
8982
87bdc959
TG
89832008-12-03 Tristan Gingold <gingold@adacore.com>
8984
8985 * gdb.base/macscp.exp: Generate an object file during compilation
8986 to work around Darwin dsymutil limitations.
8987
e0740f77
JK
89882008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8989
8990 Test resolving external references to TLS variables.
8991 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
8992 FILE2_THREAD_LOCAL.
8993 (testfile2, srcfile2): New variables.
8994 * gdb.threads/tls.c (file2_thread_local)
8995 (function_referencing_file2_thread_local): New.
8996 * gdb.threads/tls2.c: New file.
8997
67f0aac5
JB
89982008-11-28 Joel Brobecker <brobecker@adacore.com>
8999
9000 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
9001 rather than integer, as integer might not be big enough when
9002 on 64bit targets.
67f0aac5 9003
c332165e
JG
90042008-11-27 Jerome Guitton <guitton@adacore.com>
9005
9006 * gdb.cp/formatted-ref.exp: Add equality test.
9007 * gdb.ada/formatted_ref.exp: Ditto.
9008
fc9b693c
JK
90092008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9010
9011 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
9012 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
9013
a9c64011
AS
90142008-11-20 Andreas Schwab <schwab@suse.de>
9015
9016 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
9017 matching syscall entry point.
9018 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
9019 (tcatch_vfork_then_child_follow): Likewise. Finish through
9020 vfork even if we stopped at the syscall trampoline.
9021
e2fd701e
DE
90222008-11-20 Doug Evans <dje@google.com>
9023
9024 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
9025
69abc51c
TJB
90262008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
9027
9028 * gdb.arch/ppc-dfp.exp: New file.
9029 * gdb.arch/ppc-dfp.c: New file.
9030
c14c28ba
PP
90312008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9032
9033 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 9034
2e74121d
DE
90352008-11-17 Doug Evans <dje@google.com>
9036
9037 * gdb.mi/mi-syn-frame.exp: Update expected output.
9038 * gdb.mi/mi2-syn-frame.exp: Update expected output.
9039
66bb093b
VP
90402008-11-17 Vladimir Prus <vladimir@codesourcery.com>
9041
9042 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
9043 "thread N" results in =thread-selected.
9044 * lib/mi-support (mi_run_cmd, mi_expect_stop)
9045 (mi_send_resuming_command_raw): Be prepared for
9046 =thread-selected.
9047
3d043ef6
VP
90482008-11-17 Vladimir Prus <vladimir@codesourcery.com>
9049
a9c64011
AS
9050 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
9051 * lib/mi-support.exp: Likewise.
3d043ef6 9052
808104c8
JB
90532008-11-16 Joel Brobecker <brobecker@adacore.com>
9054
9055 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
9056 commands from the expected output for "help catch".
9057
00b22944
JB
90582008-11-15 Joel Brobecker <brobecker@adacore.com>
9059
9060 * gdb.ada/int_deref.exp: New testcase.
9061
59669435
TT
90622008-11-14 Nick Roberts <nickrob@snap.net.nz>
9063
9064 * gdb.mi/gdb2549.exp: New file.
9065
de04a248
DE
90662008-11-11 Doug Evans <dje@google.com>
9067
9068 * gdb.base/callexit.exp: New file.
9069 * gdb.base/callexit.c: New file.
9070
6b8ce727
DE
90712008-11-10 Doug Evans <dje@google.com>
9072
9073 * lib/gdb.exp (GDBFLAGS): Move -nx ...
9074 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
9075 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
9076 (default_gdb_start,default_gdb_exit): Ditto.
9077 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
9078 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
9079 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
9080 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
9081 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
9082 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
9083
1b14b8aa
AS
90842008-11-03 Andreas Schwab <schwab@suse.de>
9085
9086 * gdb.base/hashline2.exp: Fix typo.
9087 * gdb.base/hashline3.exp: Likewise.
9088
f3134b88
TT
90892008-10-30 Tom Tromey <tromey@redhat.com>
9090
9091 * gdb.base/pointers.exp: Add test.
9092 * gdb.base/pointers.c (k, S): New typedefs.
9093 (instance): New global.
9094
c2226152
AS
90952008-10-30 Andreas Schwab <schwab@suse.de>
9096
9097 * gdb.base/args.exp: Add tests for newlines.
9098
462f405c
JB
90992008-10-30 Joel Brobecker <brobecker@adacore.com>
9100
9101 gdb.base/foll-exec.exp: Update the expected output of a couple
9102 of "info breakpoints" tests.
9103
79a45b7d
TT
91042008-10-28 Tom Tromey <tromey@redhat.com>
9105
9106 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
9107
adc13a14
PA
91082008-10-24 Pedro Alves <pedro@codesourcery.com>
9109
9110 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
9111 gdb_start_cmd.
9112 Use runto_main before any test that requires execution.
9113
252fbfc8
PA
91142008-10-23 Pedro Alves <pedro@codesourcery.com>
9115
9116 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
9117 instead of SIGINT.
9118
28148e3d
JB
91192008-10-22 Joel Brobecker <brobecker@adacore.com>
9120
9121 * gdb.base/completion.exp: Update expected output following
9122 the addition of the "info tasks" command.
9123
c209f847
TT
91242008-10-22 Tom Tromey <tromey@redhat.com>
9125
9126 * gdb.base/exprs.exp (test_expr): Add test for string
9127 concatenation.
9128
f177e350
PA
91292008-10-19 Pedro Alves <pedro@codesourcery.com>
9130
9131 * configure.ac: Output gdb.python/Makefile.
9132 * configure: Regenerate.
9133 * gdb.python/Makefile.in: New.
9134
cce89356
JB
91352008-10-16 Joel Brobecker <brobecker@adacore.com>
9136
9137 * gdb.base/foll-fork.exp: Adjust the expected output to match
9138 the new description for fork/vfork catchpoints in the "info
9139 breakpoints" output.
9140
176d289d
TJB
91412008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
9142
9143 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
9144
a08702d6
TJB
91452008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
9146
9147 * gdb.python/python-value.c: New file.
9148 * gdb.python/python-value.exp: New file.
9149
1c5cfe86
PA
91502008-10-15 Pedro Alves <pedro@codesourcery.com>
9151
9152 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
9153
5a98ad69
DP
91542008-10-15 Denis Pilat <denis.pilat@st.com>
9155
41702f1b 9156 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 9157
dcb1a1e2
TT
91582008-10-09 Tom Tromey <tromey@redhat.com>
9159
9160 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
9161 'fprintf' and 'stderr'.
9162
9124fe48
JB
91632008-10-07 Joel Brobecker <brobecker@adacore.com>
9164
9165 * gdb.ada/ref_tick_size.exp: New testcase.
9166
45452591
DE
91672008-10-06 Doug Evans <dje@google.com>
9168
9169 * gdb.dwarf2/dw2-cu-size.exp: New file.
9170 * gdb.dwarf2/dw2-cu-size.S: New file.
9171
9172 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
9173 .Ltype_int for clarity.
9174
4fc5b208
PP
91752008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
9176
9177 PR gdb/2384:
9178 * gdb.cp/gdb2384.exp: Extended to test more cases.
9179 * gdb.cp/gdb2384.cc: Likewise.
9180 * gdb.cp/gdb2384-base.h: Likewise.
9181 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 9182
d78df370
JK
91832008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9184
9185 * gdb.base/maint.exp (maint print type): Remove printing
9186 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
9187
9a044a89
TT
91882008-09-30 Tom Tromey <tromey@redhat.com>
9189
9190 * gdb.base/macscp.exp: Add completion tests.
9191 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
9192 (TWENTY_THREE): Likewise.
9193 (FORTY_EIGHT): Likewise.
9194
506800a9
TT
91952008-09-30 Tom Tromey <tromey@redhat.com>
9196
9197 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
9198 everywhere.
9199 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
9200
1a6f01b5
JK
92012008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9202
9203 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
9204 testcase is derived from. Fix racy dependency on an expected PID
9205 number. No longer support the testcase on Linux kernel 2.4.x.
9206
2fae03e8
TT
92072008-09-27 Tom Tromey <tromey@redhat.com>
9208
9209 * gdb.base/macscp.exp: Add tests for stringification, splicing,
9210 and varargs.
9211
1ad15515
PA
92122008-09-22 Pedro Alves <pedro@codesourcery.com>
9213
9214 * lib/mi-support.exp (mi_expect_interrupt): New.
9215 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
9216 from gdb.mi/mi-nonstop.exp.
9217 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
9218 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
9219 lib/mi-support.exp.
9220 Use mi_check_thread_states throughout. Avoid ".*" and do not
9221 require an anchor after -exec-run.
9222
d0b76dc6
DJ
92232008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
9224
9225 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
9226 stop is pending. Avoid ".*" when two stops are pending.
9227 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
9228 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
9229 newlines in fullnames.
9230 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
9231 (mi_expect_stop): Update comments. Only anchor in sync mode.
9232 Do not match newlines.
9233 (mi_send_resuming_command_raw): Always return status.
9234 (mi_get_stop_line): Do not match more than one line by accident.
9235 Only anchor in sync mode.
9236 (mi_run_inline_test): If -exec-next fails, give up.
9237
9990c830
UW
92382008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9239
9240 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
9241 on SPU.
9242
ebcf6f00
JB
92432008-09-10 Joel Brobecker <brobecker@adacore.com>
9244
9245 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
9246
b6db24e5
JB
92472008-09-10 Joel Brobecker <brobecker@adacore.com>
9248
9249 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
9250 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
9251 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
9252 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
9253 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
9254 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
9255 gdb.ada/interface.exp, gdb.ada/null_array.exp,
9256 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
9257 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
9258 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
9259 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
9260 Include the "= " sequence in the expected output of print tests.
9261
2bf448e0
JB
92622008-09-10 Joel Brobecker <brobecker@adacore.com>
9263
9264 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
9265 description for boolean types.
9266
d51fd4c8
PA
92672008-09-09 Pedro Alves <pedro@codesourcery.com>
9268
9269 * gdb.base/hook-stop-continue.c: New.
9270 * gdb.base/hook-stop-continue.exp: New.
9271
694182d2
DJ
92722008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
9273
9274 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
9275
3b8a7fc0
JG
92762008-09-08 Jerome Guitton <guitton@adacore.com>
9277
9278 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
9279 (stack_check_probe_2, stack_check_probe_loop_1)
9280 (stack_check_probe_loop_2): New functions.
9281 (main): Add call to these new functions.
9282 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
9283 functions, check that the breakpoint is inserted at the appropriate
9284 location.
9285 (insert_breakpoint): Slightly refine this procedure so that it can
9286 be called several times in the test.
9287
96cc0ae8
JG
92882008-09-08 Jerome Guitton <guitton@adacore.com>
9289
9290 * gdb.base/stack-checking.c: New file.
9291 * gdb.base/stack-checking.exp: New file.
9292
1f08b409
TJB
92932008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
9294
9295 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
9296 * gdb.arch/altivec-regs.exp: Likewise.
9297 * gdb.arch/vsx-regs.exp: Likewise.
9298
3099e1c4
TJB
92992008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
9300
9301 * gdb.arch/ppc-fp.exp: New file.
9302 * gdb.arch/ppc-fp.c: New file.
9303
cc69bfc1
PP
93042008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9305
9306 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
9307 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 9308
b02a33db
MS
93092008-09-04 Michael Snyder <msnyder@vmware.com>
9310
9311 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
9312 as "at" (for non-debug functions such as _start).
9313
2992cbe0
UW
93142008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9315
9316 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
9317 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
9318 software watchpoints.
9319 * gdb.base/watch_thread_num.exp: Likewise.
9320
514f746b
AR
93212008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
9322
9323 * gdb.arch/i386-bp_permanent.exp: New test.
9324
876cecd0
TT
93252008-08-24 Tom Tromey <tromey@redhat.com>
9326
9327 * gdb.base/maint.exp: Update "maint print type".
9328
80f73d71
VP
93292008-08-21 Vladimir Prus <vladimir@codesourcery.com>
9330
9331 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
9332 support. Adjust the order of "*running" notifications.
9333 * gdb.mi/non-stop.c: Don't cast from int to void* and
9334 back.
9335
d9c78d7d
MK
93362008-08-20 Mark Kettenis <kettenis@gnu.org>
9337
9338 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
9339 expect to find it in the "info frame" output.
9340
97a2d1d3
DJ
93412008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
9342
9343 * gdb.base/interp.exp: Always consume both prompts.
9344
b96e2927
PA
93452008-08-20 Pedro Alves <pedro@codesourcery.com>
9346
9347 * gdb.base/pending.exp: Test pending breakpoints without symbols
9348 loaded.
9349
8cf6e61a
VP
93502008-08-19 Vladimir Prus <vladimir@codesourcery.com>
9351
9352 * lib/mi-support.exp (mi_expect_stop): Produce
9353 more details on failures.
9354 * gdb.mi/mi-nonstop.exp: New.
9355 * gdb.mi/non-stop.c: New.
9356
c6ebd6cf
VP
93572008-08-19 Vladimir Prus <vladimir@codesourcery.com>
9358
a9c64011
AS
9359 * gdb.mi/mi-async.exp: Use 'set target-async'.
9360 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 9361
46a9b8ed
DJ
93622008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
9363
9364 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
9365
44feb3ce
TT
93662008-08-17 Tom Tromey <tromey@redhat.com>
9367
9368 * gdb.base/help.exp (help catch): Rewrite.
9369
311a4e6b
TJB
93702008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
9371
9372 * gdb.base/define.exp: Test indented command documentation.
9373 * gdb.python/python.exp: Test indented multi-line command.
9374
604c2f83
LM
93752008-08-15 Luis Machado <luisgpm@br.ibm.com>
9376
9377 * testsuite/gdb.arch/vsx-regs.c: New source file.
9378 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
9379 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
9380
886a217c
TT
93812008-08-14 Tom Tromey <tromey@redhat.com>
9382
9383 * gdb.base/macscp.exp: Add regression test for "macro define" or
9384 "macro undef" with no arguments.
9385
c814a4f3
PP
93862008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9387
9388 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 9389
12ab8a60
UW
93902008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9391
9392 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
9393
d57a3c85
TJB
93942008-08-06 Tom Tromey <tromey@redhat.com>
9395
9396 * gdb.python/python.exp: New file.
9397
c7b778ff
JK
93982008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9399
9400 Fix for PR gdb/1543.
9401 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
9402 $LOCATION.
9403 (location): New variable.
9404 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
9405 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
9406 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
9407 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
9408 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
9409 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
9410 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
9411 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
9412 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
9413 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
9414 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
9415 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
9416 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
9417 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
9418 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
9419 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
9420 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
9421 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
9422 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
9423 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
9424 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
9425 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
9426 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
9427 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
9428 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
9429 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
9430 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
9431 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
9432 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
9433 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
9434 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
9435 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
9436 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
9437 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
9438 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
9439 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
9440 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
9441 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
9442 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
9443 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
9444 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
9445 gdb.base/type-opaque.exp, gdb.base/until.exp,
9446 gdb.base/value-double-free.c, gdb.base/varargs.exp,
9447 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
9448 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
9449 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
9450 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
9451 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
9452 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
9453 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
9454 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9455 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
9456 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
9457 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
9458 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
9459 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
9460 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
9461 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
9462 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
9463 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
9464 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
9465 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
9466 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
9467 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
9468 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
9469 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
9470 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
9471 gdb.pascal/types.exp, gdb.stabs/weird.exp,
9472 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
9473 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
9474 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
9475 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
9476 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
9477 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
9478 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
9479 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
9480 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
9481 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
9482 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
9483 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
9484 lib/mi-support.exp, lib/trace-support.exp: Remove reference
9485 to bug-gdb@prep.ai.mit.edu .
9486
5e06a3d1
VP
94872008-07-31 Vladimir Prus <vladimir@codesourcery.com>
9488
9489 * lib/mi-support.exp (mi_load_shlibs): New.
9490 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
9491
9d81d21b
VP
94922008-07-30 Vladimir Prus <vladimir@codesourcery.com>
9493
9494 * lib/mi-support.exp (get_mi_thread_list)
9495 (check_mi_and_console_threads): New, moved from ...
9496 * gdb.mi/mi-pthread.exp: ...here.
9497 * gdb.mi/gdb669.exp (get_mi_thread_list)
9498 (check_mi_and_console_threads): Delete.
9499 * gdb.mi/mi2-pthread.exp: Likewise.
9500
bae98fe0
TT
95012008-07-28 Tom Tromey <tromey@redhat.com>
9502
9503 * Makefile.in (just-check): Remove. Move body to...
9504 (check): ... here.
9505
57380f4e
DJ
95062008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9507
9508 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
9509 Add a test for duplicated SIGINTs.
9510
e09490f1
DJ
95112008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9512
9513 * gdb.threads/schedlock.exp (get_args): Update to work for any
9514 value of NUM.
9515 (Top level): Report the number of threads that did not resume.
9516
6387b45f
DJ
95172008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9518
9519 * gdb.dwarf2/dw2-compressed.S: Also define __start.
9520
62f64ff2
DJ
95212008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9522
9523 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
9524 non-MI prompt.
9525
fa8de41e
TT
95262008-07-26 Tom Tromey <tromey@redhat.com>
9527
9528 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
9529 (function_struct, function_struct_ptr): New globals.
9530 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
9531 function pointer in a struct.
9532
ccb3ac8a
TT
95332008-07-26 Tom Tromey <tromey@redhat.com>
9534
9535 * gdb.base/macscp.exp: Add test for macro lexing bug.
9536
d7d9f01e
TT
95372008-07-18 Tom Tromey <tromey@redhat.com>
9538
9539 * gdb.base/macscp.exp: Add macro tests.
9540
9bf07184
PP
95412008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
9542
9543 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
9544
becf6477
PP
95452008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
9546
9547 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
9548
0709f7d3
PP
95492008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
9550
9551 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 9552
7093c834
PP
95532008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
9554
9555 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 9556
b432ffe3
JK
95572008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9558
9559 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
9560
b1a268e5
VP
95612008-07-12 Vladimir Prus <vladimir@codesourcery.com>
9562
9563 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
9564
e2995f8e
KB
95652008-07-11 Kevin Buettner <kevinb@redhat.com>
9566
9567 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
9568 of regexp to account for changes made to GDB in the printing of
9569 byte vectors.
9570
14032a66
TT
95712008-07-11 Tom Tromey <tromey@redhat.com>
9572
9573 * gdb.base/completion.exp: Add 'help' completion test.
9574
981505ef
JK
95752008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9576
9577 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
9578
10568435
JK
95792008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9580
9581 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
9582
4487aabf
PA
95832008-07-09 Pedro Alves <pedro@codesourcery.com>
9584
9585 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
9586
a4a9b1c4
PA
95872008-07-09 Pedro Alves <pedro@codesourcery.com>
9588
9589 * gdb.base/fullname.exp: Restore pwd if compiling failed.
9590
3c3185ac
JK
95912008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9592
9593 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
9594
7ebd49dc
VP
95952008-06-28 Vladimir Prus <vladimir@codesourcery.com>
9596
9597 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
9598 previous commit. Add a comment.
9599
84e46146
PA
96002008-06-28 Pedro Alves <pedro@codesourcery.com>
9601
9602 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
9603
0f8d4a2f
VP
96042008-06-28 Vladimir Prus <vladimir@codesourcery.com>
9605
9606 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
9607
f747e0ce
PA
96082008-06-27 Pedro Alves <pedro@codesourcery.com>
9609
9610 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
9611 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
9612 compiling an executable, link in an object that forces unbuffered
9613 output.
9614 * lib/set_unbuffered_mode.c: New file.
9615
734a5c36
JK
96162008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9617
9618 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
9619
a2840c35
VP
96202008-06-25 Vladimir Prus <vladimir@codesourcery.com>
9621
a9c64011
AS
9622 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
9623 mi_expect_stop.
9624 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
9625 Demand that *running is output.
9626 (detect_async): Perform checking every time.
9627 (mi_send_resuming_command): Extract everything into...
9628 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
9629 (mi_expect_stop): Don't accept any output before *stopped.
9630
6ae37fef
VP
96312008-06-13 Vladimir Prus <vladimir@codesourcery.com>
9632
9633 Robustify mi-simplerun.
a9c64011
AS
9634 * gdb.mi/basics.c (main): Add a call to sleep.
9635 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
9636 * gdb.mi/mi2-cli.exp: Likewise.
9637 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 9638
b4aa76f0 96392008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
9640
9641 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
9642
e1ac3328
VP
96432008-06-10 Vladimir Prus <vladimir@codesourcery.com>
9644
a9c64011
AS
9645 * gdb.mi/mi-console.exp: Adjust.
9646 * gdb.mi/mi-syn-frame.exp: Adjust.
9647 * gdb.mi/mi2-console.exp: Adjust.
9648 * gdb.mi/mi2-syn-frame.exp: Adjust.
9649 * lib/mi-support.exp (mi_run_cmd): Adjust.
9650 (mi_send_resuming_command): Adjust.
e1ac3328 9651
f7f9a841
VP
96522008-06-10 Vladimir Prus <vladimir@codesourcery.com>
9653
9654 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
9655 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
9656 testing of stopped.
9657 * gdb.mi/mi2-syn-frame.exp: Likewise.
9658 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
9659 (async, detect_async): New.
9660 (mi_expect_stop, mi_continue_to_line): Adjust expectation
9661 depending on if we're running in sync or async mode.
f7f9a841 9662
37cd5d19
TT
96632008-06-09 Tom Tromey <tromey@redhat.com>
9664
9665 * gdb.base/completion.exp: New tests for field name completion
9666 with spaces, and field name completion with '->'.
9667
65d12d83
TT
96682008-06-06 Tom Tromey <tromey@redhat.com>
9669
9670 * gdb.base/break1.c (struct some_struct): New struct.
9671 (values): New global.
9672 * gdb.base/completion.exp: Add field name completion test.
9673
ebfe2e3f
PP
96742008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9675
9676 * gdb.cp/call-c.exp: Test for incorrect handling of reference
9677 to pointer.
9678 * gdb.cp/call-c.cc: Likewise.
9679
bcf6fc3a
NR
96802008-06-06 Nick Roberts <nickrob@snap.net.nz>
9681
9682 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
9683 annotation.
9684
49fd4a42 96852008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 9686 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
9687
9688 * gdb.threads/execl.c, gdb.threads/execl1.c,
9689 gdb.threads/execl.exp: New tests.
a9c64011 9690
8a34ac3f
AR
96912008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
9692 Daniel Jacobowitz <dan@codesourcery.com>
9693
9694 * gdb.cp/exception.exp: Activate test, make it work with pending
9695 catchpoints.
9696
86ae69ef
JK
96972008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9698
9699 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
9700
f7f9ae2c
VP
97012008-05-28 Vladimir Prus <vladimir@codesourcery.com>
9702
a9c64011
AS
9703 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
9704 now printed.
9705 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 9706
2a2d4dc3
AS
97072008-05-27 Andreas Schwab <schwab@suse.de>
9708
9709 * gdb.base/frame-args.exp: Handle arguments that are optimized
9710 out.
9711
5099e4d9
LM
97122008-05-26 Luis Machado <luisgpm@br.ibm.com>
9713
9714 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
9715 quiet for ppc32 and group options into a single variable.
9716
d9c36a91
JB
97172008-05-23 Joel Brobecker <brobecker@adacore.com>
9718
9719 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
9720 of zero-size elements.
9721 * gdb.ada/null_array.exp: Test printing this new array.
9722
103a8671
JK
97232008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9724
9725 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
9726
07a4cc1a 97272008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
9728
9729 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
9730 of the "finish" command.
9731
55f996a7
NR
97322008-05-21 Nick Roberts <nickrob@snap.net.nz>
9733
9734 * gdb.base/annota1.exp: Test for new annotation.
9735
907fc202
UW
97362008-05-16 Pedro Alves <pedro@codesourcery.com>
9737
9738 * gdb.base/fixsection.exp: New file.
9739 * gdb.base/fixsection0.c: New file.
9740 * gdb.base/fixsection1.c: New file.
9741
e8f97270
UW
97422008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9743
9744 * gdb.base/annota1.exp: Accept printf@... in place of printf.
9745 * gdb.base/annota3.exp: Likewise.
9746
ac0bb574
NF
97472008-05-13 Nathan Froyd <froydnj@codesourcery.com>
9748
9749 * gdb.base/watch_thread_num.exp: Don't run tests that require
9750 watchpoints if the target doesn't support them.
9751
6fadd07a
DE
97522008-05-12 Doug Evans <dje@google.com>
9753
9754 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
9755
6e9a4a30
JB
97562008-05-09 Joel Brobecker <brobecker@adacore.com>
9757
9758 * gdb.ada/assign_1.exp: New testcase.
9759
08388c79
DE
97602008-05-09 Doug Evans <dje@google.com>
9761
a3c83fae
DE
9762 * gdb.base/find.exp: New file.
9763 * gdb.base/find.c: New file.
08388c79 9764
bd5ddfe8
DJ
97652008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
9766
9767 * gdb.base/commands.exp (watchpoint_command_test): Handle
9768 gdb,no_hardware_watchpoints.
9769 * gdb.base/float.exp: Allow ARM targets without floating point.
9770 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
9771
b5dd68e2 97722008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 9773 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
9774
9775 * gdb.ada/lang_switch: New test program.
9776 * gdb.ada/lang_switch.exp: New testcase.
9777
382d13d1
DE
97782008-05-05 Doug Evans <dje@google.com>
9779
9780 * gdb.base/help.exp (disassemble): Update expected help text.
9781
9dd789d0
PA
97822008-05-04 Pedro Alves <pedro@codesourcery.com>
9783
9784 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
9785
611c83ae
PA
97862008-05-04 Pedro Alves <pedro@codesourcery.com>
9787
9788 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
9789 different times.
9790
ff013f42
JK
97912008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9792
9793 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
9794 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
9795 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
9796 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
9797
96dff6a2
VP
97982008-05-04 Vladimir Prus <vladimir@codesourcery.com>
9799
9800 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
9801 notification to appear.
9802
55cd6f92
DJ
98032008-05-04 Daniel Jacobowitz <dan@debian.org>
9804
9805 * gdb.base/fullname.c: New file.
9806 * gdb.base/fullname.exp: New file.
9807 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
9808
d705c43c
PA
98092008-05-03 Pedro Alves <pedro@codesourcery.com>
9810
9811 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
9812 expressions with macros.
9813
333222e1
JK
98142008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9815
9816 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
9817
5ac01682
DJ
98182008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
9819
9820 * gdb.base/completion.exp: Handle lack of other symbols beginning
9821 with "a".
9822
9823 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
9824
237fc4c9
PA
98252008-05-02 Jim Blandy <jimb@codesourcery.com>
9826
9827 * gdb.asm/asmsrc1.s: Add scratch space.
9828
ed5e9466
DJ
98292008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9830 Daniel Jacobowitz <dan@codesourcery.com>
9831
9832 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
9833 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
9834 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
9835
b39cc962
DJ
98362007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
9837
9838 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
9839
36d520f5
JB
98402008-05-01 Joel Brobecker <brobecker@adacore.com>
9841
9842 * gdb.base/info-target.exp: New testcase.
9843
8d4e3071
DJ
98442008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
9845
9846 * gdb.cp/hang.exp: Use .cc instead of .C.
9847 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
9848 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
9849
6f3f3097
DJ
98502008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
9851
9852 * gdb.base/gdb1250.exp: Remove perror.
9853 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
9854
5550a914
PA
98552008-04-30 Pedro Alves <pedro@codesourcery.com>
9856
9857 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
9858 .2byte.
9859
d848e687
DJ
98602008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
9861
9862 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
9863 (maybe_kfail): New.
9864
93b5768b
PA
98652008-04-25 Pedro Alves <pedro@codesourcery.com>
9866
9867 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
9868
721c02de
VP
98692008-04-24 Vladimir Prus <vladimir@codesourcery.com>
9870
a9c64011
AS
9871 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
9872 * gdb.mi/mi2-syn-frame.exp: Likewise.
9873 * lib/mi-support.exp: Likewise.
721c02de 9874
74960c60
VP
98752008-04-24 Vladimir Prus <vladimir@codesourcery.com>
9876
9877 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
9878 to specify regexp for the location to stop at.
9879 * gdb.base/break-always.c: New.
9880 * gdb.base/break-always.exp: New.
9881
d24317b4
VP
98822008-04-24 Vladimir Prus <vladimir@codesourcery.com>
9883
9884 * lib/mi-support.exp (mi_runto_helper): Adjust
9885 for the original-location field.
9886 (mi_create_breakpoint, mi_list_breakpoints): New.
9887 * gdb.mi/mi-break.exp: Adjust.
9888 * gdb.mi/mi2-break.exp: Adjust.
9889 * gdb.mi/mi-pending.exp: Adjust.
9890 * gdb.mi/mi-simplerun.exp: Adjust.
9891 * gdb.mi/mi2-simplerun.exp: Adjust.
9892 * gdb.mi/mi-syn-frame.exp: Adjust.
9893 * gdb.mi/mi2-syn-frame.exp: Adjust.
9894 * gdb.mi/mi-until.exp: Adjust.
9895 * gdb.mi/mi2-until.exp: Adjust.
9896 * gdb.mi/mi-var-display.exp: Adjust.
9897 * gdb.mi/mi2-var-display.exp: Adjust.
9898 * gdb.mi/mi-watch.exp: Adjust.
9899 * gdb.mi/mi2-watch.exp: Adjust.
9900
fdc59709 99012008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 9902
a9c64011
AS
9903 * aclocal.m4: Add override.m4.
9904 * configure: Regenerate.
fdc59709 9905
8e91f023
VP
99062008-04-19 Vladimir Prus <vladimir@codesourcery.com>
9907
9908 * gdb.mi/var-cmd.c (do_at_tests): Verify that
9909 '-var-update --all-values' reports new value even the type
9910 of a variable object has changed.
9911
233a11ab
CS
99122008-04-18 Craig Silverstein <csilvers@google.com>
9913
9914 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
9915 files.
d24317b4 9916
9c1137ad
JB
99172008-04-18 Joel Brobecker <brobecker@adacore.com>
9918
9919 * gdb.ada/atomic_enum: New test program.
9920 * gdb.ada/atomic_enum.exp: New testcase.
9921
66d0bbc7
DE
99222008-04-17 Doug Evans <dje@google.com>
9923
9924 * gdb.opt/Makefile.in: Fix whitespace.
9925
100906b0
UW
99262008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
9927
9928 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
9929
4584e32e
DE
99302008-04-17 Doug Evans <dje@google.com>
9931
9932 * gdb.base/hashline1.exp: New testcase.
9933 * gdb.base/hashline2.exp: New testcase.
9934 * gdb.base/hashline2.exp: New testcase.
9935
0a320680
PA
99362008-04-17 Pedro Alves <pedro@codesourcery.com>
9937
9938 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
9939
18ac113b
AR
99402008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
9941
9942 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
9943 temporary breakpoint to match "Temporary breakpoint".
9944 * gdb.base/break.exp (delete_breakpoints): Likewise.
9945 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
9946 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
9947 * gdb.base/display.exp: Likewise.
9948 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
9949 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
9950 * gdb.base/restore.exp (restore_tests): Likewise.
9951 * gdb.base/sepdebug.exp: Likewise.
9952 * gdb.base/watchpoint.exp: Likewise.
9953 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
9954 * gdb.mi/mi-pending.exp: Likewise.
9955 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
9956 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
9957 * gdb.mi/mi-var-cmd.exp: Likewise.
9958 * gdb.mi/mi-var-display.exp: Likewise.
9959 * gdb.mi/mi2-cli.exp: Likewise.
9960 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
9961 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
9962 * gdb.mi/mi2-var-display.exp: Likewise.
9963 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
9964 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
9965 new "disp" field.
a9c64011 9966 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
9967 reason. This is to support fix for PR2424.
9968
add38693
JK
99692008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9970
9971 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
9972
fcacd99f
VP
99732008-04-13 Vladimir Prus <vladimir@codesourcery.com>
9974
9975 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 9976 field. Add more floating varobj tests.
fcacd99f 9977 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
9978 field.
9979 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
9980 (main): Call do_at_tests.
9981 * lib/mi-support.exp (mi_create_floating_varobj)
9982 (mi_varobj_update_with_type_change): New.
fcacd99f 9983
de051565
MK
99842008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
9985
9986 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
9987 option of -var-evaluate-expression.
9988 * gdb.mi/mi2-var-display.exp: Likewise.
9989
dbc52822
VP
99902008-04-07 Vladimir Prus <vladimir@codesourcery.com>
9991
9992 Introduce test setup helpers.
a9c64011
AS
9993 * lib/gdb.exp (build_executable, clean_restart)
9994 (prepare_for_testing): New.
9995 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
9996 * gdb.base/return.exp: Likewise.
9997 * gdb.base/ending-run.exp: Likewise.
dbc52822 9998
473591da
NR
99992008-04-07 Nick Roberts <nickrob@snap.net.nz>
10000
10001 * gdb.mi/mi-async.exp: New test for asynchronous Machine
10002 Interface (MI) responses.
10003
2b2d9e11
VP
100042008-04-06 Vladimir Prus <vladimir@codesourcery.com>
10005
a9c64011
AS
10006 * gdb.cp/breakpoint.cc: New code to test conditions involving
10007 member variables.
10008 * gdb.cp/breakpoint.exp: Test condition involving member
10009 variables.
2b2d9e11 10010
bb378428
VP
100112008-04-05 Vladimir Prus <vladimir@codesourcery.com>
10012
10013 * lib/mi-support.exp (mi_expect_stop): New.
10014 (mi_run_cmd): Change the
10015 token. Use mi_send_resuming_command, use
10016 mi_expect_stop.
10017 (mi_execute_to_helper): Rename to mi_execute_to.
10018 (mi_send_resuming_command): Add more error patterns.
10019 (mi_wait_for_stop): Renamed to...
10020 (mi_get_stop_line): ...this.
10021 (mi_run_inline_test): Adjust.
10022
10023 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
10024 * gdb.mi/mi-console.exp: Likewise.
10025 * gdb.mi/mi-pending.exp: Likewise.
10026 * gdb.mi/mi-simplerun.exp: Likewise.
10027 * gdb.mi/mi-stack.exp: Likewise.
10028 * gdb.mi/mi-stepi.exp: Likewise.
10029 * gdb.mi/mi-syn-frame.exp: Add comment.
10030 * gdb.mi/mi-until.exp: Likewise.
10031 * gdb.mi/mi-var-display.exp: Likewise.
10032 * gdb.mi/mi-watch.exp: Likewise.
10033 * gdb.mi/mi2-cli.exp: Likewise.
10034 * gdb.mi/mi2-console.exp: Likewise.
10035 * gdb.mi/mi2-simplerun.exp: Likewise.
10036 * gdb.mi/mi2-stack.exp: Likewise.
10037 * gdb.mi/mi2-stepi.exp: Likewise.
10038 * gdb.mi/mi2-until.exp: Likewise.
10039 * gdb.mi/mi2-var-display.exp: Likewise.
10040 * gdb.mi/mi2-watch.exp: Likewise.
10041
62172bb9
UW
100422008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10043
10044 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
10045
10046 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
10047
a13e061a
PA
100482008-04-04 Pedro Alves <pedro@codesourcery.com>
10049
10050 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
10051 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
10052 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
10053 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
10054 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
10055 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
10056 expect an mi error duplicated in stderr.
10057
eae06beb
JB
100582008-04-03 Joel Brobecker <brobecker@adacore.com>
10059
10060 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
10061 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
10062 Add a couple of tests that verify the behavior when the new setting
10063 is set to "cancel" and "all".
10064 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
10065 "ask" before we start the testing.
10066
79c6ced6
AR
100672008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
10068
10069 * gdb.cp/casts.cc: Add class reference variables.
10070 * gdb.cp/casts.exp: New test cases for up/down casting references.
10071
6c2d1a6b
MK
100722008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
10073
10074 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
10075 instead of beginning to make an extra test pass.
10076 * gdb.mi/mi2-var-display.exp: Likewise.
10077
55b411d9
MR
100782008-03-31 Maciej W. Rozycki <macro@mips.com>
10079
10080 * gdb.base/break.exp: Mark failures as such. Fix formatting.
10081
c6140da2
MD
100822008-03-31 Markus Deuling <deuling@de.ibm.com>
10083 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10084
10085 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
10086 value. Add xfail for older kernels.
10087
79732189
AR
100882008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
10089
10090 Bring mi-support in line with gdb.exp.
10091 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
10092 (mi_gdb_start): New function.
10093
33c3676e
MR
100942008-03-28 Maciej W. Rozycki <macro@mips.com>
10095
10096 * gdb.mi/mi-var-cmd.exp: Fix a typo.
10097
92e28119
VP
100982008-03-26 Vladimir Prus <vladimir@codesourcery.com>
10099
10100 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
10101 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 10102
9e8e3afe
VP
101032008-03-26 Vladimir Prus <vladimir@codesourcery.com>
10104
10105 * lib/mi-support.exp (mi_create_varobj_checked): New.
10106 (mi_list_varobj_children): Allow to check for a
10107 value.
10108 (mi_list_array_varobj_children): New.
10109
10110 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
10111 and mi_list_varobj_children, as opposed to hardcoding
10112 expected strings.
10113 * gdb.mi/gdb701.exp: Likewise.
10114 * gdb.mi/gdb792.exp: Likewise.
10115 * gdb.mi/mi-var-block.exp: Likewise.
10116 * gdb.mi/mi-var-cmd.exp: Likewise.
10117 * gdb.mi/mi-var-invalidate.exp: Likewise.
10118 * gdb.mi/mi2-var-block.exp: Likewise.
10119 * gdb.mi/mi2-var-child.exp: Likewise.
10120 * gdb.mi/mi2-var-cmd.exp: Likewise.
10121 * gdb.mi/mi2-var-display.exp: Likewise.
10122
9df50351
JK
101232008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10124
10125 Fix random false FAILs on i386.
10126 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
10127
31e5d73a
DJ
101282008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
10129
10130 PR gdb/544
10131 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
10132
12f4afab
DJ
101332008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
10134
10135 PR gdb/544
10136 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
10137
b562a0cb
DJ
101382008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
10139
10140 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
10141 fixed PR gdb/544.
10142
17faa917
DJ
101432008-03-21 Pedro Alves <pedro@codesourcery.com>
10144
10145 * gdb.threads/fork-child-threads.exp: Test next over fork.
10146
6214f497
DJ
101472008-03-21 Chris Demetriou <cgd@google.com>
10148
10149 * gdb.base/break.exp (rbreak junk): New test for rbreak
10150 "Junk at end of arguments" issue.
10151
63092375
DJ
101522008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
10153
10154 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
10155 *& to work on created array elements.
10156 (Top level): Test print $pc with a file. Test string operations
10157 without a target.
10158 * gdb.base/ptype.exp: Do not expect *& to work on created array
10159 elements.
10160
b21991b0
DJ
101612008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
10162
10163 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
10164 gdb.threads/staticthreads.exp: Update exit query.
10165
c4b347c7
SL
101662008-03-07 Sandra Loosemore <sandra@codesourcery.com>
10167
10168 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
10169
fa4727a6
DJ
101702008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
10171
10172 * gdb.base/watchpoint.c (global_ptr, func4): New.
10173 (main): Call func4.
10174 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
10175 (test_inaccessible_watchpoint): New.
10176
2f34202f
MR
101772008-02-29 Maciej W. Rozycki <macro@mips.com>
10178
10179 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
10180 select the largest.
10181
0d6ba1b1
DJ
101822008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
10183
10184 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
10185 frames-invalid annotations.
10186
e691325a
PM
101872008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
10188
a9c64011 10189 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 10190
f85b5ecc
DE
101912008-02-27 Doug Evans <dje@google.com>
10192
10193 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
10194 for bug 1738.
10195 (breakpoint_to_handler_entry): Ditto.
10196
b40e7bf3
JB
101972008-02-27 Joel Brobecker <brobecker@adacore.com>
10198
10199 * gdb.base/ending-run.exp: Use the first line of code inside
10200 function body to test breakpoints.
10201 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
10202 location where the breakpoint is inserted when using the line
10203 where a function is declared. Fix typo in the description of
10204 one of the tests.
10205 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
10206
2faca73a
PM
102072008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
10208
10209 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 10210 tests.
2faca73a 10211
6f439c36
PM
102122008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
10213
10214 * gdb.base/args.exp: avoid same output for tests
10215 with single quotes.
10216
54e52265
VP
102172008-02-26 Vladimir Prus <vladimir@codesourcery.com>
10218
a9c64011
AS
10219 * gdb.base/annota1.exp: Adjust for 'info break'
10220 format changes.
10221 * gdb.base/annota3.exp: Likewise.
10222 * gdb.base/break.exp: Likewise.
10223 * gdb.base/condbreak.exp: Likewise.
10224 * gdb.base/pending.exp: Likewise.
10225 * gdb.base/sepdebug.exp: Likewise.
10226 * gdb.base/unload.exp: Likewise.
10227 * gdb.cp/ovldbreak.exp: Likewise.
10228 * gdb.mi/mi-pending.exp: Likewise.
54e52265 10229
897b09ca
DE
102302008-02-07 Doug Evans <dje@google.com>
10231
10232 * gdb.cp/mb-inline.exp: New.
10233 * gdb.cp/mb-inline.h: New.
10234 * gdb.cp/mb-inline1.cc: New.
10235 * gdb.cp/mb-inline2.cc: New.
10236
b1c32d35
PM
102372008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
10238
10239 * gdb.pascal/floats.pas: New test program.
10240 * gdb.pascal/floats.exp: New testcase.
10241
1a4ca44a
TJB
102422008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
10243
10244 * gdb.base/callfuncs.c (t_float_many_args): New function.
10245 (t_double_many_args): New function.
10246 * gdb.base/callfuncs.exp: Add tests for exceeding float
10247 and double parameters passed through the stack.
10248
439048e8
JB
102492008-02-05 Joel Brobecker <brobecker@adacore.com>
10250
10251 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
10252 gdb.ada/complete/foo.adb: New files.
10253 * gdb.ada/complete.exp: New testcase.
10254
81fe8080
DE
102552008-02-03 Doug Evans <dje@google.com>
10256
301f0ecf
DE
10257 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
10258
81fe8080
DE
10259 * gdb.cp/gdb2384.exp: New file.
10260 * gdb.cp/gdb2384.cc: New file.
10261 * gdb.cp/gdb2384-base.h: New file.
10262 * gdb.cp/gdb2384-base.cc: New file.
10263
4b071aec
DE
102642008-02-02 Doug Evans <dje@google.com>
10265
10266 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
10267
61137ba6
JB
102682007-02-01 Joel Brobecker <brobecker@adacore.com>
10269
10270 * gdb.ada/sym_print_name: New test program.
10271 * gdb.ada/sym_print_name.exp: New testcase.
10272
102732007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
10274
10275 * gdb.ada/nested/hello.adb: New file.
10276 * gdb.ada/nested.exp: New testcase.
10277 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
10278
98deb0da
VP
102792008-02-01 Vladimir Prus <vladimir@codesourcery.com>
10280
10281 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
10282 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
10283 don't cause future evaluations of function to report
10284 creation of internal breakpoints.
98deb0da 10285
723a2275
VP
102862008-02-01 Vladimir Prus <vladimir@codesourcery.com>
10287
10288 * gdb.mi/mi-break.exp (test_error): New.
10289 Call it.
10290
fb546a2f
LM
102912008-01-31 Luis Machado <luisgpm@br.ibm.com>
10292
10293 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
10294 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
10295
2d8fd90a
PM
102962008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
10297
10298 * gdb.pascal/integers.pas: New test program.
10299 * gdb.pascal/integers.exp: New testcase.
10300
a7fa0ded
PM
103012008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
10302
10303 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
10304
5e1a1926
TJB
103052008-01-30 Luis Machado <luisgpm@br.ibm.com>
10306
10307 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
10308 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
10309
8d04f9f0
JB
103102008-01-30 Paul Hilfinger <hilfinger@adacore.com>
10311
10312 * gdb.ada/formatted_ref: New test program.
10313 * gdb.ada/formatted_ref.exp: New testcase.
10314
10315 * gdb.cp/formatted-ref.cc: New file.
10316 * gdb.cp/formatted-ref.exp: New testcase.
10317
ce75a98f
JB
103182008-01-30 Joel Brobecker <brobecker@adacore.com>
10319
10320 * gdb.base/ptype.exp: Add testing of "ptype $pc".
10321
e835f6bf
NR
103222008-01-30 Nick Roberts <nickrob@snap.net.nz>
10323
10324 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
10325 (test_file_list_exec_source_file): Update to new macro-info field.
10326
d118ef87
PH
103272008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
10328
10329 * gdb.ada/exprs: New test program.
10330 * gdb.ada/exprs.exp: New testcase.
10331
7d35ab09
TJB
103322008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
10333
10334 * dfp-test.c (DELTA, DELTA_B): New definitions.
10335 (double_val1, double_val2, double_val3, double_val4, double_val5,
10336 double_val6, double_val7, double_val8, double_val9, double_val10,
10337 double_val11, double_val12, double_val13, double_val14, dec32_val1,
10338 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
10339 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
10340 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
10341 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
10342 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
10343 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
10344 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
10345 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
10346 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
10347 dec128_val16): New global variables.
10348 (decimal_dec128_align): New function.
10349 (decimal_mixed): Likewise.
10350 (decimal_many_args_dec32): Likewise.
10351 (decimal_many_args_dec64): Likewise.
10352 (decimal_many_args_dec128): Likewise.
10353 (decimal_many_args_mixed): Likewise.
10354 * dfp-test.exp: Add tests calling new inferior functions.
10355
2d717e4f
DJ
103562008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
10357
10358 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
10359 gdb.server/ext-run.exp: New files.
10360 * lib/gdbserver-support.exp (gdbserver_download): New.
10361 (gdbserver_start): New. Update gdbserver expected
10362 output.
10363 (gdbserver_spawn): Use them.
10364 (gdbserver_start_extended): New.
10365
e85a822c
DJ
103662008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
10367
10368 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
10369 Run on GNU/Linux.
10370 (do_exec_tests): Check for systems which do not support catchpoints.
10371 Do not match START.
10372 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
10373 Run on GNU/Linux. Enable verbose output.
10374 (check_fork_catchpoints): New.
10375 (explicit_fork_child_follow, catch_fork_child_follow)
10376 (tcatch_fork_parent_follow): Update expected messages.
10377 (do_fork_tests): Use check_fork_catchpoints.
10378 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
10379 Run on GNU/Linux. Enable verbose output.
10380 (check_vfork_catchpoints): New.
10381 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
10382 expected messages.
10383 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
10384
401ea829
JB
103852008-01-29 Jim Blandy <jimb@red-bean.com>
10386
10387 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
10388 host' errors.
10389 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
10390
aceaf3ad
JB
103912008-01-29 Jim Blandy <jimb@red-bean.com>
10392
10393 * gdb.threads/sigthread.c: Use barriers to ensure that
10394 child_thread and child_thread_two are always initialized before we
10395 start to use them.
10396
a5606eee
VP
103972008-01-29 Vladimir Prus <vladimir@codesourcery.com>
10398
10399 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
10400 * gdb.base/watchpoint-solib.c: New.
10401 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 10402
c55a82bb
PM
104032008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
10404
10405 * gdb.base/gdb1056.exp: Add unsigned integer test.
10406
0993fe05
DE
104072008-01-28 Doug Evans <dje@google.com>
10408
10409 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
10410
4fe42e7f
JB
104112008-01-27 Jim Blandy <jimb@codesourcery.com>
10412
c7a69933
JB
10413 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
10414
4fe42e7f
JB
10415 * gdb.base/expand-psymtabs.exp: Doc fix.
10416
5def8285
MK
104172008-01-26 Mark Kettenis <kettenis@gnu.org>
10418
10419 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
10420
5313c911
NR
104212008-01-24 Nick Roberts <nickrob@snap.net.nz>
10422
a9c64011 10423 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
10424 -var-set-format.
10425
93815fbf
VP
104262008-01-23 Chris Demetriou <cgd@google.com>
10427
10428 * gdb.threads/thread_events.c: New testcase source file.
10429 * gdb.threads/thread_events.exp: New testcase expect file.
10430
467a88ee
NR
104312008-01-23 Nick Roberts <nickrob@snap.net.nz>
10432
10433 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
10434
10435 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
10436 -var-set-format.
10437
d8f82aba
DJ
104382008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
10439 Vladimir Prus <vladimir@codesourcery.com>
10440
10441 * gdb.base/float.exp: Allow missing floating point for m68k and
10442 PowerPC.
10443
60c46647
VP
104442008-01-22 Vladimir Prus <vladimir@codesourcery.com>
10445
10446 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
10447 ignore count.
10448 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
10449 * gdb.mi/mi-cli.exp: Adjust.
10450 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 10451
c7dd36a1
PA
104522008-01-17 Pedro Alves <pedro@codesourcery.com>
10453
10454 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
10455 and 'dummy_ptr' integer pointer. Initialize struct_declarations
10456 with dummy_ptr's address.
10457 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
10458 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
10459 all targets.
10460 * gdb.mi/mi2-var-child.exp: Likewise.
10461
39d5313e
JB
104622008-01-09 Joel Brobecker <brobecker@adacore.com>
10463
10464 * gdb.ada/null_array: New test program.
10465 * gdb.ada/null_array.exp: New testcase.
10466
0aea4bf3
LM
104672008-01-09 Luis Machado <luisgpm@br.ibm.com>
10468
10469 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
10470 with required float modifiers.
10471
0b354900
JB
104722008-01-08 Joel Brobecker <brobecker@adacore.com>
10473
10474 * gdb.ada/funcall_param: New test program.
10475 * gdb.ada/funcall_param.exp: New testcase.
10476
cdb7f5d4
JB
104772008-01-08 Joel Brobecker <brobecker@adacore.com>
10478
10479 * gdb.ada/arrayparam: New test program.
10480 * gdb.ada/arrayparam.exp: New testcase.
10481
88e2547f
JB
104822008-01-08 Joel Brobecker <brobecker@adacore.com>
10483
10484 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
10485 landed. Should also fix random failures in the test following it.
10486
f6867ce0
TJB
104872008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
10488
10489 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
10490 for expressions with decimal float values.
10491 (test_dfp_conversions): New function to test casts to and from
10492 decimal float types.
10493 Call test_dfp_conversions.
10494 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
10495 elements.
10496 (main): Initialize ds.float4 and ds.double8 elements.
10497 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
10498 string to new error message.
10499 (d64_set_tests): Likewise.
10500 (d128_set_tests): Likewise.
10501 Add tests for expressions with decimal float variables. Add tests for
10502 conversions to and from decimal float types.
10503
f9c11282
JB
105042008-01-05 Joel Brobecker <brobecker@adacore.com>
10505
10506 * gdb.ada/packed_tagged/comp_bug.adb: New file.
10507 * gdb.ada/packed_tagged.exp: New testcase.
10508
0ecbca72
JB
105092008-01-04 Joel Brobecker <brobecker@adacore.com>
10510
10511 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
10512 gdb.ada/homonym/homonym_main.adb: New files.
10513 * gdb.ada/homonym.exp: New testcase.
10514
c18d3d89
JB
105152008-01-04 Joel Brobecker <brobecker@adacore.com>
10516
10517 * gdb.ada/packed_array.exp: Add testing of references to
10518 a packed array.
10519
ecc7085b
JB
105202008-01-04 Joel Brobecker <brobecker@adacore.com>
10521
10522 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
10523 New files.
10524 * gdb.ada/type_coercion.exp: New testcase.
10525
c474c922
JB
105262008-01-04 Joel Brobecker <brobecker@adacore.com>
10527
10528 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
10529 gdb.ada/tagged/foo.adb: New file.
10530 * gdb.ada/tagged.exp: New testcase.
10531
9005b927
JB
105322008-01-04 Joel Brobecker <brobecker@adacore.com>
10533
10534 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
10535 gdb.ada/ptype_field/foo.adb: New files.
10536 * gdb.ada/ptype_field.exp: New testcase.
10537
1a6aaad8
JB
105382008-01-03 Joel Brobecker <brobecker@adacore.com>
10539
10540 * gdb.ada/print_pc.exp: New testcase.
10541
0ef22f53
JB
105422008-01-03 Joel Brobecker <brobecker@adacore.com>
10543
10544 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
10545 gdb.ada/taft_type/p.adb: New files.
10546 * gdb.ada/taft_type.exp: New testcase.
10547
1689ecf8
JB
105482008-01-03 Joel Brobecker <brobecker@adacore.com>
10549
10550 * gdb.ada/array_bounds/bar.adb: New file.
10551 * gdb.ada/array_bounds.exp: New testcase.
10552
a4d0b9c3
JB
105532008-01-03 Joel Brobecker <brobecker@adacore.com>
10554
10555 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
10556 gdb.ada/arrayptr/foo.adb: New files.
10557 * gdb.ada/arrayptr.exp: New testcase.
10558
a31ace00
JB
105592008-01-03 Joel Brobecker <brobecker@adacore.com>
10560
10561 * gdb.base/set-lang-auto.exp: New testcase.
10562
a97fced3
JB
105632008-01-03 Joel Brobecker <brobecker@adacore.com>
10564
10565 * gdb.ada/fun_addr/foo.adb: New file.
10566 * gdb.ada/fun_addr.exp: New testcase.
10567
ef29ce1a
JK
105682008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10569
10570 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
10571 New files
10572
0fafefe3
JB
105732008-01-02 Joel Brobecker <brobecker@adacore.com>
10574
10575 * array_subscript_addr/p.adb: New file.
a9c64011 10576 * array_subscript_addr.exp: New testcase.
0fafefe3 10577
c4359f8d
JB
105782008-01-02 Joel Brobecker <brobecker@adacore.com>
10579
a9c64011 10580 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
10581 New files.
10582 * gdb.ada/str_cmp_ref.exp: New testcase.
10583
1aa1b15b
JB
105842008-01-01 Joel Brobecker <brobecker@adacore.com>
10585
10586 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
10587 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 10588 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 10589
81c9b2cf
JB
105902008-01-01 Joel Brobecker <brobecker@adacore.com>
10591
10592 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
10593 gdb.ada/ref_param/pck.ads: New files.
10594 * gdb.ada/ref_param.exp: New testcase.
10595
319e4674
JB
105962008-01-01 Joel Brobecker <brobecker@adacore.com>
10597
10598 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
10599 gdb.ada/interface/foo.adb: New files.
10600 * gdb.ada/interface.exp: New testcase.
10601
ef682c56
JB
106022007-12-31 Jim Blandy <jimb@codesourcery.com>
10603
10604 * gdb.base/multi-forks.exp: Consume all output from child
10605 processes before proceeding to next test.
10606
f6f3eb6c
JB
106072007-12-29 Jim Blandy <jimb@codesourcery.com>
10608
10609 * configure: Regenerated.
10610
f652e42f
JB
106112007-12-27 Joel Brobecker <brobecker@adacore.com>
10612
10613 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
10614 gdb.ada/fixed_cmp/fixed.adb: New files.
10615 * gdb.ada/fixed_cmp.exp: New testcase.
10616
6943e596
JB
106172007-12-27 Joel Brobecker <brobecker@adacore.com>
10618
10619 * gdb.ada/boolean_expr.exp: New testcase.
10620
aad9a193
JB
106212007-12-26 Jim Blandy <jimb@codesourcery.com>
10622
10623 * gdb.base/multi-forks.exp: Doc fix.
10624
fb5f3683
JB
106252007-12-26 Joel Brobecker <brobecker@adacore.com>
10626
10627 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
10628 * gdb.ada/char_param.exp: Do not compile our test program with
10629 -gnata, this is unnecessary.
10630 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
10631
384e4a9c
JB
106322007-12-24 Joel Brobecker <brobecker@adacore.com>
10633
10634 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
10635 gdb.ada/print_chars/foo.adb: New files.
10636 * gdb.ada/print_chars.exp: New testcase.
10637
01e044f7
JB
106382007-12-24 Joel Brobecker <brobecker@adacore.com>
10639
10640 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
10641 gdb.ada/char_param/foo.adb: New files.
10642 * gdb.ada/char_param.exp: New testcase.
10643
0ce17860
JB
106442007-12-22 Jim Blandy <jimb@codesourcery.com>
10645
10646 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
10647 hard-coding source line numbers into the test.
10648 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
10649 gdb_get_line_number to find.
10650
919809b9
JB
106512007-12-22 Joel Brobecker <brobecker@adacore.com>
10652
10653 * gdb.base/ptype.c (highest): New struct type.
10654 (the_highest): New variable of that type.
10655 (main): Add dummy assignment to a field of variable the_highest.
10656 * gdb.base/ptype.exp: Test type printing of our new variable.
10657
abc8a88d
PM
106582007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
10659
10660 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 10661 and record first explicitly generated thread number.
abc8a88d
PM
10662 Use that thread number for thread specific watchpoint test.
10663 Add iteration number to repetitive tests.
10664
5158f3e3
CES
106652007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
10666 Jim Blandy <jimb@codesourcery.com>
10667
10668 * gdb.base/expand-psymtabs.c: New testcase
10669 source file.
10670 * gdb.base/expand-psymtabs.exp: New testcase
10671 expect file.
10672
37e4754d
LM
106732007-12-17 Luis Machado <luisgpm@br.ibm.com>
10674
10675 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
10676 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
10677
551e5d04
JB
106782007-12-17 Joel Brobecker <brobecker@adacore.com>
10679
10680 * gdb.ada/frame_args/foo.adb: New file.
10681 * gdb.ada/frame_args/pck.ads: New file.
10682 * gdb.ada/frame_args/pck.adb: New file.
10683 * gdb.ada/frame_args.exp: New testcase.
10684
a05ee097
JB
106852007-12-17 Joel Brobecker <brobecker@adacore.com>
10686
10687 * gdb.base/frame-args.c: New file.
10688 * gdb.base/frame-args.exp: New testcase.
10689
c162e8c9 106902007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 10691 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
10692
10693 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
10694
afe8ab22 106952007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 10696
afe8ab22
VP
10697 * gdb.mi/mi-pending.exp: New.
10698 * gdb.mi/mi-pending.c: New.
10699 * gdb.mi/mi-pendshr.c: New.
10700
dfdfb3ca
JB
107012007-12-06 Jim Blandy <jimb@codesourcery.com>
10702
10703 * gdb.base/default.exp: Update expected output for 'info catch'.
10704
b7fca990
JK
107052007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
10706
10707 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
10708 must be set to binary.
10709
6a1afc1e
PA
107102007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
10711
10712 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
10713
a6b151f1
DJ
107142007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
10715
10716 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
10717 gdb.mi/mi-file-transfer.exp: New.
10718
43039443
JK
107192007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10720
10721 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
10722
0ef2251b
MR
107232007-11-22 Maciej W. Rozycki <macro@mips.com>
10724
10725 * gdb.trace/backtrace.exp: Fix a typo.
10726 * gdb.trace/circ.exp: Likewise.
10727 * gdb.trace/collection.exp: Likewise.
10728 * gdb.trace/limits.exp: Likewise.
10729 * gdb.trace/report.exp: Likewise.
10730 * gdb.trace/tfind.exp: Likewise.
10731 * gdb.trace/while-dyn.exp: Likewise.
10732
5443631e
NR
107332007-11-21 Nick Roberts <nickrob@snap.net.nz>
10734
10735 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
10736 objects of pointers that can't be dereferenced are now
10737 "noneditable".
10738
a4ce5b0d
UW
107392007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10740
10741 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
10742 (target_cpu): Remove.
10743
d6e956e5
VP
107442007-10-15 Vladimir Prus <vladimir@codesourcery.com>
10745
10746 * gdb.base/ending-run.exp: Expect the list of cleared
10747 breakpoint to come in natural order, not the reversed one.
a9c64011 10748
214270ab
VP
107492007-11-07 Vladimir Prus <vladimir@codesourcery.com>
10750
10751 * gdb.mi/mi-var-child.c (do_child_deletion): New.
10752 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 10753
1a619819
LM
107542007-11-05 Luis Machado <luisgpm@br.ibm.com>
10755
10756 * gdb.base/printcmds.exp: New function
10757 test_printf_with_dfp.
10758
5b01a6fa
DE
107592007-11-02 Doug Evans <dje@google.com>
10760
10761 * gdb.disasm/t01_mov.s: Remove carriage returns.
10762 * gdb.disasm/t02_mova.s: Ditto.
10763 * gdb.disasm/t03_add.s: Ditto.
10764 * gdb.disasm/t04_sub.s: Ditto.
10765 * gdb.disasm/t05_cmp.s: Ditto.
10766 * gdb.disasm/t06_ari2.s: Ditto.
10767 * gdb.disasm/t07_ari3.s: Ditto.
10768 * gdb.disasm/t08_or.s: Ditto.
10769 * gdb.disasm/t09_xor.s: Ditto.
10770 * gdb.disasm/t10_and.s: Ditto.
10771 * gdb.disasm/t11_logs.s: Ditto.
10772 * gdb.disasm/t12_bit.s: Ditto.
10773 * gdb.disasm/t13_otr.s: Ditto.
10774
ec33ab7f
JK
107752007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10776
10777 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
10778
ae0d01ff
UW
107792007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10780
10781 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
10782 provide DFP support.
10783
55eddb0f
DJ
107842007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
10785
10786 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
10787 Test "set powerpc vector-abi". Skip auto-detection tests for old
10788 toolchains.
10789
7020f05c
PA
107902007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
10791
10792 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
10793 with [string compare].
10794
84bc3db9
PA
107952007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
10796
10797 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
10798 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
10799
5876dc88
LM
108002007-10-25 Luis Machado <luisgpm@br.ibm.com>
10801
10802 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
10803 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
10804 * gdb.opt/Makefile.in: New makefile.
10805 * Makefile.in: Create new directory "gdb.opt".
10806 * configure.ac: Add "gdb.opt" directory.
10807 * configure: Regenerated.
a9c64011 10808
c3ea9a14
DE
108092007-10-25 Doug Evans <dje@google.com>
10810
10811 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
10812 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
10813
a9c64011 108142007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
10815 Thiago Jung Bauermann <bauerman@br.ibm.com>
10816
10817 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
10818 Floating Point expressions.
10819 * gdb.base/dfp-test.exp: new file adding tests for Decimal
10820 Floating Point variables.
10821 * gdb.base/dfp-test.c: new file containing program with Decimal
10822 Floating variables, used by gdb.base/dfp-test.exp.
10823
62a24a2b
DJ
108242007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
10825
10826 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
10827
e7b1eae6
UW
108282007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10829
10830 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
10831 compiling test case with GCC.
10832 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
10833
c641edcc
UW
108342007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10835
10836 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
10837 format changes.
10838
5e5ebfe6
MS
108392007-10-18 Michael Snyder <msnyder@specifix.com>
10840
10841 * gdb.base/dbx.exp: Add missing "-re " operator.
10842
e831e7b6
GM
108432007-10-16 Gaius Mulley <gaius@glam.ac.uk>
10844
10845 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
10846 * configure.ac: Removed trailing spaces after backslash.
10847 * gdb.modula2: New directory.
10848 * gdb.modula2/Makefile.in: New file.
10849 * gdb.modula2/unbounded-array.exp: New file.
10850 * gdb.modula2/unbounded1.c: New file.
10851
7cc46491
DJ
108522007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
10853
10854 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
10855
108562007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
10857
10858 * gdb.base/sigstep.c (main): Add checks for
10859 return values for setitimer call.
10860 Call setitimer again with itimer = ITIMER_REAL
10861 if first call to setitimer fails.
10862
e91528f0
KH
108632007-10-11 Kazu Hirata <kazu@codesourcery.com>
10864
10865 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
10866 of $timeout.
10867
2ec9a4f8
DJ
108682007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
10869
10870 * gdb.server/server-run.exp: Test for dynamic linker symbols.
10871
108722007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
10873
10874 * lib/gdb.exp (gdb_run_cmd): Move comment outside
10875 of gdb_expect call, to avoid interruption.
10876
64b2fa04
PA
108772007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
10878
10879 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
10880 (v_unsigned_long_long, v_long_long_array)
10881 (v_signed_long_long_array, v_unsigned_long_long_array)
10882 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
10883 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
10884 [!NO_LONG_LONG]: New.
10885 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
10886 v_long_long_member.
10887
10888 (v_long_long_func, v_signed_long_long_func)
10889 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
10890 (main) [!NO_LONG_LONG]: Initialize long long variants.
10891
10892 * gdb.base/whatis.exp: If board file requests no_long_long, build
10893 test with NO_LONG_LONG defined. Test long long, signed long long,
10894 and unsigned long long variants but only if board file doesn't
10895 disable it.
10896
a912286e 108972007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 10898 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
10899
10900 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
10901 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
10902 * configure: Regenerated.
10903 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
10904 gdb.pascal/types.exp, lib/pascal.exp: New files.
10905
471ba8c9
DJ
109062007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
10907
10908 * gdb.cp/classes.exp (do_tests): Always step to the line after the
10909 call.
10910 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
10911 to return to the call.
10912 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
10913 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
10914 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
10915 * gdb.mi/mi-until.exp (test_until): Likewise.
10916 * gdb.mi/mi2-until.exp (test_until): Likewise.
10917
fef8a650
DJ
109182007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
10919
10920 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
10921 two-char array.
10922 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
10923
d983da9c
DJ
109242007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
10925
10926 * gdb.threads/watchthreads.c (thread_function): Sleep between
10927 iterations.
10928 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
10929 at once for S/390. Generate matching fails and passes.
10930
17f62551
VP
109312007-09-27 Vladimir Prus <vladimir@codesourcery.com>
10932
10933 * gdb.mi/var-cmd.c (do_children_tests): Initialize
10934 the 'struct_declarations' variable to zeros.
a9c64011 10935
ed0616c6
VP
109362007-09-24 Vladimir Prus <vladimir@codesourcery.com>
10937
10938 * gdb.cp/mb-ctor.cc: New.
10939 * gdb.cp/mb-ctor.exp: New.
10940 * gdb.cp/mb-templates.cc: New.
10941 * gdb.cp/mb-templates.exp: New.
10942
41f1b697
DJ
109432007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
10944
10945 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
10946
3f213f78
PA
109472007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
10948
10949 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
10950 targets.
10951 * configure: Regenerate.
10952
0d381245 109532007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 10954
0d381245
VP
10955 * gdb.base/annota1.exp: Adjust for 'info break'
10956 format changes.
10957 * gdb.base/annota3.exp: Likewise.
10958 * gdb.base/break.exp: Likewise.
10959 * gdb.base/condbreak.exp: Likewise.
10960 * gdb.base/pending.exp: Likewise.
10961 * gdb.base/sepdebug.exp: Likewise.
10962 * gdb.base/unload.exp: Likewise.
10963 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 10964
fe3f5fa8
VP
109652007-09-22 Vladimir Prus <vladimir@codesourcery.com>
10966
10967 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
10968 messages.
10969 * gdb.base/chng-syms.exp: Likewise.
10970 * gdb.base/unload.exp: Likewise.
a9c64011 10971
a75cf6c0
DJ
109722007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
10973
10974 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
10975
18ecae38
DJ
109762007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
10977
10978 * schedlock.c (NUM): Change to 1.
10979 (main): Use args[0] for the main thread.
10980 * schedlock.exp: Only expect two threads. Only issue one pass or fail
10981 regardless of the number of threads.
10982
5509918f
MR
109832007-09-14 Maciej W. Rozycki <macro@mips.com>
10984
4a543daf
MR
10985 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
10986 type down.
10987 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
10988 test.
10989 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
10990 watchpoint type down.
10991 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
10992 test.
10993
109942007-09-14 Maciej W. Rozycki <macro@mips.com>
10995
5509918f
MR
10996 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
10997 Move all the tests here and run them twice, once using software
10998 watchpoints and once using hardware watchpoints.
10999 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
11000
40b53987
DJ
110012007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
11002
11003 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
11004 test.
11005
695e2681
MK
110062007-09-10 Mark Kettenis <kettenis@gnu.org>
11007
8b3fc8d8
MK
11008 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
11009 build-id.
11010
695e2681
MK
11011 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
11012 know about $ORIGIN. Calculate output dir from $dest instead of
11013 using ${objdir}/{$subdir}.
11014
58d69f29
MK
110152007-09-09 Mark Kettenis <kettenis@gnu.org>
11016
11017 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
11018 gcore, before continuing with the test.
11019
3e347599
DJ
110202007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
11021
11022 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
11023 * gdb.mi/mi-watch.exp: Likewise.
11024
ea37ba09
DJ
110252007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
11026 Jim Blandy <jimb@codesourcery.com>
11027
11028 * gdb.arch/i386-sse.exp: Do not expect character constants.
11029 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
11030 * gdb.base/display.exp: Allow print/s.
11031 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
11032 and unsigned char array changes.
11033
2025a643
DJ
110342007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
11035
11036 * gdb.base/display.exp: Add tests for printf %p.
11037
26669a27
PA
110382007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
11039
11040 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
11041 the dll name to unicode.
11042
c8f021f8
JK
110432007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11044
11045 * gdb.base/default.exp (show version): Update the version text.
11046 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
11047
4cf31eea
JK
110482007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11049
11050 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
11051 New files.
11052
4935890f
JK
110532007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11054
11055 * lib/gdb.exp (build_id_debug_filename_get): New function.
11056 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
11057 Remove the generate DEBUG file for the future testcase runs.
11058 New testcase for the NT_GNU_BUILD_ID retrieval.
11059 Move the final testing step to ...
11060 (test_different_dir): ... a new function.
11061 New parameter XFAIL to XFAIL all the tests performed.
11062 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
11063 New parameter TYPE to PF_PREFIX all the tests performed.
11064
02142340
VP
110652007-08-31 Vladimir Prus <vladimir@codesourcery.com>
11066
11067 * gdb.mi/mi-var-cp.cc (path_expression): New
11068 function.
11069 * gdb.mi/mi-var-cp.exp: Run path exression tests.
11070
36acd84e
UW
110712007-08-27 Markus Deuling <deuling@de.ibm.com>
11072
11073 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
11074 to fit into SPU Local Store memory.
11075
a896d121
JB
110762007-08-23 Joel Brobecker <brobecker@adacore.com>
11077
11078 * gdb.base/default.exp: Adjust the expected output of "info
11079 warranty" after the switch to GPLv3.
11080
7b433602
JB
110812007-08-23 Joel Brobecker <brobecker@adacore.com>
11082
11083 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
11084 to 30000 (from 20000).
11085
e22f8b7c
JB
110862007-08-23 Joel Brobecker <brobecker@adacore.com>
11087
11088 Switch the license of all .exp files to GPLv3.
11089 Switch the license of all .f and .f90 files to GPLv3.
11090 Switch the license of all .s and .S files to GPLv3.
11091
5a0e3bd0
JB
110922007-08-23 Joel Brobecker <brobecker@adacore.com>
11093
11094 * configure.ac: Switch license to GPLv3.
11095
cc00619d
JB
110962007-08-23 Joel Brobecker <brobecker@adacore.com>
11097
11098 Switch the licensing to GPLv3 for all .ads and .adb files.
11099
8d26208a
DJ
111002007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
11101
11102 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
11103 and t_int_double.
11104 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
11105
4fcb9948
JB
111062007-08-17 Joel Brobecker <brobecker@adacore.com>
11107
11108 * gdb.base/step-line.c: Switch license to GPL version 3, and
11109 update copyright year.
11110 * gdb.base/step-line.inp: Likewise.
11111
b9c34f67
JB
111122007-08-17 Joel Brobecker <brobecker@adacore.com>
11113
11114 * gdb.base/gdb1555.exp: Make expected output immune to formatting
11115 changes inside gdb1555.c.
11116 * gdb.base/pending.exp: Likewise.
11117
2cc17678
DJ
111182007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
11119
11120 * config/default.exp: New file.
11121
e48883f7
DJ
111222007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
11123
11124 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
11125 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
11126
1ab80e5b
MR
111272007-07-30 Maciej W. Rozycki <macro@mips.com>
11128
11129 * gdb.base/dump.exp: Force the correct endianness for binary
11130 formats not carrying this information.
11131
aba471f5
DJ
111322007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
11133
11134 * gdb.threads/staticthreads.exp: Match .*sem_post.
11135
d4e07204
DJ
111362007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
11137
11138 * gdb.base/readline.exp (operate_and_get_next): Match the final
11139 prompt.
11140
2b97317d
KB
111412007-07-23 Kevin Buettner <kevinb@redhat.com>
11142
11143 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
11144 to restarting SID.
11145
44efa07a
KB
111462007-07-18 Kevin Buettner <kevinb@redhat.com>
11147
11148 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
11149 prior to `gdb_start'.
11150
7b5ebade
KB
111512007-07-18 Kevin Buettner <kevinb@redhat.com>
11152
11153 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
11154 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
11155 Remove call to gdb_unload.
11156
255e7678
DJ
111572007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
11158 Daniel Jacobowitz <dan@codesourcery.com>
11159
11160 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
11161 for __WIN32__.
11162 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
11163 * gdb.base/unload.exp: Use shared library test routines.
11164
3a40aaa0
UW
111652007-07-03 Markus Deuling <deuling@de.ibm.com>
11166
11167 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
11168 * gdb.base/solib-symbol-lib.c: Likewise.
11169 * gdb.base/solib-symbol-main.c: Likewise.
11170
b0f4b84b
DJ
111712007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
11172
11173 * config/gdbserver.exp (gdb_reconnect): New.
11174 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
11175 gdb.base/solib-disc.exp: New files.
11176 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
11177 remote debugging".
11178 (gdb_compile): Add shlib_load flag.
11179 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
11180 port.
11181 (gdbserver_reconnect): New.
11182
1b05479a
DJ
111832007-07-01 Nick Roberts <nickrob@snap.net.nz>
11184 Daniel Jacobowitz <dan@codesourcery.com>
11185
11186 * gdb.base/annota3.exp: Test for if construct.
11187
86f78eb2
DJ
111882007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
11189
11190 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
11191
6a2eb474 111922007-06-21 Chris Dearman <chris@mips.com>
a9c64011 11193 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
11194
11195 * gdb.base/display.exp: Allow a newline after display/i.
11196 * gdb.base/pc-fp.exp: Likewise.
11197 * gdb.base/sigbpt.exp: Likewise.
11198
f8b73d13
DJ
111992007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
11200
11201 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
11202 required features to be included.
11203
4339e69e
DJ
112042007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
11205
11206 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
11207 in info threads output.
11208
23d964e7
UW
112092007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11210 Markus Deuling <deuling@de.ibm.com>
11211
11212 * gdb.arch/spu-info.exp: New testcase.
11213 * gdb.arch/spu-info.c: New file.
11214
fd20f75b
DJ
112152007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
11216
11217 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
11218 tpcs_offset. Restore lr after the call.
11219 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
11220
2226f861
DJ
112212007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
11222
11223 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
11224 (gdbserver_run): Kill any running gdbserver.
11225 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
11226
d12371a9
MR
112272007-05-17 Maciej W. Rozycki <macro@mips.com>
11228
11229 * gdb.base/sigbpt.exp: Preset segv_addr.
11230
93f02886
DJ
112312007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
11232
11233 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
11234 (gdb_compile_shlib): Likewise.
11235 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
11236 (default_gdb_init): Clear cleanfiles.
11237 (gdb_finish): Delete recorded cleanfiles.
11238 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
11239
11240 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
11241 Do not use isnative.
11242 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
11243 gdb.base/so-impl-ld.exp: Likewise.
11244 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
11245 * gdb.base/unload.exp: Likewise. Do not pass empty option to
11246 gdb_compile.
11247
b04e06d7
VP
112482007-05-15 Vladimir Prus <vladimir@codesourcery.com>
11249
11250 * config/unknown.exp: Remove.
11251
069ed931
UW
112522007-05-15 Markus Deuling <deuling@de.ibm.com>
11253
11254 * gdb.base/info-proc.exp: Check is_remote.
11255
09db0d03
UW
112562007-05-14 Markus Deuling <deuling@de.ibm.com>
11257
11258 * gdb.base/gcore.exp: Initialize variable core_supported.
11259
af2cbe8c
DJ
112602007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
11261
11262 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
11263
027c0295
DJ
112642007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
11265
11266 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
11267 * gdb.threads/print-threads.exp (test_all_threads): Allow
11268 negative and hexadecimal thread IDs.
11269
dc5000e7
DJ
112702007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
11271
11272 * gdb.java/jprint.java (public): Avoid invalid call to static
11273 method.
11274
2e74ed18
DP
112752007-05-14 Denis Pilat <denis.pilat@st.com>
11276
11277 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
11278 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
11279 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
11280 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
11281 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
11282
83547f02
UW
112832007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11284
11285 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 11286 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
11287 this mode.
11288 * gdb.base/ovlymgr.c: Provide stubs for spu target.
11289 * gdb.base/spu.ld: New file.
11290
b18be20d
DJ
112912007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
11292
11293 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
11294
be444858
DJ
112952007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
11296
11297 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
11298
b1d53152
DJ
112992007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
11300
11301 * gdb.java/jmain.exp: Handle demangled names with and without method
11302 signatures.
11303
d084b331
DJ
113042007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
11305
11306 * gdb.mi/mi-syn-frame.c (main, foo, bar)
11307 (have_a_very_merry_interrupt): Remove calls to puts.
11308 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
11309 inferior output.
11310 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
11311 test names.
11312
db9d7fc5
DJ
113132007-04-29 Markus Deuling <deuling@de.ibm.com>
11314 Daniel Jacobowitz <dan@codesourcery.com>
11315
11316 * gdb.base/auxv.exp (core_works): Also check is_remote.
11317 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
11318
ef783a7d 113192007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 11320
ef783a7d
VP
11321 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
11322 message, not the undefined 'module' variable.
11323 * gdb.base/siginfo.exp: Likewise.
11324 * gdb.base/sigstep.exp: Likewise.
11325 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
11326 serialport.
11327 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
11328
b7b73cae
CV
113292007-04-25 Corinna Vinschen <vinschen@redhat.com>
11330
11331 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
11332 target sim fails. Return 0 otherwise.
11333 (gdb_load): Return prematurely if gdb_target_sim fails.
11334
7d90fdfa
DP
113352007-04-16 Denis Pilat <denis.pilat@st.com>
11336
11337 * gdb.base/setshow.exp: Reset height after having set it to 100.
11338
5d3e9c85
DP
113392007-04-16 Denis Pilat <denis.pilat@st.com>
11340
11341 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
11342
18e75969
DP
113432007-04-16 Denis Pilat <denis.pilat@st.com>
11344
11345 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
11346
25d5ea92
VP
113472007-04-14 Vladimir Prus <vladimir@codesourcery.com>
11348
11349 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
11350 tests. Run the frozen varobjs test.
11351 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 11352 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 11353
0b49cb80
JK
113542007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11355
11356 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
11357 gdb.base/type-opaque.exp: New files.
11358
a73bafbc 113592007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
11360
11361 * gdb.mi/mi-var-child.c
a73bafbc
VP
11362 (do_children_tests): User char[2] instead of
11363 char so that automatic printing of pointers to char
11364 don't give unpredicable result.
11365 * gdb.mi/var-cmd.c (do_locals_test): Initialize
11366 local variables.
11367 * gdb.mi/mi-var-child.exp: Step to right line
11368 of do_children_tests.
11369 * gdb.mi/mi2-var-child.exp: Likewise.
11370 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 11371 do_locals_tests.
a73bafbc
VP
11372 (do_children_tests): User char[2] instead of
11373 char so that automatic printing of pointers to char
a9c64011 11374 don't give unpredicable result.
a73bafbc 11375 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 11376 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
11377 Pass test name to mi_wait_for_stop.
11378
7ce59000
DJ
113792007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
11380
11381 * gdb.asm/asm-source.exp: Remove d10v case.
11382 * lib/gdb.exp (skip_cplus_tests): Likewise.
11383 * gdb.asm/d10v.inc: Deleted.
11384
20389057
DJ
113852007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
11386
11387 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
11388
8807d78b
DJ
113892007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
11390
11391 * config/netware.exp: Delete file.
11392
aa3edb8e
JB
113932007-03-29 Joel Brobecker <brobecker@adacore.com>
11394
11395 * gdb.dwarf2/dw2-noloc.S: New file.
11396 * gdb.dwarf2/dw2-noloc.exp: New file.
11397
297561ac
PA
113982007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
11399
11400 * gdb.cp/method2.cc: New test.
11401 * gdb.cp/method2.exp: New test.
11402 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
11403
1f81bd39
DJ
114042007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
11405
11406 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
11407
9453113a
DJ
114082007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
11409
11410 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
11411
b741e217
DJ
114122007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
11413
11414 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
11415 (gdb_load): Delete, replace with...
11416 (gdb_reload): ...this.
11417 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
11418 * gdb.server/server-mon.exp: Likewise.
11419 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
11420 (gdb_start_cmd): New.
11421 (gdb_file_cmd): Save the last loaded file.
11422 (gdb_reload): New.
11423 (gdb_gnu_strip_debug): Use transform.
11424 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
11425 support here. Use new $last_loaded_file. Check mtime.
11426 (gdb_target_cmd): Handle ObjC failure case.
11427 (infer_host_exec): Delete.
11428 (gdbserver_load): Rename to...
11429 (gdbserver_run): ...this. Simplify.
11430 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
11431 (mi_gdb_load): Move most contents to a new function...
11432 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
11433 (mi_run_cmd): Use mi_gdb_target_load.
11434 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
11435 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
11436 Use gdb_run_cmd.
11437 * gdb.base/charsign.exp: Remove incorrect comment.
11438 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
11439 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
11440 gdb.base/start.exp: Use gdb_start_cmd.
11441
446ab585 114422007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 11443 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
11444
11445 * gdb.base/sigbpt.exp: Fix the message when skipping test.
11446 * gdb.base/signull.exp: Similarly.
11447
bbb88ebf
UW
114482007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11449
11450 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
11451 messages available to test cases (like chng-sym.exp).
11452
cb8c4a99
AS
114532007-03-14 Andreas Schwab <schwab@suse.de>
11454
11455 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
11456 format changes.
11457
4e463ff5
DJ
114582007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
11459
11460 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
11461 (optimized_1): New.
11462 (main): Call optimized_1.
11463 (gdb2029): Correct typos. Call gdb2029_marker.
11464 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
11465 for gdb2029.
11466
b6db2c47
MK
114672007-03-12 Mark Kettenis <kettenis@gnu.org>
11468
11469 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
11470 as tabs. Remove redundant test pattern.
11471
70ed3737
UW
114722007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11473
11474 * gdb.base/long_long.exp: Accept optional symbol name in <...>
11475 for /a format output.
11476
47b67b60
DJ
114772007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
11478
11479 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
11480 collect output incrementally.
11481
b8953b0e
UW
114822007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11483
11484 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
11485 for -var-create lpcharacter test.
11486 * gdb.mi/mi2-var-cmd.exp: Likewise.
11487
7acd5c40
UW
114882007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11489
11490 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
11491 pass on targets where address zero is readable.
11492
9c6759c1
UW
114932007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11494
11495 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
11496 just a single architecture.
11497
a2f1aeb4
UW
114982007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11499
11500 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
11501 (fetch_all_registers): New function, uses gdb_test_multiple and
11502 exp_continue to fetch inferior output line-by-line.
11503 Replace all uses of do_get_all_registers by fetch_all_registers.
11504
46579ac2
UW
115052007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11506
11507 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
11508 in target_info.
11509
fc133f24
MS
115102007-03-02 Michael Snyder <michael.snyder@palmsource.com>
11511
a9c64011 11512 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
11513 consistancy; add a default (timeout) case.
11514
7646a51d
MS
115152007-03-02 Michael Snyder <michael.snyder@palmsource.com>
11516
11517 * gdb.base/watchpoint.exp: Fix truncated comment.
11518
dcfff61f
MS
115192007-03-02 Michael Snyder <michael.snyder@palmsource.com>
11520
11521 * Makefile.in: Remove spurious single-quotes from sed command.
11522
664e3ee9
DJ
115232007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
11524
11525 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
11526 func.
11527 * gdb.mi/mi2-var-cmd.exp: Likewise.
11528
d7cc6f2f
JB
115292007-02-27 Joel Brobecker <brobecker@adacore.com>
11530
a9c64011
AS
11531 * gdb.dwarf2/dw2-producer.S: New file.
11532 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
11533
115342007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
11535
11536 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
11537 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
11538 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
11539 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
11540 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
11541 Revert tests to use mi_gdb_test and include value field in output
11542 of -var-create.
11543
93d42b30
DJ
115442007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
11545
11546 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
11547
c499ed39
DJ
115482007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
11549
11550 * gdb.base/maint.exp: Remove full paths from test names.
11551 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
11552 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
11553
9836f81b
JB
115542007-02-27 Joel Brobecker <brobecker@adacore.com>
11555
11556 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
11557
c74d0ad8
DJ
115582007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
11559
11560 * gdb.server/server-mon.exp: New test.
11561
2711e456
DJ
115622007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
11563
11564 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
11565
ff6f572f
DJ
115662007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
11567
11568 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
11569 register capitalization.
11570
fada3feb
DP
115712007-02-13 Denis Pilat <denis.pilat@st.com>
11572
11573 * gdb.mi/mi-var-invalidate.exp: New file.
11574
fb1e4ffc
DJ
115752007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
11576
11577 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
11578
3da939d7
DJ
115792007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
11580
11581 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
11582
123dc839
DJ
115832007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
11584
11585 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
11586 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
11587
877e3645 115882007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
11589
11590 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
11591 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
11592 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
11593 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
11594 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 11595 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 11596 Update tests to include value field in output of -var-create.
a9c64011 11597
3c0a2960
AS
115982007-02-08 Andreas Schwab <schwab@suse.de>
11599
11600 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
11601
108546a0
DJ
116022007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
11603
11604 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
11605 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
11606
d701dcab
DP
116072007-02-02 Denis Pilat <denis.pilat@st.com>
11608
11609 * gdb.threads/threadapply.exp: check that frame is not changed by
11610 the thread apply all command.
11611
783e3e2f
AS
116122007-01-31 Andreas Schwab <schwab@suse.de>
11613
6d9c3a87
AS
11614 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
11615
3c50d7b9
AS
11616 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
11617 in the dwarf sections.
11618 * gdb.dwarf2/mac-fileno.S: Likewise.
11619
783e3e2f
AS
11620 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
11621 bspstore register on ia64.
11622
78ff580e
AS
116232007-01-29 Andreas Schwab <schwab@suse.de>
11624
cc8e9b12
AS
11625 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
11626 "frame-begin" annotation.
11627
78ff580e
AS
11628 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
11629 number of "frames-invalid" annotations.
11630
704a4f78
DJ
116312007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
11632
11633 * gdb.base/commands.exp: Call if_commands_test.
11634 (gdb_test_no_prompt, if_commands_test): New.
11635
e741bf94
MK
116362007-01-28 Mark Kettenis <kettenis@gnu.org>
11637
11638 * gdb.threads/sigthread.c (NSIGS): Make bigger.
11639
474d0ad3
AS
116402007-01-27 Andreas Schwab <schwab@suse.de>
11641
11642 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
11643 .short/.int/.quad in the dwarf sections.
11644 * gdb.dwarf2/dw2-intercu.S: Likewise.
11645 * gdb.dwarf2/dw2-intermix.S: Likewise.
11646
e784b426
JK
116472007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11648
11649 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
11650 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
11651 array.
e784b426
JK
11652 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
11653 * gdb.base/setvar.exp: Likewise.
11654
37f08e04
AS
116552007-01-26 Andreas Schwab <schwab@suse.de>
11656
9a01813a
AS
11657 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
11658 test.
11659
37f08e04
AS
11660 * gdb.base/multi-forks.exp ("restart $i"): Also match
11661 __kernel_syscall_via_break.
11662
6e2a9270
VP
116632007-01-24 Vladimir Prus <vladimir@codesourcery.com>
11664
11665 * lib/mi-support.exp (mi_delete_varobj): New.
11666 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
11667 testcase.
11668 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
11669 (main): Call the above.
11670 (reference_update_test, base_in_reference_test)
11671 (reference_to_pointer): Delete the created varobjs.
a9c64011 11672
e515b470
DJ
116732007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
11674
11675 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
11676 * configure: Regenerated.
11677 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
11678 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
11679 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
11680 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
11681 * lib/gdb.exp (gdb_skip_xml_test): New function.
11682
08d8bcd7
DJ
116832007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
11684
11685 * gdb.base/sigrepeat.exp: Correct error message.
11686
116872007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
11688 Daniel Jacobowitz <dan@codesourcery.com>
11689
11690 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
11691 gdb.arch/i386-gnu-cfi-asm.S: New files.
11692
97c3f1f3
JK
116932007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11694
11695 * lib/gdb.exp: Abort on missing `site.exp'.
11696
cb1df416
DJ
116972007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11698 Daniel Jacobowitz <dan@codesourcery.com>
11699
11700 * gdb.base/included.c, gdb.base/included.exp,
11701 gdb.base/included.h: New files.
11702
35990120
DJ
117032007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
11704
11705 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
11706 (maximize_rlimit): Reduce limits on 64-bit systems.
11707
6e81a116 117082007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
11709
11710 From Marcus Deuling <deuling@de.ibm.com>:
11711 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
11712 every case.
11713
6c3c41f3
NR
117142007-01-13 Nick Roberts <nickrob@snap.net.nz>
11715
11716 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
11717 (test_path_specification): Use objdir instead of srcdir to always
11718 get an absolute filename.
11719
2f12c312
DJ
117202007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
11721
11722 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
11723
81121995
VP
117242007-01-11 Vladimir Prus <vladimir@codesourcery.com>
11725
11726 * gdb.mi/mi-var-cp.cc (reference_update_tests):
11727 Make sure the variable we're using is in scope.
11728 (reference_to_pointer): Likewise.
11729
4741b737
DJ
117302007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
11731
11732 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
11733 has no debug information.
11734
054410c3
DJ
117352007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
11736
11737 * gdb.base/annota1.exp: Remove extra send_gdb.
11738
818f79f6
DJ
117392007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11740
11741 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
11742
f7a6bb70
DJ
117432007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11744
11745 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
11746
57e66780
DJ
117472007-01-08 Nick Roberts <nickrob@snap.net.nz>
11748 Daniel Jacobowitz <dan@codesourcery.com>
11749
11750 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
11751 lcharacter or linteger change. Correct duplicated test name.
11752 * gdb.mi/mi2-var-cmd.exp: Likewise.
11753
3d799a95
DJ
117542007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
11755
11756 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
11757
117582007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 11759
a9c64011
AS
11760 * gdb.base/nofield.c: New file.
11761 * gdb.base/nofield.exp: New testcase.
51679ba9 11762
eafb94e8
NR
117632007-01-05 Nick Roberts <nickrob@snap.net.nz>
11764
11765 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
11766
11767 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
11768 test.
11769
5e572bb4
DJ
117702007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
11771
11772 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
11773
74a44383
DJ
117742007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
11775
11776 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
11777 when continuing.
11778
1b572db9
DJ
117792007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
11780
11781 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
11782 Expect ".exe" extension.
11783
381bc39b
DJ
117842007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
11785
11786 * gdb.base/charset.exp: Add explicit filename to break.
11787 * gdb.base/dbx.exp: Add explicit filename to breaks.
11788
2b70e4c6
DJ
117892007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
11790
11791 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
11792 * gdb.mi/mi2-file.exp: Likewise.
11793
303b6f5d
DJ
117942007-01-04 Vladimir Prus <vladimir@codesourcery.com>
11795
11796 Implement specification of MI tests as comments
11797 in C and C++ sources.
11798 * lib/mi-support.exp (mi_autotest_data): New variable.
11799 (mi_autotest_source): New variable.
11800 (count_newlines, mi_prepare_inline_tests)
11801 (mi_get_inline_test, mi_continue_to_line)
11802 (mi_run_inline_test, mi_tbreak)
11803 (mi_send_resuming_command, mi_wait_for_stop): New functions.
11804 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
11805 Run inline tests.
11806 * gdb.mi/mi-var-cp.cc: Define tests here.
11807
23da0d94
VP
118082007-01-04 Vladimir Prus <vladimir@codesourcery.com>
11809
11810 Simplify usage of mi_continue_to.
11811 * lib/mi-support.exp (mi_runto_helper): Renamed
11812 from mi_runto, added new parameter 'run_or_continue'.
11813 (mi_runto): Use mi_runto_helper.
11814 (mi_continue_to): Accept just function name as parameter.
11815 Use mi_runto_helper.
11816 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
11817 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 11818
f9e18282
JB
118192006-01-04 Joel Brobecker <brobecker@adacore.com>
11820
11821 Make this testcase a bit more realistic. The current code
11822 is too simplistic, and allows the compiler to optimize out
11823 some of the entities we need for this testcase.
11824 * gdb.ada/null_record/bar.ads (Void_Star): New type.
11825 (Do_Nothing): Add extra parameter.
11826 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
11827 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
11828 by using a variable of type Void_Star.
11829
fd678c65
JB
118302006-01-04 Joel Brobecker <brobecker@adacore.com>
11831
11832 * gdb.ada/catch_ex/foo.adb: New file.
11833 * gdb.ada/catch_ex.exp: New testcase.
11834
05cfdb42
DJ
118352007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
11836
11837 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
11838 pass --image-base to linker.
11839
2e03ee74
DJ
118402007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11841 Daniel Jacobowitz <dan@codesourcery.com>
11842
11843 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
11844 secondary prompts.
11845
0d5de010
DJ
118462007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
11847
11848 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
11849 output. Test the types of members and member pointers.
11850 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
11851 gdb/2092.
11852 * gdb.cp/member-ptr.exp: Search for a comment instead of a
11853 statement. Enable for GCC. Update expected output for some tests
11854 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
11855 layout.
11856 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
11857 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
11858 (Diamond::vget_base): New.
11859 (main): Add new tests.
11860 * gdb.cp/printmethod.exp: Update expected output for member functions.
11861 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
11862 print pEe->D::vg().
11863
61a771aa
DJ
118642007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
11865
11866 * gdb.threads/tls.exp: Allow stops in sem_post.
11867
2fa63963
DJ
118682006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
11869
11870 * gdb.base/annota1.exp: Allow .*printf in backtraces.
11871 * gdb.base/annota3.exp: Likewise.
11872 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
11873 again (instead of timing out).
11874 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
11875 GCC bug 26475.
11876 * gdb.java/jmisc.exp: Adjust to work with method signatures including
11877 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
11878 test from jmisc1.exp.
11879 * gdb.java/jmisc1.exp: Delete.
11880 * gdb.java/jprint.exp: Adjust to work with method signatures including
11881 return types.
11882 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
11883 * gdb.threads/linux-dp.exp: Don't be confused by program output.
11884 * lib/java.exp (compile_java_from_source): Pass the correct type
11885 to target_compile.
11886
5eefc2b7
JB
118872006-12-31 Joel Brobecker <brobecker@adacore.com>
11888
11889 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
11890 (stack_align_edx): New function.
11891 (stack_align_eax): New function.
11892 (main): Add calls to stack_align_edx and stack_align_eax.
11893 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
11894 Add testing for the cases where the register used during a stack
11895 realignment is edx. Same for eax.
11896
227c54da
DJ
118972006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
11898
11899 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
11900 and generic PE targets.
11901
cab8ac94
JB
119022006-12-29 Joel Brobecker <brobecker@adacore.com>
11903
11904 * gdb.ada/array_return.exp: Update copyright date list.
11905
ba54f318
JB
119062006-12-27 Joel Brobecker <brobecker@adacore.com>
11907
11908 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
11909 (Create_Small_Float_Vector): New function.
11910 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
11911 function body.
11912 * gdb.ada/array_return/p.adb: Use new type and function from
11913 package Pck.
11914 * gdb.ada/array_return.exp: Add a test verifying that GDB is
11915 able to print the value returned by a function returning an
11916 array of float.
11917
6b7a35dd
JB
119182006-12-20 Joel Brobecker <brobecker@adacore.com>
11919
11920 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
11921 The associated tests should be PASSing.
11922
038224f6
VP
119232006-12-08 Vladimir Prus <vladimir@codesourcery.com>
11924
11925 Test for base in references.
11926 * gdb.mi/mi-var-cp.cc: Add test code.
11927 * gdb.mi/mi-var-cp.exp: Test for bases in references.
11928 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
11929 * gdb.mi/mi2-watch.exp: Likewise.
11930 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
11931 (mi_list_varobj_children): New function.
11932
b26ed50d
VP
119332006-12-08 Vladimir Prus <vladimir@codesourcery.com>
11934
11935 * lib/mi-support.exp
11936 (mi_runto): Accept "()" after function name.
11937 (mi_create_varobj): New function.
11938 (mi_varobj_update): New function.
11939 (mi_Check_varobj_value): New function.
11940 * gdb.mi/mi-var-cp.exp: New file.
11941 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 11942
08232497
DJ
119432006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
11944
11945 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
11946 gdb.base/weaklib2.c: New files.
11947
d394c993 119482006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 11949
ac6c2fba
NS
11950 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
11951 info. Adjust test names.
11952
8ec659a0 11953 * gdb.base/break.c (main): Move position of malloc.
d394c993 11954 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 11955
acd65feb
VP
119562006-11-28 Vladimir Prus <vladimir@codesourcery.com>
11957
11958 * gdb.mi/mi-var-cmd.exp: Check -var-update after
11959 assignement of arrays and function pointers.
11960 * gdb.mi/var-cmd.c: Add declaration necessary for above
11961 tests.
11962
f556d5e5
NS
119632006-11-27 Nathan Sidwell <nathan@codesourcery.com>
11964
11965 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
11966
11967 * gdb.threads/linux-dp.exp: Read thread table before and after
11968 creating each philosopher and verify it.
11969
697bc68d
NS
119702006-11-27 Nathan Sidwell <nathan@codesourcery.com>
11971 Paul Brook <paul@codesourcery.com>
11972 Daniel Jacobowitz <dan@codesourcery.com>
11973
11974 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 11975 main to remove duplication. Add start function of the form
697bc68d
NS
11976 '_*start[1-9]*'. Add RVDS start function.
11977
29d73ae4
DJ
119782006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
11979
11980 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
11981
c1d88655
UW
119822006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11983
11984 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
11985 * gdb.asm/spu.inc: New file.
11986 * gdb.base/term.exp: Disable if [target_info exists noargs].
11987 * gdb.gdb/complaints.exp: Disable if ![isnative].
11988 * gdb.gdb/selftest.exp: Likewise.
11989 * gdb.gdb/observer.exp: Likewise.
11990 * gdb.gdb/xfullpath.exp: Likewise.
11991 * gdb.base/attach.exp: Disable on SPU target.
11992 * gdb.cp/bs145503.exp: Likewise.
11993 * gdb.cp/exception.exp: Likewise.
11994 * gdb.cp/userdef.exp: Likewise.
11995
32a13b1a
DJ
119962006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
11997
11998 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
11999
d8295fe9
VP
120002006-11-10 Vladimir Prus <vladimir@codesourcery.com>
12001
12002 * gdb.base/completion.exp: Fix completion tests for
12003 'info' and 'info '.
12004 * gdb.base/help.exp (help_test_raw, test_class_help)
12005 (test_prefix_command_help): Move...
12006 * lib/gdb.exp: Here.
12007 * gdb.base/main.exp: Adjust.
12008 * gdb.cp/maint.exp: Adjust.
12009 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 12010
8c394015
VP
120112006-11-09 Vladimir Prus <vladimir@codesourcery.com>
12012
12013 * gdb.stabs/weird.exp (print_weird_var): Use
12014 gdb_test_multiple instead of gdb_expect.
12015
027fc1bc
VP
120162006-11-09 Vladimir Prus <vladimir@codesourcery.com>
12017
12018 * gdb.base/help.exp (help_test_raw): New.
12019 (test_class_help): New.
12020 (test_prefix_command_help): New.
12021 Adjust testcases.
12022
67609209
FR
120232006-11-09 Christophe Lyon <christophe.lyon@st.com>
12024
12025 * gdb.base/constvars.c (main): Write to crass and crips, so that
12026 they are allocated by the compiler.
12027
f73adfeb
AS
120282006-10-27 Andreas Schwab <schwab@suse.de>
12029
12030 * gdb.base/multi-forks.exp: Use "detach fork" instead of
12031 "detach-fork".
12032
2f83a18e
DJ
120332006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
12034
12035 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
12036 of patterns.
12037
94277a38
DJ
120382006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
12039
12040 * gdb.base/sepdebug.exp: Remove debug format test.
12041 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
12042 Handle no-symtab.
12043 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
12044
5bd2f6e2
DJ
120452006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
12046
12047 * gdb.threads/manythreads.c (thread_function, main): Don't cast
12048 int to pointer or pointer to int.
12049 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
12050
8c008720
DJ
120512006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
12052
12053 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
12054
9e35dae4
DJ
120552006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12056
12057 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
12058
d9639e13
DJ
120592006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
12060
12061 PR c++/2116
12062 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
12063
390a1bd0
JB
120642006-10-06 Joel Brobecker <brobecker@adacore.com>
12065
12066 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
12067 the corresponding bug has been fixed in GDB (PR/2018).
12068
dd920c33
JB
120692006-10-06 Joel Brobecker <brobecker@adacore.com>
12070
12071 * gdb.base/subst.exp: New testcase.
12072
53bbefe9
JB
120732006-10-06 Joel Brobecker <brobecker@adacore.com>
12074
12075 * gdb.ada/array_return/pck.ads: Add copyright notice.
12076 * gdb.ada/array_return/pck.adb: Likewise.
12077 * gdb.ada/array_return/p.adb: Likewise.
12078 * gdb.ada/exec_changed/first.adb: Likewise.
12079 * gdb.ada/exec_changed/second.adb: Likewise.
12080
09851417
JB
120812006-10-06 Joel Brobecker <brobecker@adacore.com>
12082
12083 * gdb.ada/watch_arg/watch.adb: New file.
12084 * gdb.ada/watch_arg.exp: New testcase.
12085
041bf30d
VP
120862006-10-02 Vladimir Prus <vladimir@codesourcery.com>
12087
12088 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 12089 via string_to_regexp.
041bf30d 12090 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 12091
f286fbdd 120922006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
12093
12094 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
12095 Remove unused / obsolete files.
12096
7c07f349
NR
120972006-09-19 Nick Roberts <nickrob@snap.net.nz>
12098
12099 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
12100
cd5ff84a
VP
121012006-09-17 Vladimir Prus <vladimir@codesourcery.com>
12102
12103 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
12104 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 12105 the number of frames.
cd5ff84a 12106
ae018d1a
DJ
121072006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
12108
12109 * gdb.base/args.c (main): Add breakpoint marker.
12110 * gdb.base/args.exp: Use args_test for tests. Add new tests which
12111 really test empty arguments.
12112 (args_load): Delete.
12113 (args_test): New.
12114
b399c549
NR
121152006-09-13 Nick Roberts <nickrob@snap.net.nz>
12116
12117 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
889bf7c5 12118 check for one file.
b399c549 12119
2ab1eb7a
VP
121202006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
12121
12122 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
12123 HIGH_FRAME argument to -stack-list-locals can be larger than
12124 the number of frames.
a9c64011 12125
476308bf
FF
121262006-08-18 Fred Fish <fnf@specifix.com>
12127
12128 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
12129 '$' in front of skip_vmx_tests_saved when setting that.
12130
8625200f
AS
121312006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
12132
12133 * gdb.base/trace-commands.exp: New file.
12134
089ec8f1
DJ
121352006-08-10 Joel Brobecker <brobecker@adacore.com>
12136 Daniel Jacobowitz <dan@codesourcery.com>
12137
12138 * gdb.base/step-bt.exp: Make hexadecimal address optional in
12139 expected output of the backtrace commands.
12140
b60f0898
JB
121412006-08-09 Joel Brobecker <brobecker@adacore.com>
12142
12143 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
12144 untested followed by return combination.
12145 * gdb.arch/altivec-regs.exp: Likewise.
12146 * gdb.arch/e500-abi.exp: Likewise.
12147 * gdb.arch/e500-regs.exp: Likewise.
12148 * gdb.arch/gdb1291.exp: Likewise.
12149 * gdb.arch/gdb1431.exp: Likewise.
12150 * gdb.arch/gdb1558.exp: Likewise.
12151 * gdb.arch/i386-prologue.exp: Likewise.
12152 * gdb.arch/i386-unwind.exp: Likewise.
12153 * gdb.asm/asm-source.exp: Likewise.
12154 * gdb.base/a2-run.exp: Likewise.
12155 * gdb.base/advance.exp: Likewise.
12156 * gdb.base/all-bin.exp: Likewise.
12157 * gdb.base/annota1.exp: Likewise.
12158 * gdb.base/annota3.exp: Likewise.
12159 * gdb.base/args.exp: Likewise.
12160 * gdb.base/arithmet.exp: Likewise.
12161 * gdb.base/assign.exp: Likewise.
12162 * gdb.base/async.exp: Likewise.
12163 * gdb.base/attach.exp: Likewise.
12164 * gdb.base/bang.exp: Likewise.
12165 * gdb.base/bigcore.exp: Likewise.
12166 * gdb.base/bitfields.exp: Likewise.
12167 * gdb.base/bitfields2.exp: Likewise.
12168 * gdb.base/break.exp: Likewise.
12169 * gdb.base/call-sc.exp: Likewise.
12170 * gdb.base/call-strs.exp: Likewise.
12171 * gdb.base/callfuncs.exp: Likewise.
12172 * gdb.base/checkpoint.exp: Likewise.
12173 * gdb.base/chng-syms.exp: Likewise.
12174 * gdb.base/code-expr.exp: Likewise.
12175 * gdb.base/commands.exp: Likewise.
12176 * gdb.base/completion.exp: Likewise.
12177 * gdb.base/cond-expr.exp: Likewise.
12178 * gdb.base/condbreak.exp: Likewise.
12179 * gdb.base/consecutive.exp: Likewise.
12180 * gdb.base/constvars.exp: Likewise.
12181 * gdb.base/corefile.exp: Likewise.
12182 * gdb.base/cvexpr.exp: Likewise.
12183 * gdb.base/dbx.exp: Likewise.
12184 * gdb.base/define.exp: Likewise.
12185 * gdb.base/detach.exp: Likewise.
12186 * gdb.base/display.exp: Likewise.
12187 * gdb.base/dump.exp: Likewise.
12188 * gdb.base/ena-dis-br.exp: Likewise.
12189 * gdb.base/ending-run.exp: Likewise.
12190 * gdb.base/environ.exp: Likewise.
12191 * gdb.base/eval-skip.exp: Likewise.
12192 * gdb.base/exprs.exp: Likewise.
12193 * gdb.base/fileio.exp: Likewise.
12194 * gdb.base/finish.exp: Likewise.
12195 * gdb.base/float.exp: Likewise.
12196 * gdb.base/foll-exec.exp: Likewise.
12197 * gdb.base/foll-fork.exp: Likewise.
12198 * gdb.base/foll-vfork.exp: Likewise.
12199 * gdb.base/freebpcmd.exp: Likewise.
12200 * gdb.base/funcargs.exp: Likewise.
12201 * gdb.base/gcore.exp: Likewise.
12202 * gdb.base/gdb1090.exp: Likewise.
12203 * gdb.base/gdb1250.exp: Likewise.
12204 * gdb.base/huge.exp: Likewise.
12205 * gdb.base/info-proc.exp: Likewise.
12206 * gdb.base/interrupt.exp: Likewise.
12207 * gdb.base/jump.exp: Likewise.
12208 * gdb.base/langs.exp: Likewise.
12209 * gdb.base/lineinc.exp: Likewise.
12210 * gdb.base/list.exp: Likewise.
12211 * gdb.base/logical.exp: Likewise.
12212 * gdb.base/long_long.exp: Likewise.
12213 * gdb.base/macscp.exp: Likewise.
12214 * gdb.base/maint.exp: Likewise.
12215 * gdb.base/mips_pro.exp: Likewise.
12216 * gdb.base/miscexprs.exp: Likewise.
12217 * gdb.base/multi-forks.exp: Likewise.
12218 * gdb.base/opaque.exp: Likewise.
12219 * gdb.base/overlays.exp: Likewise.
12220 * gdb.base/pc-fp.exp: Likewise.
12221 * gdb.base/pointers.exp: Likewise.
12222 * gdb.base/printcmds.exp: Likewise.
12223 * gdb.base/psymtab.exp: Likewise.
12224 * gdb.base/ptype.exp: Likewise.
12225 * gdb.base/recurse.exp: Likewise.
12226 * gdb.base/relational.exp: Likewise.
12227 * gdb.base/relocate.exp: Likewise.
12228 * gdb.base/remote.exp: Likewise.
12229 * gdb.base/reread.exp: Likewise.
12230 * gdb.base/restore.exp: Likewise.
12231 * gdb.base/return.exp: Likewise.
12232 * gdb.base/return2.exp: Likewise.
12233 * gdb.base/scope.exp: Likewise.
12234 * gdb.base/sect-cmd.exp: Likewise.
12235 * gdb.base/sep.exp: Likewise.
12236 * gdb.base/sepdebug.exp: Likewise.
12237 * gdb.base/setshow.exp: Likewise.
12238 * gdb.base/setvar.exp: Likewise.
12239 * gdb.base/sigall.exp: Likewise.
12240 * gdb.base/sigbpt.exp: Likewise.
12241 * gdb.base/signals.exp: Likewise.
12242 * gdb.base/signull.exp: Likewise.
12243 * gdb.base/sizeof.exp: Likewise.
12244 * gdb.base/solib.exp: Likewise.
12245 * gdb.base/step-line.exp: Likewise.
12246 * gdb.base/step-test.exp: Likewise.
12247 * gdb.base/structs.exp: Likewise.
12248 * gdb.base/structs2.exp: Likewise.
12249 * gdb.base/term.exp: Likewise.
12250 * gdb.base/twice.exp: Likewise.
12251 * gdb.base/until.exp: Likewise.
12252 * gdb.base/varargs.exp: Likewise.
12253 * gdb.base/volatile.exp: Likewise.
12254 * gdb.base/watchpoint.exp: Likewise.
12255 * gdb.base/whatis-exp.exp: Likewise.
12256 * gdb.base/whatis.exp: Likewise.
12257 * gdb.cp/ambiguous.exp: Likewise.
12258 * gdb.cp/annota2.exp: Likewise.
12259 * gdb.cp/annota3.exp: Likewise.
12260 * gdb.cp/bool.exp: Likewise.
12261 * gdb.cp/breakpoint.exp: Likewise.
12262 * gdb.cp/casts.exp: Likewise.
12263 * gdb.cp/class2.exp: Likewise.
12264 * gdb.cp/classes.exp: Likewise.
12265 * gdb.cp/cplusfuncs.exp: Likewise.
12266 * gdb.cp/ctti.exp: Likewise.
12267 * gdb.cp/derivation.exp: Likewise.
12268 * gdb.cp/exception.exp: Likewise.
12269 * gdb.cp/gdb1355.exp: Likewise.
12270 * gdb.cp/hang.exp: Likewise.
12271 * gdb.cp/inherit.exp: Likewise.
12272 * gdb.cp/local.exp: Likewise.
12273 * gdb.cp/m-data.exp: Likewise.
12274 * gdb.cp/m-static.exp: Likewise.
12275 * gdb.cp/member-ptr.exp: Likewise.
12276 * gdb.cp/method.exp: Likewise.
12277 * gdb.cp/misc.exp: Likewise.
12278 * gdb.cp/namespace.exp: Likewise.
12279 * gdb.cp/overload.exp: Likewise.
12280 * gdb.cp/ovldbreak.exp: Likewise.
12281 * gdb.cp/pr-1023.exp: Likewise.
12282 * gdb.cp/pr-1210.exp: Likewise.
12283 * gdb.cp/pr-574.exp: Likewise.
12284 * gdb.cp/printmethod.exp: Likewise.
12285 * gdb.cp/psmang.exp: Likewise.
12286 * gdb.cp/ref-params.exp: Likewise.
12287 * gdb.cp/ref-types.exp: Likewise.
12288 * gdb.cp/rtti.exp: Likewise.
12289 * gdb.cp/templates.exp: Likewise.
12290 * gdb.cp/try_catch.exp: Likewise.
12291 * gdb.cp/userdef.exp: Likewise.
12292 * gdb.cp/virtfunc.exp: Likewise.
12293 * gdb.disasm/am33.exp: Likewise.
12294 * gdb.disasm/h8300s.exp: Likewise.
12295 * gdb.disasm/mn10300.exp: Likewise.
12296 * gdb.disasm/sh3.exp: Likewise.
12297 * gdb.disasm/t01_mov.exp: Likewise.
12298 * gdb.disasm/t02_mova.exp: Likewise.
12299 * gdb.disasm/t03_add.exp: Likewise.
12300 * gdb.disasm/t04_sub.exp: Likewise.
12301 * gdb.disasm/t05_cmp.exp: Likewise.
12302 * gdb.disasm/t06_ari2.exp: Likewise.
12303 * gdb.disasm/t07_ari3.exp: Likewise.
12304 * gdb.disasm/t08_or.exp: Likewise.
12305 * gdb.disasm/t09_xor.exp: Likewise.
12306 * gdb.disasm/t10_and.exp: Likewise.
12307 * gdb.disasm/t11_logs.exp: Likewise.
12308 * gdb.disasm/t12_bit.exp: Likewise.
12309 * gdb.disasm/t13_otr.exp: Likewise.
12310 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
12311 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
12312 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
12313 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
12314 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
12315 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
12316 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
12317 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
12318 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
12319 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
12320 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
12321 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
12322 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
12323 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
12324 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
12325 * gdb.mi/gdb701.exp: Likewise.
12326 * gdb.mi/gdb792.exp: Likewise.
12327 * gdb.mi/mi-basics.exp: Likewise.
12328 * gdb.mi/mi-break.exp: Likewise.
12329 * gdb.mi/mi-cli.exp: Likewise.
12330 * gdb.mi/mi-console.exp: Likewise.
12331 * gdb.mi/mi-disassemble.exp: Likewise.
12332 * gdb.mi/mi-eval.exp: Likewise.
12333 * gdb.mi/mi-file.exp: Likewise.
12334 * gdb.mi/mi-read-memory.exp: Likewise.
12335 * gdb.mi/mi-regs.exp: Likewise.
12336 * gdb.mi/mi-return.exp: Likewise.
12337 * gdb.mi/mi-simplerun.exp: Likewise.
12338 * gdb.mi/mi-stack.exp: Likewise.
12339 * gdb.mi/mi-stepi.exp: Likewise.
12340 * gdb.mi/mi-syn-frame.exp: Likewise.
12341 * gdb.mi/mi-until.exp: Likewise.
12342 * gdb.mi/mi-var-block.exp: Likewise.
12343 * gdb.mi/mi-var-child.exp: Likewise.
12344 * gdb.mi/mi-var-cmd.exp: Likewise.
12345 * gdb.mi/mi-var-display.exp: Likewise.
12346 * gdb.mi/mi-watch.exp: Likewise.
12347 * gdb.mi/mi2-basics.exp: Likewise.
12348 * gdb.mi/mi2-break.exp: Likewise.
12349 * gdb.mi/mi2-cli.exp: Likewise.
12350 * gdb.mi/mi2-console.exp: Likewise.
12351 * gdb.mi/mi2-disassemble.exp: Likewise.
12352 * gdb.mi/mi2-eval.exp: Likewise.
12353 * gdb.mi/mi2-file.exp: Likewise.
12354 * gdb.mi/mi2-read-memory.exp: Likewise.
12355 * gdb.mi/mi2-regs.exp: Likewise.
12356 * gdb.mi/mi2-return.exp: Likewise.
12357 * gdb.mi/mi2-simplerun.exp: Likewise.
12358 * gdb.mi/mi2-stack.exp: Likewise.
12359 * gdb.mi/mi2-stepi.exp: Likewise.
12360 * gdb.mi/mi2-syn-frame.exp: Likewise.
12361 * gdb.mi/mi2-until.exp: Likewise.
12362 * gdb.mi/mi2-var-block.exp: Likewise.
12363 * gdb.mi/mi2-var-child.exp: Likewise.
12364 * gdb.mi/mi2-var-cmd.exp: Likewise.
12365 * gdb.mi/mi2-var-display.exp: Likewise.
12366 * gdb.mi/mi2-watch.exp: Likewise.
12367 * gdb.stabs/exclfwd.exp: Likewise.
12368 * gdb.stabs/weird.exp: Likewise.
12369 * gdb.threads/gcore-thread.exp: Likewise.
12370 * gdb.trace/actions.exp: Likewise.
12371 * gdb.trace/backtrace.exp: Likewise.
12372 * gdb.trace/circ.exp: Likewise.
12373 * gdb.trace/collection.exp: Likewise.
12374 * gdb.trace/deltrace.exp: Likewise.
12375 * gdb.trace/infotrace.exp: Likewise.
12376 * gdb.trace/limits.exp: Likewise.
12377 * gdb.trace/packetlen.exp: Likewise.
12378 * gdb.trace/passc-dyn.exp: Likewise.
12379 * gdb.trace/passcount.exp: Likewise.
12380 * gdb.trace/report.exp: Likewise.
12381 * gdb.trace/save-trace.exp: Likewise.
12382 * gdb.trace/tfind.exp: Likewise.
12383 * gdb.trace/tracecmd.exp: Likewise.
12384 * gdb.trace/while-dyn.exp: Likewise.
12385 * gdb.trace/while-stepping.exp: Likewise.
12386
f4b618d1
JB
123872006-08-08 Joel Brobecker <brobecker@adacore.com>
12388
12389 * gdb.base/step-bt.c: New file.
12390 * gdb.base/step-bt.exp: New testcase.
12391
3d00d119
DJ
123922006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
12393
12394 * config/monitor.exp (gdb_load): Remove support for obsolete
12395 download-write-size.
12396 * gdb.base/remote.exp: Likewise. Update all callers of
12397 gdb_timed_load.
12398
017b5bd4
DJ
123992006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
12400
12401 * cursal.exp: Pass binfile to gdb_load.
12402
837c599d
DJ
124032006-08-01 Nathan Sidwell <nathan@codesourcery.com>
12404
12405 * gdb.base/cursal.exp: Add "" to gdb_load call.
12406
8dd4540b
MK
124072006-07-29 Mark Kettenis <kettenis@gnu.org>
12408
12409 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
12410 NetBSD/ELF targets.
12411
ab5c9f60
DJ
124122006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
12413
12414 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
12415 operator*.
12416
4c42eaff
DJ
124172006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
12418
12419 * gdb.base/completion.exp: Update for change in "file" behavior.
12420 * gdb.stabs/weird.exp: Likewise.
12421 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
12422 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
12423
0155cc76
NS
124242006-07-24 Nathan Sidwell <nathan@codesourcery.com>
12425
12426 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
12427 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
12428
16026cd7
AS
124292006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
12430
12431 * gdb.base/default.exp: Update source command error message.
12432 * gdb.base/help.exp: Update 'help source' message.
12433
16963cb6
DJ
124342006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
12435
12436 * gdb.cp/bs15503.exp: Update comment for no longer crashing
12437 test.
12438
6d7fd486
AS
124392006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
12440
12441 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
12442
29e8a844
DJ
124432006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
12444
12445 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
12446
6afcfa39
DJ
124472006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
12448
12449 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
12450
267a692b
MK
124512006-07-17 Mark Kettenis <kettenis@gnu.org>
12452
12453 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
12454 *-*-openbsd* from targets for wich we expect ARM FPA floating
12455 point format.
12456
85d2fec4
NR
124572006-07-17 Nick Roberts <nickrob@snap.net.nz>
12458
12459 * gdb.cp/annota3.exp: Expect frame-begin annotation.
12460
124612006-07-17 Mark Kettenis <kettenis@gnu.org>
12462
12463 * gdb.base/annota3.exp: Expect frame-begin annotation.
12464
85b4c6e8
JB
124652006-07-14 Joel Brobecker <brobecker@adacore.com>
12466
12467 * gdb.base/help.exp: Adjust "help unset" test to accept
12468 any list of unset commands.
12469
fb933624
DJ
124702006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
12471 Daniel Jacobowitz <dan@codesourcery.com>
12472
12473 * gdb.cp/ref-params.exp: New test.
12474 * gdb.cp/ref-params.cc: New source file.
12475 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
12476
1dff4b64
MK
124772006-07-08 Mark Kettenis <kettenis@gnu.org>
12478
12479 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
12480 spaces/tabs in regular expressions since they might not be there.
12481
40d2e0e3
AS
124822006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
12483
12484 * gdb.base/ifelse.exp: New file.
12485
f6c957d2
NS
124862006-07-04 Nathan Sidwell <nathan@codesourcery.com>
12487
12488 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
12489 line.
12490 * gdb.base/huge.exp: Loop over compilation to find a size that
12491 is acceptable.
12492 * gdb.base/remote.exp: Correct expected strings.
12493 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
12494
b9c5a23d
DJ
124952006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12496
12497 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
12498
9af2e58d
DJ
124992006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12500
12501 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
12502 native.
12503
30930ca5
DJ
125042006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12505
12506 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
12507 enable stabs testing.
12508
aa32fa1d
DJ
125092006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12510
bd4a4c80 12511 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
12512 gdb_test_multiple does.
12513
321fef15
DJ
125142006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12515
12516 * Makefile.in (host_alias): Remove.
12517 (target_alias): Use @target_noncanonical@.
12518 (site.exp): Don't set host_alias.
12519 * aclocal.m4: Remove contents. Include acx.m4.
12520 * configure: Regenerated.
12521 * configure.ac: Use ACX_NONCANONICAL_TARGET.
12522
e1c2defa
NS
125232006-06-13 Nathan Sidwell <nathan@codesourcery.com>
12524
e63b55d1
NS
12525 * lib/gdb.exp (gdb_load_cmd): New.
12526
5600ea19
NS
12527 * gdb.base/fileio.c: Add system(NULL) test.
12528 * gdb.base/fileio.exp: Check it.
12529
e1c2defa
NS
12530 * gdb.base/break.c: Add 10a breakpoint at }
12531 * gdb.base/break.exp: Add test for breakpoint at }
12532 * gdb.cp/anon-union.cc: Add code at end of function.
12533 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
12534 * gdb.mi/var-cmd.c: Add code at end of function.
12535 * gdb.mi/mi-var-display.exp: Adjust end of next.
12536 * gdb.mi/mi2-var-display.exp: Likewise.
12537 * gdb.base/fileio.c: Add stop function and insert calls at
12538 stopping places.
12539 * gdb.base/fileio.exp: Breakpoint stop function and remove
12540 explicit line number references.
12541
6c0112ec
JB
125422006-05-19 Joel Brobecker <brobecker@adacore.com>
12543
a9c64011
AS
12544 * gdb.base/del.exp (test_delete_alias): New function.
12545 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 12546
154189a4
FF
125472006-05-18 Fred Fish <fnf@specifix.com>
12548
12549 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
12550 required. Check for spurious output after program exits normally.
12551
582e64c2
FF
125522006-05-17 Fred Fish <fnf@specifix.com>
12553
12554 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
12555 gdb_load, so it works in the simulator.
12556
8ef6493a
FF
125572006-05-11 Fred Fish <fnf@specifix.com>
12558
12559 * gdb.base/bang.exp: Ignore unexpected output between the
12560 "program exited normally" and the gdb prompt, as many other
12561 tests do.
12562
692b141c
MK
125632006-05-07 Mark Kettenis <kettenis@gnu.org>
12564
12565 * gdb.base/help.exp: Make "delete checkpoint" part option for
12566 "help d" and "help delete" tests.
12567
540b8a30
UW
125682006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12569
a9c64011 12570 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
12571 expected output in some mi_gdb_test statements.
12572 * gdb.mi/mi2-basics.exp: Likewise.
12573
9b6462d9
JB
125742006-05-05 Joel Brobecker <brobecker@adacore.com>
12575
12576 * gdb.base/del.c: New file.
12577 * gdb.base/del.exp: New testcase.
12578
954de43b
DM
125792006-05-05 David S. Miller <davem@sunset.davemloft.net>
12580
12581 * gdb.base/break.exp: Do not assume a breakpoint on
12582 main will actually be in $srcfile when optimizing.
1303f75e
DM
12583 * gdb.base/savedregs.exp: Do not require that the dummy
12584 frame location match up to a symbol and source file location.
c3242428
DM
12585 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
12586 will get printed without a mi_cmd_data_list_register_values prefix.
12587 (*-data-list-register-*): Correct regular expressions to expect the new
12588 pseudo d? floating point registers.
12589 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 12590
c7e64c9a
DJ
125912006-05-05 Christophe Lyon <christophe.lyon@st.com>
12592
12593 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
12594 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
12595 is allocated by the compiler.
12596 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
12597 anons, e, anone to force their allocation by the compiler.
12598
125992006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
12600
12601 * gdb.base/help.exp: Update expected text for help d and
12602 help delete.
12603
27ce9a6d
MK
126042006-05-02 Mark Kettenis <kettenis@gnu.org>
12605
12606 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
12607 NetBSD/ELF targets.
12608
8608915f
MK
126092006-04-30 Mark Kettenis <kettenis@gnu.org>
12610
12611 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
12612 single-step breakpoint fails; make this a KFAIL on
12613 sparc*-*-openbsd*.
12614 * gdb.base/siginfo.exp: Likewise.
12615 * gdb.base/sigstep.exp (advance, advancei): Likewise.
12616
b8db102d
MS
126172006-04-26 Michael Snyder <msnyder@redhat.com>
12618
12619 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
12620 which may have to consume output from other forks.
12621 Add tests to make sure that "delete fork" succeeded.
12622
c702009a
MS
126232006-04-20 Michael Snyder <msnyder@redhat.com>
12624
12625 * 2006-03-22 Jim Blandy <jimb@redhat.com>
12626 Add support for the Renesas M32C and M16C.
12627
12628 * gdb.asm/asm-source.exp: Add m32c target.
12629 * gdb.asm/m32c.inc: Support for m32c target.
12630
e28493f2
AS
126312006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
12632
12633 * gdb.base/commands.exp (recursive_source_test): New test.
12634
880da185
DM
126352006-04-04 David S. Miller <davem@sunset.davemloft.net>
12636
12637 * gdb.base/float.exp: Add pattern for sparc targets.
12638
61d9b92f
DJ
126392006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
12640
12641 * gdb.base/commands.exp (stray_arg0_test): New test.
12642
bd717df8
PB
126432006-03-30 Paul Brook <paul@codesourcery.com>
12644
12645 * gdb.mi/mi-until.exp: kfail broken until command.
12646 * gdb.mi/mi2-until.exp: Ditto.
12647
ec793d3c
NR
126482006-03-27 Nick Roberts <nickrob@snap.net.nz>
12649
12650 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
12651
831004b7
AO
126522006-03-08 Alexandre Oliva <aoliva@redhat.com>
12653
12654 * gdb.base/prelink.exp: Anchor tested-for regular expression
12655 on gdb prompt.
12656
effe49a0
PB
126572006-03-07 Paul Brook <paul@codesourcery.com>
12658
12659 * gdb.base/assign.exp: Correct fail message.
12660
e5461016
PB
126612006-03-07 Paul Brook <paul@codesourcery.com>
12662
12663 * lib/compiler.c: Extract armcc version number.
12664 * lib/compiler.cc: Ditto.
12665
fc91c6c2
PB
126662006-03-07 Paul Brook <paul@codesourcery.com>
12667
12668 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
12669 additional_flags=-w.
12670 * gdb.arch/altivec-regs.exp: Ditto.
12671 * gdb.arch/e500-abi.exp: Ditto.
12672 * gdb.arch/e500-regs.exp: Ditto.
12673 * gdb.base/all-bin.exp: Ditto.
12674 * gdb.base/annota1.exp: Ditto.
12675 * gdb.base/annota3.exp: Ditto.
12676 * gdb.base/args.exp: Ditto.
12677 * gdb.base/arithmet.exp: Ditto.
12678 * gdb.base/assign.exp: Ditto.
12679 * gdb.base/async.exp: Ditto.
12680 * gdb.base/bang.exp: Ditto.
12681 * gdb.base/break.exp: Ditto.
12682 * gdb.base/call-rt-st.exp: Ditto.
12683 * gdb.base/completion.exp: Ditto.
12684 * gdb.base/cond-expr.exp: Ditto.
12685 * gdb.base/condbreak.exp: Ditto.
12686 * gdb.base/consecutive.exp: Ditto.
12687 * gdb.base/define.exp: Ditto.
12688 * gdb.base/display.exp: Ditto.
12689 * gdb.base/ena-dis-br.exp: Ditto.
12690 * gdb.base/environ.exp: Ditto.
12691 * gdb.base/eval-skip.exp: Ditto.
12692 * gdb.base/info-proc.exp: Ditto.
12693 * gdb.base/jump.exp: Ditto.
12694 * gdb.base/logical.exp: Ditto.
12695 * gdb.base/long_long.exp: Ditto.
12696 * gdb.base/maint.exp: Ditto.
12697 * gdb.base/miscexprs.exp: Ditto.
12698 * gdb.base/pc-fp.exp: Ditto.
12699 * gdb.base/pointers.exp: Ditto.
12700 * gdb.base/relational.exp: Ditto.
12701 * gdb.base/reread.exp: Ditto.
12702 * gdb.base/sect-cmd.exp: Ditto.
12703 * gdb.base/sep.exp: Ditto.
12704 * gdb.base/sepdebug.exp: Ditto.
12705 * gdb.base/until.exp: Ditto.
12706 * gdb.base/whatis-exp.exp: Ditto.
12707 * gdb.cp/annota2.exp: Ditto.
12708 * gdb.cp/annota3.exp: Ditto.
12709 * gdb.trace/actions.exp: Ditto.
12710 * gdb.trace/backtrace.exp: Ditto.
12711 * gdb.trace/circ.exp: Ditto.
12712 * gdb.trace/collection.exp: Ditto.
12713 * gdb.trace/deltrace.exp: Ditto.
12714 * gdb.trace/infotrace.exp: Ditto.
12715 * gdb.trace/limits.exp: Ditto.
12716 * gdb.trace/packetlen.exp: Ditto.
12717 * gdb.trace/passc-dyn.exp: Ditto.
12718 * gdb.trace/passcount.exp: Ditto.
12719 * gdb.trace/report.exp: Ditto.
12720 * gdb.trace/save-trace.exp: Ditto.
12721 * gdb.trace/tfind.exp: Ditto.
12722 * gdb.trace/tracecmd.exp: Ditto.
12723 * gdb.trace/while-dyn.exp: Ditto.
12724 * gdb.trace/while-stepping.exp: Ditto.
12725 * lib/gdb.exp: Ditto.
12726 (gdb_compile): Handle nowarning option.
12727
5f4a23d9
AO
127282006-03-07 Alexandre Oliva <aoliva@redhat.com>
12729
12730 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
12731 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
12732 Rename executable to prelinkt. Don't re-prelink if we didn't
12733 get a core file. Test prelink -u exit status to tell whether
12734 prelinking failed. Use gdb_test_multiple.
12735
9733fc94
DJ
127362006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
12737
12738 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
12739 (do_tests): Call it.
12740
cc10cae3
AO
127412006-02-28 Alexandre Oliva <aoliva@redhat.com>
12742
12743 * gdb.base/prelink.exp: New test.
12744 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
12745
15c46491
WZ
127462006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
12747
12748 * gdb.fortran/derived-type.f90: New file.
12749 * gdb.fortran/derived-type.exp: New testcase.
12750
5c9f7ded
DJ
127512006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
12752
12753 * gdb.base/default.exp: Allow ';' as a directory separator.
12754
5b96932b
AS
127552006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
12756
12757 * gdb.base/help.exp (help add-symbol-file): Update.
12758
1986bccd
AS
127592006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
12760
12761 * gdb.base/help.exp (help load): Update expected results.
12762
a8b7528f
FF
127632006-02-19 Fred Fish <fnf@specifix.com>
12764
12765 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
12766 specifix hex value as part of results.
12767 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 12768
f8261448
FF
127692006-02-16 Fred Fish <fnf@specifix.com>
12770
12771 * gdb.base/whatis.c: Define variables using typedefs char_addr,
12772 ushort_addr, and slong_addr, so the typedefs are not optimized
12773 away.
12774 * gdb.base/whatis.exp: Add tests using type name for struct type,
12775 union type, enum type, and typedef.
a9c64011 12776
31d8bdd2
MK
127772006-02-13 Mark Kettenis <kettenis@gnu.org>
12778
12779 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
12780
34e41e63
JB
127812006-02-13 Jim Blandy <jimb@redhat.com>
12782
12783 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
12784 case where it takes two "next" commands to skip past the init
12785 call.
12786
ac6e4f31
FF
127872006-02-12 Fred Fish <fnf@specifix.com>
12788
12789 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
12790 to handle cases where it takes two "next" commands to skip
12791 past the init call.
12792
2db2d571
JB
127932006-02-07 Joel Brobecker <brobecker@adacore.com>
12794
12795 * gdb.ada/array_return.exp: Mark the last test as expected to fail
12796 on hppa32 targets.
12797
38fcd64c
DJ
127982006-02-06 Vladimir Prus <ghost@cs.msu.su>
12799
12800 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
12801 field.
12802
1315ad46
MK
128032006-01-29 Mark Kettenis <kettenis@gnu.org>
12804
12805 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
12806
5625b943
DJ
128072006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
12808
12809 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
12810 files.
12811
80df1bbe
DJ
128122006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
12813
12814 * gdb.cp/maint.exp: Set complaints to a positive value.
12815
9078e690
DJ
128162006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
12817
12818 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
12819 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
12820 function name.
12821
9c903399
DJ
128222006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
12823
12824 * gdb.base/checkpoint.c: Update copyright notice. Include
12825 <stdlib.h>.
12826
761ae4d6
JB
128272006-01-04 Jim Blandy <jimb@redhat.com>
12828
12829 * gdb.asm/asm-source.exp: Independently provide default values for
12830 asm-flags and debug-flags. Use 'string equal' to do the
12831 comparison, not the implicit expr's '==' operator. Remove
12832 now-unneeded assignments to asm-flags. In h8300 case, place
12833 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
12834
099ac3dd
MS
128352006-01-04 Michael Snyder <msnyder@redhat.com>
12836
12837 * gdb.base/checkpoint.c: New file.
12838 * gdb.base/checkpoint.exp: New file.
12839 * gdb.base/multi-fork.c: New file.
12840 * gdb.base/multi-fork.exp: New file.
12841 * gdb.base/pi.txt: New file (data for checkpoint.c test).
12842
f4d85314
FF
128432006-01-04 Fred Fish <fnf@specifix.com>
12844
12845 * gdb.base/ptype.c (foo): Add typedef.
12846 (intfoo): Add function.
12847 * gdb.base/ptype1.c: New file.
12848 * gdb.base/ptype.exp: Handle compilation and linking with two
12849 source files. Test that proper type for "foo" is found based
12850 on source context rather than first match found in symtabs.
12851
a1b06f35
MK
128522005-12-28 Mark Kettenis <kettenis@gnu.org>
12853
12854 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
12855 * gdb.asm/openbsd.inc: Indent commands.
12856
d082a1e2
MK
128572005-12-26 Mark Kettenis <kettenis@gnu.org>
12858
c65016bd
MK
12859 * gdb.base/freebpcmd.exp: Increase timeout.
12860
d082a1e2
MK
12861 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
12862
d3c32a0e
DJ
128632005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
12864
12865 * gdb.base/default.exp: Update check for "show version".
12866
9fdb1f50
RC
128672005-12-09 Randolph Chung <tausq@debian.org>
12868
12869 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
12870 * gdb.asm/pa64.inc: New file.
12871
5f2c56f7
RC
128722005-12-09 Randolph Chung <tausq@debian.org>
12873
12874 * gdb.asm/common.inc: Indent commands.
12875 * gdb.asm/asmsrc1.s: Likewise.
12876 * gdb.asm/asmsrc2.s: Likewise.
12877
8117349c
RC
128782005-12-09 Randolph Chung <tausq@debian.org>
12879
12880 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
12881 (get_addr_of_sym): Remove duplicate print.
12882 (gen_core): xfail hppa*-*-hpux*, update expected output.
12883 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
12884 * gdb.arch/pa64-nullify.s: New file.
12885
8f07f25a
RC
128862005-12-09 Randolph Chung <tausq@debian.org>
12887
12888 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
12889
55b39184
DJ
128902005-12-07 Christophe Lyon <christophe.lyon@st.com>
12891
12892 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
12893 code generation for these functions.
12894 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
12895 error message.
12896
31e2b00f
AS
128972005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
12898
12899 * gdb.base/help.exp (help b, help br, help bre, help brea)
12900 (help break): Update the expected message.
12901
c3d0b56e
SC
129022005-11-11 Stephane Carrez <stcarrez@nerim.fr>
12903
12904 * gdb.asm/m68hc11.inc: Setup the data section.
12905 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
12906 script for this test.
12907 (m6812-*-*): Likewise.
12908
36ae0ea9
RC
129092005-11-09 Randolph Chung <tausq@debian.org>
12910
12911 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
12912
9d6f42e9
WZ
129132005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
12914
12915 * gdb.base/break.exp: Fix a comment typo.
12916
e2126a14
EZ
129172005-11-03 Jim Blandy <jimb@redhat.com>
12918
a9c64011
AS
12919 Checked in by Elena Zannoni <ezannoni@redhat.com>
12920
889bf7c5 12921 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
e2126a14 12922
e0ac7199
CV
129232005-11-02 Corinna Vinschen <vinschen@redhat.com>
12924
12925 * gdb.arch/gdb1558.c: Include stdio.h.
12926
31d3fb18
MK
129272005-10-31 Mark Kettenis <kettenis@gnu.org>
12928
12929 * gdb.asm/asm-source.exp: Use -e instead of --entry.
12930
e52b687c
MK
129312005-10-31 Mark Kettenis <kettenis@gnu.org>
12932
12933 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
12934
f4711d79
PG
129352005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
12936
a9c64011
AS
12937 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
12938 vscr" tests to better match output.
f4711d79 12939
987a9106
JB
129402005-10-12 Jim Blandy <jimb@redhat.com>
12941
12942 * gdb.base/structs.exp (any): New function.
12943 (test_struct_returns): Don't make any assumptions at all about
12944 what value the function returns when GDB can't set the return
12945 value.
12946
2336bb58
JB
129472005-10-09 Joel Brobecker <brobecker@adacore.com>
12948
12949 * gdb.ada/arrayidx/p.adb: New file.
12950 * gdb.ada/arrayidx.exp: New testcase
12951
129522005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
12953
12954 * gdb.ada/array_return/pck.ads: New file.
12955 * gdb.ada/array_return/pck.adb: New file.
12956 * gdb.ada/array_return/p.adb: New file.
12957 * gdb.ada/array_return.exp: New testcase.
12958
705335ea
JB
129592005-10-03 Joel Brobecker <brobecker@adacore.com>
12960
a9c64011
AS
12961 * gdb.base/arrayidx.c: New file.
12962 * gdb.base/arrayidx.exp: New testcase.
705335ea 12963
11ee9940
NR
129642005-09-29 Nick Roberts <nickrob@snap.net.nz>
12965
12966 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
12967 frames-invalid and breakpoints-invalid are no longer generated
12968 with level 3 so don't expect them in the output.
12969
39fb8e9e
BR
129702005-09-27 Bob Rossi <bob@brasko.net>
12971
a9c64011 12972 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
12973 from test. Escape the | in mi_gdb_test call.
12974 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
12975 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
12976 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
12977 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
12978 expected regex's in mi_gdb_test calls.
12979 * lib/mi-support.exp: Remove arbitrary .* from tests.
12980 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
12981 Fully anchor GDB/MI expected results in mi_gdb_test.
12982 * lib/gdb.exp (string_to_regexp): Escape the ] character.
12983 * gdb.base/sizeof.exp: Remove escape character. Correct test.
12984
2af48f68
PB
129852005-09-26 Paul Brook <paul@codesourcery.com>
12986
12987 * long_long.exp: Exclude eabi targets from arm FPA float format test.
12988
f34502bc
WZ
129892005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
12990
12991 * bfp-test.c: New file.
12992 * bfp-test.exp: New testcase.
12993
ca929517
WZ
129942005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
12995
12996 * gdb.fortran/subarray.exp: New testcase to test the evaluation
12997 of subarray and substring variable.
12998 * gdb.fortran/subarray.f: New source file for the test of subarray
12999 and substring variable evaluation.
13000 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
13001 of string constant.
13002
c761af65
DJ
130032005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
13004
13005 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
13006 copyright dates.
13007
561d7a1d
PG
130082005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
13009
13010 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
13011 powerpc altivec' test with an almost identical 'info vector' test.
13012
b2b64cc9
PG
130132005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
13014
a9c64011
AS
13015 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
13016 vscr" tests to match output.
b2b64cc9 13017
6ac4d15a
PG
130182005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
13019
a9c64011
AS
13020 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
13021 output.
6ac4d15a 13022
40e55bef
BR
130232005-09-11 Bob Rossi <bob@brasko.net>
13024
889bf7c5
PA
13025 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
13026 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
13027 commands that return an MI output command and an asyncronous MI output
13028 command.
40e55bef
BR
13029 * gdb.mi/mi-console.exp: Ditto.
13030
3c7385ec
BR
130312005-09-11 Bob Rossi <bob@brasko.net>
13032
13033 * gdb.mi/mi-var-child.c: Include <string.h>.
13034
a6cd0eb3
DJ
130352005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
13036
13037 * killed.exp: Correct gdb_expect syntax.
13038
2f168eed
CV
130392005-08-09 Corinna Vinschen <vinschen@redhat.com>
13040
13041 * lib/mi-support.exp (mi_gdb_load): Fix typo.
13042
ecd3fd0f
BR
130432005-08-02 Bob Rossi <bob@brasko.net>
13044
13045 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
13046 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
13047 Change tests to inferior-tty-set/show.
13048 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
13049 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
13050 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
13051 inferior. Use mi_gdb_test to get GDB and Inferior output.
13052 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
13053 descriptor.
13054 (mi_inferior_tty_name): Add inferior PTY file name.
13055 (mi_gdb_start): Add INFERIOR_PTY parameter.
13056 (mi_gdb_test): Add IPATTERN parameter.
13057
f1ea48cb 130582005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 13059
f1ea48cb
BR
13060 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
13061 parameter to mi_gdb_test.
13062 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
13063
6e650a67
DJ
130642005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
13065
13066 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
13067 struct_declarations.
13068 * gdb.mi/mi-var-child.exp: Step over the initialization of
13069 struct_declarations.
13070
8be260b6
DJ
130712005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
13072
13073 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
13074 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
13075 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
13076 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
13077 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
13078 file.
13079
4e660f07
NR
130802005-07-27 Nick Roberts <nickrob@snap.net.nz>
13081
13082 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
13083 (do_children_tests): Assign values to the extra elements.
13084
13085 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
13086 them for tests for "-var-update --no-values" and
a9c64011 13087 "-var-update --all-values".
4e660f07
NR
13088 Add test for "-var-list-children --simple-values".
13089
13090 * gdb.mi/basics.c (callee4): Add integer array D[3]...
13091
13092 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
13093 "-stack-list-locals --simple-values" Improve doc strings and
13094 comments.
13095
6bdae935
MK
130962005-07-18 Mark Kettenis <kettenis@gnu.org>
13097
598b7a6f
MK
13098 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
13099 *-*-openbsd*.
13100 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
13101
6bdae935
MK
13102 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
13103 sigaltsatck'.
13104
1323e929 131052005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 13106
1323e929
BR
13107 * gdb.base/default.exp (tty): Changed output of command.
13108 * gdb.base/help.exp (help tty): Ditto.
13109
b1a9c082
MK
131102005-07-12 Mark Kettenis <kettenis@gnu.org>
13111
13112 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
13113
10a844a2
MK
131142005-07-10 Mark Kettenis <kettenis@gnu.org>
13115
13116 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
13117 -stack-select-frame without arguments.
13118 (test_stack_frame_listing): Add test for newly implemented command
13119 -stack-info-frame.
13120
3cb3b8df
BR
131212005-07-06 Bob Rossi <bob@brasko.net>
13122
13123 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
13124 command.
13125 (Copyright): Update copyright.
13126
a0c5fbcf
WZ
131272005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
13128
13129 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
13130 tests to evaluate exponentiation expression.
13131
984971d0
AS
131322005-06-29 Andreas Schwab <schwab@suse.de>
13133
13134 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
13135 main to avoid warnings.
13136
13137 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
13138
fe03833f
NR
131392005-06-20 Nick Roberts <nickrob@snap.net.nz>
13140
13141 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
13142 -stack-select-frame without arguments.
13143 (test_stack_frame_listing): Add test for newly implemented command
13144 -stack-info-frame.
a9c64011 13145
7a55f279
WZ
131462005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
13147
0ffa0ea5
DJ
13148 * gdb.fortran/array-element.f: New file.
13149 * gdb.fortran/array-element.exp: New testcase.
7a55f279 13150
26585198
DJ
131512005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
13152
13153 * gdb.base/bigcore.exp: Correct checks for systems which can
13154 not dump a large core file.
13155
c1bd25fd
DJ
131562005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
13157
13158 * gdb.base/relocate.c: Add a copyright notice.
13159 (dummy): Remove.
13160 * gdb.base/relocate.exp: Test printing the values of variables
13161 from a relocatable file.
13162
589e074d
DJ
131632005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
13164
13165 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
13166 excess MI output after an error.
13167
0915f927
JB
131682005-05-29 Joel Brobecker <brobecker@adacore.com>
13169
13170 * gdb.arch/alpha-step.c: New file.
13171 * gdb.arch/alpha-step.exp: New testcase.
13172
76ff342d
DJ
131732005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
13174 Dennis Brueni <dennis@slickedit.com>
13175
13176 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
13177 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
13178 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
13179 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
13180 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
13181 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
13182 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
13183
96b0c7ac
DJ
131842005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
13185 Wu Zhou <woodzltc@cn.ibm.com>
13186
13187 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
13188 IBM's xlc compiler.
13189 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
13190 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
13191
f21565d2
JB
131922005-05-13 Jim Blandy <jimb@redhat.com>
13193
13194 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
13195 calling gdb_suppress_entire_file.
13196 * gdb.base/charset.exp: Same.
13197 * gdb.base/call-rt-st.exp: Same.
13198
6006a3a1
BR
131992005-05-05 Bob Rossi <bob_rossi@cox.net>
13200
13201 * lib/gdb.exp (fullname_syntax): Added global regex.
13202 (fullname_syntax_POSIX): Ditto.
13203 (fullname_syntax_UNC): Ditto.
13204 (fullname_syntax_DOS_CASE): Ditto.
13205 (fullname_syntax_DOS): Ditto.
13206 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
13207 fullname_syntax variable to scope and use it.
13208 (test_file_list_exec_source_files): Ditto.
13209 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
13210
c3b69c04
DJ
132112005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
13212
13213 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
13214
3c95e6af
PG
132152004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
13216
a9c64011
AS
13217 * lib/gdb.exp (skip_altivec_tests): New function, based on
13218 check_vmx_hw_available from the GCC testsuite.
13219 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
13220 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 13221
78df6c56
JB
132222005-05-02 Jim Blandy <jimb@redhat.com>
13223
13224 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
13225 calling gdb_suppress_entire_file.
13226
1690f9cf
DJ
132272005-04-30 Randolph Chung <tausq@debian.org>
13228
13229 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
13230 Slightly relax "sem_post" name checking.
13231
5ea106f7
PG
132322005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
13233
13234 * gdb.base/unload.exp: Use new shared library infrastructure.
13235
bf7234cf
PG
132362005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
13237
13238 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 13239 infrastructure.
bf7234cf 13240
547b869a
CV
132412005-04-29 Corinna Vinschen <vinschen@redhat.com>
13242
13243 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
13244 * gdb.asm/h8300.inc: New file.
13245
f07e55f0
PG
132462005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
13247
13248 * gdb.base/shlib-call.exp: Change to use new shared library
13249 infrastructure.
13250
3cbba3d1
PG
132512005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
13252
a9c64011
AS
13253 * gdb.base/pending.exp: Change to use new shared library
13254 infrastructure.
3cbba3d1 13255
ed6df200
PG
132562005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
13257
a9c64011
AS
13258 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
13259 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 13260
8c8f4ebe
PG
132612005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
13262
a9c64011
AS
13263 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
13264 shared objects being adjusted and update copyright years.
8c8f4ebe 13265
607fbc54
DJ
132662005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
13267
13268 * ChangeLog: Correct some 2003-01-13 dates.
13269 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
13270 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
13271 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
13272 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
13273 gdb.trace/tfind.exp: Update copyright years.
13274
57bf0e56
DJ
132752005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
13276 Daniel Jacobowitz <dan@codesourcery.com>
13277
13278 * lib/gdb.exp (gdb_compile): Handle shlib=.
13279 (gdb_compile_shlib): New function.
13280
9b593790
PG
132812005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
13282
a9c64011 13283 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 13284
9494c6a5
DJ
132852005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
13286
13287 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
13288 gdb.server.
13289 * configure.ac: Likewise.
13290 * configure: Regenerated.
13291 * gdb.gdbserver/Makefile.in: Moved to...
13292 * gdb.server/Makefile.in: ... here.
13293 * gdb.gdbserver/server.c: Moved to...
13294 * gdb.server/server.c: ... here.
13295 * gdb.gdbserver/server-run.exp: Moved to...
13296 * gdb.server/server-run.exp: ... here.
13297
6f8eac0e
DJ
132982005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
13299
13300 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
13301 * configure.ac: Create gdb.gdbserver/Makefile.
13302 * configure: Regenerated.
13303 * lib/gdbserver-support.exp: New file, derived from
13304 config/gdbserver.exp.
13305 * config/gdbserver.exp: Use gdbserver-support.exp.
13306 * gdb.gdbserver/Makefile.in: New file.
13307 * gdb.gdbserver/server.c: New file.
13308 * gdb.gdbserver/server-run.exp: New file.
13309
6e87504d
PG
133102005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
13311
a9c64011
AS
13312 * lib/gdb.exp (test_compiler_info): Return compiler_info
13313 if no arguments are given.
6e87504d 13314
d1779be4
PG
133152005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
13316
13317 * gdb.arch/altivec-abi.exp: Check for compiler and set
13318 use altivec' flag accordingly.
13319 * gdb.arch/altivec-regs.exp: Likewise.
13320
88750304
DJ
133212005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
13322
13323 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
13324
f3fb768d
AS
133252005-03-27 Andreas Schwab <schwab@suse.de>
13326
13327 * gdb.base/bigcore.c (main): Add missing mode argument in open
13328 call.
13329
7e813ac5
DJ
133302005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
13331
13332 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
13333 downloads.
13334 * config/gdbserver.exp (gdb_load): Likewise.
13335
8e3049aa
PB
133362005-03-14 Paul Brook <paul@codesourcery.com>
13337
13338 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
13339 targets.
13340
a9df7c44
JB
133412005-03-09 Joel Brobecker <brobecker@adacore.com>
13342
13343 * gdb.dwarf2/dup-psym.S: New file.
13344 * gdb.dwarf2/dup-psym.exp: New testcase.
13345
9f0d94e8
JB
133462005-03-09 Joel Brobecker <brobecker@adacore.com>
13347
13348 * gdb.ada/exec_changed/first.adb: New file.
13349 * gdb.ada/exec_changed/second.adb: New file.
13350 * gdb.ada/exec_changed.exp: New testcase.
13351
5f579bc5
NS
133522005-03-08 Nathan Sidwell <nathan@codesourcery.com>
13353
36e9969c
NS
13354 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
13355 (A2): New class.
13356 (main): Test operator+.
13357 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
13358 breakpoint test.
13359
5f579bc5
NS
13360 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
13361 * gdb.base/signull.exp: Disable if gdb,nosignals.
13362 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
13363 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
13364 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
13365 * gdb.mi/mi2-console.exp: Likewise.
13366 * gdb.trace/collection.exp (run_trace_experiment): Consume the
13367 continue output at start.
13368 (gdb_collect_locals_test): Robustify regexp.
13369 * gdb.trace/passc-dyn.exp: Fix comment typo.
13370 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
13371
be46087e
CV
133722005-03-08 Corinna Vinschen <vinschen@redhat.com>
13373
13374 * gdb.asm/asm-source.exp: Add iq2000 case.
13375 * gdb.asm/iq2000.inc: New file.
13376
384e1a61 133772005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 13378
384e1a61
MI
13379 * gdb.base/command.exp: Change hardcoded value to regular expression.
13380 * gdb.base/float.exp: Add powerpc to the list of targets checked.
13381
584b6e9e
DJ
133822005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
13383
13384 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
13385 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
13386 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
13387 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
13388 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
13389
ab5b5d61
MK
133902005-03-05 Mark Kettenis <kettenis@gnu.org>
13391
13392 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
13393 changes.
13394
ae051c1b
PG
133952004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
13396
a9c64011
AS
13397 * lib/compiler.c: Add test for IBM's xlc compiler.
13398 * lib/compiler.cc: Likewise.
ae051c1b 13399
3f0f6ed2
JB
134002004-02-24 Joel Brobecker <brobecker@adacore.com>
13401
13402 * gdb.ada/fixed_points.exp: Create compilation object directory
13403 before running the test.
13404 * gdb.ada/null_record.exp: Likewise.
13405 * gdb.ada/packed_array.exp: Likewise.
13406 * gdb.ada/start.exp: Likewise.
13407
724f452b
JB
134082005-02-15 Joel Brobecker <brobecker@adacore.com>
13409
13410 * gdb.ada/packed_array/pa.adb: New file.
13411 * gdb.ada/packed_array.exp: New testcase.
13412
57f5cdfb 134132005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 13414
1f393151
MK
13415 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
13416 files.
13417
ebdda337
MK
13418 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
13419 on *-*-openbsd*. Correctly match whitespace in regukar
13420 expressions.
13421
cf309262
DJ
134222005-02-10 Daniel Jacobowitz <dan@debian.org>
13423
13424 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
13425 PR exp/1821
13426 * gdb.base/gdb1821.c: New test file.
13427 * gdb.base/gdb1821.exp: New test file.
13428
3be49e7a
JB
134292005-02-09 Joel Brobecker <brobecker@adacore.com>
13430
13431 * gdb.base/start.c: New file.
13432 * gdb.base/start.exp: New testcase.
13433
e292e67d
JB
134342005-02-09 Joel Brobecker <brobecker@adacore.com>
13435
13436 * gdb.ada/start/dummy.adb: New file.
13437 * gdb.ada/start.exp: New testcase.
13438
dbdfa66c
CV
134392005-02-09 Corinna Vinschen <vinschen@redhat.com>
13440
13441 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
13442 for printing symbols and statistics.
13443 Add test for using relative pathnames in "maint print msymbols" test.
13444 Mark "maint info sections DATA" XFAIL on Cygwin.
13445 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
13446 tests.
13447
d7941671
AC
134482005-02-09 Andreas Schwab <schwab@suse.de>
13449
13450 Committed by Andrew Cagney <cagney@gnu.org>
13451 * gdb.base/remotetimeout.exp: New file.
13452
74e5ef44
MK
134532005-02-07 Mark Kettenis <kettenis@gnu.org>
13454
13455 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
13456
464dd14d
JB
134572005-02-03 Joel Brobecker <brobecker@adacore.com>
13458
13459 * gdb.ada/gnat_ada.gpr: New file.
13460 * gdb.ada/gnat_ada.gin: Delete, no longer used.
13461 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
13462 * configure.ac: No longer generate gnat_ada.gpr.
13463 * configure: Regenerate.
13464 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
13465 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
13466 * gdb.ada/null_record/bar.ads: Likewise.
13467 * gdb.ada/null_record/bar.adb: Likewise.
13468 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
13469 * gdb.ada/null_record.exp (testdir): New variable.
13470 (testfile): executable is now in testdir subdirectory.
13471 (srcfile): Use full path to the main compilation unit.
13472 * gdb.ada/fixed_points.exp: Same changes as above.
13473
30d756ae
NR
134742005-02-03 Nick Roberts <nickrob@snap.net.nz>
13475
13476 * gdb.base/interp.exp: New test.
13477
9d799f85
AC
134782005-01-24 Andrew Cagney <cagney@gnu.org>
13479
13480 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
13481
15656118
AC
134822005-01-19 Andrew Cagney <cagney@gnu.org>
13483
a892c31b
AC
13484 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
13485 configure.ac not configure.in.
13486
15656118
AC
13487 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
13488 of powerpc*-*-*.
13489 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 13490 * gdb.base/list.exp (test_list_function)
15656118
AC
13491 (test_list_filename_and_function): Ditto.
13492 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
13493
a7b01baf
AC
134942005-01-16 Andrew Cagney <cagney@gnu.org>
13495
17d92a02
AC
13496 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
13497
a7b01baf
AC
13498 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
13499
bc8332bb
AC
135002005-01-14 Andrew Cagney <cagney@gnu.org>
13501
13502 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
13503 * gdb.mi/mi2-var-cmd.exp: Ditto.
13504
4d074752
CV
135052005-01-10 Corinna Vinschen <vinschen@redhat.com>
13506
13507 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
13508
bec39cab
AC
135092005-01-07 Andrew Cagney <cagney@gnu.org>
13510
13511 * configure.ac: Rename configure.in, require autoconf 2.59.
13512 * configure: Re-generate.
13513 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
13514 * gdb.stabs/configure: Re-generate.
13515 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
13516 * gdb.hp/configure: Re-generate.
13517 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
13518 autoconf 2.59.
13519 * gdb.hp/gdb.objdbg/configure: Re-generate.
13520 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
13521 autoconf 2.59.
13522 * gdb.hp/gdb.defects/configure: Re-generate.
13523 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
13524 autoconf 2.59.
13525 * gdb.hp/gdb.compat/configure: Re-generate.
13526 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
13527 autoconf 2.59.
13528 * gdb.hp/gdb.base-hp/configure: Re-generate.
13529 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
13530 autoconf 2.59.
13531 * gdb.hp/gdb.aCC/configure: Re-generate.
13532
f10b16d4
JB
135332004-12-15 Jim Blandy <jimb@redhat.com>
13534
13535 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
13536 under NPTL when there is debugging info available for libpthread.
13537
fb6e1814
JG
135382004-12-13 Jerome Guitton <guitton@gnat.com>
13539
13540 * gdb.ada/fixed_points.c: New file.
13541 * gdb.ada/fixed_points.exp: New file.
13542
fe46cd3a
RC
135432004-12-03 Randolph Chung <tausq@debian.org>
13544
13545 * gdb.arch/pa-nullify.exp: New file.
13546 * gdb.arch/pa-nullify.s: New file.
13547
8de0841b
RC
135482004-11-30 Randolph Chung <tausq@debian.org>
13549
13550 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
13551 instead of "tbug". Fix regexp to work properly with gdb_test.
13552
c8170782
PH
135532004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
13554
13555 * gdb.base/bitfields2.exp: New test.
13556 * gdb.base/bitfields2.c: New file.
13557
954269c2
RE
135582004-11-28 Richard Earnshaw <rearnsha@arm.com>
13559
13560 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
13561
0107feed
RC
135622004-11-16 Randolph Chung <tausq@debian.org>
13563
13564 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
13565
f073ae8c
DJ
135662004-11-14 Daniel Jacobowitz <dan@debian.org>
13567
13568 * gdb.threads/threadapply.exp: Correct "macro details" test.
13569
19ad59e7
JJ
135702004-11-11 Jeff Johnston <jjohnstn@redhat.com>
13571
13572 * gdb.threads/threadapply.exp: New test.
13573 * gdb.threads/threadapply.c: New file.
13574
9cf0961b
MK
135752004-11-07 Mark Kettenis <kettenis@gnu.org>
13576
13577 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
13578 frames.
13579
c789492a
FL
135802004-11-05 Felix Lee <felix+log1@specifixinc.com>
13581
13582 * gdb.base/cursal.exp: New file.
13583 * gdb.base/cursal.c: New file.
13584
a1e167bb
AC
135852004-11-03 Andrew Cagney <cagney@gnu.org>
13586
13587 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
13588
b7cbf173
MK
135892004-10-30 Mark Kettenis <kettenis@gnu.org>
13590
13591 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
13592 NetBSD/ELF targets.
13593
88f9d34f
JB
135942004-10-29 Joel Brobecker <brobecker@gnat.com>
13595
13596 * gdb.threads/bp_in_thread.c: New file, copied from
13597 pthread_cond_wait.c.
13598 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
13599 file, rather than reusing the .c file from another testcase.
13600
ca7d6a0c
JB
136012004-10-20 Joel Brobecker <brobecker@gnat.com>
13602
13603 * gdb.ada/null_record.exp: Check where we stopped after
13604 sending the start command, instead of where the associated
13605 temporary breakpoint was inserted.
13606
0d863d03
AC
136072004-10-14 Andrew Cagney <cagney@gnu.org>
13608
13609 * gdb.mi/gdb701.c (main): Return 0.
13610
d11e72cb
DJ
136112004-10-13 Daniel Jacobowitz <dan@debian.org>
13612
d40539a4 13613 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 13614
e1923096
JJ
136152004-10-12 Jeff Johnston <jjohnstn@redhat.com>
13616
13617 * gdb.threads/schedlock.c: Add comment markers to use to find
13618 line numbers.
13619 * gdb.threads/schedlock.exp: Adjust regex to handle the new
13620 comments.
13621 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
13622 breakpoint lines.
13623
ec8ba2c9
DJ
136242004-10-12 Daniel Jacobowitz <dan@debian.org>
13625
13626 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
13627
0eb3658b
DJ
136282004-10-12 Daniel Jacobowitz <dan@debian.org>
13629
13630 * configure.in: Add gdb.dwarf2.
13631 * configure: Regenerated.
13632 * Makefile.in: Add gdb.dwarf2.
13633 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
13634 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
13635 gdb.dwarf2/file1.txt: New files.
13636
a271cc33
OF
136372004-10-11 Orjan Friberg <orjanf@axis.com>
13638
a9c64011 13639 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
13640 of "run", since the latter doesn't work with remote targets. Adjust
13641 the breakpoint numbering accordingly.
13642 * gdb.threads/pthread_cond_wait.exp: Ditto.
13643
895ce074
MC
136442004-10-08 Michael Chastain <mec.gnu@mindspring.com>
13645
13646 * gdb.base/overlays.exp: Update copyright years.
13647
6be3092d
KI
136482004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
13649
13650 * gdb.base/overlays.exp: Disable if target is Linux.
13651
e05389b8
FL
136522004-10-06 Felix Lee <felix+log1@specifixinc.com>
13653
13654 * config/gdbserver.exp (gdb_load): Use right filename on remote.
13655
73cb587d
KI
136562004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
13657
13658 * gdb.asm/asm-source.exp: Add m32r-linux target.
13659 * gdb.asm/m32r-linux.inc: New file.
13660
3c0edcdc
AC
136612004-09-24 Andrew Cagney <cagney@redhat.com>
13662 David Anderson <anderson@redhat.com>
13663
13664 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
13665 command fails, assume things will work.
13666 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
13667 (_GNU_SOURCE): Define.
13668 (print_unsigned, print_hex): Change parameter to "long long".
13669 (print_byte_count): New function, use to print byte counts.
13670 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
13671 O_LARGEFILE.
13672 (main): Compute an upper bound on a corefile in max_core_size.
13673 Limit memory chunk size to max_core_size. Limit total memory
13674 allocated to max_core_size.
13675
4bb3667f
AC
136762004-09-23 Andrew Cagney <cagney@gnu.org>
13677
13678 * gdb.base/bigcore.exp: Replace the code that creates a corefile
13679 from a separate process with code that creates a corefile by
13680 making the inferior dump core.
13681
60fe1a51
MK
136822004-09-23 Mark Kettenis <kettenis@gnu.org>
13683
13684 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
13685 block.
13686
8e937346
MC
136872004-09-23 Michael Chastain <mec.gnu@mindspring.com>
13688
13689 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
13690 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
13691 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
13692 Likewise.
13693
7213f6d6
JJ
136942004-09-20 Jeff Johnston <jjohnstn@redhat.com>
13695
13696 * gdb.java/jprint.exp: New test case for java inferior call.
13697 * gdb.java/jprint.java: Ditto.
13698
eac69dca
JB
136992004-09-15 Joel Brobecker <brobecker@gnat.com>
13700
13701 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
13702
22227696
MC
137032004-09-14 Michael Chastain <mec.gnu@mindspring.com>
13704
13705 * gdb.threads/killed.c: Include <stdlib.h>.
13706 * gdb.threads/pthreads.c: Likewise.
13707
7dd403a4
MC
137082004-09-14 Michael Chastain <mec.gnu@mindspring.com>
13709
13710 * gdb.threads/killed.c: Add copyright notice.
13711
33f2d567
JM
137122004-09-10 Jason Molenda (jmolenda@apple.com)
13713
a9c64011
AS
13714 * gdb.base/define.exp: Two new tests to verify zero space chars
13715 after 'if' and 'while' commands in a user-defined command is correctly
13716 parsed.
33f2d567 13717
e05b62ac
AC
137182004-09-08 Andrew Cagney <cagney@gnu.org>
13719
13720 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
13721 delivery test with duplicate at end of file.
13722
9cbe82da
MK
137232004-09-06 Mark Kettenis <kettenis@jive.nl>
13724
13725 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
13726
564803d9
MC
137272004-09-05 Michael Chastain <mec.gnu@mindspring.com>
13728
13729 * config/hppro.exp: Removed.
13730
7c6807ce
MC
137312004-09-05 Michael Chastain <mec.gnu@mindspring.com>
13732
13733 * config/sparclet.exp: Removed.
13734
bf7e26dd
MC
137352004-09-05 Michael Chastain <mec.gnu@mindspring.com>
13736
13737 * config/udi.exp: Removed.
13738
714e341b
MC
137392004-09-02 Michael Chastain <mec.gnu@mindspring.com>
13740
13741 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
13742 of "exp_continue".
13743 (advancei): Likewise.
13744
1236e623
JJ
137452004-09-01 Jeff Johnston <jjohnstn@redhat.com>
13746
13747 * gdb.base/unload.exp: Fix so messages aren't duplicated.
13748
3bdcad15
MI
137492004-09-01 Manoj Iyer <manjo@austin.ibm.com>
13750
228af206 13751 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
13752 to check for nodebug in executable.
13753 * gdb.gdb/observer.exp (setup_test): Likewise.
13754 * gdb.gdb/selftest.exp (test_with_self): Likewise.
13755 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
13756
c72b934c
AC
137572004-09-01 Andrew Cagney <cagney@gnu.org>
13758
13759 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
13760 files.
13761
edd9b715
JJ
137622004-09-01 Jeff Johnston <jjohnstn@redhat.com>
13763
13764 * gdb.base/unload.exp: Fix expected warning message to match
13765 latest format.
13766
fb4ce06b
CV
137672004-09-01 Corinna Vinschen <vinschen@redhat.com>
13768
13769 * gdb.base/call-rt-st.exp: Fix typos.
13770
ce78e7c3
MI
137712004-08-31 Manoj Iyer <manjo@austin.ibm.com>
13772
13773 * gdb.threads/thread_check.exp: New testcase.
13774 * gdb.threads/thread_check.c: New testcase.
13775
2dedb159
AC
137762004-08-31 Andrew Cagney <cagney@gnu.org>
13777
13778 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
13779 (skip_to_handler_entry): New procedures. Test stepping into a
13780 handler when the breakpoint is at the handler's entry point.
13781
68f53502
AC
137822004-08-30 Andrew Cagney <cagney@gnu.org>
13783
13784 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
13785 gdb/1757.
13786
3e3ffd2b
MC
137872004-08-27 Michael Chastain <mec.gnu@mindspring.com>
13788
13789 With code from Manoj Iyer <manjo@austin.ibm.com>:
13790 * lib/gdb.exp (gdb_file_cmd): Return more information in the
13791 return value. Add an arm for "no debugging symbols found".
13792 Change a stray "error" to "perror".
13793 (gdb_run_cmd): Adapt to new return value.
13794 * gdb.base/remote.exp: Adapt to new return value.
13795 * gdb.gdb/complaints.exp: Likewise.
13796 * gdb.gdb/observer.exp: Likewise.
13797 * gdb.gdb/selftest.exp: Likewise.
13798 * gdb.gdb/xfullpath.exp: Likewise.
13799
4b6f5fd2
JB
138002004-08-27 Joel Brobecker <brobecker@gnat.com>
13801
13802 * gdb.threads/bp_in_thread.exp: New testcase.
13803
e5b25496
MC
138042004-08-27 Michael Chastain <mec.gnu@mindspring.com>
13805
13806 Fix PR testsuite/1735.
13807 * gdb.threads/schedlock.c (thread_function): Add a cast
13808 to suppress a gcc warning.
13809 * gdb.threads/thread-specific.c (thread_function): Likewise.
13810
934353d6
MC
138112004-08-26 Michael Chastain <mec.gnu@mindspring.com>
13812
13813 * gdb.base/unload.c: Include <stdlib.h>.
13814
f98a0aef 138152004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 13816
f98a0aef 13817 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
13818 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
13819 synchronized after the "return".
13820
5a2e8882
MC
138212004-08-26 Michael Chastain <mec.gnu@mindspring.com>
13822
13823 * gdb.mi/basics.c: Include <stdio.h>.
13824 * gdb.mi/pthreads.c: Include <stdlib.h>.
13825 * gdb.mi/var-cmd.c: Include <stdlib.h>.
13826
a9640423
MC
138272004-08-26 Michael Chastain <mec.gnu@mindspring.com>
13828
13829 * gdb.threads/schedlock.c: Add copyright notice.
13830
b04e311d
AC
138312004-08-25 Andrew Cagney <cagney@gnu.org>
13832
13833 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
13834 (skip_over_handler, breakpoint_over_hander): New test procedures.
13835 (advance, advancei): Add a proper prefix, do not use
13836 rerun_to_main.
13837 * gdb.base/sigstep.c (main): Change to use an infinite loop.
13838
7c27f15b
MC
138392004-08-24 Michael Chastain <mec.gnu@mindspring.com>
13840
13841 * gdb.mi/basics.c: Add copyright notice.
13842 * gdb.mi/var-cmd.c: Add copyright notice.
13843
fffc87ae
MC
138442004-08-23 Michael Chastain <mec.gnu@mindspring.com>
13845
13846 * lib/gdb.exp: Remove signed_keyword_not_used.
13847 * lib/compiler.c: Likewise.
13848 * lib/compiler.cc: Likewise.
13849
d782e0bf
MC
138502004-08-23 Michael Chastain <mec.gnu@mindspring.com>
13851
13852 * gdb.base/whatis.c: Remove conditional disabling of "signed".
13853 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
13854
96033e83
MC
138552004-08-23 Michael Chastain <mec.gnu@mindspring.com>
13856
13857 * gdb.base/whatis.c: Add copyright notice.
13858
cf38c229
MK
138592004-08-20 Mark Kettenis <kettenis@gnu.org>
13860
13861 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
13862 it to skip the breakpoints encoded in the inline assembly.
13863
f4b49756
MC
138642004-08-20 Michael Chastain <mec.gnu@mindspring.com>
13865
13866 * Makefile.in: Add gdb.fortran.
13867
2f193b69
MC
138682004-08-20 Michael Chastain <mec.gnu@mindspring.com>
13869
13870 * gdb.base/call-sc.exp (test_scalar_returns):
13871 Fix cut-and-paste glitch in "Make fun return now".
13872
89a237cb
MC
138732004-08-17 Michael Chastain <mec.gnu@mindspring.com>
13874
13875 * configure.in: Add gdb.fortran.
13876 * configure: Regenerate.
13877 * gdb.fortran/Makefile.in: New file.
13878 * lib/gdb.exp (skip_fortran_tests): New procedure.
13879
469aff8e
MC
138802004-08-17 Michael Chastain <mec.gnu@mindspring.com>
13881
13882 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
13883 reference to bug-gnu@prep.ai.mit.edu.
13884 * gdb.mi/mi-var-child.exp: Likewise.
13885 * gdb.mi/mi-var-cmd.exp: Likewise.
13886 * gdb.mi/mi-var-display.exp: Likewise.
13887 * gdb.mi/mi2-var-block.exp: Likewise.
13888 * gdb.mi/mi2-var-child.exp: Likewise.
13889 * gdb.mi/mi2-var-cmd.exp: Likewise.
13890 * gdb.mi/mi2-var-display.exp: Likewise.
13891
00b51b9f
MK
138922004-08-15 Mark Kettenis <kettenis@gnu.org>
13893
13894 * gdb.base/unload.c (main): Make local variable msg const.
13895
45f07fef
MC
138962004-08-15 Michael Chastain <mec.gnu@mindspring.com>
13897
13898 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
13899 to bug-gnu@prep.ai.mit.edu.
13900 * gdb.mi/mi-disassemble.exp: Likewise.
13901 * gdb.mi/mi-eval.exp: Likewise.
13902 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
13903 default line number.
13904 * gdb.mi/mi-return.exp: Likewise.
13905 * gdb.mi/mi-simplerun.exp: Likewise.
13906 * gdb.mi/mi-stack.exp: Likewise.
13907 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
13908 number with explicit range test.
13909 * gdb.mi/mi-watch.exp: Likewise.
13910 * gdb.mi/mi2-break.exp: Likewise.
13911 * gdb.mi/mi2-cli.exp: Likewise.
13912 * gdb.mi/mi2-disassemble.exp: Likewise.
13913 * gdb.mi/mi2-eval.exp: Likewise.
13914 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
13915 default line number.
13916 * gdb.mi/mi2-return.exp: Likewise.
13917 * gdb.mi/mi2-simplerun.exp: Likewise.
13918 * gdb.mi/mi2-stack.exp: Likewise.
13919 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
13920 number with explicit range test.
13921 * gdb.mi/mi2-watch.exp: Likewise.
13922
dd8c8ee7
MC
139232004-08-15 Michael Chastain <mec.gnu@mindspring.com>
13924
13925 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
13926 * gdb.cp/m-static.exp: Likewise.
13927 * gdb.cp/rtti.exp: Likewise.
13928
4e838464
MK
139292004-08-14 Mark Kettenis <kettenis@gnu.org>
13930
13931 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
13932
8d8cb839
EZ
139332004-08-14 Eli Zaretskii <eliz@gnu.org>
13934
13935 * ChangeLog: Prefix Local Variables with semi-colons and indent
13936 the reference to older ChangeLog files, to fix fontification in
13937 Emacs.
13938
deea8bb0
MC
139392004-08-13 Michael Chastain <mec.gnu@mindspring.com>
13940
13941 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
13942 * gdb.mi/mi2-break.exp: Likewise.
13943
c3297504
MC
139442004-08-13 Michael Chastain <mec.gnu@mindspring.com>
13945
13946 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
13947
25808999
MC
139482004-08-13 Michael Chastain <mec.gnu@mindspring.com>
13949
13950 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
13951
226a8d71
MC
139522004-08-13 Michael Chastain <mec.gnu@mindspring.com>
13953
13954 * gdb.cp/classes.exp: Remove unused declarations. Just let
13955 test names default instead of providing special names. Remove
13956 extraneous demangler test.
13957
37fdf854
JJ
139582004-08-12 Jeff Johnston <jjohnstn@redhat.com>
13959
13960 * gdb.base/unload.exp: New test for breakpoints in dynamically
13961 loaded libraries.
13962 * gdb.base/unload.c: Ditto.
13963 * gdb.base/unloadshr.c: Ditto.
13964
2d3a7986
MC
139652004-08-12 Michael Chastain <mec.gnu@mindspring.com>
13966
13967 * gdb.cp/classes.exp (test_ptype_class_objects): Call
13968 cp_test_ptype_class.
13969 (test_enums): Likewise.
13970
c72b934c
AC
139712004-08-10 Andrew Cagney <cagney@gnu.org>
13972
13973 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
13974 files.
13975
cc503c8a
AC
139762004-08-10 Andrew Cagney <cagney@gnu.org>
13977
13978 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
13979 init_malloc call.
13980
902f2ccb
MC
139812004-08-10 Michael Chastain <mec.gnu@mindspring.com>
13982
13983 * ChangeLog: Add copyright notice. The notice is copied
13984 from emacs 21.3 top level ChangeLog.
13985
78c90502
MC
139862004-08-09 Michael Chastain <mec.gnu@mindspring.com>
13987
13988 * lib/cp-support.exp: New file.
13989 * lib/cp-support.exp (cp_test_type_class): New function.
13990 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
13991 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
13992 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
13993 cp_test_ptype_class.
13994
88e5ea78
MC
139952004-08-09 Michael Chastain <mec.gnu@mindspring.com>
13996
13997 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
13998 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
13999 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
14000 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
14001 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
14002 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
14003 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
14004 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
14005 gdb.mi/mi2-watch.exp: Update copyright years.
14006
6a89fc9c
MK
140072004-08-09 Mark Kettenis <kettenis@gnu.org>
14008
14009 * gdb.base/sigaltstack.exp: Provide proper anchoring.
14010
1482e0de
MC
140112004-08-09 Michael Chastain <mec.gnu@mindspring.com>
14012
14013 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
14014 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
14015 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
14016 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
14017 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
14018 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
14019 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
14020 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
14021 gdb.mi/mi-watch.exp: Update copyright years.
14022
1a5ce3f3
DJ
140232004-08-08 Daniel Jacobowitz <dan@debian.org>
14024
14025 PR gdb/1738
14026 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
14027 from a breakpoint with a pending signal.
14028
04f6ecf2
DJ
140292004-08-08 Daniel Jacobowitz <dan@debian.org>
14030
14031 PR gdb/1736
14032 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
14033 * gdb.base/sigaltstack.exp (finish_test): Consume output until
14034 the prompt.
14035 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
14036
54d90d35
DJ
140372004-08-08 Daniel Jacobowitz <dan@debian.org>
14038
14039 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
14040
d2f6abb0
DJ
140412004-08-08 Daniel Jacobowitz <dan@debian.org>
14042
14043 PR gdb/1736
14044 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
14045 for i?86-*-linux*.
14046
5598c03d
DJ
140472004-08-08 Daniel Jacobowitz <dan@debian.org>
14048
14049 * gdb.arch/i386-prologue.exp: Compile without debug information.
14050
c6fee705
MC
140512004-08-08 Michael Chastain <mec.gnu@mindspring.com>
14052
14053 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
14054 rather than asking gdb to search.
14055
dd90efdb
MC
140562004-08-05 Michael Chastain <mec.gnu@mindspring.com>
14057
14058 * gdb.base/gcore.c: Include <string.h>.
14059
1e84bec1
MC
140602004-08-05 Michael Chastain <mec.gnu@mindspring.com>
14061
14062 * gdb.base/gcore.c: Add copyright notice.
14063
e425eb2b
MC
140642004-08-05 Michael Chastain <mec.gnu@mindspring.com>
14065
14066 * gdb.base/freebpcmd.c: Include <stdio.h>.
14067 * gdb.base/long_long.c: Include <string.h>.
14068 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
14069 * gdb.base/siginfo.c: Include <string.h>.
14070 * gdb.base/sigstep.c: Include <string.h>.
14071
cb9aaed5
MC
140722004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14073
14074 * gdb.base/complex.c: Include <stdlib.h>.
14075
55944f3d
MC
140762004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14077
14078 * gdb.base/complex.c: Add copyright notice.
14079
7b2953d9
MC
140802004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14081
14082 * gdb.base/charset.c: Include <stdlib.h>.
14083
c9133d23
MC
140842004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14085
14086 * gdb.base/auxv.c: Include <stdlib.h>.
14087
0a8490ad
MC
140882004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14089
14090 * gdb.base/auxv.c: Add copyright notice.
14091
3426d5ec
MC
140922004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14093
14094 * gdb.base/coremaker.c: Add copyright notice.
14095 * gdb.base/coremaker2.c: Add copyright notice.
14096
8da195dd
AC
140972004-08-04 Andrew Cagney <cagney@gnu.org>
14098
14099 * gdb.base/store.exp: Update copyright.
14100 (check_set, up_set, check_struct, up_struct): Add a prefix to test
14101 names, do not import gdb_prompt.
14102
8d394f98
AC
141032004-08-01 Andrew Cagney <cagney@gnu.org>
14104
14105 Fix PR testsuite/1729.
14106 * gdb.base/dump.exp: Add test name to callers of capture_value, do
14107 not use capture_value with value 4.
14108 (capture_value): Add optional test name parameter.
14109 (test_reload_saved_value, test_restore_saved_value): Use $msg as
14110 the prefix, pass to capture_value.
14111
b6702b23
MK
141122004-08-01 Mark Kettenis <kettenis@gnu.org>
14113
14114 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
14115 * gdb.arch/i386-prologue.c (standard): New prototype and function.
14116 (main): Call new function.
14117
c203e0ca
MC
141182004-07-31 Michael Chastain <mec.gnu@mindspring.com>
14119
14120 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
14121
a7995a30
MC
141222004-07-31 Michael Chastain <mec.gnu@mindspring.com>
14123
14124 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
14125
9366563b
MC
141262004-07-31 Michael Chastain <mec.gnu@mindspring.com>
14127
b6eeaf26 14128 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
14129 Accept more values of vtbl pointer. Remove some messages
14130 about "obsolete gcc or gdb".
14131
2fc1f950
MC
141322004-07-30 Michael Chastain <mec.gnu@mindspring.com>
14133
14134 * gdb.cp/classes.exp: Accept more varieties of ptype output.
14135
c724d49b
MC
141362004-07-30 Michael Chastain <mec.gnu@mindspring.com>
14137
14138 * gdb.base/asm-source.exp: Properly convert target board
14139 debug flags from gcc format to binutils format.
14140
736b0fce
MK
141412004-07-28 Mark Kettenis <kettenis@gnu.org>
14142
14143 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
14144 gdb1718". PR backtrace/1718 partially fixed.
14145
5633ea5c
JJ
141462004-07-27 Jeff Johnston <jjohnstn@redhat.com>
14147
14148 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
14149
575eebb1
NC
141502004-07-26 Nick Clifton <nickc@redhat.com>
14151
14152 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
14153 good default value for a specific architecture is available then
14154 set it to that value. Otherwise default to the -gstabs switch.
14155 Remove the -g... switches from the asm-flags variable. Allow the
14156 target board info to override the value if it wants to. Pass the
14157 switch on the assembler command line.
14158
62104619
MK
141592004-07-23 Mark Kettenis <kettenis@gnu.org>
14160
14161 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
14162 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
14163 (main): Call new function.
14164
4a1135b8
MC
141652004-07-22 Michael Chastain <mec.gnu@mindspring.com>
14166
14167 Test for PR exp/1715.
14168 * gdb.base/radix.exp: Refactor common procedures. Make all
14169 test names unique. Change XFAIL to KFAIL.
14170
8a12c1f0
MC
141712004-07-20 Michael Chastain <mec.gnu@mindspring.com>
14172
14173 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
14174 * gdb.ada/gnat_ada.gin: ... to here.
14175 * configure.in: Use gnat_ada.gin.
14176 * configure: Regenerate.
14177
23b451cf
AC
141782004-07-20 Andrew Cagney <cagney@gnu.org>
14179
14180 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
14181 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
14182 XFAILs. Clean up test messages and comments. Check backtraces.
14183 Delete re-sync code.
14184
ab618a02
MC
141852004-07-19 Michael Chastain <mec.gnu@mindspring.com>
14186
14187 Fix PR cli/740.
14188 * gdb.base/annota1.exp: Honor gdb,nosignals.
14189 * gdb.base/annota3.exp: Likewise.
14190
46dad340
MC
141912004-07-19 Michael Chastain <mec.gnu@mindspring.com>
14192
14193 * lib/java.exp: Update copyright notice.
14194
756d8c70
AC
141952004-07-19 Andrew Cagney <cagney@gnu.org>
14196
14197 * gdb.base/selftest.exp: Copy file from here ...
14198 * gdb.gdb/selftest.exp: ... to here.
14199
586027e6
AC
142002004-07-16 Andrew Cagney <cagney@redhat.com>
14201
14202 * lib/insight-support.exp: Delete file.
14203 * lib/java.exp (java_init): Fix copyright.
14204
029d2200
AC
142052004-07-16 Andrew Cagney <cagney@gnu.org>
14206
14207 * gdb.base/restore.c: Append "prologue" to comments marking the a
14208 function's prologue.
14209 * gdb.base/restore.exp: Update copyright, re-indent.
14210 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
14211 callerN" prefix where needed. Update patterns that match a
14212 function's prologue.
14213
653b62c5
MC
142142004-07-16 Michael Chastain <mec.gnu@mindspring.com>
14215
14216 * gdb.base/restore.c: Add copyright notice.
14217
f7d690e5
AC
142182004-07-16 Andrew Cagney <cagney@gnu.org>
14219
14220 * gdb.base/logical.exp: Update copyright.
14221 (evaluate): New procedure. Use to re-implement tests using
14222 several tables.
14223
d629a7cb
MH
142242004-07-14 Martin Hunt <hunt@redhat.com>
14225
14226 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
14227 which fixes some problems where init.tcl was not found.
14228
9c7bb332
AC
142292004-07-13 Andrew Cagney <cagney@gnu.org>
14230
6bf46641
AC
14231 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
14232 (check_sizeof, check_valueof): Do not include the output in the
14233 test name. Use gdb_test.
14234 (get_valueof): Use gdb_test_multiple.
14235
c4ffd4c0
AC
14236 * gdb.base/step-test.exp: Update copyright. Use
14237 gdb_test_multiple. Ensure that test names do not include
14238 architecture dependent output.
14239
ab89363a
AC
14240 * gdb.gdb/observer.exp: Update copyright.
14241 (setup_test): Use gdb_test_multiple.
14242 (attach_first_observer, attach_second_observer)
14243 (attach_third_observer, detach_first_observer)
14244 (detach_second_observer, detach_third_observer)
14245 (reset_counters, check_counters): Make $message a prefix.
14246 (test_normal_stop_notifications): Add "args" parameter - a list of
14247 init functions to be called. Make $message a prefix,
14248 (test_observer_normal_stop): Change the message prefixes so that
14249 they are unique, pass the attach / detach procedures to
14250 test_normal_stop_notifications.
14251
ec58997a
AC
14252 * gdb.base/signull.exp (test_segv): Prefix all tests with
14253 "${name}". Clean up test messages.
14254
b475183b
AC
14255 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
14256
9c7bb332
AC
14257 * gdb.base/ena-dis-br.exp: Update copyright.
14258 (break_at): New function. Replace send_gdb with gdb_test,
14259 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
14260 ignore count, not stopped at bpt", with KFAIL.
14261
2dd95497
CV
142622004-07-13 Corinna Vinschen <vinschen@redhat.com>
14263
14264 * gdb.base/attach.exp: Remove cleanupfile handling.
14265
419e626b
AC
142662004-07-12 Andrew Cagney <cagney@gnu.org>
14267
14268 * gdb.base/annota1.exp: Cleanup corefile test name.
14269 * gdb.base/annota3.exp: Ditto.
14270
8b1b3228
AC
142712004-07-12 Andrew Cagney <cagney@gnu.org>
14272
78650829
AC
14273 * gdb.base/signals.exp: Clean up copyright, re-indent.
14274
8b1b3228
AC
14275 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
14276 gdb_test and gdb_test_multiple.
14277
935c2760
JJ
142782004-07-08 Jeff Johnston <jjohnstn@redhat.com>
14279
14280 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 14281 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
14282 provide line number info for first statement in main.
14283
1544280f
AC
142842004-07-08 Andrew Cagney <cagney@gnu.org>
14285
1279f4ff
AC
14286 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
14287
1544280f
AC
14288 * gdb.base/sigbpt.exp: Make the common part of each test name a
14289 prefix instead of suffix.
14290
bcc82369
BR
142912004-07-07 Bob Rossi <bob_rossi@cox.net>
14292
14293 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
14294 test from test_tbreak_creation_and_listing to
14295 test_file_list_exec_source_file
14296 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
14297 Changed name of test from test_tbreak_creation_and_listing to
14298 test_file_list_exec_source_file
14299
23f4b0aa
JJ
143002004-07-07 Jeff Johnston <jjohnstn@redhat.com>
14301
14302 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
14303 the jmisc() constructor instead of <init>.
14304 * gdb.java/jmisc1.exp: Ditto.
14305
56401cd5
AC
143062004-07-07 Andrew Cagney <cagney@gnu.org>
14307
14308 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
14309 corrupting the PC.
14310
44ae2f6a
MC
143112004-07-06 Michael Chastain <mec.gnu@mindspring.com>
14312
14313 * gdb.cp/templates.exp: Accept whitespace change in demangler
14314 output.
14315
45a83408
AC
143162004-07-06 Andrew Cagney <cagney@gnu.org>
14317
14318 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
14319
d205ad70
MC
143202004-07-02 Michael Chastain <mec.gnu@mindspring.com>
14321
14322 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
14323 * lib/compiler.cc: Likewise.
14324
06ea1a61
MC
143252004-06-30 Michael Chastain <mec.gnu@mindspring.com>
14326
14327 * lib/compiler.cc: Work around string preprocessing problem
14328 with old hp c++ compiler.
14329 * lib/compiler.c: Likewise.
14330
daab1251
CV
143312004-06-29 Corinna Vinschen <vinschen@redhat.com>
14332
14333 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
14334 directives to conditionalize symbol prefixing.
14335 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
14336 additional_flags handling. Add underscore prefix for Cygwin.
14337 * gdb.arch/i386-unwind.c: Use preprocessor directives to
14338 conditionalize symbol prefixing.
14339 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
14340 additional_flags handling. Add underscore prefix for Cygwin.
14341
cc984116
CV
143422004-06-29 Corinna Vinschen <vinschen@redhat.com>
14343
14344 * gdb.base/bigcore.exp: Skip test on Cygwin.
14345
c279b077
MC
143462004-06-28 Michael Chastain <mec.gnu@mindspring.com>
14347
14348 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
14349 formats for "info register". Use gdb_test_multiple. Fix
14350 the "invalid register" test.
14351
0e915747
CV
143522004-06-28 Corinna Vinschen <vinschen@redhat.com>
14353
14354 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
14355 PID for Cygwin. Add Cygwin specific strings to check for in some
14356 tests.
14357 (do_attach_tests): Add a test for user interaction when attaching
14358 to a process with no matching symbol table already loaded.
14359
11422c86
AC
143602004-06-26 Andrew Cagney <cagney@gnu.org>
14361
14362 Test PR java/1567 and PR java/1565.
14363 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
14364 * gdb.java/jmisc2.exp: Delete file.
14365
cefbce26
MC
143662004-06-26 Michael Chastain <mec.gnu@mindspring.com>
14367
14368 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
14369
e19f872c
CV
143702004-06-25 Corinna Vinschen <vinschen@redhat.com>
14371
14372 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
14373 attach process.
14374
d931ba3b
MC
143752004-06-23 Michael Chastain <mec.gnu@mindspring.com>
14376
14377 * gdb.cp/pr-1553.exp: Remove.
14378
aef68c48
MC
143792004-06-22 Michael Chastain <mec.gnu@mindspring.com>
14380
14381 * gdb.cp/pr-1553.cc: Remove.
14382 * gdb.cp/pr-1553.exp: Disable this test.
14383
8d5df71a
JB
143842004-06-20 Jim Blandy <jimb@redhat.com>
14385
a9c64011 14386 Fix PR testsuite/1680.
8d5df71a
JB
14387 * gdb.arch/i386-sse.exp: Properly quote curly braces in
14388 regular expressions.
14389
4ac6f39d
MC
143902004-06-19 Michael Chastain <mec.gnu@mindspring.com>
14391
14392 Fix PR testsuite/1679.
14393 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
14394 Issue an UNSUPPORTED result instead.
14395
1b413552
JB
143962004-06-18 Jim Blandy <jimb@redhat.com>
14397
14398 * gdb.base/charset.exp: Only send a control-C if we see a new
14399 prompt and incomplete command.
14400
6daa6ebd
MC
144012004-06-18 Michael Chastain <mec.gnu@mindspring.com>
14402
14403 * gdb.cp/pr-574.cc: Add copyright notice.
14404
51fa4ae0
JB
144052004-06-17 Jim Blandy <jimb@redhat.com>
14406
14407 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
14408 cases where the regexp has no groups; this grabs random text from
14409 the previous test suite, whatever that was.
14410
8fea26c5
MC
144112004-06-17 Michael Chastain <mec.gnu@mindspring.com>
14412
14413 * gdb.cp/printmethod.cc: Add copyright notice.
14414
1e3aeb41
MC
144152004-06-16 Michael Chastain <mec.gnu@mindspring.com>
14416
14417 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
14418
9d9030bc
AC
144192004-06-16 Andrew Cagney <cagney@gnu.org>
14420
14421 * gdb.base/signull.c: Update copyright. Include <string.h>.
14422 (bowler): Replace data_pointer with data_read
14423 and data_write cases. Add code_descriptor case.
14424 (zero, desc): New array and pointer.
14425 (data, code): Change to simple pointers.
14426 * gdb.base/signull.exp: Fix probe pattern matching a function
14427 descriptor SIGSEGV. Replace data_pointer with data_read and
14428 data_write tests.
14429
acd4ad44
AC
144302004-06-16 Andrew Cagney <cagney@gnu.org>
14431
14432 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
14433
08fd625c
MC
144342004-06-15 Michael Chastain <mec.gnu@mindspring.com>
14435
14436 * gdb.base/long_long.c: Add copyright notice.
14437
1903502c
MC
144382004-06-15 Michael Chastain <mec.gnu@mindspring.com>
14439
14440 * gdb.base/long_long.exp: Remove reference to
14441 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
14442 to gdb_breakpoint and gdb_continue_to_breakpoint.
14443
83313cb1
JB
144442004-06-14 Jim Blandy <jimb@redhat.com>
14445
14446 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
14447 endian case.
14448
1bf404ef
AC
144492004-06-14 Andrew Cagney <cagney@gnu.org>
14450
14451 * gdb.base/gcore.exp (capture_command_output): Delete the always
14452 passing tests containing inferior values.
14453 * gdb.base/ending-run.exp: Do not include the breakpoint address
14454 in the test message. Update copyright.
14455 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
14456 size in the test name, use gdb_test_multiple. Update copyright.
14457
ef220b33
MC
144582004-06-14 Michael Chastain <mec.gnu@mindspring.com>
14459
14460 * gdb.cp/ref-types.cc: Add copyright notice.
14461
4f70a4c9
MC
144622004-06-14 Michael Chastain <mec.gnu@mindspring.com>
14463
14464 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
14465 hp_aCC_compiler.
14466 * lib/compiler.cc: Likewise.
14467 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
14468 'set' commands. Log diagnostics for other lines. Set
14469 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
14470
335928ac
MC
144712004-06-13 Michael Chastain <mec.gnu@mindspring.com>
14472
14473 * gdb.cp/try_catch.cc: Add copyright notice.
14474
2efb12e8
MC
144752004-06-12 Michael Chastain <mec.gnu@mindspring.com>
14476
14477 * gdb.cp/userdef.cc: Add copyright notice.
14478
0bbed51a
MC
144792004-06-11 Michael Chastain <mec.gnu@mindspring.com>
14480
14481 * gdb.cp/virtfunc.cc: Add copyright notice.
14482
e12a46c9
RC
144832004-06-11 Randolph Chung <tausq@debian.org>
14484
14485 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
14486 problem.
14487
338e05af
AC
144882004-06-10 Andrew Cagney <cagney@gnu.org>
14489
14490 * lib/compiler.cc, lib/compiler.c: Append either
14491 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
14492 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
14493 instead of gcc-3-3.
14494
dc3f10cb
AC
144952004-06-09 Andrew Cagney <cagney@gnu.org>
14496
b4d946af
AC
14497 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
14498 gdb/1455, bug is specific to "long long" and "double".
a9c64011 14499
dc3f10cb
AC
14500 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
14501 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
14502 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
14503 fixed.
14504
b5c0bfa2
AC
145052004-06-09 Andrew Cagney <cagney@gnu.org>
14506
14507 * gdb.base/structs.exp (test_struct_returns): Replace
14508 "return_value_unknown" and "finish_value_unknown" by
14509 "return_value_known" and "finish_value_known". Instead of
14510 "return_value_unknown" iff "finish_value_unknown", check
14511 "return_value_known" implies "finish_value_known".
14512
caeb605f
MH
145132004-06-08 Martin Hunt <hunt@redhat.com>
14514
14515 * gdb.base/float.exp: Add pattern for mips targets.
14516
c892bb64
RC
145172004-06-08 Randolph Chung <tausq@debian.org>
14518
14519 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
14520 message for unknown architectures more clear.
14521
48306d3e
JB
145222004-06-08 Joel Brobecker <brobecker@gnat.com>
14523
14524 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
14525 start the execution of the program.
14526
83ecb59f
JB
145272004-06-07 Jim Blandy <jimb@redhat.com>
14528
14529 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
14530 * gdb.arch/i386-cpuid.h: New helper file.
14531
55264cb4
RC
145322004-06-07 Randolph Chung <tausq@debian.org>
14533
14534 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
14535 has started.
14536
23cadb28
RM
145372004-06-04 Roland McGrath <roland@redhat.com>
14538
14539 Fix PR gdb/1647.
14540 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
14541 differently to be robust to output buffering differences.
14542
51d01eda
MC
145432004-06-04 Michael Chastain <mec.gnu@mindspring.com>
14544
14545 * gdb.threads/pthreads.exp: Update copyright years.
14546 (check_control_c): Change asynchronous 'after' to synchronous.
14547
f4fc3b93
RM
145482004-06-04 Roland McGrath <roland@redhat.com>
14549
14550 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
14551 next gdb prompt.
14552
4013522b
MC
145532004-06-02 Michael Chastain <mec.gnu@mindspring.com>
14554
14555 Fix PR gdb/1636.
14556 * gdb.threads/manythreads.exp: Change asynchronous 'after'
14557 calls to synchronous.
14558
7a8f1e6b
JB
145592004-05-26 Jim Blandy <jimb@redhat.com>
14560
14561 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
14562
81bb3443
RC
145632004-05-24 Randolph Chung <tausq@debian.org>
14564
14565 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
14566 * gdb.asm/pa.inc: New file.
14567
8f5a3103
MK
145682004-05-22 Mark Kettenis <kettenis@gnu.org>
14569
14570 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
14571
734b8fe8 145722004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 14573 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
14574
14575 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
14576 GDB prompt.
14577
725603e1
UW
145782004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14579
f4fc3b93 14580 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
14581 setjmp/longjmp. Use sigaction instead of signal.
14582
8b923272 145832004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 14584 Michael Snyder <msnyder@redhat.com>
8b923272
JB
14585
14586 * gdb.threads/pthread_cond_wait.c: New file.
14587 * gdb.threads/pthread_cond_wait.exp: New testcase.
14588
8bfabb04
AC
145892004-05-13 Andrew Cagney <cagney@redhat.com>
14590
14591 * gdb.base/signull.exp, gdb.base/signull.c: New files.
14592 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
14593
42edda50
AC
145942004-05-11 Andrew Cagney <cagney@redhat.com>
14595
14596 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
14597 fixed but revealed gdb/1639.
14598
d303a6c7
AC
145992004-05-10 Andrew Cagney <cagney@redhat.com>
14600
14601 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
14602 func1" and "next to 2nd alarm", kernel bug avoided.
14603
bf08c2a1
DJ
146042004-05-10 Daniel Jacobowitz <dan@debian.org>
14605
14606 PR external/1568
14607 * gdb.base/bigcore.exp: Check the size of the dumped core file.
14608 XFAIL if it is smaller than bytes_allocated.
14609 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
14610 (main): Make chunks_allocated unsigned. Correct comment.
14611
c0586a34
JB
146122004-05-07 Joel Brobecker <brobecker@gnat.com>
14613
14614 * gdb.arch/powerpc-aix-prologue.c: New file.
14615 * gdb.arch/powerpc-aix-prologue.exp: New file.
14616
f2785d12
JB
146172004-05-07 Jim Blandy <jimb@redhat.com>
14618
14619 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
14620 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
14621
bd7f6e30
JB
146222004-05-06 Joel Brobecker <brobecker@gnat.com>
14623
14624 * gdb.base/sep.exp: No longer setup_kfail when the program was
14625 built with dwarf2.
14626
0a5e7efe
JI
146272004-05-05 Jim Ingham <jingham@apple.com>
14628
14629 * gdb.base/pending.exp: Make sure pending breakpoints
14630 preserve the ignore count.
f4fc3b93 14631
a8958849
MK
146322004-04-27 Jerome Guitton <guitton@gnat.com>
14633
14634 * i386-prologue.exp: Add testcase for jump instruction as first
14635 instruction of the real code.
14636 * i386-prologue.c (jump_at_beginning): New function.
14637
7e103f5b
MK
146382004-04-28 Mark Kettenis <kettenis@gnu.org>
14639
14640 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
14641 x86_64-*-*.
14642
5d38b224
MK
146432004-04-28 Mark Kettenis <kettenis@gnu.org>
14644
14645 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
14646 i*86-*-*.
14647
0ef32fd9
MK
146482004-04-25 Mark Kettenis <kettenis@gnu.org>
14649
14650 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
14651 expression that checks the return type.
14652
71d7dd7c
AC
146532004-04-23 Andrew Cagney <cagney@redhat.com>
14654
14655 * gdb.base/call-sc.exp: New test of scalar call/return values.
14656 * gdb.base/call-sc.c: Ditto.
14657
1e9f977e
JJ
146582004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14659
14660 * gdb.threads/manythreads.c: Reduce thread stack size.
14661
899d9e3a
JJ
146622004-04-23 Jeff Johnston <jjohnstn@redhat.com>
14663
14664 * gdb.threads/manythreads.c: Add copyright notice.
14665
61bcae62
AC
146662004-04-23 Andrew Cagney <cagney@redhat.com>
14667
14668 * gdb.base/siginfo.exp: Better handle step out of signal.
14669 * gdb.base/sigstep.exp: Ditto.
14670
7339a42e 146712004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 14672 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
14673
14674 * gdb.threads/manythreads.c: New testcase.
14675 * gdb.threads/manythreads.exp: Ditto.
14676
5c98409b
JB
146772004-04-22 Jim Blandy <jimb@redhat.com>
14678
14679 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
14680 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
14681
3b611f1a
MC
146822004-04-21 Michael Chastain <mec.gnu@mindspring.com>
14683
14684 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
14685
f0fd9238
AC
146862004-04-21 Andrew Cagney <cagney@redhat.com>
14687
14688 * gdb.base/sigstep.c: New file.
14689 * gdb.base/sigstep.exp: New file.
14690
90990674
JB
146912004-04-16 Joel Brobecker <brobecker@gnat.com>
14692
14693 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
14694 call to observer_notify_normal_stop.
14695
78cef34b
AC
146962004-04-15 Andrew Cagney <cagney@redhat.com>
14697
14698 * gdb.base/siginfo.c: New file.
14699 * gdb.base/siginfo.exp: New file.
14700
d2343407
JB
147012004-04-12 J. Brobecker <brobecker@gnat.com>
14702
14703 * gdb.base/sep.exp: Fix typo in comment.
14704
a2dba3c8
JB
147052004-04-12 J. Brobecker <brobecker@gnat.com>
14706
14707 * gdb.base/sep.c: New file.
14708 * gdb.base/sep-proc.c: New file.
14709 * gdb.base/sep.exp: New testcase.
14710
15f7b60e
MK
147112004-04-09 Mark Kettenis <kettenis@gnu.org>
14712
14713 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
14714 support.
14715
44f4de1a
AC
147162004-04-05 Andrew Cagney <cagney@redhat.com>
14717
14718 * gdb.base/sigaltstack.c: New file.
14719 * gdb.base/sigaltstack.exp: New file.
14720
ef04f396
JB
147212004-04-04 Joel Brobecker <brobecker@gnat.com>
14722
14723 * gdb.base/foll-fork.exp: Update the expected output for
14724 "help set follow-fork-mode", to match a change that was made
14725 to the help of this variable on 2004-01-13.
14726
d40d2c92
JB
147272004-04-01 Joel Brobecker <brobecker@gnat.com>
14728
14729 * lib/ada.exp: Add copyright notice.
14730 * bar.ads: Likewise.
14731 * bar.adb: Likewise.
14732 * null_record.adb: Likewise.
14733 * null_record.exp: Likewise.
14734 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
14735
f86ef5a3
JB
147362004-04-01 Joel Brobecker <brobecker@gnat.com>
14737
14738 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
14739 * configure: Regenerate.
14740
414e70e3
JB
147412004-04-01 Joel Brobecker <brobecker@gnat.com>
14742
14743 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
14744 to build the application. Remove the message printed when in
14745 verbose mode, redundant with the UNSUPPORTED message above.
14746
f0aaee49
JB
147472004-03-31 Joel Brobecker <brobecker@gnat.com>
14748
14749 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
14750 * gdb.ada (null_record.exp): New testcase.
14751
ac81cb54
JB
147522004-03-31 Joel Brobecker <brobecker@gnat.com>
14753
14754 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
14755
854af2f7
JB
147562004-03-31 Joel Brobecker <brobecker@gnat.com>
14757
14758 * gdb.ada: New subdirectory.
14759 * gdb.ada/Makefile.in: New file.
14760 * gdb.ada/gnat_ada.gpr.in: New file.
14761
034cb681
JB
147622004-03-31 Joel Brobecker <brobecker@gnat.com>
14763
14764 * lib/ada.exp: New file.
14765
78a1a894
DJ
147662004-03-24 Daniel Jacobowitz <drow@mvista.com>
14767
14768 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
14769 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
14770
4b2b3b3e
AC
147712004-03-22 Andrew Cagney <cagney@redhat.com>
14772
14773 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
14774 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
14775 Problem identified by Ulrich Weigand.
14776
23c73aa3
DC
147772004-03-17 David Carlton <carlton@kealia.com>
14778
14779 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
14780 PR c++/826.
14781
d63a86f8
RM
147822004-03-16 Roland McGrath <roland@redhat.com>
14783
14784 * gdb.base/auxv.exp: New file.
14785 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
14786
0e02aa50
DC
147872004-03-12 David Carlton <carlton@kealia.com>
14788
14789 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
14790 * gdb.cp/pr-1553.cc: Ditto.
14791 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
14792 pass branch.
14793
c20b71be
MC
147942004-03-12 Michael Chastain <mec.gnu@mindspring.com>
14795
14796 * gdb.cp/templates.exp: Accept more template types.
14797
c7414a01
MC
147982004-03-09 Michael Chastain <mec.gnu@mindspring.com>
14799
14800 From Corinna Vinschen with modifications.
14801 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
14802 local variable obj_with_enum.
14803 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
14804 results with obj_with_enum.
14805
ed69573c
MC
148062004-03-09 Michael Chastain <mec.gnu@mindspring.com>
14807
14808 * gdb.cp/classes.cc: New file, copied from misc.cc.
14809 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
14810
28301461
MC
148112004-03-09 Michael Chastain <mec.gnu@mindspring.com>
14812
14813 * gdb.cp/misc.cc: Add copyright notice.
14814
1198ecbe
DC
148152004-03-05 David Carlton <carlton@kealia.com>
14816
14817 * gdb.cp/rtti.exp: Add 'print *obj3' test.
14818 * gdb.cp/rtti.h: Update copyright.
14819 (namespace n2::n3): New.
14820 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
14821 (n2::n3::func3): New.
14822 (main): Call n2::n3::func3.
14823 * gdb.cp/rtti2.cc: Update copyright.
14824 (n2::create3): New.
14825
9e08c470
MK
148262004-03-04 Mark Kettenis <kettenis@gnu.org>
14827
14828 * gdb.asm/openbsd.inc: Fix typo.
14829
4bebc3aa
FF
148302004-03-03 Fred Fish <fnf@redhat.com>
14831
14832 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
14833 "val" instead of unused "size". Update copyright year.
14834
6ea9fb37
DJ
148352004-02-29 Daniel Jacobowitz <drow@mvista.com>
14836
14837 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
14838 to use unsigned char.
14839 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
14840 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
14841
23b23974
DJ
148422004-02-29 Daniel Jacobowitz <drow@mvista.com>
14843
14844 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
14845 line of output.
14846
7574fd53
DJ
148472004-02-28 Daniel Jacobowitz <drow@mvista.com>
14848
14849 * gdb.base/relocate.c (dummy): Initialize.
14850
a195357f
DJ
148512004-02-28 Daniel Jacobowitz <drow@mvista.com>
14852
14853 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
14854 a breakpoint at exit.
14855
72fd54a9
FF
148562004-02-27 Fred Fish <fnf@redhat.com>
14857
14858 * gdb.base/chng-syms.exp: Add expect condition to match failing
14859 case that isn't a timeout.
14860
b9d23137
AC
148612004-02-27 Andrew Cagney <cagney@redhat.com>
14862
14863 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
14864 support.
14865
15d208f6 148662004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 14867
15d208f6
FF
14868 * gdb.arch/gdb1431.c: Remove.
14869 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
14870 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
14871 of "until" incorrectly.
14872
98f9cd2d
JB
148732004-02-26 J. Brobecker <brobecker@gnat.com>
14874
14875 * gdb.cp/class2.cc (empty): New class.
14876 (refer): New function.
14877 (main): Declare an object of type empty and use it.
14878 * gdb.cp/class2.exp: Print the value of an object of type empty.
14879
9b50c11b
JJ
148802004-02-26 Jeff Johnston <jjohnstn@redhat.com>
14881
14882 * gdb.base/langs.exp: Update query string to match the
14883 new nquery format used for pending breakpoints.
14884
0dcd613f
AC
148852004-02-26 Andrew Cagney <cagney@redhat.com>
14886
14887 Fix PR i18n/1570.
14888 * gdb.base/charset.c: Update copyright notice.
14889 (main, init_string): Remove the escape character '\e' tests.
14890 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
14891 * gdb.base/charset.exp (valid_host_charset): Ditto.
14892 * gdb.base/setvar.exp: Ditto.
14893
b8a56647
AC
148942004-02-24 Andrew Cagney <cagney@redhat.com>
14895
90d59e34
AC
14896 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
14897 mmapped data in core file" PASS and FAIL messages consistent.
14898
b8a56647
AC
14899 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
14900 setting a breakpoint. Work around PR java/1565.
14901
9f27c604
JJ
149022004-02-23 Jeff Johnston <jjohnstn@redhat.com>
14903
14904 * lib/gdb.exp (gdb_breakpoint): Update query string to match
14905 new nquery format.
14906 * gdb.base/pending.exp: Ditto.
14907
3224a706
MK
149082004-02-22 Mark Kettenis <kettenis@gnu.org>
14909
14910 * configure.in: Run stabs tests on *BSD.
14911 * configure: Regenerated.
14912
41e0a9ca
MK
149132004-02-21 Mark Kettenis <kettenis@gnu.org>
14914
14915 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
14916
1e1b3428
FF
149172004-02-20 Fred Fish <fnf@redhat.com>
14918
14919 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
14920 blank in test for "returns short", for consistency with other
14921 "returns xxx" tests. Update copyright year.
14922
f9a7572a
FF
149232004-02-19 Fred Fish <fnf@redhat.com>
14924
14925 New testcase for PR breakpoint/1558.
14926 * gdb.arch/gdb1558.exp: New file.
14927 * gdb.arch/gdb1558.c: New file.
14928
b2ce2854
EZ
149292004-02-19 Elena Zannoni <ezannoni@redhat.com>
14930
14931 * gdb.base/nodebug.exp: Fix typo.
14932
e7c9ff01
JB
149332004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14934
14935 Committed by Jim Blandy <jimb@redhat.com>.
14936
62f4b920
JB
14937 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
14938
2db536a1
JB
14939 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
14940
e7c9ff01
JB
14941 * gdb.base/float.exp: Support s390*-*-* targets.
14942
f3205b34
AF
149432004-02-17 Adam Fedor <fedor@gnu.org>
14944
14945 * gdb.base/gdb1555.exp: New file.
14946 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
14947
9d62932d
EZ
149482004-02-17 Elena Zannoni <ezannoni@redhat.com>
14949
14950 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
14951
344c9711
FF
149522004-02-16 Fred Fish <fnf@redhat.com>
14953
14954 * gdb.arch/gdb1291.c: Remove
14955 * gdb.arch/gdb1291.s: New test input file.
14956 * gdb.arch/gdb1291.exp: Expand test to check case that should not
14957 fail. Test for correct result, known incorrect result, other
14958 failures and timeouts.
14959
2d822687
AC
149602004-02-16 Andrew Cagney <cagney@redhat.com>
14961
14962 * gdb.base/bigcore.exp: New file.
14963 * gdb.base/bigcore.c: New file.
14964
dac15b66
AC
149652004-02-13 Andrew Cagney <cagney@redhat.com>
14966
14967 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
14968 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
14969 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
14970 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
14971 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
14972 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
14973 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
14974 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
14975 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
14976 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
14977
6bdfc2c4
JJ
149782004-02-11 Jeff Johnston <jjohnstn@redhat.com>
14979
14980 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
14981 executed is an alloc instruction.
14982
87b3ede8
DC
149832004-02-11 David Carlton <carlton@kealia.com>
14984
14985 * gdb.cp/breakpoint.exp: New.
14986 * gdb.cp/breakpoint.cc: New.
14987
6e19e2bf
MC
149882004-02-11 Michael Chastain <mec.gnu@mindspring.com>
14989
14990 Partial fix for PR gdb/1543.
14991 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
14992 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
14993 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
14994 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
14995 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
14996 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
14997 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
14998 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
14999 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
15000 to bug-gdb@prep.ai.mit.edu .
15001 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
15002 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
15003 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
15004 Likewise.
15005
5c5455dc
AC
150062004-02-10 Andrew Cagney <cagney@redhat.com>
15007
15008 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
15009 using gdb_internal_error_resync.
15010
9cf689d7
DJ
150112004-02-09 Daniel Jacobowitz <drow@mvista.com>
15012
15013 * gdb.threads/thread-specific.exp: Stop early if no threads are
15014 found.
15015
d2dc51db
MC
150162004-02-09 Michael Chastain <mec.gnu@mindspring.com>
15017
15018 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
15019
14b1a056
DJ
150202004-02-08 Daniel Jacobowitz <drow@mvista.com>
15021
15022 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
15023 breakpoints.
15024
83f66e8f
DJ
150252004-02-07 Daniel Jacobowitz <drow@mvista.com>
15026
15027 * config/sim.exp (gdb_load): Handle $arg == "".
15028 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
15029 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
15030
30fc0091
EZ
150312004-02-07 Elena Zannoni <ezannoni@redhat.com>
15032
a9c64011
AS
15033 * gdb.base/maint.exp: Update test to reflect
15034 obstack changes.
30fc0091 15035
4d806929
JJ
150362004-02-04 Jeff Johnston <jjohnstn@redhat.com>
15037
15038 * gdb.base/pendshr.c (pendfunc): New function that calls
15039 pendfunc1.
15040 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
15041
7bfdd688
FF
150422004-02-04 Fred Fish <fnf@redhat.com>
15043
15044 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
15045 function symbols and update copyright years.
15046 * gdb.arch/gdb1291.c: Ditto.
15047
aaa08ee4
MC
150482004-02-03 Michael Chastain <mec.gnu@mindspring.com>
15049
15050 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
15051
dbad7755
MC
150522004-02-03 Michael Chastain <mec.gnu@mindspring.com>
15053
15054 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
15055
ec4646ef
MC
150562004-02-03 Michael Chastain <mec.gnu@mindspring.com>
15057
15058 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
15059
1b802196
FF
150602004-02-02 Fred Fish <fnf@redhat.com>
15061
15062 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
15063 remote targets. Update copyright years.
15064
18fe2033
JJ
150652004-02-02 Jeff Johnston <jjohnstn@redhat.com>
15066
15067 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
15068 support.
15069 * gdb.base/langs.exp: Fix test which attempts to create
15070 breakpoint on non-existent function to handle new pending
15071 support.
15072 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
15073 a breakpoint.
15074 * gdb.base/pending.exp: New test.
15075 * gdb.base/pending.c: New file.
15076 * gdb.base/pendshr.c: Ditto.
15077
8d577d32
DC
150782004-02-02 David Carlton <carlton@kealia.com>
15079
15080 * gdb.cp/overload.exp: Add overloadNamespace tests.
15081 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
15082 (overloadNamespace, XXX): New.
15083 (main): Call XXX::marker2.
15084
3ad13771
FF
150852004-02-01 Fred Fish <fnf@redhat.com>
15086
15087 * gdb.base/dump.exp: Use runto_main instead of "runto main".
15088 * gdb.base/finish.exp: Ditto.
15089 * gdb.base/gcore.exp: Ditto.
15090 * gdb.base/huge.exp: Ditto.
15091 * gdb.base/info-proc.exp: Ditto.
15092 * gdb.base/return2.exp: Ditto.
15093 * gdb.threads/gcore-thread.exp: Ditto.
15094
44c75849
DJ
150952004-02-01 Daniel Jacobowitz <drow@mvista.com>
15096
15097 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
15098
005bc093
MK
150992004-02-01 Mark Kettenis <kettenis@gnu.org>
15100
15101 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
15102 that opening the file succeeds on OpenBSD.
15103
c47cebdb
DJ
151042004-02-01 Daniel Jacobowitz <drow@mvista.com>
15105
15106 * gdb.threads/thread-specific.c: New file.
15107 * gdb.threads/threads-specific.exp: New test script.
15108 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
15109 to expect_out.
15110
5a01311c
MK
151112004-02-01 Mark Kettenis <kettenis@gnu.org>
15112
15113 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
15114 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
15115 only on the "print_small_structs from print_long_arg_list" test.
15116
ce22a4f1
DJ
151172004-02-01 Daniel Jacobowitz <drow@mvista.com>
15118
15119 * gdb.base/completion.exp: Kill a stray backslash.
15120
15121 From Jim Ingham <jingham@apple.com>:
15122 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
15123 agrees with the result from sending a tab.
15124
abbab9d3
DJ
151252004-01-31 Daniel Jacobowitz <drow@mvista.com>
15126
15127 * gdb.base/chng-syms.exp: Remove stray newline.
15128
53904d1e
MK
151292004-01-31 Mark Kettenis <kettenis@gnu.org>
15130
15131 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
15132 *-*-openbsd*.
15133 * gdb.asm/openbsd.inc: New file.
15134
3a4b3aac
MK
151352004-01-30 Mark Kettenis <kettenis@gnu.org>
15136
15137 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
15138 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
15139 *-*solaris2*. Remove commented out default settings for
15140 asm-flags. Replace gdb_compile with target_link.
15141
ebac27b4
MC
151422004-01-29 Michael Chastain <mec.gnu@mindspring.com>
15143
15144 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
15145 for all tests. Remove old hp-ux and cygnus xfail cases.
15146
d8679d84
PH
151472004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
15148
15149 * gdb.base/chng-syms.exp: New file.
15150 * gdb.base/chng-syms.c: New file.
15151
0a55bc22
MC
151522004-01-24 Michael Chastain <mec.gnu@mindspring.com>
15153
15154 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
15155 Provide arms for current output in all my configurations.
15156
94b8e876
MC
151572004-01-24 Michael Chastain <mec.gnu@mindspring.com>
15158
15159 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
15160 * lib/compiler.cc: Likewise.
15161 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
15162 get the right preprocessor. Eval the output directly. Remove
15163 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
15164 hp_f77_compiler and hp_f90_compiler completely.
15165 (gdb_preprocess): Delete.
15166 (get_compiler): Delete.
15167
7cf03d44
MK
151682004-01-24 Mark Kettenis <kettenis@gnu.org>
15169
15170 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
15171 <string.h>.
15172
68b6dce9
NR
151732004-01-24 Nick Roberts <nick@nick.uklinux.net>
15174
15175 * gdb.mi/mi-stack.exp: Update copyright.
15176
b368761e
DC
151772004-01-23 David Carlton <carlton@kealia.com>
15178
15179 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
15180 test for cp_lookup_transparent_type.
15181 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
15182 call them.
15183
f2061b53
DJ
151842004-01-23 Daniel Jacobowitz <drow@mvista.com>
15185
15186 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
15187 after -var-update.
15188
37fc574a
DC
151892004-01-23 David Carlton <carlton@kealia.com>
15190
15191 * gdb.cp/namespace.cc (C::ensureRefs): New.
15192 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
15193
8e94b928
NR
151942004-01-20 Nick Roberts <nick@nick.uklinux.net>
15195
15196 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
15197 case "-stack-list-locals 2".
15198 * gdb.mi/mi-var-child.exp: Test for case
15199 "-var-list-children --all-values NAME".
15200
997b0952
MC
152012004-01-18 Michael Chastain <mec.gnu@mindspring.com>
15202
15203 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
15204
52470da3
MK
152052004-01-18 Mark Kettenis <kettenis@gnu.org>
15206
7049b4b8
MK
15207 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
15208 used with gdb_test_multiple.
15209
52470da3
MK
15210 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
15211 read at address 0. This fixes PR testsuite/1504.
15212
da6012e5
DJ
152132004-01-18 Daniel Jacobowitz <drow@mvista.com>
15214
15215 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
15216 Remove downloading, guessing the host executable, the calls to
15217 gdb_file_cmd and gdb_target_cmd, and "load" support.
15218 (infer_host_exec): New function broken out from gdb_load.
15219 (gdb_load): New wrapper for gdbserver_gdb_load.
15220 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
15221 gdb_target_cmd. Use -target-select.
15222 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
15223 Download binaries to the host. Clear last_mi_remote_file when
15224 we load a new binary.
15225 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
15226 call gdbserver_gdb_load and mi_gdb_target_cmd.
15227
32c70722
MC
152282004-01-17 Michael Chastain <mec.gnu@mindspring.com>
15229
15230 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
15231 type patterns.
15232
b0cecf36
MC
152332004-01-17 Michael Chastain <mec.gnu@mindspring.com>
15234
15235 * gdb.cp/templates.exp: Fix typo in test name of
15236 "print Foo<volatile char*>::foo".
15237
4120d7e6
MC
152382004-01-15 Michael Chastain <mec.gnu@mindspring.com>
15239
15240 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
15241
f679e530
BE
152422004-01-16 Ben Elliston <bje@wasabisystems.com>
15243
15244 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
15245 (clean mostlyclean): Remove empty rm.
15246
091c48f6
MC
152472004-01-15 Michael Chastain <mec.gnu@mindspring.com>
15248
15249 * gdb.base/setvar.exp: Add copyright years.
15250
3e5fc8d2
DC
152512004-01-14 David Carlton <carlton@bactrian.org>
15252
15253 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
15254 PR c++/1511 and update coment.
15255 * gdb.cp/templates.exp: Update patterns to match current output.
15256 If changes involve something other than whitespace, KFAIL
15257 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
15258
63d06c5c
DC
152592004-01-14 David Carlton <carlton@kealia.com>
15260
15261 * gdb.cp/namespace.exp: Add tests involving classes defined within
15262 namespaces.
15263 * gdb.cp/namespace.cc (C::CClass): New.
15264 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
15265
a51dab88
EZ
152662004-01-14 Elena Zannoni <ezannoni@redhat.com>
15267
15268 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
15269 what debug info we have. Print a better message if something goes
15270 wrong while producing the separate debug info file.
15271
a476ccc9
MC
152722004-01-14 Michael Chastain <mec.gnu@mindspring.com>
15273
15274 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
15275
f453692c
MC
152762004-01-14 Michael Chastain <mec.gnu@mindspring.com>
15277
15278 * gdb.base/callfuncs.c: Add copyright notice.
15279
f40063a5
MC
152802004-01-13 Michael Chastain <mec.gnu@mindspring.com>
15281
15282 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
15283 inheritance. PR gdb/1498, PR gcc/13539.
15284
19ac3974
EZ
152852004-01-13 Elena Zannoni <ezannoni@redhat.com>
15286
a9c64011
AS
15287 * gdb.threads/gcore-thread.exp: Prefix name of binary with
15288 test specific name.
15289 * gdb.mi/gdb669.exp: Ditto.
15290 * gdb.mi/mi-pthreads.exp: Ditto.
15291 * gdb.mi/mi1-pthreads.exp: Ditto.
15292 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 15293
56c97c6e
MC
152942004-01-12 Michael Chastain <mec.gnu@mindspring.com>
15295
15296 * gdb.cp/member-ptr.cc: Add copyright notice.
15297
a0644324
MC
152982004-01-12 Michael Chastain <mec.gnu@mindspring.com>
15299
15300 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
15301 some patterns for recent versions of gcc and hpacc. Delete
15302 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
15303 Delete tests that access a NULL pointer-to-member-data. This
15304 script is still disabled for gcc.
15305
32fabe09
EZ
153062004-01-12 Elena Zannoni <ezannoni@redhat.com>
15307
15308 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 15309 escaped correctly.
32fabe09 15310
1f8a6abb
EZ
153112004-01-12 Elena Zannoni <ezannoni@redhat.com>
15312
15313 * gdb.base/sepdebug.exp: New file.
15314 * gdb.base/sepdebug.c: New file.
15315 * lib/gdb.exp (separate_debug_filename): New procedure.
15316 (gdb_gnu_strip_debug): New procedure.
15317
48efe704
AC
153182004-01-12 Andrew Cagney <cagney@redhat.com>
15319
15320 * gdb.mi/ChangeLog: Delete file. Renamed to ...
15321 * gdb.mi/ChangeLog-1999-2003: New file.
15322
a9415475
AC
153232004-01-12 Andrew Cagney <cagney@redhat.com>
15324
15325 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
15326 "Renaming a directory to a non-empty directory returns ENOTEMPTY
15327 or EEXIST", treat EBUSY as an XFAIL.
15328
83b8cf9d
MC
153292004-01-11 Michael Chastain <mec.gnu@mindspring.com>
15330
15331 * gdb.base/scope.exp: Remove obsolete setup_xfail for
15332 hp_cc_compiler.
15333
9939d2a8
MC
153342004-01-10 Michael Chastain <mec.gnu@mindspring.com>
15335
15336 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
15337 decorations.
15338
1ff8cadf
MC
153392004-01-10 Michael Chastain <mec.gnu@mindspring.com>
15340
15341 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
15342 and "(aCC)" decorations. Remove obsolete doco about old
15343 test results.
15344
6fa9022e
MC
153452004-01-09 Michael Chastain <mec.gnu@mindspring.com>
15346
15347 * gdb.cp/exception.exp: Fix typo in doco.
15348
209721fe
MK
153492004-01-09 Mark Kettenis <kettenis@gnu.org>
15350
15351 * gdb.base/gdb1476.exp: Fix typo.
15352
ef11303e
MC
153532004-01-09 Michael Chastain <mec.gnu@mindspring.com>
15354
15355 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
15356 file.
15357
041ab88c
MC
153582004-01-09 Michael Chastain <mec.gnu@mindspring.com>
15359
15360 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
15361 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
15362 Use gdb_compile. Remove restriction on gcc. Add some patterns
15363 for recent version of gdb. Delete second half, which was a copy
15364 of the first half with different build flags. This test is
15365 still disabled because it is still not ready for production.
15366
e36d075a
MC
153672004-01-08 Michael Chastain <mec.gnu@mindspring.com>
15368
15369 * gdb.cp/exception.cc: Add copyright notice.
15370 * gdb.cp/exception.exp: Add a notice that this file is broken
15371 because of line number changes caused by addition of copyright
15372 notice.
15373
42b190ad
MC
153742004-01-08 Michael Chastain <mec.gnu@mindspring.com>
15375
15376 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
15377 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
15378
8f25f06b
MC
153792004-01-08 Michael Chastain <mec.gnu@mindspring.com>
15380
15381 * gdb.cp/classes.exp: Accept gnu abi 2.
15382 * gdb.cp/derivation.exp: Likewise.
15383 * gdb.cp/overload.exp: Likewise.
15384 * gdb.cp/virtfunc.exp: Likewise.
15385
06ded8b8
MC
153862004-01-08 Michael Chastain <mec.gnu@mindspring.com>
15387
15388 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
15389 semicolon after end of function.
15390
77c26ae3
MC
153912004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15392
15393 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
15394 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
15395 boilerplate code for compiling and running the program under
15396 test. Add some string method tests.
15397
20757486
MC
153982004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15399
15400 * gdb.cp/bs15503.cc: Add copyright notice.
15401 * gdb.cp/bs15503.exp: Adjust line number.
15402
0fd3b503
MC
154032004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15404
15405 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
15406 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
15407
10d1bea8
MC
154082004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15409
15410 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
15411 hp_cc_compiler.
15412
2789202a
MC
154132004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15414
15415 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
15416 * gdb.cp/ctti.exp: Use the marker instead of "next".
15417 With gcc, run further before bailing.
15418
b862f14c
MC
154192004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15420
15421 * gdb.cp/cttiadd.cc: Add copyright notice.
15422 * gdb.cp/cttiadd1.cc: Likewise.
15423 * gdb.cp/cttiadd2.cc: Likewise.
15424 * gdb.cp/cttiadd3.cc: Likewise.
15425
96da2469
MC
154262004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15427
15428 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
15429 Use gdb_test, gdb_test_multiple. Use floating-point values that
15430 have exact representations in IEEE-ish formats.
15431
053248ff
MC
154322004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15433
15434 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
15435 compilers. Delete duplicate call to get_compiler_info.
15436 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
15437 * gdb.base/volatile.exp: Likewise.
15438
84acecdd
MK
154392004-01-07 Mark Kettenis <kettenis@gnu.org>
15440
15441 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
15442 memory at address 0.
15443
fe11a27f
MC
154442004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15445
15446 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
15447 to test for hp-ux assembler. Fix copyright years.
15448
60ad077b
AC
154492004-01-07 Andrew Cagney <cagney@redhat.com>
15450
15451 * gdb.base/fileio.c (strerrno): Add "EBUSY".
15452
1c9b8f33
AC
154532004-01-07 Andrew Cagney <cagney@redhat.com>
15454
15455 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
15456 when creating the read-only file. From analysis by Roland McGrath
15457 and Elena Zannoni.
15458
753ccc7a
MC
154592004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15460
15461 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
15462
eca3e36b
MC
154632004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15464
15465 * gdb.base/cvexpr.c: Be type-safe with function pointers and
15466 data pointers.
15467
f8d4bac4
MC
154682004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15469
15470 * gdb.cp/m-static.exp: Compile one source file at a time.
15471 Delete unused call to get_compiler_info.
15472
9b4e0f94
MC
154732004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15474
15475 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
15476 * gdb.base/call-rt-st.exp: Likewise.
15477 * gdb.base/nodebug.exp: Likewise.
15478 * gdb.base/volatile.exp: Likewise.
15479 * gdb.cp/ref-types.exp: Likewise.
15480 * gdb.cp/templates.exp: Likewise.
15481
023c1024
MK
154822004-01-05 Mark Kettenis <kettenis@gnu.org>
15483
15484 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
15485
19703c4a
MC
154862004-01-05 Michael Chastain <mec.gnu@mindspring.com>
15487
15488 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
15489 hppa*-hp-hpux*.
15490
18b67037
MK
154912004-01-04 Mark Kettenis <kettenis@gnu.org>
15492
ba6219c8
MK
15493 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
15494 x86_64-*-*.
15495
18b67037
MK
15496 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
15497 sparc64-*-* and sparc*-solaris2*.
15498
1bfbbb9d
MK
154992004-01-04 Mark Kettenis <kettenis@gnu.org>
15500
15501 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
15502 return ${tests}" test. The ${tests} already mentions the
15503 filename.
15504
06846494
MC
155052004-01-02 Michael Chastain <mec.gnu@mindspring.com>
15506
15507 * gdb.cp/local.exp: Accept gcc abi 2.
15508
3b0cb202
MC
155092004-01-02 Michael Chastain <mec.gnu@mindspring.com>
15510
15511 * gdb.cp/templates.exp: Accept gcc abi 2.
15512
0643ec3f
MC
155132004-01-02 Michael Chastain <mec.gnu@mindspring.com>
15514
15515 * lib/compiler.cc: Remove supports_template_debugging.
15516 * gdb.cp/templates.exp: Do not test supports_template_debugging.
15517
d231d0b1
MC
155182004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15519
15520 * gdb.cp/namespace.exp: Accept gcc abi 2.
15521
44ffb27c
MC
155222004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15523
15524 * gdb.cp/method.exp: Accept gcc abi 2.
15525
184ad485
MC
155262004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15527
15528 * gdb.cp/classes.exp: Generate identical results as old version.
15529 * gdb.cp/derivation.exp: Likewise.
15530 * gdb.cp/overload.exp: Likewise.
15531 * gdb.cp/virtfunc.exp: Likewise.
15532
116f09e7
MC
155332004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15534
15535 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
15536 mysterious bug with sourceware version of expect.
15537
b1379776
MC
155382004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15539
15540 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
15541 current versions of gcc, including gcc abi 2. Remove gratuitous
15542 restart of test program. Use gdb_test_multiple and gdb_test for
15543 all tests. Add patterns to xfail missing "const" in "const char *"
15544 and kfail PR gdb/1155.
15545
6b7a4c0e
MC
155462004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15547
15548 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
15549 current versions of gcc, including gcc abi 2. Remove gratuitous
15550 restart of test program. Use gdb_test_multiple and gdb_test for
15551 all tests. Add patterns to kfail PR gdb/1498.
15552
51615d72
MC
155532003-12-31 Michael Chastain <mec.gnu@mindspring.com>
15554
15555 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
15556 current versions of gcc, including gcc abi 2. Use "breakpoint"
15557 and "continue" instead of restarting the target program. Use
15558 gdb_test_multiple and gdb_test for all tests.
15559
7b79a9d7
MK
155602004-01-01 Mark Kettenis <kettenis@gnu.org>
15561
15562 * gdb.asm/asm-source.exp: Update copyright year. Link statically
15563 for *-*-solaris2*.
15564
1cd3489f
MC
155652003-12-31 Michael Chastain <mec.gnu@mindspring.com>
15566
15567 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
15568 current versions of gcc, including gcc abi 2. Use "breakpoint"
15569 and "continue" instead of restarting the target program several
15570 times. Use gdb_test_multiple and gdb_test for all tests.
15571
850742db
MC
155722003-12-18 Michael Chastain <mec.gnu@mindspring.com>
15573
15574 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
15575 source files.
15576
eb4bbda8
MC
155772003-12-16 Michael Chastain <mec.gnu@mindspring.com>
15578
15579 * gdb.base/environ.exp: Handle compiling test case from multiple
15580 source files.
15581
e42c7771
MC
155822003-12-16 Michael Chastain <mec.gnu@mindspring.com>
15583
15584 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
15585
80e4b428
JB
155862003-12-17 Jim Blandy <jimb@redhat.com>
15587
5f06973a
JB
15588 * gdb.base/freebpcmd.c: Add copyright notice.
15589
80e4b428
JB
15590 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
15591
0ab84fb7
MC
155922003-12-16 Michael Chastain <mec.gnu@mindspring.com>
15593
15594 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
15595
1b3bb3d0
JB
155962003-12-13 Jim Blandy <jimb@redhat.com>
15597
15598 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
15599
3a4c9371
KB
156002003-12-12 Kevin Buettner <kevinb@redhat.com>
15601
15602 * gdb.asm/frv.inc: New file.
15603 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
15604
a1dea79a
FF
156052003-12-09 Fred Fish <fnf@redhat.com>
15606
15607 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
15608 functions to break1.c and leave prototypes behind. Add more
15609 "set breakpoint NN here" comments.
15610 * gdb.base/break1.c: New file.
15611
15612 * gdb.base/break.exp: Handle compiling test case from multiple
15613 source files and change source file references as needed.
15614 * gdb.base/completion.exp: Ditto.
15615 * gdb.base/condbreak.exp: Ditto.
15616 * gdb.base/define.exp: Ditto.
15617 * gdb.base/ena-dis-br.exp: Ditto.
15618 * gdb.base/info-proc.exp: Ditto.
15619 * gdb.base/maint.exp: Ditto.
15620 * gdb.base/until.exp: Ditto.
15621
15622 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
15623 hardcoded line numbers.
15624 * gdb.base/define.exp: Ditto.
15625 * gdb.base/ena-dis-br.exp: Ditto.
15626 * gdb.base/maint.exp: Ditto.
15627 * gdb.base/until.exp: Ditto.
15628
15629 * gdb.base/completion.exp: Use "break1" for completion tests since
15630 "break" is no longer a unique prefix.
15631
5266b69c
AC
156322003-12-06 Andrew Cagney <cagney@redhat.com>
15633
15634 * gdb.base/structs.exp (test_struct_returns): When applicable, set
15635 "return_value_unimplemented". When an unimplemented struct return
15636 architecture, report incorrect values as a KFAIL
15637
374451f0
MC
156382003-12-05 Michael Chastain <mec.gnu@mindspring.com>
15639
15640 * gdb.cp/rtti.exp: Accept new wording of warning from
15641 cp_lookup_rtti_type.
15642
ba9b20a7
MC
156432003-12-05 Michael Chastain <mec.gnu@mindspring.com>
15644
15645 Partial fix for PR testsuite/1456.
15646 * gdb.base/scope.exp (test_at_main): Replace references to
15647 gcc_compiled with calls to test_compiler_info.
15648 (test_at_foo): Likewise.
15649 (test_at_bar): Likewise.
15650
b74b6d0b
MC
156512003-12-04 Michael Chastain <mec.gnu@mindspring.com>
15652
15653 Partial fix for PR testsuite/1456.
15654 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
15655 to test_compiler_info.
15656
ccfa3402
MC
156572003-12-03 Michael Chastain <mec.gnu@mindspring.com>
15658
15659 * gdb.base/so-impl-ld.exp: Update copyright notice.
15660
f6246aba
MC
156612003-12-02 Michael Chastain <mec.gnu@mindspring.com>
15662
15663 Partial fix for PR testsuite/1456.
15664 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
15665 to test_compiler_info.
15666
13ae734a
MC
156672003-11-28 Michael Chastain <mec.gnu@mindspring.com>
15668
15669 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
15670 from current versions of gdb. Clean up regular expressions.
15671 Delete redundant timeout case.
15672
d8e1cdee
MC
156732003-11-28 Michael Chastain <mec.gnu@mindspring.com>
15674
15675 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
15676 from current versions of gdb. Clean up regular expressions.
15677 Delete redundant timeout case.
15678
96457b64
MC
156792003-12-01 Michael Chastain <mec.gnu@mindspring.com>
15680
15681 Partial fix for PR testsuite/1456.
15682 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
15683 gcc_compiled with call to test_compiler_info.
15684
f35309fc
MC
156852003-11-30 Michael Chastain <mec.gnu@mindspring.com>
15686
15687 Partial fix for PR testsuite/1456.
15688 * gdb.base/list.exp (test_list_function): Delete unused declaration
15689 of gcc_compiled.
15690
d7afdf9b
MC
156912003-11-29 Michael Chastain <mec.gnu@mindspring.com>
15692
15693 Partial fix for PR testsuite/1456.
15694 * gdb.base/complex.exp: Replace reference to gcc_compiled with
15695 call to test_compiler_info.
15696
71507b56
MK
156972003-11-29 Mark Kettenis <kettenis@gnu.org>
15698
15699 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
15700 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
15701 it to create the appropriate note.inc.
15702 * gdb.asm/asmsrc1.s: Include "note.inc".
15703 * gdb.asm/netbsd.inc: New file.
15704 * gdb.asm/empty.inc: New file.
15705
f81f93f7
MC
157062003-11-28 Michael Chastain <mec.gnu@mindspring.com>
15707
15708 Partial fix for PR testsuite/1456.
15709 * gdb.base/constvars.exp: Replace references to gcc_compiled with
15710 calls to test_compiler_info.
15711
9a77938e
MC
157122003-11-27 Michael Chastain <mec.gnu@mindspring.com>
15713
15714 Partial fix for PR testsuite/1456.
15715 * gdb.base/volatile.exp: Replace references to gcc_compiled with
15716 calls to test_compiler_info.
15717
e8367dc7
MK
157182003-11-27 Mark Kettenis <kettenis@gnu.org>
15719
15720 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
15721 pattern for the KFAILs.
15722
526c61ee
AF
157232003-11-25 Adam Fedor <fedor@gnu.org>
15724
15725 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
15726 * gdb.objc/objcdecode.m: New file.
15727
28f2d600
AF
157282003-11-25 Adam Fedor <fedor@gnu.org>
15729
15730 * gdb.objc/nondebug.exp: Test for PR objc/1236.
15731 * gdb.objc/nondebug.m: New file.
15732
a3895cee
BE
157332003-11-26 Ben Elliston <bje@wasabisystems.com>
15734
15735 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
15736 NetBSD as it does on FreeBSD. Modelled on a similar change by
15737 Mark Kettenis on 2003-05-30.
15738 (link-flags): Set to "--entry _start" regardless of target.
15739 Special linker flags are to be appended to $link-flags.
15740 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
15741
c9f2c8a3
MC
157422003-11-25 Michael Chastain <mec.gnu@mindspring.com>
15743
15744 * gdb.cp/method.exp: Accept output of new demangler.
15745
15a0587a 157462003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
15747
15748 * gdb/class2.exp: New file.
15749 * gdb/class2.cc: New file.
15750
3c00b570
MC
157512003-11-25 Michael Chastain <mec.gnu@mindspring.com>
15752
15753 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
15754 of new demangler.
15755
7027acc7
MK
157562003-11-23 Mark Kettenis <kettenis@gnu.org>
15757
15758 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
15759 of gdb_test "run".
15760
b0e1598a
MK
157612003-11-23 Mark Kettenis <kettenis@gnu.org>
15762
15763 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
15764 "continue" into "run".
15765
4d9eda44
MC
157662003-11-23 Michael Chastain <mec.gnu@mindspring.com>
15767
15768 Partial fix for PR testsuite/1456.
15769 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
15770 call to test_compiler_info.
15771 * gdb.cp/ctti.exp: Likewise.
15772 * gdb.cp/derivation.exp: Likewise.
15773 * gdb.cp/member-ptr.exp: Likewise.
15774 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
15775 reference to gcc_compiled.
15776
157772003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
15778
15779 Fix PR testsuite/1463.
15780 * gdb.base/structs.exp (start_structs_test): Call
15781 get_debug_format before using the debug format.
15782
d422fe19
AC
157832003-11-22 Andrew Cagney <cagney@redhat.com>
15784
15785 * lib/gdb.exp (gdb_test_multiple): Add simple example.
15786 * gdb.base/structs.exp: Use gdb_test_multiple.
15787
039cf96d
AC
157882003-11-20 Andrew Cagney <cagney@redhat.com>
15789
6882279b
AC
15790 * gdb.base/structs.exp: Handle and recover from internal errors.
15791 Replace "foo${n}" with "foo<n>" in test messages.
15792
e53890ae
AC
15793 * gdb.base/structs.exp: Update copyright. Rewrite.
15794 * gdb.base/structs.c: Update copyright. Rewrite.
15795
2b211c59
AC
15796 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
15797 resync count exceeded.
d63a86f8 15798
039cf96d
AC
15799 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
15800 from the internal error.
15801 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
15802 Original from Jim Blandy.
15803 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 15804
eac98b22
AC
158052003-11-19 Andrew Cagney <cagney@redhat.com>
15806
15807 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
15808 KFAIL.
15809
67455b2a
MK
158102003-11-17 Mark Kettenis <kettenis@gnu.org>
15811
15812 New testcase for PR backtrace/1435.
15813 * gdb.arch/i386-unwind.exp: New file.
15814 * gdb.arch/i386-unwind.c: New file.
15815
853d6e5b
AC
158162003-11-17 Andrew Cagney <cagney@redhat.com>
15817
15818 * lib/gdb.exp (compiler_info): New global.
15819 (test_compiler_info): New function.
15820 (get_compiler_info): Set compiler_info.
15821 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
15822 "compiler_info" to gcc-<major>-<minor>.
15823
38cf6e11
MC
158242003-11-15 Michael Chastain <mec.gnu@mindspring.com>
15825
15826 * gdb.trace/configure: Remove.
15827
a50d3602
EZ
158282003-11-13 Elena Zannoni <ezannoni@redhat.com>
15829
15830 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 15831 breakpoints.
a50d3602
EZ
15832 * gdb.base/break.exp: Remove all references to explicit line
15833 numbers.
15834
d9407aaa
NC
158352003-11-11 Nick Clifton <nickc@redhat.com>
15836
15837 * gdb.base/shreloc.exp: Do not run for targets which do not
15838 support shared objects.
15839
db488fc1
CV
158402003-11-10 Corinna Vinschen <vinschen@redhat.com>
15841
15842 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
15843 Don't run tests if nofileio flag is given.
15844
6a90a18e
EZ
158452003-11-07 Elena Zannoni <ezannoni@redhat.com>
15846
15847 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 15848 as well as 'Watchpoint'.
6a90a18e 15849
0b915e9c
EZ
158502003-11-06 Elena Zannoni <ezannoni@redhat.com>
15851
15852 Reported by Jim Ingham <jingham@apple.com>:
15853 * gdb.base/annota1.exp: Match at least one occurrence of the
15854 signal handler annotation.
15855
d7e4b55f
EZ
158562003-11-06 Elena Zannoni <ezannoni@redhat.com>
15857
a9c64011
AS
15858 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
15859 as well as 'Watchpoint'.
d7e4b55f 15860
2fe4e8d0
MC
158612003-11-05 Michael Chastain <mec@shout.net>
15862
15863 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
15864
6ef88553
KW
158652003-11-03 Kris Warkentin <kewarken@qnx.com>
15866
15867 * gdb.arch/gdb1291.c: New test file.
15868 * gdb.arch/gdb1291.exp: New test script.
15869 * gdb.arch/gdb1431.c: New test file.
15870 * gdb.arch/gdb1431.exp: New test script.
15871
ae7dc4d8
MC
158722003-10-22 Michael Chastain <mec@shout.net>
15873
15874 * gdb.mi/pthreads.c: Add copyright notice.
15875
c39d7427
MC
158762003-10-22 Michael Chastain <mec@shout.net>
15877
15878 * gdb.threads/pthreads.c: Add copyright notice.
15879
8b7d96c1
MC
158802003-10-20 Michael Chastain <mec@shout.net>
15881
15882 * gdb.base/gdb1056.exp: New test script.
15883
d1d69fdd
DJ
158842003-10-13 Daniel Jacobowitz <drow@mvista.com>
15885
15886 * gdb.threads/killed.exp: Use gdb_run_cmd.
15887
7d605576
DJ
158882003-10-13 Daniel Jacobowitz <drow@mvista.com>
15889
15890 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
15891 create a core file.
15892 * gdb.threads/gcore-thread.exp: Likewise.
15893
618ec112
CV
158942003-10-13 Corinna Vinschen <vinschen@redhat.com>
15895
15896 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
15897 type, based on char type.
15898 (struct bit_flags_short_t): New bitfield type, based on short type.
15899 (init_bit_flags_char): New fuction.
15900 (init_bit_flags_short): Ditto.
15901 (print_bit_flags_char): Ditto.
15902 (print_bit_flags_short): Ditto.
15903 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
15904
9367a73c
MC
159052003-10-11 Michael Chastain <mec@shout.net>
15906
15907 * gdb.base/call-rt-st.exp: Update copyright year.
15908
1decf120
KI
159092003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
15910
15911 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
15912 * gdb.disasm/sh3.s: Ditto.
15913
5445b2ae
DJ
159142003-10-07 Daniel Jacobowitz <drow@mvista.com>
15915
15916 * gdb.threads/switch-threads.exp: New test.
15917 * gdb.threads/switch-threads.c: New source file.
15918
aec24853
CV
159192003-10-07 Corinna Vinschen <vinschen@redhat.com>
15920
15921 * gdb.base/ending-run.exp: Add sh specific case.
15922
adc7428d
AC
159232003-10-06 Andrew Cagney <cagney@redhat.com>
15924
15925 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
15926 * gdb.disasm/mn10200.exp: Delete obsolete file.
15927
c9d37158
DJ
159282003-09-29 Daniel Jacobowitz <drow@mvista.com>
15929
15930 * ChangeLog: Correct an entry command.exp -> commands.exp.
15931 * gdb.base/commands.exp (bp_deleted_in_command_test)
15932 (temporary_breakpoint_commands): Check noargs.
15933
79c2c32d
DC
159342003-09-25 David Carlton <carlton@kealia.com>
15935
15936 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
15937 of some print tests, where appropriate. Add tests for C::D::cd,
15938 E::ce, F::cXfX, G::XgX.
15939 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
15940
594e6d67
RE
159412003-09-25 Richard Earnshaw <rearnsha@arm.com>
15942
15943 * lib/java.exp (java_init): Import target_alias before using it.
15944
10f0d451
DC
159452003-09-25 David Carlton <carlton@kealia.com>
15946
15947 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
15948
274bcba0
EZ
159492003-09-23 Elena Zannoni <ezannoni@redhat.com>
15950
d63a86f8 15951 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 15952 weirdness.
274bcba0 15953
cdbf20f7
MC
159542003-09-17 Michael Chastain <mec@shout.net>
15955
15956 * gdb.cp/gdb1355.exp: New file.
15957 * gdb.cp/gdb1355.c: New file.
15958
71e06f80
CV
159592003-09-15 Corinna Vinschen <vinschen@redhat.com>
15960
15961 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
15962 * gdb.asm/sh.inc: New file.
15963
5c4e30ca
DC
159642003-09-11 David Carlton <carlton@kealia.com>
15965
bd45b7af
DC
15966 * gdb.cp/namespace.exp: Add tests for namespace types.
15967 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
15968 (test_namespace): New.
15969
1c199746
EZ
159702003-09-11 Elena Zannoni <ezannoni@redhat.com>
15971
a9c64011 15972 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 15973 * gdb.stabs/weird.exp: Ditto.
1c199746 15974
04ed252f
MC
159752003-09-08 Michael Chastain <mec@shout.net>
15976
15977 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
15978
d8a2d9e7
MC
159792003-09-07 Michael Chastain <mec@shout.net>
15980
15981 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
15982 'parse error'.
15983
161afb24
MK
159842003-09-07 Mark Kettenis <m.kettenis@osp.nl>
15985
15986 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
15987
49f2741a
MC
159882003-08-30 Michael Chastain <mec@shout.net>
15989
15990 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
15991 * gdb.gdb/observer.exp: Ditto.
15992 * gdb.gdb/xfullpath.exp: Ditto.
15993
8afa723e
MK
159942003-08-29 Mark Kettenis <kettenis@gnu.org>
15995
15996 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
15997 *-*-*bsd*.
15998
f31dfe3b
JJ
159992003-08-28 Jeff Johnston <jjohnstn@redhat.com>
16000
16001 * gdb.base/dump.exp: Skip for ia64.
16002
4630e498
JJ
160032003-08-25 Jeff Johnston <jjohnstn@redhat.com>
16004
16005 * gdb.asm/asm-source.exp: Add ia64 support.
16006 * gdb.asm/ia64.inc: New file.
16007
1105b7ef
MC
160082003-08-22 Michael Chastain <mec@shout.net>
16009
16010 * gdb.cp: New directory.
16011 * gdb.cp/*: Copy from gdb.c++/*.
16012 * gdb.c++/*: Remove.
16013 * Makefile.in: Change gdb.c++ to gdb.cp.
16014 * configure.in: Ditto.
16015 * configure: Regnerate.
16016
c945b932
MK
160172003-08-18 Mark Kettenis <kettenis@gnu.org>
16018
16019 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
16020 * gdb.arch/i386-prologue.c (gdb1338): Add function.
16021
2b66634b
DJ
160222003-08-17 Daniel Jacobowitz <drow@mvista.com>
16023
16024 * mi-var-display.exp (-var-list-children weird): Accept function
16025 pointers with argument types.
16026 * mi1-var-display.exp (-var-list-children weird): Likewise.
16027 * mi2-var-display.exp (-var-list-children weird): Likewise.
16028
a356f73b
DJ
160292003-08-17 Daniel Jacobowitz <drow@mvista.com>
16030
16031 * gdb.base/annota3.exp: Add missing newline.
16032
483417b8
MC
160332003-08-06 Michael Chastain <mec@shout.net>
16034
16035 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
16036
c99c59c3
MS
160372003-08-12 Michael Snyder <msnyder@redhat.com>
16038
16039 * gdb.base/float.exp: Add test for SH.
16040
55ed7501
MK
160412003-08-10 Mark Kettenis <kettenis@gnu.org>
16042
16043 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
16044
1a371f2e
EZ
160452003-08-07 Elena Zannoni <ezannoni@redhat.com>
16046
16047 * gdb.base/completion.exp: Remove reduntant completion test
16048 on filename.
16049
e0f353ce
EZ
160502003-08-07 Elena Zannoni <ezannoni@redhat.com>
16051
a9c64011
AS
16052 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
16053 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
16054 gdb.trace/save-trace.exp: Make sure that full pathnames are
16055 escaped correctly.
e0f353ce 16056
5710a1af 160572003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 16058
a9c64011
AS
16059 * configure.in: Don't generate config.h from config.hin.
16060 * configure: Regenerate.
16061 * config.hin: Remove file.
16062 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
16063 * gdb.threads/pthreads.c: Ditto.
5710a1af 16064
dcd81ce9
DJ
160652003-08-07 Daniel Jacobowitz <drow@mvista.com>
16066
16067 From Kei Sakamoto <sakamoto.kei@renesas.com>:
16068 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
16069 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
16070 Replace ld24 with seth/add3.
16071
6009d884
AC
160722003-08-02 Andrew Cagney <cagney@redhat.com>
16073
16074 * gdb.base/annota3.exp: New file.
16075 * gdb.base/annota3.c: New file.
16076 * gdb.c++/annota3.exp: New file.
16077 * gdb.c++/annota3.cc: New file.
16078
51514e06
MC
160792003-07-29 Michael Chastain <mec@shout.net>
16080
16081 * gdb.threads/tls.c (spin): Check errno only if sem_wait
16082 actually failed.
16083 (do_pass): Likewise.
16084 * gdb.threads/tls.exp: Always initialize no_of_threads.
16085
4ee6625b
DJ
160862003-07-27 Daniel Jacobowitz <drow@mvista.com>
16087
16088 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
16089 pattern.
16090 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
16091 * gdb.threads/tls.exp: Recognize one case of the host library not
16092 supporting TLS.
16093
225f2bf6
AC
160942003-07-27 Andrew Cagney <cagney@redhat.com>
16095
16096 * gdb.base/fileio.exp: Use SH when running commands using
16097 remote_exec.
16098
bcb27c9f
DJ
160992003-07-24 Daniel Jacobowitz <drow@mvista.com>
16100
16101 From Kei Sakamoto <sakamoto.kei@renesas.com>:
16102 * gdb.base/relocate.c (dummy): New padding array.
16103
3d67be83
MS
161042003-07-22 Michael Snyder <msnyder@redhat.com>
16105
d63a86f8 16106 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
16107
16108 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
16109 patterns to be more general, accepting old and new output.
16110 Some output chars (such as '+') also must be quoted.
d63a86f8 16111 Some addresses are displayed numerically instead of
3d67be83
MS
16112 symbolically.
16113
57ba3b85
MS
161142003-07-23 Michael Snyder <msnyder@redhat.com>
16115
686d097c
MS
16116 * gdb.base/return2.exp: Don't test long-long return.
16117
57ba3b85
MS
16118 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
16119 * gdb.disasm/t01_mov.exp: Ditto.
16120 * gdb.disasm/t02_mova.s: Ditto.
16121 * gdb.disasm/t02_mova.exp: Ditto.
16122 * gdb.disasm/t03_add.s: Ditto.
16123 * gdb.disasm/t03_add.exp: Ditto.
16124 * gdb.disasm/t04_sub.s: Ditto.
16125 * gdb.disasm/t04_sub.exp: Ditto.
16126 * gdb.disasm/t05_cmp.s: Ditto.
16127 * gdb.disasm/t05_cmp.exp: Ditto.
16128 * gdb.disasm/t06_ari2.s: Ditto.
16129 * gdb.disasm/t06_ari2.exp: Ditto.
16130 * gdb.disasm/t07_ari3.s: Ditto.
16131 * gdb.disasm/t07_ari3.exp: Ditto.
16132 * gdb.disasm/t08_or.s: Ditto.
16133 * gdb.disasm/t08_or.exp: Ditto.
16134 * gdb.disasm/t09_xor.s: Ditto.
16135 * gdb.disasm/t09_xor.exp: Ditto.
16136 * gdb.disasm/t10_and.s: Ditto.
16137 * gdb.disasm/t10_and.exp: Ditto.
16138 * gdb.disasm/t11_logs.s: Ditto.
16139 * gdb.disasm/t11_logs.exp: Ditto.
16140 * gdb.disasm/t12_bit.s: Ditto.
16141 * gdb.disasm/t12_bit.exp: Ditto.
16142 * gdb.disasm/t13_otr.s: Ditto.
16143 * gdb.disasm/t13_otr.exp: Ditto.
16144
e00759ef
EZ
161452003-07-22 Elena Zannoni <ezannoni@redhat.com>
16146
16147 * gdb.threads/tls.exp :Add kfail for 'info address' case.
16148
8bc2021f
EZ
161492003-07-22 Elena Zannoni <ezannoni@redhat.com>
16150
a9c64011
AS
16151 * gdb.threads/tls.c : New file.
16152 * gdb.threads/tls.exp : New file.
16153 * gdb.threads/tls-main.c : New file.
16154 * gdb.threads/tls-shared.c : New file.
16155 * gdb.threads/tls-shared.exp : New file.
8bc2021f 16156
89320c4c
AS
161572003-07-22 Andreas Schwab <schwab@suse.de>
16158
16159 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
16160
180dea7c
AS
161612003-07-20 Andreas Schwab <schwab@suse.de>
16162
16163 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
16164 due to insn reordering.
16165
0714963c
AC
161662003-07-15 Andrew Cagney <cagney@redhat.com>
16167
16168 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
16169
98a23b3f
MC
161702003-07-15 Michael Chastain <mec@shout.net>
16171
16172 * gdb.base/gdb1250.exp: New file.
16173 * gdb.base/gdb1250.c: New file.
16174
27e417a2
ML
161752003-07-09 Michal Ludvig <mludvig@suse.cz>
16176
16177 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
16178 expansion of size_t to 'unsigned long', not only to 'unsigned'.
16179
8bc2021f
EZ
161802003-07-09 Elena Zannoni <ezannoni@redhat.com>
16181
a9c64011
AS
16182 * gdb.threads/tls.c: New file.
16183 * gdb.threads/tls.exp: New file.
16184 * gdb.threads/tls-main.c: New file.
16185 * gdb.threads/tls-shared.c: New file.
16186 * gdb.threads/tls-shared.exp: New file.
8bc2021f 16187
d99968dc
EZ
161882003-07-09 Elena Zannoni <ezannoni@redhat.com>
16189
16190 * gdb.base/annota1.exp: Make sure that we properly escape the
16191 full path of the source file. Xfail more permissive patterns,
d63a86f8 16192 due to a compiler debug info problem.
d99968dc 16193
83876b3b
AS
161942003-07-07 Andreas Schwab <schwab@suse.de>
16195
2705e972
AS
16196 * gdb.asm/m68k.inc: New file.
16197 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
16198
83876b3b
AS
16199 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
16200 arguments"): Also match negative number.
16201
16202 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
16203
3a871b37
DJ
162042003-07-03 Daniel Jacobowitz <drow@mvista.com>
16205
16206 * gdb.base/store.c (charest): New typedef.
16207 (add_char): Rename to add_charest, update.
16208 (wack_char): Rename to wack_charest, update types. Return l + r
16209 to keep r live across the call.
16210 (wack_short, wack_int, wack_long, wack_longest, wack_float)
16211 (wack_double, wack_doublest): Return l + r to keep r live across
16212 the call.
16213 * gdb.base/store.exp: Accomodate store.c changes.
16214
b2a7f303
DC
162152003-06-30 David Carlton <carlton@kealia.com>
16216
16217 * gdb.c++/maint.exp (test_invalid_name): New.
16218 (test_first_component): Add tests for invalid names.
16219
3c6cb4a1
MC
162202003-06-29 Michael Chastain <mec@shout.net>
16221
16222 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
16223 output of '<VTT for class>' for virtual base classes.
16224
f1c2644b
DJ
162252003-06-29 Daniel Jacobowitz <drow@mvista.com>
16226
16227 * gdb.base/completion.exp: Tab-complete "complet" instead of
16228 "compl".
16229 * gdb.base/complex.exp, gdb.base/complex.c: New files.
16230
18080350
DJ
162312003-06-29 Daniel Jacobowitz <drow@mvista.com>
16232
16233 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
16234 * gdb.base/volatile.exp: Likewise.
16235
f56973f8
DJ
162362003-06-29 Daniel Jacobowitz <drow@mvista.com>
16237
16238 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
16239 gdb/1265.
16240
162412003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
16242 Daniel Jacobowitz <drow@mvista.com>
16243
16244 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
16245 initial line count of 'captured_main' from 26 to 32.
16246 (test_with_self): Allow xmalloc call to be interleaved with the
16247 preceding two lines.
16248
e766d4d6
JB
162492003-06-24 Joel Brobecker <brobecker@gnat.com>
16250
16251 * gdb.base/bang.exp: New testcase.
16252
f125c9a4
JB
162532003-06-23 Joel Brobecker <brobecker@gnat.com>
16254
16255 * gdb.base/langs.exp: Add some tests for the "minimal" language
16256 support.
16257
6e25beaf
EZ
162582003-06-23 Elena Zannoni <ezannoni@redhat.com>
16259
16260 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
16261 the testcase.
16262
2f816dda
DJ
162632003-06-22 Daniel Jacobowitz <drow@mvista.com>
16264
16265 * gdb.base/relocate.exp: Test add-symbol-file with a variable
16266 offset.
16267
db5a5748
DJ
162682003-06-22 Daniel Jacobowitz <drow@mvista.com>
16269
16270 * gdb.c++/pr-1210.cc: New file.
16271 * gdb.c++/pr-1210.exp: New file.
16272
1df0c130
DJ
162732003-06-21 Daniel Jacobowitz <drow@mvista.com>
16274
16275 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
16276 000-exec-continue.
16277
a92feac0
MK
162782003-06-15 Mark Kettenis <kettenis@gnu.org>
16279
16280 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
16281 on *-*-*bsd* instead of *-*-freebsd*.
16282
81a58f5b
AC
162832003-06-14 Andrew Cagney <cagney@redhat.com>
16284
16285 * gdb.base/store.exp: Test longest and doublest. Test all
16286 parameters. Weaken return statement match.
16287 * gdb.base/store.c: Add longest and doublest - aka long long and
16288 long double functions. Put all parameters into local register
16289 variables. Use negative values.
16290
b257a0d3
AC
162912003-06-14 Andrew Cagney <cagney@redhat.com>
16292
16293 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
16294 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
16295 exit status.
16296 * gdb.base/fileio.exp: Disable target when nointerrupts and
16297 noinferiorio, instead of limiting it to remote. Use remote_exec
16298 instead of system.
d63a86f8 16299
21c38304
JJ
163002003-06-12 Jeff Johnston <jjohnstn@redhat.com>
16301
16302 * gdb.base/float.exp: Add ia64 support.
16303
1bcdb424
CV
163042003-06-12 Corinna Vinschen <vinschen@redhat.com>
16305
16306 * gdb.base/fileio.exp: Run only on remote targets.
16307
6aeb981f
CV
163082003-06-10 Corinna Vinschen <vinschen@redhat.com>
16309
16310 * gdb.base/fileio.c: New file, testing File-I/O.
16311 * gdb.base/fileio.exp: Ditto.
16312
53df362e
RG
163132003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
16314
16315 * gdb.base/shreloc.exp: New file, check symbol values obtained from
16316 shared objects after relocation at load time (gdb PR/1132).
16317 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 16318 as above, part of the shared object relocation test.
53df362e 16319
ffee1b46
MK
163202003-06-08 Mark Kettenis <kettenis@gnu.org>
16321
b5ca3722
MK
16322 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
16323 fully filled history list.
16324 * gdb.base/gdb_history: New file.
16325
03ed860d
MK
16326 * gdb.base/signals.exp: XFAIL "continue to func1" on
16327 i*86-*-freebsd*.
16328
ffee1b46
MK
16329 * gdb.base/attach.exp: When trying to attach to a nonexistent
16330 process, make it possible to specify the PID based on the target,
16331 and do so for *-*-freebsd*.
16332
d80dbb52
RH
163332003-06-02 Richard Henderson <rth@redhat.com>
16334
16335 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
16336
6dd77b81
RH
163372003-06-02 Richard Henderson <rth@redhat.com>
16338
16339 * gdb.base/selftest.exp: Next over lim_at_start initialization.
16340
f6347e16
RH
163412003-06-02 Richard Henderson <rth@redhat.com>
16342
16343 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
16344
2c161407
DJ
163452003-06-01 Daniel Jacobowitz <drow@mvista.com>
16346
16347 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
16348 of globalvar.
16349
572eb746
MK
163502003-06-01 Mark Kettenis <kettenis@gnu.org>
16351
16352 * gdb.asm/asm-source.exp: Check for memory read errors in
16353 disassembler test on *BSD too.
16354
9e9617a5
RH
163552003-06-01 Richard Henderson <rth@redhat.com>
16356
16357 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
16358 for .frame.
16359 (gdbasm_call): Lose ldgp.
16360 (gdbasm_startup): Add frame information.
16361 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
16362
7b34ad4e
MK
163632003-05-31 Mark Kettenis <kettenis@gnu.org>
16364
16365 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
16366 i?86-*-*.
16367
10059fdf
MK
163682003-05-30 Mark Kettenis <kettenis@gnu.org>
16369
16370 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
16371 FreeBSD.
16372
acf4b816
RH
163732003-05-29 Richard Henderson <rth@redhat.com>
16374
16375 * gdb.asm/alpha.inc: New file.
16376 * gdb.asm/asm-source.exp: Use it.
16377
e9ecd949
JB
163782003-05-29 Jim Blandy <jimb@redhat.com>
16379
16380 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
16381 'core.PID'.
16382
e3e5a4f3
JB
163832003-05-22 Jim Blandy <jimb@redhat.com>
16384
16385 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
16386 backtrace.
d63a86f8 16387
72fe3d25
DC
163882003-05-20 David Carlton <carlton@math.stanford.edu>
16389
16390 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
16391 this time.
16392
58da2eb2
DC
163932003-05-19 David Carlton <carlton@bactrian.org>
16394
16395 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
16396 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
16397
1fcb5155
DC
163982003-05-19 David Carlton <carlton@bactrian.org>
16399
16400 * gdb.c++/namespace.exp: Add namespace scope and anonymous
16401 namespace tests.
16402 Bump copyright date.
16403 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
16404 (main): Call C::D::marker2.
16405 * gdb.c++/namespace1.cc: New file.
16406
85e85163
JJ
164072003-05-14 Jeff Johnston <jjohnstn@redhat.com>
16408
16409 Roland McGrath <roland@redhat.com>
d63a86f8 16410 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
16411 there is no manager thread.
16412
a25fbfec
JJ
164132003-05-08 Jeff Johnston <jjohnstn@redhat.com>
16414
d63a86f8
RM
16415 * gdb.threads/schedlock.exp: Remove assumption that all threads
16416 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
16417 in one of the child threads rather than the main thread.
16418
be375bae
JB
164192003-05-07 Jim Blandy <jimb@redhat.com>
16420
09bf6082
JB
16421 Add support for assembly source testing on the s390x.
16422 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
16423 architecture.
16424 * gdb.asm/s390x.inc: New file.
16425
be375bae
JB
16426 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
16427 succession of 'if' statements.
16428
00905d52
AC
164292003-05-05 Andrew Cagney <cagney@redhat.com>
16430
16431 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
16432
b1e29e33
AC
164332003-05-05 Andrew Cagney <cagney@redhat.com>
16434
16435 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
16436 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
16437
e33d66ec
EZ
164382003-05-02 Elena Zannoni <ezannoni@redhat.com>
16439
16440 * gdb.base/charset.exp: Update based on new behavior of set/show
16441 charset commands.
16442
2b6fd0d8
AC
164432003-05-01 Andrew Cagney <cagney@redhat.com>
16444
16445 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
16446 variable do not give memory errors.
16447
130cacce
AF
164482003-04-30 Adam Fedor <fedor@gnu.org>
16449
16450 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
16451 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
16452 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
16453 gdb.objc/basicclass.m: : New files
16454
16455 * lib/gdb.exp (gdb_compile_objc): New procedure.
16456
bea71854
DJ
164572003-04-27 Daniel Jacobowitz <drow@mvista.com>
16458
16459 * gdb.base/signals.exp: Make backtrace tests more specific.
16460
0f20eeea
DC
164612003-04-23 David Carlton <carlton@bactrian.org>
16462
16463 * gdb.c++/maint.exp (test_first_component): Add tests for
16464 'operator' in more locations.
16465
c8c4d8dc
KB
164662003-04-16 Kevin Buettner <kevinb@redhat.com>
16467
16468 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
16469
3fe60e3c
EZ
164702003-04-16 Elena Zannoni <ezannoni@redhat.com>
16471
16472 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 16473 func marke' instead. Update test name.
3fe60e3c 16474
9219021c
DC
164752003-04-15 David Carlton <carlton@math.stanford.edu>
16476
16477 * gdb.c++/maint.exp: New file.
16478
5dd55bdd
EZ
164792003-04-14 Elena Zannoni <ezannoni@redhat.com>
16480
16481 * gdb.threads/schedlock.c: Change type of thread function argument
16482 to long, to avoid warnings on 64-bit platforms.
16483
00890572
EZ
164842003-04-14 Elena Zannoni <ezannoni@redhat.com>
16485
a9c64011
AS
16486 * gdb.base/attach.exp: Add new message from ptrace in case of
16487 attaching to nonexistent process.
d63a86f8 16488
93201743
JB
164892003-04-11 Jim Blandy <jimb@redhat.com>
16490
16491 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
16492 gdb.c++/userdef.cc: Place comments on the lines to which the
16493 marker function might return.
16494 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
16495 gdb.c++/userdef.exp: Look for those comments to check that we've
16496 returned to the right place, instead of checking line numbers.
16497
2a11c64d
EZ
164982003-04-11 Elena Zannoni <ezannoni@redhat.com>
16499
a9c64011
AS
16500 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
16501 match on sourcefile name, instead of directory name.
2a11c64d 16502
68ab8fc5
EZ
165032003-04-10 Elena Zannoni <ezannoni@redhat.com>
16504
d63a86f8 16505 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
16506 working directory name.
16507
5624293a
JB
165082003-04-09 Jim Blandy <jimb@redhat.com>
16509
16510 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
16511 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
16512 after an inferior function call, report the failure, but allow the
16513 test to continue.
16514
f1f02ee4
SC
165152003-04-05 Stephane Carrez <stcarrez@nerim.fr>
16516
16517 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
16518 with -DPROTOTYPES.
16519
6eb79af0
SC
165202003-04-05 Stephane Carrez <stcarrez@nerim.fr>
16521
16522 * gdb.base/break.exp: Revert last patch.
16523
8dfb4cf0
SC
165242003-04-04 Stephane Carrez <stcarrez@nerim.fr>
16525
16526 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
16527 with -DPROTOTYPES.
16528
ed4c619a
AC
165292003-04-02 Andrew Cagney <cagney@redhat.com>
16530
16531 * gdb.base/callfuncs.exp: Make "print add" messages unique.
16532 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
16533 matching directories by the name breakpoint.
16534 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
16535 Make "continue to marker1" consistent.
16536 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
16537 message consistent.
16538 * lib/gdb.exp: Put "the program is no longer running", and "the
16539 program exited" in parenthesis.
16540 * lib/mi-support.exp: Ditto.
d63a86f8 16541
4e35d5f0 165422003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 16543
4e35d5f0
BR
16544 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
16545
71900fe8
AC
165462003-03-29 Andrew Cagney <cagney@redhat.com>
16547
16548 * gdb.base/sizeof.c (main): Print the value of '\377'.
16549 * gdb.base/sizeof.exp: Check the sign of '\377'.
16550
c0655a16
MC
165512003-03-27 Michael Chastain <mec@shout.net>
16552
16553 * gdb.base/gdb1090.exp: New file.
16554 * gdb.base/gdb1090.cc: New file.
16555
5b2a3989
JB
165562003-03-27 J. Brobecker <brobecker@gnat.com>
16557
16558 * gdb.gdb/observer.exp: New regression test.
16559
79876890
MC
165602003-03-27 Michael Chastain <mec@shout.net>
16561
16562 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
16563 * gdb.base/ptype.exp: Likewise.
16564
6eac95e3
CV
165652003-03-27 Corinna Vinschen <vinschen@redhat.com>
16566
16567 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
16568
e8c71839
MC
165692003-03-26 Michael Chastain <mec@shout.net>
16570
16571 * gdb.base/ptype.exp: Actually use some typedef'd types.
16572
71b10041
SC
165732003-03-21 Stephane Carrez <stcarrez@nerim.fr>
16574
16575 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
16576 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
16577
2512cf80
CV
165782003-03-20 Corinna Vinschen <vinschen@redhat.com>
16579
16580 * gdb.base/default.exp: Fix regular expression.
16581
0d195a4f
CV
165822003-03-20 Corinna Vinschen <vinschen@redhat.com>
16583
16584 * gdb.base/args.exp: Fix regular expression.
16585
8a2dbca8
CV
165862003-03-20 Corinna Vinschen <vinschen@redhat.com>
16587
16588 * gdb.base/help.exp: Allow Win32 child process.
16589
bf028682
CV
165902003-03-20 Corinna Vinschen <vinschen@redhat.com>
16591
16592 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
16593 when stepping out of main().
16594
182dbe85
CV
165952003-03-20 Corinna Vinschen <vinschen@redhat.com>
16596
16597 * gdb.base/default.exp: Check for win32 specific message when calling
16598 "run" without executable.
16599
d67a6ba5
CV
166002003-03-20 Corinna Vinschen <vinschen@redhat.com>
16601
16602 * gdb.base/args.exp: Expect .exe in output.
16603
a955b5bb
CV
166042003-03-20 Corinna Vinschen <vinschen@redhat.com>
16605
16606 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
16607 Cygwin native.
16608
bf6bad4b
AC
166092003-03-17 Andrew Cagney <cagney@redhat.com>
16610
16611 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
16612 vector registes.
16613 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
16614 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
16615
293e9a31
DC
166162003-03-17 David Carlton <carlton@math.stanford.edu>
16617
16618 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
16619 test, for PR breakpoints/38.
16620 Call test_watchpoint_and_breakpoint.
16621 * gdb.base/watchpoint.c (func3): New function.
16622 (main): Call func3.
16623
5330f2db
DC
166242003-03-04 David Carlton <carlton@math.stanford.edu>
16625
16626 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
16627 Garply<Garply<char> >:: garply".
16628 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
16629 with respect to PR c++/1111; note also PR c++/1113.
16630 (test_template_breakpoints): KFAIL "constructor breakpoint" with
16631 respect to PR c++/1062.
16632 KFAIL "destructor breakpoint" with respect to PR c++/1112.
16633
6ece72da
DC
166342003-03-03 David Carlton <carlton@math.stanford.edu>
16635
16636 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
16637 with respect to PR c++/57.
16638 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
16639 c++/826.
16640 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
16641 respect to PR c++/57.
16642
85ca1584
DC
166432003-03-03 David Carlton <carlton@math.stanford.edu>
16644
16645 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
16646 respect to PR c++/33 into FAILs.
16647
98e9c5b8
MC
166482003-03-03 Michael Chastain <mec@shout.net>
16649
7bedbf27
MC
16650 * configure.in: Update copyright years.
16651
166522003-03-03 Michael Chastain <mec@shout.net>
16653
16654 * Makefile.in: Update copyright years.
98e9c5b8 16655
f683e100
DC
166562003-02-28 David Carlton <carlton@math.stanford.edu>
16657
16658 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
16659 print class instead of struct and/or superfluous protection
16660 specifiers, as long as the resulting output is equivalent to the
16661 source code.
16662 Delete FIXME from end of messages on tests that don't need
16663 fixing.
16664
a9e0cf2c
DC
166652003-02-28 David Carlton <carlton@math.stanford.edu>
16666
16667 * gdb.c++/templates.exp (do_tests): Allow const in the two
16668 Foo<volatile char *>::foo tests.
16669
e8d359df
MS
166702003-02-27 Michael Snyder <msnyder@redhat.com>
16671
d63a86f8 16672 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
16673 will be consistant.
16674
0b71dc91
DC
166752003-02-26 David Carlton <carlton@math.stanford.edu>
16676
16677 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
16678 char *>::foo" test with respect to PR c++/33. Create a new test
16679 which is identical to that one except that it doesn't put the
16680 space between the "char" and the "*"; KFAIL it, too.
16681
dd14ab43
DC
166822003-02-26 David Carlton <carlton@math.stanford.edu>
16683
16684 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
16685 template types into either PASSes or KFAILs (corresponding to PR
16686 c++/57). Tweak indentation. Update copyright.
16687
1146c7f1
SC
166882003-02-23 Stephane Carrez <stcarrez@nerim.fr>
16689
16690 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
16691
74641dfb
MC
166922003-02-13 Michael Chastain <mec@shout.net>
16693
16694 * gdb.base/exprs.exp: Remove i960 remnants.
16695 * gdb.base/funcargs.exp: Likewise.
16696 * gdb.base/list.exp: Likewise.
16697 * gdb.base/ptype.exp: Likewise.
16698
559cd2d0
DC
166992003-02-14 David Carlton <carlton@math.stanford.edu>
16700
16701 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
16702 pEe->D::vg()" from XFAIL to KFAIL.
16703
c4f90d87
JM
167042003-02-13 Jason Molenda (jmolenda@apple.com)
16705
16706 * gdb.base/maint.exp: Update maint print statistics regexp to include
16707 new entries.
16708
cbc4d97c
MC
167092003-02-13 Michael Chastain <mec@shout.net>
16710
16711 * gdb.c++/inherit.exp: Remove call to get_debug_format.
16712
40f235b7
MC
167132003-02-12 Michael Chastain <mec@shout.net>
16714
16715 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
16716 * gdb.c++/inherit.exp: Likewise.
16717 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
16718 * gdb.c++/templates.exp: Likewise.
16719 * gdb.c++/virtfunc.exp: Likewise.
16720
c56716b0
JM
167212003-02-06 Jason Molenda (jason-cl@molenda.com)
16722
16723 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
16724 why the code is written that way.
16725
070afcf8
MC
167262003-02-05 Michael Chastain <mec@shout.net>
16727
16728 * gdb.base/dump.exp: Add missing copyright line.
16729
5d0331e5
JM
167302003-02-05 Jason Molenda (jason-cl@molenda.com)
16731
f7ae6d3e 16732 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
16733 at the beginning so the breakpoint doesn't get set on the loop.
16734
92851186
MC
167352003-02-05 Michael Chastain <mec@shout.net>
16736
16737 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
16738 output for configurations with gcc 2.95.3.
16739
cbf1e085
AC
167402003-02-05 Keith Seitz <keiths@redhat.com>
16741 Andrew Cagney <ac131313@redhat.com>
16742
16743 * gdb.mi/mi-cli.exp: New file.
d63a86f8 16744
29518e1e
MC
167452003-02-04 Michael Chastain <mec@shout.net>
16746
16747 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
16748 Call perror and then continue.
16749
5af1d5f3
MC
167502003-02-03 Michael Chastain <mec@shout.net>
16751
16752 * gdb.c++/pr-1023.cc: New file.
16753 * gdb.c++/pr-1023.exp: New file.
16754
6b549786
JB
167552003-02-05 Jim Blandy <jimb@redhat.com>
16756
16757 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
16758 it's local to foobar. Check for it there, and check that it's not
16759 present in main.
16760 * gdb.c++/local.cc (marker2): New function.
16761 (foobar): Call marker1.
16762 (main): Call marker2 instead of marker1.
16763
67f16606
AC
167642003-02-04 Andrew Cagney <ac131313@redhat.com>
16765
16766 * gdb.disasm/mn10200.exp: Obsolete file.
16767 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
16768 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
16769 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
16770
1c5cb38e
DC
167712003-02-04 David Carlton <carlton@math.stanford.edu>
16772
16773 * gdb.c++/overload.exp: Test intToChar(1).
16774 * gdb.c++/overload.cc (intToChar): New.
16775 (main): Call intToChar.
16776
d1fe6965
DC
167772003-02-03 David Carlton <carlton@math.stanford.edu>
16778
16779 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
16780 'might_kfail' arg.
16781 KFAIL some of the continue_to_bp_overloaded calls, according to
16782 PR c++/1025.
16783
9ba61c5d
MC
167842003-02-01 Michael Chastain <mec@shout.net>
16785
16786 * gdb.base/advance.c (marker1): New marker function.
16787 * gdb.base/advance.exp: When the 'advance' command lands on the
16788 return breakpoint, it can legitimately stop on either the
16789 current line or the next line. Accommodate both outcomes.
16790 * gdb.base/until.exp: Likewise.
16791
e7494ffb
AC
167922003-02-02 Andrew Cagney <ac131313@redhat.com>
16793
16794 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
16795 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
16796 now a list, not a tuple.
16797 * gdb.mi/mi-var-display.exp: Ditto.
16798 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 16799
075559bc
AC
168002003-02-01 Andrew Cagney <ac131313@redhat.com>
16801
16802 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
16803 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
16804 stack backtraces.
16805 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 16806
2bd4c7b1
MK
168072003-02-01 Mark Kettenis <kettenis@gnu.org>
16808
16809 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
16810 gdb.mi/mi1-pthreads.exp: Return instead of calling
16811 gdb_suppress_entire_file.
16812
eabd8992
MS
168132003-02-01 Mark Salter <msalter@redhat.com>
16814
16815 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
16816
71469e2f
MS
168172003-01-31 Mark Salter <msalter@redhat.com>
16818
16819 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
16820 Support empty arg.
16821
38a94d44
MC
168222003-01-30 Michael Chastain <mec@shout.net>
16823
16824 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
16825 This was a workaround for a UTF-8 bug in readline 4.3. The bug
16826 has been fixed in gdb/readline on 2003-01-09.
16827
19ea9e73
MS
168282003-01-29 Michael Snyder <msnyder@redhat.com>
16829
e8d359df
MS
16830 * gdb.base/maint.exp: Allow for leading underscore in symbol.
16831 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
16832 * gdb.base/args.exp: Skip if target does not support args passing.
16833
2307bd6a
DJ
168342003-01-22 Daniel Jacobowitz <drow@mvista.com>
16835
19ea9e73 16836 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
16837 gdb_test. Accept a list of expect arguments as the third
16838 parameter.
16839 (gdb_test): Use it.
16840
f2dd3617
EZ
168412003-01-20 Elena Zannoni <ezannoni@redhat.com>
16842
16843 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
16844 allow for different test tree configurations. Update some
16845 tescases accordingly.
16846 * gdb.arch/altivec-regs.exp: Ditto.
16847 * gdb.asm/asm-source.exp: Ditto.
16848 * gdb.base/advance.exp: Ditto.
16849 * gdb.base/display.exp: Ditto.
d63a86f8 16850 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
16851 * gdb.base/mips_pro.exp: Ditto.
16852 * gdb.base/overlays.exp: Ditto.
16853 * gdb.base/relocate.exp: Ditto.
16854 * gdb.base/setshow.exp: Ditto.
16855 * gdb.base/step-line.exp: Ditto.
16856 * gdb.base/step-test.exp: Ditto.
16857 * gdb.base/until.exp: Ditto.
16858 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
16859
c71cdefd
DC
168602003-01-17 David Carlton <carlton@math.stanford.edu>
16861
16862 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
16863 corresponding to PR c++/945.
16864 Update copyright.
16865
fdba05d7
DC
168662003-01-17 David Carlton <carlton@math.stanford.edu>
16867
16868 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
16869 corresponding to PR c++/68.
16870
168712003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
16872
16873 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
16874 (test_paddr_hairy_functions): Call print_addr_2_kfail for
16875 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
16876
c362c33a
EZ
168772003-01-15 Elena Zannoni <ezannoni@redhat.com>
16878
0fbc361c
EZ
16879 * gdb.base/break.exp: Fix change of default location, because of
16880 removal of until tests.
16881 * gdb.base/help.exp: Update test for new 'until' help message.
16882 Add test for help on 'advance'.
a9c64011 16883 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 16884
dabf8a35
MK
168852003-01-15 Mark Kettenis <kettenis@gnu.org>
16886
16887 * gdb.base/default.exp: Adapt "info float" test for recent changes
16888 to that command. Add test for "info vector".
16889 * gdb.base/float.exp: New file. Add test for "info float" that
16890 resembles the old test in gdb.base/default.exp.
16891
a1769aca
DC
168922003-01-15 David Carlton <carlton@math.stanford.edu>
16893
16894 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
16895
82025e13
EZ
168962003-01-15 Elena Zannoni <ezannoni@redhat.com>
16897
16898 * gdb.base/break.exp: Move the tests of until command from here...
16899 * gdb.base/until.exp: ... to here. New file. Add other tests.
16900 * gdb.base/advance.c: New file.
16901 * gdb.base/advance.exp: New file.
16902
8f9ab801
EZ
169032003-01-14 Elena Zannoni <ezannoni@redhat.com>
16904
a9c64011
AS
16905 * gdb.base/args.c: New file.
16906 * gdb.base/args.exp: New file.
8f9ab801 16907
9ae66589
DJ
169082003-01-14 Daniel Jacobowitz <drow@mvista.com>
16909
16910 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
16911
8d77e5c3
DJ
169122003-01-14 Daniel Jacobowitz <drow@mvista.com>
16913
16914 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
16915
12d2f0a1
DJ
169162003-01-14 Daniel Jacobowitz <drow@mvista.com>
16917
16918 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
16919 dates.
16920
6ca37014
DJ
169212003-01-13 Daniel Jacobowitz <drow@mvista.com>
16922
16923 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
16924
b0023472
DJ
169252003-01-13 Daniel Jacobowitz <drow@mvista.com>
16926
16927 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
16928 (ptype &*"foo").
16929 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
16930
607fbc54 169312003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
16932
16933 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
16934 * gdb.mi/mi1-console.exp: Likewise.
16935
607fbc54 169362003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
16937
16938 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
16939 * gdb.mi/mi1-console.exp: Likewise.
16940
a1fb14a2
DJ
169412003-01-13 Daniel Jacobowitz <drow@mvista.com>
16942
16943 * gdb.c++/overload.exp: Remove some fixed XFAILs.
16944
c4cf40b7
DJ
169452003-01-09 Daniel Jacobowitz <drow@mvista.com>
16946
16947 * gdb.base/detach.exp: New test.
16948
696d5a5b
DJ
169492003-01-09 Daniel Jacobowitz <drow@mvista.com>
16950
16951 * Makefile.in (ALL_SUBDIRS): New variable.
16952 (subdirs, clean, distclean): Use it.
16953 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
16954 regenerating Makefile, since it is generated from the top level.
16955 * gdb.asm/Makefile.in: Likewise.
16956 * gdb.base/Makefile.in: Likewise.
16957 * gdb.c++/Makefile.in: Likewise.
16958 * gdb.disasm/Makefile.in: Likewise.
16959 * gdb.java/Makefile.in: Likewise.
16960 * gdb.mi/Makefile.in: Likewise.
16961 * gdb.threads/Makefile.in: Likewise.
16962 * gdb.trace/Makefile.in: Likewise.
16963
754533e4
DC
169642003-01-09 David Carlton <carlton@math.stanford.edu>
16965
16966 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
16967 Add copyright year 2003.
16968
d8b3e9ee
MC
169692003-01-06 Michael Chastain <mec@shout.net>
16970
16971 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
16972 When selecting a thread, 'line' and 'file' are optional.
16973 * gdb.mi/mi1-pthreads.exp: Likewise.
16974
8e9e0fe6
AS
169752003-01-06 Andreas Schwab <schwab@suse.de>
16976
16977 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
16978 failures.
16979
b5ab8ff3
DJ
169802003-01-04 Daniel Jacobowitz <drow@mvista.com>
16981
16982 Fix PR gdb/844
16983 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
16984 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
16985
16986 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
16987 instead of calling gdb_suppress_entire_file.
16988 * gdb.threads/print-threads.exp: Likewise.
16989 * gdb.threads/schedlock.exp: Likewise.
16990
16991 * gdb.threads/killed.exp: Return instead of calling
16992 gdb_suppress_entire_file.
16993 * gdb.threads/linux-dp.exp: Likewise.
16994 * gdb.threads/pthreads.exp: Likewise.
16995
1e698235
DJ
169962003-01-04 Daniel Jacobowitz <drow@mvista.com>
16997
16998 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
16999 stabs.
17000 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
17001 * gdb.base/whatis.exp: Always allow (void) after function names.
17002
147ff08c
DJ
170032003-01-04 Daniel Jacobowitz <drow@mvista.com>
17004
17005 * gdb.c++/casts.exp: Correct regexp.
17006
dc62bfc2
MK
170072003-01-04 Mark Kettenis <kettenis@gnu.org>
17008
17009 * configure.in: Call AC_CONFIG_HEADER. Don't call
17010 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
17011 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
17012 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
17013 aforementioned directories in the AC_OUPUT call.
17014 * config.hin: New file.
17015 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
17016 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
17017 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
17018 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
17019 pass -I$objdir instead of -I$objdir/$subdir in compilation.
17020 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
17021 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
17022 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
17023 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
17024 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
17025 gdb.threads/configure.in, gdb.threads/configure,
17026 gdb.threads/config.in, gdb.trace/configure.in,
17027 gdb.trace/configure: Removed.
17028
77afa639
MC
170292003-01-03 Michael Chastain <mec@shout.net>
17030
17031 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
17032 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
17033
7634bb6e
DJ
170342003-01-03 Daniel Jacobowitz <drow@mvista.com>
17035
17036 * gdb.base/store.exp: Fix regular expressions.
17037
b39c905e
MK
170382002-12-28 Mark Kettenis <kettenis@gnu.org>
17039
17040 * configure.in: Rewrite.
17041 * configure: Regenerated.
17042
0a8551dd
DC
170432003-01-03 David Carlton <carlton@math.stanford.edu>
17044
17045 * gdb.base/psymtab.exp: New file.
17046 * gdb.base/psymtab1.c: Ditto.
17047 * gdb.base/psymtab2.c: Ditto.
17048
c60b7188
AF
170492002-12-23 Adam Fedor <fedor@gnu.org>
17050
17051 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
17052
ee73db83
DC
170532002-12-23 David Carlton <carlton@math.stanford.edu>
17054
17055 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
17056 and current_directory initialization.
17057
d6c1774e
JB
170582002-12-22 Jim Blandy <jimb@redhat.com>
17059
f0a847b8
JB
17060 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
17061 rather than as part of the output file name.
17062
d6c1774e
JB
17063 * gdb.base/attach.exp: There's no need to copy the test program to
17064 /tmp; that was only ever necessary on HP/UX, and this test is
17065 entirely disabled there anyway.
17066
f0708dbb
JB
170672002-12-21 Jim Blandy <jimb@redhat.com>
17068
4c2acfea
JB
17069 * gdb.c++/psmang.exp: Doc fix.
17070
f0708dbb
JB
17071 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
17072 test.
17073
9579e000
DC
170742002-12-20 David Carlton <carlton@math.stanford.edu>
17075
17076 * gdb.c++/annota2.exp: KFAIL annotate-quit.
17077
d1810171
MC
170782002-12-18 Michael Chastain <mec@shout.net>
17079
17080 * gdb.c++/annota2.exp: Add copyright year 2002.
17081
76565097
DC
170822002-12-17 David Carlton <carlton@math.stanford.edu>
17083
17084 * gdb.c++/try_catch.cc: Add marker comments.
17085 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
17086 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
17087 * gdb.c++/m-static.cc: Ditto.
17088 * gdb.c++/m-static1.cc: Ditto.
17089 * gdb.c++/try_catch.cc: Ditto.
17090
da81390b
JJ
170912002-12-16 Jeff Johnston <jjohnstn@redhat.com>
17092
17093 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
17094 to see whether we are using the new -environment-directory
17095 command which resets via -r or the old version of the command
17096 which may prompt the user. Part of fix for gdb/741.
17097
b304d130
AC
170982002-12-13 Andrew Cagney <ac131313@redhat.com>
17099
17100 * gdb.fortran/types.exp: Update obsolete comment.
17101 * gdb.fortran/exprs.exp: Ditto.
17102 * lib/gdb.exp: Delete obsolete code.
17103 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
17104 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
17105 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
17106 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
17107 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
17108 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
17109 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
17110 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
17111 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
17112 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
17113 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
17114 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
17115 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
17116 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
17117 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
17118 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
17119 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
17120 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
17121 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
17122 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
17123 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
17124 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
17125 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
17126 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
17127 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
17128 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
17129 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
17130 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
17131 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
17132 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
17133 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
17134 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
17135 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
17136 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
17137 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
17138 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
17139 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
17140
a23b6e6a
DC
171412002-12-11 David Carlton <carlton@math.stanford.edu>
17142
17143 * gdb.c++/m-data.exp: Add test for members that shadow global
17144 variables: see PR gdb/804.
17145 * gdb.c++/m-data.cc: Ditto.
17146
6604731b
DJ
171472002-12-10 Daniel Jacobowitz <drow@mvista.com>
17148
17149 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
17150
de46ecd7
DC
171512002-12-06 David Carlton <carlton@math.stanford.edu>
17152
17153 * gdb.base/store.c: Don't declare functions static.
17154
27e829d0
AC
171552002-12-04 Andrew Cagney <ac131313@redhat.com>
17156
17157 * gdb.base/store.exp, gdb.base/store.c: New files.
17158
92806416
DJ
171592002-12-03 Daniel Jacobowitz <drow@mvista.com>
17160
17161 * gdb.base/selftest.exp: Update for current gdb.
17162
3bcbaac5
DJ
171632002-12-03 Daniel Jacobowitz <drow@mvista.com>
17164
17165 * gdb.base/maint.exp: Only dump symbols from one source file
17166 or objfile.
17167
f4f00b1f
DJ
171682002-12-03 Daniel Jacobowitz <drow@mvista.com>
17169
17170 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
17171 function call.
17172
f1c8a949
JB
171732002-11-25 Jim Blandy <jimb@redhat.com>
17174
17175 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
17176 function appearing in error message.
17177
9e297a97
DJ
171782002-11-21 Daniel Jacobowitz <drow@mvista.com>
17179
17180 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
17181
1f312e79
JJ
171822002-11-08 Jeff Johnston <jjohnstn@redhat.com>
17183
d63a86f8
RM
17184 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
17185 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
17186 should be in mi console format. This is part of fix for PR gdb/604.
17187
83c31e7d
FN
171882002-09-18 Fernando Nasser <fnasser@redhat.com>
17189
17190 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
17191 which explicitly prints the zero offset as "+0".
17192
322b3f65
DJ
171932002-10-22 Daniel Jacobowitz <drow@mvista.com>
17194
17195 * gdb.threads/schedlock.c (args): Make unsigned.
17196
171972002-10-21 Daniel Jacobowitz <drow@mvista.com>
17198
17199 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
17200 numbers. Allow "foo2|selected stack frame".
17201 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
17202 * gdb.asm/asmsrc2.s: Likewise.
17203 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
17204 comments.
17205 * gdb.asm/mips.inc: New file.
17206
5e2fe5b8
AF
172072002-10-18 Adam Fedor <fedor@gnu.org>
17208
17209 * gdb.base/default.exp: Update expected output to include 'ObjC'.
17210 * gdb.base/help.exp: Likewise.
17211
abe1a5d0
KB
172122002-10-17 Kevin Buettner <kevinb@redhat.com>
17213
17214 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
17215 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
17216
10abb1d4
JB
172172002-10-02 Jim Blandy <jimb@redhat.com>
17218
17219 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
17220
1f609b42
AC
172212002-10-01 Andrew Cagney <ac131313@redhat.com>
17222
17223 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
17224 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
17225 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
17226 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
17227 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
17228 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
17229 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
17230
0aee02e4
AC
172312002-09-29 Andrew Cagney <ac131313@redhat.com>
17232
17233 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
17234 * mi0-disassemble.exp, mi0-eval.exp: Delete.
17235 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
17236 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
17237 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
17238 * mi0-var-block.exp, mi0-var-child.exp: Delete.
17239 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 17240
6fde09ad
KB
172412002-09-27 Kevin Buettner <kevinb@redhat.com>
17242
17243 * gdb.base/annota1.exp (info break): Make directory components of
17244 path optional since not all compilers emit this debug information.
17245
889bf7c5
PA
17246 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
17247 step ends up stepping out of the function instead of stopping on
17248 the epilogue.
6fde09ad 17249
9e8aab75
KS
172502002-09-26 Keith Seitz <keiths@redhat.com>
17251
17252 * lib/insight-support.exp (gdbtk_start): Figure out where
17253 the insight executable is based on where gdb is. Use this
17254 executable to start insight instead of gdb.
17255
e36180d7
AC
172562002-09-25 Andrew Cagney <cagney@redhat.com>
17257
17258 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
17259
9dd34b2b
AC
172602002-09-24 Andrew Cagney <ac131313@redhat.com>
17261
17262 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
17263 test_isolated_complaints.
17264 (test_empty_complaint): New function.
17265 (test_empty_complaints): New function. Check no output when no
17266 complaints.
d63a86f8 17267
dea97812
KB
172682002-09-19 Jim Blandy <jimb@redhat.com>
17269
a9c64011 17270 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 17271
54951bd7
AC
172722002-09-19 Andrew Cagney <ac131313@redhat.com>
17273
17274 * gdb.gdb/complaints.exp: New file.
17275
dec43320
AC
172762002-09-18 Andrew Cagney <ac131313@redhat.com>
17277
17278 * gdb.base/maint.exp: Check `help maint internal-warning'.
17279
e70d6e3f
DC
172802002-09-18 David Carlton <carlton@math.stanford.edu>
17281
17282 * gdb.c++/m-static.exp: Remove breakpoints depending on line
17283 numbers, and replace them by a single breakpoint after the
17284 constructors are all finished.
17285 Add test 4.
17286 * gdb.c++/m-static.cc: Add test 4.
17287 * gdb.c++/m-static.h: New file.
17288 * gdb.c++/m-static1.cc: New file.
17289
17290 * gdb.c++/printmethod.exp: New file.
17291 * gdb.c++/printmethod.cc: New file.
17292
17293 * gdb.c++/pr-574.exp: New file.
17294 * gdb.c++/pr-574.cc: New file.
17295
afb5c968
CV
172962002-09-18 Corinna Vinschen <vinschen@redhat.com>
17297
17298 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
17299 embedded targets which never actually exit.
17300
31e45dee
FN
173012002-09-18 Fernando Nasser <fnasser@redhat.com>
17302
17303 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
17304 "don't step after run" as unresolved or unsupported, instead of xfail.
17305
a283c5a1
CV
173062002-09-18 Corinna Vinschen <vinschen@redhat.com>
17307
17308 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
17309 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
17310 Add newline to expected string in "step out of main (status wrapper)"
17311 case.
17312
11350d2a
CV
173132002-09-18 Corinna Vinschen <vinschen@redhat.com>
17314
17315 * lib/gdb.exp (rerun_to_main): Allow restarting application.
17316 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
17317
0deec7d6
TT
173182002-09-17 Tom Tromey <tromey@redhat.com>
17319
17320 * gdb.base/printcmds.exp (test_print_string_constants): Expect
17321 \000, not \0, in double-quoted string.
17322
b2b4a1b5
CV
173232002-09-14 Corinna Vinschen <vinschen@redhat.com>
17324
c9d37158 17325 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
17326 string after running the commands execution on breakpoint tests.
17327
1c56143a
CV
173282002-09-13 Corinna Vinschen <vinschen@redhat.com>
17329
17330 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
17331
37f8da45
JB
173322002-09-12 Joel Brobecker <brobecker@gnat.com>
17333
17334 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
17335
08b468e0
KS
173362002-09-10 Keith Seitz <keiths@redhat.com>
17337
17338 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
17339 runto proc.
17340 (mi_run_to_main): Use mi_runto.
17341 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
17342
dc360f58
KS
173432002-09-10 Keith Seitz <keiths@redhat.com>
17344
17345 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
17346 regexp for stopping at main. Could have multiple event notifications.
17347 Don't assume that main was declared with no parameters.
17348 (mi_next): Use mi_step_to.
17349 (mi_step): Use mi_next_to.
17350
ce3abcfb
CV
173512002-09-09 Corinna Vinschen <vinschen@redhat.com>
17352
17353 * gdb.base/default.exp: Fix expected string in `info float' test.
17354
d1f5b980
BE
173552002-09-09 Ben Elliston <bje@redhat.com>
17356
17357 * config/mips.exp: Update comments.
17358 * config/mips-idt.exp: Likewise.
17359 * config/nind.exp: Likewise.
17360 * config/slite.exp: Likewise.
17361 * config/sparclet.exp: Likewise.
17362 * config/udi.exp: Likewise.
17363 * config/vx.exp: Likewise.
17364 * config/vxworks29k.exp: Likewise.
17365
2f71430b
JB
173662002-09-05 Jim Blandy <jimb@redhat.com>
17367
17368 * gdb.threads/killed.exp: Fix test failure message.
17369
7ddebc7e
KS
173702002-09-04 Keith Seitz <keiths@redhat.com>
17371
17372 * lib/mi-support.exp: Update copyright.
17373 (mi_gdb_test): Increase the priority of the expected pattern
17374 so that it matches gdb_test.
17375
0ae67eb3
KS
173762002-09-03 Keith Seitz <keiths@redhat.com>
17377
17378 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
17379 Use integer comparison instead of string comparison for testing
17380 whether binary was built.
17381
38fc42c8
JB
173822002-09-03 Jim Blandy <jimb@redhat.com>
17383
17384 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
17385
b6ff0e81
JB
173862002-08-29 Jim Blandy <jimb@redhat.com>
17387
17388 * gdb.threads/pthreads.exp: Move the portable thread compilation
17389 code into a function in lib/gdb.exp, and call that from here.
17390 * lib/gdb.exp (gdb_compile_pthreads): New function.
17391
07c98896
KS
173922002-08-29 Keith Seitz <keiths@redhat.com>
17393
17394 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
17395 expect_out so that callers can get at it.
17396
0312286c
DJ
173972002-08-23 Daniel Jacobowitz <drow@mvista.com>
17398
17399 * gdb.threads/print-threads.c: New file.
17400 * gdb.threads/print-threads.exp: New file.
17401 * gdb.threads/schedlock.c: New file.
17402 * gdb.threads/schedlock.exp: New file.
17403
dd039bc4
EZ
174042002-08-22 Elena Zannoni <ezannoni@redhat.com>
17405
a9c64011
AS
17406 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
17407 not altivec.c.
dd039bc4 17408
1f36144c
MK
174092002-08-17 Mark Kettenis <kettenis@gnu.org>
17410
17411 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
17412 targets. The problem should be fixed now.
17413
16057ec7 174142002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
17415
17416 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
17417 2002-07-24 change that removes final dots from error messages.
17418
3c1499ad
TT
174192002-08-13 Tom Tromey <tromey@redhat.com>
17420
17421 * gdb.base/readline.exp: New file.
17422
a20ce2c3
AC
174232002-08-01 Andrew Cagney <ac131313@redhat.com>
17424
17425 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
17426 supress message.
17427
db034ac5
AC
174282002-08-01 Andrew Cagney <cagney@redhat.com>
17429
17430 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
17431 CHILL_FOR_TARGET and CHILL_LIB.
17432 * configure.in (configdirs): Remove gdb.chill.
17433 * configure: Regenerate.
17434 * lib/gdb.exp: Obsolete references to chill.
17435 * gdb.fortran/types.exp: Ditto.
17436 * gdb.fortran/exprs.exp: Ditto.
17437
3e000b18
KB
174382002-07-30 Kevin Buettner <kevinb@redhat.com>
17439
17440 * gdb.base/shlib-call.exp (additional_flags): Conditionally
17441 set Irix-specific compile and link flags.
17442
28f4966b
KB
174432002-07-29 Kevin Buettner <kevinb@redhat.com>
17444
17445 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
17446 source files. The ``-o'' option doesn't work with the ``-E'' option
17447 when using the Irix compiler.
17448
46c0d5a6
DJ
174492002-07-19 Daniel Jacobowitz <drow@mvista.com>
17450
17451 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
17452 Improve support for reusing an exec file. Copy exec file
17453 to target, and run gdbserver on the target instead of on the host.
17454
eecf4bed
JB
174552002-07-18 Jim Blandy <jimb@redhat.com>
17456
0f815cdf
JB
17457 * gdb.base/ending-run.exp: Don't expect to see the program end in
17458 some orderly fashion when we're running on a real stand-alone
17459 board.
17460
eecf4bed
JB
17461 * gdb.base/interrupt.exp: Correct logic for skipping tests on
17462 targets that don't support interrupts.
17463
52d309e4
JB
174642002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
17465
17466 * gdb.base/attach.exp: Add patterns to match output from /proc-based
17467 systems.
17468 Move comments in expect statements to inside the actions, so that they
17469 don't get matched against.
17470
ff683d9e
MK
174712002-07-10 Mark Kettenis <kettenis@gnu.org>
17472
17473 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
17474 function when asleep" test.
17475
b5356753
AC
174762002-07-10 Andrew Cagney <ac131313@redhat.com>
17477
17478 * gdb.base/page.exp: Rewrite to handle problems with very long
17479 `info set' output. Update copyright.
17480
6aa4d13a
AC
174812002-06-26 Andrew Cagney <ac131313@redhat.com>
17482
17483 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
17484 gdb.threads-hp.
17485 * gdb.hp/configure: Regenerate.
17486 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
17487 * gdb.hp/gdb.threads-hp/configure: Delete file.
17488 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
17489
8cf8c2b8
AC
174902002-06-22 Andrew Cagney <ac131313@redhat.com>
17491
17492 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
17493 setlocale, bindtextdomain and textdomain.
17494
6827a8f8
JB
174952002-06-11 Jim Blandy <jimb@redhat.com>
17496
919d772c
JB
17497 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
17498 preprocessor macro information is present.
17499
6827a8f8
JB
17500 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
17501 tests.
17502
c15b0d21
MS
175032002-06-06 Michael Snyder <msnyder@redhat.com>
17504
c5984d70
MS
17505 * gdb.base/overlays.exp: Record addresses of overlay
17506 functions in TCL variables rather than in GDB variables,
17507 to avoid having GDB convert them to pointers (with loss
17508 of information).
17509
d63a86f8 17510 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 17511 default linker script changes.
c15b0d21
MS
17512 * gdb.base/long_long.exp: Add check for sizeof (long double).
17513
be26fe0d
ML
175142002-06-06 Michal Ludvig <mludvig@suse.cz>
17515
17516 * gdb.asm/asm-source.exp: Add x86-64 target.
17517 * gdb.asm/x86_64.inc: New.
d63a86f8 17518
258093ca 175192002-05-30 Michael Chastain <mec@shout.net>
258093ca 17520
4b3153f1 17521 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
17522 * gdb.c++/m-static.cc: New file.
17523 * gdb.c++/m-static.exp: New file.
17524
241264c6
MS
175252002-05-28 Michael Snyder <msnyder@redhat.com>
17526
17527 * gdb.base/call-ar-st.exp: Allow for reduced floating point
17528 precision.
17529
9bba8c8f 175302002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 17531
4b3153f1 17532 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
17533 * gdb.c++/m-data.cc: New file.
17534 * gdb.c++/m-data.exp: New file.
17535
175362002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 17537
4b3153f1 17538 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 17539 * gdb.c++/try_catch.cc: New file.
d63a86f8 17540 * gdb.c++/try_catch.exp: New file.
9bba8c8f 17541
def1b996
MC
175422002-05-27 Michael Chastain <mec@shout.net>
17543
17544 * gdb.c++/local.exp: Accept more nested types in output.
17545
522ba268
MC
175462002-05-26 Michael Chastain <mec@shout.net>
17547
17548 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
17549
277254ba
MS
175502002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
17551
17552 * lib/gdb.exp (gdb_wrapper_init): Just because
17553 gdb_wrapper_file exists, this does not mean that the file
17554 should not be rebuilt. That is what gdb_wrapper_initialized
17555 is for.
17556 (default_gdb_init): Reset gdb_wrapper_initialized.
17557
b61a8733
MS
175582002-05-23 Michael Snyder <msnyder@redhat.com>
17559
d63a86f8 17560 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
17561 the precision of the floating point test results.
17562 * gdb.base/call-rt-st.exp: Ditto.
17563
b61a8733
MS
17564 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
17565 * gdb.base/call-rt-st.exp: Ditto.
17566
56f6e910
MC
175672002-05-19 Michael Chastain <mec@shout.net>
17568
17569 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
17570
ad0b0016
EZ
175712002-05-19 Elena Zannoni <ezannoni@redhat.com>
17572
a9c64011
AS
17573 * configure.in (configdirs): Add gdb.arch.
17574 * configure: Regenerate.
ad0b0016 17575
f617d2b6
JB
175762002-05-17 Jim Blandy <jimb@redhat.com>
17577
17578 * gdb.base/completion.exp: Recognize the more detailed error
17579 messages produced by the macro expander's lexical analyzer.
17580
eac2a696
EZ
175812002-05-14 Elena Zannoni <ezannoni@redhat.com>
17582
a9c64011
AS
17583 * gdb.arch/altivec-abi.c: New file.
17584 * gdb.arch/altivec-abi.exp: New file.
17585 * gdb.arch/altivec-regs.c: New file.
17586 * gdb.arch/altivec-regs.exp: New file.
eac2a696 17587
2fdde8f8
DJ
175882002-05-14 Daniel Jacobowitz <drow@mvista.com>
17589
17590 * gdb.base/maint.exp (maint print type): Update for new type
17591 structure.
d63a86f8 17592
e31f1a7c
EZ
175932002-05-14 Elena Zannoni <ezannoni@redhat.com>
17594
17595 * gdb.arch: New directory.
17596 * gdb.arch/configure.in: New file.
17597 * gdb.arch/configure: New file.
17598 * gdb.arch/Makefile.in: New file.
17599
db589741
CV
176002002-05-13 Corinna Vinschen <vinschen@redhat.com>
17601
17602 * gdb.asm/asm-source.exp: Add v850 as supported target.
17603 * gdb.asm/v850.inc: New file.
17604
8ce2a7dc
DJ
176052002-05-13 Daniel Jacobowitz <drow@mvista.com>
17606
17607 * gdb.c++/annota2.exp (annotate-quit): Add comment.
17608
df763c7f
DJ
176092002-05-12 Daniel Jacobowitz <drow@mvista.com>
17610
17611 * gdb.base/break.exp: Check 'break "marker2"'.
17612
377daeed
MS
176132002-05-10 Michael Snyder <msnyder@redhat.com>
17614
17615 * gdb.base/long_long.exp: Fix typo.
17616
c4b7bc2b
JB
176172002-05-10 Jim Blandy <jimb@redhat.com>
17618
ecac9a4e
JB
17619 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
17620 a bug.
17621
c4b7bc2b
JB
17622 * gdb.base/printcmds.exp (test_integer_literals_rejected):
17623 Recognize more detailed error message produced by the macro
17624 expander's lexical analyzer.
17625 * lib/gdb.exp (test_print_reject): Same.
17626
e71019a1
MK
176272002-05-09 Mark Kettenis <kettenis@gnu.org>
17628
17629 * gdb.c++/method.exp: Fix typo.
17630
fedfc8e6
MS
176312002-05-08 Michael Snyder <msnyder@redhat.com>
17632
166a1957
MS
17633 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
17634 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 17635 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
17636 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
17637 Add iftarget clause for strongarm.
d63a86f8 17638
f1c47eb2
MS
176392002-05-06 Michael Snyder <msnyder@redhat.com>
17640
cb9a9d3e
MS
17641 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
17642 (gdb_continue_to_end): Accept output from status wrapper.
17643 * gdb.base/ending-run.exp: Add case for output from status wrapper.
17644 Clean up fail messages to match pass messages.
17645
f1c47eb2
MS
17646 Enable the "needs_status_wrapper" testsuite feature.
17647 * lib/gdb.exp (gdb_wrapper_init): New procedure.
17648 (gdb_compile): Conditionally call gdb_wrapper_init.
17649 * gdb.base/a2-run.exp: Recognize output from status wrapper.
17650 * gdb.c++/method.exp: Recognize output from status wrapper.
17651
6079c749
BE
176522002-05-06 Ben Elliston <bje@redhat.com>
17653From Graydon Hoare <graydon@redhat.com>
17654
17655 * config/sid.exp: Include support for "rawsid" protocol.
17656
188baff3
JB
176572002-05-03 Jim Blandy <jimb@redhat.com>
17658
17659 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
17660 * gdb.c++/hang3.C: New file.
17661
b9c07f0f
AC
176622002-05-04 Andrew Cagney <ac131313@redhat.com>
17663
17664 * gdb.base/default.exp: Remove obsolete code.
17665 * gdb.c++/misc.exp: Ditto. Update copyright.
17666 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
17667 * gdb.base/whatis.exp: Ditto. Update copyright.
17668 * gdb.base/scope.exp: Ditto. Update copyright.
17669 * gdb.base/ptype.exp: Ditto. Update copyright.
17670 * gdb.base/printcmds.exp: Ditto. Update copyright.
17671 * gdb.base/opaque.exp: Ditto. Update copyright.
17672 * gdb.base/list.exp: Ditto.
17673 * gdb.base/funcargs.exp: Ditto. Update copyright.
17674 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
17675 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
17676 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
17677 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
17678 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
17679 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
17680
5c7a0397
MS
176812002-05-02 Michael Snyder <msnyder@redhat.com>
17682
d6dcc264 17683 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
17684 * gdb.base/long_long.exp: Add xscale target.
17685 * gdb.base/default.exp: Add xscale target.
17686
eb7f1c48
JB
176872002-05-01 Jim Blandy <jimb@redhat.com>
17688
17689 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
17690 gdb.c++/hang.exp: New test.
17691
a6befae8
FF
176922002-05-01 Fred Fish <fnf@redhat.com>
17693
17694 * gdb.base/completion.exp: Handle completions of "./Make" for
17695 more than one completion possibility, as is the case when we
17696 build and test in the source tree.
17697
0a310277
AG
176982002-04-29 Anthony Green <green@redhat.com>
17699
17700 * gdb.java/jmisc1.exp: New file.
17701 * gdb.java/jmisc2.exp: New file.
17702
6ff9af88
DJ
177032002-04-24 Daniel Jacobowitz <drow@mvista.com>
17704
17705 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
17706
96b3d632
EZ
177072002-04-23 Elena Zannoni <ezannoni@redhat.com>
17708
17709 * gdb.base/help.exp: Change 'help status' to allow for target
17710 dependent output differences.
17711
5019bb54
MC
177122002-04-22 Michael Chastain <mec@shout.net>
17713
17714 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
17715
a805a116
MC
177162002-04-22 Michael Chastain <mec@shout.net>
17717
17718 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
17719
a1706bfd
DM
177202002-04-17 David S. Miller <davem@redhat.com>
17721
17722 * gdb.asm/sparc64.inc: New file.
17723 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
17724
a73a20a2
EZ
177252002-04-19 Elena Zannoni <ezannoni@redhat.com>
17726
17727 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
17728 instruction file directly into the build tree. Clean up at end of
17729 test.
17730
ba678339
DM
177312002-04-18 David S. Miller <davem@redhat.com>
17732
17733 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
17734 handle 64-bit platforms correctly.
17735 * gdb.base/maint.exp: Likewise.
17736
b03399da
KB
177372002-04-18 Kevin Buettner <kevinb@redhat.com>
17738
17739 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
17740 ``-fpic'' when compiling files comprising a shared library, but
17741 it does need additional linker flags in order to find shared
17742 libraries at run time.
17743
e2004992
KB
177442002-04-18 Kevin Buettner <kevinb@redhat.com>
17745
17746 * gdb.base/cvexpr.c (use): New function.
17747 (main): Invoke use() on all global variables to prevent
17748 some linkers from deleting these otherwise unused symbols.
17749
d8937120
MC
177502002-04-17 Michael Chastain <mec@shout.net>
17751From David S. Miller <davem@redhat.com>
17752
17753 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
17754 handle 64-bit platforms correctly.
17755
ffd61a58
MS
177562002-04-12 Michael Snyder <msnyder@redhat.com>
17757From Jim Blandy <jimb@redhat.com>
a9c64011 17758 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
17759 script can handle this instead.
17760 * gdb.base/bar.c (barx): Same.
17761 * gdb.base/baz.c (bazx): Same.
17762 * gdb.base/grbx.c (grbxx): Same.
17763
17764 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
17765 manager doesn't automatically unmap overlays unnecessarily.
17766
6b8426a6
MH
177672002-04-10 Martin M. Hunt <hunt@redhat.com>
17768
17769 * gdb.base/ending-run.exp: Fix pattern for Mips targets
17770 stepping out of main.
17771
34af4875
MC
177722002-04-09 Michael Chastain <mec@shout.net>
17773
17774 * gdb.c++/local.cc (main): Move call to marker1() inside nested
17775 scope so that the nested scope tests will make sense.
17776 * gdb.c++/local.exp: Write patterns that actually work with gcc
17777 (the HP patterns "were never known to work with gcc").
17778 Keep the old aCC patterns too.
17779
2d1676a0
DJ
177802002-04-09 Daniel Jacobowitz <drow@mvista.com>
17781
17782 * gdb.base/attach.exp: Correct target board test.
17783
3a63e3f9
MC
177842002-04-08 Michael Chastain <mec@shout.net>
17785
17786 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
17787 in a const method. Add some xfail and fail cases for configurations
17788 that do not emit the "const ...".
17789
f18dabd2
MC
177902002-04-07 Michael Chastain <mec@shout.net>
17791
17792 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
17793 Accept "A * const" and "const A * const" as type of "this".
17794 Fix spelling of getFunky throughout. Make messages uniform.
17795
0fcddd82
EZ
177962002-04-07 Elena Zannoni <ezannoni@redhat.com>
17797
a9c64011 17798 Work around for PR gdb/285:
0fcddd82
EZ
17799 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
17800
16a8534a
EZ
178012002-04-07 Elena Zannoni <ezannoni@redhat.com>
17802
17803 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
17804 instructions file at run time instead of configure time.
17805 Sometimes we run the test in a directory that is not the one we
17806 configured in.
17807 * gdb.asm/configure.in: Delete creation of symlink.
17808 * gdb.asm/configure: Regenerate.
17809
24181d81
JB
178102002-04-05 J. Brobecker <brobecker@gnat.com>
17811
17812 * gdb.gdb/xfullpath.exp: New test, to exercise the new
17813 xfullpath () function.
17814
7cdb7107
DJ
178152002-04-04 Daniel Jacobowitz <drow@mvista.com>
17816
17817 * gdb.asm/Makefile.in: Correct dependencies.
17818
17819 * gdb.asm/powerpc.inc: New file.
17820 * gdb.asm/asm-source.exp: Add PowerPC.
17821 * gdb.asm/configure.in: Likewise.
17822 * gdb.asm/configure: Regenerated.
17823
a7d17088
DJ
178242002-04-04 Daniel Jacobowitz <drow@mvista.com>
17825
17826 * gdb.base/relocate.exp: New file.
17827 * gdb.base/relocate.c: New file.
17828
cd721503
FF
178292002-04-04 Fred Fish <fnf@redhat.com>
17830
17831 * gdb.base/step-test.exp: Update comment regarding stopping in
17832 memcpy/bcopy calls inserted as part of the compiler runtime.
17833
b22ad7a7
MS
178342002-04-04 Michael Snyder <msnyder@redhat.com>
17835
17836 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
17837
5f279fa6
DJ
178382002-04-03 Daniel Jacobowitz <drow@mvista.com>
17839
17840 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
17841 (gdb_expect): Remove $notransfer hack.
17842
dd0fd3ce
DJ
178432002-04-02 Daniel Jacobowitz <drow@mvista.com>
17844
17845 * gdb.c++/classes.exp ("calling method for small class"): Match
17846 updated register output.
17847
1e50cda1
DJ
178482002-03-30 Daniel Jacobowitz <drow@mvista.com>
17849
17850 Fix PR gdb/452
17851 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
17852 when finished. Make gdb_file_cmd send "exec-file" when
17853 appropriate.
17854
24015922
DJ
178552002-03-30 Daniel Jacobowitz <drow@mvista.com>
17856
17857 * gdb.base/attach.exp: Remove extra setup_xfail.
17858
dd7dfd64
MS
178592002-03-26 Michael Snyder <msnyder@redhat.com>
17860
17861 * gdb.base/default.exp: Add tests for dump, append, and restore.
17862 * gdb.base/help.exp: Add tests for dump, append, and restore.
17863 * gdb.base/dump.exp: New file, test dump, append and restore.
17864 * gdb.base/dump.c: New file.
17865
48b2f8d7
MS
178662002-03-27 Michael Snyder <msnyder@redhat.com>
17867
d63a86f8 17868 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
17869 clean-ups in help messages.
17870
05b4d525
FF
178712002-03-26 Fred Fish <fnf@redhat.com>
17872
17873 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
17874 have debugging info for those functions and the compiler uses them
17875 internally to copy structs around.
17876
d7679631
FF
178772002-03-26 Fred Fish <fnf@redhat.com>
17878
17879 * gdb.base/list.exp: Revert the change made yesterday and add note
17880 about why we don't list the default lines for remote targets.
17881
523ac3f9
MS
178822002-03-25 Michael Snyder <msnyder@redhat.com>
17883
17884 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
17885
754b2b8d
FF
178862002-03-25 Fred Fish <fnf@redhat.com>
17887
17888 * gdb.base/list.exp: This test works on remote targets so remove
17889 the short circuit for remote targets. Update copyright.
17890
33c3e192
FF
178912002-03-25 Fred Fish <fnf@redhat.com>
17892
17893 * gdb.base/attach.exp: Fix logic error that was suppressing this
17894 test for all non hppa*-*-hpux* targets, instead of the hp target.
17895 Move comments closer to the suppression point. Also now need to
17896 check that we are running natively.
17897
d43e73ee
MS
178982002-03-22 Michael Snyder <msnyder@redhat.com>
17899
882c8f02
MS
17900 * gdb.base/default.exp: Add test for gcore. Update copyright.
17901 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 17902
04c12f60
FF
179032002-03-06 Fred Fish <fnf@redhat.com>
17904
17905 * gdb.base/funcargs.c: Remove extraneous ';' character.
17906 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
17907
b43df995
MC
179082002-03-04 Michael Chastain <mec@shout.net>
17909
17910 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
17911 accommodate gcc v3 function signature.
17912 * gdb.mi/mi0-var-cmd-exp: Ditto.
17913
92362027
AC
179142002-02-24 Andrew Cagney <ac131313@redhat.com>
17915
17916 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
17917 ``GNU/Linux'' or ``Linux kernel''
17918 * testsuite/gdb.threads/pthreads.c: Ditto.
17919
258ad32d
MC
179202002-02-24 Michael Chastain <mec@shout.net>
17921
17922 * gdb.threads/pthreads.c (thread1): Add a return statement.
17923 (thread2): Likewise.
17924 (foo): Likewise.
17925
04c3b3d4
MC
179262002-02-23 Michael Chastain <mec@shout.net>
17927
17928 * gdb.threads/linux-dp.c (philosopher): Add a return statement
17929 to placate gcc.
17930
5a2a0a20
MC
179312002-02-23 Michael Chastain <mec@shout.net>
17932
17933 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
17934 test "ptype bint". The test passes on all my stabs configurations.
17935
a640f7fc
JB
179362002-02-21 Jim Blandy <jimb@redhat.com>
17937
27924826
JB
17938 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
17939 filename at a time, and watch for the ones we want to see.
17940
a640f7fc
JB
17941 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
17942 types of pointers to prototyped functions.
17943
edcc8c75
AC
179442002-02-20 Andrew Cagney <ac131313@redhat.com>
17945
17946 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
17947 signed, unsigned and straight char.
17948 (padding_char, padding_short, padding_int, padding_long,
17949 padding_long_long, padding_float, padding_double,
17950 padding_long_double): New global variables.
17951 (fill, fill_structs): New functions.
17952
17953 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
17954 for correctly sized writes. Update copyright.
17955 (get_valueof): New procedure.
17956 (get_sizeof): Call get_valueof.
17957 (check_valueof): New procedure.
17958 (check_padding): New procedure.
17959
ac57ea44
MC
179602002-02-20 Michael Chastain <mec@shout.net>
17961
17962 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
17963 to setup_xfail. Document some of the remaining calls.
17964
7a10c941
MC
179652002-02-18 Michael Chastain <mec@shout.net>
17966
17967 * gdb.c++/userdef.exp: Update copyright year.
17968
fb8acdcc
DJ
179692002-02-18 Daniel Jacobowitz <drow@mvista.com>
17970
17971 * gdb.c++/userdef.exp: Test overloaded operators properly.
17972 Remove xfails.
17973
fda6ae12
MS
179742002-02-14 Michael Snyder <msnyder@redhat.com>
17975
17976 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
17977
676a0442
DJ
179782002-02-14 Daniel Jacobowitz <drow@mvista.com>
17979
17980 * gdb.base/a2-run.exp: Check for a remote target properly.
17981 * gdb.base/annota1.exp: Likewise.
17982 * gdb.base/list.exp: Likewise.
17983 * gdb.base/reread.exp: Likewise.
17984 * gdb.base/scope.exp: Likewise.
17985 * gdb.base/shlib-call.exp: Likewise.
17986 * gdb.base/term.exp: Likewise.
17987 * gdb.c++/annota2.exp: Likewise.
17988
78b4f468
RE
179892002-02-13 Richard Earnshaw <rearnsha@arm.com>
17990
17991 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
17992
9a81ba51
MC
179932002-02-10 Michael Chastain <mec@shout.net>
17994
17995 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
17996 (call_after_alloca): Ditto.
17997
004af6c7
DJ
179982002-02-10 Daniel Jacobowitz <drow@mvista.com>
17999
18000 * gdb.base/ending-run.exp: Guard "cont" test with
18001 gdb_skip_stdio_test.
18002
37225f62
JB
180032002-02-06 Jim Blandy <jimb@redhat.com>
18004
18005 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
18006 from here...
18007 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
18008 To here. Disable this test on non-HP platforms. Add big comment.
18009
fe6fdd96
MS
180102002-02-04 Michael Snyder <msnyder@redhat.com>
18011
18012 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
18013 other than d10v and m32r.
18014
036fad3f
RE
180152002-02-02 Richard Earnshaw <rearnsha@arm.com>
18016
18017 * gdb.base/default.exp: Rewrite test patterns to reduce time
18018 taken to match them.
18019
7148ab62
DJ
180202002-01-30 Daniel Jacobowitz <drow@mvista.com>
18021
18022 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
18023 Allow a start function above main.
18024 * gdb.threads/linux-dp.exp: Fix copyright date.
18025
396cc255
DJ
180262002-01-30 Daniel Jacobowitz <drow@mvista.com>
18027
a9c64011
AS
18028 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
18029 (check_philosopher_stack): Check for manager thread before checking
18030 for a just-starting thread.
396cc255 18031
f038d31b
DJ
180322002-01-30 Daniel Jacobowitz <drow@mvista.com>
18033
18034 From Neil Booth <neil@daikokuya.demon.co.uk>:
18035 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
18036 warnings.
18037
b3ff9d9a
FF
180382002-01-21 Fred Fish <fnf@redhat.com>
18039
18040 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
18041 not caller.
18042
39ad761d
JB
180432002-01-21 Jim Blandy <jimb@redhat.com>
18044
18045 * gdb.base/reread.exp: Check that GDB properly re-reads the
18046 executable file when it changes while no inferior is running.
18047
aaf320fa
FF
180482002-01-21 Fred Fish <fnf@redhat.com>
18049
a9c64011
AS
18050 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
18051 optionally accept the "shlib events" variation.
aaf320fa 18052
808a31f5
JB
180532002-01-21 Jim Blandy <jimb@redhat.com>
18054
18055 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
18056 call `fflush' after every `printf', so that the output is produced
18057 at predictable points, regardless of whatever buffering does (or
18058 doesn't) take place.
18059 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
18060 at different points.
18061
4420d5e2
DJ
180622002-01-20 Daniel Jacobowitz <drow@mvista.com>
18063
18064 * gdb.c++/inherit.exp: Update copyright years.
18065 * gdb.c++/method.exp: Likewise.
18066
3e36a0f4
DJ
180672002-01-20 Daniel Jacobowitz <drow@mvista.com>
18068
18069 * gdb.c++/classes.exp: Update for improved v3 support and skipping
18070 artificial methods/arguments.
18071 * gdb.c++/derivation.exp: Likewise.
18072 * gdb.c++/inherit.exp: Likewise.
18073 * gdb.c++/method.exp: Likewise.
18074 * gdb.c++/virtfunc.exp: Likewise.
18075
b4ceaee6
AC
180762002-01-18 Andrew Cagney <ac131313@redhat.com>
18077
18078 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
18079 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
18080 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
18081 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
18082 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
18083 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
18084
ecace851
JB
180852002-01-17 Jim Blandy <jimb@redhat.com>
18086
18087 * gdb.asm/asm-source.exp (info symbol): Take another shot at
18088 anchoring the pattern matching the entry point symbol's name.
18089
375fc983
AC
180902002-01-17 Andrew Cagney <ac131313@redhat.com>
18091
18092 * gdb.base/maint.exp: Update ``maint internal-error'' to match
18093 continue/quit query. Update copyright.
18094
fe6fdd96
MS
180952002-01-14 Michael Snyder <msnyder@redhat.com>
18096
18097 * gdb.base/gcore.exp: Remove extra debugging output.
18098
e017c81f
DJ
180992002-01-13 Daniel Jacobowitz <drow@mvista.com>
18100
18101 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
18102 for slightly dubious v2 mangled string.
18103
37ab3bf8
DJ
181042002-01-13 Daniel Jacobowitz <drow@mvista.com>
18105
18106 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
18107
1bc05c3a 181082002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 18109
1bc05c3a 18110 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 18111
1bc05c3a
JM
18112 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
18113 constructors.
18114 * gdb.c++/derivation.exp: Likewise.
18115 * gdb.c++/templates.exp: Likewise.
18116 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 18117
1bc05c3a
JM
181182002-01-10 Michael Snyder <msnyder@redhat.com>
18119
18120 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 18121
a911c360
MS
181222002-01-08 Michael Snyder <msnyder@redhat.com>
18123
18124 * gdb.base/gcore.exp: New test for generate-core-file command.
18125 * gdb.base/gcore.c: Testcase for above.
18126 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
18127
ea2119ec
JM
181282002-01-08 Jason Merrill <jason@redhat.com>
18129
18130 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
18131
68203136
FF
181322002-01-07 Fred Fish <fnf@redhat.com>
18133
18134 * gdb.c++/overload.exp: Remove unconditional xfails for:
18135 print foo_instance1.overloadargs(1)
18136 print foo_instance1.overloadargs(1, 2)
18137 print foo_instance1.overloadargs(1, 2, 3)
18138 print foo_instance1.overloadargs(1, 2, 3, 4)
18139 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
18140 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
18141 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
18142 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
18143 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
18144 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
18145 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
18146 print foo_instance1.overload1arg()
18147 print foo_instance1.overload1arg((char)arg2)
18148 print foo_instance1.overload1arg((signed char)arg3)
18149 print foo_instance1.overload1arg((unsigned char)arg4)
18150 print foo_instance1.overload1arg((int)arg7)
18151 print foo_instance1.overload1arg((unsigned int)arg8)
18152 print foo_instance1.overload1arg((float)arg11)
18153 print foo_instance1.overload1arg((double)arg12)
d63a86f8 18154
21b9b5b1
MS
181552002-01-07 Michael Snyder <msnyder@redhat.com>
18156
18157 * gdb.base/huge.exp: New test. Print a very large target data object.
18158 (skip_huge_test): New test variable. Define if you want to skip this
18159 test. The test reads an 8 megabyte data object from the target, so it
18160 might be very time consuming on remote targets with a slow connection.
18161 * gdb.base/huge.c: New file. Test case for above.
18162
725f922e
FF
181632002-01-07 Fred Fish <fnf@redhat.com>
18164
18165 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
18166 g_instance.bfoo, and g_instance.cfoo.
18167
889bf7c5 181682002-01-07 Jeffrey A Law <law@redhat.com>
634d57ec 18169
889bf7c5
PA
18170 * gdb.base/break.c (multi_line_if_conditional): New function.
18171 (multi_ilne_while_conditional): Likewise.
18172 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
18173 IF or WHILE condition puts the breakpoint at the start of
18174 the condition.
f286b2c3 18175
634d57ec
JL
18176 * gdb.base/selftest.exp (backtrace through signal handler): Remove
18177 hppa*-*-hpux* expected failure.
18178 * gdb.base/structs.exp (do_function_calls): Similarly.
18179
18180 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
18181 watchpoints.
18182
9fbfe2dc
AC
181832002-01-06 Andrew Cagney <ac131313@redhat.com>
18184
18185 Fix PR gdb/66.
18186 * gdb.base/structs.exp: Replace skip for a29k with skip for
18187 gdb,cannot_call_functions.
18188 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
18189 * gdb.base/callfuncs.exp: Ditto.
18190 * gdb.base/call-rt-st.exp: Ditto.
18191 * gdb.base/call-strs.exp: Ditto.
18192 * gdb.base/callfwmall.exp: Ditto.
18193 * gdb.base/scope.exp: Obsolete xfail a29k.
18194 * gdb.c++/misc.exp: Ditto.
18195 * gdb.c++/cplusfuncs.exp: Ditto.
18196 * gdb.base/ptype.exp: Ditto.
18197 * gdb.base/printcmds.exp: Ditto.
18198 * gdb.base/opaque.exp: Ditto.
18199 * gdb.base/list.exp: Ditto.
18200 * gdb.base/funcargs.exp: Ditto.
18201 * gdb.base/default.exp: Ditto.
18202
8ddad156
MS
182032002-01-04 Michael Snyder <msnyder@redhat.com>
18204
ca4976a6 18205 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
18206 * gdb.base/maint.exp: Add tests for maint info sections options.
18207
1b074332
JL
18208Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
18209
18210 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
18211
7d159115
CV
182122001-12-20 Corinna Vinschen <vinschen@redhat.com>
18213
18214 * gdb.asm/arm.inc: New file.
18215 * gdb.asm/asm-source.exp: Add arm targets.
18216 * gdb.asm/configure.in: Ditto.
18217 * gdb.asm/configure: Recreated from configure.in.
18218
8fb87725
JL
18219Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
18220
afabe08c
JL
18221 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
18222 with HP's compiler.
18223 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
18224 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
18225 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
18226 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
18227
18228 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
18229 either HP's compilers or GCC.
18230
db521deb
JL
18231 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
18232 a SIGBUS or SIGSEGV.
18233
18234 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
18235
18236 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
18237 can be compiled with either HP's compiler or GCC.
18238
cfa88ab7
JL
18239 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
18240 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
18241 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
18242
ca344dff
JL
18243 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
18244 to match current gdb output. Update due to using auto-solib-limit
18245 for limiting instead of overloading auto-solib-add.
18246 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
18247 test program.
18248
3f3c6e55 18249 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
18250 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
18251 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
18252 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
18253 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
18254 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
18255 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
18256 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
18257 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
18258 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
18259 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
18260 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
18261 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 18262
8fb87725
JL
18263 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
18264 a SIGTRAP to the inferior.
18265
cf599fa7
CV
182662001-12-19 Corinna Vinschen <vinschen@redhat.com>
18267
18268 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
18269 Substitute call to target_link by call to gdb_compile.
18270
2cd045cd
JL
18271Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
18272
a9c64011
AS
18273 * gdb.base/break.exp: Fix HP specific search string when testing
18274 backtracing in a called function.
2cd045cd 18275
a9c64011
AS
18276 * gdb.base/constvars.exp: Only set lang to C++ if we're
18277 compiling the test with HP's compilers.
18278 * gdb.base/volatile.exp: Similarly.
2cd045cd 18279
99ebe9ac
JB
182802001-12-19 Jim Blandy <jimb@redhat.com>
18281
18282 * gdb.base/printcmds.exp: Expect the null character to be printed
18283 as '\0', and the '\013' to be printed as '\v'.
18284 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
18285 * gdb.base/setvar.exp: Same.
18286
b9891b29
JB
182872001-12-17 Jim Blandy <jimb@redhat.com>
18288
0eba65ab
JB
18289 * gdb.base/completion.exp: Rather than completing very long
18290 filenames, which can make the readline library produce output we
18291 don't recognize, cd to the directory first, and then complete
18292 using nice, short relative paths.
18293
6970b5b1
JB
18294 * gdb.base/completion.exp: On some systems, there is, in fact, a
18295 variable named `b' in scope, since GDB treats all static
a9c64011
AS
18296 variables as being in scope. So use `no_var_named_this'
18297 instead of `b'.
6970b5b1 18298
b9891b29 18299 * gdb.base/corefile.exp: Recognize the message saying that GDB
889bf7c5 18300 can't find the core file's registers as a failure.
b9891b29 18301
e6ccd35f
JSC
183022001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
18303
a9c64011
AS
18304 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
18305 test expect string more specific.
e6ccd35f 18306
105ba819
CV
183072001-12-13 Corinna Vinschen <vinschen@redhat.com>
18308
18309 * gdb.asm/asm-source.exp: Add support for xstormy16.
18310 * gdb.asm/configure.in: Ditto.
18311 * gdb.asm/configure: Rebuild.
18312 * gdb.asm/xstormy16.inc: New file.
18313
e9e79dd9
FF
183142001-12-10 Fred Fish <fnf@redhat.com>
18315
18316 * gdb.base/maint.exp: Update to match changes in type dumping code.
18317
347dc97d
JB
183182001-12-10 Jim Blandy <jimb@redhat.com>
18319
18320 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
889bf7c5
PA
18321 matching the entry point symbol's name at the beginning of the
18322 line.
347dc97d 18323
5178b9d6
DJ
183242001-12-07 Daniel Jacobowitz <drow@mvista.com>
18325
18326 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
18327 gdb.c++/inherit.exp, gdb.c++/method.exp,
18328 gdb.c++/namespace.exp, gdb.c++/templates.exp,
18329 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
18330 and class layout support.
18331
af890c52
DJ
183322001-12-07 Daniel Jacobowitz <drow@mvista.com>
18333
18334 * gdb.c++/classes.exp: Add test for static member function.
18335 * gdb.c++/misc.cc: Add class with static member function.
18336
7a345fb3
JB
183372001-12-07 Jim Blandy <jimb@redhat.com>
18338
f2e54a80 18339 If GDB says it can't find the struct the function returned, report
8032bf31
JB
18340 those tests as `unsupported'.
18341 * gdb.base/call-rt-st.exp (print_struct_call): New function.
18342 Rewrite subsequent tests to use it.
18343
18344 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
18345 those tests as `unsupported'.
18346 * gdb.base/structs.exp (call_struct_func): New function.
18347 (do_function_calls): Use call_struct_func to call the functions
18348 returning structs.
18349
0bc69509
JB
18350 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
18351 whether functions are prototyped or not, so we can't possibly pass
18352 arguments to t_float_values2 properly.
18353
7a345fb3
JB
18354 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
18355 value of `timeout' for targets other than the mips*tx39-*.
18356
edb6ede1
MS
183572001-12-06 Michael Snyder <msnyder@redhat.com>
18358
d63a86f8 18359 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
18360 and detect whether the start symbol has a leading underscore.
18361
2d842f13
JB
183622001-12-04 Jim Blandy <jimb@redhat.com>
18363
18364 * gdb.base/completion.exp: Clarify indentation.
18365
68550daf
JB
183662001-12-03 Jim Blandy <jimb@redhat.com>
18367
18368 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
18369 variables on the S/390, not `.word'.
18370
cd5195a8
JB
183712001-11-30 Jim Blandy <jimb@redhat.com>
18372
18373 Add assembly-source tests for s390-ibm-linux.
18374 * gdb.asm/s390.inc: New file.
18375 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
18376 the S/390 architecture.
a9c64011 18377 * gdb.asm/configure: Regenerated.
cd5195a8 18378
ca9efc90
MS
183792001-11-30 Michael Snyder <msnyder@redhat.com>
18380
18381 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
18382 next, info source, info sources, info line, global and static
18383 variables, and static functions.
18384 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
18385 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
18386 * gdb.asm/asmsrc1.s: Add a static function and some variables.
18387 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
18388 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
18389 (gdbasm_leave): Restore frame pointer.
18390 (gdbasm_startup): Copy stack set-up from crt0.S.
18391
d0e66976
FN
183922001-11-26 Fernando Nasser <fnasser@redhat.com>
18393
18394 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
18395 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
18396 to a local (non-static) variable. Copy tstruct.a to a static buffer
18397 and return a pointer to that buffer.
18398 * gdb.base/callfwmall.c (t_structs_a): Ditto.
18399
e2334072
MK
184002001-11-24 Mark Kettenis <kettenis@gnu.org>
18401
18402 * gdb.asm/configure.in: Fix recognition of ix86 target.
18403 * gdb.asm/configure: Regenerate.
18404
756caa3d
MS
184052001-11-21 Michael Snyder <msnyder@redhat.com>
18406
18407 * gdb.asm/sparc.inc: New file.
18408 * gdb.asm/asm-source.exp: Recognize sparc target.
18409 * gdb.asm/configure.in: Recognize sparc target.
18410 * gdb.asm/configure: Regenerate.
d63a86f8 18411
9a4d72d5
MS
184122001-11-21 Michael Snyder <msnyder@redhat.com>
18413
18414 * gdb.asm/m32r.inc: New file.
18415 * gdb.asm/asm-source.exp: Recognize m32r target.
18416 * gdb.asm/configure.in: Recognize m32r target.
18417 * gdb.asm/configure: Regenerate.
18418
a773d1cd
MS
184192001-11-20 Michael Snyder <msnyder@redhat.com>
18420
017ac23d
MS
18421 * gdb.asm/i386.inc: New file.
18422 * gdb.asm/asm-source.exp: Recognize ix86 target.
18423 * gdb.asm/configure.in: Recognize ix86 target.
18424 * gdb.asm/configure: Regenerate.
18425
a773d1cd
MS
18426 * gdb.c++/namespace.exp: Fix quotes in output messages.
18427
bb632afb
MS
184282001-11-14 Michael Snyder <msnyder@redhat.com>
18429
25d559ca 18430 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
18431 qualifier in a type cast expression, to designate an address
18432 in the instruction space (Harvard architecture).
18433
4749e309
MS
184342001-11-13 Michael Snyder <msnyder@redhat.com>
18435
18436 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
18437 Tests for expressions using 'const' and 'volatile'.
18438
25050984
CV
184392001-11-13 Corinna Vinschen <vinschen@redhat.com>
18440
18441 * gdb.asm/asm-sources.exp: Allow defining linker flags.
18442
1902c51f
DJ
184432001-11-12 Daniel Jacobowitz <drow@mvista.com>
18444
18445 * lib/mi-support.exp (mi_run_to_helper): Move comments
18446 outside of gdb_expect.
18447
dcf95b47
DJ
184482001-11-11 Daniel Jacobowitz <drow@mvista.com>
18449
18450 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
18451 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
18452 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
18453 mi0_run_to): New functions.
18454 * gdb.mi/mi-simplerun.exp: Use them.
18455 * gdb.mi/mi0-simplerun.exp: Likewise.
18456 * gdb.mi/mi-var-cmd.exp: Likewise.
18457 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 18458
45b074e1
AC
184592001-11-10 Andrew Cagney <ac131313@redhat.com>
18460
18461 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
18462 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
18463
bf50d346
AC
184642001-11-09 Andrew Cagney <ac131313@redhat.com>
18465
18466 * gdb.base/restore.exp: Include $expected value in restored test
18467 message.
18468
9383332c
AC
184692001-11-09 Andrew Cagney <ac131313@redhat.com>
18470
18471 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
18472 implemented.
18473
db62520a
MS
184742001-11-08 Michael Snyder <msnyder@redhat.com>
18475
18476 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
18477 Add pass/fail message for stop at breakpoint in call dummy function.
18478
b5703437
MS
184792001-11-07 Michael Snyder <msnyder@redhat.com>
18480
d63a86f8
RM
18481 * gdb.c++/templates.exp (test_template_breakpoints):
18482 If we get an overload menu, but it does not match what
760f6330 18483 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
18484 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
18485 making the whitespace optional. Argument for "new" may be
18486 "unsigned" as well as "unsigned int/long".
d63a86f8 18487 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
18488 making the whitespace optional. Also replace "(void) with
18489 "((void|)), making the keyword "void" optional.
d63a86f8 18490 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
18491 making the whitespace optional. Also replace "(void) with
18492 "((void|)), making the keyword "void" optional.
3bf40917
MS
18493 * gdb.base/callfuncs.c (t_float_values): This function must
18494 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 18495 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
18496 can be tested against both cases. Usually one case involves
18497 promotion of float to double, while the other does not.
18498 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
18499 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
18500 includes a stack frame for "start".
18501
c8ab4e6d
JB
185022001-11-05 Jim Blandy <jimb@redhat.com>
18503
18504 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
18505 pointers are 32 bits long, and that offsets of relocs are always
18506 stored in the data (REL-style), and not in the reloc entry itself
18507 (RELA-style).
18508 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
18509 stabs.
18510
3f08ced9
MS
185112001-11-01 Michael Snyder <msnyder@redhat.com>
18512
18513 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
18514 and regular expression operators by using quoting.
18515
cbfa24cd
MS
185162001-10-31 Michael Snyder <msnyder@redhat.com>
18517
18518 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
18519 depending on what the symbol table contains.
18520 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
18521 the output of the ptype command. Similarly, accept both "const &"
18522 and "const&".
18523
aaa68313
CV
185242001-10-31 Corinna Vinschen <vinschen@redhat.com>
18525
18526 * gdb.base/miscexprs.c (main): Add usage of preprocessor
18527 symbol `STORAGE' to allow to choose the storage class of
18528 the local datastructures.
18529 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
18530 compiler directive.
18531
91740388
MS
185322001-10-30 Michael Snyder <msnyder@redhat.com>
18533
18534 * gdb.base/jump.exp: Allow it to run for all targets.
18535
1b7c05e7
CV
185362001-10-29 Corinna Vinschen <vinschen@redhat.com>
18537
18538 * gdb.base/call-ar-st.c (print_double_array): Match for loop
18539 with new double_array size.
18540 (main): Change storage class of all local variables to static.
18541 Reduce size of double_array to 9.
18542 * gdb.base/call-ar-st.exp: Increase timeout value.
18543 Change expected output for double array to match new size in
18544 call-ar-st.c.
18545
36a22261
CV
185462001-10-29 Corinna Vinschen <vinschen@redhat.com>
18547
18548 * gdb.base/ending-run.exp: Create identical output when passing
18549 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 18550 Stormy16 target.
36a22261 18551
92b8ae91
MK
185522001-10-28 Mark Kettenis <kettenis@gnu.org>
18553
18554 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
18555 that we catch the expected failure under Linux/x86.
18556
cb135b83
OF
185572001-10-29 Orjan Friberg <orjanf@axis.com>
18558
18559 * gdb.base/setvar.exp: Escape curly braces.
18560 * gdb.stabs/weird.exp: Ditto.
18561
6884aa54
DJ
185622001-10-27 Daniel Jacobowitz <drow@mvista.com>
18563
18564 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
18565 * gdm.mi/mi0-hack-cli.exp: Likewise.
18566
0398c9aa
AC
185672001-10-25 Andrew Cagney <ac131313@redhat.com>
18568
18569 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
18570 messages.
18571
d20bf2e8
AC
185722001-10-21 Andrew Cagney <ac131313@redhat.com>
18573
18574 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
18575 checking MI enabled.
18576
03dd63aa
CV
185772001-10-09 Corinna Vinschen <vinschen@redhat.com>
18578
18579 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
18580
1d9d99f3
FCE
185812001-10-04 Frank Ch. Eigler <fche@redhat.com>
18582
18583 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
18584 if gdb child process crashes, just signal an error.
18585
838ae6c4
JB
185862001-10-02 Jim Blandy <jimb@redhat.com>
18587
18588 * lib/gdb.exp (test_xfail_format): Simplify.
18589
18590 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
18591 front of the variable name `format'. Simplify `if'.
18592
8f0cbc1c
DJ
185932001-10-01 Daniel Jacobowitz <drow@mvista.com>
18594
18595 * gdb.threads/pthreads.exp: Wait for output and delay
18596 before sending ^C.
18597
1f08dafd
DJ
185982001-10-01 Daniel Jacobowitz <drow@mvista.com>
18599
18600 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
18601 some incorrect output instead of timing out.
18602 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
18603
674f90ff
CV
186042001-09-28 Corinna Vinschen <vinschen@redhat.com>
18605
18606 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
18607 check to allow additional `int'.
18608
9b284272
DJ
186092001-09-27 Daniel Jacobowitz <drow@mvista.com>
18610
18611 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
18612 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
18613
b55a4771
MS
186142001-09-27 Michael Snyder <msnyder@redhat.com>
18615
18616 * lib/gdb.exp (test_debug_format): New proc.
18617 (setup_xfail_format): Use new proc test_debug_format.
18618 * gdb.base/constvars.exp (local_compiler_xfail_check): New
18619 proc; use new service proc test_debug_format.
18620 Replace all other "gcc_compiled" tests with this test.
18621 * gdb.base/volatile.exp (local_compiler_xfail_check): New
18622 proc; use new service proc test_debug_format.
18623 Replace all other "gcc_compiled" tests with this test.
18624
186252001-09-27 Michael Snyder <msnyder@redhat.com>
18626
18627 * gdb.base/cvexpr.exp: New file.
18628 * gdb.base/cvexpr.c: New file
18629 Test for expressions using const and volatile keywords.
18630
4e6667ac
CV
186312001-09-26 Corinna Vinschen <vinschen@redhat.com>
18632
18633 * gdb.base/constvars.exp: Check for different orders of keywords
18634 and additional "int" strings in output.
18635
4f337972
AC
186362001-09-22 Andrew Cagney <ac131313@redhat.com>
18637
18638 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
18639 responses from "help maint".
18640
2015650d
FCE
186412001-09-19 Frank Ch. Eigler <fche@redhat.com>
18642
18643 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
18644 to localhost:NNN instead of :NNN, in case Xvfb is listening
18645 only on TCP.
18646
f3bcedc1
CV
186472001-09-19 Corinna Vinschen <vinschen@redhat.com>
18648
18649 * gdb.base/recurse.exp: When checking leaving the watchpoint
18650 scope, recognize when gdb is in function's epilogue and pass.
18651
6b819c92
KS
186522001-09-18 Keith Seitz <keiths@redhat.com>
18653
18654 * lib/insight-support.exp (_gdbtk_export_target_info): Add
18655 support for running tests against sid targets.
18656 (gdbtk_done): Ditto.
18657
a10c9419
CV
186582001-09-18 Corinna Vinschen <vinschen@redhat.com>
18659
18660 * gdb.base/ending-run.c (main): Set stdout buffersize
18661 to the same reasonable value for any target.
18662 * gdb.base/ending-run.exp: Add a regular expression
18663 to make testsuite happy on Sanyo Stormy16 target.
18664
739d0d99
CV
186652001-09-17 Corinna Vinschen <vinschen@redhat.com>
18666
18667 * gdb.base/display.c (do_loops): Add float variable `f'.
18668 Increment f in loop.
18669 * gdb.base/display.exp: Increment timeout by 60 seconds.
18670 Change float display test to use variable `f'.
18671
1b8947f0
JB
186722001-09-17 Jim Blandy <jimb@redhat.com>
18673
18674 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
18675 overflowing the limited breakpoint tables on some ROM monitors
18676 (like the ROM68K).
18677
9890ac81
FCE
186782001-09-15 Frank Ch. Eigler <fche@redhat.com>
18679
18680 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
18681 the "-ac" (disable access control) flag.
18682
6db765ea
JH
186832001-08-30 Jeff Holcomb <jeffh@redhat.com>
18684
18685 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
18686 ints.
18687
4c32cc04
KS
186882001-08-30 Keith Seitz <keiths@redhat.com>
18689
18690 * lib/gdb.exp: Move all insight-related functionality into
18691 separate file.
18692 * lib/insight-support.exp: New file.
18693
8d6e6f81
FCE
186942001-08-29 Frank Ch. Eigler <fche@redhat.com>
18695
18696 * config/sid.exp (sid_start): Never set sid verbosity; disable
18697 expect_background {} that consumed its stdout; tolerate </dev/null.
18698 Attempt to set endianness override in "sid" protocol mode. Cleanup.
18699
6a90e1d0
AC
187002001-08-18 Andrew Cagney <ac131313@redhat.com>
18701
18702 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
18703 CLI jump command to start it.
18704 (mi_run_to_main): Fail immediatly when unexpected output.
18705
1759b3c3
AC
187062001-08-18 Andrew Cagney <ac131313@redhat.com>
18707
18708 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
18709 beginning of function. Fix PR gdb/191.
18710
61d11d80
FCE
187112001-08-16 Frank Ch. Eigler <fche@redhat.com>
18712
18713 * config/sid.exp (sid_start): Don't warn if we cannot figure out
18714 what to force sid endianness to.
18715
942a4df2
KS
187162001-08-15 Keith Seitz <keiths@redhat.com>
18717
18718 * lib/gdb.exp (gdbtk_start): Don't set environment
18719 variables for TCL_LIBRARY and friends. Insight will
18720 now figure these out for itself.
18721
0521c418
MS
187222001-08-02 Michael Snyder <msnyder@redhat.com>
18723
18724 * gdb.base/completion.exp: Remove the symbol "a64l" from
18725 the expect string; this is target-specific, and not related
18726 to what is being tested.
18727
74a9a58a
DB
187282001-08-02 Dave Brolley <brolley@redhat.com>
18729
18730 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
18731
c70819fa
MS
187322001-07-25 Michael Snyder <msnyder@redhat.com>
18733
c2b8fa57
MS
18734 * gdb.base/consecutive.exp: New file. Test stepping over
18735 breakpoints on consecutive instructions.
18736 * gdb.base/consecutive.c: New file.
18737
c70819fa
MS
18738 * gdb.base/call-rt-st.exp: Use double-backslash to quote
18739 curly braces in regular expressions.
18740
2b1a1355
MS
187412001-07-25 Michael Snyder <msnyder@redhat.com>
18742
18743 * gdb.base/ending-run.exp: Accept "Program exited normally" as
18744 legitimate output from stepping out of main.
18745
413eca6f
KS
187462001-07-22 Keith Seitz <keiths@redhat.com>
18747
18748 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
18749 the empty string, do not run the tests.
18750
7e5a9322
SC
187512001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
18752
18753 * gdb.base/long_long.exp: Detect size of pointer. Take into
18754 account 2-byte pointers when testing for p/a results.
18755
de58f10f
SC
187562001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
18757
d63a86f8 18758 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
18759 and defined to 1K for m68hc11.
18760 (random_data): Reduce table to 1K for embedded platforms (68hc11).
18761 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
18762 (sizeof_random_data): New variable to tell the size of the data table;
18763 don't test past this size; always run to main.
18764
d6f5fea1
SC
187652001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
18766
18767 * gdb.base/return2.exp: return of long long and double fails for
18768 68HC11; don't execute these tests on that platform.
18769 * gdb.base/return.exp: Return of a double fails for 68hc11.
18770
c477543d
SC
187712001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
18772
18773 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
18774 tests that print a float.
18775 * call-rt-st.exp: Likewise.
18776
63cf1c79
MK
187772001-07-12 Mark Kettenis <kettenis@gnu.org>
18778
18779 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
18780 running this test on Linux.
18781
112f9ab5
MC
187822001-06-24 Michael Chastain <chastain@redhat.com>
18783
18784 * gdb.base/arithmet.exp: Remove some tests to make all test names
18785 unique.
18786
4970cb0f
MS
187872001-07-03 Michael Snyder <msnyder@redhat.com>
18788
18789 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
18790 the output of the ptype command.
18791
d85da69f
MS
187922001-07-02 Michael Snyder <msnyder@redhat.com>
18793
4c8a82de
MS
18794 * gdb.base/completion.exp: Don't assume that break.c is the only
18795 source file that may contain functions named "marker".
d85da69f
MS
18796 * gdb.base/corefile.exp: Quote the curly braces in regexp.
18797
8afc772b
AC
187982001-06-28 Andrew Cagney <ac131313@redhat.com>
18799
18800 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
18801 of files to delete.
18802
18803 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
18804 * gdb.disasm/h8300s.exp: New file.
18805 gdb.disasm/h8300s.s: Likewise.
18806
cff22675
AC
188072001-06-27 Andrew Cagney <ac131313@redhat.com>
18808
18809 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
18810 empty breakpoint tables.
18811
68c81b54
AC
188122001-06-25 Andrew Cagney <ac131313@redhat.com>
18813
18814 * lib/mi-support.exp: Update args=... part of stop-reason
18815 patterns. Accept either a list or a tuple.
18816
2dd62704
AC
188172001-06-23 Andrew Cagney <ac131313@redhat.com>
18818
18819 * lib/mi-support.exp: Remove local emacs variable defining
18820 change-log-default-name.
18821
b4127474
MC
188222001-06-22 Michael Chastain <chastain@redhat.com>
18823
18824 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
18825 This is operationally compatible with the previous version.
18826
8dbfb380
JB
188272001-06-13 Jim Blandy <jimb@redhat.com>
18828
18829 * lib/gdb.exp (gdb_test): Doc fix.
18830
f2d8c86d
MC
188312001-06-10 Michael Chastain <chastain@redhat.com>
18832
18833 * gdb.base/exprs.exp: Remove a duplicate test.
18834
81564d34
JB
188352001-06-06 Jim Blandy <jimb@redhat.com>
18836
18837 * gdb.base/return2.exp (main): Use values to test float and double
18838 returns that are not NaN's, to avoid being confused by IEEE
18839 comparison rules.
18840
da55addb
MS
188412001-06-04 Michael Snyder <msnyder@redhat.com>
18842
18843 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 18844 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
18845 rather than wait for 12 more tests to time out.
18846
42c65987
JB
188472001-06-06 Jim Blandy <jimb@redhat.com>
18848
b18bced9 18849 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 18850 Don't forget to match the GDB prompt.
b18bced9 18851
42c65987
JB
18852 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
18853
5b41e5f0
JB
188542001-06-04 Jim Blandy <jimb@redhat.com>
18855
18856 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
18857 command.
18858
015e046f
KB
188592001-05-31 Kevin Buettner <kevinb@redhat.com>
18860
18861 * gdb.base/annota1.exp (info break): Match four or more spaces
18862 after "Address".
18863
fb1ffbbe
MC
188642001-05-31 Michael Chastain <chastain@redhat.com>
18865
18866 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
18867 (dm_type_int_star): Likewise.
18868 (dm_type_long_star): Likewise.
18869 (dm_type_void_star): Likewise.
18870
5ea2a32c
KB
188712001-05-29 Kevin Buettner <kevinb@redhat.com>
18872
18873 * gdb.base/completion.exp (INPUTRC): Set this environment variable
18874 to a known value in order to get consistent results regardless
18875 of the setting of INPUTRC or the presence or contents of .inputrc.
18876
ae23c492
MS
188772001-05-24 Michael Snyder <msnyder@redhat.com>
18878
ac55707e
MS
18879 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
18880 Don't require that the main thread and the manager thread are the
18881 first in the list.
18882
ae23c492
MS
18883 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
18884 debugging. If test fails, issue an "unsupported" not a "fail".
18885
400071f1
JB
188862001-05-24 Jim Blandy <jimb@redhat.com>
18887
18888 Don't assume that short is shorter than int.
18889 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
18890 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 18891 this isn't true.
400071f1
JB
18892 ("print unsigned char == (~0)"): Add test that verifies that ~0,
18893 an int, is not equal to ~0 stored in an unsigned char. This tests
18894 the same thing that the previous test meant to, but works on
18895 16-bit machines, too.
18896 ("print unsigned char != (~0)"): Same test, complemented.
18897
0816a3e5
MS
188982001-05-24 Michael Snyder <msnyder@redhat.com>
18899
18900 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 18901 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
18902 and prevents dejagnu getting out of step.
18903
f6dc23a9
KB
189042001-05-23 Kevin Buettner <kevinb@redhat.com>
18905
18906 * gdb.base/finish.exp (finish_void): Revise pattern for
18907 stopping on the call statement to not permit stopping at
18908 the start of the instructions comprising the call sequence.
18909
7dbd117d
MC
189102001-05-19 Michael Chastain <chastain@redhat.com>
18911
18912 * gdb.base/callfuncs.exp: Make all test names unique.
18913 * gdb.base/commands.exp: Make all test names unique.
18914 * gdb.base/condbreak.exp: Make all test names unique.
18915 * gdb.base/dbx.exp: Make all test names unique.
18916 * gdb.base/default.exp: Make all test names unique.
18917 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
18918 and TIMEOUT messages to their corresponding PASS message.
18919 * gdb.base/ending-run.exp: Make all test names unique.
18920 * gdb.base/long_long.exp: Remove duplicate test.
18921
6b0b0a9e
KB
189222001-05-21 Kevin Buettner <kevinb@redhat.com>
18923
18924 * gdb.base/finish.exp (finish_void): Allow "finish" command to
18925 stop on the call statement as well as the statement after the
18926 call.
18927
2caa35cb
MS
189282001-05-21 Michael Snyder <msnyder@redhat.com>
18929
18930 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
18931
40713331
EZ
189322001-05-10 Elena Zannoni <ezannoni@redhat.com>
18933
a9c64011
AS
18934 * gdb.base/completion.exp: Revamp test. Make it execute on all
18935 platforms.
40713331 18936
c2c1be8d
EZ
189372001-05-10 Elena Zannoni <ezannoni@redhat.com>
18938
a9c64011
AS
18939 * config/gdbserver.exp (gdb_load): Handle the case
18940 in which the arguments to gdbserver are given in the
18941 baseboard configuration file.
18942 Also handle the case in which the server needs to do a
18943 load.
2c9cd303 18944
9671de48
KS
189452001-05-07 Keith Seitz <keiths@cygnus.com>
18946
a9c64011
AS
18947 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
18948 set up the display for testing.
18949 (gdbtk_start): Convert all paths to paths that tcl will like.
18950 Export target information to environment.
18951 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
18952 necessary.
18953 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
18954 (to_tcl_path): New proc to convert a given pathname into
18955 a path acceptible as an argument to a tcl command.
18956 (_gdbtk_export_target_info): New proc to export target info
18957 into the environment for gdbtk testing.
18958 (gdbtk_done): New proc to signal end-of-test.
9671de48 18959
5a360f47
JB
189602001-05-06 Jim Blandy <jimb@redhat.com>
18961
18962 * restore.c: Make the code of caller0 correspond to its comment.
18963
66c756c6
MS
189642001-05-03 Michael Snyder <msnyder@redhat.com>
18965
18966 * config/sid.exp (gdb_target_sid): Check for error messages.
18967 On error or timeout, don't make expect exit (which will terminate
18968 all subsequent tests); instead just make gdb exit.
d63a86f8 18969 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
18970 return a negative value.
18971
a966fde5
JB
189722001-04-24 Jim Blandy <jimb@redhat.com>
18973
851c18e0
JB
18974 * gdb.c++/templates.exp: If we see the prompt for the overload
18975 list, but we haven't recognized any of the longer patterns,
18976 arrange for this test to fail, not hang.
18977
a966fde5
JB
18978 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
18979 variations.
18980
db144853
MC
189812001-04-22 Michael Chastain <chastain@redhat.com>
18982
18983 * gdb.c++/local.exp: Use the 'runto' library function.
18984 * gdb.c++/namespace.exp: Likewise.
18985 * gdb.c++/overload.exp: Likewise.
18986
3207ec21
KB
189872001-03-26 Kevin Buettner <kevinb@redhat.com>
18988
18989 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
18990 * gdb.base/step-line.exp: New file. Test step/next in presence of
18991 #line directives.
18992 * gdb.base/step-line.c: New file. Test program for the above.
18993 * gdb.base/step-line.inp: New file. We pretend that this file has
18994 been transformed by some other tool into step-line.c.
18995
13b57657
JB
189962001-03-21 Jim Blandy <jimb@redhat.com>
18997
18998 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
18999 unmangled operator names.
19000
754cbe1c
JB
190012001-03-20 Jim Blandy <jimb@redhat.com>
19002
19003 * gdb.threads/linux-dp.exp: Recognize an additional message
19004 generated by GDB when it doesn't understand how to debug threads
19005 on the target system.
19006
177495c9
AC
190072001-03-19 Andrew Cagney <ac131313@redhat.com>
19008
19009 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
19010
f266096b
MC
190112001-03-12 Michael Chastain <chastain@redhat.com>
19012
19013 * gdb.c++/derivation.exp: Use the 'runto' library function.
19014
cac3c2ff
MC
190152001-03-12 Michael Chastain <chastain@redhat.com>
19016
19017 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
19018
b6c11a24
MC
190192001-02-24 Michael Chastain <chastain@redhat.com>
19020
19021 * gdb.c++/ref-types.exp: Change handwritten code to library
19022 function 'runto'.
19023
6bae5bce
OF
190242001-03-16 Orjan Friberg <orjanf@axis.com>
19025
19026 * gdb.base/signals.exp: Set count to 0 explicitly.
19027
0015fd9a
MS
190282001-03-15 Mark Salter <msalter@redhat.com>
19029
19030 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
19031 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
19032 (gdb_load): Add support for additional target_info: gdb_download_size
19033 and gdb_load_timeout.
0015fd9a 19034
fc33412a
DT
19035Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
19036
19037 * gdb.base/annota1.exp: Move test of isnative to earlier in the
889bf7c5
PA
19038 file -- to prevent failing when the compile fails but we have no
19039 intention of running the tests anyway.
fc33412a
DT
19040
19041 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
19042 tests if set.
19043
19044 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
889bf7c5 19045 integers.
fc33412a
DT
19046
19047 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
19048 * gdb.c++/namespace.exp: Ditto.
19049
115f06de
OF
190502001-03-07 Orjan Friberg <orjanf@axis.com>
19051
19052 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
19053 * gdb.base/pointers.exp: Relax pattern match of decimals.
19054
b6ba6518
KB
190552001-03-06 Kevin Buettner <kevinb@redhat.com>
19056
19057 * Makefile.in, config/abug.exp, config/cfdbug.exp,
19058 config/cpu32bug.exp, config/dve.exp, config/est.exp,
19059 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
19060 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
19061 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
19062 config/sh.exp, config/sid.exp, config/slite.exp,
19063 config/sparclet.exp, config/udi.exp, config/unknown.exp,
19064 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
19065 config/vxworks.exp, config/vxworks29k.exp,
19066 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
19067 gdb.base/all-bin.exp, gdb.base/annota1.exp,
19068 gdb.base/arithmet.exp, gdb.base/assign.exp,
19069 gdb.base/async.exp, gdb.base/attach.exp,
19070 gdb.base/bitfields.exp, gdb.base/bitops.exp,
19071 gdb.base/break.exp, gdb.base/call-ar-st.exp,
19072 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
19073 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
19074 gdb.base/commands.exp, gdb.base/completion.exp,
19075 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
19076 gdb.base/constvars.exp, gdb.base/corefile.exp,
19077 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
19078 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
19079 gdb.base/ending-run.exp, gdb.base/environ.exp,
19080 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
19081 gdb.base/finish.exp, gdb.base/foll-exec.exp,
19082 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
19083 gdb.base/funcargs.exp, gdb.base/help.exp,
19084 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
19085 gdb.base/logical.exp, gdb.base/long_long.exp,
19086 gdb.base/maint.exp, gdb.base/mips_pro.exp,
19087 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
19088 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
19089 gdb.base/pointers.exp, gdb.base/printcmds.exp,
19090 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
19091 gdb.base/regs.exp, gdb.base/relational.exp,
19092 gdb.base/remote.exp, gdb.base/reread.exp,
19093 gdb.base/restore.exp, gdb.base/return2.exp,
19094 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
19095 gdb.base/selftest.exp, gdb.base/setshow.exp,
19096 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
19097 gdb.base/sigall.exp, gdb.base/signals.exp,
19098 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
19099 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
19100 gdb.base/step-test.exp, gdb.base/structs.c,
19101 gdb.base/structs.exp, gdb.base/structs2.exp,
19102 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
19103 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
19104 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
19105 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
19106 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
19107 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
19108 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
19109 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
19110 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
19111 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
19112 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
19113 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
19114 gdb.fortran/types.exp, gdb.java/jmisc.exp,
19115 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
19116 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
19117 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
19118 gdb.trace/circ.exp, gdb.trace/collection.exp,
19119 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
19120 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
19121 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
19122 gdb.trace/report.exp, gdb.trace/save-trace.exp,
19123 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
19124 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
19125 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
19126 notices.
19127
dc96c6c7 191282001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
19129
19130 * gdb.base/varargs.c (find_max_double): Fix printf format string:
19131 first arg is int not float.
19132
dc96c6c7 191332001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
19134
19135 * gdb.base/reread.exp: Unsupported for non-native targets;
19136 doesn't work for remote debugging.
19137
9b0c4aeb
FN
191382001-02-19 Fernando Nasser <fnasser@redhat.com>
19139
19140 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
19141 * gdb.base/ending-run.exp: Properly handle the BSP state when
19142 stepping past the end of main.
9b0c4aeb 19143
02aa71d5
MC
191442001-02-19 John Moore <jmoore@redhat.com>
19145
19146 * gdb.base/commands.exp (infrun_breakpoint_command_test):
19147 Converted HPUX fix for non-expected items following multiple
19148 step commands into general solution for all platforms.
19149
1fa449a4
MC
191502001-02-18 Michael Chastain <chastain@redhat.com>
19151
19152 * gdb.c++/classes.exp (do_tests): Change runto statements
19153 from "runto 'foo(void)'" to "runto 'foo'". This makes the
19154 statements demangler agnostic.
19155 * gdb.c++/virtfunc.exp (do_tests): Likewise.
19156 (gdb_virtfunc_restart): Likewise.
19157
b2f9ec70
MC
191582001-02-14 Michael Chastain <chastain@redhat.com>
19159
19160 * gdb.c++/inherit.exp (do_tests): Change runto statements
19161 from "runto 'foo(void)'" to "runto 'foo'". This makes the
19162 statements demangler agnostic.
19163
cf74b8ca
AC
19164Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
19165
19166 * gdb.threads/pthreads.exp: Unify pass/fail messages for
889bf7c5
PA
19167 ``continue to bkpt at common_routine in thread 2'' and ``stopped
19168 before calling common_routine 15 times'' tests.
cf74b8ca 19169
99f78f56
MC
191702001-02-11 Michael Chastain <chastain@redhat.com>
19171
19172 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
19173 Helps the test script figure out which demangler is in use.
19174 (dm_type_foo_ref): Ditto.
19175 (dm_type_int_star): Ditto.
19176 (dm_type_long_star): Ditto.
19177 (dm_type_unsigned_int): Ditto.
19178 (dm_type_void): Ditto.
19179 (dm_type_void_star): Ditto.
99707966 19180 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
19181 Probe the gdb demangler and set variables to accommodate
19182 formatting differences.
19183 (info_func_regexp): New function. Same as info_func, but
19184 matches against a regexp.
19185 (info_func): Match against a literal string.
19186 (print_addr_2): New function. Match against a literal string,
19187 which can be different from the input to gdb.
19188 (print_addr): Simply call print_addr_2 with the same argument twice.
19189 (test_lookup_operator_functions): Use demangler formatting variables.
19190 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
19191 the tests in the same order as the C++ class declaration.
19192 (test_paddr_operator_functions): Ditto.
19193 (test_paddr_overloaded_functions): Ditto.
19194 (test_paddr_hairy_functions): Use demangler formatting variables.
19195 Add reference to gdb/19 for related tests.
19196 (do_tests): Call probe_demangler.
19197
1de8f023
KB
191982001-01-30 Kevin Buettner <kevinb@redhat.com>
19199
19200 * gdb.c++/templates.cc (printf): Remove unused function definition.
19201
ca3f91ed
MS
192022001-01-26 Felix Lee <flee@redhat.com>
19203
19204 * sid.exp (sid_exit): Pass host, not target, to remote_close.
19205
192062001-01-25 matthew green <mrg@redhat.com>
19207
19208 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
19209 up sid.
19210 (sid_exit): Call `remote_pop_conn' after GDB is gone.
19211
192122001-01-25 matthew green <mrg@redhat.com>
19213
19214 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 19215 Deprecate $sid_spawn_id.
ca3f91ed
MS
19216 (sid_exit): Remove code necessary only for `spawn.'
19217
192182001-01-25 matthew green <mrg@redhat.com>
19219
19220 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
19221
fb18ec4a
MC
192222001-01-28 Michael Chastain <chastain@redhat.com>
19223
19224 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
19225 to call when tests fail. It takes gdb out of the overloaded
19226 function choice menu back to the main prompt, so that the test
19227 program stays synchronized.
19228 (set_bp_overloaded): New proc to collect all the common
19229 code for setting a breakpoint on an overloaded name. Calls
19230 take_gdb_out_of_choice_menu when needed.
19231 (menu_overload1arg): New variable to collect the repeated
19232 instances of the expected menu for an overloaded name. Change
19233 the regular expression to handle changes in g++ type encoding:
19234 "void" can be either "void" or "", and "unsigned int" can be
19235 either "unsigned int" or "unsigned".
19236 (continue_to_bp_overloaded): Change regular expressions to handle
19237 changes in g++ type encoding.
19238 (no proc): Call take_gdb_out_of_choice_menu when needed.
19239 Remove redundant calls to "info break". Accept either "canceled"
19240 or "cancelled". Change regular expressions in "info break"
19241 calls to handle changes in g++ type encoding. Give all tests
19242 unique strings.
19243
9c646a6e
BE
192442001-01-17 Ben Elliston <bje@redhat.com>
19245
19246 * config/sid.exp: New file.
19247
9549d9c1
AC
19248Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
19249
19250 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
19251
dc96c6c7 192522000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
19253
19254 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
19255 Add a RE to accept a non-ascii char if one is ever presented.
19256
b4df4f68
FN
192572000-12-20 Fernando Nasser <fnasser@redhat.com>
19258
297dd0fd 19259 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 19260
dc96c6c7 192612000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 19262
d63a86f8 19263 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
19264 in regexp. One '\' does not suffice on Linux.
19265
4a7bddb6
MC
192662000-12-09 Michael Chastain <chastain@redhat.com>
19267
19268 * gdb.base/break.exp (test_clear_command): Use a marker function
19269 rather than 'main' for the test function. Also move this
19270 test to an execution point where the marker function names are
19271 guaranteed to be bound to functions. (Executing tests after a
19272 'finish' from main runs into name conflicts with local names
19273 in __libc_start_main).
19274
dc96c6c7 192752000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
19276
19277 * gdb.base/finish.exp: New test for gdb's "finish" command.
19278 * gdb.base/return2.exp: New test for gdb's "return" command.
19279 * gdb.base/return2.c: New source file for above.
19280
dc96c6c7 192812000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
19282
19283 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
19284 * gdb.base/miscexprs.exp: Ditto.
19285 * gdb.base/pointers.exp: Ditto.
19286 * gdb.c++/derivation.exp: Ditto.
19287 * gdb.c++/local.exp: Ditto.
19288 * gdb.c++/namespace.exp: Ditto.
19289 * gdb.c++/overload.exp: Ditto.
19290 * gdb.c++/ref-types.exp: Ditto.
19291
dc96c6c7 192922000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
19293
19294 * gdb.base/constvars.exp: Test result of "up" command.
19295 * gdb.base/miscexprs.exp: Ditto.
19296 * gdb.base/pointers.exp: Ditto.
19297 * gdb.base/scope.exp: Ditto.
19298 * gdb.c++/derivation.exp: Ditto.
19299 * gdb.c++/local.exp: Ditto.
19300 * gdb.c++/namespace.exp: Ditto.
19301 * gdb.c++/overload.exp: Ditto.
19302 * gdb.c++/ref-types.exp: Ditto.
19303
44097287
FN
193042000-11-22 Michael Chastain <chastain@redhat.com>
19305
19306 * mips_pro.exp: Accept either "middle -> top -> main" or
19307 "middle -> main" in the backtrace, because gcc can optimize
19308 tail calls to jumps. Remove setup_xfail for the hppa case.
19309 Add a comment with the original warning messages from PR 3016,
19310 which was filed in 1993, to preserve them for posterity.
19311
9d2e1bab
ND
193122000-11-17 Nick Duffek <nsd@redhat.com>
19313
19314 * lib/gdb.exp (gdb_test): Override timeout with board info.
19315
1aca8eb7
ND
193162000-11-17 Nick Duffek <nsd@redhat.com>
19317
19318 * gdb.base/display.exp: Don't kill running stub. Add "again" to
19319 the second kill and detach messages.
19320
93076499
ND
193212000-11-17 Nick Duffek <nsd@redhat.com>
19322
19323 * configure.in: Add AC_EXEEXT.
19324 * configure: Regenerate.
19325 * Makefile.in (just-check): Export EXEEXT.
19326 * lib/gdb.exp ($EXEEXT): Import from environment.
19327 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
19328 expect "maint dump-me" on Cygwin.
19329 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
19330 $EXEEXT.
19331
30e87cd3
ND
193322000-11-17 Nick Duffek <nsd@redhat.com>
19333
19334 * gdb.base/break.exp: Test backtrace and finish from called
19335 function on all platforms, not just HP-UX.
19336
dc96c6c7 193372000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
19338
19339 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
19340 code from gdb_target_monitor, so it can be used independantly
19341 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 19342
dc96c6c7 193432000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
19344
19345 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
19346 * gdb.base/corefile.exp: Expect the message "Program is being
19347 debugged already" when we send the "corefile" command, since
19348 the preceeding gdb_load may have connected gdb to a remote target.
19349 * gdb.base/display.exp: Disable hardware watchpoints if new
19350 board info variable "no_hardware_watchpoints" is true.
19351 Replace single-letter commands with more readable ones.
19352 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
19353 if new board info variable "no_hardware_watchpoints" is true.
19354 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
19355 to see if stdio (printf) testing is possible.
19356 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
19357 board info variable "no_hardware_watchpoints" is true. Use new
19358 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
19359
39124dea
FN
193602000-11-13 Fernando Nasser <fnasser@redhat.com>
19361
19362 From Orjan Friberg <orjanf@axis.com>:
19363 * gdb.base/printcmds.exp: Escape curly braces followed by a number
19364 in array print pattern match.
19365
a9e2e984
FN
193662000-11-09 Fernando Nasser <fnasser@redhat.com>
19367
19368 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
19369 spelling "cancelled" to U.S. spelling "canceled" to match changes
19370 made to gdb.
19371 * gdb.c++/ovldbreak.exp: Ditto.
19372
c7db355b
PS
193732000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
19374
19375 * gdb.base/callfuncs.c (main): Moved to end of file, call
19376 t_double_values to initialize the FPU before inferior calls are made.
19377 * gdb.base/callfuncs.exp: Test for register preservation after calling
19378 inferior functions. Add tests for continuining, finishing and
19379 returning from a stop in a call dummy.
19380
dc96c6c7 193812000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
19382
19383 * gdb.base/commands.exp: Break up long lines, and re-indent.
19384
dc96c6c7 193852000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
19386
19387 * config/gdbserver.exp: Rewritten from the ground up, to make it
19388 compatible with the current dejagnu tree, and to make it work with
19389 the new "gdbserver" in libremote.
19390
dc96c6c7 193912000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
19392
19393 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
19394 * gdb.base/varargs.exp: Skip entire test if no printf support.
19395 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
19396 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
19397
dc96c6c7 193982000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
19399
19400 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
19401 no floating point support.
19402 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
19403 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
19404 * gdb.base/call-rt-st.exp: Ditto.
19405 * gdb.base/call-strs.exp: Ditto.
19406
bac5fc66
JG
194072000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
19408
19409 * gdb.base/sizeof.c: include <stdio.h>.
19410
19411 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
19412 'finish', otherwise uncaptured gdb_prompt would potentially
19413 throw remaining test points out of sync.
bac5fc66 19414
b22a6027
SB
194152000-07-26 Scott Bambrough <scottb@netwinder.org>
19416
19417 * gdb.base/recurse.exp: Run tests for all targets.
19418 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
19419 gnu-oldld case on ARM.
19420 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
19421 for ARM targets.
d63a86f8 19422
d8231941
AG
19423Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
19424
19425 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
19426 * gdb.java/configure: Rebuild.
19427
8caabe69
AG
19428Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
19429
19430 * gdb.java/jv-exp.exp: New file.
19431
9d273ca3
AG
19432Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
19433
19434 * configure: Rebuilt.
19435 * configure.in (configdirs): Add gdb.java.
19436 * gdb.java/jmisc.java: New file.
19437 * gdb.java/jmisc.exp: New file.
19438 * gdb.java/Makefile.in: New file.
19439 * gdb.java/configure: Rebuilt.
19440 * gdb.java/configure.in: New file.
19441 * lib/java.exp: New file.
19442
4f823a66
AC
19443Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
19444
19445 * gdb.base/exprs.exp: Test casts to a pointer including over and
889bf7c5 19446 underflow.
4f823a66 19447
2391e11d
AC
19448Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
19449
19450 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
889bf7c5 19451 and the compilers sizes.
2391e11d 19452
54602222
ND
194532000-07-09 Nick Duffek <nsd@redhat.com>
19454
19455 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
19456 (use_methods): New function.
19457 (main): Call use_methods().
19458 * gdb.c++/classes.exp (test_method_param_class): New procedure.
19459 (do_tests): Call test_method_param_class.
19460
2bec0572
ND
194612000-07-09 Nick Duffek <nsd@redhat.com>
19462
19463 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
19464 spelling.
19465 (test_enums): New procedure. Move enum tests from end of script
19466 to here. Set breakpoint on function name instead of line number.
19467 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
19468 (enums2): New marker function.
19469 (enums1): New function.
19470 (main): Call enums1(). Move enum tests to enums1().
19471
78492fde
AC
19472Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
19473
19474 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
889bf7c5 19475 compile/link program. Update line numbers.
78492fde
AC
19476 * gdb.asm/d10v.inc: Define ``startup''.
19477 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 19478
49a2cef8
AC
19479Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
19480
19481 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
19482
3e6c8688
EZ
194832000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19484
19485 * gdb.base/maint.exp: Add 'maint print architecture' item to output
889bf7c5 19486 of 'help maint print' command.
3e6c8688 19487
9ff5cbe9
AC
19488Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
19489
19490 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
889bf7c5 19491 they use gdb_expect_list.
9ff5cbe9 19492
17c579bd
AC
19493Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
19494
19495 * gdb.base/commands.exp: Use ``set remote
889bf7c5
PA
19496 memory-read-packet-size'' instead of ``set endian big'' to test
19497 long commands.
17c579bd 19498
e6d71bf3
DB
194992000-06-03 Daniel Berlin <dan@cgsoftware.com>
19500
19501 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 19502 g++, and stop skipping them.
e6d71bf3
DB
19503
19504 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
19505 work under g++.
19506
d63a86f8 19507 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
19508 initialization.
19509
dc96c6c7 195102000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
19511
19512 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
19513 the regular expression: accept an (almost) arbitrary sequence of
19514 "frames-invalid" and "breakpoints-invalid" messages both before
19515 and after the "starting" message.
19516
dc96c6c7 195172000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
19518
19519 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 19520
dc96c6c7 195212000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
19522
19523 * gdb.base/annota1.exp (annotate-signal-handler-caller):
19524 Relax the regular expression a little, make it pass on Solaris 8.
19525
8216cda9
KB
195262000-05-12 Kevin Buettner <kevinb@redhat.com>
19527
19528 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 19529 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
19530 Instead, it is permissible for gdb to stop on the line of the
19531 call itself.
19532
1a570b2f
MS
195332000-05-12 Michael Snyder <msnyder@.cygnus.com>
19534
19535 * gdb.base/break.exp (bp on small function, optimized file):
19536 Add a second pass pattern. The behavior differs here between stabs
19537 and dwarf for one-line functions. Stabs preserves two line symbols
19538 (one before the prologue and one after) with the same line number,
19539 but dwarf regards these as duplicates and discards one of them.
19540 Therefore the address after the prologue (where the breakpoint is)
19541 has no exactly matching line symbol, and GDB reports the breakpoint
19542 as if it were in the middle of a line rather than at the beginning.
19543
dc96c6c7 195442000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 19545
d63a86f8 19546 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
19547 rather than "send_gdb" (for consistancy).
19548
7d418785
AC
19549Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
19550
19551 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
19552 * gdb.c++/templates.cc: Properly check for GCC version number.
19553 * lib/compiler.cc: Likewise
19554
dc96c6c7 195552000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 19556
d63a86f8 19557 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
19558 gdb may not stop at the first line of main, due to code motion.
19559
dc96c6c7 195602000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
19561
19562 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
19563 This test depends on parsing the printf output from the target.
19564 Since the sparclet stub doesn't do stdio, this will never work.
19565 * gdb.base/call-rt-st.exp: ditto.
19566 * gdb.base/call-strs: ditto.
19567
dc96c6c7 195682000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
19569
19570 * gdb.base/miscexprs.exp: make sizeof long array test portable.
19571
19572 * gdb.base/ending-run.exp: After connecting to a remote target,
19573 but before running, the target will appear to be in a random
19574 location. Specify both a file and a line for breakpoints.
19575 Also, the function that calls main may be called 'init'
19576 rather than 'start'.
19577
a5a51225
EZ
195782000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19579
19580 * gdb.base/help.exp: Update output for add-symbol-file command.
19581
7930cc7c
FN
195822000-04-10 Fernando Nasser <fnasser@cygnus.com>
19583
19584 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
19585 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
19586
23e37ab1
C
195872000-04-07 J.T. Conklin <jtc@redback.com>
19588
e93c542c
C
19589 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
19590
23e37ab1
C
19591 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
19592
591b8fa3
PDM
19593Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
19594
19595 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
889bf7c5 19596 values that can be represented exactly.
591b8fa3
PDM
19597 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
19598 above change, and to not check against the directory part of the source
19599 file name.
19600 (step into print_long_arg_list): Likewise.
19601 (print print_small_structs from print_long_arg_list): Likewise.
19602 (print print_long_arg_list): Likewise.
19603
7a495180
EZ
196042000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19605
30b53638 19606 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 19607
beb998c6
AC
19608Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
19609
19610 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
19611
1c689132
DB
196122000-03-25 Daniel Berlin <dan@cgsoftware.com>
19613
19614 * gdb.base/commands.exp (deprecated_command_test): Add test for
19615 deprecate with no arguments.
19616
c1790a9d
JL
196172000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
19618
19619 * gdb.base/break.exp: Add new test for setting breakpoints on
19620 optimized code so we can test breakpoints work even when function
19621 prologues may be optimized away
19622
003ba290
FN
196232000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
19624
19625 From David Whedon <dwhedon@gordian.com>
a9c64011 19626 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 19627
6837a0a2
DB
196282000-03-22 Daniel Berlin <dan@cgsoftware.com>
19629
19630 * gdb.base/help.exp: Added test for new apropos command.
19631
b9593231
KB
196322000-03-21 Kevin Buettner <kevinb@redhat.com>
19633
19634 * gdb.base/pointers.c (usevar): New function.
19635 (main): Make sure that global variables v_int_pointer2, rptr,
19636 and y are all referenced someplace in the program by calling
19637 usevar() on them. [Some linkers delete symbols which are
19638 never referenced. The space remains, but there's no way to
19639 get a (symbolic) handle on the variable from the debugger.]
19640
751a959b
EZ
196412000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19642
19643 * gdb.base/printcmds.c: Add typedeffed arrays.
19644
19645 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
889bf7c5 19646 procedure to test arrays that are typedef'd.
751a959b 19647
73a93a32
JI
196482000-03-13 James Ingham <jingham@leda.cygnus.com>
19649
19650 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 19651 the library directories.
73a93a32 19652
fb40c209
AC
19653Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
19654
19655 * configure.in (configdirs): Add sub directory gdb.mi.
19656 * configure: Re-generate.
19657
19658 * gdb.mi: New directory.
d63a86f8 19659
ee4dd2c9
AC
196602000-02-25 Scott Bambrough <scottb@netwinder.org>
19661
19662 * gdb.base/long_long.exp: Correct test suite failure when printing
889bf7c5 19663 a long long value as a double on ARM platforms.
ee4dd2c9 19664
70f0cc22
JB
196652000-02-16 Jim Blandy <jimb@redhat.com>
19666
19667 * gdb.base/break.exp ("breakpoint line number"): Make sure the
19668 default source file is set properly before running this test.
19669
853819b8
EZ
196702000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19671
19672 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
889bf7c5 19673 gdbtk/library directory, not in gdbtcl2.
853819b8 19674
dfcd3bfb
JM
196752000-02-04 Jim Blandy <jimb@redhat.com>
19676
19677 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
19678 backslash from regexp pattern.
19679
19680 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
19681 procedure. Use it to run all the "continue to bp overloaded"
19682 tests. Note that this changes the names of the tests slightly.
19683 If the breakpoint hit message includes a hex PC value, because
19684 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
19685 from the real source code, still consider that a pass.
19686
19687 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
19688 XFAIL here if the breakpoint message contains a hex address. Note
19689 similar change on 1999-11-02.
19690
19691 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
19692
19693 * gdb.base/ptype.exp: Establish a default source file before
19694 calling get_debug_format.
19695
196962000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
19697
19698 * gdb.base/watchpoint.exp: Remove duplication of test messages.
19699
8b93c638
JM
197002000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
19701
19702 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
19703 of successive stepi commands -- while in the prologue we should see
19704 the function entry bracket.
19705
197062000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
19707
19708 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
19709 reach __change_mode() when stepping through the end of main().
19710
c5394b80
JM
197112000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
19712
19713 * gdb.base/default.exp: Fix expected pattern.
19714 * gdb.base/help.exp: Same.
19715
0d06e24b
JM
197162000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19717
19718 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
889bf7c5 19719 Don't use xfail's because that affects only the following test.
d63a86f8 19720
0d06e24b 19721 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
889bf7c5 19722 solaris or linux.
0d06e24b
JM
19723
19724 * gdb.base/selftest.exp: Update to reflect changes to main.c.
19725
dc96c6c7 197262000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 19727
d63a86f8 19728 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
19729 "A syntax error" rather than "A parse error". Accept both.
19730
197312000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
19732
19733 * gdb.base/default.exp: Remove OS dependent string from "target
19734 remote" test.
19735 * gdb.base/help.exp: Same for "help target remote" test.
19736
c3f6f71d
JM
197372000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19738
19739 From Jim Kingdon <kingdon@redhat.com>:
19740
19741 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
889bf7c5
PA
19742 prompt (cleanup rather than necessity, but still might keep output
19743 from spilling to next test).
c3f6f71d
JM
19744
197452000-01-02 Fred Fish <fnf@cygnus.com>
19746
19747 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
19748 AIX, which defines them in <sys/types.h>.
19749
ed9a39eb 197501999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 19751
ed9a39eb 19752 * gdb.base/default.exp: Match arm* etc instead of arm in "info
889bf7c5 19753 float" test.
ed9a39eb
JM
19754
197551999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 19756
ed9a39eb 19757 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
19758
19759 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
19760 outermost frame disallowed".
19761
197621999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
19763
19764 * gdb.base/setvar.exp: New tests for setting the value of a struct
19765 with a constant list.
19766
197671999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
19768
19769 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
19770 require the user to type a cast before setting the value of a struct.
19771
de57eccd
JM
197721999-12-06 Jim Blandy <jimb@cygnus.com>
19773
19774 * gdb.base/default.exp: Expect the new 'info float' command on
19775 all i386 platforms.
19776
19777 * gdb.threads/linux-dp.exp: Expand our ability to recognize
19778 LinuxThreads libraries that don't support debugging.
19779
c2d11a7d
JM
19780Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
19781
19782 * gdb.base/remote.c: Fill the buffer with truely random data.
889bf7c5
PA
19783 Change the buffer type to ``unsigned char'' to simplify size
19784 arithmetic.
c2d11a7d
JM
19785
19786 * gdb.base/remote.exp: Reduce download numbers by one. Typical
889bf7c5
PA
19787 stub only handles 400-1 byte packets. Verify that the download
19788 worked.
c2d11a7d
JM
19789
197901999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
19791
19792 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
19793 tests, using UNRESOLVED for the untested cases. Also, does not wait
19794 for a timeout if the prompt was received before a recognizable pattern.
19795
197961999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
19797
19798 * lib/gdb.exp (gdb_expect_list): Fix spelling.
19799
198001999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19801
19802 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
889bf7c5 19803 watchpoints.
c2d11a7d
JM
19804
198051999-11-24 Jason Merrill <jason@casey.cygnus.com>
19806
19807 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
19808
19809 * gdb.c++/local.exp: Be more flexible in recognizing local class
19810 name mangling. Don't allow horribly truncated method names.
19811 * gdb.c++/derivation.exp: Expect protected inheritance.
19812 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
19813 * gdb.c++/virtfunc.exp: Likewise.
19814 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
19815 when printing a nested enum.
19816
198171999-11-22 Jim Blandy <jimb@cygnus.com>
19818
19819 * gdb.base/step-test.exp: Properly await GDB's response to setting
19820 a breakpoint on the call to large_struct_by_value.
19821
19822 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
19823 just because we have debug info for the `start' function.
19824
198251999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
19826
19827 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
19828 "Unknown signal" messages, which indicate (on LinuxThreads) that
19829 GDB doesn't know how to debug threads on this system. This is
19830 better than hanging while philosopher 0 dumps chatter into gdb.log.
19831
198321999-11-18 Tom Tromey <tromey@cygnus.com>
19833
19834 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
19835
198361999-11-18 Fred Fish <fnf@cygnus.com>
19837
19838 * gdb.base/coremaker2.c: Add sample program for generating
19839 cores that is more self contained than coremaker.c. Eventually
19840 I'll add more code to this and tie it into the testsuite.
19841
4ce44c66
JM
198421999-11-12 Stan Shebs <shebs@andros.cygnus.com>
19843
19844 * gdb.base/dollar.exp: Remove, now in gdb.hp.
19845
198461999-11-10 Jimmy Guo <guo@cup.hp.com>
19847
19848 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
889bf7c5 19849 from $srcdir/lib/.
4ce44c66 19850 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
889bf7c5 19851 and gdb.c++/.
4ce44c66
JM
19852
19853 * gdb.c++/derivation.exp: remove redundant get compiler info code.
19854
d63a86f8 19855 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
19856 'continue with watch' test point.
19857
198581999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
19859
19860 Merged from p2linux-990323-branch:
d63a86f8 19861
4ce44c66
JM
19862 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
19863
11cf8741
JM
19864Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
19865
19866 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
889bf7c5 19867 {limit,fixed}''. Test ``set download-write-size''.
11cf8741
JM
19868
19869Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
19870
19871 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
889bf7c5 19872 gdb_expect_list.
11cf8741
JM
19873
19874Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
19875
19876 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
19877
198781999-11-03 Mark Salter <msalter@cygnus.com>
19879
19880 * gdb.base/break.exp: Fix "stub continue" pattern.
19881
198821999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
19883
19884 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
19885
198861999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
19887
19888 * gdb.base/display.exp ("finish"): Add timeout clause.
19889
19890 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
19891 plain prompt clause, so this doesn't have to time out in order to
19892 fail.
19893
19894 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
889bf7c5 19895 breakpoint hit messages include an address.
11cf8741
JM
19896
19897 * gdb.base/display.exp: Don't forget to escape parens in regular
19898 expressions. Unix regexp notatation sucks.
19899
199001999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19901
19902 * gdb.base/annota1.exp: Test for annotate-signalled: change output
889bf7c5 19903 order for 'signalled' message.
11cf8741 19904
5c44784c
JM
199051999-11-01 Stan Shebs <shebs@andros.cygnus.com>
19906
19907 From Jimmy Guo <guo@cup.hp.com>:
19908 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
19909 * gdb.base/annota1.c: Add code for tests to work with.
19910
199111999-10-26 Frank Ch. Eigler <fche@cygnus.com>
19912
19913 * gdb.base/remote.exp: New test for remote downloading settings.
19914 * gdb.base/remote.c: New file with large .data.
19915
917317f4
JM
199161999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
19917
19918 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
19919 for LinuxThreads support, merged from the Code Fusion branch.
19920
19921Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
19922
19923 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
889bf7c5
PA
19924 containing exp_continue into a while within an expect. Don't
19925 attempt a start more than three times. Check return value from
19926 gdb_load.
d63a86f8 19927
2df3850c
JM
19928Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
19929
19930 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
889bf7c5 19931 a pass case.
2df3850c 19932
2acceee2
JM
199331999-10-01 Kevin Buettner <kevinb@cygnus.com>
19934
19935 * gdb.base/break.c (main): Added a statement that we can step
19936 off of.
19937 * gdb.base/break.exp: Added tests for setting a breakpoint
19938 at an offset and stepping onto a breakpoint.
19939
199401999-10-01 Fred Fish <fnf@cygnus.com>
19941
d63a86f8 19942 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
19943 gdb output.
19944
c2c6d25f
JM
199451999-09-18 Jim Blandy <jimb@cris.red-bean.com>
19946
19947 * gdb.base/break.exp: Code locations are in hex, don't forget!
19948 (For HP-UX.)
19949
199501999-09-17 Stan Shebs <shebs@andros.cygnus.com>
19951
19952 * condbreak.exp: Use break.c as test program.
19953 * condbreak.c: Remove, redundant with break.c.
19954
199551999-09-15 Stan Shebs <shebs@andros.cygnus.com>
19956
19957 * config/monitor.exp (gdb_target_monitor): Disable X- and
889bf7c5 19958 Z-packets if the target needs it.
c2c6d25f
JM
19959
199601999-09-13 James Ingham <jingham@leda.cygnus.com>
19961
19962 * gdb.c++/overload.exp: Added tests for listing overloaded
19963 functions with function pointers in the arg, explicitly calling
19964 out the version you want.
19965
cff3e48b
JM
199661999-09-09 Stan Shebs <shebs@andros.cygnus.com>
19967
19968 * long_long.exp: Add variations of test cases that work for
19969 targets with 16-bit ints and 32-bit doubles.
19970
d4f3574e
SS
199711999-09-08 Stan Shebs <shebs@andros.cygnus.com>
19972
19973 * break.c (main): Compare a possibly-uninitialized argc with an
19974 unlikely value that fits in 16 bits.
19975
199761999-09-07 Stan Shebs <shebs@andros.cygnus.com>
19977
19978 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
19979 0xfeeb, don't want negative numbers if ints are 16 bits.
19980
19981 * lib/gdb.exp (skip_cplus_tests): New proc.
19982 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
889bf7c5
PA
19983 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
19984 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
19985 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
19986 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
19987 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
19988 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
19989 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
d4f3574e
SS
19990
19991 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
19992
19993Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
19994
19995 * gdb.base/corefile.exp (up): Allow a parameter to appear
19996 in the frame that we're going up to.
19997
19998 From Jim Blandy <jimb@cygnus.com>:
19999
20000 * gdb.base/default.exp (info float): Expect some output now.
20001
20002 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
20003 returning floating-point values to fail on the x86.
20004 * gdb.base/callfwmall.exp (do_function_calls): Same.
20005
20006 * gdb.base/list.exp (test_listsize): Correct expectations for
20007 listing line 1 with listsize 2. Also, listing a single line
20008 works now, as does listing three lines. [Kevin's note: There
20009 were a number of other cases fixed too where the expectations
20010 differed...]
20011
200121999-09-02 Stan Shebs <shebs@andros.cygnus.com>
20013
20014 * gdb.base/selftest.exp: Add case for when version prints as
20015 constant string instead of char pointer.
20016
104c1213
JM
200171999-08-25 Stan Shebs <shebs@andros.cygnus.com>
20018
20019 * gdb.base/ending-run.exp: Add Solaris case for what happens when
889bf7c5 20020 stepping out of main.
104c1213
JM
20021
20022 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
20023 G++ used.
20024
20025 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
889bf7c5 20026 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
104c1213
JM
20027
20028 * gdb.c++/ovldbreak.exp: Update match string in test that
20029 includes a warning of multiple breakpoints.
20030
200311999-08-24 Stan Shebs <shebs@andros.cygnus.com>
20032
20033 * gdb.base/display.exp: Improve precision of step-after-finish
20034 added yesterday.
20035
20036 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
889bf7c5 20037 test.
104c1213
JM
20038
20039 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
20040 configs when using G++, not just hppa*.
20041
200421999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20043
20044 * gdb.base/async.c: New file.
20045 * gdb.base/async.exp: New file.
20046
20047Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
20048
20049 * gdb.base/break.exp: Tweak PA specific tests to properly handle
20050 PA64.
20051
53a5351d
JM
20052Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
20053
104c1213
JM
20054 * gdb.base/display.exp: "finish" can leave us mid-line on many
20055 targets, deal with it. Add a small constant to main, instead of
20056 1000 since main+1000 may not be a valid address in the target.
20057
53a5351d
JM
20058 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
20059 on hpux11.
20060
20061 * gdb.base/attach.exp: Handle another hpux11 error message variant
20062 when attaching to a process that does not exist.
20063
200641999-08-19 J.T. Conklin <jtc@redback.com>
20065
20066 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
889bf7c5 20067 characters in 'continue to 1241' test.
53a5351d
JM
20068
200691999-08-17 Stan Shebs <shebs@andros.cygnus.com>
20070
20071 * gdb.base/call-ar-st.exp: Add a shorter match case for the
20072 stop in print_long_arg_list, define and use a whitespace
20073 variable in print_small_structs test, add an XFAIL for Solaris.
20074 * gdb.base/dbx.exp: XFAIL func commands until somebody is
20075 interested enough to fix.
20076
7be570e7
JM
200771999-08-13 Keith Seitz <keiths@cygnus.com>
20078
20079 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
20080 (dbx_gdb_load): Remove. Use gdb_load instead, since that
20081 proc knows about targets other than the natives.
20082 (test_assign): Use "gdb_run_cmd" to "run" the target.
20083 Check that we've actually hit the breakpoint at main.
20084 When we attempt to assign a value to a local variable, check
20085 that the variable is in the current scope, i.e., don't use
20086 a test with an empty result.
20087
20088Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
20089
20090 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
889bf7c5 20091 command.
7be570e7
JM
20092
200931999-08-09 Stan Shebs <shebs@andros.cygnus.com>
20094
20095 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20096 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
20097 gdb.compat, gdb.threads-hp.
20098 gdb.hp/configure, gdb.hp/configure.in: New files.
20099 gdb.hp/Makefile.in: Recurse into new subdirs.
20100 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
20101 gdb.hp/gdb.objdbg: New directory, tests for debugging info
20102 in object files.
20103 gdb.hp/tools: New directory, aux tools for HP-specific tests.
20104
96baa820
JM
201051999-08-05 Stan Shebs <shebs@andros.cygnus.com>
20106
20107 * gdb.base/display.exp: Help expect by putting a newline in the
889bf7c5 20108 funky printf, remove a bogus p/a test.
96baa820
JM
20109
201101999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20111
20112 * gdb.base/display.exp: Make sure that when we say 'run', we are
889bf7c5
PA
20113 connected to the target. This is necessary when running not
20114 natively.
96baa820
JM
20115
201161999-08-03 Stan Shebs <shebs@andros.cygnus.com>
20117
20118 * gdb.base/step-test.exp: Removed some extraneous messages.
20119
20120 * gdb.base/long_long.exp: Don't run memory examination tests
20121 on little-endian targets (they will need a different set of
20122 results to match).
20123
201241999-08-02 Stan Shebs <shebs@andros.cygnus.com>
20125
20126 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
20127 until somebody decides to fix GDB.
20128
20129 * gdb.base/long_long.c: Stop compiler complaint by specifying long
889bf7c5 20130 constant as "ULL".
96baa820
JM
20131 * gdb.base/long_long.exp: Loosen x/c test, add partial result
20132 matches for a couple x/2 commands.
20133
a0b3c4fd
JM
201341999-07-30 Stan Shebs <shebs@andros.cygnus.com>
20135
20136 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
20137 by merging in ref-types2 tests.
20138 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
20139
20140 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20141 * gdb.c++/Makefile.in: Add standard actions.
20142 (EXECUTABLES): Rename from PROGS, update list.
20143 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
20144 from gdb.hp.
20145 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
20146 foo and bar locals.
20147 * gdb.c++/anon-union.exp: Fix tests to match.
20148 * gdb.c++/classes.exp: Run if HP compiler used, add extra
20149 expect matches to handle output variations.
20150 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
20151 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
889bf7c5 20152 output, add HP alternatives for new and delete prints.
a0b3c4fd 20153 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
889bf7c5 20154 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
a0b3c4fd
JM
20155 * gdb.c++/demangle.exp: Use $style when reporting failure.
20156 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
20157 * gdb.c++/inherit.exp: Run if HP compiler used, add some
20158 match alternatives.
20159 * gdb.c++/local.exp: Add match alternatives or xfails for HP
889bf7c5 20160 compilers.
a0b3c4fd
JM
20161 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
20162 * gdb.c++/method.exp: Add match alternatives.
20163 * gdb.c++/misc.cc: Add bool types.
20164 * gdb.c++/misc.exp: Add tests for bool types.
20165 * gdb.c++/overload.exp: Add xfails.
20166 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
20167 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
20168 add some more template parameter tests (only for HP currently).
20169 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
20170 * gdb.c++/virtfunc.cc: Add return type and value for main.
20171 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
20172 match alternatives.
d63a86f8 20173
a0b3c4fd
JM
201741999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20175
20176 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
20177
201781999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
20179
20180 * gdb.base/signals.exp: Don't expect getting a backtrace from
20181 within a signal handler to fail on Linux.
20182
201831999-07-29 Stan Shebs <shebs@andros.cygnus.com>
20184
20185 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20186 * lib/gdb.exp: Remove some gratuitious semicolons.
20187 (delete_breakpoints): Increase timeout.
20188 (gdb_expect): Add -notransfer option.
20189 (gdb_test): Use -notransfer option.
20190 (get_compiler_info): Add f77 case.
20191 (get_compiler): New proc, split out from gdb_preprocess, add f77
889bf7c5 20192 case.
a0b3c4fd
JM
20193 (gdb_preprocess): Call get_compiler.
20194
20195 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
20196 * gdb.base/attach.exp, gdb.base/display.exp,
889bf7c5
PA
20197 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
20198 gdb.base/long_long.exp, gdb.base/printcmds.exp,
20199 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
20200 third arg to gdb_test.
a0b3c4fd
JM
20201 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
20202 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
889bf7c5 20203 HP-UX xfails, add others.
a0b3c4fd
JM
20204 * gdb.base/completion.exp: Reflect name change of self-test.
20205 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
889bf7c5
PA
20206 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
20207 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
20208 HP failure number.
a0b3c4fd
JM
20209 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
20210 useless HP-UX 10.30 references.
20211 * gdb.base/maint.exp: Loosen matches.
20212 * gdb.base/pointers.c (main): Declare more_code.
20213 * gdb.base/pointers.exp: Match on output of a `next'.
20214 * gdb.base/structs.c: Add prototypes.
20215 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
20216 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
20217
202181999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20219
20220 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
889bf7c5 20221 command.
a0b3c4fd
JM
20222
202231999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20224
20225 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
20226 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
20227
20228 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
20229 debug info. Deal with lack of signal hanlder info in stack.
20230
a9c64011 20231 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
20232 * gdb.base/annota1.exp: If printf has debug info, deal with it.
20233
5a2468f5
JM
202341999-07-19 Stan Shebs <shebs@andros.cygnus.com>
20235
20236 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
889bf7c5 20237 gdb.base/foll-vfork.exp: Don't run for crosses.
5a2468f5 20238
adf40b2e
JM
20239Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
20240
20241 * gdb.base/configure.in: Check for gdbvars.exp instead of
889bf7c5 20242 a1-selftest.exp.
adf40b2e
JM
20243 * gdb.base/configure: Re-generate.
20244
202451999-07-12 Stan Shebs <shebs@andros.cygnus.com>
20246
20247 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
20248 in trying to run first and name is too long.
20249
20250 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
20251 pointers2.c and pointers2.exp, respectively.
20252 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
20253 doschk happier.
20254
43e526b9
JM
202551999-07-08 Stan Shebs <shebs@andros.cygnus.com>
20256
20257 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
20258 callfuncs2.c and callfuncs2.exp.
20259
20260 * gdb.base/list.exp: Remove mistaken xfails.
20261 * gdb.base/list0.h: Add optional prototypes.
20262
9846de1b
JM
20263Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
20264
a9c64011 20265 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
889bf7c5 20266 calling malloc.
a9c64011
AS
20267 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
20268 * ptype.exp: Move test for get_debug_format to before its first
889bf7c5 20269 use.
9846de1b
JM
20270
202711999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20272
20273 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
20274 * gdb.base/annota2.cc, annota2.exp: Move from here.
20275 * gdb.c++/annota2.cc, annota2.exp: To here.
20276 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
20277
43ff13b4
JM
20278Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
20279
20280 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
889bf7c5 20281 a consistent format.
43ff13b4 20282
085dd6e6
JM
202831999-06-25 Stan Shebs <shebs@andros.cygnus.com>
20284
20285 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20286 * lib/gdb.exp (get_compiler_info): Add detection for assorted
20287 HP compilers, also set the globals $true and $false.
20288
20289 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
889bf7c5
PA
20290 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
20291 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
20292 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
20293 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
20294 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
20295 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
20296 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
20297 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
20298 whatis.c} Add C++ compatible function definitions and return
20299 types, add includes for library functions.
085dd6e6
JM
20300 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
20301 * gdb.base/step-test.c (myglob): Rename from glob.
20302 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
889bf7c5
PA
20303 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
20304 files, move here from gdb.hp.
085dd6e6 20305 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
889bf7c5
PA
20306 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
20307 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
20308 Adjust line numbers in regexps.
085dd6e6
JM
20309
20310 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
20311 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
20312 instead of 0/1.
20313
20314 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
20315 foll-vfork.exp: New files, move here from gdb.hp.
20316 * gdb.base/page.exp: New file, test of pagination command.
20317
20318 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
20319 recursion test.
20320 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
20321
20322 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
889bf7c5 20323 gdb.base/solib.exp: Fix compiler invocation process.
085dd6e6
JM
20324
20325 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
889bf7c5 20326 HP-UX 11, turn off overload resolution explicitly.
085dd6e6 20327 * gdb.base/commands.exp: Set argument list explicitly, add
889bf7c5 20328 watchpoint test.
085dd6e6
JM
20329 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
20330 them work.
20331 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
20332 expressions properly.
20333 * gdb.base/corefile.exp: Loosen the match slightly.
20334 * gdb.base/default.exp: Allow "Error accessing memory" message
20335 also.
20336 * gdb.base/display.exp: Skip over x/0 j if PA64.
20337 * gdb.base/funcargs.exp: Add xfails for HP-UX.
20338 * gdb.base/interrupt.exp: Ditto.
20339 * gdb.base/langs.exp: Add symbolic matches governed by compiler
20340 in use.
20341 * gdb.base/list.exp: Add xfails for HP-UX.
20342 * gdb.base/long_long.exp: Refine some of the numeric matches.
20343 * gdb.base/mips_pro.exp: Xfail on HP-UX.
20344 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
20345 * gdb.base/nodebug.exp: Succeed on more varieties of output.
20346 * gdb.base/opaque.exp: Remove some HP-UX xfails.
20347 * gdb.base/ptype.exp: Succeed on more varieties of output.
20348 * gdb.base/scope.exp: Add xfails for HP-UX.
20349 * gdb.base/sect-cmd.exp: Add more cases.
20350 * gdb.base/setvar.exp: Add xfails for HP-UX.
20351 * gdb.base/shlib-call.exp: Loosen some matches slightly.
20352 * gdb.base/signals.exp: Match on void symbolically.
20353 * gdb.base/step-test.exp: Add case for PA64.
20354 * gdb.base/term.exp: Add exit and restart.
20355 * gdb.base/twice.exp: Clean up after self.
20356 * gdb.base/varargs.exp: Disable overload resolution explicitly.
20357 * gdb.base/whatis.exp: Allow more ways to pass tests.
20358
20359 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
889bf7c5 20360 no longer useful.
085dd6e6
JM
20361
20362Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
20363
20364 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
889bf7c5 20365 list of patterns.
085dd6e6 20366 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
889bf7c5
PA
20367 print_double_array(double_array)", "continuing to breakpoint
20368 1018", "print print_double_array(array_d)" and "continuing to
20369 1034" tests.
d63a86f8 20370
085dd6e6
JM
203711999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
20372
a9c64011 20373 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
20374
203751999-06-24 Stan Shebs <shebs@andros.cygnus.com>
20376
20377 * config/mt-*: Remove, these haven't been used since 1996.
20378
203791999-06-22 Stan Shebs <shebs@andros.cygnus.com>
20380
20381 * gdb.base/call-strs.c, gdb.base/ending-run.c,
889bf7c5 20382 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
085dd6e6
JM
20383 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
20384
9e0b60a8
JM
203851999-06-18 Stan Shebs <shebs@andros.cygnus.com>
20386
20387 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
20388 simpler match case for the ptype of the big class.
20389
203901999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20391
20392 * gdb.exp: Fix test for gdb_prompt existence.
20393
203941999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20395
20396 * gdb.exp (gdb_test): Add fail after calls to perror.
20397
203981999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20399
20400 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
20401
204021999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20403
20404 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
20405
0f71a2f6
JM
20406Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
20407
20408 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
889bf7c5 20409 malloc() is linked in.
0f71a2f6
JM
20410
204111999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
20412
20413 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
20414 step at end.
20415
20416 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
20417
204181999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
20419
20420 * gdb.java/jv-print.exp: New file. (Our first Java test!)
20421
cce74817
JM
20422Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
20423
20424 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
20425 * gdb.base/mips_pro.exp: Likewise.
20426
204271999-06-02 Keith Seitz <keiths@cygnus.com>
20428
20429 * gdb.c++/templates.cc: Change all "new" operators to throw
20430 an exception.
20431 * gdb.c++/cplusfuncs.cc: Likewise.
20432
20433 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
20434
20435Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
20436
20437 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
20438 * gdb.base/ending-run.exp: When stepping out of main, accept a
20439 step into an arbitrary assembler file.
cce74817 20440
392a587b
JM
204411999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20442
d63a86f8 20443 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 20444 "breakpoint-invalid" to be printed.
d63a86f8 20445 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
20446 number of "frames-invalid" and "breakpoint-invalid" to be printed.
20447 * gdb.base/annota2.cc: Initialize a.x to 0.
20448
9e086581
JM
204491999-05-17 Keith Seitz <keiths@cygnus.com>
20450
20451 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
20452 when "skip_float_tests" set.
20453 Ditto for "print print_double_array(array_d)", "print print_small_structs",
20454 "print print_ten_doubles", and "step into print_long_arg_list".
20455 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
20456 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
20457 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
20458 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
20459 "skip_float_tests" is set.
20460 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
20461 when "skip_float_tests" set.
d63a86f8 20462
cd0fc7c3
SS
204631999-05-06 Keith Seitz <keiths@cygnus.com>
20464
20465 * gdb.base/annota2.cc: Include stdio.h.
20466
20467Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
20468
20469 * gdb.base/crossload.exp: Remove, this has been disabled ever
20470 since BFD stopped including all targets, and cross-GDB gets
20471 plenty of testing anyway.
20472 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
889bf7c5
PA
20473 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
20474 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
cd0fc7c3
SS
20475 * gdb.base/README: Remove, was doc for this.
20476 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
889bf7c5 20477 needed.
cd0fc7c3 20478
b83266a0
SS
204791999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20480
20481 * gdb.base/call-ar-st.exp: Fix one regular expression in test
20482 output.
20483
20484 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
20485 * gdb.base/annota2.exp: New file. More annotation tests.
20486 * gdb.base/annota1.c: New file. Source file for annota1.exp.
20487 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
20488
204891999-04-23 Angela Marie Thomas <angela@cygnus.com>
20490
20491 * config/cfdbug.exp: New file.
20492
7a292a7a
SS
204931999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
20494
20495 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
20496 Marcus Daniel's and Dale Hawkins's demangler crashes.
20497
20498 * gdb.c++/demangle.exp (test_gnu_style_demangling,
889bf7c5
PA
20499 test_lucid_style_demangling, test_arm_style_demangling,
20500 test_hp_style_demangling): Try Tom Tromey's core-dumping
20501 identifier under each demangling style.
7a292a7a
SS
20502
205031999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
20504
20505 * gdb.c++/demangle.exp: Include the current demangling style
20506 in all test names.
20507 (current_demangling_style): New global variable.
20508 (set_demangling_style, test_demangling_core, test_demangling,
20509 test_demangling_exact): New functions.
20510 (test_gnu_style_demangling, test_lucid_style_demangling,
20511 test_arm_style_demangling, test_hp_style_demangling): Use those,
20512 instead of calling gdb_test and gdb_test_exact directly.
20513 (catch_demangling_errors): New function, which reports errors
20514 signalled by the demangling test functions in an orderly way.
20515 (do_tests): Use catch_demangling_errors.
20516
205171999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
20518
20519 * gdb.base/signals.exp (test_handle_all_print): Use () for
889bf7c5 20520 grouping in expressions, not {}.
7a292a7a
SS
20521
20522 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
889bf7c5 20523 initialized yet.
7a292a7a
SS
20524
205251999-04-01 Stan Shebs <shebs@andros.cygnus.com>
20526
20527 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
20528 are listed.
20529
205301999-03-26 Stan Shebs <shebs@andros.cygnus.com>
20531
20532 * gdb.stabs/weird.exp: Test for CC being defined before
20533 looking at its value.
20534
205351999-03-25 Stan Shebs <shebs@andros.cygnus.com>
20536
20537 * gdb.base/call-ar-st.exp: Remove stray '#'.
20538 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
20539 "short int" and "long int".
20540 * gdb.c++/overload.cc: Cast the string added in the previous
889bf7c5 20541 change, to mollify finicky HP compiler.
7a292a7a
SS
20542 * gdb.hp/reg-test.exp (testfile): Fix file name.
20543 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 20544
7a292a7a
SS
20545 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
20546 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
20547 alternate form of enum ptype.
20548
c906108c
SS
205491999-03-23 Stan Shebs <shebs@andros.cygnus.com>
20550
7a292a7a
SS
20551 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
20552 * gdb.hp/*.exp: Change all to run compiler probe only after
889bf7c5
PA
20553 passing skip_hp_tests, so as not to waste time on guaranteed
20554 failure.
7a292a7a 20555
c906108c
SS
20556 * gdb.c++/overload.cc: Pass string instead of char addr, always
20557 init ccpfoo.
20558 * gdb.c++/templates.cc: Fix syntax error.
20559
7a292a7a
SS
20560Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20561
20562 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 20563 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
20564 command.
20565
205661999-03-18 James Ingham <jingham@cygnus.com>
20567
20568 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
20569
20570 * gdb.c++/method.exp: It was testing an uninitialized int on the
20571 stack and assuming it was positive.
20572
20573 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
20574
20575 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 20576 keep it from killing the rest of the tests.
7a292a7a
SS
20577 Use gdb_continue_to_end.
20578
20579 * gdb.base/sigall.exp: use gdb_continue_to_end.
20580
20581 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
20582
20583 * gdb.base/display.exp: use runto_main, not run.
20584
d63a86f8
RM
20585 * gdb.base/default.exp: Check for the current error message in the
20586 r abbreviation test.
7a292a7a
SS
20587 Add strongarm to the targets that know info float.
20588
d63a86f8 20589 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
20590 run which doesn't work with monitors.
20591
20592 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
20593
20594 * gdb.base/break.exp: use the gdb_continue_to_end proc.
20595
20596 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
20597 program. Traps the case (in Cygmon) when the program never really
20598 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
20599 more places, so I used my name. Sorry Mark...
20600
20601 * config/monitor.exp (gdb_target_monitor): added another
20602 target_info parameter: remotebinarydownload. This will set the
20603 remotebinarydownload flag if this is causing some boards trouble.
20604
206051999-03-18 Mark Salter <msalter@cygnus.com>
20606
20607 * lib/gdb.exp (continue_to_exit): New function.
20608
20609 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
20610 * gdb.base/ending-run.exp: Ditto.
20611 * gdb.base/step-test.exp: Ditto.
20612
206131999-03-16 Stan Shebs <shebs@andros.cygnus.com>
20614
20615 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
20616 (suggested by Art Haas <ahaas@neosoft.com>).
20617
206181999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
20619
889bf7c5 20620 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7a292a7a
SS
20621
20622Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
20623
20624 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
889bf7c5 20625 descriptions of types (short unsigned int vs unsigned short, etc).
7a292a7a
SS
20626
206271999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
20628
20629 * gdb.base/call-strs.exp: Don't assume that `step' will step over
20630 a call to strlen; sometimes we do have sources.
20631
206321999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
20633
20634 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
889bf7c5 20635 character, so GDB won't print garbage after its end.
d63a86f8 20636
c906108c
SS
20637 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
20638 breakpoint there instead. Sometimes GCC emits memcpy to handle
20639 the large structures being passed by value, so we step into that
20640 instead of sum_array_print, which obscures what we're really testing.
20641 * gdb.base/step-test.exp: However, we do want a test that notices
889bf7c5
PA
20642 the bizarre steps into memcpy, so do that here. Add check for
20643 stepping into function calls that pass large structures by value.
20644 ("Is that a noun clause, or are you just happy to see me?")
c906108c
SS
20645 Remove all references to specific line numbers.
20646 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
20647 New type and function.
20648 (main): Call large_struct_by_value, passing it a large struct by value.
20649 * lib/gdb.exp (gdb_get_line_number): New function.
20650
20651 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
20652 more portable.
20653
7a292a7a
SS
206541999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
20655
c906108c
SS
20656 * lib/gdb.exp: Doc fixes.
20657
7a292a7a
SS
206581999-03-05 Nick Clifton <nickc@cygnus.com>
20659
d63a86f8 20660 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
20661
206621999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
20663
c906108c 20664 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
889bf7c5
PA
20665 commands. They're not germane to this test, and they don't work
20666 that way on remote targets.
c906108c 20667
3fc11d3e
JM
206681999-03-01 James Ingham <jingham@cygnus.com>
20669
20670 * Changelog entries merged over from gdb development branch.
20671
3fc11d3e
JM
20672 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
20673
20674 * lib/gdb.exp (gdbtk_analyze_results): Generic function
20675 for outputting results of test run.
20676
2d4a1622 20677 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
20678
20679 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 20680
7a292a7a
SS
206811999-02-25 Felix Lee <flee@cygnus.com>
20682
20683 * lib/gdb.exp (debug_format): initialize
20684
c906108c
SS
206851999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
20686
20687 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
20688 * gdb.base/call-rt-st.c: Ditto.
20689
c906108c
SS
206901999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
20691
20692 * gdb.threads/pthreads.exp (horiz): New variable.
20693 (test_startup): Fix regexps that capture thread numbers.
20694
206951999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
20696
20697 * gdb.base/smoke.exp: Disambiguate two test case names (both
20698 called ``print'').
20699
20700Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
20701
20702 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
889bf7c5 20703 compilation.
c906108c
SS
20704
207051999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
20706
20707 * gdb.base/miscexprs.exp: Change patterns to match GDB's
20708 actual output formatting.
20709 * gdb.base/smoke.exp: GDB removes leading 0's.
20710 * gdb.base/volatile.exp: Don't check type of remuneration;
20711 that variable is no longer defined in constvars.c.
20712 * gdb.base/step-test.c (main): Exit with explicit exit code.
20713 * gdb.base/step-test.exp: Remove two nexti checks--they are
20714 not portable.
20715
207161999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
20717
20718 * gdb.base/help.exp ("help delete display"): Fix test to match
20719 gdb's output.
20720
20721 * gdb.base/long_long.c (known_types): Initialize values to zero.
20722 * gdb.base/long_long.exp: Step one more line
20723 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
20724 leading zeros. Explicitly ask for hex formatting. Use
20725 unique test case names.
c906108c
SS
20726
20727Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20728
d63a86f8 20729 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
20730
20731 * gdb.c++/method.exp: Add missing close brace.
20732
207331999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
20734
20735 * gdb.base/maint.exp: Use 'set height 0' to disable page
20736 prompting, not 'set height 400'.
20737
20738 Fix a bunch of timeouts.
20739 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
20740 four separate tests, so expect doesn't take forever to match a ton
20741 of text against a regexp with lots of .* forms.
20742 ("maint print psymbols", "maint print symbols"): Make some of
20743 these greps more selective, so that expect doesn't try to wade
20744 through huge piles of output and time out.
20745
20746 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
20747
20748 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
889bf7c5
PA
20749 tests: one which doesn't expect shlib events to be reported, and
20750 another which does, but is XFAIL for all platforms other than
20751 HP/UX.
c906108c
SS
20752
20753 * gdb.base/break.exp: Teach the test suite that the `catch
20754 fork', `catch vfork', and `catch exec' commands produce error
20755 messages on platforms that don't provide these features.
20756
20757Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
20758
20759 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
889bf7c5
PA
20760 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
20761 (shortening names from solib_threshold.exp etc), won't run on
20762 anything but HP-UX for the foreseeable future.
c906108c 20763 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
889bf7c5 20764 reflect move.
c906108c
SS
20765
20766Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
20767
20768 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
889bf7c5 20769 gdb.trace/Makefile.in (clean): Remove all test executables.
c906108c
SS
20770
20771Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
20772
20773 * gdb.base/shlib-call.exp: add test cases to verify that gdb
20774 successfully re-sets breakpoints in shared libraries.
20775 * gdb.base/shmain.c (main): return 0, don't fall off the end.
20776
20777Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20778
d63a86f8
RM
20779 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
20780 and compiled w/o GCC.
c906108c
SS
20781
20782 * gdb.hp/watch-cmd.exp: ditto.
20783
20784 * gdb.hp/watch-hp.exp: ditto.
20785
20786 * gdb.hp/xdb1.exp: ditto.
20787
20788 * gdb.hp/xdb2.exp: ditto.
20789
20790 * gdb.hp/dbx.exp: ditto.
20791
20792Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
20793
20794 * constvars.c: Remove C++-isms.
20795 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
889bf7c5 20796 with GCC.
c906108c
SS
20797
20798Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
20799
20800 The following changes are part of the HP merge.
20801
20802 * gdb.base/break.exp: new tests to verify that catchpoints for
20803 fork, vfork, and exec don't trigger inappropriately.
20804
20805 * gdb.base/opaque.exp: compile one file at a time, then link.
20806
20807 * gdb.base/signals.exp: be more restrictive about which hppa
20808 systems receive a setup_xfail. new tests.
20809
20810 * gdb.base/solib_threshold.build: new file.
20811 * gdb.base/solib_threshold.exp: new file.
20812 * gdb.base/solib_threshold.link_opts: new file.
20813 * gdb.base/solib_threshold.mk: new file.
20814 * gdb.base/gen_solib_threshold.c: new file.
20815
20816 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
20817 tests. New tests for enums inside classes.
20818
20819 * gdb.c++/compiler.cc: indicate support of template debugging.
20820
20821 * gdb.c++/demangle.exp: run hp style demangling tests.
20822
20823 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
20824 tests.
20825
20826 * gdb.c++/misc.cc: changes to support new tests.
20827
20828 * gdb.c++/templates.cc: changes to support HP's compiler; changes
20829 to support new tests.
20830
20831 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
20832 gcc, then skip these tests.
20833
20834Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
20835
20836 The following files are part of the HP merge; some had longer
20837 names at HP, but have been renamed to be no more than 14
20838 characters in length.
20839
20840 * gdb.hp/ambiguous.cc: new file.
20841 * gdb.hp/ambiguous.exp: new file.
20842 * gdb.hp/attach.exp: new file.
20843 * gdb.hp/attach2.exp: new file.
20844 * gdb.hp/classes-hp.exp: new file.
20845 * gdb.hp/ctti.exp: new file.
20846 * gdb.hp/ctti-add.cc: new file.
20847 * gdb.hp/ctti-add1.cc: new file.
20848 * gdb.hp/ctti-add2.cc: new file.
20849 * gdb.hp/ctti-add3.cc: new file.
20850 * gdb.hp/dbx.exp: new file.
20851 * gdb.hp/exception.cc: new file.
20852 * gdb.hp/exception.exp: new file.
20853 * gdb.hp/foll-exec.c: new file.
20854 * gdb.hp/foll-exec.exp: new file.
20855 * gdb.hp/foll-fork.c: new file.
20856 * gdb.hp/foll-fork.exp: new file.
20857 * gdb.hp/foll-vfork.c: new file.
20858 * gdb.hp/foll-vfork.exp: new file.
20859 * gdb.hp/inherit-hp.exp: new file.
20860 * gdb.hp/more-steps.exp: new file.
20861 * gdb.hp/namespace.cc: new file.
20862 * gdb.hp/namespace.exp: new file.
20863 * gdb.hp/optimize.exp: new file.
20864 * gdb.hp/pxdb.c: new file.
20865 * gdb.hp/pxdb.exp: new file.
20866 * gdb.hp/quicksort.exp: new file.
20867 * gdb.hp/reg-test.exp: new file.
20868 * gdb.hp/reg-test.s: new file.
20869 * gdb.hp/sized-enum.c: new file.
20870 * gdb.hp/sized-enum.exp: new file.
20871 * gdb.hp/start-stop.exp: new file.
20872 * gdb.hp/templ-hp.cc: new file.
20873 * gdb.hp/templ-hp.exp: new file.
20874 * gdb.hp/thr-lib.c: new file.
20875 * gdb.hp/thr-lib.exp: new file.
20876 * gdb.hp/thr-lib.h: new file.
20877 * gdb.hp/thr-liblib.c: new file.
20878 * gdb.hp/virtfun-hp.c: new file.
20879 * gdb.hp/virtfun-hp.exp: new file.
20880 * gdb.hp/watch-cmd.exp: new file.
20881 * gdb.hp/watch-hp.exp: new file.
20882 * gdb.hp/xdb1.exp: new file.
20883 * gdb.hp/xdb2.exp: new file.
20884 * gdb.hp/xdb3.exp: new file.
20885
20886Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
20887
20888 The following files are part of the HP merge; some had longer
20889 names at HP, but have been renamed to be no more than 14
20890 characters in length.
20891
20892 * gdb.base/ss.h: new file.
20893 * gdb.base/call-ar-st.c: new file.
20894 * gdb.base/call-ar-st.exp: new file.
20895 * gdb.base/call-rt-st.c: new file.
20896 * gdb.base/call-rt-st-exp: new file.
20897 * gdb.base/call-strs.exp: new file.
20898 * gdb.base/ena-dis-br.exp: new file.
20899 * gdb.base/environ.exp: new file.
20900 * gdb.base/long_long.exp: new file.
20901 * gdb.base/sect-cmd.exp: new file.
20902 * gdb.base/shlib-cl2.exp: new file.
20903 * gdb.base/smoke.exp: new file.
20904 * gdb.base/so-impl-ld.c: new file.
20905 * gdb.base/so-impl-ld.exp: new file.
20906 * gdb.base/so-indr-cl.c: new file.
20907 * gdb.base/so-indr-cl.exp: new file.
20908 * gdb.base/varargs.exp: new file.
20909 * gdb.base/volatile.exp: new file.
20910 * gdb.base/whatis-exp.exp: new file.
7a292a7a 20911 * gdb.base/display.exp: new file.
c906108c
SS
20912 * gdb.c++/derivation.exp: new file.
20913 * gdb.c++/local.exp: new file.
20914 * gdb.c++/member-ptr.exp: new file.
20915 * gdb.c++/overload.exp: new file.
20916 * gdb.c++/ovldbreak.exp: new file.
20917 * gdb.c++/ref-types.exp: new file.
20918 * gdb.c++/ref-types2.exp: new file.
20919 * gdb.c++/userdef.exp: new file.
d63a86f8 20920
c906108c
SS
20921Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
20922
20923 * gdb.base/default.exp: Reflect wording change in remote.c.
20924
dc96c6c7 20925Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20926
20927 * gdb.base/help.exp: Update to reflect current text.
20928
20929Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
20930
20931 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
20932 they're stack variables and contain garbage.
20933 * gdb.c++/anon-union.exp: new file.
20934
20935 The following changes were made by David Taylor
889bf7c5
PA
20936 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
20937 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
20938 in changes by HP.
c906108c
SS
20939
20940 * gdb.base/bitops.exp: new file.
20941 * gdb.base/default.exp: change expected messages for catch and
20942 info catch tests to reflect HP merge changes.
20943 * gdb.base/enable-disable-break.exp
20944 * gdb.base/ending-run.c: new file.
20945 * gdb.base/long_long.c: new file.
20946 * gdb.base/maint.exp: new file.
20947 * gdb.base/pointers2.exp: new file.
20948 * gdb.base/shlib-call2.exp: new file.
20949 * gdb.base/solib.exp: new file.
20950 * gdb.base/step-test.c: new file.
20951 * gdb.c++/anon-union.cc: new file.
20952 * gdb.c++/local.cc: new file.
20953 * gdb.c++/member-pointer.cc: new file.
20954 * gdb.c++/method.cc: new file.
20955 * gdb.c++/ref-types.cc: new file.
20956 * gdb.c++/ref-types2.cc: new file.
20957 * gdb.c++/userdef.cc: new file.
d63a86f8 20958
c906108c
SS
20959 * gdb.base/scope.exp: compile one file at a time, then link.
20960 * gdb.base/langs.exp: ditto.
20961 * gdb.base/list.exp: ditto.
d63a86f8 20962
c906108c
SS
20963Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
20964
20965 The following changes were made by David Taylor
889bf7c5
PA
20966 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
20967 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
20968 in changes by HP.
d63a86f8 20969
c906108c
SS
20970 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
20971 skip tests. When compiling pass c++ flag to gdb_compile.
20972 * gdb.c++/
d63a86f8 20973
c906108c
SS
20974 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
20975 test for on hppa*-*-hpux*; use args to see if c++ was specified.
20976 (skip_hp_tests): new function.
20977 (gdb_preprocess): new function.
20978
20979 * configure.in (hpdir): decide whether to configure gdb.hp.
20980 * configure: regenerated.
20981
20982 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
20983 to delete on clean.
20984 (EXECUTABLES): update to reflect new additions.
20985 * gdb.base/commands.exp: update message expected.
20986 * gdb.base/default.exp: add copyright notice.
20987 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
20988 * gdb.base/help.exp: update messages to reflect current text.
20989 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
20990 targets for recurse tests.
20991 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
20992 skip this file.
20993
20994 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
20995 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
20996 compilation.
20997 * gdb.c++/misc.exp: ditto.
20998 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
20999 run the tests. tell gdb_compile that it's a c++ compilation.
21000
21001 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 21002
c906108c
SS
21003 * gdb.base/all-bin.exp: new file.
21004 * gdb.base/arithmet.exp: new file.
21005 * gdb.base/assign.exp: new file.
21006 * gdb.base/completion.exp: new file.
21007 * gdb.base/cond-expr.exp: new file.
21008 * gdb.base/condbreak.exp: new file.
21009 * gdb.base/define.exp: new file.
21010 * gdb.base/dollar.exp: new file.
21011 * gdb.base/environment.exp: new file.
21012 * gdb.base/eval-skip.exp: new file.
21013 * gdb.base/jump.exp: new file.
21014 * gdb.base/logical.exp: new file.
21015 * gdb.base/pointers.exp: new file.
21016 * gdb.base/relational.exp: new file.
21017 * gdb.base/section_command.exp: new file.
21018 * gdb.base/whatis-expr.exp: new file.
21019
21020 * gdb.base/all-types.c: new file.
21021 * gdb.base/call-array-struct.c: new file.
21022 * gdb.base/call-return-struct.c: new file.
21023 * gdb.base/call-strings.c: new file.
21024 * gdb.base/callfuncs2.c: new file.
21025 * gdb.base/condbreak.c: new file.
21026 * gdb.base/constvars.c: new file.
21027 * gdb.base/display.c: new file.
21028 * gdb.base/int-type.c: new file.
21029 * gdb.base/jump.c: new file.
21030 * gdb.base/miscexprs.c: new file.
21031 * gdb.base/pointers.c: new file.
21032 * gdb.base/pointers2.c: new file.
21033 * gdb.base/shmain.c: new file.
21034 * gdb.base/shr1.c: new file.
21035 * gdb.base/shr2.c: new file.
21036 * gdb.base/solib.c: new file.
21037 * gdb.base/solib1.c: new file.
21038 * gdb.base/solib2.c: new file.
21039 * gdb.base/varargs.c: new file.
21040 * gdb.c++/derivation.cc: new file.
21041 * gdb.c++/overload.cc: new file.
21042 * gdb.c++/ovldbreak.cc: new file.
21043 * gdb.hp/attach.c: new file.
21044 * gdb.hp/attach2.c: new file.
21045 * gdb.hp/average.c: new file.
21046 * gdb.hp/compiler.c: new file.
21047 * gdb.hp/compiler.cc: new file.
21048 * gdb.hp/execd-program.c: new file.
21049 * gdb.hp/follow-exec.c: new file.
21050 * gdb.hp/follow-fork.c: new file.
21051 * gdb.hp/follow-vfork-and-exec.c: new file.
21052 * gdb.hp/misc-hp.cc: new file.
21053 * gdb.hp/more-steps.c: new file.
21054 * gdb.hp/optimize.c: new file.
21055 * gdb.hp/quicksort.c: new file.
21056 * gdb.hp/run-hp.c: new file.
21057 * gdb.hp/start-stop.c: new file.
21058 * gdb.hp/sum.c: new file.
21059 * gdb.hp/templates-hp.cc: new file.
21060 * gdb.hp/thread-local-in-lib.c: new file.
21061 * gdb.hp/thread-local-in-lib.h: new file.
21062 * gdb.hp/thread-local-in-lib.lib.c: new file.
21063 * gdb.hp/vforked-program.c: new file.
21064 * gdb.hp/virtfunc-hp.cc: new file.
21065 * gdb.hp/watchpoint-hp.c: new file.
21066 * gdb.hp/xdb.c: new file.
21067 * gdb.hp/xdb0.c: new file.
21068 * gdb.hp/xdb0.h: new file.
21069 * gdb.hp/xdb1.c: new file.
21070
21071Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
21072
21073 The following change was made by Edith Epstein
889bf7c5
PA
21074 <eepstein@cygnus.com> as part of a project to merge in changes
21075 originally made by HP; HP did not create ChangeLog entries.
c906108c
SS
21076
21077 * gdb.c++/demangle.exp: changed the expected output for some
21078 ARM-style mangling -- removed second reference to datatype.
889bf7c5 21079 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 21080 T1<char>::~T1<char>(void)
c906108c 21081 becomes,
a9c64011
AS
21082 maint demangle __dt__11T1__pt__2_cFv
21083 T1<char>::~T1(void)
c906108c 21084
889bf7c5 21085 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 21086
c906108c
SS
21087Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
21088
21089 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
21090 * gdb.trace/backtrace.exp: Likewise.
21091 * gdb.trace/circ.exp: Likewise.
21092 * gdb.trace/collection.exp: Likewise.
21093 * gdb.trace/deltrace.exp: Likewise.
21094 * gdb.trace/infotrace.exp: Likewise.
21095 * gdb.trace/limits.exp: Likewise.
21096 * gdb.trace/packetlen.exp: Likewise.
21097 * gdb.trace/passc-dyn.exp: Likewise.
21098 * gdb.trace/passcount.exp: Likewise.
21099 * gdb.trace/report.exp: Likewise.
21100 * gdb.trace/save-trace.exp: Likewise.
21101 * gdb.trace/tfind.exp: Likewise.
21102 * gdb.trace/tracecmd.exp: Likewise.
21103 * gdb.trace/while-dyn.exp: Likewise.
21104 * gdb.trace/while-stepping.exp: Likewise.
21105
211061998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
21107
21108 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
21109
21110Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
21111
21112 From Brendan Kehoe:
21113 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
21114 int return types.
21115
21116Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
21117
21118 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
889bf7c5 21119 remote dos host testing right.
c906108c
SS
21120
21121Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
21122
21123 * gdb.base/corefile.exp: remove some xfails.
21124
21125Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
21126
21127 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
889bf7c5 21128 have different timestamps.
c906108c
SS
21129
21130Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
21131
21132 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
889bf7c5 21133 gdb.base/default.exp: Replace "exec" with "executable".
c906108c
SS
21134
21135Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
21136
21137 * gdb.base/default.exp: Change else if to elseif from previous
889bf7c5 21138 delta.
c906108c
SS
21139
21140Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
21141
21142 * gdb.base/default.exp: Add brace missing from previous delta.
21143
21144Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
21145
21146 * gdb.base/default.exp: Support test for info float for all
21147 varieties of arm toolchain.
21148
dc96c6c7 21149Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21150
21151 * gdb.trace/*.exp: remove "remote_download" command.
21152
dc96c6c7 21153Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21154
21155 * gdb.trace/*.exp: remove -gdwarf from compile.
21156
21157Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
21158
21159 * gdb.trace/configure.in(AC_INIT): typo
21160 * gdb.trace/configure: regenerated
21161
dc96c6c7 21162Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21163
21164 * config/m68k-emc.exp: New file.
21165 * lib/<emc-support.exp trace-support.exp}: New files.
21166 * configure.in: add new test directory gdb.trace.
21167 * gdb.trace/{configure configure.in Makefile.in}: New files.
21168 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
21169 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
21170 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
21171 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
21172 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
21173 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
21174 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 21175
dc96c6c7 21176Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21177
21178 * gdb.c++/classes.exp: Change all regular expressions to match
21179 arbitrary combinations of newline/carriage-return, so that they
21180 will work equally well on Unix and Windows.
21181 * gdb.c++/inherit.exp: ditto.
21182 * gdb.c++/virtfunc.exp: ditto.
21183
211841998-08-11 Dawn Perchik <dawn@cygnus.com>
21185
21186 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
21187
c2d11a7d
JM
21188Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
21189
21190 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
21191 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
21192 to use a0-a3/d0-d3 as needed.
21193
21194Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
21195
21196 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
21197 * gdb.disasm/am33.exp: Corresponding changes.
21198
c906108c
SS
211991998-07-11 Felix Lee <flee@cygnus.com>
21200
21201 * gdb.base/callfuncs.exp: add cmp10 test.
21202 * gdb.base/callfuncs.c (cmp10): new function.
21203
21204Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
21205
d63a86f8 21206 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
21207 into two parts to get around a synchronization problem in expect.
21208
3fc11d3e
JM
21209Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
21210
21211 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
21212
21213 * configure.in: Add options for gdbtk testsuite.
21214
21215 * configure: Regenerate.
21216
21217 * gdb.gdbtk: New directory to hold gdbtk tests.
21218
c906108c
SS
21219Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
21220
21221 * gdb.fortran/types.exp: Escape brackets in expect patterns
21222 for test_float_literal_types_accepted tests.
21223 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
21224 before run test.
21225
c2d11a7d
JM
21226Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
21227
21228 * am33.exp: Just compile, do not link the testcase.
21229 * am33.s: Add ".am33" pseudoop to force am33 mode.
21230
c906108c
SS
212311998-06-25 Felix Lee <flee@cygnus.com>
21232
21233 * gdb.base/setshow.exp: make sure $pc is sane.
21234
21235 * gdb.stabs/weird.exp: split expect patterns properly.
21236
c2d11a7d
JM
21237Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
21238
21239 * gdb.disasm/am33.s: New disassembler testfile for the am33.
21240 * gdb.disasm/am33.exp: Run it.
21241
dc96c6c7 21242Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21243
21244 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
21245 match processing (and eliminate spurious timeouts when running).
21246
dc96c6c7 21247Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21248
21249 * gdb.base/signals.exp (test_handle_all_print): put back Mach
21250 exception test, but conditionalize it on target [mach | gnu].
21251
dc96c6c7 21252Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21253
21254 * gdb.base/overlays.exp: fixup compile line for linker script.
21255
21256Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
21257
21258 * gdb.fortran/types.exp: don't guess at float size.
21259
21260Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
21261
21262 * gdb.base/exprs.exp: delete test that depends on int size.
21263
21264Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
21265
21266 * config/sim.exp: Removed checks for target triplets.
21267 (gdb_target_sim): Use gdb,target_sim_options.
21268
21269Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
21270
21271 * gdb.base/reread.exp: New file.
21272 * gdb.base/reread1.c: New file.
21273 * gdb.base/reread2.c: New file.
21274
21275Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
21276
21277 * config/sim.exp: Use 'target sim -sparclite' when running
21278 SPARClite programs.
21279
21280Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
21281
21282 * gdb.base/structs2.exp: New file.
21283 * gdb.base/structs2.c: New file.
21284
21285Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
21286
21287 * gdb.asm/common.inc: New file.
21288 * gdb.asm/d10v.inc: New file.
21289 * asm-source.exp: Pass -I's to gas to find .inc files.
21290 Update line numbers in expected output.
21291 * asmsrc1.s: Rewrite.
21292 * asmsrc2.s: Rewrite.
21293 * configure.in: Create arch.inc symlink.
21294 * configure: Regenerate.
21295 * Makefile.in (distclean): Delete arch.inc.
21296
21297Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
21298
21299 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
889bf7c5
PA
21300 (t_enum_value2): ditto
21301 (t_enum_value3): ditto
21302 (main): ditto
c906108c
SS
21303Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
21304
21305 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
21306 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
21307 change.
21308 Use gdb_test instead of send_gdb/gdb_expect sequences.
21309
21310Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
21311
21312 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
21313 not void.
21314
21315Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
21316
21317 * gdb.base/branches.c: Code with lots of loops and
889bf7c5
PA
21318 subroutines. Used to test gdbs ability to single step through PC
21319 changes, especially to test mips-tdep.c:mips_next_pc
c906108c
SS
21320
21321Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
21322
21323 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
21324 more rigorous EGCS C++ error checking.
21325
21326Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21327
a9c64011
AS
21328 * gdb.base/help.exp: Clean up `help set args' and `help show args'
21329 tests.
21330 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
21331 function when asleep.
21332 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
21333 for i*86 Linux and SVR4 signal handling problems.
21334 Remove linux xfail for `next to handler in signals_tests_1', fixed
21335 by recent infrun.c change.
21336 Limit backtrace to 10 frames to avoid timeout problems with infinite
21337 stack backtraces.
21338 Adjust expect pattern in `handle all print' test to match Apr 28 1997
21339 target.[ch] change.
c906108c
SS
21340
21341Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
21342
21343 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
21344 for a newline from gdb before continuing.
21345 (default_gdb_exit): Just look for y or n.
21346 (gdb_test): Detect abnormal exit from GDB running on DOS; if
21347 it does, fail the rests of the tests in the file.
21348
21349Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
21350
21351 * config/cygmon.exp: New file.
21352
21353Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
21354
21355 * gdb.base/list.exp: Fix problem with "list default lines around
889bf7c5 21356 main" test on remote targets.
c906108c
SS
21357
21358 * gdb.base/scope.exp: Fix problem with filelocal_bss before
21359 run test on remote targets.
21360
21361Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
21362
21363 * gdb.asm: New directory.
21364 * configure.in: Configure it.
21365 * configure: Regenerate.
21366 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
21367 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
21368
21369Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
21370
21371 * config/mn10300-eval.exp: New file to support MN10300 eval board.
21372
dc96c6c7 21373Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 21374
a9c64011
AS
21375 * gdb.base/overlays (several files): Merge the two overlay
21376 managers into one. Change variables (foox, barx, bazx, grbxx)
21377 back into ints but force them to load in their proper sections.
c906108c
SS
21378
21379Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
21380
21381 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
889bf7c5 21382 on-chip insn memory and IMAP1 to upper 128k.
c906108c
SS
21383 (D10VCopy): Handle memory regions crossing 16k boundaries.
21384 (D10VCopy): Transfer data in 32 bit chunks.
21385
21386Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
21387
21388 * gdb.base/overlays.c (main): Exit normally when result is
889bf7c5 21389 correct.
c906108c
SS
21390
21391 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
889bf7c5 21392 map. Include space for printf in .text segment.
c906108c
SS
21393
21394 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
889bf7c5 21395 updated d10v memory VMA/LMA map.
c906108c 21396 (D10VCopy): Call D10VTranslate.
d63a86f8 21397
c906108c
SS
21398Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
21399
21400 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
21401
21402 * gdb.base/bar.c (barx, bar): Change variable to small array so
889bf7c5
PA
21403 that it won't be put into the .sdata - small data -
21404 section. Update reference.
c906108c
SS
21405 * gdb.base/baz.c (bazx, baz): Ditto.
21406 * gdb.base/foo.c (foox, foo): Ditto.
21407 * gdb.base/grbx.c (grbxx, grbx): Ditto.
21408
21409 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
889bf7c5 21410 to be arrays.
d63a86f8 21411
dc96c6c7 21412Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 21413
a9c64011
AS
21414 * gdb.base/overlays.exp: fix up and get working again.
21415 Add tests for backtraces from an overlay function.
d63a86f8 21416
c906108c
SS
21417Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
21418
21419 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
21420 "calling function with watchpoint enabled".
21421
21422Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
21423
21424 * gdb.base/break.exp (test_next_with_recursion): Remove
889bf7c5 21425 gdb_suppress_tests for d10v-*-*.
c906108c
SS
21426 * lib/gdb.exp (gdb_suppress_tests): Disable this function
21427 pending review of whether it is useful or not.
21428
21429Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
21430
21431 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
21432
21433Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
21434
21435 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
21436 * config/dve.exp: New file to support Densan boards.
21437
21438Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
21439
21440 * gdb.base/interrupt.exp: Document problem of simulators, signals,
889bf7c5 21441 reads and BSD.
c906108c
SS
21442
21443Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
21444
21445 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
21446 response.
21447
21448 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
21449
21450Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
21451
21452 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
889bf7c5 21453 test.
c906108c
SS
21454
21455 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
889bf7c5 21456 target_sizeof_long and target_bigendian_p.
c906108c 21457 (structs_by_value, structs_by_reference): Check values according
889bf7c5 21458 to targets word size and endianess.
d63a86f8 21459
c906108c
SS
21460Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
21461
21462 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
889bf7c5 21463 output.
c906108c
SS
21464
21465Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
21466
21467 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
889bf7c5 21468 Update test of set args help to match source change.
c906108c
SS
21469
21470Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
21471
21472 * gdb.base/default.exp: Expect help system output to be in
21473 alphabetical order.
21474 * gdb.base/help.exp: Ditto.
21475
21476Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
21477
21478 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
21479 "i*86-pc-linux-gnu*".
21480 * gdb.base/interrupt.exp: Ditto.
21481 * gdb.base/corefile.exp: Ditto.
21482
21483 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
889bf7c5 21484 define vxworks when building the testcase.
c906108c
SS
21485
21486 * gdb.base/ptype.exp: Fix testnames to be unique.
21487 * gdb.base/radix.exp: Ditto.
21488 * gdb.base/term.exp: Ditto.
21489 * gdb.base/whatis.exp: Ditto.
21490 * gdb.c++/classes.exp: Ditto.
21491
21492Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
21493
21494 * gdb.base/callfuncs.exp: Fix indentation.
21495
21496 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
21497 suppress_flag has been set.
21498 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
21499 target feature.
21500
21501Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
21502
21503 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
21504 the testcase.
21505
21506 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
889bf7c5 21507 set_debug_traps() and breakpoint().
c906108c
SS
21508 * gdb.c++/misc.cc (main): Ditto.
21509 * gdb.c++/templates.cc (main): Ditto.
21510 * gdb.c++/virtfunc.cc (main): Ditto.
21511
21512Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
21513
21514 * lib/gdb.exp(gdb_step_for_stub): New function.
21515 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
21516 exists, reload the executable and do a "continue" instead of
21517 doing a jump.
21518 (runto_main): Use gdb_step_for_stub.
d63a86f8 21519
c906108c 21520 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
889bf7c5 21521 tests to have unique names.
c906108c
SS
21522 * gdb.base/callfuncs.exp: Ditto.
21523 * gdb.base/commands.exp: Ditto.
21524 * gdb.base/default.exp: Ditto.
21525 * gdb.base/help.exp: Ditto.
21526 * gdb.base/list.exp: Ditto.
21527 * gdb.base/opaque.exp: Ditto.
21528 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
21529 similar tests.
d63a86f8 21530
c906108c
SS
21531 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
21532 * gdb.c++/cplusfuncs.cc: Ditto.
21533 * gdb.c++/virtfunc.cc: Ditto.
21534
21535 * config/monitor.exp: Keep track of the last file we saw, rather
21536 than trying to get the info from gdb.
21537
21538 * gdb.fortran/types.exp: Move comment to previous line.
21539
21540Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
21541
21542 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
889bf7c5 21543 target mode.
c906108c
SS
21544
21545Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
21546
21547 From Bob Manson:
21548 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
889bf7c5 21549 string from GDB when it connects.
c906108c
SS
21550
21551 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
21552
21553Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
21554
21555 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
889bf7c5
PA
21556 if we can't get a debug format from GDB (we may be testing an
21557 older GDB). Use a 10 second timeout when checking for the format.
c906108c
SS
21558
21559 * gdb.stabs/weird.exp: Fix quoting.
21560
21561 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
21562
21563Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
21564
21565 * config/arm-ice.exp: New file.
21566
21567Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
21568
21569 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
889bf7c5 21570 until it has been modified to work with the new testsuite.
c906108c 21571
99707966 21572 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
889bf7c5
PA
21573 testcase won't compile, cause all of the testcases in the file to
21574 fail instead.
c906108c
SS
21575
21576 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
21577 (gdb_clear_suppressed): New procedure.
21578 (gdb_stop_suppressing_tests): Only clear suppress_flag if
21579 it contains a positive value.
21580
21581Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
21582
21583 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
21584
21585 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
21586
21587Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
21588
21589 * lib/gdb.exp (setup_xfail_format): New function.
21590 (get_debug_format): New function to get debug format.
21591 (debug_format): New global variable to hold last value set
21592 by get_debug_format.
21593 * gdb.base/list.exp: Call get_debug_format and expect some
889bf7c5 21594 tests to fail for DWARF 1 and COFF formats.
c906108c
SS
21595 * gdb.c++/ptype.exp: Ditto.
21596 * gdb.c++/classes.exp: Ditto.
21597 * gdb.c++/cplusfuncs.exp: Ditto.
21598 * gdb.c++/inherit.exp: Ditto.
21599 * gdb.c++/templates.exp: Ditto.
21600 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 21601
c906108c
SS
21602Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
21603
21604 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
21605 host doesn't have a currently-open connection.
21606
21607 * config/sparclet.exp: Cleanups and fixes to make it generic for
889bf7c5
PA
21608 any gdb stub target. Handle cases where gdb doesn't respond when
21609 interrupted in a sane fashion.
c906108c
SS
21610
21611 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
889bf7c5 21612 same thing in a totally different way.
c906108c
SS
21613
21614 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
889bf7c5 21615 setting "timeout".
c906108c 21616 (gdb_start): We set the global gdb_prompt variable in
889bf7c5 21617 default_gdb_init now.
c906108c
SS
21618
21619Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
21620
21621 * gdb.base/printcmds.exp: Fix "check for floating addition"
21622 regexp to accept results within approx +/- .01 of exact value.
21623 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
21624
21625Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
21626
21627 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
889bf7c5 21628 properly.
c906108c
SS
21629 (gdb_expect): Add optional timeout parameter, and add timeout
21630 value to various calls.
21631 (gdb_suppress_tests): Only give one warning message per group.
21632
21633Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
21634
21635 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
889bf7c5
PA
21636 global variables. Handle getting a value for $timeout more
21637 gracefully.
c906108c
SS
21638
21639Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
21640
21641 * lib/gdb.exp: Close connection to remote host if gdb doesn't
889bf7c5 21642 initialize.
c906108c 21643 (default_gdb_init): New procedure; allow gdb_init to be overridden
889bf7c5 21644 by a target configuration file.
c906108c
SS
21645 (gdb_expect): Pass the timeout to remote_expect.
21646
21647 * config/monitor.exp(gdb_load): Fix typo in regexp.
21648
21649Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
21650
21651 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
21652
21653Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
21654
21655 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
889bf7c5
PA
21656 here. Call gdb_target_exec before rebooting the target, to make
21657 sure the connection to the target is closed.
c906108c
SS
21658 (gdb_load): Pass the name of the executable to gdb_target_monitor.
21659 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
21660 Also detect "Timeout reading from remote" error.
21661
21662 * config/gdbserver.exp: Pass the executable being loaded to
889bf7c5
PA
21663 gdb_target_monitor. Don't call gdb_file_cmd here; let
21664 gdb_target_monitor do it.
c906108c
SS
21665
21666 * gdb.disasm/hppa.exp: Don't use exec_output.
21667
21668Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
21669
21670 * gdb.base/list.exp: If we're debugging a non-native target,
21671 try to set the pc register to point to the start of the
21672 program before doing the first list command.
21673
21674 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
889bf7c5 21675 test_calls after restarting.
c906108c
SS
21676
21677 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
889bf7c5 21678 reloading.
c906108c
SS
21679
21680 * gdb.base/watchpoint.exp: Fix typo.
21681
21682 * gdb.base/setshow.exp: Check for use_gdb_stub.
21683
21684 * gdb.base/break.exp: Fix continue until exit test for the gdb
889bf7c5 21685 stub case.
c906108c
SS
21686 * gdb.base/langs.exp: Ditto.
21687
21688 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
889bf7c5
PA
21689 gdb_load_offset. If we weren't given a file to load, figure out
21690 what the current file is and use it.
c906108c
SS
21691
21692 * config/i386-bozo.exp: New file.
21693
21694Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
21695
21696 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
21697 feature.
21698
21699 * config/proelf.exp: New entry.
21700
21701Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
21702
21703 * lib/gdb.exp: Remove spurious .* patterns at the beginning
21704 of regexps.
21705
21706 * gdb.base/watchpoint.exp: Don't run the test_stepping
21707 tests if gdb can't call functions on the target.
21708
21709 * gdb.base/setshow.exp: Don't run the set prompt tests if
21710 the board has gdb_prompt set.
21711
21712Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
21713
21714 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
21715 * gdb.base/commands.exp: Likewise.
21716 * gdb.base/setshow.exp: Likewise.
21717
21718Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
21719
21720 * config/monitor.exp(gdb_start): Look for gdb_prompt target
21721 feature.
21722
21723 * config/i960.exp: New file.
21724
21725Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
21726
21727 * gdb.base/funcargs.exp: Check for gdb,short_int target
21728 feature instead of looking for explicit target triplets.
21729
dc96c6c7 21730Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 21731
d63a86f8 21732 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
21733 "p 123DEADBEEF", to check parse_number.
21734 * top.c: change "to enable to enable" to "to enable" in a couple
21735 of help strings.
21736
21737Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
21738
21739 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
21740 on the mn10300.
d63a86f8 21741
c906108c
SS
21742Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
21743
21744 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
21745 where the test executable is run with explicit args.
21746 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
21747
21748Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
21749
21750 * gdb.base/run.c: Use FAKEARGV to build test executable that
21751 does not require a command line arg, since most simulators
21752 don't currently support passing such an arg into the simulated
21753 program.
21754 * gdb.base/commands.exp: Change tests to insert the proper
21755 value as the arg to the first recursive factorial call. Change
21756 compilation line to define FAKEARGV at compile time.
21757
21758Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
21759
21760 * gdb.base/recurse.exp: Enable these tests for the mn10300.
21761 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
21762 function with watchpoint enabled" test.
21763
21764Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
21765
21766 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
889bf7c5 21767 Don't call gdb_test when the command doesn't return to a gdb prompt.
c906108c
SS
21768
21769 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
889bf7c5 21770 "Tests restarted" messages.
c906108c
SS
21771
21772Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
21773
21774 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
21775
dc96c6c7 21776Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21777
21778 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
21779 for INFO SYMBOL; add help tests for OVERLAY commands.
21780 * gdb.base/default.exp: add tests for INFO SYMBOL command;
21781 add tests for OVERLAY commands
21782 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
21783 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
21784 * gdb.base/sigall.c: add usestubs code frag
21785 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 21786
c906108c
SS
21787Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
21788
21789 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
21790 failures.
21791 (gdb_stop_suppressing_tests): Note that tests have restarted.
21792
21793Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
21794
21795 * config/h8300.exp: New file.
21796
21797Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
21798
21799 * gdb.base/setshow.exp: Check for the existence of a
21800 feature, not its value.
21801
21802Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
21803
21804 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
21805
21806 * gdb.base/scope.exp: It's now init0(), not init().
21807
21808 * gdb.base/scope0.c: For now, change init() to be init0().
21809
21810 * config/monitor.exp: Use gdb_serial in preference to serial
21811 or netport.
21812
21813 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
889bf7c5 21814 and it's not already set.
c906108c
SS
21815
21816Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
21817
21818 * gdb.base/setshow.exp: Only test the run command if the target
889bf7c5 21819 isn't using a stub and if it supports argument passing.
c906108c
SS
21820
21821Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
21822
21823 * config/udi.exp(gdb_start): Make sure UDICONF is set
21824 properly before starting gdb.
21825
21826Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
21827
21828 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
21829 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
21830 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
21831
21832Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
21833
21834 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
889bf7c5 21835 specialized code to reboot the board, use remote_reboot instead.
c906108c
SS
21836
21837 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
21838
21839 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
21840
21841 * config/monitor.exp: Make sure we disconnect from the target.
21842 Also, try a reboot/reload cycle instead of failing if the
21843 load fails.
21844
21845Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
21846
21847 * gdb.base/default.exp: Don't set match_max.
21848 * gdb.base/help.exp: Ditto.
21849 * gdb.base/list.exp: Ditto.
21850 * gdb.base/signals.exp: Ditto.
21851
21852 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
21853 set, use remote_ld to download the testcase instead of
21854 the GDB loader.
21855
21856Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
21857
21858 * config/vr5000.exp: New file.
21859
21860 * config/monitor.exp(gdb_target_monitor): Add pattern for
21861 "Ending remote" to detect errors in connecting.
21862
21863 * gdb.base/setshow.exp: Add .* within auto language test.
21864
21865 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
21866 target feature.
21867
21868 * config/monitor.exp(gdb_load): Check for a failure when loading,
889bf7c5 21869 and reboot the board if necessary.
c906108c
SS
21870
21871 * gdb.base/setvar.exp(test_set): Handle multiple prints within
21872 a set of tests. Remove print.* from the patterns being checked.
21873
21874Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
21875
21876 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
21877 refer to gdb_spawn_id.
21878
21879 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
21880 longer used.
21881 * config/sparclet.exp: Ditto.
21882 * config/sparclet-old.exp: Ditto.
21883 * config/slite.exp: Ditto.
21884 * config/sim.exp: Ditto.
21885 * gdb.base/funcargs.exp: Ditto.
21886
21887 * lib/gdb.exp:Remove references to gdb_spawn_id.
21888 (gdb_expect): Move to remote.exp.
21889
21890Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
21891
21892 * config/monitor.exp: Detect the "Couldn't establish connection"
21893 message from GDB.
21894
21895Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
21896
21897 * gdb.base/bitfields.exp: Use runto instead of explicit
21898 gdb_run_cmd/gdb_expect sequences.
21899
21900 * gdb.base/break.exp(text_next_with_recursion): Add match for
21901 gdb_expect call.
21902
21903 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
21904 We also need to handle the "A program is being debugged already"
21905 prompt from gdb. Use gdb_test to set the baud rate.
21906
21907 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
21908 to 20000. Really. I mean it.
21909
21910Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
21911
21912 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
889bf7c5
PA
21913 fails. If suppress_flag is set, skip perror message about not
21914 being able to send to GDB.
c906108c 21915 (send_gdb): If suppress_flag is set, don't try to send commands to
889bf7c5 21916 GDB.
c906108c
SS
21917 (gdb_expect): If suppress_flag is set, always fail immediately.
21918 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
21919 (gdb_init): Call gdb_stop_suppressing_tests.
21920 (default_gdb_exit): Ditto.
21921 (default_gdb_start): Ditto.
21922
21923 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
889bf7c5 21924 gdb_stop_suppressing_tests as appropriate.
c906108c 21925 * gdb.base/break.exp: Ditto.
889bf7c5 21926 * gdb.base/callfuncs.exp: Ditto.
c906108c
SS
21927 * gdb.base/commands.exp: Ditto.
21928 * gdb.base/exprs.exp: Ditto.
889bf7c5 21929 * gdb.base/funcargs.exp: Ditto.
c906108c
SS
21930 * gdb.base/list.exp: Ditto.
21931 * gdb.base/recurse.exp: Ditto.
889bf7c5 21932 * gdb.base/scope.exp: Ditto.
c906108c
SS
21933 * gdb.base/structs.exp: Ditto.
21934 * gdb.c++/inherit.exp: Ditto.
21935
21936Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
21937
21938 * config/vr4300.exp: New file.
21939
99707966 21940 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 21941
99707966 21942 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
21943
21944Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
21945
21946 * lib/gdb.exp(gdb_init): New function.
21947
21948 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
889bf7c5 21949 for each individual variable set.
c906108c
SS
21950
21951 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
21952 name.
21953
21954 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
21955
21956 * gdb.base/scope.exp: Use gdb_test.
21957
21958 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
21959 aborting; the testsuite driver will do that for us (see
21960 gdb_finish). Also, use gdb_test in a few more places.
21961
21962Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
21963
21964 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
21965
21966Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
21967
21968 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
21969 and "add_tests" are not at the same address.
21970
21971Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
21972
21973 * gdb.base/ptype.exp: Use gdb_test.
21974
21975Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
21976
21977 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
21978 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
21979 left in. No longer expect them to fail.
21980
21981 * gdb.stabs/*.mt; Deleted, no longer used.
21982 * gdb.stabs/configure.in: Remove references to target makefile
21983 frags.
21984 * gdb.stabs/configure: Rebuilt.
21985
21986 * gdb.disasm/*.mt: Deleted, no longer used.
21987 * gdb.disasm/configure.in: Remove references to target makefile
21988 frags. Use "sh3.s" as the unique filename for this directory.
21989 * gdb.disasm/configure: Rebuilt.
21990
21991 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
21992 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
21993 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
21994
21995Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
21996
21997 * config/udi.exp: Use mondfe,name instead of remote_host.
21998
21999Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
22000
22001 * gdb.base/watchpoint.exp: Don't expect a failure when calling
22002 a function with a watchpoint enabled on the mn10200.
22003
22004 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
22005 before trying to create it!
22006
22007Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
22008
22009 * config/vx.exp: Use hostname instead of netport.
22010
22011 * config/vxworks.exp: New file.
22012
22013 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
22014
22015 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
889bf7c5 22016 gdb before assuming everything worked. Send a ^C if a timeout
c906108c
SS
22017 occurs.
22018
22019 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
22020 $gdb_spawn_id directly.
22021 (gdb_run_cmd): Try _start as well as start. Use the target feature
22022 gdb,start_symbol as the symbol to start from when jumping.
22023
22024Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
22025
22026 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
22027 redundant) test.
22028
22029 * gdb.base/recurse.exp: Relax final value test for 'b' so that
22030 it doesn't lose for 16bit integer systems.
22031
22032Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
22033
22034 * gdb.fortran/types.exp: If the target doesn't support "double"
22035 data types, then expect "real" types to only be 4 bytes.
22036
22037 * gdb.c++/virtfunc.exp: Expect failure for virtual function
22038 call tests if the target doesn't support inferior function calls.
22039
22040 * gdb.base/printcmds.exp: Allow minor deviation in FP values
22041 in printf tests.
22042
22043Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
22044
22045 * gdb.base/help.exp: Disable "help set", "help show", and
22046 "help support". Simplify regexp for "help stack".
22047
22048 * gdb.base/default.exp: Set match_max to 5000 and the timeout
22049 to 60 seconds. Temporarily set match_max to 15000 around the
22050 "info copying" test.
22051
22052 * gdb.base/nodebug.exp: Don't try to do an inferior function
22053 call if the target doesn't support them.
22054 * gdb.base/printcmds.exp: Likewise.
22055 * gdb.base/setvar.exp: Likewise.
22056 * gdb.base/structs.exp: Likewise.
22057 * gdb.c++/templates.exp: Likewise.
22058 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
22059
22060 * gdb.base/recurse.exp: Enable for the mn10200.
22061
22062 * configure.in: Do configure gdb.stabs directory for *-*-elf
22063 targets.
22064 * configure: Rebuilt.
22065
22066 * gdb.base/break.exp: Check for gdb,noresults before testing
22067 exit status and/or results from the target.
22068 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
22069 * lib/gdb.exp: Remove old (now bogus) initialization of
22070 noinferior, noargs, noresults and nosignals.
22071
22072Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
22073
22074 * config/sh.exp: New file.
22075
22076 * config/slite.exp: Try to connect multiple times to the board
22077 before rebooting. Only send a "monitor run" if need_monitor_run
22078 is set.
22079
22080 * gdb.base/break.exp: Don't do the "stub continue" test if
22081 the target has gdb_stub set.
22082
22083 * gdb.base/callfuncs.exp: Increase the timeout.
22084
22085 * gdb.base/interrupt.exp: Don't even try to compile the testcase
22086 if the target has gdb,noinferiorio set.
22087
22088 * gdb.base/list.exp: Increase match_max to 10000 characters.
22089
22090 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
22091
22092 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
22093 target.
22094
22095 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
22096
22097Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
22098
22099 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
889bf7c5
PA
22100 trying to delete the copy of gdb. Catch the file delete so we
22101 don't die if the delete fails; also, the file should be copied to
22102 the host, not to the build.
c906108c
SS
22103
22104Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
22105
22106 * lib/gdb.exp(gdb_test): Surround the result pattern with
889bf7c5 22107 parenthesis in case it contains multiple regexps separated
c906108c
SS
22108 with |.
22109
22110 * gdb.base/watchpoint.exp: Use gdb_test.
22111 * gdb.base/default.exp: Ditto.
22112
22113Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
22114
99707966 22115 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 22116
c906108c
SS
22117 * gdb.base/scope.exp: Use gdb_test.
22118 * gdb.c++/classes.exp: Ditto.
22119 * gdb.c++/inherit.exp: Ditto.
22120
22121Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
22122
22123 * gdb.base/crossload.exp: Don't use execute_anywhere, use
22124 remote_exec instead.
22125 * gdb.base/corefile.exp: Don't be ridiculous.
22126 * gdb.base/*.c: Add missing stub invocations.
22127
22128Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
22129
22130 * config/slite.exp: Miscellaneous fixes.
22131
22132 * lib/gdb.exp: Fix runto.
22133
22134 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
22135 the target.
22136
22137 * gdb.base/watchpoint.exp: Fix regexp.
22138
22139 * lib/gdb.exp(default_gdb_exit): Add a catch to the
22140 close and wait commands, as the descriptor may now be
22141 invalid. Always call "remote_close host".
22142
22143Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
22144
22145 Major rewrite for testsuite revision.
d63a86f8 22146
c906108c
SS
22147 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
22148 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
22149 instead of relying on spawn_id to always contain a valid
22150 spawn id.
22151 (get_compiler_info): New procedure to build the ${binfile}.ci
22152 file, instead of replicating this in N different places.
22153 (gdb_compile): New procedure.
d63a86f8 22154
c906108c 22155 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
889bf7c5
PA
22156 appropriate arguments) instead of compile. Use gdb_test in a lot
22157 more places. Use send_gdb instead of send. Always run gdb_start
c906108c
SS
22158 at the start of a testcase, as this is no longer done magically.
22159
22160 config/*-gdb.exp: Rename without the -gdb suffix.
22161
22162 config/mips.exp: Use remote_close instead of exit_remote_shell.
22163 config/monitor.exp: Use target_info instead of looking at
22164 baud, timeout, etc.
22165 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
22166
22167Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22168
22169 * gdb.c++/templates.exp (test_ptype_of_templates),
22170 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
22171 Update expect patterns for destructors and assignment operators
22172 to match corresponding c-typeprint.c changes.
22173 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
22174 to destructor breakpoint test, GDB should be able to set the
22175 destructor breakpoint without specifying arguments.
22176
22177Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
22178
22179 * gdb.threads/pthreads.exp: Change result for failure to compile due
22180 to lack of pthreads runtime support from an error to simply an
22181 unsupported test, per dejagnu standards.
22182
22183Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22184
22185 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
22186 where GDB exits to reduce pattern match time.
22187 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
22188
22189 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
22190
dc96c6c7 22191Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22192
22193 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
22194 * gdb.base/default.exp: ditto.
22195 * gdb.base/nodebug.exp: ditto.
22196 * gdb.base/printcmds.exp: ditto.
22197 * gdb.base/ptype.exp: ditto.
22198 * gdb.base/setvar.exp: ditto.
22199 * gdb.base/structs.exp: ditto.
22200 * gdb.base/setshow.c: Guard against uninitialized values of argc.
22201
22202Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
22203
22204 * configure, */configure: Rebuild with autoconf 2.12.
22205
22206Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
22207
22208 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
22209 use new i*86-pc-linux*-gnu quads.
22210 * gdb.base/corefile.exp: Ditto.
22211 * gdb.base/signals.exp: Ditto.
22212 * gdb.base/sigall.exp: Ditto.
22213 * gdb.base/interrupt.exp: Ditto.
22214
22215 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
22216 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
22217 RedHat 4.0.
d63a86f8 22218
c906108c 22219 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
889bf7c5
PA
22220 linux. This allows the test case to at least compile on latest
22221 linux, but still not run due to missing the threads runtime library.
c906108c
SS
22222
22223Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22224
22225 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
22226 directory to search gdb directory. Accept and step over conditional
22227 stack alignment code. Consume $prompt in failure cases.
22228 Reset timeout to $oldtimeout instead of some arbitrary value.
22229 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
22230 timeout problems with infinite stack backtraces.
22231 * gdb.base/ptype.exp (ptype struct link, union tu_link):
22232 Accept function parameters for linkfunc member.
22233
22234Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
22235
22236 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
22237 (CXXFLAGS): Remove, unreferenced.
22238 (B_OPTIONS): Add for -B options and add code to initialize with
889bf7c5
PA
22239 previous -B options and also add -B option to pick up cross compiled
22240 runtime.
c906108c
SS
22241 (TARGET_INCLUDES): Add for -I options and add code to initialize when
22242 doing cross compiles.
22243 (target_alias): Declare global.
22244 (xgcc): Set variable to full path of gcc in build tree. Use findfile
22245 to verify that gcc exists in build tree, and if so set CC to that
22246 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 22247
c906108c
SS
22248Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
22249
22250 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
22251 ptype test for anonymous union. Fixup testcase to match
22252 current gcc debug output.
22253
22254Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
22255
22256 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
22257 force argument to an unsigned long type.
22258
22259Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
22260
22261 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
889bf7c5 22262 tests and anonymous union print/ptype tests.
c906108c
SS
22263 * gdb.base/list.exp (test_forward-search): Increase timeout by
22264 5 minutes for the "search extremely long line" case.
22265 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
22266 completely optional and that the pass/fail messages use the command as
22267 the message if that third arg is a null string.
22268 (gdb_test_exact): Arrange that a null string pattern means match a
22269 null string output rather than any output, which might include random
889bf7c5 22270 errors.
c906108c
SS
22271 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
22272 backtrace test.
22273 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
22274 always failing and failure is now exposed by gdb.exp changes.
22275
22276Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
22277
22278 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
22279 weren't being noted.
22280
22281Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22282
22283 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
22284 * gdb.stabs/weird.exp: Remove v_comb xfails.
22285
dc96c6c7 22286Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22287
22288 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 22289 list.exp scope.exp watchpoint.exp]
c906108c 22290 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 22291
dc96c6c7 22292Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22293
22294 * config/monitor.exp: Increase download timeout to 1000 seconds.
22295
dc96c6c7 22296Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22297
22298 * config/m32r.exp: Increase timeout to 120 seconds.
22299
22300Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
22301
22302 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
22303 and accept older ordering as obsolescent gcc or gdb.
22304 * gdb.c++/templates.exp: Ditto.
22305 * gdb.c++/virtfunc.exp: Ditto.
22306
22307Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
22308
22309 * gdb.base/coremaker.c: Add code to mmap some data so we
22310 can check that it ends up in the core file.
22311 * gdb.base/corefile.exp: Add test to read mmapped data
22312 from core file.
22313
dc96c6c7 22314Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22315
22316 * config/m32r.exp: New file.
22317
22318Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
22319
22320 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
22321 that cflags can contains -gstabs, and work correctly for other tests.
22322
dc96c6c7 22323Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22324
22325 * gdb.base/setshow.exp: New file, tests show and set.
22326 * gdb.base/setshow.c: New file, tests show and set.
22327 * gdb.base/help.exp: Add test for help set|show annotate.
22328 * gdb.base/default.exp: Add test for set|show annotate.
22329
22330Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
22331
22332 * testsuite/gdb.base/break.exp: Make backtrace from factorial
22333 errors unique.
22334 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
22335 explicitly.
22336
22337Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
22338
22339 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
22340 and width commands. This is done elsewhere.
22341 * (gdb_start): Don't call gdb_start_sim here. That's already
22342 done in gdb_load. This fixes lots of failures in default.exp.
22343
22344Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
22345
22346 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
22347 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
22348 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
22349 in the same we we treat other failures (since it may be an expected
889bf7c5 22350 condition), rather than as an error.
c906108c
SS
22351 * gdb.base/signals.exp (test_handle_all_print): Revert back to
22352 old test format.
22353
22354Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
22355
22356 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
22357 (distclean maintainer-clean realclean): No need to remove files
889bf7c5 22358 twice. Nuke the duplicates.
c906108c 22359 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 22360 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
22361 Remove config.h along with other config files.
22362
22363Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
22364
22365 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
22366 "p func1 ()" and note that rests of tests are skipped.
22367 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 22368 setup_xfails for "print func2::coremaker_local".
c906108c
SS
22369 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
22370 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
22371 affected by the previous run test.
22372 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
22373 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
22374 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
22375 "pass int powerset tuple" and "pass modeless int powerset tuple".
22376 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
22377 "real write 4" and "real write 8".
22378 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 22379 setup_xfails for "print vs1 after tuple assign 2",
c906108c
SS
22380 "print \$i after tuple assign 2", and
22381 "print vs2 after tuple assign 2".
22382 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
22383 meaningful error message and return -1 so the caller can
22384 suppress further tests and avoid a cascade of errors.
d63a86f8 22385
c906108c
SS
22386Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
22387
22388 * gdb.base/a1-selftest.exp: Tweak tests to account for new
22389 format for printing version.
22390 * gdb.base/default.exp: Ditto.
22391 * gdb.base/interrupt.exp: Fix problem with cascade of
22392 errors if child process dies while calling a function.
d63a86f8 22393
c906108c
SS
22394Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
22395
22396 * Makefile.in (VPATH): Add
22397 * Makefile.in (Makefile, config.status): Fix rules so things get
22398 remade when necessary.
22399
22400Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
22401
22402 * Makefile.in (just-check): Add path to sibling expect dir
22403 to environment variable specified by RPATH_ENVVAR.
22404
22405Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
22406
22407 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
22408 (just-check): Add shared library paths for libstdc++, tk,
22409 tcl, bfd, and opcodes to the environment variable specified
22410 in RPATH_ENVVAR.
22411 * configure.in: Add support to recognize --enable-shared flag
22412 and generate correct value for RPATH_ENVVAR.
22413 * configure: Regenerated with autoconf.
22414
22415Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
22416
22417 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
889bf7c5 22418 include all osf versions.
c906108c
SS
22419 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
22420 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
22421 when target is linux. When failing to build pthreads test
22422 executable, give more meaningful message.
22423 * gdb.threads/pthreads.c: Hpux also uses old definition of second
22424 arg for pthread_create.
d63a86f8 22425
c906108c
SS
22426Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
22427
22428 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
889bf7c5 22429 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
c906108c 22430 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
889bf7c5 22431 and -lpthreads (everybody else).
c906108c
SS
22432 (test_startup): Fail gracefully if threads are not supported.
22433 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
22434 "p/c array_index("abcdef",2)" when not gcc compiled.
22435 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
22436 "print func2::coremaker_local" when not gcc compiled.
22437 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
22438 "ptype on opaque struct tagname (statically)",
22439 "ptype on opaque struct tagname (dynamically) 1", and
22440 "ptype on opaque struct tagname (dynamically) 2"
22441 for not compiled with gcc.
22442 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
22443 backtrace when compiled with gcc.
d63a86f8 22444 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
22445 than always return success.
22446
22447Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
22448
22449 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
22450
22451Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
22452
22453 * gdb.base/structs.exp: Undo last change.
22454
22455Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
22456
22457 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
22458 encapsulate all the steps/nexts done during self test, starting
22459 at main, and makes them less sensitive to optimization issues.
22460 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
22461 signal handler" test.
22462 * gdb.threads/pthreads.exp: Only run this for native configs.
22463 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
22464 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
22465 tests.
22466 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
22467 for "runto test_calls(void)" test.
d63a86f8 22468
c906108c
SS
22469Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
22470
22471 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
22472 and don't expect address info in breakpoint confirmations.
22473
22474Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
22475
22476 * gdb.base/list.exp (test_forward_search): Increase timeout
22477 temporarily by 60 seconds for searching extremely long line,
889bf7c5 22478 and then reset to old value when done. Increase expect input
c906108c
SS
22479 buffer to 10000.
22480
22481Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
22482
22483 * gdb.base/list.exp (test_forward_search): Fix to handle very
22484 long source line without overflowing expect's input buffer.
22485
22486Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
22487
22488 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
22489 "buffer_full".
22490
22491 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
22492 "buffer_full".
22493
22494 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
22495 "buffer_full".
22496
22497 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
22498 "buffer_full".
22499
22500Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
22501
22502 * configure.in (configdirs): Add gdb.threads.
22503 * configure: Regenerated with autoconf.
22504 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
22505 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
22506 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 22507
c906108c
SS
22508Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
22509
22510 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
22511
22512Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
22513
22514 * gdb.base/signals.exp (test_handle_all_print): Test separately for
22515 each signal's status in the output of "handle all print".
22516 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
22517 the \r\n sequence that immediately precedes the gdb prompt.
22518 * gdb.base/a1-selftest.exp: Save original timeout and restore
22519 after test.
22520
22521Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
22522
22523 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
22524 symbol.
22525
22526Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
22527
22528 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
22529
22530Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
22531
22532 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
22533 timeout by 60 seconds.
22534
22535Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
22536
22537 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
22538 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
22539 error return.
22540
22541Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
22542
22543 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
22544 gdb initialization, also report how long dejagnu waited. Restore
22545 old timeout before doing error return. Temporarily increase timeout
889bf7c5 22546 by 3 minutes to allow for slow startups over heavy NFS use.
c906108c
SS
22547
22548Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
22549
22550 * lib/gdb.exp: Report timeout value for verbosity level 2.
22551 * config/gdbserver.exp: Ditto.
22552 * config/hppro.exp: Ditto.
22553 * config/mips-gdb.exp: Ditto.
22554 * config/monitor.exp: Ditto.
22555 * config/netware.exp: Ditto.
22556 * config/sim-gdb.exp: Ditto.
22557 * config/slite-gdb.exp: Ditto.
22558 * config/udi-gdb.exp: Ditto.
22559 * config/unix-gdb.exp: Ditto.
22560 * config/vx-gdb.exp: Ditto.
22561 * gdb.base/a1-selftest.exp: Ditto.
22562 * gdb.base/a2-run.exp: Ditto.
22563 * gdb.base/break.exp: Ditto.
22564 * gdb.base/corefile.exp: Ditto.
22565 * gdb.base/list.exp: Ditto.
22566 * gdb.base/recurse.exp: Ditto.
22567 * gdb.base/scope.exp: Ditto.
22568 * gdb.base/signals.exp: Ditto.
22569
22570Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
22571
22572 * gdb.threads/Makefile.in (docdir): Removed.
22573
22574Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
22575
22576 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 22577 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 22578 @srcdir@.
d63a86f8 22579 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
22580 autoconf 2.5 or higher.
22581 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
22582
22583Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
22584
22585 * configure: Regenerated.
22586 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
22587 avoid name clashes with SunOS headers.
22588
22589Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
22590
22591 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
22592
22593Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
22594
22595 * gdb.base/callfuncs.exp: Finish last change -- make sure the
22596 prototype information ends up in the compiler info file.
22597
22598Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
22599
22600 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
22601 attempting to regenerate it. Eliminate use of a temporary file
22602 and just generate the info file directly. Source it immediately,
22603 for consistency of use.
22604 * gdb.base/corefile.exp: Ditto
22605 * gdb.base/exprs.exp: Ditto.
22606 * gdb.base/funcargs.exp: Ditto.
22607 * gdb.base/langs.exp: Ditto.
22608 * gdb.base/list.exp: Ditto.
22609 * gdb.base/mips_pro.exp: Ditto.
22610 * gdb.base/nodebug.exp: Ditto.
22611 * gdb.base/opaque.exp: Ditto.
22612 * gdb.base/ptype.exp: Ditto.
22613 * gdb.base/scope.exp: Ditto.
22614 * gdb.base/setvar.exp: Ditto.
22615 * gdb.base/signals.exp: Ditto.
22616 * gdb.base/whatis.exp: Ditto.
22617 * gdb.c++/templates.exp: Ditto.
22618 * gdb.c++/virtfunc.exp: Ditto.
22619 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
889bf7c5 22620 whether or not to add -lstdc++ to the compile command line args.
c906108c
SS
22621
22622Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22623
22624 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
22625 it got fixed by the recent lookup_minimal_symbol_by_pc change.
22626 Increase timeout, a lot of single stepping might be needed if the
22627 target has no hardware watchpoints.
22628
22629Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
22630
22631 * gdb.base/break.exp: Ignore compiler warnings when compiling
22632 break.c.
22633 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
22634 * gdb.base/default.exp: Add h8300 xfails. Handle messages
22635 from remote-sim.
22636 * gdb.base/exprs.exp: Add h8300 xfails.
22637 * gdb.base/funcargs.exp: Likewise.
22638 * gdb.base/nodebug.exp: Likewise.
22639 * gdb.base/printcmds.exp: Likewise.
22640 * gdb.base/ptype.exp: Likewise.
22641 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
22642 h8300 xfails.
d63a86f8 22643 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
22644 on the h8300.
22645 * gdb.base/funcargs.c: Explicitly make last constant argument to
22646 call_after_alloca_subr an unsigned long type.
22647 * gdb.base/return.c: Include stdio.h.
22648
22649Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
22650
22651 * config/abug.exp: New file for the older Motorola Bug monitor
22652 that runs on the mvme13x series VME boards.
22653 * config/monitor.exp: Use the new config array for target settings
22654 if they exist.
22655
22656Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
22657
22658 * sim-gdb.exp: Make the SH simulator allocate less space when
22659 it is targeted.
22660
22661Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
22662
22663 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
22664 test.
22665
22666Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
22667
22668 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
22669 "rs6000-*-*" for "list function in include file" when gcc compiled.
22670 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
22671 for "p ctable1[120]".
22672 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
22673 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
22674 Remove setup_xfail for "rs6000-*-*" for
22675 "print 'scope0.c'::filelocal before run".
22676 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
22677 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
22678 since some compilers don't allow both options to be given
22679 on the same command line. Create object file and move it.
d63a86f8 22680
c906108c
SS
22681Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
22682
22683 * gdb.base/corefile.exp: Always regenerate the core file, since
22684 we always regenerate the coremaker program. Detect special case
22685 where registers cannot be read from core file.
d63a86f8 22686
c906108c
SS
22687Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
22688
22689 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
22690 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
22691 * gdb.c++/templates.exp: Only match on basename of file since
22692 some formats like xcoff don't encode directory information.
22693 * gdb.stabs/weird.exp: Use the right sed script for powerpc
22694 and rs6000 AIX xcoff targets.
22695 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
22696 * configure: Regenerate.
22697 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
22698 here, rather than in distclean.
d63a86f8 22699
c906108c
SS
22700Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
22701
22702 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
22703 defined, and use it to compile the test case with -O2. The
22704 native compilation still uses no optimization.
22705 * gdb.base/mips_pro.c: Remove inline assembly code since
22706 it is compiled PIC by default, which results in assembler
22707 warnings that make the testsuite think the compilation
22708 was unsuccessful.
22709
22710Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
22711
22712 * gdb.c++/misc.exp: Add note to message for
22713 "print s.a for foo struct" that this is a known gcc 2.7.2
22714 and earlier bug.
22715
22716Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
22717
22718 * gdb.base/break.exp: Fix pattern for matching "Delete all
22719 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
22720 setup_xfail for deleting all breakpoints test. Fix various
22721 timeout messages to include "(timeout)".
22722 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
22723 for "p t_float_values2(3.14159,float_val2)".
22724 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
22725 for "continue to call2g" when gcc compiled.
22726 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
22727 "up to foo in langs.exp", "show language at foo in langs.exp",
22728 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
22729 and "show language at fsub in langs.exp".
22730 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
22731 "list line 1 in include file", "list message for lines past EOF",
22732 "list function in include file", "list list0.h:foo", and
22733 "list filename:function; nonexistant function".
22734 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
22735 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
22736 and "ptype t_char_array" to be for native cc only.
d63a86f8 22737
c906108c
SS
22738Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
22739
d63a86f8 22740 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c 22741 setup_xfail for "print coremaker_bss", "print coremaker_ro",
889bf7c5 22742 "print func2::coremaker_local", and "backtrace in corefile.exp".
c906108c
SS
22743
22744Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
22745
22746 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
22747 "bt in signals.exp". This problem only appears when running
22748 the testsuite, and then only intermittently.
22749
22750Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
22751
22752 * gdb.base/return.exp (return_tests): Differentiate between
22753 two tests of continuing.
22754
22755Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
22756
22757 * */Makefile.in (maintainer-clean): Remove config.log.
22758 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
22759 * gdb.c++/Makefile.in (PROGS): Add inherit.
22760 (clean): Remove *.ci.
22761
22762Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
22763
22764 * gdb.c++/misc.cc: Add test code from Mike Stump.
22765 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
22766
22767Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
22768
22769 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
22770 to "alpha-*-osf2*" and add comment.
22771 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
889bf7c5
PA
22772 setup_xfail for "step over execarg initialization" and
22773 "step over corearg initialization".
c906108c
SS
22774 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
22775 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
22776 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
889bf7c5 22777 gcc compiled for "print coremaker_bss", "print coremaker_ro",
c906108c
SS
22778 "print func2::coremaker_local", and "backtrace in corefile.exp".
22779 * gdb.base/signals.exp: Build and source signals.ci.
22780 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
22781 to be for gcc only.
22782 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 22783
c906108c
SS
22784Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22785
22786 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
22787 Feb 3 procfs.c change.
22788
22789Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
22790
22791 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
22792
22793Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
22794
22795 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
22796 from dejagnu's apparent default of 10 seconds, which gives random
22797 results when running the tests over NFS on moderately loaded systems.
22798 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
22799
22800Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
22801
22802 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
22803 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
889bf7c5 22804 result reports.
c906108c
SS
22805
22806Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
22807
22808 * configure.in (CY_AC_PATH_TCLH): Remove.
22809 * configure: Regenerate.
22810
22811Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
22812
22813 * gdb.c++/Makefile.in (clean): Add missing '{'.
22814
22815Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
22816
22817 * lib/gdb.exp: Provide a default value for noinferior.
22818
22819 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
22820 Load libgloss.exp.
22821
22822Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
22823
22824 * gdb.disasm/hppa.exp: Compile directly into an executable, use
22825 the executable, not the .o to run the tests from.
22826
22827Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
22828
22829 * gdb.base/break.exp: Don't test for program exit or exit status
22830 if $noresults if nonzero.
22831 * gdb.base/langs.exp: Likewise.
22832 * gdb.base/watchpoint.exp: Likewise.
22833
22834 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
22835 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
22836 trying to compile the testcase.
22837
22838Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
22839
22840 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
22841 * gdb.base/signals.exp (continue to handler): Likewise.
22842
22843Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
22844
22845 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
22846
22847 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
22848
22849Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
22850
22851 * gdb.base/corefile.exp: Recognize "not found" as failure
22852 when trying to determine if a core file was generated.
22853 If no core file was generate the first time, try again without
22854 the ulimit -c to work around braindamaged shells.
22855
22856Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
22857
22858 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
22859 [] tests with "test" and enclose string in quotes.
22860 * gdb.stabs/configure: Rebuild
d63a86f8 22861
c906108c
SS
22862Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
22863
22864 Changes in sync with expect:
22865 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
22866 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
22867 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
22868 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
22869 argument to AC_REQUIRE.
22870 * configure: Regenerated.
22871
22872Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
22873
22874 * gdb.base/corefile.exp: When generating a core, discard any
22875 error messages about ulimit not found and the "core dumped"
22876 message from the shell that runs the coredumper.
22877
22878Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
22879
22880 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
22881
22882 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
22883 which sed script to run. Expect failure for v_comb test
22884 on PA targets too.
d63a86f8 22885
c906108c
SS
22886Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
22887
22888 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
889bf7c5 22889 "print func2::coremaker_local" and for "backtrace in corefile.exp"
c906108c
SS
22890
22891Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
22892
22893 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
22894 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
889bf7c5 22895 "sparc-sun-solaris*" xfails for "p v_comb".
c906108c
SS
22896 * lib/gdb.exp (default_gdb_start): Fix typo.
22897 * gdb.base/corefile.exp: Allow "Core was generated by ..."
22898 messages to not include the full program name that caused
22899 the core dump since some systems (such as solaris) apparently
22900 truncate this path to about 80 characters.
22901 When generating a core file first try increasing the core file
22902 size limit to unlimited since some systems may default it to
22903 zero, and it is harmless to try it. Move the test for failing
22904 to generate a core file to where it will actually get executed.
22905 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
22906 new gdb result from g++ debug info improvements and make old
22907 pattern obsolescent. Also account for size_t differences
22908 (may be int or long).
22909 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
22910 initialization before function call is placed in the delay slot
22911 and thus appears to be skipped over by commands such as "next".
22912
22913Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
22914
22915 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
22916
22917Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
22918
22919 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
22920 input source file; fix code to compile test to deal with this
22921 convention.
22922 * gdb.c++/*.exp: Likewise.
22923
22924Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
22925
22926 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
22927 "bt in signals.exp".
22928
22929Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
22930
22931 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
22932 "step over execarg initialization" and
889bf7c5 22933 "step over corearg initialization".
c906108c
SS
22934
22935Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
22936
22937 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
22938 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
22939
22940Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
22941
22942 From Rob Savoye (rob@poseidon.cygnus.com)
22943 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
22944 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
889bf7c5
PA
22945 configure.in}, gdb.disasm/{Makefile.in, configure.in},
22946 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
22947 configure.in}: Major reworking for autoconfig.
c906108c
SS
22948 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
22949 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
889bf7c5 22950 New files.
c906108c
SS
22951 * config/unix-gdb.exp: Make GDB global.
22952 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
889bf7c5
PA
22953 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
22954 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
22955 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
22956 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
22957 term.exp, twice.exp, watchpoint.exp, whatis.exp},
c906108c 22958 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
889bf7c5
PA
22959 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
22960 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
22961 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
22962 pr-8136.exp, result.exp, string.exp, tuples.exp},
c906108c 22963 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
889bf7c5
PA
22964 to returns as necessary, arrange for test to compile own testcase
22965 executable.
c906108c 22966 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 22967
c906108c
SS
22968Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
22969
22970 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
889bf7c5 22971 clear_xfail at end of test which might not call either pass or fail.
c906108c
SS
22972 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
22973 "backtrace through signal handler".
22974
22975Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22976
22977 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
22978 continuing from a job control stop signal.
22979 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
22980
22981Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
22982
22983 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
22984 * gdb.base/corefile.exp: Likewise.
22985 * gdb.base/funcargs.exp: Likewise.
22986
22987Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
22988
22989 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
22990 * config/monitor.exp: Add support for setting baud rate.
22991
22992Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
22993
22994 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
22995 i*86-*-linux* xfails for "backtrace through signal handler".
22996 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
22997 "print func2::coremaker_local".
22998 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
889bf7c5 22999 alpha-dec-osf2* xfail for
c906108c
SS
23000 "delete all breakpoints when none".
23001
23002Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
23003
23004 * gdb.base/break.exp: Change test that deletes all breakpoints
23005 when no user breakpoints are installed. A post 4.15 change
23006 causes gdb to no longer prompt in this case.
23007
23008Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
23009
23010 * gdb.base/return.exp (return_tests): Change xfail for test
23011 "correct value returned double test" to stop xfailing at
23012 Solaris 2.5. Apparently the bug has been fixed.
23013
23014Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
23015
23016 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
23017 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
23018
23019Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
23020
23021 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
23022 * gdb.disasm/hppa.s: Corresponding changes.
23023
23024Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
23025
23026 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
23027 makefile fragment.
23028 * config/mt-hpux: Deleted.
23029
23030Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
23031
d63a86f8 23032 * Many files: When warning about suppressed tests due to a
c906108c
SS
23033 nonexistant test binary, avoid incrementing the warning count.
23034
23035Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
23036
23037 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 23038
c906108c
SS
23039Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23040
23041 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
23042 "sparc-*-solaris2*".
23043
23044Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23045
23046 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
23047 Add global and local variables and initialize them.
23048 * gdb.base/corefile.exp: Test correct mapping of corefile sections
23049 by printing variables. Remove rs6000 and powerpc xfails, BFD now
23050 extracts the file name and terminating signal from the core file.
23051 * TODO: Remove note about tests for correct mapping of corefile.
23052 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
23053 from optimizing it away.
23054 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
23055 handles common blocks.
23056
23057Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
23058
23059 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
23060 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
23061
23062Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
23063
23064 * Makefile.in (maintainer-clean): New target, synonym for
23065 realclean.
23066 * gdb.base/Makefile.in (maintainer-clean): Likewise.
23067 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
23068 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
23069 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
23070 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
23071 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
23072
23073Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
23074
23075 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
23076 xfails when not gcc compiled for "print foo::funclocal".
23077 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
23078 "print foo::funclocal at foo",
23079 "print 'scope1.c'::foo::funclocal at foo",
23080 "print foo::funclocal_bss at foo",
23081 "print 'scope1.c'::foo::funclocal_bss at foo",
23082 "print foo::funclocal_ro at foo",
23083 "print 'scope1.c'::foo::funclocal_ro at foo",
23084 "print bar::funclocal at foo" and
23085 "print 'scope1.c'::bar::funclocal at foo".
23086 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
23087 gcc compiled for "print foo::funclocal at bar".
23088 Expand all messages to ensure that they identify that
23089 the test is at bar().
23090 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
23091 gcc compiled for:
23092 "ptype on opaque struct pointer (statically)",
23093 "ptype on opaque struct tagname (statically)",
23094 "ptype on opaque struct pointer (dynamically) 1",
23095 "ptype on opaque struct tagname (dynamically) 1",
23096 "ptype on opaque struct pointer (dynamically) 2" and
23097 "ptype on opaque struct tagname (dynamically) 2
23098 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
23099 gcc compiled for:
23100 "p datalocal"
23101 "whatis datalocal",
23102 "ptype datalocal",
23103 "p bsslocal",
23104 "whatis bsslocal", and
23105 "ptype bsslocal".
23106 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
23107 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
23108 when not gcc compiled.
23109 * gdb.base/funcargs.exp (float_and_integral_args): Add
23110 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
23111 compiled.
23112 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
23113 "backtrace from call6a" when not gcc compiled.
23114 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
23115 "backtrace from call7a" when not gcc compiled.
23116 * gdb.base/callfuncs.exp (do_function_calls):
23117 Add "hppa*-*-hpux*" xfail when not gcc compiled for
23118 "p t_char_array_values(char_array_val2,char_array_val1)",
23119 "p t_char_array_values(char_array_val1,char_array_val2)",
23120 "p t_char_array_values("carray 1","carray 2")",
23121 "p t_char_array_values("carray 1",char_array_val2)",
23122 "p t_char_array_values(char_array_val1,"carray 2")",
23123 "p sum_args(1,{2})",
23124 "p sum_args(2,{2,3})",
23125 "p sum_args(3,{2,3,4})",
23126 "p sum_args(4,{2,3,4,5})"
23127 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
23128 "backtrace in corefile.exp" when not gcc compiled.
23129
23130Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23131
23132 * gdb.base/signals.exp: Rewrite `handle all print' test as
23133 a procedure. Accept blanks or TABs as whitespace, increase
23134 timeout and expect input buffer size for the large output
23135 from the command. Remove "i*86-*-bsdi2.0" xfail.
23136
23137Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23138
23139 * gdb.base/setvar.exp: Add new testcases for truncation when
23140 assigning invalid values to bitfields.
23141
23142Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
23143
d63a86f8 23144 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
23145 mips-sgi-irix* xfail for
23146 "call inferior func with struct - returns char *"
23147 and fix test so that an optional (unsigned char *) cast is
889bf7c5 23148 accepted in the result.
c906108c
SS
23149
23150Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
23151
23152 * gdb.base/funcargs.exp (float_and_integral_args): Remove
23153 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
23154 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
23155 * gdb.base/signals.exp: Remove duplicate "handle all print" test
23156 that accidentally got checked in.
23157
23158Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
23159
d63a86f8 23160 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
23161 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
23162 compiled test.
23163 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
23164 Add mips-sgi-irix5* xfail for not gcc compiled.
23165 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
23166 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
23167 "p top", "whatis top", "p middle", and "whatis middle".
23168 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
23169 "whatis signed char" for not gcc compiled.
23170 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
23171 "set variable signed char=-1 (-1)" and
23172 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
23173 * gdb.base/funcargs.exp (float_and_integral_args):
23174 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
23175 Add mips-sgi-irix* xfail when not gcc compiled for
23176 "continue to call2b".
23177 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
23178 "continue to call2g".
23179 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
23180 "backtrace from call6a"
23181 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
23182 "backtrace from call7k".
23183 Add mips-sgi-irix5* xfail when not gcc compiled for
23184 "backtrace from call7a".
23185 (localvars_after_alloca): Fix gdb_test cmds for
23186 "print * after runto ...".
23187 Remove rs6000-*-* xfails for
23188 "print i after runto localvars_after_alloca" and
23189 "print l after runto localvars_after_alloca"
23190 for all compilers.
23191 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
889bf7c5 23192 when not compiled with gcc, for:
c906108c
SS
23193 "print signed char == (minus)",
23194 "print signed char != (minus)",
23195 "print signed char < (minus)",
23196 "print signed char > (minus)".
23197 * gdb.base/callfuncs.exp (do_function_calls):
23198 Add mips-sgi-irix* xfail, when compiled with native compiler, for
23199 "call inferior func with struct - returns char *".
d63a86f8 23200 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
23201 "correct value returned double test" to include Solaris 2.4.
23202 * gdb.base/funcargs.exp (float_and_integral_args):
23203 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 23204
c906108c
SS
23205Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23206
23207 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
23208 enumeration bitfields if compiling with GNU C.
23209 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
23210 to empty' prompt.
23211
23212Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
23213
23214 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
23215 test for PRO targets.
23216
23217 * gdb.base/funcargs.exp: Avoid ever setting more than 8
23218 breakpoints in the inferior at any given time by making
23219 two groups of breakpoints for call2*, call6* and call7*
23220 tests.
23221
23222Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23223
23224 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
23225 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
23226 from optimizing it away.
23227 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
23228 "call inferior func with struct".
23229
23230Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
23231
23232 * configure.in: Only configure gdb.chill for particular targets.
23233
23234Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
23235
23236 * gdb.base/Makefile.in: Add action to .c.o transformation
23237 rule that generates a .ci file for each .o file and remove
23238 explicit .c.o rules except for callfuncs.o.
23239 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
23240 generates a .ci file for each .o file and remove explicit
23241 .cc.o rules.
23242 (clean): Remove *.tmp *.ci files.
23243 (EXECUTABLES): Remove templ-info.exp.
23244 * gdb.base/compiler.c: New file.
23245 * gdb.c++/compiler.cc: New file
23246 * gdb.base/scope.exp: Source gdb.base/scope.ci.
23247 Change rs6000-*-* xfail for
23248 "print 'scope0.c'::filelocal_ro" and
23249 "print 'scope1.c'::filelocal" and
23250 "print 'scope1.c'::filelocal_bss" and
23251 "print 'scope1.c'::filelocal_ro" and
23252 "print 'scope1.c'::foo::funclocal" and
23253 "print 'scope1.c'::foo::funclocal_ro" and
23254 "print 'scope1.c'::bar::funclocal" and
23255 "print 'scope0.c'::filelocal_ro" and
23256 "print 'scope1.c'::filelocal at foo" and
23257 "print 'scope1.c'::filelocal_bss at foo" and
23258 "print 'scope1.c'::filelocal_ro at foo" and
23259 "print 'scope1.c'::foo::funclocal at foo" and
23260 "print 'scope1.c'::foo::funclocal_bss at foo" and
23261 "print 'scope1.c'::foo::funclocal_ro at foo" and
23262 "print 'scope1.c'::bar::funclocal at foo" and
23263 "print 'scope0.c'::filelocal_ro" and
23264 "print 'scope1.c'::filelocal" and
23265 "print 'scope1.c'::filelocal_bss" and
23266 "print 'scope1.c'::filelocal_ro" and
23267 "print 'scope1.c'::foo::funclocal" and
23268 "print 'scope1.c'::foo::funclocal_bss" and
23269 "print 'scope1.c'::foo::funclocal_ro" and
23270 "print 'scope1.c'::bar::funclocal" and
23271 "print 'scope1.c'::bar::funclocal_bss"
23272 to only be xfail'd when not compiled with gcc.
d63a86f8 23273 Add rs6000-*-* xfail for
c906108c
SS
23274 "print 'scope0.c'::filelocal_bss before run"
23275 when compiled with gcc.
23276 (test_at_main): Add rs6000-*-* xfail for
23277 "print filelocal_ro in test_at_main"
23278 when compiled with gcc.
23279 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
889bf7c5 23280 Add rs6000-*-aix* xfail for
c906108c
SS
23281 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
23282 "ptype t_char_array", not compiled with gcc.
23283 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
23284 xfail for "list foo (in include file)" when gcc compiled.
23285 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
889bf7c5 23286 (integral_args): Add rs6000-*-* xfail for
c906108c
SS
23287 "run to call0a" if not compiled with gcc.
23288 (unsigned_integral_args): Add rs6000-*-* xfail for
23289 "run to call1a" if not compiled with gcc.
23290 (float_and_integral_args): Add rs6000-*-* xfail for
23291 "run to call2a" if not compiled with gcc and for
23292 "continue to call2b" for any compiler.
23293 Add rs6000-*-* xfail to
23294 "print f1 after run to call2a" for gcc compiled.
23295 (discard_and_shuffle): Add rs6000-*-* xfail for
23296 "run to call6a".
23297 (shuffle_round_robin): Add rs6000-*-* xfail for
23298 "backtrace from call7a" if not compiled with gcc.
23299 Add rs6000-*-* xfail for
23300 "backtrace from call7b" if compiled with gcc.
23301 (call_after_alloca): Add rs6000-*-* xfail for
23302 "print c in call_after_alloca" and
23303 "print s in call_after_alloca" and
23304 "backtrace from call_after_alloca_subr"
23305 if not compiled with gcc.
23306 (localvars_in_indirect_call): Add rs6000-*-* xfail for
23307 "print c in localvars_in_indirect_call" and
23308 "print c in localvars_in_indirect_call" and
23309 "backtrace in indirectly called function" and
23310 "stepping into indirectly called function"
23311 if not compiled with gcc.
23312 (localvars_after_alloca): Add rs6000-*-* xfail for
23313 "print c after runto localvars_after_alloca" and
23314 "print s after runto localvars_after_alloca" and
23315 "print i after runto localvars_after_alloca" and
23316 "print l after runto localvars_after_alloca"
23317 for all compilers.
23318 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
23319 than whatis-info.exp.
23320 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
23321 than opaque-info.exp.
23322 Setup rs6000-*-* xfail for
d63a86f8 23323 "ptype on opaque struct pointer (statically)" and
c906108c
SS
23324 "ptype on opaque struct pointer (dynamically)" when
23325 not compiled with gcc.
23326 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
23327 rather than callf-info.exp.
23328 (do_function_calls): Add clear_xfail for rs6000-*-* for
23329 "p t_float_values2(3.14159,float_val2)". Seems to work
23330 fine there, both with xlc and gcc. Need to find out what
23331 it is doing right and fix other platforms.
23332 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
23333 "call inferior func with struct - returns int",
23334 "call inferior func with struct - returns long",
23335 "call inferior func with struct - returns float",
23336 "call inferior func with struct - returns double",
23337 "call inferior func with struct - returns char *",
23338 but only if not gcc compiled (presumes xlc compiled).
23339 Change rs6000-*-* xfails for
23340 "call inferior func with struct - returns char" and
23341 " call inferior func with struct - returns short" to only
23342 xfail if not using gcc.
23343 (clean mostlyclean): Remove *.ci and *.tmp files.
23344 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
23345 than templ-info.exp.
23346 * gdb.base/langs.exp: Source gdb.base/langs.ci.
23347 Add rs6000-*-* xfail for "up to foo in langs.exp"
23348 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
889bf7c5 23349 when not gcc compiled.
d63a86f8 23350
c906108c
SS
23351Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23352
23353 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
23354 * gdb.base/corefile.exp: Likewise.
23355 * gdb.base/list.exp: Likewise.
23356 * gdb.base/scope.exp: Likewise.
23357 * gdb.base/siganls.exp: Likewise.
23358
23359 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
23360 compiler output.
23361 * gdb.base/whatis.exp: Likewise.
23362
23363Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
23364
23365 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
23366 failure (opcode table has been fixed to match reality).
23367
23368Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
23369
23370 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
23371 "call inferior func with struct - returns char",
23372 "call inferior func with struct - returns short"
23373
23374 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
23375 "print 'scope0.c'::filelocal at main",
23376 "print 'scope0.c'::filelocal_bss in test_at_main",
23377 "print 'scope0.c'::filelocal at foo",
23378 "print 'scope0.c'::filelocal_bss in test_at_foo",
23379 "print 'scope0.c'::filelocal at bar",
23380 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 23381
c906108c
SS
23382 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
23383 in source file 1". This bug seems to have been fixed with both
23384 gcc and native cc (was native assembler bug?).
23385
23386Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
23387
23388 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
23389 "backtrace through signal handler" to "i*86-*-sysv4*".
23390 * gdb.base/signals.exp: Add xfail for "'next' behaved as
23391 continue" case. Add "known SVR4 bug" to fail message.
23392 Add "i*86-*-bsdi2.0" xfail for "handle all print".
23393 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
23394 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
23395 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
23396 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
23397 "up to foo in langs.exp", "show language at foo in
23398 langs.exp", "up to cppsub_ in langs.exp", "show
23399 language at cppsub_ in langs.exp", "up to fsub in
23400 langs.exp", and "show language at fsub in langs.exp".
23401 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
23402 "bactrace in corefile.exp".
23403 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
23404 "call inferior function with struct - returns float" and
23405 "call inferior function with struct - returns double".
d63a86f8 23406
c906108c
SS
23407Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
23408
23409 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
23410 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
23411 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
23412 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
23413
23414Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
23415
23416 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
23417 (or overriden) "CHILL" macro rather then bare "gcc".
23418 Also look for ../../gcc/xgcc since that is what we will
23419 actually need, not "Makefile". Remove following assignment
23420 of CHILL to CHILL_FOR_TARGET because that results in
23421 recursive definition.
23422
23423Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
23424
23425 * gdb.base/corefile.exp: Change xfail for backtrace in
23426 corefile.exp from linuxaout to all linux.
23427 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
23428 cases where we miss the breakpoint at the signal handler
23429 for some reason. Setup xfail for linuxoldld/linuxaout and
23430 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
23431 hitting SIGURG breakpoint.
23432 * gdb.base/signals.exp: Setup xfail for "next" acting like
23433 continue to add linuxoldld. Setup xfail for all linux for
23434 "next to handler in signals_tests_1", "backtrace in
23435 signals_tests_1", "continue to func1", "pass SIGUSR1",
23436 and continue to handler".
23437
23438Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
23439
23440 * Update all FSF addresses except those in COPYING* files.
23441
23442Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
23443
23444 * gdb.base/a2-run.exp: Change messages to be more explicit about
23445 the status of args, and quote binfile in results.
23446
23447Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
23448
23449 * gdb.base/callfuncs.exp: Add tests for passing structs to
23450 inferior functions and return various types.
23451 * gdb.base/callfuncs.c: Add functions to receive a struct
23452 and return a member of the struct, in various types.
23453
23454Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23455
23456 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
23457
23458Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
23459
23460 * config/vxworks29k.exp: New file, sources vxworks.exp.
23461
23462Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23463
23464 * config/gdbremote.exp: New file. Testing framework using
23465 gdbserver.
23466
23467Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
23468
23469 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
23470 "call function when asleep" and "send end of file".
23471 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
23472 for "backtrace in corefile.exp".
23473 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
23474 for "backtrace through signal handler".
23475 * gdb.base/corefile.exp: Make sure we actually generate a core file
23476 before trying the core tests. Some systems allow the user to suppress
23477 generation of core files and default to that (linux for example).
23478 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
23479 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
23480
23481Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23482
23483 * gdb.threads: New directory with some crude multi-threaded
23484 gdb tests (step.exp and step2.exp).
23485 * config/mt-lynx (STEP_EXECUTABLE): Define.
23486 (THREADFLAGS): Define.
23487
23488Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
23489
23490 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
23491
23492 * gdb.base/signals.exp: Disable whole file for lynx until
23493 further notice.
23494
23495 * gdb.base/signals.exp: xfail test where "next" acts like
23496 "continue" for lynx.
23497
23498 * gdb.base/interrupt.exp: xfail test for calling function while
23499 inferior is asleep for lynx.
23500
23501 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
23502 than one cr-lf after each command.
23503
23504Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23505
23506 * configure.in: Reinstate setting of stabsdirs variable, fix
23507 typo in setting up configdirs for native builds.
23508
23509 * gdb.base/return.exp: Fix typo in return double test.
23510 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
23511 compiler from optimizing them away.
23512
23513Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
23514
23515 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
23516 sequences to be echo'd by gdb when using gdb_test.
23517 * gdb.chill/chexp.exp: Likewise.
23518 * gdb.fortran/exprs.exp: Likewise
23519
23520Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23521
23522 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
23523 after the inferior gdb has started.
23524
23525 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
23526 after each command.
23527 * gdb.base/funcargs.exp: Likewise.
23528 * gdb.base/gdbvars.exp: Likewise.
23529 * gdb.base/interrupt.exp: Likewise.
23530 * gdb.base/list.exp: Likewise.
23531 * gdb.base/watchpoint.exp: Likewise.
23532 * gdb.c++/demangle.exp: Likewise.
23533 * gdb.c++/inherit.exp: Likewise.
23534 * gdb.chill/chexp.exp: Likewise.
23535 * gdb.fortran/exprs.exp: Likewise.
23536
23537 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
23538 test if we can't handle IO to/from the inferior.
23539
23540 * gdb.c++/misc.exp: Always check for a program already being
23541 started after sending a "run" command to gdb.
23542
23543 * gdb.base/twice.exp: Start with a fresh gdb.
23544
23545 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
23546 only depend on gdb's expression code, not the chill runtime.
23547
23548 * gdb.base/return.c: Put return values into variables so we
23549 can have gdb print them rather than depending on the program
23550 to print them.
23551 * gdb.base/return.exp: Corresponding changes.
23552
23553 * lib/gdb.exp: Provide default value for noinferiorio.
23554 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
23555 the inferior.
23556
23557 * gdb.base/break.exp: Always check for a program already being
23558 started after sending a "run" command to gdb.
23559 (text_next_with_recursion): Don't check the output from the
23560 program's printf statement. Instead just make sure the program
23561 exited.
23562
23563 * gdb.base/commands.exp: Protect tests which need arguments with
23564 $noargs conditionals.
23565
23566Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23567
23568 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
23569 of structure member arrays to match gdb/valops.c:value_addr change.
23570
23571Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
23572
23573 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
23574 cases.
23575
23576Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
23577
23578 * configure.in (configdirs): Remove gdb.chill from default list
23579 of subdirs and then add it back in only if doing a native build.
23580 The current chill compiler does not yet work in any cross build.
23581 * Revert all signal changes from Jul 6.
23582 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
23583 for sh-hms targets, allowing these tests to link, with no other
23584 changes. Testing is suppressed by setting "nosignals" in site.exp.
23585
23586Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
23587
23588 * configure.in (signaldirs): Define and add to configdirs for all
23589 targets except some specific ones that are known to not support signals.
23590 Also clean up formatting.
23591 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
23592 (signals, sigall): Remove rules to build.
23593 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
23594 Moved to new gdb.signals directory.
23595 * gdb.signals: New test directory.
23596 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
23597 signals.c signals.exp}: New or moved files.
23598
23599Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
23600
23601 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
23602
23603Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
23604
23605 * gdb.base/return.exp: Xfail `return double' test failure
23606 on at least Solaris 2.3 and handle future/past versions on
23607 a case by case basis as appropriate. Also update message
23608 to include i*86 failures.
23609
23610Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23611
23612 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
23613
23614 * lib/gdb.exp: Fix comment which erroneously identified
23615 gdb_file_cmd as gdb_load (the 19 May change was in fact to
23616 gdb_file_cmd not gdb_load).
23617 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
23618
23619 * gdb.base/setvar.exp: Make test names consistent between pass and
23620 fail cases. Use gdb_test more.
23621
23622Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23623
23624 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
23625
23626Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23627
23628 * gdb.base/help.exp: Fix expected help string for `show commands'.
23629
23630Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
23631
23632 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
23633
23634 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
23635 of a text section.
23636
23637Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
23638
23639 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
23640 that loop eventually terminates. Fix Connection refused logic so
23641 that testsuite will expire nicely.
23642
23643Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
23644
23645 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
23646 config/rom68k.exp: New tcl glue for the appropriate monitors.
23647 These all just end up calling monitor.exp.
23648 * config/monitor.exp (gdb_target_monitor): Handle `Connection
23649 refused' by retrying. Cleanup some timeout issues.
23650 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
23651 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
23652 callers don't have to set/restore global timeout variable.
23653
23654 * The following set of changes centralizes management of the global
23655 timeout variable. This way, it can be set in one target dependent
23656 place instead of dozens of places scattered throughout the test suite.
23657 If you need to lengthen a timeout, then you should either set timeout
23658 in one of the config/{target}.exp files, or multiply it by a factor.
23659 Setting it to an absolute value is always going to lose for some
23660 targets.
23661 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
23662 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
23663 * gdb.base/funcargs.exp: Don't set timeout.
23664 * gdb.base/list.exp (test_forward_search): Only use local timeout.
23665 * gdb.base/printcmds.exp (test_print_string_constants
23666 test_print_array_constants): Don't set timeout.
23667 * gdb.base/ptype.exp: Don't set timeout.
23668 * gdb.base/recurse.exp: Don't set timeout.
23669 * gdb.base/return.exp: Don't set timeout.
23670 * gdb.base/watchpoint.exp: Don't set timeout.
23671 * gdb.c++/classes.exp (do_tests): Don't set timeout.
23672 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
23673
23674Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
23675
23676 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
23677
23678Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23679
23680 * lib/gdb.exp: Disable chill tests for irix5.
23681
23682Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23683
23684 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
23685 each test pass or fail.
23686
23687Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23688
23689 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
23690 xlc not gcc.
23691
23692Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
23693
23694 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
23695
23696Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
23697
23698 * config/est.exp: Fix copyright and comments. Remove dead code.
23699 Use targetname, serialport and baud variables instead of fixed
23700 constants.
23701 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
23702 * config/cpu32bug.exp: New file to support cpu32bug monitors.
23703
23704Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23705
23706 * gdb.base/watchpoint.exp: Don't run
23707 test_watchpoint_triggered_in_syscall for sunos.
23708
23709Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23710
23711 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
23712 they don't seem to exist. Do include stdio.h.
23713
23714Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23715
23716 * gdb.base/a1-selftest.exp: Add alpha xfail.
23717
23718Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23719
23720 * gdb.base/watchpoint.c (main): Prompt before calling read().
23721 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
23722 Revise accordingly. Remove cruft about sending "123" several
23723 times, until it gets noticed. Clean up the "print buf[0]" stuff
23724 so that it passes or fails, and waits for prompts in the usual way.
23725
23726Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23727
23728 * gdb.base/recurse.exp: Fix comment.
23729
23730 * TODO: Remove item about printing variables in nodebug.exp. Add
23731 item about enabling tests which are only run on some targets.
23732
23733 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
23734 fail, make test names unique, use new gdb_test convention
23735 regarding pattern, use gdb_test more, etc.).
23736
23737 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
23738 fail, make test names unique, etc.).
23739
23740Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23741
23742 * gdb.base/nodebug.c: Change return type of top and middle to
23743 short.
23744 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
23745 are fixed by the recent mdebugread.c changes. Allow `short ()'
23746 as type for top and middle.
23747
23748Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23749
23750 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
23751 nearly as I can tell, the whole thing was an accident in Stu's
23752 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
23753 to replace a send/expect pair with gdb_test, but ended up only
23754 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
23755 of 30 Mar 1995 took care of it, but left this vestigial comment
23756 which I am now nuking.
23757
23758Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23759
23760 * gdb.base/break.exp: Look for different line number for
23761 breakpoint at main depending on usestubs.
23762
23763Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23764
23765 * gdb.base/list.exp: Adjust some alternate expect patterns to
23766 match recent list0.c change. Add alternate expect pattern for
23767 output from `list default lines around main' for optimizing
23768 compilers.
23769
23770Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23771
23772 * lib/gdb.exp: If nosignals is not set, set it to 0.
23773
23774Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
23775
23776 * config/slite-gdb.exp: Responds to load symbol table prompt.
23777 * gdb.base/break.exp: Adjust line number, fix rerun.
23778 * gdb.base/langs0.c: Add #ifdef usestubs.
23779
23780Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
23781
23782 * gdb.base/list.exp: Adjust line contents after adding new lines in
23783 list0.c. Also fix a syntax error.
23784
23785 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
23786 * gdb.base/break.exp: ditto.
23787 * gdb.base/list.exp: ditto.
23788 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
23789 * gdb.base/run.c: ditto.
23790 * gdb.base/list0.c: ditto.
23791 * gdb.base/funcargs.c: ditto.
23792
23793Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
23794
23795 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
23796 $targetname, $serialport and $baud instead of hardwired variables.
23797 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
23798 target doesn't support signals.
23799
23800Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
23801
23802 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
23803
23804Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23805
23806 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
23807 Don't rely on the value of an auto variable before it has been
23808 initialized. Use gdb_test more.
23809
23810Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23811
23812 * lib/gdb.exp (default_gdb_version): A version number must start
23813 with a digit, but other than that contains all characters up to
23814 the first whitespace character.
23815
23816Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23817
23818 * gdb.base/commands.exp (breakpoint_command_test): New tests.
23819
23820Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23821
23822 * gdb.c++/*.exp: Warn if executable does not exist. The original
23823 reason for skipping the warning was that configure.in sometimes
23824 intentionally skipped building the executables but the tcl code
23825 had no way of knowing. That (a) was always bogus with respect to
23826 error handling, (b) is no longer true (right now there is no way
23827 to skip C++ tests).
23828
23829 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
23830
23831Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23832
23833 * gdb.base/list.exp: Add expect patterns for output from
23834 SunPRO compiled executables.
23835 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
23836 types.
23837
23838Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23839
23840 * gdb.base/break.exp (test_next_with_recursion): Accept any line
23841 number (we are already testing that the correct source line text
23842 gets printed).
23843
23844 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
23845 that is what is intended, but something needed to be done to get
23846 sunos4 native working again.
23847
23848 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
23849
23850 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
23851 apparently went with a (very) old xfail.
23852
23853Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
23854
23855 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
23856 runto_main is a proc in gdb.exp that will do 'step' for target use
23857 stubs.
23858 * gdb.base/exprs.exp: ditto.
23859 * gdb.base/interrupt.exp: ditto.
23860 * gdb.base/opaque.exp: ditto.
23861 * gdb.base/printcmds.exp: ditto.
23862 * gdb.base/ptype.exp: ditto.
23863 * gdb.base/scope.exp: ditto.
23864 * gdb.base/setvar.exp: ditto.
23865 * gdb.base/signals.exp: ditto.
23866 * gdb.base/twice.exp: ditto.
23867 * gdb.c++/classes.exp: ditto.
23868 * gdb.c++/inherit.exp: ditto.
23869 * gdb.c++/templates.exp: ditto.
23870 * gdb.base/break.exp: no run and hit main for stubs. Change line
23871 numbers for breakpoints and info breakpoint.
23872 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
23873 breakpoint().
23874 * gdb.base/callfuncs.c: ditto.
23875 * gdb.base/exprs: ditto.
23876 * gdb.base/interrupt.c: ditto.
23877 * gdb.base/opaque0.c: ditto.
23878 * gdb.base/printcmds.c: ditto.
23879 * gdb.base/ptype.c: ditto.
23880 * gdb.base/scope0.c: ditto.
23881 * gdb.base/setvar.c: ditto.
23882 * gdb.base/signals.c: ditto.
23883 * gdb.base/twice.c: ditto.
23884 * gdb.c++/misc.cc: ditto.
23885 * gdb.c++/templates.cc: ditto.
23886
23887Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23888
23889 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
23890
23891 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
23892 somewhere between `read' and `main.c'. I'm pretty sure the
23893 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
23894 and it isn't particularly useful.
23895
23896 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
23897
23898Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23899
23900 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
23901
23902Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
23903
23904 * config/mt-slite: add LIBS and -nostdlib.
23905 * config/slite-gdb.exp: add this new file to support sparclite target.
23906
23907Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
23908
23909 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
23910
23911 * gdb.base/a2-run.exp: Change argument to istarget from
23912 "*-*-vxworks" to "*-*-vxworks*".
23913 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
23914
23915Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
23916
23917 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
23918 will not runto main but do a 'step' to step out of breakpoint().
23919 * config/mt-slite: add -Dusestubs.
23920
23921Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23922
23923 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
23924 instead of just @.
23925
23926 * gdb.base/signals.exp: Add test for "handle all print".
23927 * TODO: Remove "handle all print". Also remove item about
23928 checking copyright date (I don't like the idea of a spurious FAIL
23929 based on when we run the tests).
23930
23931 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
23932 for SunOS4 (reason for failure not investigated). Remove
23933 redundant test for $binfile.
23934
23935 * gdb.base/nodebug.c (array_index): Call malloc.
23936
23937 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
23938
23939Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
23940
23941 * gdb.base/recurse.exp: Update gdb_test invocation to use new
23942 conventions and slightly simplify the matching regexp.
23943
23944Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23945
23946 * gdb.base/break.exp: Update gdb_test invocation to use new
23947 convention.
23948
23949 * lib/gdb.exp: If noargs is not set, set it to 0.
23950
23951 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
23952 tests unique.
23953
23954 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
23955
23956Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23957
23958 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
23959 one argument of type "<non-float parameter>".
23960
23961Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
23962
23963 * config/rom68k.exp: New file to support Motorola IDP board.
23964 * gdb.base/a2-run.exp: Skip this file if noargs is set.
23965 * gdb.base/break.c: Change things around so that this program
23966 doesn't depend upon args. This is necessary to make remote
23967 targets work (in general, they can't take args).
23968 * gdb.base/break.exp: Don't try to send args to program. Don't
23969 expect output. Also, replace lots of code with gdb_test.
23970
23971Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23972
23973 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
23974 printing of '\'' (which is what the comment says we are testing,
23975 even though we were not), not '''.
23976 (test_integer_literals_rejected): Test that printing ''' is an error.
23977
23978 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
23979 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
23980 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
23981 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
23982 Use gdb_test not test_print_accept.
23983 * lib/gdb.exp: Remove test_print_accept.
23984
23985 * gdb.base/signals.exp (signal_tests_1): Make pass message
23986 consistent with fail message.
23987
23988 * gdb.base/whatis.exp: Remove xfails for printing char vs.
23989 unsigned char; the bug (PR 1821) is fixed.
23990
23991 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
23992
23993 * gdb.base/scope.exp (test_at_localscopes): Call pass for
23994 successful tests--makes xfailing them work right.
23995
23996Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23997
23998 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
23999 only \r\n, not .*. The test can pass .* as the last thing in
24000 $pattern if that is what it wants. In addition to providing this
24001 flexibility, this change should speed up pattern matching in cases
24002 where the pattern already ended with .* (there were a number of
24003 them). This change also helps catch bad patterns--in the old
24004 scheme the typo "char \*" instead of "char \\*" would pass. Now
24005 it is caught.
24006 * Many .exp files: Update callers.
24007
24008 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
24009 clearer and does not spuriously match multiple ('s. Likewise for
24010 ) and *.
24011
24012 * gdb.base/nodebug.exp: Test ability to call a function and pass
24013 it a string (even with no debugging info).
24014
24015 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
24016 "p '\'", which is the same as "p ''" once tcl gets done with
24017 quoting, to "p '\\'", which I suspect is what is intended (one
24018 backslash gets sent to GDB).
24019
24020 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
24021
24022Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24023
24024 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
24025 1817) was fixed literally years ago.
24026
24027Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24028
24029 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
24030 test, it causes stepping out of call_after_alloca_subr with
24031 optimizing compilers.
24032 (localvars_in_indirect_call): Consume GDB prompt if `finish'
24033 fails.
24034
24035 * gdb.c++/templates.exp: Source templ-info.exp only if
24036 the templates executable exists.
24037
24038 * gdb.c++/misc.cc (class Contains_static_instance,
24039 class Contains_nested_static_instance),
24040 gdb.c++/classes.exp (test_static_members): Test printing of
24041 a class that contains a static instance of the class.
24042
24043Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24044
24045 * gdb.base/langs2.c (cppsub_): Don't prototype.
24046 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
24047 only, I believe).
24048
24049Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24050
24051 * lib/gdb.exp (skip_chill_tests): New procedure.
24052
24053 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
24054
24055Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
24056
24057 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
24058 each expect pattern. Cuts runtime from 12 to about 4 seconds.
24059
24060Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24061
24062 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
24063
24064 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
24065 disassemble 8, not 16, instructions for part 4.
24066
24067 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
24068 support the latter anymore.
24069
24070 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
24071 -DNO_PROTOTYPES.
24072 * gdb.base/callfuncs.c: Control use of prototypes based on
24073 NO_PROTOTYPES, not __STDC__.
24074 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
24075 t_float_values2 tests if prototypes in use.
24076
24077 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
24078 t_double_values): When checking differences against DELTA, check
24079 that difference is within the range (-DELTA,DELTA), not just
24080 (-infinity,DELTA).
24081
24082Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
24083
24084 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
24085 'file' command firts, then 'target', then 'load', this is due to gdb
24086 target set up.
24087 * config/mips-gdb.exp: Fix a couple regular exp bugs.
24088
24089Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
24090
24091 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
24092 FP load/store variants.
24093 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
24094
24095Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
24096
24097 * gdb.base/term.exp: Do not give a warning if not native, it is
24098 not an abnormal condition.
24099
24100Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
24101
24102 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
24103 t_char_array".
24104
24105Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
24106
24107 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
24108 are getting the version number.
24109
24110 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
24111 if not native, it is not an abnormal condition.
24112
24113Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24114
24115 * lib/gdb.exp: Just use "file exists", rather than undocumented
24116 dejagnu procedure "findfile".
24117
24118Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
24119
24120 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
24121 (LDFLAGS): Set to -Xlinker -Ur.
24122
24123 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
24124 Removed, these values are set by lib/gdb.exp.
24125
24126 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
24127
24128Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
24129
24130 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
24131 of replicating gdb startup code.
24132
24133 * config/mt-vxworks (LDFLAGS): Set to -r.
24134 (CFLAGS_FOR_TARGET): Removed.
24135
24136 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
24137 (gdb) and gdb for vxworks uses (vxgdb).
24138
24139 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
24140 executable is not in the tree and host != target, use sed and
24141 program_transform_name to determine the gdb name used by the
24142 target.
24143
24144 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
24145 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
24146
24147Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24148
24149 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
24150 floats, chars, and shorts where there are ANSI-style function
24151 definitions.
24152
24153 * gdb.base/langs.exp, gdb.base/langs*: New test.
24154 * gdb.base/Makefile.in: Build it.
24155 * TODO: Remove item about checking that C names don't get C++
24156 demangling applied; this test tests it.
24157
24158Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24159
24160 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
24161 went with the const70 xfail. The xfail went away a year ago.
24162
24163 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
24164
24165 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
24166 for hp300.
24167
24168 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
24169
24170 * gdb.base/a1-selftest.exp: Don't run on hp300.
24171
24172Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24173
24174 * Makefile.in (site.exp): Set host_alias and target_alias as well
24175 as host_triplet and target_triplet.
24176
24177Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24178
24179 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
24180
24181 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
24182 places as other ecoff systems).
24183
24184 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
24185 ultrix.
24186
24187Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24188
24189 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
24190 remove them.
24191 * gdb.base/nodebug.exp: Accept "function" in addition to "text
24192 variable and "variable" in addition to "data variable".
24193 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
24194
24195 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
24196 2.
24197 * gdb.base/list1.c (long_line): Add additional statement at start
24198 of function.
24199 * gdb.base/list.exp (test_forward_search): Update line number to
24200 reflect new statement.
24201
24202Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24203
24204 * gdb.base/signals.exp: Reinitialize searched source directories
24205 after gdb_start call.
24206
24207Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
24208
24209 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
24210 * gdb.stabs/Makefile.in: Likewise.
24211
24212 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
24213 change. Instead split the tests into smaller pieces.
24214 * gdb.disasm/hppa.s: Corresponding changes.
24215
24216Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24217
24218 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
24219 Quote ^C when passing it to stty. For some shells ^ is a pipe.
24220
24221 * gdb.base/funcargs.exp: Modify many tests so that every test
24222 either passes or fails. Make some test names unique.
24223
24224Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24225
24226 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
24227 Call stty to set interrupt character.
24228
24229 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
24230 for HP assembler versus GNU assembler based on actual behavior of
24231 $(CC), rather than assuming that $(AS) is always the GNU assembler.
24232
24233 * TODO: Suggest a few more stepping tests.
24234
24235Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
24236
24237 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
24238 restart GDB for h8300 after a continue.
24239 (return): Add pattern to match a29k-udi behavior.
24240 * gdb.base/nodebug.exp: Remove obsolete comment.
24241 * gdb.base/regs.exp: New file, testing of register displays.
24242 * gdb.base/return.exp: Fix typo in reference to $objdir.
24243 * gdb.base/whatis.exp: Always start with a fresh GDB.
24244
24245Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24246
24247 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
24248 higher, these tests generate a lot of output.
24249
24250Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24251
24252 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
24253 code following the catch silently ignored some errors; without the
24254 catch they should be thrown like any other tcl error. Also, the
24255 catch used "" instead of {} which meant all the callers who wanted
24256 to include one of the characters "[]$ had to quote it an extra time.
24257 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
24258 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
24259 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
24260 Remove extra quoting.
24261
24262Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
24263
24264 * gdb.base/commands.exp: Make test names unique; every test either
24265 passes or fails. Update some comments.
24266
24267 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
24268
24269Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24270
24271 The following fixes a FAIL caused by the fact that the alpha stabs
24272 configuration didn't use the ".if alpha" code in weird.def.
24273 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
24274 bit pointer, so the 32 bit version works even on the alpha.
24275 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
24276 Remove the stuff which allowed us to have separate versions for
24277 alpha and everything else.
24278
24279 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
24280 regexp which "info func operator\[\](" is supposed to match. Fix
24281 string to send to GDB. Note that GDB still doesn't work right. Add a
24282 new test for "info func .perator\[\](" which GDB does handle correctly.
24283
24284 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
24285
24286Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24287
24288 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
24289 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
24290 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
24291 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
24292 it makes the tests harder to understand and confuses test-o-matic.
24293 The preferred style is that each test provides a PASS or a FAIL,
24294 and has a unique message (e.g. "continue #54" not just "continue")
24295 which is the same for the pass and the fail.
24296 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
24297 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
24298 to lib/gdb.exp.
24299 * gdb.base/printcmds.exp: Use test_print_accept. Remove
24300 prt_accept which was basically the same thing. Likewise for
24301 test_print_reject and prt_reject.
24302 * lib/gdb.exp (test_print_reject): Add some more error message
24303 patterns to match from the former printcmds.exp (prt_reject).
24304 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
24305 One defect of the passcount stuff is that some of it failed to
24306 report XPASS where appropriate.
24307 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
24308 stuff before and after arg in expected pattern.
24309 (test_paddr_operator_functions): Re-do test without print_addr_of;
24310 this is the only test which seems to want extra stuff there.
24311
24312Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24313
24314 * gdb.base/nodebug.exp: Update new tests to reflect improved
24315 wording of gdb output.
24316
24317 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
24318 and "ptype" work on variables in files compiled without -g.
24319 Replaces commented out "maint print msymbol" tests.
24320
24321Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24322
24323 * gdb.base/setvar.c (dummy): Call malloc.
24324
24325 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
24326 losing with the irix4 sed.
24327
24328 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
24329 ALRM" on irix4.
24330
24331Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24332
24333 * TODO: Remove items about corefile.exp testing new exec-file and
24334 backtrace; both are now done. Add items about printing enums.
24335
24336Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24337
24338 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
24339 "get signal $thissig" test fails.
24340
24341 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
24342
24343Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24344
24345 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
24346 compiler warning with dec alpha compiler.
24347
24348 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
24349 extra \n from gdb_test call (this explains why the prompt test
24350 that I removed yesterday was there).
24351 (user_defined_command_test): Remove extra \n and prompt test.
24352
24353 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
24354 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
24355 doesn't exist.
24356 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
24357 Also remove alpha workaround, which turns out to be because
24358 SIGABRT == SIGLOST.
24359
24360 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
24361
24362 * gdb.base/help.exp: Don't test "help show".
24363
24364Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24365
24366 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
24367 "set print address" is on.
24368 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
24369 pass prompt to gdb_test; gdb_test already looks for the prompt.
24370
24371 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
24372
24373 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
24374 was a vestige of the manual TESTSTRATEGY, and the purpose of it
24375 was to make sure that gdb can read a core file. But (a) the "read
24376 the corefile" part didn't make it to a1-selftest.exp, we just
24377 delete the corefile after creating it, and (b) we test reading
24378 corefiles in corefile.exp anyway. Also, this test left around a
24379 xgdb process on Solaris.
24380
24381 * gdb.base/corefile.exp: Also test backtrace.
24382
24383Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
24384
24385 * gdb.base/commands.exp: Test a simple user defined command with
24386 arguments and if/while statements; verify the full user command is
24387 printed by "show user".
24388
24389 * gdb.base/commands.exp: Test if/while commands as part of a
24390 breakpoint command list; verify they appear in breakpoint
24391 information.
24392
24393Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24394
24395 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
24396 than by dividing by zero.
24397
24398Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
24399
24400 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
24401 performing an inferior call with watchpoints enabled.
24402 * gdb.base/watchpoint.c (main): Delete second unnecessary read
24403 call.
24404
24405Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24406
24407 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
24408 of "file" command.
24409
24410 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
24411 Add additional pattern for when "int operator int(void);" appears
24412 in a different order.
24413
24414Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24415
24416 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
24417
24418 * gdb.base/help.exp: Replace most of docstrings for "info signals"
24419 and "signal" with ".*".
24420
24421Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24422
24423 * TODO: Add note about "handle all nostop".
24424
24425 * gdb.base/{sigall.c, sigall.exp}: New test.
24426 * gdb.base/Makefile.in: Add it.
24427
24428Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
24429
24430 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
24431 when invoking GDB, suppresses any windowing interface.
24432
24433Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
24434
24435 * config/sim-gdb: New file, simulator testing support.
24436
24437Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
24438
24439 * gdb.base/interrupt.exp: Test calling func1 twice.
24440
24441Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
24442
24443 * gdb.base/list.exp (test_forward_search): Set timeout higher
24444 when we'll be getting lots of output from gdb.
24445
24446 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
24447 "init_malloc" to after the expect statement. Run it if that
24448 regexp is taken, but also for two others which happen if source
24449 cannot be found.
24450
24451Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24452
24453 * gdb.base/printcmds.exp: New test, for printing register before
24454 program is running.
24455
24456Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24457
24458 * gdb.base/list.exp: Correct some alternate expect patterns
24459 to reflect changes in list1.c.
24460
24461Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24462
24463 * TODO: Add item regarding large frames.
24464
24465 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
24466
24467 * TODO: Remove item about enabling return.exp; it
24468 is enabled. Suggest a few more "return" tests.
24469
24470Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24471
24472 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
24473 anonymous unions.
24474
24475Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24476
24477 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
24478 and pr-5646.o, so "make" is the same as "make all", not "make
24479 pr-4975.o".
24480
24481Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
24482
24483 * gdb.base/list.exp: Adjust expectations to reflect changes in
24484 list1.c.
24485 (test_forward_search): New test proc.
24486 * gdb.base/list1.c (long_line): New function, has long source line.
24487
24488Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
24489
24490 * gdb.base/a1-selftest.exp: Change initial stepping to know about
24491 additional line of code that was added.
24492
24493Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
24494
24495 * gdb.disasm/hppa.s: Break the large branching tests into smaller
24496 tests so as not to overflow expect's input buffers.
24497 * gdb.disasm/hppa.exp: Corresponding changes.
24498
24499Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24500
24501 Beginnings of template debugging tests.
24502 * gdb.c++/templ-info.cc: New file to test for template
24503 debugging capability of the compiler.
24504 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
24505 templ-info.cc.
24506 * gdb.c++/templates.cc: Add explicit template instantiations
24507 to enable compiling with -fno-implicit-templates. Add destructor
24508 and 'value' method to T5 class for template tests.
24509 * gdb.c++/templates.exp: Add testcases for printing of template
24510 types, setting breakpoints on template methods and calling a
d63a86f8 24511 template method.
c906108c
SS
24512
24513Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
24514
24515 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
24516 branch target since some assemblers (gas-2.5) may emit a
24517 relocation for the branch instead of resolving it in the
24518 assembler.
24519
24520Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24521
24522 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
24523 through signal handler.
24524
24525Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24526
24527 * configure.in (*-*-netware): Use config/mt-netware.
24528
24529 * config/mt-netware: New file.
24530 * config/mt-i386-netware: Removed, separate configs for different
24531 netware architectures are no longer needed now that we have
24532 --with-headers.
24533
24534Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24535
24536 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
24537 by the recent changes to use ANSI C arithmetic conversions.
24538
24539Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24540
24541 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
24542 bug involving using inferior_pid to figure out whether to select a
24543 frame.
24544
24545Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
24546
24547 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
24548 match the current disassembler output.
24549
24550Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
24551
24552 * gdb.fortran/exprs.exp: Expect VOID instead of void.
24553 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
24554 types, expect "int" as type of integer values (for now).
24555
24556Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
24557
24558 * gdb.base/commands.exp: New tests for if/while commands.
24559
24560Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
24561
24562 * lib/gdb.exp (runto): Replace sub-pattern for hex value
24563 by .*, since hex values have different syntax in Chill mode.
24564
24565Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24566
24567 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
24568 linefeed from expect pattern for repeated types with indices > 9.
24569
24570Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
24571
24572 First part of Fortran test suite.
24573 * gdb.fortran: New directory.
24574 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
24575
24576Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24577
24578 * gdb.base/default.exp: Update expect pattern for load command
24579 without arguments.
24580
24581Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
24582
24583 * configure.in: Change i386 to i[345]86.
24584 * gdb.base/configure.in: Likewise.
24585 * gdb.c++/configure.in: Likewise.
24586 * gdb.chill/configure.in: Likewise.
24587
24588Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
24589
24590 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
24591 patterns, since that is not a valid context for comments.
24592
24593Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
24594
24595 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
24596 repeated types and repeated types with indices > 9.
24597
24598Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
24599
24600 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
24601 2417; old bug has been fixed.
24602
24603Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
24604
24605 * gdb.base/interrupt.exp: When trying to wake up the inferior,
24606 send the newline ourselves instead of assuming gdb_test will do
24607 so when passed an empty input string.
24608
24609 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
24610 stabs testcode.
24611
24612Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24613
24614 * lib/gdb.exp (gdb_test): Don't send anything if the first
24615 argument is an empty string. This makes cases where we want to
24616 match output that is already in expect's buffers (for example,
24617 matching a breakpoint after gdb_run_cmd has been called) work
24618 reliably.
24619
24620Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24621
24622 * config/netware.exp: New file.
24623
24624Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24625
24626 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
24627 the -B and -L prefixes so we can find the debugging stub.
24628
24629 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
24630 there and we are using the gcc from the tree.
24631
24632 * gdb.base/types.c: Removed.
24633
24634 * gdb.base/configure.in: Look for makefile fragments in ../config.
24635 Recognize i386-*-netware.
24636 * gdb.c++/configure.in: Likewise.
24637
24638Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24639
24640 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
24641 the correct TCL syntax.
24642
24643Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24644
24645 * gdb.base/opaque.exp: use runto instead of messing around with
24646 breakpoints. Simplify by using gdb_test.
24647
24648 * gdb.base/bitfields.exp: restart between tests on netware targets
24649 because breakpoints aren't relocated after target death. Run
24650 processes to completion.
24651
24652 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
24653
24654Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
24655
24656 * Makefile.in: Remove extra tabs that confuse some versions
24657 of "make". Use the newly built gdb to test with by default,
24658 rather than the first one in the tester's search path.
24659
24660Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
24661
24662 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
24663
24664 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
24665 condition help.
24666
24667Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24668
24669 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
24670
24671 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
24672 running.
24673 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
24674 * gdb.base/funcargs.exp: Likewise.
24675
24676 * gdb.base/bitfields.exp: Simplify by using gdb_test.
24677 * gdb.base/funcargs.exp: Likewise.
24678
24679 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
24680 message is "".
24681
24682Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24683
24684 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
24685 return,signals,twice}.exp: Handle non-existant binaries
24686 consistantly.
24687
24688 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
24689 * gdb.base/Makefile.in: Don't try to generate a core dump, we
24690 might testing a cross development system.
24691
24692Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24693
24694 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
24695 runtest script is relative to ${srcdir}, not ${rootdir}.
24696
24697Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
24698
24699 * gdb.base/signals.exp: Allow for optionality of breakpoint
24700 address.
24701
24702Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24703
24704 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
24705
24706Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24707
24708 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
24709 for size_t definition.
24710 * gdb.c++/templates.cc: Likewise
24711
24712 * config/mt-i386-netware: New file.
24713
24714 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
24715 defined.
24716
24717 * gdb.base/Makefile.in: Added support for systems that name core
24718 files by appending "core" to the program name.
24719 * gdb.base/a1-selftest.exp: Likewise.
24720
24721Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24722
24723 * gdb.base/return.exp: Add comment and message for `return double'
24724 test failure on Sparc Solaris.
24725
24726Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
24727
24728 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
24729
24730Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24731
24732 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
24733 from optimizing them away.
24734 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
24735 patterns to include default constructors and assignment operators,
24736 to match gcc versions beyond 2.5.8. Accept any cplus demangling
24737 character in the output of the virtual base pointer.
24738
24739Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24740
24741 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
24742 expression match in print_addr_of to avoid unintented matches.
24743 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
24744 versions up to 2.5.8.
24745
24746Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24747
24748 * gdb.base/list.exp: Tweak alternate pattern for listing of an
24749 included file to run under newer versions of expect.
24750 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
24751 consecutive >'s in templates to accomodate recent cplus-dem.c change.
24752 Remove xfail for the virtual table of BDDHookV.
24753
24754Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
24755
24756 * lib/gdb.exp (string_to_regexp): Set a default result.
24757 (default_gdb_start): Fix misleading message.
24758
24759Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
24760
24761 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
24762 Remove all CC, etc definitions.
24763 * config/mt-hpux: New file.
24764 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
24765 (CFLAGS, LDFLAGS): Define.
24766 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
24767
24768 * Makefile.in (site.exp): Don't insert host_os, etc.
24769 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
24770 (distclean): Check existence of subdir.
24771 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
24772 * gdb.base/Makefile.in: General cleanup and simplification.
24773 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
24774 to build executables. Use default rule to build .o files.
24775 (EXPECT, RUNTEST, CC): Fix relative pathname.
24776 (site.exp): Don't insert host_os, etc.
24777 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
24778 and/or SIGUSR1 defined.
24779 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
24780 * gdb.c++/Makefile.in: General cleanup and simplification.
24781 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
24782 (CFLAGS): Remove.
24783 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
24784
24785Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
24786
24787 * gdb.base/recurse.exp: Misc changes to get tests running again
24788 after Kung's changes to the watchpoint code.
24789 * gdb.base/watchpoint.exp: Likewise.
24790
24791Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
24792
24793 * lib/gdb.exp (string_to_regexp): Convert {\} also.
24794
24795Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
24796
24797 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
24798 * lib/gdb.exp (default_gdb_start): Define.
24799 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
24800 gdb.base/funcargs.exp, gdb.base/opaque.exp,
24801 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
24802 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
24803 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
24804 Don't call gdb_target_udi in between tests.
24805
24806Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24807
24808 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
24809 (which was basically just a local version of the same thing). In
24810 addition to avoiding duplication, gdb_test_exact is faster.
24811 * lib/gdb.exp (gdb_test_exact): Fix typo.
24812
24813 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
24814 don't give an error.
24815
24816 * gdb.base/term.exp: Call delete_breakpoints before starting.
24817
24818 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
24819 (t10): Add comment.
24820
24821Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
24822
24823 Reorganization of the GDB Test Suite.
24824
24825 * gdb.base: New directory, contains all the basic tests.
24826 * gdb.c++: New directory, tests specific to C++.
24827 * gdb.chill: New directory, tests specific to Chill.
24828 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
24829 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
24830 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
24831 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
24832 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
24833 t30-31 to chill).
24834 * */gdbme.*: Rename to match appropriate expect scripts.
24835 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
24836 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
24837 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
24838 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
24839 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
24840 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
24841 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
24842 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
24843 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
24844 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
24845 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
24846 gdb.c++/virtfunc.cc: New names of C++ files.
24847 * gdb.chill/chillvars.ch: New name of Chill file.
24848 * gdb.base/configure.in, gdb.c++/configure.in,
24849 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
24850 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
24851 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
24852 * configure.in (configdirs): Update to reflect directory changes.
24853 (target_abbrev): No longer define for any configuration.
24854 * Makefile.in: Cosmetic improvements to header comments.
24855
24856Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
24857
24858 Various changes to gdb.t31:
24859
24860 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
24861 * gdbme.ch: Make all key-words and predefineds be upper-case.
24862 * chillvars.exp: Expect key-words and predefinds in upper-case.
24863
24864 * chillvars.exp: Use gdb_test_exact many places.
24865 Change expected output for arrays (which now includes index labels).
24866
24867 * pr-5020.exp, gdme.ch (module PR_5020):
24868 New test, for PR-5020.
24869
24870Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
24871
24872 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
24873 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
24874
24875Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
24876
24877 * Makefile.in: Fix bit-rot in definitions of CHILL,
24878 CHILL_FOR_TARGET and Chill_LIB.
24879 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
24880 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
24881 CHILL, and CHILL_LIB.
24882
24883Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
24884
24885 * Revert the previous changes. Please see Rob's directory
24886 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
24887
24888Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
24889
24890 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
24891 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
24892 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
24893 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
24894 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
24895 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
24896 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
24897 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
24898 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
24899 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
24900 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
24901 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
24902 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
24903 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
24904 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
24905 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
24906 changes from 94Q1.
24907
24908Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
24909
24910 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
24911 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
24912 Rob's new testing fragments.
24913
24914Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
24915
24916 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 24917 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
24918
24919Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
24920
24921 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
24922 version also, match on casted version strings, and match on
24923 gdb startup case where the line numbers might be messed up.
24924
24925Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
24926
24927 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 24928 (CFLAGS): Delete it from here.
c906108c
SS
24929
24930Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
24931
24932 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
24933
24934Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
24935
24936 * Makefile.in (RUNTEST): Default to just "runtest".
24937
24938Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24939
24940 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
24941 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
24942 the code has been restructured.
24943
24944Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24945
24946 * gdb.t00/default.exp (set write): Allow any number of \r and/or
24947 \n, not just one of each.
24948
24949 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
24950 /bin/cc gives a warning if you do.
24951
24952Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
24953
d63a86f8 24954 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
24955 __t10ListS_link1ZUiRCUiPT0
24956
24957Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24958
24959 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
24960 on local variables in recursive functions.
24961
24962 * gdb.t07/Makefile.in: Build the new test.
24963
24964Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24965
24966 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
24967 directly. Instead compare the return values from actual calls.
24968
24969Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
24970
24971 * Makefile.in (check): Set TCL_LIBRARY for runtest.
24972
24973Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24974
24975 * From Peter Schauer with minor modifications.
a9c64011
AS
24976 * gdb.t15/return.exp (return_tests): Handle targets where "return"
24977 stops in mid-line in the caller. Add xfail for returning a float
24978 value on X86 targets.
c906108c
SS
24979
24980Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24981
24982 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
24983 to avoid expect lossage.
24984 (fmem_LRbug_tests): Likewise.
24985 * gdb.disasm/hppa.s: Corresponding changes.
24986
24987 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
24988 conditions to work with latest dejagnu/expect.
24989
24990 * gdb.t15/funcargs.exp (finish from indirect call): No longer
24991 expected to fail on the PA.
24992 (backtrace in call with trampolines): Explicitly require main
24993 to be frame #1 (no trampolines should show up in backtrace).
24994
24995 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
24996 "continue -expect".
24997 * gdb.t06/break.exp: Likewise.
24998 * gdb.t07/watchpoint.exp: Likewise.
24999 * gdb.t13/bitfields.exp: Likewise.
25000 * gdb.t15/{funcargs,return}.exp: Likewise.
25001 * gdb.stabs/weird.exp: Likewise.
25002 * config/{mips,udi}-gdb.exp: Likewise.
25003
25004 * hppa.sed: Enclose comments within a sed command to avoid
25005 losing with the old OSF1 sed.
25006
25007Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25008
25009 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
25010 sequent dynix.
25011 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
25012 * gdb.t15/funcargs.exp: Conditionally step again to really
25013 finish from marker_call_with_trampolines. Handle the case where
25014 the first step from within call_with_trampolines already steps
25015 us back to main.
25016 * gdb.t15/gdbme.c: Add comment to closing brace of
25017 call_with_trampolines for funcargs.exp.
25018
25019Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25020
d63a86f8 25021 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
25022 Fix typo(s).
25023
25024Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25025
25026 * gdb.t07/gdbme.c: More code for watchpoint testing.
25027
25028 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
25029 "Hardware watchpoint" throughout file.
25030 (test_watchpoint_triggered_in_syscall): New test.
25031 (test_complex_watchpoint): New test.
25032
25033Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25034
25035 * gdbme.c (call_with_trampolines): New function to try and step
25036 into. Tests trampoline problems on the PA.
25037
25038 * funcargs.exp (localvars_in_indirect_call): No longer expect
25039 stepping into indirect call to fail on PAs.
25040 (test_stepping_over_trampolines): New test.
25041
25042Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25043
25044 * TODO: Add suggestions for static member function tests, and
25045 completion tests.
25046
25047Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25048
25049 * TODO: Add suggestions for "p/a" tests.
25050
25051 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
25052 (default_gdb_exit): Replace all the hair with sending "quit" to
25053 the process with a simple close.
25054
25055Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25056
25057 * TODO: Add suggestions for shared library tests.
25058
25059Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25060
25061 * TODO: Add suggestions for x/s tests.
25062
25063Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25064
25065 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
25066 "enable once", and "enable breakpoints once" with ".*".
25067
25068Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25069
25070 * TODO: Add suggestions about structure passing tests.
25071
25072Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25073
25074 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
25075 the primary1 test, use work around if __GNUC__ < 2.
25076 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
25077 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
25078 Test for bad output rather than waiting for timeout. Issue
25079 second continue only if first continue failed.
25080
25081Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
25082
25083 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
25084 operator[] test with gdb_test because the old code didn't seem to
25085 be getting the quoting right with the new dejagnu.
25086
25087Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
25088
25089 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
25090 one from the path.
25091 * Makefile.in: Use a fresh expect if there is one, use runtest
25092 from the src tree if there is one.
d63a86f8 25093
c906108c
SS
25094Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
25095
25096 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
25097 next over recursive call. Revise the tests from that point on
25098 (which had been skipped) to match GDB's actual (correct) output.
25099
25100 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
25101 with next over a breakpoint whose condition is false.
25102
25103 * gdb.t00/help.exp: Comment out "help set print" tests just like
25104 (and for same reason as) "help set" test.
25105
25106Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25107
25108 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
25109 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
25110
25111Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25112
25113 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
25114 necessary gdb_target_udi.
25115
25116 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
25117
25118 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
25119 1838 and 2417; they are fixed.
25120
25121 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
25122 gdb.t03/ptype.exp (ptype structure, ptype union):
25123 Remove xfails; the test is looser than when the xfails were added.
25124
25125 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
25126 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
25127
25128 * gdb.t01/run.exp: Only run shell test if isnative.
25129
25130 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
25131 since "run" automatically loads if necessary. Call gdb_target_udi
25132 after the "file" since "file" kills any execution target.
25133
25134 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
25135 GDB. GDB doesn't work that way (not anymore at least) on UDI.
25136 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
25137 argument for UDI.
25138
25139Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
25140
25141 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
25142
25143 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
25144
25145Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25146
25147 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
25148 properly quoting regexps. This makes the second argument to
25149 demangle a fixed string, which matches the callers, instead of a
25150 shell-style pattern which is what the previous implementation
25151 used. Update some of the callers.
25152
25153Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25154
25155 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
25156 (comib_nullified_tests): Fix typo.
25157 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
25158 strings. No longer expected to fail.
25159
25160 * gdb.disasm/hppa.s (addib_tests): Fix typo.
25161 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
25162 strings. No longer expected to fail.
25163
25164 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
25165 string. No longer expected to fail.
25166
25167Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25168
25169 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
25170 No longer expected to fail.
25171
25172 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
25173 string. No longer expected to fail.
25174
25175Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25176
25177 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
25178 only in the names (I probably got most of them). I was even
25179 generous with some which differed in underscores in names, and
25180 probably missed a few, and I *still* was able to remove almost a
25181 third of the file with almost no impact on testsuite coverage.
25182
25183Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25184
25185 * gdb.t00/default.exp: Match udi_attach error message as well as
25186 the one from child_attach.
25187
25188 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
25189
25190 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
25191
25192 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
25193 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
25194
25195 * Move test with enums and partial symbols back to
25196 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
25197 Reverts the change of 26 May 93. Per today's change to
25198 stabs.texinfo, the behavior that weird.exp was expecting was
25199 unreasonable; what is important is that the compiler+gdb get
25200 things right, which happens with a recent gcc. Also fix the test
25201 to deal with native compilers which put out the stab gdb can't
25202 deal with.
25203
25204Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25205
25206 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
25207 in the names. The main thing these accomplish is to slow things down.
25208 Many more such duplicates surely remain.
25209
25210 * gdb.t00/help.exp: Comment out "help support" test just like
25211 (and for same reason as) "help set" test.
25212
25213Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
25214
25215 * gdb.t06/break.exp: Remove setup_xfails for
25216 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
25217 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
25218 about known bug in gcc to include up through 2.5.8.
25219 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
25220 well as "_vb$".
25221 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
25222 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
25223 with latest gcc and gdb.
25224 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
25225 well as "_vb$".
25226
25227Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25228
25229 * configure.in (hppa*-*-*): Also configure and build stabs-only
25230 tests.
25231
25232Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25233
25234 * gdb.t10/hppa.mt: A makefile fragment for the PA.
25235 * gdb.t10/configure.in (hppa*-*-*): Use it.
25236
25237Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25238
25239 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
25240
25241Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25242
25243 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
25244 versions prior to 1.13.5.
25245
25246Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25247
25248 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
25249 the prompt is at the start of a line.
25250
25251Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25252
25253 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
25254 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
25255 in the copr tests now.
25256 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
25257 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
25258 expected to fail.
25259
25260Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
25261
25262 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
25263 gdb.t31/chillvars.exp, lib/gdb.exp:
25264 Tweak to run under either version of expect.
25265 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
25266 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
25267 * gdb.t11/list.exp: Remove extraneous whitespace.
25268
25269Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25270
25271 * gdb.t16/printcmds.exp (test_print_strings): Accept
25272 "(unsigned char *) " before the string.
25273
25274 * TODO: Add notes about printing of fancy types and GDB expressions.
25275
25276Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
25277
25278 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
25279 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 25280 if doing mips-idt-ecoff.
c906108c
SS
25281
25282Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
25283
25284 * Most .exp files: Tweak to run under either version of expect.
25285
25286Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25287
25288 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
25289 xfails; I'm not sure why they are failing, but not because of PR 1806.
25290
25291Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
25292
25293 * config/unix-gdb.exp: Remove gdb_unload cause it's already
25294 defined in lib/gdb.exp.
25295
25296Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25297
25298 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
25299 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
25300 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
25301 have to be typeless.
25302
25303Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25304
25305 * TODO: Add suggestion for copyright year test.
25306
25307Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
25308
25309 * configure.in (*-*-lynxos*): Add stabs tests.
25310
25311Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
25312
25313 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
25314 so insert a tab before any assembler directive in column zero.
25315
25316 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
25317 stores.
25318 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
25319 stores.
25320 (fpu_short_memory_tests): Likewise.
25321
25322Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25323
25324 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
25325 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
25326 .stabs directives in comments.
25327
25328Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25329
25330 * TODO: New file, describing tests we could write.
25331 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
25332
25333Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25334
25335 * gdb.t06/signals.exp: Add kludge to force re-sync.
25336
25337 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
25338 to xgdb instead of gdb, get out of gdb.
25339
25340Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
25341
25342 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
25343 for info.
25344
25345Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
25346
25347 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
25348 * gdb.stabs/configure.in (hppa*-*-*): Use it.
25349 * gdb.stabs/hppa.sed: New sed script for the PA.
25350
25351Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25352
25353 * gdb.stabs: Re-write weird.def and configuration to use sed
25354 instead of cpp. sed is portable and POSIX; cpp is neither.
25355
25356Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25357
25358 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
25359
25360Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25361
25362 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
25363
25364Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25365
25366 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
25367 "_vb$".
25368 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
25369 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
25370
25371Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25372
25373 * lib/gdb.exp: Comment out code which depends on non-existent
25374 `transform' procedure.
25375
25376Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
25377
25378 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
25379 * lib/gdb.exp: Transform tool name.
25380 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
25381 1.1's new error handling system.
25382
25383Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25384
25385 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
25386
25387Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25388
25389 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
25390 They made pattern matching so slow that timeouts happened on
25391 heavily loaded systems. Now any output from "show print" which
25392 gets us back to the GDB prompt is a PASS.
25393
25394Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
25395
25396 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
25397
25398Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25399
25400 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
25401
25402 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
25403 It is not from PR 3220.
25404
25405Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25406
25407 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
25408 just started failing because they depended on the order the
25409 subcommands are presented, or exact docstring text. This kind of
25410 test is a pain and has minimal benefit.
25411
25412Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25413
25414 * gdb.t09/corefile.exp: At end of test, use "core" command with
25415 no arguments.
25416
25417Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
25418
25419 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
25420 17}/Makefile.in: Make it possible to run the testsuite with Sun
25421 make and CC = cross gcc by adding explicit build rules for .o
25422 files.
25423
25424Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25425
25426 * gdb.t15/funcargs.exp: Don't put comments on same line as
25427 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 25428
c906108c
SS
25429Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25430
25431 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
25432
25433Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
25434
25435 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
25436 * gdb.t20/inherit.exp: remove three dumplicate entries.
25437
25438Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25439
25440 * gdb.t06/break.exp: For "next over recursive call", fail on any
25441 incorrect output, not just on "factorial (value=2)".
25442
25443Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25444
25445 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
25446 working now. Add an xfail if accesing a bss variable causes
25447 a memory error if the target is not yet run.
25448
25449Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25450
25451 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
25452 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
25453 name of __st* demangling (2 strings). Did Kung really get the
25454 more than 95 others right without testing them?
25455
25456Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
25457
25458 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
25459
25460Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
25461
25462 * configure.in (configdirs): Add gdb.disasm
25463 * gdb.disasm: New directory for GDB disassembler tests.
25464 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
25465
25466Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25467
25468 * gdb.t00/help.exp: Don't test "help set".
25469
25470 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
25471 from within expect statements. None of these happen anymore and
25472 they cause regressions to be silently unnoticed.
25473
25474 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
25475 messages) about known failures with gcc cygnus-2.4.5-930417.
25476
25477 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
25478 comp-info.exp so it gets built if it doesn't exist.
25479
25480 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
25481 it is no longer used.
25482 * gdb.t13/comp-info.c: Removed.
25483
25484Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
25485
25486 * gdb.t06/signals.exp: Add xfail for sun3.
25487
25488Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25489
25490 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
25491 relevant because ^C doesn't get sent but failure can be reproduced
25492 interactively).
25493
25494Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25495
25496 * gdb.stabs/alpha.mt: New configuration file for alpha.
25497 * gdb.stabs/configure.in: Use it.
25498 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
25499 sharing with alpha.mt, redefine long to word via preprocessor.
25500 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
25501 for alpha.
25502 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
25503 native cc.
25504 * gdb.t00/teststrategy.exp: Change expect string so that we
25505 consume the `(xgdb)' from the command echo and from the gdb prompt.
25506 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
25507 gdb currently compares all values as long, so this failure probably
25508 applies to any configuration where LONGEST is bigger than a target int.
25509 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
25510 with gcc.
25511 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
25512 to handle opaque pointers, gcc is.
25513 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
25514 as first argument. Include <sys/types.h> and change all operator
25515 new definitions to use size_t.
25516 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
25517 now that we use size_t.
25518
25519Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25520
a9c64011 25521 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 25522 a long or float array cast all array members to the same type.
a9c64011 25523 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 25524 with 64 bit longs.
a9c64011 25525 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 25526 on alpha.
a9c64011 25527 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
25528
25529Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25530
25531 * gdb.t24 (demangle.exp): Constructors of templates have names like
25532 vector<int>::vector(int) not vector<int>::vector<int>(int). See
25533 section 14.6 of the ARM.
25534
25535 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
25536 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
25537 accomplish little and slow down the testsuite.
25538
25539 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
25540 Accept spaces various places.
25541
25542Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25543
25544 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
25545 with watchpoint enabled.
25546
25547 * Makefile.in: Remove definition of CC and remove the second
25548 definition of CXX (the "CXX = gcc" one remains). These definitions
25549 were causing backquotes to be expanded within backquotes, which
25550 doesn't work.
25551
25552Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
25553
25554 * gdb.t17/callfuncs.exp: Add "return 0" to end.
25555
25556Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25557
a9c64011
AS
25558 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
25559 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
25560 by mips cc and contains no stabs entries.
25561
25562Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
25563
25564 * config/vx-gdb.exp: Use fake device to load files rather than
25565 NFS.
25566 * lib/gdb.exp: New proc to do "file" command.
25567 * config/unix-gdb.exp: Use new "file" proc.
25568
25569Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
25570
25571 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
25572 Rework board rebooting slightly.
25573 (gdb_exit): Don't exit from the remote shell; there isn't one.
25574 * gdb.stabs/weird.exp: If a program is being debugged already,
25575 kill it.
25576 * gdb.t04/setvar.exp: Stop and restart gdb.
25577 * gdb.t05/expr.exp: Likewise.
25578 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
25579 restart gdb and reload the program.
25580 * gdb.t08/opaque.exp: Likewise.
25581 * gdb.t12/scope.exp: Likewise.
25582 * gdb.t13/bitfields.exp: Likewise.
25583 * gdb.t15/funcargs.exp: Likewise.
25584 * gdb.t20/classes.exp: Likewise.
25585 * gdb.t03/ptype.exp: Increase timeout.
25586 * gdb.t16/printcmds.exp (test_print_string_constants,
25587 test_print_array_constants): Likewise.
25588 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
25589 * gdb.t20/classes.exp (do_tests): Likewise.
25590 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
25591
25592Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
25593
25594 * gdb.stabs: Renamed *wierd* to *weird*.
25595
25596Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
25597
25598 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
25599 for timeout. Add "known gcc 2.4.5 bug" to failure message.
25600
25601Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
25602
25603 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
25604 (do_tests): Remove xfail for whatis on one_var and two_var.
25605
25606Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
25607
25608 * Makefile.in: Made cross building work better by adding
25609 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
25610
25611Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25612
25613 * gdb.t15/{return.c,return.exp,Makefile.in}:
25614 New test, currently commented out.
25615
25616Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
25617
25618 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
25619 still running and removes the leftover named socket so GDb can do
25620 clean restarts.
25621
25622Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
25623
25624 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
25625 console, not GDB.
25626 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
25627 cross testing works better with "make check"
25628 * config/unix-gdb: Use default procedures for exit and version.
25629 * config/vx-gdb.exp: Cleaned up and massaged back to working order
25630 with the newest VxWorks.
25631
25632Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25633
25634 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
25635 old form.
25636
25637 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
25638 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
25639
25640 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
25641
25642 * config/unix-gdb.exp: Remove this version of gdb_exit
25643 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
25644 Rob says he'll look at it when he gets back to testing boards.
25645
25646Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
25647
25648 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
25649 an expected fail for certain ptype commands.
25650
25651 * gdb.t20/classes.exp: Update expected results of "ptype class
25652 Base1" to account for the constructor that now appears in the type.
25653
25654Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
25655
25656 * configure.in (configdirs): Restore gdb.t04, which mysteriously
25657 disappeared from list.
25658 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
25659 "alldone" proc with call to cleanup and exit.
25660 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
25661 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
25662 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
25663 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
25664 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
25665 "alldone" proc with simple returns that suppress remaining
25666 tests. The alldone proc went away many months ago.
25667
25668Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25669
25670 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
25671
25672 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
25673
25674Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25675
25676 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
25677 as vax gdb will display them.
25678
25679Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25680
25681 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
25682 optimizers.
25683
25684 * scope.exp: Change "bad value for localval" messages so each one
25685 is unique.
25686
25687 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
25688 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
25689
25690 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
25691
25692Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25693
25694 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
25695 doesn't exist (due to optimization).
25696
25697Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25698
25699 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
25700 contains \r because the filename is long.
25701
25702 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
25703 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
25704
25705Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25706
25707 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
25708 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
25709 Ultrix.
25710 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
25711 int tests.
25712 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
25713
25714Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
25715
25716 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
25717
25718 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 25719 to match does not match the passing case but still matches the
c906108c
SS
25720 failing case.
25721
25722Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25723
25724 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
25725
25726Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
25727
25728 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
25729 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
25730 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
25731 Remove various versions of gdb_exit.
25732 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
25733 gdb_exit.
25734 * config/unix-gdb.exp: gdb_exit remains here, and should override
25735 the generic version, since it's doing a lot of wierd stuff that
25736 the other versions aren't. FIXME, fold it in, or abandon this
25737 version.
25738
25739Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25740
25741 * gdb.t24/demangle.exp: Add tests for PR 3220.
25742
25743Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25744
25745 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
25746
25747Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
25748
25749 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
25750 "i386-*-*". Works for i486 as well.
25751
25752 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
25753 bug, and expand domain of xfail to all SVR4 systems, since the
25754 actual problem is likely to be in generic SVR4 /proc support.
25755
25756Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25757
25758 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
25759
25760Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
25761
25762 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
25763 xfails for other systems. Match a missing 'Continuing.' as an
25764 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
25765
25766 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
25767 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
25768 Only issue warning for missing executables if -all option is used.
25769
25770 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
25771 file if -all option is used. It's like an unpredictable XFAIL.
25772
25773Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25774
25775 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
25776 for dynamically linked binaries.
25777
25778 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
25779
25780Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25781
25782 * gdb.t20/inherit.exp: Change message for "print tagless struct"
25783 to state that this is a known bug in old versions of g++.
25784
25785Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25786
25787 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
25788 while waiting for `Continuing'.
25789
25790Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
25791
25792 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
25793 in text, data, and bss.
25794 * gdb.t10/nodebug.c: Add local and global test variables for
25795 initialized and uninitialized data.
25796
25797Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25798
25799 * config/unix-gdb.exp (gdb_exit): Add "wait".
25800
25801Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25802
25803 * gdb.t06/signals.exp: xfail the continue from the handler for all
25804 targets.
25805
25806 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
25807 function with watchpoints enabled, the i386 call dummy starts with
25808 a call.
25809
25810 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
25811 386 bsd names its corefiles.
25812
25813Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
25814
25815 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
25816 compilers don't grok it.
25817 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
25818 with small octal ints rather than character constants, which
25819 are signed and might not fit if first promoted to int.
25820
25821Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
25822
25823 * gdb.t09/Makefile.in (clean): Remove corefile.
25824
25825Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25826
25827 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
25828
25829Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25830 and Jim Kingdon (kingdon@cygnus.com)
25831
25832 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
25833 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
25834 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
25835
25836Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25837
25838 * gdb.t17/interrupt.exp: Add xfail for hppa.
25839
25840Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25841
25842 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
25843 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
25844 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
25845 to determine signed-ness of bitfields and use the result to setup
25846 the xfail.
25847 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
25848 * gdb.t15/funcargs.exp: Use them to step until the second indirect
25849 call line is reached if necessary.
25850
25851Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25852
25853 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
25854
25855Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25856
25857 * gdb.t06/break.exp: Also test `clear' command.
25858
25859Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
25860
25861 * gdb.t00/teststrategy.exp: Remove extra quote.
25862
25863 * gdb.t07/watchpoint.exp: Change xfail for calling function with
25864 watchpoint enabled to be for all non-68k machines.
25865
25866 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
25867
25868Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25869
25870 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
25871 targets use aout.mt instead of ecoff.mt as gas understands
25872 standard aout format.
25873
25874Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
25875
25876 * lib/gdb.exp (runto): Don't insist that function we are running to
25877 was compiled with -g.
25878
25879 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
25880
25881 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
25882 to get back into the read system call.
25883 Accept leading newline in case where we woke it up.
25884
25885Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25886
25887 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
25888 to make the stabs test work on ecoff systems using gcc and -with-stabs.
25889 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
25890 enable ecoff configuration.
25891
25892Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25893
25894 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
25895
25896Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25897
25898 * gdb.t16/printcmds.exp: Add another printf test.
25899
25900Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
25901
25902 * configure.in: If configured -with-stabs on any target, add
25903 stabsdirs to configdirs.
25904
25905Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25906
25907 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
25908 fun" so pattern does not match the command itself.
25909
25910Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25911
25912 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
25913
25914Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25915
25916 * gdb.t17/interrupt.exp: Test for more things.
25917
25918Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25919
25920 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
25921 compiler arranges the code and line numbers.
25922
25923 * gdb.t17/interrupt.exp: Don't send \n after ^C.
25924
25925Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25926
25927 * gdb.t00/help.exp: Increase expect input buffer size.
25928
25929Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25930
25931 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
25932
25933 * gdb.t07/watchpoint.exp: Add xfail for hppa.
25934
25935 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
25936
25937 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
25938 [0-9]*, not just [0-9].
25939
25940Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25941
25942 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
25943
25944 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
25945
25946Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25947
25948 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
25949
25950Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25951
25952 * gdb.t06/signals.c: Add xfails for sun3.
25953
25954 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
25955
25956 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
25957 test_stepping tests.
25958
25959Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25960
25961 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
25962
25963 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
25964
25965 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
25966 rather than actually putting it through cpp twice.
25967
25968 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
25969
25970Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
25971
25972 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
25973 no longer needed.
25974
25975Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25976
25977 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
25978
25979 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
25980 C++ features prints as "struct", make it a pass, not an xfail.
25981
25982Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25983
25984 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
25985 Don't require VA to print as "class" rather than "struct".
25986
25987Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
25988
25989 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
25990
25991Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25992
25993 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
25994
25995Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25996
25997 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
25998 order.
25999
26000Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26001
26002 * gdb.t16/printcmds.exp: Add printf tests.
26003
26004 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
26005
26006 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
26007
26008Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
26009
26010 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
26011 pass counts, to counteract any existing or future setup_xfails.
26012
26013Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26014
26015 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
26016 {BEGIN,END}_COMMON for common block instead of STAB.
26017 * gdb.stabs/wierd.exp: Add xfail for rs6000.
26018
26019 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
26020 intp_var should be N_GSYM not N_LSYM.
26021 wierd-aout.S: Use a label for the value of the N_SO.
26022 wierd.def: Remove all backslashes.
26023 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
26024
26025Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26026
26027 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
26028 get the expected next to inheritance3.
26029
26030Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26031
26032 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
26033 now that gcc-2.4 gets it right.
26034
26035Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26036
26037 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
26038
26039 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
26040 generating comp-info.exp which works for cross-compilation.
26041
26042Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
26043
26044 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
26045 "*-*-sysv4.*".
26046
26047Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
26048
26049 * gdb.t01/run.exp: Start with a fresh gdb.
26050 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
26051 SVR4.x.
26052
26053Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
26054
26055 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
26056 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
26057 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
26058 Makefile.in (distclean, realclean): Remove gdbme.c from list of
26059 things to remove.
26060
26061Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
26062
26063 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
26064 test cases from bug reports.
26065
26066Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
26067
26068 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
26069 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
26070 avoid spurious xfails.
26071 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
26072 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
26073 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
26074
26075Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
26076
26077 * gdb.t00/teststrategy.exp: Rework to provide more useful
26078 description of each test, fix problem with systems that define
26079 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
26080 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
26081 results for "next over recursive call" so timeouts aren't taken
26082 by error.
26083
26084Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
26085
26086 * gdb.t12/scope.exp: Test printing of variables before run.
26087
26088 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
26089 printed in wrong order due to sorting.
26090
26091Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
26092
26093 * gdb.t00/teststrategy.exp: Fix expected results for printing
26094 user entered string constant. Is array of char, prints with no
26095 address.
26096
26097 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
26098 commands.
26099 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
26100 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
26101 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
26102 of struct of char arrays.
26103 * gdb.t00/radix.exp: New tests for radix commands.
26104
26105Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
26106
26107 * gdb.t16/printcmd.exp: Print a variable before running program
26108 (with xfail for AIX).
26109
26110Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
26111
26112 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
26113
26114 * gdb.t16/printcmd.exp: Don't print variables before running program.
26115
26116 * gdb.t06/break.exp: Don't require envp argument to main.
26117
26118 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
26119
26120 * gdb.t02/whatis.exp, gdb.t11/list.exp:
26121 Add xfails for rs6000.
26122
26123 * gdb.t02/whatis.exp: Change other tests not to re-test something
26124 we already tested.
26125
26126 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
26127 each type used has a variable of that type.
26128
26129Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
26130
26131 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
26132
26133Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
26134
26135 * configure.in: change srctrigger to be a file, not a directory
26136
26137Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
26138
26139 * configure.in (mips-idt-ecoff*): Added trailing '*'.
26140
26141 * gdb.t11/list.exp: Fixed a couple of typos.
26142
26143Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
26144
26145 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
26146 is fixed and PR is closed.
26147 * gdb.t16 (gdbme.c): Add simple test string variable.
26148 * gdb.t16 (printcmds.exp): Add tests with simple test string
26149 variable, primarily for boundaries on "set print elements".
26150
26151Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
26152
26153 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
26154 Make leading 0's optional and don't expect a tab in the middle
26155 of the number.
26156
26157 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
26158
26159 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
26160 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
26161 don't end command passed to gdb_test with newline.
26162
26163 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
26164 signed keyword away, don't expect signed bitfields to be signed.
26165
26166 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
26167 printing with only as many 1's as are in the field as well as printing
26168 with 32 1's (see comment).
26169
26170Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
26171
26172 * gdb.t00/default.exp: Start with a fresh gdb.
26173 * configure.in (configdirs): Remove gdb.t31 until the chill
26174 compiler works again. It no longer is able to find chillrt0
26175 since it isn't in libchill.a anymore.
26176 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
26177 wierd.o, make more modular.
26178 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
26179 spurious newlines that caused problems.
26180
26181Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26182
26183 * Move test with enums and partial symbols from gdb.t03/ptype.exp
26184 to gdb.stabs/wierd.exp since GCC has worked around the bug.
26185 gdb.stabs/wierd.{exp,def}: Many new tests.
26186
26187 * gdb.t00/default.exp: update info line for new message.
26188
26189 * gdb.t02/{whatis.exp,gdbme.c}:
26190 Test that "char *" doesn't print as "caddr_t".
26191
26192Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26193
26194 * gdb.t00/help.exp: Use .* in place of some help messages which
26195 just changed.
26196 gdb.t00/default.exp: Update "info frame" test for new message.
26197 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
26198 Remove some xfails
26199
26200Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26201
26202 * gdb.t03/{gdbme.c,ptype.exp}:
26203 Add tests for typedef'd struct and union without tags.
26204 Also check "whatis" on a variable of a typedef'd enum without a tag.
26205
26206 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
26207 PRMS 1823; the bug still exists but isn't reproduced by this test
26208 anymore), and remove rs6000 XFAIL (the bug is fixed).
26209
26210 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
26211 duplicated from whatis.exp. For those that are left, accept
26212 "long", "long int", or "int" for long variables (whatis.exp already
26213 has an XFAIL for "int", so no need to fail it here).
26214
26215 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
26216 Deal with GCC's names for types now that GDB uses the compiler's names.
26217
26218 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
26219 setup_xfail's for sunos4. If we #defined the signed keyword away,
26220 don't expect GDB to know that char it is signed.
26221
26222 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
26223
26224Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
26225
26226 * configure.in (configdirs): Add gdb.t24 for C++ tests that
26227 should work on any system, regardless of debugging format.
26228 * gdb.t21/demangle.exp: Move to gdb.t24.
26229 * gdb.t24/demangle.exp: Move from gdb.t21.
26230 * gdb.t24/{Makefile.in, configure.in}: New files.
26231
26232Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26233
26234 * configure.in: Do gdb.stabs and C++ tests only for stabs.
26235 * gdb.stabs: New directory.
26236
26237Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26238
26239 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
26240 not just "Quit anyway?".
26241
26242Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
26243
26244 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
26245 that all setup_xfails are immediately followed by clear_xfails.
26246
26247Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
26248
26249 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
26250 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
26251 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
26252 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
26253 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
26254 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
26255 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
26256 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
26257 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
26258 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
26259 gdb.t31/chillvars.exp, lib/gdb.exp:
26260 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
26261 bug-gdb@prep.ai.mit.edu.
26262
26263Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
26264
26265 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
26266 with 0.0, not integer 0.
26267
26268Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
26269
26270 * gdb.t06/break.exp: Update for "Kill the program" message change.
26271
26272Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
26273
26274 * Makefile.in (GDBFLAGS): Set to -nx.
26275 * Makefile.in (site.exp): Use GDBFLAGS.
26276
26277Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
26278
26279 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
26280 Makefiles.
26281 (check): depend on just-check.
26282 (just-check): added so that tests can be run without a noop
26283 build pass.
26284
26285Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
26286
26287 Switch to using configure's configdirs.
26288 * Makefile.in (Makefile): add configure.in dependency.
26289 (SUBDIRS): removed redundant assignment.
26290 * configure.in: switch subdirs assignment to configdirs.
26291 * gdb.t*/configure.in: new files.
26292
26293Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
26294
26295 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
26296 works.
26297
26298Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
26299
26300 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
26301 in explicit rules. Apparently this is not supported by some makes.
26302
26303Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
26304
26305 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
26306
26307Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26308
26309 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
26310 disappeared.
26311
26312Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
26313
26314 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
26315
26316Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
26317
26318 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
26319 watchpoint problem that is now fixed.
26320 * gdb.t30/chexp.exp: Remove setup_xfail for printing
26321 uninitialized convenience variables.
26322 * gdb.t31/chillvars.exp: Fix expected patterns for printing
26323 structures.
26324
26325Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26326
26327 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
26328 which causes expect to get out of sync with gdb on long output
26329 from help set.
26330 * gdb.t09/corefile.exp: Make expected pattern for core file
26331 failing signal and frame output format less sun specific.
26332
26333Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
26334
26335 * gdb.t31/chillvars.exp: Add and remove initial dummy
26336 breakpoint, so that symbol table is forced in.
26337 (Needed at least on Sunos4, though it seems not SVR4.)
26338 * gdb.t31/chillvars.exp: Update for changed output format.
26339
26340Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
26341
a9c64011 26342 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
26343
26344Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
26345
26346 * Makefile.in: Added --srcdir when invoking runtest, removed the
26347 need for a local config file. (optional now)
26348
26349Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
26350
26351 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
26352 failure count used to force early termination. Add some more
26353 expected failures for gnu style demangling.
26354
26355Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26356
26357 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
26358 pmi variable from gdb.t20/gdbme to get optimized away.
26359 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
26360 Check for written corefile upon timeout _and_ eof.
26361
26362Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26363
26364 * config/unix-gdb.exp: Add missing return 0.
26365
26366Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26367
26368 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
26369 test termination.
26370
26371Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
26372
26373 * configure.in (subdirs): Put back gdb.t17 which mysteriously
26374 disappeared.
26375
26376Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
26377
26378 * gdb.t10/crossload.exp: Disable the i860-elf test until such
26379 time as i860 support works.
26380
d63a86f8 26381 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
26382 "backtrace 100\r" rather than just "backtrace\r", to match last
26383 change.
26384
26385Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
26386
26387 * config/udi-gdb.exp (gdb_exit): Remove close command.
26388 (gdb_target_udi): New procedure to set the UDI target.
26389 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
26390 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
26391 Added waits for prompts after several question responses. Added
26392 some more responses used by a29k-amd-udi-gdb.
26393 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
26394 pass different arguments, restart UDI connection after program
26395 completion.
26396 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
26397 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
26398 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
26399 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
26400 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
26401 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
26402 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
26403 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
26404 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
26405 after program completion.
26406 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
26407 compiled with a SELECT_VECS setting.
26408 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
26409 infinite recursion.
26410
26411 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
26412 Added checks for COFF results, and made them expected failures for
26413 all targets. It would be better to make them expected failures
26414 for COFF targets only.
26415
26416Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
26417
26418 * Makefile.in: add null dvi target, don't bother to recurse
26419 through test directories for info and install-info; rename
26420 $(datadir) to be dejagnu instead of deja-gnu
26421
26422Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
26423
26424 * gdb.t31/gdbme.ch: Re-enable code that previously caused
26425 compiler to coredump.
26426 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
26427 code.
26428
26429Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
26430
26431 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
26432 coredump.
26433 * gdb.t31/chillvars.exp: Comment out tests that depend on that
26434 code.
26435
26436Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
26437
26438 * gdb.t03/ptype.exp: tests for return code from gdb_test.
26439 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
26440 which in a shell. Deletes xgdb when done.
26441 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
26442 Tests the return from the "set height" or "set width" commands.
26443 Added a few return codes where needed.
26444
26445Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
26446
26447 * Makefile.in (SUBDIRS): Add gdb.t17.
26448 * configure.in (subdirs): Add gdb.t17.
26449 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
26450 files to test gdb's calling of functions in the inferior with
26451 the correct arguments and gdb's ability to retrieve any
26452 result returned.
26453
26454Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
26455
26456 * config/unix-gdb.exp (gdb_exit): Remove close commands that
26457 may be called after gdb goes away. Previous versions of expect
26458 needed these to avoid file descriptor leaks, but they cause
26459 errors with the current revision of expect.
26460 * gdb.t00/gdbvars.exp: Use -re on expected output after
26461 setting sevenbit-strings.
26462 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
26463 to set sevenbit-strings consistent across tests.
26464 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
26465 set sevenbit-strings consistent across tests.
26466
26467Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
26468
26469 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
26470 expected output to match current "expect" expectations.
26471
26472Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
26473
26474 * gdb.t00/default.exp: Change expected output for default "source"
26475 command, to match new gdb behavior which requires a filename to
26476 source.
26477
26478Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
26479
26480 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
26481 expected fail for i486-*-* that misses the marker2 function.
26482 * gdb.t10/crossload.exp (bfddefault): Allow successful
26483 recognition of a format to pass even if no symbols are found.
26484 Explicitly catch failures where the format is not recognized
26485 or is ambiguous, and add the reason to the fail message.
26486 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
26487 the cause is and invalid target and add reason to failure message.
26488 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
26489 elf32-i386, elf32-sparc, and elf32-i860.
26490 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
26491 Set up expected failure for 'filename'::variable scope resolution,
26492 which is now apparently broken on all targets.
26493 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
26494 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
26495 gdb.t23/templates.exp: Change failure for missing binfile into
26496 just a warning.
26497 gdb.t21/demangle.exp: Change all cfront references to 'arm'
26498 references.
26499
26500Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
26501
26502 * gdb.t00/default.exp: Add expected output for default "source"
26503 command, to match new gdb behavior.
26504 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
26505
26506Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
26507
26508 * config/*-gdb.exp: returns an error, rather than exiting on
26509 internal errors.
26510
26511Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
26512
26513 * gdb.t03/gdbme.c: Add pointer to struct variable.
26514 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
26515 referencing struct members.
26516
26517Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
26518
26519 * configure.in (mips-idt-ecoff): New target.
26520 * config/mips-gdb.exp: New file for remote board using MIPS remote
26521 debugging protocol.
26522
26523 * Redid configuration scheme. Removed gdb.t*/configure.in.
26524 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
26525 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
26526 distclean targets. Built executables via .o files. Adjusted
26527 tests to account for source files in $(srcdir) rather than
26528 $(objdir).
26529 * lib/gdb.exp (runto): Don't expect () after the function name,
26530 because it may have arguments.
26531
26532Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
26533
26534 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
26535 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
26536 expected failures for mips-idt-* and mips-sgi-*.
26537 * gdb.t00/default.exp (attach): Kill process if requested.
26538 * gdb.t00/help.exp (help target core, help target): Accept a gdb
26539 that does not read core files.
26540 * gdb.t01/run.exp: Removed checks for exit status code.
26541 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
26542 it is linked in.
26543 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
26544 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
26545 appropriate, rather than doing it by hand.
26546 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
26547 execution.
26548 * gdb.t10/crossload.exp: Kill existing program if needed.
26549 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
26550 appropriate, rather than doing it by hand. Always increase
26551 timeout for this test, not just for VxWorks.
26552
26553Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
26554
26555 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
26556 of Chill STRUCT types and STRUCT values.
26557 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
26558 than "char".
26559 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 26560 struct2): New struct definitions and initializations to test
c906108c
SS
26561 simple Chill STRUCT types.
26562
26563Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
26564
26565 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
26566 the null byte at the end of strings.
26567 * gdb.t00/default.exp: Make show version insensitive to copyright
26568 date.
26569 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
26570 to avoid dependencies on target char signedness.
26571 * gdb.t16/printcmds.exp: Update expected results for explicitly
26572 unsigned char.
26573 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
26574 now work.
26575 * gdb.t21/demangle.exp: Add many more patterns for template
26576 demangling, most of them being expected failures.
26577 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
26578 string we are matching for, to match on the whole string.
26579 * gdb.t21/demangle.exp: Add many new test strings to demangle,
26580 and fix a whole bunch that had incorrect expected output but were
26581 passing anyway because of the bug in "proc demangle".
26582 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
26583 type.
26584 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
26585
26586Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
26587
a9c64011
AS
26588 * gdb/testsuite: made modifications to testcases, etc., to allow
26589 them to work properly given the reorganization of deja-gnu and the
26590 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
26591
26592Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
26593
26594 * gdb/testsuite: Initial creation of gdb/testsuite.
26595 Migrated dejagnu testcases and support files for testing nm to
26596 gdb/testsuite from deja-gnu. These files were moved "as is"
26597 with no modifications. This migration is part of a major overhaul
26598 of dejagnu. The modifications to these testcases, etc., which
26599 will allow them to work with the new version of dejagnu will be
26600 made in a future update.
48efe704 26601
8d8cb839 26602 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 26603\f
8d8cb839
EZ
26604;; Local Variables:
26605;; mode: change-log
26606;; left-margin: 8
26607;; fill-column: 74
26608;; version-control: never
26609;; End:
902f2ccb 26610
0b302171 26611 Copyright 1993-2005, 2012 Free Software Foundation, Inc.
902f2ccb
MC
26612 Copying and distribution of this file, with or without modification,
26613 are permitted provided the copyright notice and this notice are preserved.
This page took 2.669071 seconds and 4 git commands to generate.