]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
2012-01-26 Pedro Alves <palves@redhat.com>
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
3d7f4b81
PA
12012-01-26 Pedro Alves <palves@redhat.com>
2
3 Make test messages unique, and more identifiable.
4 * gdb.multi/watchpoint-multi.exp: Change test messages.
5
484abf42
TT
62012-01-25 Tom Tromey <tromey@redhat.com>
7
8 * gdb.base/solib-disc.exp: Fix regexps.
9
edcc5120
TT
102012-01-24 Tom Tromey <tromey@redhat.com>
11
12 * lib/mi-support.exp (mi_expect_stop): Add special case for
13 solib-event.
14 * gdb.base/catch-load-so.c: New file.
15 * gdb.base/catch-load.exp: New file.
16 * gdb.base/catch-load.c: New file.
17 * gdb.base/break-interp.exp (reach_1): Update regexp.
18
30b91c90
JK
192012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
20
21 Fix fuzzy results.
22 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
23 lpsimple and func.
24
53fe1783
GB
252012-01-24 Gary Benson <gbenson@redhat.com>
26
27 Delete #if 0'd out code.
28 * gdb.base/default.exp (info catch): Remove.
29 * gdb.base/gdb_history (info catch): Likewise.
30 * gdb.base/help.exp (info catch): Likewise.
31
d0d8b0c6
JK
322012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
33
34 Fix watchpoints to be specific for each inferior.
35 * gdb.multi/watchpoint-multi.c: New file.
36 * gdb.multi/watchpoint-multi.exp: New file.
37
4403d8e9
JK
382012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
39
40 Fix watchpoints across inferior fork.
41 * gdb.threads/watchpoint-fork-child.c: New file.
42 * gdb.threads/watchpoint-fork-mt.c: New file.
43 * gdb.threads/watchpoint-fork-parent.c: New file.
44 * gdb.threads/watchpoint-fork-st.c: New file.
45 * gdb.threads/watchpoint-fork.exp: New file.
46 * gdb.threads/watchpoint-fork.h: New file.
47
050a2e1d
PA
482012-01-23 Pedro Alves <palves@redhat.com>
49
50 * gdb.base/call-signal-resume.exp: Allow output after "return".
51
6a52fb62
PA
522012-01-20 Pedro Alves <palves@redhat.com>
53
54 * gdb.python/py-finish-breakpoint.py: Fix typo.
55
145b16a9
UW
562012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
57
58 * gdb.base/info-proc.exp: Also run on remote targets. Main
59 "info proc" command is now always present; whether target supports
60 actual info proc operation is detected when attempting to issue
61 the command.
62
26f6125e
JK
632012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
64
65 * .gdbinit: Remove.
66
eb5227ce
PA
672012-01-19 Pedro Alves <palves@redhat.com>
68
69 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
70 look at the funtions' returns.
71 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
72 (jprint.print(int, int)): Change return type to int. Adjust.
73
1db33378
PP
742012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
75
76 PR gdb/9538
77 * gdb.base/sepdebug.exp: New test.
78
b9736cf8
PA
792012-01-18 Pedro Alves <palves@redhat.com>
80
81 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
82 Allow output before ^done.
83
4aac40c8
TT
842012-01-16 Tom Tromey <tromey@redhat.com>
85
86 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
87 Add tests for relative directory.
88
cafec441
TT
892012-01-16 Tom Tromey <tromey@redhat.com>
90
91 * gdb.base/printcmds.c (enum flag_enum): New.
92 (three): New global.
93 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
94 enum printing.
95 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
96 FlagEnumerationPrinter.
97 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
98 * gdb.python/py-pp-maint.c (enum flag_enum): New.
99 (fval): New global.
100
abcc4978
PA
1012012-01-16 Pedro Alves <palves@redhat.com>
102
103 * lib/gdb.exp (banned_procedures): New variable.
104 (banned_variables_traced): Rename to ...
105 (banned_traced): ... this.
106 (gdb_init): Also trace banned procedures.
107 (gdb_finish): Also untrace banned procedures.
108
97ccebe8
PA
1092012-01-16 Pedro Alves <palves@redhat.com>
110
111 Remove all calls to strace.
112
2af7517b
JK
1132012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
114
115 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
116 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
117
9241a8bc
PP
1182012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
119
120 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
121 * gdb.base/pie-execl.exp: Likewise.
122
3848a17f
KS
1232012-01-12 Keith Seitz <keiths@redhat.com>
124
125 PR mi/10586
126 * gdb.mi/var-cmd.c (struct anonymous): New structure.
127 (do_anonymous_type_tests): New function.
128 (main): Call do_anonymous_type_tests.
129 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
130 (verify_everything): New procedure.
131 * gdb.mi/mi-var-cp.cc (class A): New class.
132 (anonymous_structs_and_unions): New function.
133 (main): Call anonymous_structs_and_unions.
134 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
135 (verify_everything): New procedure.
136
440e2fca
KS
1372012-01-12 Keith Seitz <keiths@redhat.com>
138
139 * lib/mi-support.exp: Expand comments about PATH_EXPR.
140 (varobj_tree::get_path_expr): Assume that all varobjs are
141 compound unless they are known simple types.
142 Adjust path expressions based on parent type, path parent type,
143 and tree language.
144 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
145 the root varobj.
146 (mi_walk_varobj_tree): Add LANGUAGE parameter.
147
675399c9
PA
1482012-01-11 Pedro Alves <palves@redhat.com>
149
150 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
151 core files on this machine" anymore.
152
97ddaa9b
PH
1532012-01-11 Paul Hilfinger <hilfingr@adacore.com>
154
155 * gdb.base/watchpoint.c (recurser): Initialize local_x.
156 (main): Repeat recurser call.
157 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
158 equivalent to 'local_x'.
159
ea733575
PH
1602012-01-11 Paul Hilfinger <hilfingr@adacore.com>
161 Joel Brobecker <brobecker@adacore.com>
162
163 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
164
2ca0b532
PA
1652012-01-05 Pedro Alves <alves.ped@gmail.com>
166
167 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
168 * gdb.python/py-events.c (first): Add bits for new "step N" test.
169 * gdb.python/py-events.exp: Test that "step N" tripping on a
170 breakpoint emits a breakpoint event.
171
6e681866
JB
1722012-01-03 Joel Brobecker <brobecker@adacore.com>
173
174 * gdb.base/auxv.exp: Reformat the copyright notice.
175
3c2d6aff
YQ
1762012-01-03 Yao Qi <yao@codesourcery.com>
177
178 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
179 (strace_trace_on_diff_addr): New.
180 * gdb.trace/strace.c: (main): Add two local variables.
181
0852fee3
UW
1822011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
183
184 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
185 * gdb.cell/gcore.exp: Likewise.
186 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
187 to verify the correct instance of main is selected.
188
12c3e59c
JB
1892012-01-02 Joel Brobecker <brobecker@adacore.com>
190
191 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
192 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
193 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
194 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
195 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
196 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
197 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
198 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
199 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
200 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
201 gdb.threads/thread_check.c: Reformat copyright header.
202
c0f378ec
EBM
2032011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
204
e4a7ca93 205 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
c0f378ec
EBM
206 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
207 is not enabled.
208
3bc96cfb
JK
2092011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
210
211 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
212 parameter to self_exec, adjust the function.
213 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
214 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
215 (set var do_exit = 0): Remove test.
216 (newline at end of file): Add one.
217
095bcf5e
JB
2182011-12-27 Joel Brobecker <brobecker@adacore.com>
219
220 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
221 New files.
222
18d19bd1
JK
2232011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
224
225 Fix racy FAILs.
226 * gdb.threads/fork-thread-pending.c (barrier): New variable.
227 (thread_function, thread_forker): Call pthread_barrier_wait for it.
228 (main): Call pthread_barrier_init for it.
229
e809353a
JK
2302011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
231
232 Fix double send_gdb leading to racy FAILs.
233 * gdb.base/break.exp (set silent break bp_location1): Replace
234 3x send_gdb and gdb_expect by gdb_test.
235 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
236 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
237 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
238 instead of send_gdb. Twice.
239 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
240 3x send_gdb and gdb_expect by gdb_test.
241 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
242
da8cb7ec
JK
2432011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
244
245 * gdb.linespec/linespec.exp: Compile using {c++}.
246
ae1a303e
JK
2472011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
248
249 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
250 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
251 (verify GCC PR debug/51668): New test.
252
cc72b2a2
KP
2532011-12-23 Kevin Pouget <kevin.pouget@st.com>
254
255 Introduce gdb.FinishBreakpoint in Python.
256 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
257 py-finish-breakpoint2
258 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
259 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
260 instead of line number.
261 * gdb.python/py-finish-breakpoint.c: New file.
262 * gdb.python/py-finish-breakpoint.exp: New file.
263 * gdb.python/py-finish-breakpoint.py: New file.
264 * gdb.python/py-finish-breakpoint2.cc: New file.
265 * gdb.python/py-finish-breakpoint2.exp: New file.
266 * gdb.python/py-finish-breakpoint2.py: New file.
267
3b7962f9
JK
2682011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
269
270 Partial fix of compatibility with gcc-4.7.
271 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
272 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
273 Add comment to add a PASS case in the future.
274
6538471c
JK
275 Fix compatibility with gcc-4.7.
276 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
277
7052e42c
UW
2782011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
279
280 PR tdep/12797
281 * gdb.base/callfuncs.exp: Remove KFAIL.
282
9ac7f98e
JB
2832011-12-21 Joel Brobecker <brobecker@adacore.com>
284
285 * gdb.ada/task_bp: New testcase.
286
f6eeced0
JK
2872011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
288
289 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
290 -DNO_SECTIONS.
291 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
292
72225e17
JK
2932011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
294
295 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
296 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
297 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
298 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
299 conditional for gcc <= 4.5.
300
13ac8d2c
JK
3012011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
302
303 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
304 by XFAIL.
305 * gdb.cp/static-method.exp (info addr A::func())
306 (list static-method.cc:xxx::(anonymous namespace)::A::func)
307 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
308 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
309 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
310 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
311 (test value of F in k3_m): Likewise.
312 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
313 Likewise.
314
049682ba
JK
3152011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
316
317 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
318 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
319 Remove.
320 * gdb.threads/attachstop-mt.c: Remove.
321 * gdb.threads/attachstop-mt.exp: Remove.
322
2c9d8796
MK
3232011-12-17 Mark Kettenis <kettenis@gnu.org>
324
325 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
326
e0f9f062
DE
3272011-12-16 Doug Evans <dje@google.com>
328
f4aa2101 329 * boards/native-stdio-gdbserver.exp: New file.
966be4fd
DE
330 * boards/native-gdbserver.exp: New file.
331
e0f9f062
DE
332 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
333 gdbserver output.
334 (gdbserver_default_get_remote_address): New function.
335 (gdbserver_start): Call gdb,get_remote_address to compute argument
336 to "target remote" command.
337
80b6e756
PM
3382011-12-16 Phil Muldoon <pmuldoon@redhat.com>
339
1c3ad6ab 340 * gdb.python/py-function.exp: Change "on" to "full" for
80b6e756
PM
341 python print-stack. Add set/show python print-stack
342 off|full|message tests.
343
1576bd00
YQ
3442011-12-15 Yao Qi <yao@codesourcery.com>
345
346 * gdb.trace/strace.c: New
347 * gdb.trace/strace.exp: New.
348
d6a0f6e0
TT
3492011-12-14 Tom Tromey <tromey@redhat.com>
350
351 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
352
31015e1d
DE
3532011-12-14 Doug Evans <dje@google.com>
354
355 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
356
7b50312a
PA
3572011-12-14 Pedro Alves <pedro@codesourcery.com>
358
359 PR threads/10729
360
361 * gdb.mi/watch-nonstop.c: New file.
362 * gdb.mi/mi-watch-nonstop.exp: New file.
363
924437bc
PA
3642011-12-13 Pedro Alves <pedro@codesourcery.com>
365 Doug Evans <dje@google.com>
366
367 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
368 (clean_restart): Remove references to the gdb_stub target board
369 variable.
370 (gdb_step_for_stub): Delete.
371
372 * gdb.base/annota1.exp: Remove all references to [target_info
373 exists gdb_stub], gdb_step_for_stub and usestubs.
374 * gdb.base/annota3.exp: Ditto.
375 * gdb.base/async.exp: Ditto.
376 * gdb.base/break.exp: Ditto.
377 * gdb.base/code-expr.exp: Ditto.
378 * gdb.base/commands.exp: Ditto.
379 * gdb.base/completion.exp: Ditto.
380 * gdb.base/condbreak.exp: Ditto.
381 * gdb.base/consecutive.exp: Ditto.
382 * gdb.base/cvexpr.exp: Ditto.
383 * gdb.base/define.exp: Ditto.
384 * gdb.base/display.exp: Ditto.
385 * gdb.base/ena-dis-br.exp: Ditto.
386 * gdb.base/environ.exp: Ditto.
387 * gdb.base/gnu-ifunc.exp: Ditto.
388 * gdb.base/maint.exp: Ditto.
389 * gdb.base/pending.exp: Ditto.
390 * gdb.base/sect-cmd.exp: Ditto.
391 * gdb.base/sepdebug.exp: Ditto.
392 * gdb.base/unload.exp: Ditto.
393 * gdb.base/watchpoint-solib.exp: Ditto.
394 * gdb.cp/annota2.exp: Ditto.
395 * gdb.cp/annota3.exp: Ditto.
396 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
397 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
398 * gdb.mi/mi-pending.exp: Ditto.
399 * gdb.trace/circ.exp: Ditto.
400 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
401 * gdb.base/list.exp: Ditto.
402
403 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
404 breakpoint function and all references to the usestubs macro.
405 * gdb.base/exprs.c: Ditto.
406 * gdb.base/freebpcmd.c: Ditto.
407 * gdb.base/bitfields.c: Ditto.
408 * gdb.base/bitfields2.c: Ditto.
409 * gdb.base/break.c: Ditto.
410 * gdb.base/call-sc.c: Ditto.
411 * gdb.base/call-signals.c: Ditto.
412 * gdb.base/callfuncs.c: Ditto.
413 * gdb.base/charset.c: Ditto.
414 * gdb.base/consecutive.c: Ditto.
415 * gdb.base/constvars.c: Ditto.
416 * gdb.base/funcargs.c: Ditto.
417 * gdb.base/int-type.c: Ditto.
418 * gdb.base/interrupt.c: Ditto.
419 * gdb.base/langs0.c: Ditto.
420 * gdb.base/list0.c: Ditto.
421 * gdb.base/mips_pro.c: Ditto.
422 * gdb.base/miscexprs.c: Ditto.
423 * gdb.base/nodebug.c: Ditto.
424 * gdb.base/opaque0.c: Ditto.
425 * gdb.base/pointers.c: Ditto.
426 * gdb.base/printcmds.c: Ditto.
427 * gdb.base/ptype.c: Ditto.
428 * gdb.base/recurse.c: Ditto.
429 * gdb.base/reread1.c: Ditto.
430 * gdb.base/reread2.c: Ditto.
431 * gdb.base/restore.c: Ditto.
432 * gdb.base/return.c: Ditto.
433 * gdb.base/run.c: Ditto.
434 * gdb.base/scope0.c: Ditto.
435 * gdb.base/sepdebug.c: Ditto.
436 * gdb.base/setshow.c: Ditto.
437 * gdb.base/setvar.c: Ditto.
438 * gdb.base/sigall.c: Ditto.
439 * gdb.base/signals.c: Ditto.
440 * gdb.base/structs.c: Ditto.
441 * gdb.base/structs2.c: Ditto.
442 * gdb.base/testenv.c: Ditto.
443 * gdb.base/twice.c: Ditto.
444 * gdb.base/unwindonsignal.c: Ditto.
445 * gdb.base/watchpoint.c: Ditto.
446 * gdb.base/watchpoints.c: Ditto.
447 * gdb.base/whatis.c: Ditto.
448 * gdb.cp/classes.cc: Ditto.
449 * gdb.cp/cplusfuncs.cc: Ditto.
450 * gdb.cp/derivation.cc: Ditto.
451 * gdb.cp/formatted-ref.cc: Ditto.
452 * gdb.cp/misc.cc: Ditto.
453 * gdb.cp/overload.cc: Ditto.
454 * gdb.cp/ovldbreak.cc: Ditto.
455 * gdb.cp/ref-params.cc: Ditto.
456 * gdb.cp/ref-types.cc: Ditto.
457 * gdb.cp/templates.cc: Ditto.
458 * gdb.cp/virtfunc.cc: Ditto.
459 * gdb.hp/gdb.aCC/run.c: Ditto.
460 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
461 * gdb.hp/gdb.compat/xdb0.c: Ditto.
462 * gdb.reverse/consecutive-reverse.c: Ditto.
463 * gdb.reverse/sigall-reverse.c: Ditto.
464 * gdb.reverse/until-reverse.c: Ditto.
465 * gdb.reverse/watch-reverse.c: Ditto.
466 * gdb.trace/actions.c: Ditto.
467 * gdb.trace/circ.c: Ditto.
468 * gdb.trace/collection.c: Ditto.
469
fabde485
PA
4702011-12-13 Pedro Alves <pedro@codesourcery.com>
471
472 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
473 (func6, func7): New.
474 (main): Call func6 and func7.
475 * gdb.base/watchpoint.exp (test_wide_location_1)
476 (test_wide_location_2): New.
477 (top level): Re-enable hardware watchpoints if necessary. Call
478 test_wide_location_1 and test_wide_location_2.
479
ff7d1690
YQ
4802011-12-11 Yao Qi <yao@codesourcery.com>
481
482 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
483
a6af7abe
JB
4842011-12-11 Joel Brobecker <brobecker@adacore.com>
485
486 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
487 expected output for unsupported case.
488
61638e15
JK
4892011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
490
491 PR testsuite/12649
492 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
493 Protect gdb_test_multiple by final $gdb_prompt match.
494
0a00efc3
JK
4952011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
496
497 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
498 New variable, new test.
499 (list static-method.cc:xxx::(anonymous namespace)::A::func)
500 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
501 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
502 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
503 them if HAVE_GCC_45682_FIXED is not set.
504
4511b1ba
YQ
5052011-12-10 Yao Qi <yao@codesourcery.com>
506
507 * gdb.trace/status-stop.exp: New.
508 * gdb.trace/status-stop.c: New.
509
27949e73
JK
5102011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
511
512 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
513 timeout.
514
d8ea7931
TT
5152011-12-08 Tom Tromey <tromey@redhat.com>
516
517 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
518 condition.
519
1cc310d2
SS
5202011-12-07 Stan Shebs <stan@codesourcery.com>
521
522 * gdb.trace/tfind.exp: Update for output changes.
523
d482a875
PA
5242011-12-07 Pedro Alves <pedro@codesourcery.com>
525
526 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
527 throws "Cannot insert catchpoints in this configuration".
528 * gdb.ada/mi_catch_ex.exp: Likewise.
529
f0ba3972
PA
5302011-12-06 Pedro Alves <pedro@codesourcery.com>
531
532 * gdb.base/break-always.exp: Test changing memory at addresses
533 with breakpoints inserted.
534
f8eba3c6
TT
5352011-12-06 Joel Brobecker <brobecker@acacore.com>
536
537 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
538 involving a fully qualified function name.
539
5402011-12-06 Tom Tromey <tromey@redhat.com>
541
542 * gdb.ada/homonym.exp: Add three breakpoint tests.
543
5442011-12-06 Tom Tromey <tromey@redhat.com>
545
546 * gdb.base/solib-weak.exp (do_test): Remove kfail.
547 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
548 * gdb.objc/objcdecode.exp: Update for output changes.
549 * gdb.linespec/linespec.exp: New file.
550 * gdb.linespec/lspec.cc: New file.
551 * gdb.linespec/lspec.h: New file.
552 * gdb.linespec/body.h: New file.
553 * gdb.linespec/base/two/thefile.cc: New file.
554 * gdb.linespec/base/one/thefile.cc: New file.
555 * gdb.linespec/Makefile.in: New file.
556 * gdb.cp/templates.exp (test_template_breakpoints): Update for
557 output changes.
558 * gdb.cp/re-set-overloaded.exp: Remove kfail.
559 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
560 makes one breakpoint.
561 * gdb.cp/method2.exp (test_break): Update for output changes.
562 * gdb.cp/mb-templates.exp: Update for output changes.
563 * gdb.cp/mb-inline.exp: Update for output changes.
564 * gdb.cp/mb-ctor.exp: Update for output changes.
565 * gdb.cp/ovsrch.exp: Use fully-qualified names.
566 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
567 has multiple matches.
568 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
569 error message change.
570 * gdb.base/list.exp (test_list_filename_and_number): Update for
571 error message change.
572 * gdb.base/break.exp: Disable pending breakpoints. Update for
573 output changes.
574 * configure.ac: Add gdb.linespec.
575 * configure: Rebuild.
576 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
577
c642a434
UW
5782011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
579
580 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
581 last_break register on s390*-*-* targets.
582
b18003d1
JB
5832011-12-06 Joel Brobecker <brobecker@adacore.com>
584
585 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
586 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
587 of parameter X in procedure Foo.
588
fe96589c
SS
5892011-12-05 Stan Shebs <stan@codesourcery.com>
590
591 * gdb.trace/tfind.exp: Update help string matches.
592
1820ab47
JK
5932011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
594
595 * gdb.server/ext-run.exp (get process list): Accept also systemd
596 as PID 1.
597
e11ac3a3
JK
5982011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
599 Pedro Alves <pedro@codesourcery.com>
600
601 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
602 starting GDB.
603 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
604 $use_gdb_stub.
605 * gdb.base/display.exp: Likewise.
606 * gdb.base/ending-run.exp: Likewise.
607 * gdb.base/list.exp (test_listsize): Likewise.
608 * gdb.base/setshow.exp: Likewise.
609 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
610 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
611 check by global $use_gdb_stub.
612 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
613 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
614 (default_gdb_init): Unset global $use_gdb_stub.
615 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
616 by global $use_gdb_stub.
617 * lib/gdbserver-support.exp: Extend comments for set_board_info
618 gdb_protocol and gdb,socketport.
619 (gdbserver_start_extended): Set global gdbserver_protocol and
620 gdbserver_gdbport. Clear global use_gdb_stub.
621 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
622 from target use_gdb_stub.
623 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
624
1d41d75c
DE
6252011-12-03 Doug Evans <dje@google.com>
626
627 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
628 (gdb_step_for_stub): Add comments.
629
d6d7a51a
MR
6302011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
631
632 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
633 to the caller.
634 (gdb_test_multiple): Likewise.
635
05acf274
JK
6362011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
637
638 Fix gdb.mi/mi-solib.exp without system debug info installed.
639 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
640 expect attribute, return 0 for it. Update comments.
641
2268b414
JK
6422011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
643
644 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
645 (corrupted list): Adjust the expectation.
646
585861ea
JK
6472011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
648
649 PR threads/13448
650 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
651 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
652 * gdb.threads/tls-var-main.c: New file.
653 * gdb.threads/tls-var.c: New file.
654 * gdb.threads/tls-var.exp: New file.
655
968643aa
JK
6562011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
657
658 PR testsuite/12649
659 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
660 Protect gdb_test_multiple by final $gdb_prompt match.
661 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
662 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
663 (test_tracepoints): Likewise.
664
9750bca9
JK
6652011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
666
667 PR breakpoints/13346
668 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
669 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
670 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
671
ac1349b7
JB
6722011-12-01 Joel Brobecker <brobecker@adacore.com>
673
674 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
675 * gdb.ada/homonym/homonym.adb: For use of all types defined
676 locally inside both Get_Value subprograms.
677
26d44faf
JK
6782011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
679
680 Fix racy FAILs.
681 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
682 of send_gdb.
683
514f6425
UW
6842011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
685
686 * gdb.base/testenv.exp: Skip on remote targets. Unset global
687 environment variable after test completed.
688
4255c8d2
UW
6892011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
690
691 * gdb.base/solib-nodir.exp: Skip if remote target.
692 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
693 application. Call gdb_load_shlibs.
694 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
695
a35ad96a
JB
6962011-11-29 Joel Brobecker <brobecker@adacore.com>
697
698 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
699
1a1d5513
JB
7002011-11-28 Joel Brobecker <brobecker@adacore.com>
701
702 * gdb.ada/fullname_bp: New testcase.
703
50b4ddf8
JK
7042011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
705
706 PR testsuite/12649
707 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
708 Wrap send_gdb into a new gdb_test.
709
fb0aec57
JK
710 Code cleanup.
711 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
712 Convert send_gdb and gdb_expect to gdb_test_multiple.
713
2376d946
JK
7142011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
715
716 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
717
1eec78bd
KS
7182011-11-23 Keith Seitz <keiths@redhat.com>
719
720 * lib/mi-support.exp (varobj_tree): New namespace and procs.
721 (mi_varobj_tree_test_children_callback): New proc.
722 (mi_walk_varobj_tree): New proc.
723
36dfb11c
TT
7242011-11-22 Tom Tromey <tromey@redhat.com>
725
726 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
727 Add "use_mi_command" argument.
728 (mi_run_cmd, mi_run_with_cli): New procs.
729 * gdb.mi/solib-lib.c: New file.
730 * gdb.mi/solib-main.c: New file.
731 * gdb.mi/mi-solib.exp: New file.
732
0e965dd0
DE
7332011-11-21 Doug Evans <dje@google.com>
734
735 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
736 _Unwind_DebugHook is missing.
737
f196051f
SS
7382011-11-20 Stan Shebs <stan@codesourcery.com>
739
740 * gdb.trace/tstatus.exp: New.
741 * gdb.trace/actions.c: Include string.h.
742
bfccc43c
YQ
7432011-11-18 Yao Qi <yao@codesourcery.com>
744
745 * gdb.trace/pending.exp: New.
746 * gdb.trace/pending.c: New.
747 * gdb.trace/pendshr1.c: New.
748 * gdb.trace/pendshr2.c: New.
749 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
750 tracepoint location becomes pending.
751 (tracepoint_change_loc_2): New.
752
73cd8ab1
DM
7532011-11-16 David S. Miller <davem@davemloft.net>
754
755 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
756 target is sparc*-*-linux*
757
77426730
PK
7582011-11-15 Paul Koning <paul_koning@dell.com>
759
760 * gdb.python/py-type.exp: New testcases for exceptions on scalar
761 types.
762
ed59ded5
DE
7632011-11-14 Doug Evans <dje@google.com>
764
765 * gdb.base/shell.exp: New file.
766
405f8e94
SS
7672011-11-14 Stan Shebs <stan@codesourcery.com>
768
769 * gdb.trace/ftrace.c: New.
770 * gdb.trace/ftrace.exp: New.
771
1e4d1764
YQ
7722011-11-14 Yao Qi <yao@codesourcery.com>
773
774 * gdb.trace/change-loc-1.c: New.
775 * gdb.trace/change-loc-2.c: New.
776 * gdb.trace/change-loc.c: New.
777 * gdb.trace/change-loc.exp: New.
778 * gdb.trace/change-loc.h: New.
779 * gdb.trace/trace-break.c (marker): Define new symbol.
780 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
781 New.
782 (break_trace_same_addr_6): New.
783
71eba9c2 7842011-11-12 Matt Rice <ratmice@gmail.com>
785
786 * gdb.base/info-macros.exp: Make tests for info definitions
787 test info macro. Add tests for info macro argument processing.
788 Rename a few tests.
789
1d93e29a
KS
7902011-11-11 Keith Seitz <keiths@redhat.com>
791
792 PR gdb/12843
793 * gdb.base/linespecs.exp: New file.
794
a4b5b48a
DE
7952011-11-11 Doug Evans <dje@google.com>
796
797 * gdb.threads/print-threads.exp: Extend timeout for slower
798 tests.
799
f6b47be4
DE
8002011-11-10 Doug Evans <dje@google.com>
801
792a0230
DE
802 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
803 "record to end of main" test.
804
f6b47be4
DE
805 * gdb.python/py-type.c (TS): New typedef.
806 (ts): New global.
807 * gdb.python/py-type.exp: Test field list of typedef.
808
22355c90
JB
8092011-11-10 Joel Brobecker <brobecker@adacore.com>
810
811 * gdb.ada/small_reg_param: New testcase.
812
a7860e76
TT
8132011-11-09 Tom Tromey <tromey@redhat.com>
814
815 * gdb.cp/destrprint.exp: New file.
816 * gdb.cp/destrprint.cc: New file.
817
72a2e3dc
MI
8182011-11-08 Meador Inge <meadori@codesourcery.com>
819
820 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
821 (switch_stack_to_other): New test function.
822 * gdb.arch/thumb-prologue.exp: New test cases.
823
c7195df2 8242011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
7bf9deb0
MR
825
826 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
827
d3895d7d
YQ
8282011-11-08 Yao Qi <yao@codesourcery.com>
829
830 * gdb.exp (supports_process_record): New.
831 (supports_reverse): New.
832 * gdb.reverse/break-precsave.exp: Call support_process_record
833 to run test conditionally.
834 * gdb.reverse/consecutive-precsave.exp: Likewise.
835 * gdb.reverse/i386-precsave.exp: Likewise.
836 * gdb.reverse/machinestate-precsave.exp: Likewise.
837 * gdb.reverse/solib-precsave.exp: Likewise.
838 * gdb.reverse/step-precsave.exp: Likewise.
839 * gdb.reverse/until-precsave.exp: Likewise.
840 * gdb.reverse/watch-precsave.exp: Likewise.
841 * gdb.reverse/break-reverse.exp: Call support_reverse to run
842 test conditionally.
843 * gdb.reverse/consecutive-reverse.exp: Likewise.
844 * gdb.reverse/finish-precsave.exp: Likewise.
845 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
846 * gdb.reverse/finish-reverse.exp: Likewise.
847 * gdb.reverse/i386-reverse.exp: Likewise.
848 * gdb.reverse/i386-sse-reverse.exp: Likewise.
849 * gdb.reverse/machinestate.exp: Likewise.
850 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
851 * gdb.reverse/sigall-precsave.exp: Likewise.
852 * gdb.reverse/sigall-reverse.exp: Likewise.
853 * gdb.reverse/solib-reverse.exp: Likewise.
854 * gdb.reverse/step-reverse.exp: Likewise.
855 * gdb.reverse/until-reverse.exp: Likewise.
856 * gdb.reverse/watch-reverse.exp: Likewise.
857
a59306a3
YQ
8582011-11-05 Yao Qi <yao@codesourcery.com>
859
860 * gdb.trace/trace-break.exp: Add test on setting two
861 fast tracepoints at the same address.
862
87769f59
JK
8632011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
864
865 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
866
3065dfb6
SS
8672011-11-02 Stan Shebs <stan@codesourcery.com>
868
869 * gdb.trace/collection.c: Add code using strings.
870 * gdb.trace/collection.exp: Add tests of string collection.
871
89e208db
JK
8722011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
873
874 * gdb.base/skip-solib.exp (executable_main): New variable.
875 (binfile_main): Base it on that.
876 Use $executable_main in clean_restart calls. Drop gdb_exit and
877 gdb_start calls.
878
405e54e9
JK
8792011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
880
881 Fix racy FAILs.
882 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
883 breakpoint_re globals import by async. Set string_regex to .* for
884 async. Remove the optional thread_selected_re and breakpoint_re
885 globals expectations.
886
58e8570a
JM
8872011-11-01 Joseph Myers <joseph@codesourcery.com>
888
889 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
890 well as Cygwin.
891
7b35ec7f 8922011-11-01 Justin Lebar <justin.lebar@gmail.com>
1bfeeb0f
JL
893
894 Add tests for skip command.
89e208db
JK
895 * gdb.base/skip-solib-lib.c: New
896 * gdb.base/skip-solib-main.c: New
897 * gdb.base/skip-solib.exp: New
898 * gdb.base/skip.c: New
899 * gdb.base/skip.exp: New
900 * gdb.base/skip1.c: New
901 * gdb.base/Makefile.in: Adding new files.
1bfeeb0f 902
b9fd1791
PA
9032011-10-31 Yao Qi <yao@codesourcery.com>
904 Pedro Alves <pedro@codesourcery.com>
905
906 * gdb.trace/trace-break.c: New.
907 * gdb.trace/trace-break.exp: New.
908
4323fecc
JK
9092011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
910
911 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
912 break-here-2.
913
0e5bf2a8
PA
9142011-10-28 Pedro Alves <pedro@codesourcery.com>
915
916 * gdb.threads/no-unwaited-for-left.c: New.
917 * gdb.threads/no-unwaited-for-left.exp: New.
918 * gdb.threads/non-ldr-exc-1.c: New.
919 * gdb.threads/non-ldr-exc-1.exp: New.
920 * gdb.threads/non-ldr-exc-2.c: New.
921 * gdb.threads/non-ldr-exc-2.exp: New.
922 * gdb.threads/non-ldr-exc-3.c: New.
923 * gdb.threads/non-ldr-exc-3.exp: New.
924 * gdb.threads/non-ldr-exc-4.c: New.
925 * gdb.threads/non-ldr-exc-4.exp: New.
926
3a3dad98
JK
9272011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
928
929 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
930 * gdb.base/attach-pie-misread.exp: Likewise.
931 * gdb.base/break-interp.exp: Likewise.
932 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
933 testcases for use_gdb_stub.
934 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
935 (continue): New testcase.
936 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
937 * gdb.threads/attach-into-signal.exp: Likewise.
938 * gdb.threads/attach-stopped.exp: Likewise.
939 * gdb.threads/attachstop-mt.exp: Likewise.
940
d6a5d40c
PK
9412011-10-28 Paul Koning <paul_koning@dell.com>
942
943 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
944
ca539be8
JK
9452011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
946
947 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
948 (mi_gdb_test): Import globals thread_selected_re
949 and breakpoint_re. Expect them optionally at the regex start.
950
d234ef5c
DE
9512011-10-27 Doug Evans <dje@google.com>
952
953 * gdb.python/python.exp: Test source -s.
954
ab964825
PK
9552011-10-26 Paul Koning <paul_koning@dell.com>
956
957 * gdb.python/lib-types.cc (struct A): New structure.
958 * gdb.python/lib-types.exp (deepitems): New tests.
d234ef5c 959
54d8a644
PK
9602011-10-25 Paul Koning <paul_koning@dell.com>
961
962 PR python/13327
d234ef5c 963
54d8a644
PK
964 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
965 fetch_lazy method.
966
b0221781
YQ
9672011-10-24 Yao Qi <yao@codesourcery.com>
968
969 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
970 target is tic6x-*-*.
971
6cda5a20
JB
9722011-10-21 Joel Brobecker <brobecker@adacore.com>
973
974 * gdb.ada/mi_task_info/task_switch.adb: New file.
975 * gdb.ada/mi_task_info.exp: New file.
976
5ed9db04
JK
9772011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
978
979 * gdb.cp/expand-psymtabs-cxx.exp: New file.
980 * gdb.cp/expand-psymtabs-cxx.cc: New file.
981
9df2fbc4
PM
9822011-10-20 Phil Muldoon <pmuldoon@redhat.com>
983
984 PR python/12656
985
986 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
987 global_block tests.
988
736086ba
TT
9892011-10-18 Tom Tromey <tromey@redhat.com>
990
991 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
992
4af31552
TT
9932011-10-18 Tom Tromey <tromey@redhat.com>
994
995 * gdb.base/source.exp: Don't include full file name in test name.
996 * gdb.python/python.exp: Don't include full file name in test
997 name.
998
43136979
AR
9992011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1000
1001 * gdb.base/attach-pie-noexec.c: New files.
1002 * gdb.base/attach-pie-noexec.exp: New files.
1003
543a9323
JM
10042011-10-17 Joseph Myers <joseph@codesourcery.com>
1005
1006 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
1007 prompt for each extra line in command.
1008
21ae7a4d
JK
10092011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1010
1011 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
1012 Revert the part of:
1013 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1014 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
1015 Change the expected string.
1016
20ec36d9
JK
10172011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1018
1019 Fix results with system glibc debug info installed.
1020 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
1021 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
1022 Accept also __libc_ symbol prefix and no prefix.
1023
6501c2fc
KS
10242011-10-14 Keith Seitz <keiths@redhat.com>
1025
1026 PR c++/13225
1027 * gdb.cp/converts.cc (foo3_1): New function.
1028 (foo3_2): New functions.
1029 * gdb.cp/converts.exp: Add tests for int to pointer conversion
1030 and null pointer conversions of integer constant zero.
1031 Add test to check if all arguments are checked for incompatible
1032 conversion BADNESS.
1033
55b1fd0c
TT
10342011-10-14 Tom Tromey <tromey@redhat.com>
1035
1036 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
1037 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
1038 linespec.
1039
22c05d8a
JK
10402011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1041
1042 Fix internal error regression.
1043 * gdb.dwarf2/implptr-optimized-out.S: New file.
1044 * gdb.dwarf2/implptr-optimized-out.exp: New file.
1045
1d6edc3c
JK
10462011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1047
1048 Fix empty DWARF expressions DATA vs. SIZE conditionals.
1049 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
1050 (loclist): New.
1051 (4): New abbrev.
1052 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
1053 Use prepare_for_testing, remove clean_restart.
1054 (p arraynoloc, p arraycallnoloc): New tests.
1055
9ec72168
JK
10562011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1057
1058 * gdb.cp/namespace-enum.exp (executable): New variable.
1059 (binfile): Use ${objdir}/${subdir}/ prefix.
1060 Use ${executable} for clean_restart.
1061
9c6c53f7
SA
10622011-10-11 Sterling Augustine <saugustine@google.com>
1063
1064 * gdb.cp/Makefile.in: Add namespace-enum test.
1065 * gdb.cp/namespace-enum.exp: New file.
1066 * gdb.cp/namespace-enum.c: New file.
1067 * gdb.cp/namespace-enum-main.c: New file.
1068
fac7ceb3
UW
10692011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
1070
1071 * gdb.python/py-shared.exp: Relax filename check to handle remote:
1072 sysroot.
1073
941b2081
JK
10742011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1075
1076 Reimplement @entry in input expressions.
1077 * gdb.base/exprs.c (v_int_array_init): New variable.
1078 * gdb.base/exprs.exp (print v_int_array_init)
1079 (print *v_int_array_init@1, print *v_int_array_init@2)
1080 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
1081 (print v_int_array_init[1]@1): New tests.
1082
0344e878
JM
10832011-10-10 Joseph Myers <joseph@codesourcery.com>
1084
1085 * gdb.cp/gdb2495.exp: Do not include directories in filename in
1086 expected message.
1087
5a56e9c5
DE
10882011-10-09 Doug Evans <dje@google.com>
1089
1090 * gdb.base/alias.exp: Add tests for alias command.
1091
2bda9cc5
JK
10922011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1093
1094 * gdb.arch/amd64-entry-value.s: New file.
1095 * gdb.mi/mi2-amd64-entry-value.s: New file.
1096
a471c594
JK
10972011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1098
1099 Display @entry parameter values even for references.
1100 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
1101 functions.
1102 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
1103 reference and datap_input.
1104 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
1105 breakpoints.
1106 (continue to breakpoint: entry_reference: reference)
1107 (entry_reference: bt at entry)
1108 (continue to breakpoint: entry_reference: breakhere_reference)
1109 (entry_reference: bt, entry_reference: ptype regparam)
1110 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
1111 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
1112 (entry_reference: p regcopy, entry_reference: p nodataparam)
1113 (entry_reference: p nodataparam@entry): New tests.
1114
36b11add
JK
11152011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1116
1117 Support @entry in input expressions.
1118 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
1119 (entry_stack: p s1@entry, entry_stack: p s2@entry)
1120 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
1121 (tailcall: p j@entry): New tests.
1122 * gdb.cp/koenig.cc (A::entry): New function.
1123 (main): Call it.
1124 * gdb.cp/koenig.exp (p entry (c)): New test.
1125
e18b2753
JK
11262011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1127
1128 Display @entry parameter values (without references).
1129 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
1130 (different, validity, invalid): New functions.
1131 (main): Call them.
1132 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
1133 stacktest, breakhere_stacktest, different, breakhere_different,
1134 breakhere_validity and breakhere_invalid.
1135 (entry: bt): Update for @entry.
1136 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
1137 (entry_validity: *, entry_invalid: *): Many new tests.
1138 * gdb.base/break.exp
1139 (run until breakpoint set at small function, optimized file): Accept
1140 also the @entry suffix.
1141 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
1142 * gdb.mi/mi2-amd64-entry-value.c: New files.
1143 * gdb.mi/mi2-amd64-entry-value.exp: New files.
1144
2d6c5dc2
JK
11452011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1146
1147 Protect entry values against self tail calls.
1148 * gdb.arch/amd64-entry-value.cc (self2, self): New.
1149 (main): Call self.
1150 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
1151 (set debug entry-values 1, self: bt debug entry-values): New tests.
1152
111c6489
JK
11532011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1154
1155 Recognize virtual tail call frames.
1156 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
1157 (amb_b, amb_a): New.
1158 (main): Call a and b.
1159 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
1160 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
1161 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
1162 New tests.
1163
8e3b41a9
JK
11642011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1165
1166 Implement basic support for DW_TAG_GNU_call_site.
1167 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
1168 * gdb.arch/amd64-entry-value.cc: New file.
1169 * gdb.arch/amd64-entry-value.exp: New file.
1170
181cebd4
JK
11712011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1172
1173 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
1174 * gdb.dwarf2/implptr-64bit.S: New file.
1175 * gdb.dwarf2/implptr-64bit.exp: New file.
1176
741f5e3c
JK
11772011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1178
1179 Fix initial language detection with -readnow.
1180 * gdb.cp/readnow-language.cc: New file.
1181 * gdb.cp/readnow-language.exp: New file.
1182
a73d2258
JK
11832011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1184
1185 Fix printed anonymous struct name.
1186 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
1187
af369495
JM
11882011-10-09 Joseph Myers <joseph@codesourcery.com>
1189
1190 * gdb.base/solib-symbol.exp: Do not include directories in
1191 filenames in expected messages.
1192
1fa57852
DE
11932011-10-07 Doug Evans <dje@google.com>
1194
1195 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
1196
bd054e06
KP
11972011-10-07 Kevin Pouget <kevin.pouget@st.com>
1198
1199 Allow Python notification of new object-file loadings.
1200 * gdb.python/py-events.exp: Test newobjfile event.
1201 * gdb.python/py-events.py: Register newobjfile callback.
1202 * gdb.python/py-events.c: Add call to shared library
1203 * gdb.python/py-events-shlib.c: New file.
1204
8031b6f8
JM
12052011-10-06 Joseph Myers <joseph@codesourcery.com>
1206
1207 * gdb.base/fixsection.exp: Do not include directories in filename
1208 in expected message.
1209
7fea6923
PM
12102011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
1211
1212 Add tests for passing of environment variables to inferior.
1213 * gdb.base/testenv.c: New test source.
1214 * gdb.base/testenv.exp: New expect test.
1215
687f2a88
PK
12162011-10-04 Paul Koning <paul_koning@dell.com>
1217
1218 * gdb.python/py-value.c (main): Break before return.
1219
cb6be26b
KP
12202011-10-04 Kevin Pouget <kevin.pouget@st.com>
1221
1222 PR python/12691: Add the inferior to Python exited event
1223 * gdb.python/py-events.exp: Test the inferior attribute of exited
1224 event with a fork.
1225 * gdb.python/py-events.py: Print inferior number on exit.
1226 * gdb.python/py-events.c: Fork the inferior.
1227
fb213700
EBM
12282011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
1229
1230 * gdb.base/jit.exp: Add testcase name to log message
1231
aa2071bd
PK
12322011-10-03 Paul Koning <paul_koning@dell.com>
1233 Jan Kratochvil <jan.kratochvil@redhat.com>
1234
1235 * gdb.python/py-value.exp
1236 (python inval = gdb.parse_and_eval('*(int*)0'))
1237 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
1238 (set argc=2, python print argc_lazy): New tests.
1239
dd11a36c
JB
12402011-10-02 Joel Brobecker <brobecker@adacore.com>
1241
1242 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
1243
46f886f1
JK
12442011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1245 Pedro Alves <pedro@codesourcery.com>
1246
1247 * gdb.python/py-value.exp (test_value_in_inferior): New variable
1248 can_read_0, test for it.
1249 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
1250 (parse_and_eval with memory error): ... here, make it untested if
1251 can_read_0.
1252
c5cb204f
MP
12532011-09-30 Marek Polacek <mpolacek@redhat.com>
1254
1255 * gdb.python/python.exp (verify pagination beforehand)
1256 (verify pagination afterwards): Fix race by splitting the line.
1257
68fb0ec0
JM
12582011-09-29 Joseph Myers <joseph@codesourcery.com>
1259
1260 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
1261 for 64-bit multilibs from i?86-* targets.
1262
6aee0d90
MP
12632011-09-29 Marek Polacek <mpolacek@redhat.com>
1264
1265 * lib/gdb.exp: Fix a typo in one of the comments.
1266
e9101ff5
MP
12672011-09-29 Marek Polacek <mpolacek@redhat.com>
1268
1269 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
1270 matching pattern.
1271
7a81bdbf
PK
12722011-09-28 Paul Koning <paul_koning@dell.com>
1273
1274 * gdb.python/py-type.c (enum E): New.
1275 * gdb.python/py-type.exp (test_fields): Add tests for Python
1276 mapping access to fields.
1277 (test_enums): New test for field access on enums.
1278
6710bf39
SS
12792011-09-27 Stan Shebs <stan@codesourcery.com>
1280
1281 * gdb.trace/collection.exp: Test collection of $_ret.
1282
b2a6bdeb
AT
12832011-09-22 Andreas Tobler <andreast@fgznet.ch>
1284
1285 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
1286 list of compilation switches for <*-*-freebsd*>.
1287
3c9057f3
SS
12882011-09-19 Stan Shebs <stan@codesourcery.com>
1289
1290 * gdb.trace/tspeed.exp: New file.
1291 * gdb.trace/tspeed.c: New file.
1292
34518530
YQ
12932011-09-18 Yao Qi <yao@codesourcery.com>
1294
1295 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
1296 instructions.
1297 (test_adr_32bit, test_pop_pc): Likewise.
1298 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
1299 Thumb instructions.
1300 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
1301 in gdb_test_multiple.
1302 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
1303
ab254057
YQ
13042011-09-17 Yao Qi <yao@codesourcery.com>
1305
1306 * lib/gdb.exp (can_single_step_to_signal_handler): New.
1307 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
1308 support single step to signal handler.
1309
9c317b71
YQ
13102011-09-17 Yao Qi <yao@codesourcery.com>
1311
1312 * gdb.base/disp-step-fork.c: New.
1313 * gdb.base/disp-step-syscall.exp: New.
1314 * gdb.base/disp-step-vfork.c: New.
1315
a8123151
JB
13162011-09-16 Joel Brobecker <brobecker@adacore.com>
1317
1318 * gdb.ada/tasks.exp: Make the expected output for
1319 the `info tasks' tests more resilient to spacing
1320 changes.
1321
63a9aad8
JK
13222011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1323
1324 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
1325 (reached breakpoint 2, reached breakpoint 3): Update expected output.
1326
2aa48337
KP
13272011-09-15 Kevin Pouget <kevin.pouget@st.com>
1328
1329 PR Python/12692 Add gdb.selected_inferior() to Python interface.
1330 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
1331
6839b47f
KP
13322011-04-30 Kevin Pouget <kevin.pouget@st.com>
1333
1334 Handle multiple breakpoint hits in Python interface:
1335 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
1336 presence.
1337 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
1338 breakpoint hits.
1339
0935723e
JK
13402011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
1341 Jan Kratochvil <jan.kratochvil@redhat.com>
1342
1343 * gdb.python/py-events.exp: Remove pretty printing comment.
1344 * gdb.python/py-evsignal.exp: New file.
1345 * gdb.python/py-evthreads.c: Include signal.h.
1346 (thread3): Remove variable count3. Remove variable bad and use raise
1347 instead.
1348 (thread2): Remove variable count2. Move thread3 pthread_create here,
1349 merge pthread_join to a single line.
1350 (main): Remove variable count1. Merge pthread_join with pthread_create
1351 to a single line.
1352 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
1353 KFAIL python/12966 for gdbserver. Test return value of
1354 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
1355 gdb_expect by gdb_test and gdb_test_multiple.
1356 (thread 2, thread 3): New tests.
1357
4801a9a3
PA
13582011-09-12 Matt Rice <ratmice@gmail.com>
1359 Pedro Alves <pedro@codesourcery.com>
1360
1361 PR gdb/13175
1362
1363 * gdb.base/interp.exp: New tests.
1364 * gdb.base/interp.c: New file.
1365
24ece742
DE
13662011-09-12 Doug Evans <dje@google.com>
1367
1368 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
1369 * gdb.dwarf2/typeddwarf.exp: Ditto.
1370
7f062217
JK
13712011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1372
1373 Fix compatibility with x32 arch.
1374 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
1375 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
1376 is_x86_like_target.
1377 * testsuite/gdb.trace/collection.exp: Likewise.
1378 * testsuite/gdb.trace/report.exp: Likewise.
1379 * testsuite/gdb.trace/unavailable.exp: Likewise.
1380 * testsuite/gdb.trace/while-dyn.exp: Likewise.
1381 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
1382 (is_x86_like_target): Check also is_amd64_regs_target.
1383
08711b9a
JK
13842011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1385
1386 PR breakpoints/12435
1387 * gdb.arch/amd64-prologue-xmm.c: New file.
1388 * gdb.arch/amd64-prologue-xmm.exp: New file.
1389 * gdb.arch/amd64-prologue-xmm.s: New file.
1390
b99b5f66
JK
13912011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1392
1393 * gdb.dwarf2/dw2-param-error-main.c: New file.
1394 * gdb.dwarf2/dw2-param-error.S: New file.
1395 * gdb.dwarf2/dw2-param-error.exp: New file.
1396
a391a2f6
PA
13972011-09-08 Pedro Alves <pedro@codesourcery.com>
1398
1399 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
1400 inferior's pid and look for a core dump named core.$pid. Use
1401 `remote_file' commands on the host instead of hand coding shell
1402 commands on the build.
1403 * gdb.base/valgrind-db-attach.exp: Kill the program before
1404 finishing the test.
1405
7d8e6458 14062011-09-02 Matt Rice <ratmice@gmail.com>
1407
1408 * lib/prompt.exp: New file for testing the first prompt.
1409 * gdb.python/py-prompt.exp: Ditto.
1410 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
1411
68e77c9e
PA
14122011-09-02 Pedro Alves <pedro@codesourcery.com>
1413
1414 * gdb.threads/gcore-thread.exp: Set the global core_supported to
1415 0, before testing gcore.
1416
9655e943
JK
14172011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1418
df6dc84d
JK
1419 * dw2-ifort-parameter-debug.S: Update copyright year.
1420 * dw2-ifort-parameter.c: Update copyright year.
1421 * dw2-ifort-parameter.exp: Update copyright year.
1422
9655e943
JK
1423 * dw2-ifort-parameter-debug.S: New file.
1424 * dw2-ifort-parameter.c: New file.
1425 * dw2-ifort-parameter.exp: New file.
1426
353d1d73
JK
14272011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1428
1429 * gdb.base/commands.exp (error_clears_commands_left): New function.
1430 (): Call it.
1431
5c07461a
JK
14322011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1433
1434 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
1435 (C): Initialize `a'.
1436 * gdb.mi/mi-inheritance-syntax-error.exp
1437 (-data-evaluate-expression $path): Expect `a' as 5.
1438
0d932b2f
MK
14392011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
1440
1441 PR mi/11912
1442 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
1443 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
1444 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
1445 keyword in output of -var-info-path-expression.
1446
bdb54049
JK
14472011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1448
1449 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
1450 * gdb.trace/collection.exp: Likewise.
1451 * gdb.trace/report.exp: Likewise.
1452 * gdb.trace/unavailable.exp: Likewise.
1453 * gdb.trace/while-dyn.exp: Likewise.
1454
59cde39c
KS
14552011-08-18 Keith Seitz <keiths@redhat.com>
1456
1457 PR c++/12266
1458 * gdb.cp/meth-typedefs.cc: New file.
1459 * gdb.cp/meth-typedefs.exp: New file.
1460
fa3a4f15
PM
14612011-08-17 Phil Muldoon <pmuldoon@redhat.com>
1462
1463 * gdb.python/python.exp: Add extended-prompt tests.
1464
c1049fca
JK
14652011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1466
1467 * gdb.arch/i386-dr3-watch.exp
1468 (watchpoint on gap1 does not fit debug registers)
1469 (delete all watchpoints): Fix racy expect strings.
1470
d93f7b5c
YQ
14712011-08-14 Yao Qi <yao@codesourcery.com>
1472
1473 * gdb.base/maint.exp: set data_section to ".neardata".
1474 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
1475 * gdb.base/savedregs.exp: Handle SIGILL.
1476 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
1477 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
1478
457e09f0
DE
14792011-08-12 Doug Evans <dje@google.com>
1480
1481 * gdb.python/py-symbol.exp: Add test for symbol.type.
1482
5d0bb2fb
UW
14832011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
1484
1485 * gdb.threads/pthreads.exp: Enable on non-native configurations.
1486 * gdb.mi/mi-pthreads.exp: Likewise.
1487 * gdb.mi/mi2-pthreads.exp: Likewise.
1488 * gdb.mi/gdb669.exp.exp: Likewise.
1489
fcdfa280
PA
14902011-08-09 Pedro Alves <pedro@codesourcery.com>
1491
1492 * lib/mi-support.exp (detect_async): Rename to...
1493 (mi_detect_async): ... this.
1494 * gdb.mi/mi-nonstop-exit.exp: Adjust.
1495 * gdb.mi/mi-nonstop.exp: Adjust.
1496 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
1497 * gdb.mi/mi-nsintrall.exp: Adjust.
1498 * gdb.mi/mi-nsmoribund.exp: Adjust.
1499 * gdb.mi/mi-nsthrexec.exp: Adjust.
1500
9d8fa392
PA
15012011-08-09 Pedro Alves <pedro@codesourcery.com>
1502
1503 * gdb.base/display.c (do_loops): New `p_i' local.
1504 * gdb.base/display.exp: Test displaying a variable that is
1505 temporarily at a bad address.
1506
b6cede78
JK
15072011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1508
1509 * gdb.dwarf2/dw2-op-stack-value.S: New file.
1510 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
1511
67bedb8c
JK
15122011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1513
1514 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
3c542bc3
JK
1515 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
1516 (p fuNC_symtab): Permit also ppc64 leading dot.
67bedb8c 1517
af6e93b2
PA
15182011-08-05 Pedro Alves <pedro@codesourcery.com>
1519
1520 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
1521 procedure.
1522 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
1523
1cf0e11f
YQ
15242011-08-05 Yao Qi <yao@codesourcery.com>
1525
1526 * gdb.base/callfuncs.exp: Set language after main.
1527 * gdb.cp/cplusfuncs.exp: Likewise.
1528 * gdb.cp/inherit.exp: Likewise.
1529
a1e28cb2
UW
15302011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
1531
1532 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
1533 * gdb.base/watch-vfork.exp: Skip on remote targets.
1534
d4f5bbb9
UW
15352011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
1536
1537 * gdb.threads/thread-find.exp: Support remote targets.
1538
724f4f80
UW
15392011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
1540
1541 * gdb.base/jit.exp: Download solib_binfile to target.
1542 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
1543 and call dlopen without full path name.
1544 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
1545 dlopen without full path name.
1546
934709f0
PW
15472011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1548
1549 * gdb.base/break-always.exp: Complete the test
1550 with duplicated breakpoints and enabling/disabling them.
1551
c26106c4
TT
15522011-08-02 Tom Tromey <tromey@redhat.com>
1553
1554 PR gdb/11289:
1555 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
1556
9300444e 15572011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
fbe12357
PP
1558
1559 PR gdb/13045
1560 * gdb.base/float.exp: Add new test case for PR gdb/13045
1561 * gdb.base/float.c: New file.
1562
00bd41d6
PM
15632011-07-28 Phil Muldoon <pmuldoon@redhat.com>
1564
1565 * gdb.python/py-mi.exp: Test printers returning string hint, and
1566 also not returning a value.
1567 * gdb.python/py-prettyprint.c: Add testcase for above.
1568 * gdb.python/py-prettyprint.py: Add test printer for above.
1569
d24f74ce
JK
15702011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1571
1572 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
1573 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
1574 (.Ldie30) Add as field "data4".
1575 (.Ldie32) Rename field "b" to "shl".
1576 (abbrev4) Change for the "data4" field.
1577 (abbrev5, abbrev6) Remove.
1578 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
1579 (p &s.shl): ... here. Add comment.
1580 (p &s.data4): New.
1581
bb7da2bf
JK
15822011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1583
1584 Fix crash on lval_computed values.
1585 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
1586
11081198
JK
15872011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1588
1589 * gdb.base/help.exp (help whatis): Update the expected string.
1590
3c6e0cb3
JK
15912011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1592
1593 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
1594 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
1595 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
1596 Change the expected string.
1597
efa80663
PA
15982011-07-26 Pedro Alves <pedro@codesourcery.com>
1599
1600 * gdb.base/watchpoint.exp
1601 (test_disable_enable_software_watchpoint): New procedure.
1602 (top level): Run it.
1603
db8e4570
UW
16042011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
1605
1606 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
1607 executable file "${binfile}", C++ version "${binfile}-cxx".
1608 * gdb.python/py-prettyprint.exp: Likewise.
1609 * gdb.python/py-symbol.exp: Likewise.
1610 * gdb.python/py-type.exp: Likewise.
1611 * gdb.python/py-value.exp: Likewise.
1612 * gdb.python/py-template.exp (test_template_arg): Pass full executable
1613 file name instead of just suffix.
1614
543305c9
JK
16152011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1616
1617 Fix implicit pointer offsets.
1618 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
1619 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
1620 (continue to breakpoint: continue to baz breakpoint for implptr)
1621 (sanity check element 0, sanity check element 1)
1622 (enter the inlined function, check element 0 for the offset)
1623 (check element 1 for the offset)
1624 (continue to breakpoint: ignore the second baz breakpoint): New tests.
1625 (set foo breakpoint for implptr): Update the breakpoint number.
1626
b3215adc
UW
16272011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
1628
1629 * gdb.python/py-mi.exp: Use different file names for different
1630 versions of the executable under test.
1631 * gdb.python/py-prettyprint.exp: Likewise.
1632 * gdb.python/py-symbol.exp: Likewise.
1633 * gdb.python/py-template.exp: Likewise.
1634 * gdb.python/py-type.exp: Likewise.
1635 * gdb.python/py-value.exp: Likewise.
1636
182b9acc
UW
16372011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
1638
1639 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
1640 flag after restarting GDB if necessary.
1641
e6052b5d
UW
16422011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
1643
1644 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
1645
1ced966e
PA
16462011-07-22 Pedro Alves <pedro@codesourcery.com>
1647
1648 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
1649 backend doesn't leave used debug registers behind.
1650
3543a589
TT
16512011-07-22 Tom Tromey <tromey@redhat.com>
1652
1653 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
1654 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
1655 argument.
1656 * gdb.dwarf2/typeddwarf-amd64.S: New file.
1657
14d15303 16582011-07-21 Matt Rice <ratmice@gmail.com>
1659
1660 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
1661 in mostlyclean rule. Add files ending in .core.
1662
9b158ba0 16632011-07-21 Matt Rice <ratmice@gmail.com>
1664
1665 PR macros/12999
1666 * gdb.base/info-macros.c: New test sources.
1667 * gdb.base/info-macros.exp: New tests.
1668
d17b6f81
PM
16692011-07-21 Phil Muldoon <pmuldoon@redhat.com>
1670
1671 * gdb.python/python.exp: Add prompt substitution tests.
1672
918dd910
JK
16732011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1674
1675 Fix crash if referenced CU is aged out.
1676 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
1677 New.
1678 * gdb.dwarf2/implptr.exp: Likewise.
1679
0e37a63c
JK
16802011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1681
1682 * gdb.dwarf2/implptr.S: Rebuilt.
1683 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
1684 (bar): Use them for j, k, l.
1685 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
1686 COMPILE.
1687 (print j in implptr:bar): Update for the intp typedef.
1688 (print p[0].x in implptr:foo): Use more exact regex.
1689
f65cf84c
TT
16902011-07-18 Tom Tromey <tromey@redhat.com>
1691
1692 * gdb.cp/static-method.exp: Add missing single quote.
1693
d5b4a7be
YQ
16942011-07-18 Yao Qi <yao@codesourcery.com>
1695
1696 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
1697 supported.
1698 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1699 * gdb.mi/mi-nonstop.exp: Likewise.
1700 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1701 * gdb.mi/mi-nsintrall.exp: Likewise.
1702 * gdb.mi/mi-nsmoribund.exp: Likewise.
1703 * gdb.mi/mi-nsthrexec.exp: Likewise.
1704 * gdb.python/py-evthreads.exp: Likewise.
1705
e9ea2662
JK
17062011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1707
1708 Code cleanup.
1709 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
1710 it. Substitute it instead of test_compiler_info everywhere.
1711
ce451573
UW
17122011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
1713
1714 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
1715 remote targets as well.
1716
756d88a7
UW
17172011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
1718
1719 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
1720 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
1721
31f83dc5
UW
17222011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
1723
1724 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
1725 a remote machine, not the host.
1726 (gdb_compile_shlib): Set soname if target is remote.
1727
059241a0
PP
17282011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
1729
1730 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
1731
28a0b48c 17322011-07-13 Matt Rice <ratmice@gmail.com>
1733
1734 * gdb.python/py-objfile-script-gdb.py: Renamed to
1735 py-objfile-script-gdb.py.in.
1736 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
1737 py-objfile-script-gdb.py.
1738 * gdb.python/py-objfile-script.exp: Update reference to
1739 py-objfile-script-gdb.py.
1740
9a771b67
JK
17412011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1742
1743 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
1744 reference undefined label.
1745
04ad99e6
JK
17462011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1747
1748 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
1749 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
1750 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
1751 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
1752
713389e0
PM
17532011-07-11 Phil Muldoon <pmuldoon@redhat.com>
1754
1755 PR python/12438
1756 * gdb.python/python.exp: Add maint set/show python print-stack
1757 deprecated tests. Add set/show python print-backtrace tests.
1758
97d146f8
JK
17592011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1760
1761 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
1762 debug info.
1763
facde0e5 17642011-07-06 Matt Rice <ratmice@gmail.com>
1765
1766 * gdb.python/python.exp: Update filename paths.
1767 * gdb.python/py-symtab.exp: Ditto.
1768
438640d1
MP
17692011-07-06 Marek Polacek <mpolacek@redhat.com>
1770
1771 * gdb.python/py-evthreads.exp: Add missing `$'.
1772
33a365df
MF
17732011-07-06 Jie Zhang <jie.zhang@analog.com>
1774
1775 * config/bfin.exp: New file.
1776 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
1777 * gdb.asm/bfin.inc: New file.
1778
8f7ae686
MP
17792011-07-06 Marek Polacek <mpolacek@redhat.com>
1780
df46027d 1781 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
8f7ae686
MP
1782 the whole output.
1783
eb2a6f42
TT
17842011-07-05 Tom Tromey <tromey@redhat.com>
1785
1786 * gdb.java/jprint.java (jprint.hi): New field.
1787 * gdb.java/jprint.exp: Print string.
1788
177b42fe
TJB
17892011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
1790
1791 * gdb.base/call-sc.c: Fix typos.
1792 * gdb.base/ifelse.exp: Likewise.
1793 * gdb.base/structs.c: Likewise.
1794
3b2a0cf2
JB
17952011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1796
1797 * gdb.base/jit-so.exp: New test.
1798 * gdb.base/jit-dlmain.c: New file.
1799 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
1800
46fc714c
JK
18012011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1802
1803 * gdb.cp/m-static.exp: Call get_compiler_info.
e17476d7
JK
1804 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
1805 * gdb.cp/pr9167.exp (p b): Likewise.
1806 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
1807 (test value of P in inner_m, test type of Z in inner_m): Call
1808 setup_xfail for gcc <= 4.5.
46fc714c 1809
418c7cf7
JK
18102011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1811
1812 * gdb.cp/paren-type.cc: New files.
1813 * gdb.cp/paren-type.exp: New files.
1814
3d50dd94
JK
18152011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1816
1817 Stop on first linespec terminator instead of eating what we can.
1818 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
1819 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
1820 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
1821 (break C::f()): ... this one.
1822 (break C::operator()()): New test.
1823 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
1824 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
1825 test.
1826
dcf9f4ab
JK
18272011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1828
1829 Fall back linespec to minimal symbols.
1830 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
1831 error message.
1832 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
1833 * gdb.cp/minsym-fallback-main.cc: New file.
1834 * gdb.cp/minsym-fallback.cc: New file.
1835 * gdb.cp/minsym-fallback.exp: New file.
1836 * gdb.cp/minsym-fallback.h: New file.
1837
3f542ed1
JK
18382011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1839
1840 * gdb.cp/no-dmgl-verbose.cc: New file.
1841 * gdb.cp/no-dmgl-verbose.exp: New file.
1842
18432011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
900e11f9
JK
1844
1845 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
1846 __GI_.
1847 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
1848 (f): New function.
1849 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
1850 (complete p 'func<short>(): ... here.
1851 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
1852 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
1853 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
1854 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
1855 Make them KFAIL gcc/49546.
1856
00eb2c4a
JB
18572011-07-01 Joel Brobecker <brobecker@adacore.com>
1858
1859 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
1860
85a20c42
JK
18612011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1862
1863 Test GCC PR debug/49546.
1864 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
1865 (test type of F in k3_m, test value of F in k3_m): New.
1866 * gdb.cp/temargs.cc (struct S3, struct K3): New.
1867 (main): New variable k3. Call k3.k3_m.
1868
d2d43431
JB
18692011-07-01 Jean-Charles Delay <delay@adacore.com>
1870
1871 * gdb.ada/packed_array.exp: Fix expected outout.
1872
54ae186f
JB
18732011-07-01 Jean-Charles Delay <delay@adacore.com>
1874
1875 * gdb.ada/packed_array.exp: fixed expected output.
1876
8f17729f
JB
18772011-07-01 Joel Brobecker <brobecker@adacore.com>
1878
1879 * gdb.ada/same_enum: New testcase.
1880
f5aa6869
JB
18812011-07-01 Joel Brobecker <brobecker@adacore.com>
1882
1883 * gdb.ada/ptr_typedef: New testcase.
1884
828292f2
JB
18852011-07-01 Joel Brobecker <brobecker@adacore.com>
1886
1887 * gdb.ada/arrayptr.exp: Add ptype test.
1888
18920c42
JB
18892011-07-01 Joel Brobecker <brobecker@adacore.com>
1890
1891 * gdb.ada/char_enum: New testcase.
1892
3536d9e3 18932011-07-01 Yao Qi <yao@codesourcery.com>
54aeeb99
YQ
1894
1895 * gdb.base/dump.exp (capture_pointer_with_type): New.
1896 Get value from address instead of name.
1897 Start GDB once, and do `dump' and `restore'
1898 tests together.
1899
db863c42
MF
19002011-06-30 Jie Zhang <jie.zhang@analog.com>
1901 Mike Frysinger <vapier@gentoo.org>
1902
1903 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
1904 helper functions for getting/setting remotetimeout variable.
1905 * lib/gdb.exp (gdb_load): If the target is remote, set
1906 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
1907 with $loadtimeout. Set $load_ok to 0 before doing the load.
1908 Instead of returning, immediately, set $load_ok to 0. Call
1909 set_remotetimeout with $oldremotetimeout, and then return if
1910 $load_ok is 1.
1911
e9e642a8
AB
19122011-06-30 Andrew Burgess <aburgess@broadcom.com>
1913
1914 * gdb.python/py-template.exp: Don't run this test if the target
1915 does not support c++ tests.
1916
32019081
JK
19172011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1918
1919 Fix non-only rename list for Fortran modules import.
1920 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
1921 tests.
1922 * gdb.fortran/module.f90 (module moduse): New.
1923 (program module): use moduse, test var_x, var_y and var_z.
1924
0ecee54c
TT
19252011-06-29 Tom Tromey <tromey@redhat.com>
1926
1927 PR testsuite/12040:
1928 * gdb.fortran/array-element.exp: Use f90, not f77.
1929 * gdb.fortran/complex.exp: Use f90, not f77.
1930 * gdb.fortran/derived-type.exp: Use f90, not f77.
1931 * gdb.fortran/library-module.exp: Use f90, not f77.
1932 * gdb.fortran/logical.exp: Use f90, not f77.
1933 * gdb.fortran/module.exp: Use f90, not f77.
1934 * gdb.fortran/multi-dim.exp: Use f90, not f77.
1935 * gdb.fortran/subarray.exp: Use f90, not f77.
1936
3b2b8fea
TT
19372011-06-29 Tom Tromey <tromey@redhat.com>
1938
1939 * gdb.fortran/charset.exp: New file.
1940 * gdb.fortran/charset.f90: New file.
1941
42159ca5
TT
19422011-06-29 Tom Tromey <tromey@redhat.com>
1943
1944 PR testsuite/12040:
1945 * lib/future.exp: New file, mostly extracted from ada.exp.
1946 Rewrote compatibility code to use rename.
1947 (gdb_find_gfortran): New proc.
1948 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
1949 gfortran patch.
1950 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
1951 Move to future.exp.
1952 * lib/gdb.exp: Always load future.exp.
1953
af69a5ce
YQ
19542011-06-28 Yao Qi <yao@codesourcery.com>
1955
1956 * gdb.cp/exception.cc: Don't include iostream.
1957 (bar): Remove print statement.
1958 (catcher): New.
1959 (main): Remove print statements. Call function catcher.
1960 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
1961 Set breakpoint on catcher, and check the value of parameter.
1962
ab5c6a72
YQ
19632011-06-23 Yao Qi <yao@codesourcery.com>
1964
1965 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check breakpoint
1966 1.2 is disabled. KFAIL for uclinux.
1967
9497469f
MP
19682011-06-23 Marek Polacek <mpolacek@redhat.com>
1969
1970 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
1971 mi_gdb_test.
1972
b9132588
MP
19732011-06-23 Marek Polacek <mpolacek@redhat.com>
1974
5d197ed0 1975 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
b9132588 1976
e55595ca
MP
19772011-06-23 Marek Polacek <mpolacek@redhat.com>
1978
5d197ed0
MP
1979 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
1980
19812011-06-23 Marek Polacek <mpolacek@redhat.com>
1982
1983 * gdb.mi/mi2-basics.exp: Fix races. Honour the
1984 `test_exec_and_symbol_mi_operatons' return value.
1985 (test_mi_interpreter_selection): Use mi_gdb_test instead of
1986 gdb_test_multiple.
1987 (test_exec_and_symbol_mi_operatons): Likewise.
1988 (test_path_specification): Likewise.
e55595ca 1989
be777e08
YQ
19902011-06-23 Yao Qi <yao@codesourcery.com>
1991
1992 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
1993 supported.
1994 * lib/gdb.exp (support_displaced_stepping): New.
1995
615556d6
YQ
19962011-06-23 Yao Qi <yao@codesourcery.com>
1997
1998 * gdb.threads/execl.exp: Skip on remote target.
1999
833b0ca7
MP
20002011-06-21 Marek Polacek <mpolacek@redhat.com>
2001
5d197ed0 2002 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
833b0ca7
MP
2003 mi_gdb_test.
2004
1ee4023a
MP
20052011-06-20 Marek Polacek <mpolacek@redhat.com>
2006
5d197ed0 2007 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1ee4023a 2008
d0b1d624
MP
20092011-06-20 Marek Polacek <mpolacek@redhat.com>
2010
5d197ed0 2011 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
d0b1d624
MP
2012 mi_gdb_test.
2013
79aa92c1
MP
20142011-06-20 Marek Polacek <mpolacek@redhat.com>
2015
5d197ed0 2016 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
79aa92c1 2017
5ce5db06
YQ
20182011-06-14 Yao Qi <yao@codesourcery.com>
2019
2020 gdb/testsuite/
2021 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
2022
533a737e
JK
20232011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2024
2025 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
2026
d0e53741
TT
20272011-06-10 Tom Tromey <tromey@redhat.com>
2028
2029 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
2030 Add tests for pointer-to-member-function.
2031 * gdb.cp/temargs.cc (S::somefunc): New function.
2032 (K2): New class.
2033 (main): Instantiate K2; call method.
2034
b5916bbd
JB
20352011-06-08 Joel Brobecker <brobecker@adacore.com>
2036
2037 * gdb.python/py-inferior.c (f2): Make str an array rather
2038 than a pointer.
2039 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
2040
5be4dfca
JK
20412011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2042
2043 * gdb.base/async-shell.c: New file.
2044 * gdb.base/async-shell.exp: New file.
2045
9f47e254
PA
20462011-06-06 Pedro Alves <pedro@codesourcery.com>
2047
2048 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
2049
64b9b334
JB
20502011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
2051
2052 From Stephen Kitt <steve@sk2.org>
2053 * gdb.base/help.exp: Adjust following some spelling corrections
2054 in GDB.
2055
dbc0f131
YQ
20562011-06-01 Yao Qi <yao@codesourcery.com>
2057
2058 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
2059
fd336a18
KS
20602010-05-31 Keith Seitz <keiths@redhat.com>
2061
2062 PR c++/12750
2063 * gdb.cp/static-method.cc: New file.
2064 * gdb.cp/static-method.exp: New file.
2065
fa8b9902
KS
20662010-05-31 Keith Seitz <keiths@redhat.com>
2067
2068 PR symtab/12704
2069 * gdb.cp/anon-ns.cc: New file.
2070 * gdb.cp/anon-ns.exp: New file.
2071
0a5b1e09
PA
20722011-05-31 Pedro Alves <pedro@codesourcery.com>
2073
2074 * gdb.arch/i386-dr3-watch.c: New file.
2075 * gdb.arch/i386-dr3-watch.exp: New file.
2076
0578b8d1
YQ
20772011-05-30 Yao Qi <yao@codesourcery.com>
2078
2079 * gdb.base/callfuncs.c (t_structs_fc): New.
2080 (t_structs_dc, t_structs_ldc): New.
2081 (t_double_many_args):
2082 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
2083 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
2084 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
2085 * gdb.base/callfuncs.exp: Call new functions.
2086
6680506e
YQ
20872011-05-30 Yao Qi <yao@codesourcery.com>
2088
ff4d2c60
YQ
2089 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
2090 Call rerun_and_prepare for each test to isolate effects.
2091
20922011-05-30 Yao Qi <yao@codesourcery.com>
2093
2094 * gdb.base/varargs.c (find_max_float_real): New.
2095 (find_max_double_real, find_max_long_double_real): New.
2096 * gdb.base/varargs.exp: Call these new added functions.
6680506e
YQ
2097 * lib/gdb.exp (setup_kfail_for_target): New.
2098
e43ec454
YQ
20992011-05-30 Yao Qi <yao@codesourcery.com>
2100
2101 * gdb.base/funcargs.c (callca, callcb, callcc): New.
2102 (callcd, callce, callcf, callc1a, callc1b): New.
2103 (callc2a, callc2b): New.
2104 * gdb.base/funcargs.exp (complex_args): New.
2105 (complex_integral_args, complex_float_integral_args): New.
2106 * lib/gdb.exp (support_complex_tests): New. Determine
2107 whether to run test cases on _Complex types.
2108
432b4d03
JK
21092011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2110
2111 * gdb.threads/leader-exit.c: New file.
2112 * gdb.threads/leader-exit.exp: New file.
2113
6caf069d
MP
21142011-05-27 Marek Polacek <mpolacek@redhat.com>
2115
9497469f 2116 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
6caf069d 2117
97fce28b
MP
21182011-05-27 Marek Polacek <mpolacek@redhat.com>
2119
2120 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
2121 remove the `supported' variable.
2122 * gdb.mi/mi-nonstop.exp: Likewise.
2123 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2124 * gdb.mi/mi-nsintrall.exp: Likewise.
2125 * gdb.mi/mi-nsmoribund.exp: Likewise.
2126 * gdb.mi/mi-nsthrexec.exp: Likewise.
2127
9da8c2a0
PA
21282011-05-26 Pedro Alves <pedro@codesourcery.com>
2129
2130 * gdb.reverse/finish-reverse-bkpt.exp: New test.
2131
2c03e5be
PA
21322011-05-26 Pedro Alves <pedro@codesourcery.com>
2133
2134 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
2135
2e21250d
KS
21362011-05-24 Keith Seitz <keiths@redhat.com>
2137
2138 PR breakpoint/12803
2139 * gdb.cp/cmpd-minsyms.cc (a): New method.
2140 (b): New method.
2141 (c): New method.
2142 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
2143
cdac0397
PA
21442011-05-24 Pedro Alves <pedro@codesourcery.com>
2145
2146 * gdb.base/commands.exp (watchpoint_command_test): Check that the
2147 watchpoint's command list didn't execute when the watchpoint went
2148 out of scope.
2149
ee5683ab
PM
21502011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
2151
2152 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
2153 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
2154 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
2155 * gdb.arch/i386-gnu-cfi.exp: Likewise.
2156 * gdb.arch/i386-permbkpt.exp: Likewise.
2157 * gdb.arch/i386-prologue.exp: Likewise.
2158 * gdb.arch/i386-size-overlap.exp: Likewise.
2159 * gdb.arch/i386-size.exp: Likewise.
2160 * gdb.arch/i386-unwind.exp: Likewise.
2161 * gdb.reverse/i386-precsave.exp: Likewise.
2162 * gdb.reverse/i386-reverse.exp: Likewise.
2163 * gdb.reverse/i386-sse-reverse.exp: Likewise.
2164 * gdb.reverse/i387-env-reverse.exp: Likewise.
2165 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2166
c91c8c16
PA
21672011-05-24 Pedro Alves <pedro@codesourcery.com>
2168
2169 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
2170 file doesn't error, using MI.
2171
c50491a7
TT
21722011-05-23 Tom Tromey <tromey@redhat.com>
2173
2174 * gdb.base/charset.exp (string_display): Add tests to assign to
2175 arrays.
2176 * gdb.base/charset.c (short_array, int_array, long_array): New.
2177
4a07b7da
PA
21782011-05-20 Pedro Alves <pedro@codesourcery.com>
2179
2180 Cope with async mode.
2181
4a07b7da
PA
2182 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
2183 into gdb_test + mi_expect_stop.
2184
b275f2d2
PA
21852011-05-20 Pedro Alves <pedro@codesourcery.com>
2186
2187 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
2188 (callme): Remove printf call.
2189
eec52c44
PM
21902011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
2191
2192 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
2193 quote pattern to avoid problems with Cygwin/mingw expect versions.
2194 * gdb.base/default.exp (show convenience): Use double
2195 quote pattern for regular expressions.
2196
b3c8eb43
JK
21972011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2198
2199 Fix -readnow for -gdwarf-4 unused type units.
2200 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
2201 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
2202
ed731959
JK
22032011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2204
2205 * gdb.base/kill-after-signal.c: New file.
2206 * gdb.base/kill-after-signal.exp: New file.
2207
3b48433d
PA
22082011-05-16 Pedro Alves <pedro@codesourcery.com>
2209
2210 * gdb.ada/start.exp: Call untested with the correct test filename.
2211 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
2212 test filename. Make the test's binary unique.
2213 * gdb.arch/i386-signal.exp: Call untested with the correct test
2214 filename.
2215 * gdb.arch/i386-size-overlap.exp: Ditto.
2216 * gdb.arch/Makefile.in (EXECUTABLES): Update.
2217 * gdb.base/gcore-buffer-overflow.exp: Ditto.
2218 * gdb.cp/call-c.exp: Ditto.
2219 * gdb.mi/mi-reverse.exp: Call untested with the correct test
2220 filename. Make the test's binary unique.
2221 * gdb.mi/Makefile.in (EXECUTABLES): Update.
2222 * gdb.python/py-mi.exp: Ditto.
2223 * gdb.python/Makefile.in (EXECUTABLES): Update.
2224 * gdb.reverse/i386-precsave.exp: Ditto.
2225 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
2226 test filename.
2227 * gdb.reverse/i387-stack-reverse.exp: Ditto.
2228 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
2229 unique.
2230 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
2231 test filename.
2232 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
2233 * gdb.trace/tfile.exp: Ditto.
2234
ba4a8bdd
YQ
22352011-05-14 Yao Qi <yao@codesourcery.com>
2236
2237 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
2238 type.
2239
dbaefcf7
DE
22402011-05-13 Doug Evans <dje@google.com>
2241
2242 * gdb.python/py-objfile-script.exp: New file.
2243 * gdb.python/py-objfile-script.c: New file.
2244 * gdb.python/py-objfile-script-gdb.py: New file.
2245 * testsuite/gdb.python/py-section-script.exp: Test
2246 "info auto-load-scripts".
2247
9930639c
TT
22482011-05-13 Tom Tromey <tromey@redhat.com>
2249
2250 * gdb.dwarf2/clztest.exp: New file.
2251 * gdb.dwarf2/clztest.c: New file.
2252 * gdb.dwarf2/clztest.S: New file.
2253
05272e11
DE
22542011-05-13 Doug Evans <dje@google.com>
2255
cc63ef9b
DE
2256 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
2257 String16 tests.
05272e11 2258
6edba76f
TT
22592011-05-13 Tom Tromey <tromey@redhat.com>
2260
2261 * lib/gdb.exp (is_x86_like_target): New proc.
2262 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
2263 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
2264 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
2265 -nostdlib to compiler.
2266 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
2267 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
2268 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
2269 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
2270 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
2271
028d0ed5
TJB
22722011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
2273
2274 * gdb.python/py-function.exp: Test setting a value from a function
2275 which executes a command.
2276
8a9b8146
TT
22772011-05-12 Tom Tromey <tromey@redhat.com>
2278
2279 * gdb.dwarf2/typeddwarf.S: New file.
2280 * gdb.dwarf2/typeddwarf.c: New file.
2281 * gdb.dwarf2/typeddwarf.exp: New file.
2282
10483e8e
MP
22832011-05-12 Marek Polacek <mpolacek@redhat.com>
2284
2285 * gdb.mi/mi-basics.exp: Fix races. Honour the
2286 `test_exec_and_symbol_mi_operatons' return value.
2287 (test_mi_interpreter_selection): Use mi_gdb_test instead of
2288 gdb_test_multiple.
2289 (test_exec_and_symbol_mi_operatons): Likewise.
2290 (test_path_specification): Likewise.
2291
faf067f1
JK
22922011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2293
2294 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
2295 (gdb_touch_execfile): Remove catch wrappers. New variable time.
2296 Replace `file copy' and `file rename' by `file mtime'. Twice.
2297
7ff911a3
JK
22982011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2299
2300 * gdb.base/readline-ask.c: New file.
2301 * gdb.base/readline-ask.exp: New file.
2302 * gdb.base/readline-ask.inputrc: New file.
2303
a536c6d7
UW
23042011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
2305
2306 * gdb.cell/bt.exp: Delete breakpoints before running to signal
2307 to avoid race condition.
2308 * gdb.cell/coremaker.c: Use small stack size.
2309 * gdb.cell/ea-standalone.exp: Use file name without path as
2310 argument to c_to.
2311 * gdb.cell/fork.exp: Allow other output when continuing to end.
2312
d472a426
JK
23132011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2314
2315 * gdb.threads/corethreads.c: New file.
2316 * gdb.threads/corethreads.exp: New file.
2317
23182011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
774094b8
JK
2319
2320 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
2321 Try to compile the test using -Wl,-z,norelro first.
2322 (load_core): New variable libthread_db_seen, initialize it.
2323 (zeroed-threads cannot be listed): Protect it by XFAIL on
2324 !$libthread_db_seen.
2325
8be455d7
JK
23262011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2327
2328 PR 12573
2329 * gdb.dwarf2/dw2-skip-prologue.S: New file.
2330 * gdb.dwarf2/dw2-skip-prologue.c: New file.
2331 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
2332
1976171a
JK
23332011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2334
2335 * gdb.cp/psymtab-parameter.cc: New file.
2336 * gdb.cp/psymtab-parameter.exp: New file.
2337
7db6f30f
JK
23382011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2339
2340 Fix a race.
2341 * gdb.cp/static-print-quit.exp (print c): Split to ...
2342 (print c - <return>, print c - q <return>, print c - to quit):
2343 ... these. Make the testfile untested on gdb-7.1.
2344
85161e9e 23452011-5-05 Janis Johnson <janisjo@codesourcery.com>
56744f0a
JJ
2346
2347 * lib/gdb.exp (exec_target_file, exec_symbol_file,
2348 gdb_rename_execfile, gdb_touch_execfile): New.
2349 * gdb.base/reread.exp: Use new procs to handle multiple
2350 exec files.
2351
0c51be18
YQ
23522011-05-05 Yao Qi <yao@codesourcery.com>
2353
2354 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
2355 (test_adr_32bit, test_pop_pc): New.
2356 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
2357 (test_adr_32bit, test_pop_pc): New.
2358
4d393d60
JM
23592011-05-04 Joseph Myers <joseph@codesourcery.com>
2360
2361 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
2362 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
2363 targets.
2364 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
2365 handle targets.
2366
8ffd0459
JK
23672011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2368
2369 * gdb.base/completion.exp (complete help info wat): Rename to ...
2370 (complete 'help info wat'): ... here.
2371 Remove all `-re ".*' and `-re "^.*' redundant regexes.
2372 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
2373
8e28d804
PA
23742011-05-04 Pedro Alves <pedro@codesourcery.com>
2375
2376 * gdb.base/completion.exp: Use gdb_test_multiple instead of
2377 gdb_test and explicit $gdb_prompt/timeout matches.
2378
3eb2ef34
YQ
23792011-05-04 Yao Qi <yao@codesourcery.com>
2380
2381 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
2382 and __thumb2__.
2383
aaaf81a3
MP
23842011-05-03 Marek Polacek <mpolacek@redhat.com>
2385
2386 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
2387 in place of `gdb_test "delete breakpoints"'. This eliminates two
2388 testcases.
2389
c4cbc0df
PA
23902011-05-02 Pedro Alves <pedro@codesourcery.com>
2391
2392 PR testsuite/12649
2393 Fix races.
2394
2395 * gdb.base/completion.exp: Remove all sleep calls. Remove
2396 unnecessary regexs. Don't explicitly expect anything after the
2397 prompt. Eat the prompt if necessary.
2398
b4cbb4a3
EBM
23992011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
2400
2401 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
2402 accept to show the caller line again as well as the line after.
2403
d65aec65
PM
24042011-04-29 Phil Muldoon <pmuldoon@redhat.com>
2405
2406 PR mi/12531
2407
2408 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
2409 compile target.
2410 * gdb.python/py-prettyprint.exp: Add C++ object for
2411 CPLUS_FAKE_CHILD test.
2412
30852783
UW
24132011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
2414
2415 * gdb.base/signest.exp: New file.
2416 * gdb.base/signest.c: Likewise.
2417
c7b1f0d9
JK
24182011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2419
2420 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
2421 thread and breakpoint notifications.
2422
559a7a62
JK
24232011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2424
2425 * gdb.base/fortran-sym-case.c: New file.
2426 * gdb.base/fortran-sym-case.exp: New file.
2427 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
2428 * gdb.dwarf2/dw2-case-insensitive.c: New file.
2429 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
2430
8344e389
JK
24312011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2432
2433 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
2434 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
2435 false #1', `if true else false #2' and `if true else false #3'.
2436
2484c66b
UW
24372011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
2438
2439 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
2440 while delivering signal.
2441
8d3788bd
VP
24422011-04-27 Vladimir Prus <vladimir@codesourcery.com>
2443
2444 MI breakpoint notifications.
2445
2446 * testsuite/gdb.mi/mi-cli.exp: Adust.
2447 * testsuite/gdb.mi/mi2-cli.exp: Adust.
2448 * testsuite/gdb.mi/mi-watch.exp: Adust.
2449 * testsuite/gdb.mi/mi2-watch.exp: Adust.
2450 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
2451 notifications.
2452
3e03848b
JK
24532011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2454
2455 * gdb.base/gdbindex-stabs-dwarf.c: New file.
2456 * gdb.base/gdbindex-stabs.c: New file.
2457 * gdb.base/gdbindex-stabs.exp: New file.
2458
918c9108
YQ
24592011-04-25 Yao Qi <yao@codesourcery.com>
2460
2461 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
2462 with /*...*/.
2463 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
2464
90556b8c
JK
24652011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2466
2467 * gdb.python/py-value.exp (test_objfiles): Name the first test
2468 `py-value in file.filename'.
2469
03f2bd59
JK
24702011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2471
2472 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
2473 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
2474 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
2475 !gdbserver_reconnect_p..
2476 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
2477
7b08b9eb
JK
24782011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2479
2480 * gdb.cp/cpcompletion.exp (complete class methods)
2481 (complete class methods beginning with F): Move them above runto. New
2482 comment about the runto delimiter.
2483
b78974c3
PA
24842011-04-20 Pedro Alves <pedro@codesourcery.com>
2485
2486 * gdb.base/maint.exp: Test that "maint print registers" works
2487 without a running program.
2488
20429c40 24892011-04-20 Marek Polacek <mpolacek@redhat.com>
b78974c3 2490
20429c40
MP
2491 * gdb.base/setshow.exp: Fix racy tests.
2492 ($old_gdb_prompt): New variable.
2493
7a9dd1b2
TT
24942011-04-19 Tom Tromey <tromey@redhat.com>
2495
2496 * gdb.mi/mi-nsmoribund.exp:
2497 * gdb.hp/gdb.objdbg/objdbg01.exp:
2498 * gdb.base/structs.exp (test_struct_returns):
2499 * gdb.base/call-sc.exp (test_scalar_returns):
2500 * gdb.base/bigcore.exp: Remove duplicate words.
2501
02835898
JK
25022011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2503
2504 * gdb.base/break-interp-lib.c (v, vptr): New variables.
2505 * gdb.base/break-interp.exp (test_attach): New comment.
2506
254f582e
JK
25072011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2508
2509 * gdb.threads/gcore-thread.exp ($core0file): New variable.
2510 (clear __stack_user.next, clear stack_used.next)
2511 (save a zeroed-threads corefile): New test.
2512 Call core_load for $core0file.
2513 (zeroed-threads cannot be listed): New test.
2514
4fe85f5c
JK
25152011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2516
2517 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
2518 filename.
2519 ($srcfile): Preserve the original value.
2520 ($testfile): Match it the .exp filename.
2521 ($corefile): New variable. Substitute it around.
2522 Use clean_restart.
2523 ($prev_timeout): Remove.
2524 (load_core): Move core loading into this proc.
2525 Fix restore of $timeout if load_core fails.
2526
63524580
JK
25272011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2528
2529 * gdb.base/eu-strip-infcall.c: New file.
2530 * gdb.base/eu-strip-infcall.exp: New file.
2531
90359a16
JK
25322011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2533
2534 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
2535 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
2536
626e7282
JK
25372011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2538
2539 Fix Python access to inlined frames.
2540 * gdb.python/py-frame-inline.c: New file.
2541 * gdb.python/py-frame-inline.exp: New file.
2542
3363d018
EBM
25432011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
2544
2545 * gdb.base/gdb1090.exp: Change breakpoint location to read the
2546 content of 's24' correctly (avoiding "optimized out").
2547 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
2548
28781456
JK
25492011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2550
2551 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
2552
4a4106ca
TJB
25532011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
2554
2555 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
2556 expect a colon in watch -location output.
2557
d26ccb4f
JK
25582011-04-13 Marek Polacek <mpolacek@redhat.com>
2559
df46027d 2560 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
d26ccb4f
JK
2561 New testcase `expect response to define backtrace'. Also remove
2562 redundant `default' block.
2563
e1ab1f9c
JK
25642011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2565
2566 * gdb.python/py-prettyprint.c (struct hint_error): New.
2567 (main): New variable hint_error.
2568 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
2569 "print hint_error".
2570 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
2571 (register_pretty_printers): Register it.
2572
0c2e6019
TT
25732011-04-04 Tom Tromey <tromey@redhat.com>
2574
2575 * gdb.cp/maint.exp (test_help): Update.
2576 (test_namespace): Likewise.
2577
af57139d
JB
25782011-04-01 Joel Brobecker <brobecker@adacore.com>
2579
2580 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
2581 * gdb.ada/arrayptr.exp: Add new tests.
2582
956a9fb9
JB
25832011-04-01 Joel Brobecker <brobecker@adacore.com>
2584
2585 * gdb.ada/mi_catch_ex: New testcase.
2586
d0c4d642
PA
25872011-04-01 Pedro Alves <pedro@codesourcery.com>
2588
2589 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
2590 base::overload(void) method without specifying "const".
2591
18819fa6
UW
25922011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
2593
2594 * gdb.arch/thumb-singlestep.S: New file.
2595 * gdb.arch/thumb-singlestep.exp: Likewise.
2596
a4c8e806
TT
25972011-03-31 Tom Tromey <tromey@redhat.com>
2598
2599 * gdb.python/py-prettyprint.py (exception_flag): New global.
2600 (NoStringContainerPrinter._iterator.next): Check it.
2601 * gdb.python/py-prettyprint.c (main): New variable nstype2.
2602 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
2603
53832f31
TT
26042011-03-29 Tom Tromey <tromey@redhat.com>
2605
2606 * gdb.cp/anon-struct.cc: New file.
2607 * gdb.cp/anon-struct.exp: New file.
2608
e4620230
JK
26092011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2610
2611 Test STT_GNU_IFUNC support.
2612 * gdb.base/gnu-ifunc-lib.c: New file.
2613 * gdb.base/gnu-ifunc.c: New file.
2614 * gdb.base/gnu-ifunc.exp: New file.
2615
d0fb5eae
JK
26162011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2617
2618 Support a ring of related breakpoints.
2619 * gdb.base/watchpoint-delete.c: New file.
2620 * gdb.base/watchpoint-delete.exp: New file.
2621
20106cfb
JK
26222011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2623
2624 * gdb.ada/arrayparam.exp (print first after function call): Use
2625 explicit package name. Add a comment
2626 (print lasta after function call): Rename ...
2627 (print last after function call): ... it and use explicit package
2628 name.
2629 (print length after function call): Use explicit package name.
2630 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
2631 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
2632 (multiple matches for symbol i): Rename ...
2633 (multiple matches for symbol integervar): ... it.
2634 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
2635 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
2636
e7ab5e63
AB
26372011-03-25 Andrew Burgess <aburgess@broadcom.com>
2638
2639 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
2640 environment variable to make grep output more predictable. Move
2641 all the environment setup into gdb_init so it's done once per test
2642 case rather than each time we start gdb.
2643
9ef07c8c
TT
26442011-03-24 Tom Tromey <tromey@redhat.com>
2645
2646 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
2647 test.
2648
dd90784c
JK
26492011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2650
2651 * gdb.dwarf2/dw2-entry-value-main.c: New file.
2652 * gdb.dwarf2/dw2-entry-value.S: New file.
2653 * gdb.dwarf2/dw2-entry-value.exp: New file.
2654
05775840
PM
26552011-03-22 Phil Muldoon <pmuldoon@redhat.com>
2656
2657 PR python/12183
2658
2659 * gdb.python/py-function.exp: Add GdbError tests.
2660
8661b11b
PA
26612011-03-18 Pedro Alves <pedro@codesourcery.com>
2662
2663 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
2664 (reglocal_test_func, statlocal_test_func): New functions.
2665 (globals_test_func): Call new functions.
2666 * gdb.trace/unavailable.exp (gdb_collect_args_test)
2667 (gdb_collect_locals_test): New procedure.
2668 (gdb_trace_collection_test): Call new procedures.
2669
0fdb4f18
PA
26702011-03-18 Pedro Alves <pedro@codesourcery.com>
2671
2672 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
2673 (test_register, test_register_unavailable): New procedures.
2674 (gdb_unavailable_registers_test): New procedure.
2675 (gdb_trace_collection_test): Call it.
2676
99c3dc11
PM
26772011-03-18 Phil Muldoon <pmuldoon@redhat.com>
2678
2679 PR python/12149
2680
2681 * gdb.python/python.exp: Add gdb.write tests.
2682
29703da4
PM
26832010-03-17 Phil Muldoon <pmuldoon@redhat.com>
2684
2685 * gdb.python/Makefile.in: Add py-objfile.
2686 * gdb.python/py-objfile.exp: New file.
2687 * gdb.python/py-objfile.c: New file.
2688 * gdb.python/py-block.exp: Add is_valid tests.
2689 * gdb.python/py-inferior.exp: Ditto.
2690 * gdb.python/py-infthread.exp: Ditto.
2691 * gdb.python/py-symbol.exp: Ditto.
2692 * gdb.python/py-symtab.exp: Ditto.
2693
598997c8
KS
26942011-03-16 Keith Seitz <keiths@redhat.com>
2695
2696 PR c++/12273
2697 * gdb.cp/cmpd-minsyms.exp: New test.
2698 * gdb.cp/cmpd-minsyms.cc: New file.
2699
2700 PR c++/11734
2701 * gdb.cp/ovsrch.exp: New test.
2702 * gdb.cp/ovsrch.h: New file.
2703 * gdb.cp/ovsrch1.cc: New file.
2704 * gdb.cp/ovsrch2.cc: New file.
2705 * gdb.cp/ovsrch3.cc: New file.
2706 * gdb.cp/ovsrch4.cc: New file.
2707
c91513d8
PP
27082011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
2709
2710 PR gdb/12528
2711 * gdb.base/Makefile.in: Adjust EXECUTABLES.
2712 * gdb.base/break-on-linker-gcd-function.exp: New test.
2713 * gdb.base/break-on-linker-gcd-function.cc: New file.
2714
7470fc63
AT
27152011-03-15 Andreas Tobler <andreast@fgznet.ch>
2716
2717 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
2718
959e7469
PM
27192011-03-15 Phil Muldoon <pmuldoon@redhat.com>
2720
2721 * lib/gdb.exp (gdb_unload): Add another termination case.
2722
9373cf26
JK
27232011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2724
2725 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
2726 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
2727 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
2728 Provide a stub byte there.
2729 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
2730 DW_AT_entry_pc.
2731 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
2732
24e9cda0
UW
27332011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
2734
2735 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
2736 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
2737 "generic ABI, auto".
2738 (altivec_abi_tests): Accept vectors returned by reference.
2739
7371cf6d
PM
27402010-03-14 Phil Muldoon <pmuldoon@redhat.com>
2741
2742 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
2743
ce77046a
UW
27442011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
2745
2746 * gdb.python/py-section-script.exp: Skip test if no Python support.
2747
176400c3
UW
27482011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
2749
2750 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
2751
ecec24e6
PM
27522011-03-10 Phil Muldoon <pmuldoon@redhat.com>
2753
2754 * gdb.python/py-parameter.exp: Update tests to the new Python
2755 parameter API. Add "no documentation" test. Add deprecated API
2756 backward compatibility test.
2757
5dbdd470
TT
27582011-03-09 Tom Tromey <tromey@redhat.com>
2759
2760 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
2761 gdb_continue_to_end.
2762
b66e66ee
MK
27632011-03-09 Mark Kettenis <kettenis@gnu.org>
2764
2765 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
2766 tabs.
2767
eceb0c5f
TT
27682011-03-09 Tom Tromey <tromey@redhat.com>
2769
2770 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
2771 parentheses.
2772 (gdb_continue_to_end): Add "allow_extra" parameter. Use
2773 $command.
2774 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
2775 argument to gdb_continue_to_end.
2776 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
2777 argument to gdb_continue_to_end.
2778 * gdb.cp/annota3.exp: Fix regex.
2779 * gdb.cp/annota2.exp: Fix regex.
2780 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
2781 gdb_continue_to_end.
2782 * gdb.base/call-signal-resume.exp: Revert earlier patch.
2783 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
2784 gdb_continue_to_end.
2785
63154eca
PA
27862011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2787
2788 * gdb.server/ext-run.exp
2789 (load new file without any gdbserver inferior): New test.
2790
967d1f9b
TT
27912011-03-07 Tom Tromey <tromey@redhat.com>
2792
2793 * Makefile.in (TAGS): Rewrite.
2794
d68dcbb9
JK
27952011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2796
2797 * gdb.trace/report.exp (12.1: trace report #1): New match for the
2798 initial commands echo. New match for `Found trace'. Anchor all the
2799 other matches. Anchor and match for `No trace frame found' the final
2800 match.
2801
6bf58e63
TT
28022011-03-07 Tom Tromey <tromey@redhat.com>
2803
2804 * Makefile.in (TAGS): New target.
2805
fda326dd
TT
28062011-03-07 Tom Tromey <tromey@redhat.com>
2807
2808 * lib/opencl.exp (skip_opencl_tests): Update for exit message
2809 change.
2810 * lib/mi-support.exp (mi_gdb_test): Update for exit message
2811 change.
2812 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
2813 exit message change.
2814 (skip_altivec_tests): Update for exit message change.
2815 (skip_vsx_tests): Likewise.
2816 (gdb_continue_to_end): Likewise. Add 'command' argument.
2817 * lib/cell.exp (skip_cell_tests): Update for exit message change.
2818 * gdb.threads/tls.exp: Update for exit message change.
2819 * gdb.threads/thread-unwindonsignal.exp: Use
2820 gdb_continue_to_end.
2821 * gdb.threads/step.exp (step_it): Update for exit message change.
2822 (continue_all): Likewise.
2823 * gdb.threads/print-threads.exp (test_all_threads): Update for
2824 exit message change.
2825 * gdb.threads/interrupted-hand-call.exp: Use
2826 gdb_continue_to_end.
2827 * gdb.threads/execl.exp: Use gdb_continue_to_end.
2828 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
2829 gdb_continue_to_end.
2830 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
2831 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
2832 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
2833 * gdb.cp/method.exp: Update for exit message change.
2834 * gdb.cp/mb-templates.exp: Update for exit message change.
2835 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
2836 * gdb.cp/annota3.exp: Update for exit message change.
2837 * gdb.cp/annota2.exp: Update for exit message change.
2838 * gdb.cell/fork.exp: Use gdb_continue_to_end.
2839 * gdb.base/term.exp: Update for exit message change.
2840 * gdb.base/step-test.exp (test_i): Update for exit message change.
2841 * gdb.base/sigstep.exp (advance): Update for exit message change.
2842 (advancei): Likewise.
2843 * gdb.base/siginfo.exp: Update for exit message change.
2844 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
2845 * gdb.base/reread.exp: Use gdb_continue_to_end.
2846 * gdb.base/langs.exp: Use gdb_continue_to_end.
2847 * gdb.base/interrupt.exp: Update for exit message change.
2848 * gdb.base/gdb1555.exp: Update for exit message change.
2849 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
2850 * gdb.base/ending-run.exp: Update for exit message change.
2851 * gdb.base/chng-syms.exp: Update for exit message change.
2852 * gdb.base/checkpoint.exp: Update for exit message change.
2853 * gdb.base/catch-syscall.exp (check_for_program_end): Use
2854 gdb_continue_to_end.
2855 (test_catch_syscall_with_wrong_args): Likewise.
2856 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
2857 * gdb.base/break-interp.exp (test_ld): Update for exit message
2858 change.
2859 * gdb.base/bang.exp: Update for exit message change.
2860 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
2861 (do_call_attach_tests): Likewise.
2862 * gdb.base/a2-run.exp: Update for exit message change.
2863 * gdb.arch/ppc-dfp.exp: Update for exit message change.
2864 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
2865 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
2866
dd19bd70
JK
28672011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2868
2869 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
2870
30e62689
TT
28712011-03-03 Tom Tromey <tromey@redhat.com>
2872
2873 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
2874 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
2875 * gdb.hp/gdb.aCC/configure.ac: Remove.
2876 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
2877 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
2878 * gdb.hp/gdb.base-hp/configure.ac: Remove.
2879 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
2880 * gdb.hp/gdb.compat/configure (Makefile): Remove.
2881 * gdb.hp/gdb.compat/configure.ac: Remove.
2882 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
2883 * gdb.hp/gdb.defects/configure (Makefile): Remove.
2884 * gdb.hp/gdb.defects/configure.ac: Remove.
2885 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
2886 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
2887 * gdb.hp/gdb.objdbg/configure.ac: Remove.
2888 * gdb.hp/configure.ac: Remove.
2889 * gdb.hp/configure: Remove.
2890 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
2891 substitution.
2892 (Makefile): Remove rule.
2893 * gdb.cell/configure.ac: Remove.
2894 * gdb.cell/configure: Remove.
2895 * gdb.stabs/Makefile.in (Makefile): Remove.
2896 (distclean): Don't remove config.status or config.log.
2897 * gdb.stabs/configure (Makefile): Remove.
2898 * gdb.stabs/configure.ac: Remove.
2899 * configure: Rebuild.
2900 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
2901 Remove stabs- and cell-specific logic. Test for existence of
2902 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
2903 subdirectories, gdb.cell, and and gdb.stabs.
2904 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
2905
c171f854
JB
29062011-03-03 Joel Brobecker <brobecker@adacore.com>
2907
2908 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
2909 end of buffer.
2910
9a5193cb
JB
29112011-03-02 Joel Brobecker <brobecker@adacore.com>
2912
2913 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
2914 gdb_test when running a test where we expected no output back.
2915
9bb4c1bb
MS
29162011-02-28 Michael Snyder <msnyder@vmware.com>
2917
2918 * gdb.cp/overload.cc: Change initializer value to integer.
2919
3bd0f5ef
MS
29202011-02-27 Michael Snyder <msnyder@vmware.com>
2921
2922 * gdb.multi/base.exp: Add test for remove-inferiors.
2923
2279eaad
JB
29242011-02-26 Joel Brobecker <brobecker@adacore.com>
2925
2926 * gdb.python/py-frame.exp: Simplify the initialization phase
2927 using prepare_for_testing.
2928
c82c0b55
MS
29292011-02-25 Michael Snyder <msnyder@vmware.com>
2930
2931 * gdb.multi/base.exp: Add tests for info inferiors with args.
2932
1d94651b
JK
29332011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2934
2935 * gdb.dwarf2/dw2-ranges.S: Rename to ...
2936 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
2937 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
2938 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
2939 asmfile3. Comment the STABS (#3) file compilation. Compile
2940 everything through assembler. Provide KFAIL for symtab/12497.
2941 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
2942 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
2943 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
2944 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
2945
3bd0f5ef
MS
29462011-02-24 Michael Snyder <msnyder@vmware.com>
2947
2948 * gdb.base/break.exp: Add tests for delete breakpoints using
2949 convenience variables and value history references.
2950
12c1418e
MS
29512011-02-24 Michael Snyder <msnyder@vmware.com>
2952
2953 * gdb.base/break.exp: Remove debugging 'printf' accidentally
2954 left behind in previous check-in.
2955
e5a67952
MS
29562011-02-23 Michael Snyder <msnyder@vmware.com>
2957
2958 * gdb.base/break.exp: Add tests for "info break" with arguments.
2959 * gdb.trace/infotrace.exp: Update patterns for error and help.
2960 * gdb.base/completion.exp: Update pattern.
2961 * gdb.base/ena-dis-br.exp: Update pattern.
2962 * gdb.base/help.exp: Update patterns.
2963
29642011-02-23 Michael Snyder <msnyder@vmware.com>
fbcb778d
MS
2965
2966 * gdb.base/memattr.exp: New test.
2967 * gdb.base/memattr.c: Test load for memattr.exp.
2968
6e6fbe60
DE
29692011-02-22 Doug Evans <dje@google.com>
2970
2971 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
2972
1d41d745
MS
29732011-02-22 Michael Snyder <msnyder@vmware.com>
2974
2975 * Makefile.in: Make more clean.
2976 * gdb.ada/Makefile.in: Ditto.
2977 * gdb.arch/Makefile.in: Ditto.
2978 * gdb.asm/Makefile.in: Ditto.
2979 * gdb.base/Makefile.in: Ditto.
2980 * gdb.cp/Makefile.in: Ditto.
2981 * gdb.dwarf2/Makefile.in: Ditto.
2982 * gdb.java/Makefile.in: Ditto.
2983 * gdb.mi/Makefile.in: Ditto.
2984 * gdb.modula2/Makefile.in: Ditto.
2985 * gdb.python/Makefile.in: Ditto.
2986 * gdb.server/Makefile.in: Ditto.
2987 * gdb.stabs/Makefile.in: Ditto.
2988 * gdb.threads/Makefile.in: Ditto.
2989 * gdb.trace/Makefile.in: Ditto.
2990
79ba84ca
MS
29912011-02-22 Michael Snyder <msnyder@vmware.com>
2992
df46027d 2993 * gdb.threads/thread-find.exp: Add tests for bad input to
79ba84ca
MS
2994 info threads.
2995
b9b35694
JB
29962011-02-22 Joel Brobecker <brobecker@adacore.com>
2997
2998 * gdb.python/py-breakpoint.exp: Fix the expected output of
2999 one of the "maint info breakpoints" tests to accept the output
3000 generated on platforms that do not have hardware watchpoints.
3001
8bfb830f
JB
30022011-02-22 Joel Brobecker <brobecker@adacore.com>
3003
3004 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
3005 clean_restart. Be a little stricter in the expected output
3006 for one of the tests. Fix a typo in one of the comments.
3007
c45f3c54
JB
30082011-02-22 Joel Brobecker <brobecker@adacore.com>
3009
3010 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
3011 Delete variable binfile, no longer use. Add or modify test
3012 comments to make them unique.
3013
b97c863c
MS
30142011-02-21 Michael Snyder <msnyder@vmware.com>
3015
3016 * Makefile.in: Update for make clean.
3017 * gdb.ada/Makefile.in: Ditto.
3018 * gdb.arch/Makefile.in: Ditto.
3019 * gdb.asm/Makefile.in: Ditto.
3020 * gdb.base/Makefile.in: Ditto.
3021 * gdb.cp/Makefile.in: Ditto.
3022 * gdb.dwarf2/Makefile.in: Ditto.
3023 * gdb.java/Makefile.in: Ditto.
3024 * gdb.mi/Makefile.in: Ditto.
3025 * gdb.modula2/Makefile.in: Ditto.
3026 * gdb.python/Makefile.in: Ditto.
3027 * gdb.server/Makefile.in: Ditto.
3028 * gdb.stabs/Makefile.in: Ditto.
3029 * gdb.threads/Makefile.in: Ditto.
3030 * gdb.trace/Makefile.in: Ditto.
3031
aea5b279
MS
30322011-02-21 Michael Snyder <msnyder@vmware.com>
3033
3034 * gdb.threads/thread-find.exp: Update patterns for changes in
3035 output of "info threads" command.
3036
e3039479
UW
30372011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
3038 Ulrich Weigand <uweigand@de.ibm.com>
3039
3040 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
3041 (skip_hw_watchpoint_tests): Likewise.
3042 (skip_hw_watchpoint_multi_tests): Likewise.
3043
b800ec70
UW
30442011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
3045
3046 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
3047 (skip_hw_watchpoint_tests): Likewise.
3048 (skip_hw_watchpoint_multi_tests): Likewise.
3049 (skip_hw_watchpoint_access_tests): Likewise.
3050
3051 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
3052 * gdb.base/pr11022.exp: Likewise.
3053 * gdb.base/watch-read.exp: Likewise.
3054 * gdb.base/watch_thread_num.exp: Likewise.
3055 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
3056 * gdb.base/watchpoint-hw.exp: Likewise.
3057 * gdb.base/watchpoint.exp: Likewise.
3058 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
3059 * gdb.threads/watchthreads-reorder.exp: Likewise.
3060 * gdb.threads/watchthreads.exp: Likewise.
3061 * gdb.threads/watchthreads2.exp: Likewise.
3062
91033e37
JB
30632011-02-21 Joel Brobecker <brobecker@adacore.com>
3064
3065 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
3066 the debugger is unable to find the array bounds.
3067
eeaafae2
JK
30682011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3069
3070 * gdb.cp/typedef-operator.exp: New file.
3071 * gdb.cp/typedef-operator.cc: New file.
3072
e338d953
MS
30732011-02-17 Michael Snyder <msnyder@vmware.com>
3074
3075 * gdb.threads/thread-find.exp: Fix regular expressions.
3076
e67ad678
JB
30772011-02-17 Joel Brobecker <brobecker@adacore.com>
3078
3079 * gdb.ada/packed_array: Expand testcase to test printing of
3080 unconstrained packed array.
3081
93084bca
JB
30822011-02-17 Joel Brobecker <brobecker@adacore.com>
3083
3084 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
3085
a0c78a73
PA
30862011-02-16 Pedro Alves <pedro@codesourcery.com>
3087
f65d5553 3088 * gdb.trace/collection.c (globalarr3): New global.
a0c78a73
PA
3089 (main): Initialize it before collecting, and and clear it
3090 afterwards.
f65d5553
PA
3091 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
3092 collecting with '{type} addr', where the addr expression is not an
3093 rvalue.
a0c78a73 3094
3dfcbbd2
KW
30952011-02-16 Ken Werner <ken.werner@de.ibm.com>
3096
3097 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
3098 a bool variable. Expect correct OpenCL names for vector types. Use the
3099 uc3 variable name instead of referring to the uchar3 built-in type.
3100 Escape the asterisk at the half pointer test.
3101
08807d5a
PA
31022011-02-16 Pedro Alves <pedro@codesourcery.com>
3103
f65d5553 3104 * gdb.trace/collection.c (globalarr2): New global.
08807d5a
PA
3105 (main): Initialize it before collecting, and and clear it
3106 afterwards.
f65d5553
PA
3107 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
3108 collecting overlapping memory ranges.
08807d5a 3109
60f98dde
MS
31102011-02-15 Michael Snyder <msnyder@vmware.com>
3111
3112 * gdb.base/default.exp: Add tests for thread commands.
3113 * gdb.base/help.exp: Add tests for thread commands.
3114 * gdb.threads/thread-find.exp: New test for thread find command.
3115
648cd113
KW
31162011-02-15 Ken Werner <ken.werner@de.ibm.com>
3117
3118 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
3119
494e194e
YQ
31202011-02-15 Yao Qi <yao@codesourcery.com>
3121
3122 PR tdep/12352
3123 * gdb.arch/arm-disp-step.S : New test for str instruction.
3124 * gdb.arch/arm-disp-step.exp : Likewise.
3125
d9492458
TJB
31262011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
3127
3128 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
3129 "vector_register2_vr" test strings. Test the extended floating
3130 point registers (F32~F63).
3131 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
3132 IBM XL C compiler. Make the test program use a register provided
3133 by the compiler for the lxvd2x instruction.
3134
8af8e3bc
PA
31352011-02-14 Pedro Alves <pedro@codesourcery.com>
3136
3137 * gdb.trace/unavailable.cc (class Base, class Middle, class
3138 Derived): New types.
3139 (derived_unavail, derived_partial, derived_whole): New globals.
3140 (virtual_partial): New global.
3141 (virtualp): Point at virtual_partial.
3142 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
3143 related to unavailable vptr.
3144
1b28d0b3
PA
31452011-02-14 Pedro Alves <pedro@codesourcery.com>
3146
3147 * gdb.trace/unavailable.cc (a, b, c): New globals.
3148 (main): Set and clear them.
3149 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
3150 `a' and `c', and check that `b' isn't collected, although `a' and
3151 `c' are.
3152
ec0a52e1
PA
31532011-02-14 Pedro Alves <pedro@codesourcery.com>
3154
3155 * gdb.trace/unavailable.cc (struct Virtual): New.
3156 (virtualp): New global pointer.
3157 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
3158 printing a pointer to an object whose type has a vtable, with
3159 print object on.
3160
24e6bcee
PA
31612011-02-14 Pedro Alves <pedro@codesourcery.com>
3162
3163 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
3164 value repeat handles unavailableness.
3165
39d37385
PA
31662011-02-14 Pedro Alves <pedro@codesourcery.com>
3167
3168 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
3169 tests for building arrays from unavailable values, subscripting
3170 non-memory rvalue unvailable arrays, and accessing fields or
3171 baseclasses of non-lazy unavailable values,
3172 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
3173 struct types.
3174 (g_smallstruct, g_smallstruct_b): New globals.
3175
06d72e16
PA
31762011-02-14 Pedro Alves <pedro@codesourcery.com>
3177
3178 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
3179
bc9a5551
JK
31802011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3181
3182 Fix const/volatile qualifiers of C++ types, PR c++/12328.
3183 * gdb.cp/overload-const.exp: New file.
3184 * gdb.cp/overload-const.cc: New file.
3185
54fcddd0
UW
31862011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
3187
3188 * gdb.opencl/callfuncs.cl: New file.
3189 * gdb.opencl/callfuncs.exp: New test.
3190 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
3191
d6dafb7c
UW
31922011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
3193
3194 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
3195 when computing result.
3196 * gdb.arch/altivec-abi.exp: Update expected results.
3197
a449c2d8
TJB
31982011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
3199
3200 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
3201 * gdb.base/jit.exp: Likewise.
3202 * gdb.base/pie-execl.exp: Likewise.
3203 * gdb.base/solib-nodir.exp: Likewise.
3204 * gdb.base/solib-overlap.exp: Likewise.
3205
764880b7
PA
32062011-02-07 Pedro Alves <pedro@codesourcery.com>
3207
3208 * gdb.trace/collection.c (global_pieces): New.
3209 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
3210 New procedure.
3211 (gdb_trace_collection_test): Call it.
3212
505500db
SW
32132011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
3214
3215 * gdb.python/py-evthreads.c: New file.
3216 * gdb.python/py-evthreads.exp: New file.
3217 * gdb.python/py-events.py: New file.
3218 * gdb.python/py-events.exp: New file.
3219 * gdb.python/py-events.c: New file.
3220
385203ed
DD
32212011-02-04 David Daney <ddaney@caviumnetworks.com>
3222
3223 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
3224
9011945e
AB
32252011-02-03 Andrew Burgess <aburgess@broadcom.com>
3226
3227 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
3228 gdb.base/disasm-end-cu.exp: New test for disassembling over the
3229 boundary between two compilation units.
3230
580688f3
PA
32312011-02-02 Pedro Alves <pedro@codesourcery.com>
3232
3233 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
3234 (Virtual): New structs.
3235 (virtual_o, virtual_middle_b): New globals.
3236 * gdb.cp/virtbase.exp: New tests.
3237
d3f0f853
PP
32382011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3239
3240 * gdb.base/jit.exp: New file.
3241 * gdb.base/jit-main.c: New file.
3242 * gdb.base/jit-solib.c: New file.
3243
b2030fb5
UW
32442011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
3245
3246 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
3247 proceed to initial kernel entry point.
3248 * gdb.opencl/datatypes.exp: Likewise.
3249 * gdb.opencl/operators.exp: Likewise.
3250 * gdb.opencl/vec_comps.exp: Likewise.
3251
2db19d1e
SW
32522011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
3253
3254 * gdb.cp/nsnested.cc: New.
3255 * gdb.cp/nsnested.exp: New.
3256 * gdb.cp/nsnoimports.exp: New.
3257 * gdb.cp/nsnoimports.cc: New.
3258
6b0c4c1f
JB
32592011-01-31 Joel Brobecker <brobecker@adacore.com>
3260
3261 * gdb.base/interact.exp: Add extra tests that verify that
3262 the value of the interactive-mode setting does not change
3263 after the script is sourced.
3264
80b23b6a
JK
32652011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3266
3267 * gdb.cp/noparam.exp: New file.
3268 * gdb.cp/noparam.cc: New file.
3269
ffd5ec24
PA
32702011-01-28 Pedro Alves <pedro@codesourcery.com>
3271
3272 * gdb.trace/tfile.exp: Test that with no traceframe selected,
3273 there's no stack or registers.
3274
a81766d8
TT
32752011-01-26 Tom Tromey <tromey@redhat.com>
3276
3277 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
3278 space before string output. Add test for "set print pretty off"
3279 case.
3280
585fdaa1
PA
32812011-01-25 Pedro Alves <pedro@codesourcery.com>
3282
3283 * gdb.base/frame-args.exp: Adjust.
3284 * gdb.dwarf2/dw2-noloc.exp: Adjust.
3285 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
3286 * gdb.dwarf2/pieces.exp: Adjust.
3287 * gdb.opt/clobbered-registers-O2.exp: Adjust.
3288 * gdb.opt/inline-locals.exp: Adjust.
3289 * gdb.threads/fork-child-threads.exp: Adjust.
3290
d468832a
KW
32912011-01-25 Ken Werner <ken.werner@de.ibm.com>
3292
3293 * gdb.opencl/convs_casts.cl: Move program scope variables into the
3294 OpenCL kernel function. Add a comment as marker. Add address space
3295 qualifiers for the remaining program scope variables.
3296 * gdb.opencl/datatypes.cl: Likewise.
3297 * gdb.opencl/operators.cl: Likewise.
3298 * gdb.opencl/vec_comps.cl: Likewise.
3299 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
3300 Add breakpoint at the marker comment.
3301 * gdb.opencl/datatypes.exp: Likewise.
3302 * gdb.opencl/operators.exp: Likewise.
3303 * gdb.opencl/vec_comps.exp: Likewise.
3304
490f124f
PA
33052011-01-24 Pedro Alves <pedro@codesourcery.com>
3306
3307 * gdb.base/printcmds.c (some_struct): New struct and instance.
3308 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
3309 procedure.
3310 <global scope>: Call it.
3311
6da78614
KW
33122011-01-21 Ken Werner <ken.werner@de.ibm.com>
3313
3314 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
3315 argument to the gdb_compile_opencl_hostapp call.
3316
ec64c9aa
YQ
33172011-01-19 Yao Qi <yao@codesourcery.com>
3318
3319 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
3320 positve list.
3321
810cfdbb
YQ
33222011-01-19 Yao Qi <yao@codesourcery.com>
3323
3324 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
3325 canonical form.
3326 Remove "xscale-*-*"
3327 * gdb.xml/tdesc-regs.exp: Likewise.
3328 * gdb.python/py-section-script.exp: Replace ARM target triplet
3329 with canonical form.
3330 Match arm*-*-symbianelf*.
3331 * gdb.base/dup-sect.exp: Likewise.
3332 * lib/dwarf.exp: New.
3333 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
3334 dwarf2_support.
3335 * gdb.dwarf2/dup-psym.exp: Likewise.
3336 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
3337 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3338 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
3339 * gdb.dwarf2/dw2-basic.exp: Likewise.
3340 * gdb.dwarf2/dw2-compressed.exp: Likewise.
3341 * gdb.dwarf2/dw2-const.exp: Likewise.
3342 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
3343 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
3344 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3345 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
3346 * gdb.dwarf2/dw2-filename.exp: Likewise.
3347 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3348 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
3349 * gdb.dwarf2/dw2-intercu.exp: Likewise.
3350 * gdb.dwarf2/dw2-intermix.exp: Likewise.
3351 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
3352 * gdb.dwarf2/dw2-noloc.exp: Likewise.
3353 * gdb.dwarf2/dw2-op-call.exp: Likewise.
3354 * gdb.dwarf2/dw2-producer.exp: Likewise.
3355 * gdb.dwarf2/dw2-ranges.exp: Likewise.
3356 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
3357 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
3358 * gdb.dwarf2/dw2-strp.exp: Likewise.
3359 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
3360 * gdb.dwarf2/implptr.exp: Likewise.
3361 * gdb.dwarf2/mac-fileno.exp: Likewise.
3362 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
3363 * gdb.dwarf2/pieces.exp: Likewise.
3364 * gdb.dwarf2/pr11465.exp: Likewise.
3365 * gdb.dwarf2/valop.exp: Likewise.
3366 * gdb.dwarf2/watch-notconst.exp: Likewise.
3367 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
3368
4694da01
TT
33692011-01-19 Tom Tromey <tromey@redhat.com>
3370
3371 * gdb.python/py-infthread.exp: Add thread tests.
3372
b075872c
JB
33732011-01-14 Joel Brobecker <brobecker@adacore.com>
3374
3375 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
3376
2c3e6e24
JB
33772011-01-14 Joel Brobecker <brobecker@adacore.com>
3378
3379 * gdb.ada/widewide: New testcase.
3380
de8fa76c
JB
33812011-01-13 Joel Brobecker <brobecker@adacore.com>
3382
3383 * gdb.base/interact.exp: New testcase.
3384
1b05df00
TT
33852011-01-12 Tom Tromey <tromey@redhat.com>
3386
3387 * gdb.mi/gdb2549.exp: Update for error message changes.
3388 * gdb.mi/mi-cli.exp: Likewise.
3389 * gdb.mi/mi-disassemble.exp: Likewise.
3390 * gdb.mi/mi-pthreads.exp: Likewise.
3391 * gdb.mi/mi-regs.exp: Likewise.
3392 * gdb.mi/mi-stack.exp: Likewise.
3393 * gdb.mi/mi-var-block.exp: Likewise.
3394 * gdb.mi/mi-var-cmd.exp: Likewise.
3395 * gdb.mi/mi2-cli.exp: Likewise.
3396 * gdb.mi/mi2-disassemble.exp: Likewise.
3397 * gdb.mi/mi2-pthreads.exp: Likewise.
3398 * gdb.mi/mi2-regs.exp: Likewise.
3399 * gdb.mi/mi2-stack.exp: Likewise.
3400 * gdb.mi/mi2-var-block.exp: Likewise.
3401 * gdb.mi/mi2-var-cmd.exp: Likewise.
3402
c2ff108b
JK
34032011-01-12 Andrew Burgess <aburgess@broadcom.com>
3404 Jan Kratochvil <jan.kratochvil@redhat.com>
3405
3406 PR fortran/11104 and DWARF unbound arrays detection.
3407 * gdb.fortran/multi-dim.exp: New file.
3408 * gdb.fortran/multi-dim.f90: New file.
3409
b716877b
AB
34102011-01-12 Andrew Burgess <aburgess@broadcom.com>
3411
3412 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
3413 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
3414 add new tests for opcode dumping.
3415
6c162d5e
TT
34162011-01-11 Tom Tromey <tromey@redhat.com>
3417
3418 * gdb.python/py-infthread.exp: Load gdb-python.exp.
3419
77b06cd7
TJB
34202010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
3421
3422 Convert hardware watchpoints to use breakpoint_ops.
3423 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
3424 type is not supported.
3425 * gdb.base/foll-fork.exp: Likewise.
3426 * gdb.base/foll-vfork.exp: Likewise.
3427
f39a75d0
PM
34282011-01-10 Phil Muldoon <pmuldoon@redhat.com>
3429
3430 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
3431 Use load_lib gdb-python.exp.
3432 * gdb.python/python.exp: Ditto.
3433 * gdb.python/py-function.exp: Ditto.
3434
fc529d80
AS
34352011-01-09 Andreas Schwab <schwab@linux-m68k.org>
3436
3437 * gdb.threads/tls.exp ("info address me"): Fix expected output.
3438
fb03cb59
JK
34392011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3440
3441 * configure: Regenerate.
3442
d8e22779
TT
34432011-01-06 Tom Tromey <tromey@redhat.com>
3444
3445 * gdb.python/py-frame.exp: Test gdb.newest_frame.
3446
09050809
JB
34472011-01-06 Joel Brobecker <brobecker@adacore.com>
3448
fc529d80
AS
3449 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
3450 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
3451 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
3452 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
3453 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
3454 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
3455 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
3456 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
3457 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
3458 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
3459 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
3460 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
3461 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
3462 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
3463 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
3464 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
3465 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
3466 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
3467 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
3468 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
3469 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
3470 gdb.ada/uninitialized_vars.exp,
3471 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
3472 Simplify by using clean_restart.
09050809 3473
8ed5dd9e
JB
34742011-01-06 Joel Brobecker <brobecker@adacore.com>
3475
3476 Add marker to be used as anchor for inserting breakpoints.
3477 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
3478 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
3479 Likewise.
3480
3481 Remove uses of gdb_start_cmd.
3482 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
3483 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
3484
3485 Do not run testcase if testing with GDBserver.
3486 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
3487 if testing with GDBserver.
3488
368a124f
JB
34892011-01-06 Joel Brobecker <brobecker@adacore.com>
3490
3491 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
3492 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
3493 copyright header.
3494
44944448
JB
34952011-01-05 Joel Brobecker <brobecker@adacore.com>
3496
3497 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
3498 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
3499 testsuite/gdb.fortran/complex.f,
3500 testsuite/gdb.fortran/derived-type.f90,
3501 testsuite/gdb.fortran/library-module-lib.f90,
3502 testsuite/gdb.fortran/library-module-main.f90,
3503 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
3504 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
3505 Copyright year update.
3506
31886ea6
JB
35072011-01-05 Joel Brobecker <brobecker@adacore.com>
3508
3509 * gdb.base/langs1.f: Add copyright header.
3510
ebedcab5
JK
35112011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3512
3513 * gdb.base/morestack.exp: New file.
3514 * gdb.base/morestack.c: New file.
3515
de1eb2f9
JK
35162011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3517
3518 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
3519
9e87a409
JB
35202010-12-29 Joel Brobecker <brobecker@adacore.com>
3521
3522 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
3523 * gdb.ada/arrayptr.exp: Add test printing that new variable.
3524
720d1a40
JB
35252010-12-29 Joel Brobecker <brobecker@adacore.com>
3526
3527 * gdb.ada/lang_switch.exp: Correct expected parameter value.
3528
a283af87
AS
35292010-12-25 Andreas Schwab <schwab@linux-m68k.org>
3530
5d3d9cba
AS
3531 * gdb.threads/tls.exp: Fix typo.
3532
a283af87
AS
3533 * gdb.threads/thread-specific.exp (get_thread_list): Update.
3534 * gdb.threads/execl.exp: Update.
3535
2a20745c
YQ
35362010-12-23 Yao Qi <yao@codesourcery.com>
3537
3538 * gdb.arch/arm-disp-step.exp: New.
3539 * gdb.arch/arm-disp-step.S: New.
3540
a7658b96
TT
35412010-12-21 Tom Tromey <tromey@redhat.com>
3542
3543 * gdb.threads/execl.exp: Update.
3544 * gdb.threads/linux-dp.exp: Update.
3545 * gdb.threads/manythreads.exp: Update.
3546 * gdb.threads/tls.exp: Update.
3547
5b79abe7
TT
35482010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3549
3550 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
3551 (NextOverThrowDerivates) <resumebpt>: New.
3552 (resumebpt_test): New.
3553 (main): Call resumebpt_test.
3554 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
3555
0914bcdb
SS
35562010-12-12 Stan Shebs <stan@codesourcery.com>
3557
3558 * gdb.trace/tsv.exp: Test print command on trace state variables.
3559
305aeedc
TT
35602010-12-09 Tom Tromey <tromey@redhat.com>
3561
3562 * gdb.base/interp.exp: Add regression test.
3563
186c406b
TT
35642010-12-09 Tom Tromey <tromey@redhat.com>
3565
3566 * gdb.java/jnpe.java: New file.
3567 * gdb.java/jnpe.exp: New file.
3568 * gdb.cp/nextoverthrow.exp: New file.
3569 * gdb.cp/nextoverthrow.cc: New file.
3570
aae1c79a
DE
35712010-12-07 Doug Evans <dje@google.com>
3572
3573 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
3574 of data-directory.
3575 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
3576 updated.
3577 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
3578
60f98dde 35792010-11-29 Michael Snyder <msnyder@vmware.com>
d426f7b4
MS
3580
3581 * gdb.base/callfuncs.exp: Test for skip_float_tests.
3582 * gdb.base/call-sc.exp: Ditto.
3583 * gdb.base/finish.exp: Ditto.
3584 * gdb.base/return.exp: Ditto.
3585 * gdb.base/return2.exp: Ditto.
3586
5fa290c1
DE
35872010-11-30 Doug Evans <dje@google.com>
3588
3589 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
3590 (gdb_expect_list): Fix spelling errors in comments.
3591 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
3592 send_gdb/gdb_expect_list where applicable.
3593 * gdb.base/call-ar-st.exp: Ditto.
3594 * gdb.base/funcargs.exp: Ditto.
3595 * gdb.base/gcore.exp: Ditto.
3596 * gdb.base/page.exp: Ditto.
3597 * gdb.base/sigaltstack.exp: Ditto.
3598 * gdb.base/siginfo.exp: Ditto.
3599 * gdb.base/sigstep.exp: Ditto.
3600 * gdb.base/trace-commands.exp: Ditto.
3601
4e04c971
DE
36022010-11-29 Doug Evans <dje@google.com>
3603
3604 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
3605 printer-name;subprinter-name.
3606
8cf6f0b1
TT
36072010-11-29 Tom Tromey <tromey@redhat.com>
3608
3609 * gdb.dwarf2/implptr.exp: New file.
3610 * gdb.dwarf2/implptr.c: New file.
3611 * gdb.dwarf2/implptr.S: New file.
3612
94b6973e
PM
36132010-11-29 Phil Muldoon <pmuldoon@redhat.com>
3614
fc529d80 3615 PR python/12199
94b6973e
PM
3616
3617 * gdb.python/py-breakpoint.exp: Test the delete method.
3618
8358c15c
JK
36192010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3620
3621 Fix step_resume_breakpoint unsaved during an infcall.
3622 * gdb.base/step-resume-infcall.exp: New file.
3623 * gdb.base/step-resume-infcall.c: New file.
3624
f6df29bc
TJB
36252010-11-24 Edjunior Machado <emachado@br.ibm.com>
3626
3627 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
3628
f2b5a5cf
TJB
36292010-11-24 Edjunior Machado <emachado@br.ibm.com>
3630
3631 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
3632 on ppc64's symbols; "finish" and "return" commands must accept to
3633 show the caller line again as well as the line after.
3634 * gdb.asm/powerpc64.inc: New file.
3635
6b0ecdc2
DE
36362010-11-23 Doug Evans <dje@google.com>
3637
3638 * lib/gdb.exp (gdb_test_sequence): New function.
3639 (gdb_expect_list): Add verbose -log call for each pattern.
3640 * gdb.base/signals.exp (test_handle_all_print): Call it.
3641 Reduce timeout increment from 6 minutes to 1 minute.
3642 * gdb.server/ext-run.exp: Call it.
3643
ea976c60
PM
36442010-11-23 Phil Muldoon <pmuldoon@redhat.com>
3645
f2b5a5cf 3646 PR python/12212
ea976c60
PM
3647
3648 * gdb.python/python.exp: Check that selected_thread raises an
3649 error when no inferior is loaded.
3650
c0efa795
JK
36512010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3652
3653 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
3654 * gdb.dwarf2/dw2-stack-boundary.S: New file.
3655
ec3aa567
JK
36562010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3657
3658 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
3659 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
3660
d8249011
DE
36612010-11-18 Doug Evans <dje@google.com>
3662
3663 * gdb.server/ext-run.exp: Fix intermittent failures.
3664
d4eba7d1
NF
36652010-11-12 Nathan Froyd <froydnj@codesourcery.com>
3666
3667 * gdb.stabs/gdb11479.exp: Use runto_main.
3668
b04c2f88
NF
36692010-11-12 Nathan Froyd <froydnj@codesourcery.com>
3670
3671 * gdb.base/break-entry.exp: Skip if using a stub.
3672
ae9d7ce4
NF
36732010-11-12 Nathan Froyd <froydnj@codesourcery.com>
3674
3675 * gdb.python/py-inferior.exp: Pack values in target endianness.
3676
621c8364
TT
36772010-11-12 Tom Tromey <tromey@redhat.com>
3678
3679 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
3680 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
3681 MemoryError.
3682 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
3683 type.
3684 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
3685 MemoryError.
3686 (test_subscript_regression): Update exception type.
3687
84f4c1fe
PM
36882010-11-11 Phil Muldoon <pmuldoon@redhat.com>
3689
3690 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
3691 breakpoint tests.
3692
a1442452
PA
36932010-11-09 Pedro Alves <pedro@codesourcery.com>
3694
3695 * gdb.base/watchpoint.exp: Test "watch -location" with an
3696 innacessible location.
3697
efd11a33
JK
36982010-11-09 Edjunior Machado <emachado@br.ibm.com>
3699 Luis Machado <luisgpm@br.ibm.com>
3700
3701 * gdb.base/maint.exp: Expect "." prefix.
3702 * gdb.base/nodebug.exp: Expect "." Likewise.
3703 * gdb.base/sepsymtab.exp: Expect "." Likewise.
3704 * gdb.base/watchpoint-cond-gone.exp: Likewise.
3705 * gdb.base/watchpoint.exp: Expect a software watch to be created for
3706 POWER server processors.
3707
aa00efb5
JK
37082010-11-08 Edjunior Machado <emachado@br.ibm.com>
3709 Luis Machado <luisgpm@br.ibm.com>
3710
3711 * gdb.base/break-entry.exp: convert entry point for
3712 ppc64 and expect leading `.' on ppc64's symbols
3713
99e7ae30
DE
37142010-11-05 Doug Evans <dje@google.com>
3715
3716 * gdb.base/help.exp: Update expected output.
b521dba8
DE
3717 * gdb.python/py-param.exp: Delete, contents moved to ...
3718 * gdb.python/py-parameter.exp: ... here. New file.
3719 Add test for gdb.parameter ("directories").
99e7ae30 3720
f4b8a18d
KW
37212010-11-05 Ken Werner <ken.werner@de.ibm.com>
3722
3723 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
3724 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
3725 * configure: Regenerate.
3726 * gdb.opencl/Makefile.in: New File.
3727 * gdb.opencl/datatypes.exp: Likewise.
3728 * gdb.opencl/datatypes.cl: Likewise.
3729 * gdb.opencl/operators.exp: Likewise.
3730 * gdb.opencl/operators.cl: Likewise.
3731 * gdb.opencl/vec_comps.exp: Likewise.
3732 * gdb.opencl/vec_comps.cl: Likewise.
3733 * gdb.opencl/convs_casts.exp: Likewise.
3734 * gdb.opencl/convs_casts.cl: Likewise.
3735 * lib/opencl.exp: Likewise.
3736 * lib/opencl_hostapp.c: Likewise.
3737 * lib/opencl_kernel.cl: Likewise.
3738 * lib/cl_util.c: Likewise.
3739 * lib/cl_util.c: Likewise.
3740 * gdb.base/default.exp (set language): Add "opencl" to the list of
3741 languages.
3742
a9d5ef47
SW
37432010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
3744
3745 * gdb.cp/overload.exp: Added test for inheritance overload.
3746 * gdb.cp/overload.cc: Ditto.
3747 * gdb.cp/oranking.exp: Removed releveant kfails.
3748
03eb1c79
JK
37492010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3750 Joel Brobecker <brobecker@adacore.com>
3751
3752 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
3753 check test_compiler_info.
3754
dbc98a8b
KW
37552010-11-03 Ken Werner <ken.werner@de.ibm.com>
3756
3757 * gdb.base/gnu_vector.exp: Adjust expect messages.
3758
120bd360
KW
37592010-11-03 Ken Werner <ken.werner@de.ibm.com>
3760
3761 * gdb.base/gnu_vector.exp: Add unary operator tests.
3762
c37f7098
KW
37632010-11-03 Ken Werner <ken.werner@de.ibm.com>
3764
3765 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
3766
7b51bc51
DE
37672010-11-02 Doug Evans <dje@google.com>
3768
3769 * gdb.python/py-pp-maint.c: New file.
3770 * gdb.python/py-pp-maint.exp: New file.
3771 * gdb.python/py-pp-maint.py: New file.
3772
50c97f38
TT
37732010-11-02 Tom Tromey <tromey@redhat.com>
3774
3775 * gdb.base/default.exp: Remove "scheme" from language list.
3776
a289b8f6
JK
37772010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3778
3779 Revert:
3780 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3781 * gdb.threads/sigstep-threads.exp: New file.
3782 * gdb.threads/sigstep-threads.c: New file.
3783
cd017491
MS
37842010-10-20 Michael Snyder <msnyder@vmware.com>
3785
3786 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
3787
8e6a5956
UW
37882010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
3789
3790 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
3791 Skip test completely if gdb,no_hardware_watchpoints.
3792
2c04da0d
UW
37932010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
3794
3795 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
3796 strict, but do not check for any particular function name within libc.
3797
79afc5ef
SW
37982010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
3799
3800 * gdb.cp/smartp.exp: New test.
3801 * gdb.cp/smartp.cc : New test.
3802
026ffab7
SW
38032010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
3804
3805 * gdb.cp/converts.exp: Test pointer to bool conversion.
3806 Test pointer to long conversion.
3807 * gdb.cp/oranking.exp: Removed relevant kfail.
3808
3a772aa4
TT
38092010-10-18 Tom Tromey <tromey@redhat.com>
3810
3811 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
3812 argument to lazy_string.
3813 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
3814 (pp_ls.to_string): Use it.
3815 * gdb.python/py-prettyprint.c (main): Move declarations to top.
3816 Add "estring2" local.
3817
5fc3827b
JK
38182010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3819
3820 Fix s390x compatibility.
3821 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
3822 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
3823
8aeb23f3
JK
38242010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3825
3826 * gdb.threads/sigstep-threads.exp: New file.
3827 * gdb.threads/sigstep-threads.c: New file.
3828
c1e56572
JK
38292010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3830
3831 * gdb.base/pie-execl.exp: New file.
3832 * gdb.base/pie-execl.c: New file.
3833
92163a10
JK
38342010-10-13 Doug Evans <dje@google.com>
3835 Jan Kratochvil <jan.kratochvil@redhat.com>
3836
3837 PR exp/12117
3838 * gdb.cp/ptype-cv-cp.cc: New file.
3839 * gdb.cp/ptype-cv-cp.exp: New file.
3840
7062b0a0
SW
38412010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
3842
3843 * gdb.cp/converts.cc: New test program.
3844 * gdb.cp/converts.exp: New test.
3845 * gdb.cp/overload.exp: Added test for void* vs int*.
3846 * gdb.cp/overload.exp: Ditto.
3847 * gdb.cp/oranking.exp: Removed related kfail.
3848
0e3509db
DE
38492010-10-13 Doug Evans <dje@google.com>
3850
3851 * lib/gdb-python.exp (gdb_check_python_config): New function.
3852 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
3853 * gdb.python/lib-types.cc: New file.
3854 * gdb.python/lib-types.exp: New file.
3855
8dc78533
JK
38562010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3857
3858 * gdb.python/py-error.exp: New file.
3859 * gdb.python/py-error.py: New file.
3860
93c17e06
JK
38612010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3862
3863 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
3864 gdb_test_multiple.
3865
d8b34041
JK
38662010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3867
3868 * gdb.base/break-interp.exp: Use ldlags for linking flags.
3869 * gdb.base/prelink.exp: Likewise.
3870 * gdb.base/solib-nodir.exp: Likewise.
3871 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
3872 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
3873 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
3874
e0cc584e
UW
38752010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
3876
3877 * break-interp.exp (test_ld): Use two separate gdb_expect statements
3878 for the "info files" test to avoid timeouts on slow machines.
3879
cfc353b1
JK
38802010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3881
3882 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
3883 (main): Make openlib dummy call.
3884
d3d7896d
JK
38852010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3886
3887 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
3888 * break-interp.exp (reach): Move the core body ...
3889 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
3890 (test_ld): Provide always real argument, even to the linker. Replace
3891 dl_main by _dl_debug_state.
3892
5e533c94
JK
38932010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3894
3895 Fix results of prelinked PIEs on ppc*.
3896 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
3897 Accept also DISPLACEMENT "PRESENT".
3898 (main): Replace "ZERO" displacements by "PRESENT".
3899
33540610
SW
39002010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
3901
3902 * gdb.cp/oranking.exp: New test.
3903 * gdb.cp/oranking.cc: New test program.
3904
3bdf2bbd
KW
39052010-10-08 Ken Werner <ken.werner@de.ibm.com>
3906
3907 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
3908 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
3909
2f608a3a
KW
39102010-10-06 Ken Werner <ken.werner@de.ibm.com>
3911
3912 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
3913 lush, lynx) New constant.
3914 * gdb.base/constvars.exp: Test const array types.
3915 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
3916
aa2e2d8d
DE
39172010-10-06 Doug Evans <dje@google.com>
3918
3919 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
3920 of syscall staging area.
3921
2844d6b5
KW
39222010-10-06 Ken Werner <ken.werner@de.ibm.com>
3923
3924 * gdb.base/gnu_vector.c: Add variable c4.
3925 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
3926 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
3927
7d8ac8bb
MR
39282010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
3929
3930 * gdb.arch/altivec-abi.exp: Fix a typo.
3931
84a02e58
MR
39322010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
3933
3934 * lib/mi-support.exp (thread_selected_re): Correct pattern used
3935 to match a thread ID.
3936
b18e6318
JK
39372010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3938
3939 Fix s390x testcase compatibility.
3940 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
3941
a2c09bd0
DE
39422010-10-01 Doug Evans <dje@google.com>
3943
3944 * lib/gdb-python.exp: New file.
3945 * gdb.python/py-block.exp: Use it.
3946 * gdb.python/py-breakpoint.exp: Ditto.
3947 * gdb.python/py-frame.exp: Ditto.
3948 * gdb.python/py-inferior.exp: Ditto.
3949 * gdb.python/py-param.exp: Ditto.
3950 * gdb.python/py-prettyprint.exp: Ditto.
3951 * gdb.python/py-shared.exp: Ditto.
3952 * gdb.python/py-symbol.exp: Ditto.
3953 * gdb.python/py-symtab.exp: Ditto.
3954 * gdb.python/py-type.exp: Ditto.
3955 * gdb.python/py-value.exp: Ditto.
3956 * gdb.python/python.exp: Ditto.
3957
38f12cfc
TT
39582010-09-30 Tom Tromey <tromey@redhat.com>
3959
3960 * gdb.base/anon.exp: New file.
3961 * gdb.base/anon.c: New file.
3962
9ae8282d
TT
39632010-09-30 Tom Tromey <tromey@redhat.com>
3964
3965 * gdb.base/completion.exp: Test completion through anonymous
3966 union.
3967 * gdb.base/break1.c (struct some_struct): Add anonymous union.
3968
e9e07ba6
JK
39692010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3970
3971 Fix printing parameters of inlined functions.
3972 * gdb.dwarf2/dw2-inline-param.exp: New file.
3973 * gdb.dwarf2/dw2-inline-param-main.c: New file.
3974 * gdb.dwarf2/dw2-inline-param.S: New file.
3975
cd2effb2
JK
39762010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3977
3978 PR corefiles/12071.
3979 * gdb.base/corefile.exp (quit with a process, no question: load core)
3980 (quit with a core file): New tests.
3981
bceffbf3
JK
39822010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3983
3984 Fix GDB crash on inferior calls with self-referencing classes.
3985 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
3986 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
3987 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
3988
1736ad11
JK
39892010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3990
3991 Fix lost siginfo_t for inferior calls.
3992 * gdb.base/siginfo-infcall.exp: New file.
3993 * gdb.base/siginfo-infcall.c: New file.
3994
a176ad92
JB
39952010-09-22 Joel Brobecker <brobecker@adacore.com>
3996
3997 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
3998
c2b0a229
JK
39992010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4000
4001 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
4002 New test.
4003 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
4004
e8ae22d1
JB
40052010-09-22 Joel Brobecker <brobecker@adacore.com>
4006
4007 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
4008 type of our const type.
4009
ec322823
SW
40102010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
4011
4012 * gdb.cp/pr12028.cc: New.
4013 * gdb.cp/pr12028.exp: New.
4014
72929c62
JB
40152010-09-22 Joel Brobecker <brobecker@adacore.com>
4016
4017 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
4018
875b4ff5 40192010-09-16 Phil Muldoon <pmuldoon@redhat.com>
fc529d80 4020 Jan Kratochvil <jan.kratochvil@redhat.com>
875b4ff5
PM
4021
4022 PR mi/11407
4023 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
4024 * gdb.mi/dw2-ref-missing-frame-main.c New File.
4025 * gdb.mi/dw2-ref-missing-frame.S New File.
4026 * gdb.mi/dw2-ref-missing-frame.exp New File.
4027
7155d578
TT
40282010-09-14 Tom Tromey <tromey@redhat.com>
4029
4030 PR symtab/8399:
4031 * gdb.threads/tls.exp: Remove kfail. Update expected output.
4032
515ed532
TT
40332010-09-14 Tom Tromey <tromey@redhat.com>
4034
4035 PR exp/11803:
4036 * gdb.threads/tls.exp: Use C++.
4037 (check_thread_local): Use K::another_thread_local.
4038 * gdb.threads/tls.c (class K): New.
4039 (another_thread_local): Now a member of K.
4040 (spin): Update. No longer K&R C.
4041
450ca57c
SW
40422010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
4043
4044 * gdb.cp/koenig.cc: created class for testing member lookup.
4045 * gdb.cp/koenig.exp: Added test for member lookup.
4046
dbd492a3
JK
40472010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4048
4049 Fix false FAILs on sourcetree topdir directory containing "kill".
4050 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
4051 source line matching regexp.
4052
8d4d924b
JK
40532010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4054
4055 * gdb.python/python.exp (set height 0, collect help from uiout)
4056 (verify help to uiout): New tests.
4057
8e64f2a0
JK
40582010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4059
4060 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
4061 is_lp64_target to check 64bit target.
4062
4569eed2
JK
40632010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4064
4065 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
4066 (test_ld) <powerpc64-*>: New.
4067
5e1617b1
DJ
40682010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
4069
4070 * gdb.cp/templates.exp (test_template_args): Allow "struct".
4071
c767944b
DJ
40722010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
4073
4074 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
4075 (FunctionArg::method): New function.
4076 (empty, arg): New variables.
4077 (main): Call arg.method.
4078 * gdb.cp/templates.exp (test_template_args): New function.
4079 (do_tests): Call it.
4080
27d3a3fc
UW
40812010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
4082
4083 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
4084 of "next" to proceed over pthread_exit call.
4085
55b7ce7f
UW
40862010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
4087
4088 * gdb.base/maint.exp: Avoid wildcards against potentially very long
4089 "maint print statistics" output to prevent expect timeouts.
4090
809df446
JK
40912010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4092
4093 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
4094 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4095 (test_float_rejected): ... here.
4096 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
4097 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4098 (test_float_rejected): ... here.
4099 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
4100 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4101 (test_float_rejected): ... here.
4102 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
4103 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4104 (test_float_rejected): ... here.
4105
8464be76
DJ
41062010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
4107
4108 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
4109 before disabling hardware watchpoints.
4110 (test_inaccessible_watchpoint): Check that hardware watchpoints
4111 are used. Test for watchpoints on a constant address.
4112
14dba4b4
JK
41132010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4114
4115 * gdb.base/ui-redirect.exp: New file.
4116
3f3540e1 41172010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
fc529d80 4118 Joel Brobecker <brobecker@adacore.com>
3f3540e1
JB
4119
4120 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
4121
0f254bb7
DE
41222010-08-31 Doug Evans <dje@google.com>
4123
4124 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
4125
03f17ccf
TT
41262010-08-30 Tom Tromey <tromey@redhat.com>
4127
4128 PR python/11792:
4129 * gdb.python/py-value.exp (test_subscript_regression): Add
4130 dynamic_type test.
4131
640617ad
DJ
41322010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
4133
4134 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
4135 instead of running to main. Do not test the main function.
4136 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
4137 Add new main.
4138
2ed91d1b
PA
41392010-08-26 Pedro Alves <pedro@codesourcery.com>
4140
4141 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
4142 one test.
4143
673bfd45
DE
41442010-08-24 Doug Evans <dje@google.com>
4145
4146 PR symtab/11942
4147 * gdb.dwarf2/dw4-sig-types.cc: New file.
4148 * gdb.dwarf2/dw4-sig-types.h: New file.
4149 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
4150 * gdb.dwarf2/dw4-sig-types.exp: New file.
4151
f9ffd4bb
TT
41522010-08-23 Tom Tromey <tromey@redhat.com>
4153
4154 PR python/11145:
4155 * gdb.python/py-value.c (Base, Derived): New types.
4156 (base): New global.
4157 * gdb.python/py-value.exp (test_subscript_regression): Add
4158 dynamic_cast test.
4159
d839c8a4
TT
41602010-08-23 Tom Tromey <tromey@redhat.com>
4161
4162 PR python/10676:
4163 * gdb.python/py-type.exp (test_fields): Add tests for type
4164 equality.
4165
702c2711
TT
41662010-08-23 Tom Tromey <tromey@redhat.com>
4167
4168 PR python/11915:
4169 * gdb.python/py-type.exp (test_fields): Add tests for array.
4170
832bafd3
KS
41712010-08-23 Keith Seitz <keiths@redhat.com>
4172
4173 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
4174 have any children. Create a new abbrev for it.
4175 Add missing terminal sequence to .debug_abbrev.
4176
c37bf528
KS
41772010-08-20 Keith Seitz <keiths@redhat.com>
4178
4179 PR symtab/11465:
4180 * gdb.dwarf2/pr11465.exp: New test.
4181 * gdb.dwarf2/pr11465.S: New file.
4182 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
4183 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
4184
4572cbac
TJB
41852010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
4186
4187 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
4188 registers. Update data sets with the new v2_double element in the
4189 VSX register union. Add vector_register3_vr data set for the AltiVec
4190 registers. Use gdb_test_no_output instead of send_gdb.
4191
e7fbb131
PA
41922010-08-19 Pedro Alves <pedro@codesourcery.com>
4193
4194 * gdb.python/py-shared.exp: New file, factored out from
4195 python.exp.
4196 * gdb.python/py-shared.c: New file.
4197 * gdb.python/py-shared-sl.c: New file.
4198 * gdb.python/python-1.c: New file.
4199 * gdb.python/python-sl.c: Delete.
4200 * gdb.python/python.c: Mention python-1.c.
4201 * gdb.python/python.exp: Move shared library tests to
4202 py-shared.exp.
4203 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
4204 (MISCELLANEOUS): New.
4205 (clean mostlyclean): Also remove $MISCELLANEOUS.
4206
d30f5e1f
DE
42072010-08-19 Doug Evans <dje@google.com>
4208
4209 PR exp/11926
4210 * gdb.base/printcmds.exp (test_float_accepted): New function.
4211 Move existing float tests there. Add tests for floats with suffixes.
4212 (test_float_rejected): New function.
4213 * gdb.java/jv-print.exp (test_float_accepted): New function.
4214 (test_float_rejected): New function.
4215 * gdb.objc/print.exp: New file.
4216 * gdb.pascal/print.exp: New file.
4217 * lib/objc.exp: New file.
4218
7b3fd859
PM
42192010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
4220
4221 * gdb.base/default.exp (info set): Avoid full buffer error and force
4222 reading up to final gdb prompt.
4223 (show): Likewise.
4224
c92817ce
TT
42252010-08-18 Tom Tromey <tromey@redhat.com>
4226
4227 PR symtab/11919:
4228 * gdb.base/completion.exp: Add test.
4229
f1208f9e
DE
42302010-08-18 Doug Evans <dje@google.com>
4231
4232 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
4233 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
4234 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
4235 Simplify, early exit if runto_main fails.
4236 * gdb.fortran/exprs.exp: load_lib fortran.exp.
4237 (set_lang_fortran): Moved to lib/fortran.exp.
4238 * gdb.fortran/types.exp: load_lib fortran.exp.
4239 (set_lang_fortran): Moved to lib/fortran.exp.
4240 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
4241 * gdb.java/jprint.exp (set_lang_java): Ditto.
4242 * gdb.java/jv-exp.exp: load_lib java.exp.
4243 If set_lang_java fails, issue a warning instead of failure to be
4244 consistent with other set_lang_foo uses.
4245 (set_lang_java): Moved to lib/java.exp.
4246 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
4247 If set_lang_java fails, issue a warning instead of failure to be
4248 consistent with other set_lang_foo uses.
4249 * gdb.pascal/types.exp: load_lib pascal.exp.
4250 (set_lang_pascal): Moved to lib/pascal.exp.
4251 * lib/fortran.exp: New file.
4252 * lib/java.exp (set_lang_java): New function.
4253 * lib/pascal.exp (set_lang_pascal): New function.
4254
2f06b485
YQ
42552010-08-18 Yao Qi <yao@codesourcery.com
4256
4257 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
4258 func_nofb_start and func_loopfb_start, so that address of functions
4259 is equal to these labels on Thumb.
4260
96e25403
YQ
42612010-08-18 Yao Qi <yao@codesourcery.com>
4262
4263 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
4264 to reflect latest c source file.
4265
36e6adc4
JK
42662010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4267
4268 * gdb.cp/infcall-dlopen.exp: New file.
4269 * gdb.cp/infcall-dlopen.cc: New file.
4270 * gdb.cp/infcall-dlopen-lib.cc: New file.
4271
f431efe5
PA
42722010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4273 Pedro Alves <pedro@codesourcery.com>
4274
4275 PR breakpoints/11371
4276
4277 * gdb.base/watch-cond-infcall.exp: New file.
4278 * gdb.base/watch-cond-infcall.c: New file.
4279
06a64a0b
TT
42802010-08-16 Tom Tromey <tromey@redhat.com>
4281
4282 * gdb.base/help.exp: Update.
4283 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
4284 watchpoint.
4285 (test_watch_location): New proc.
4286 (test_watchpoint_in_big_blob): Delete watchpoint.
4287 * gdb.base/watchpoint.c (func5): New function.
4288 (main): Call it.
4289
70ebf4ed
DE
42902010-08-16 Doug Evans <dje@google.com>
4291
4292 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
4293
ca5c20b6
PM
42942010-08-11 Phil Muldoon <pmuldoon@redhat.com>
4295
4296 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
4297 tests.
4298
7346b668
KW
42992010-08-11 Ken Werner <ken.werner@de.ibm.com>
4300
4301 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
4302 * gdb.base/gnu_vector.c: New File.
4303 * gdb.base/gnu_vector.exp: Likewise.
4304
cb2e07a6
PM
43052010-08-11 Phil Muldoon <pmuldoon@redhat.com>
4306
4307 * gdb.python/python.c: New File.
4308 * gdb.python/python-sl.c: New File.
4309 * gdb.python/python.exp: Test solib_address and decode_line
4310 * functions.
4311
5da1313b
JK
43122010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4313
4314 * gdb.python/python.exp (show height, set height 10)
4315 (verify pagination beforehand, verify pagination beforehand: q)
4316 (gdb.execute does not page, verify pagination afterwards)
4317 (verify pagination afterwards: q): New.
4318
49c3ccf7
DE
43192010-08-02 Doug Evans <dje@google.com>
4320
4321 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
4322 because of an older gcc, change test2
4323 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
4324 to unsupported.
4325
42c0c4f1
KH
43262010-07-30 Kazu Hirata <kazu@codesourcery.com>
4327
4328 * gdb.base/break-always.exp: Do not expect full paths to file
4329 names.
4330 * gdb.base/commands.exp: Likewise.
4331
d3765805
DE
43322010-07-30 Doug Evans <dje@google.com>
4333
c98ee71b
DE
4334 * gdb.cp/temargs.exp: For new tests that require newer gccs,
4335 xfail them when run with older gccs.
4336
fd961404
DE
4337 * lib/gdb.exp (build_executable): Forward "c++" option to
4338 get_compiler_info.
4339
999adef4
DE
4340 * gdb.python/py-type.exp (test_template): Mark as xfail tests
4341 "python print ttype.template_argument(1)" and
4342 "python print isinstance(ttype.template_argument(1), gdb.Value)"
4343 if using gcc 4.4 or earlier.
4344
d3765805
DE
4345 * gdb.base/valgrind-db-attach.exp: Use unique test name for
4346 attach-to-debugger handling.
4347
1276c759
JK
43482010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4349
4350 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
4351 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
4352 (main): Use copyreloc.
4353 * gdb.base/prelink.exp (split debug of executable)
4354 (.dynbss vs. .bss address shift): New tests.
4355
88caa9b9
PA
43562010-07-29 Pedro Alves <pedro@codesourcery.com>
4357
4358 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
4359 in gdb_test_multiple.
4360
c6f2ac43
PA
43612010-07-29 Pedro Alves <pedro@codesourcery.com>
4362
4363 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
4364 environment.
4365
326fd672
TT
43662010-07-28 Tom Tromey <tromey@redhat.com>
4367
4368 PR python/11060:
4369 * gdb.python/py-type.c (Temargs): New template.
4370 (temvar): New variable.
4371 * gdb.python/py-type.exp (test_template): New proc.
4372
3ce3b1ba
PA
43732010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
4374
4375 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
4376 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
4377
34eaf542
TT
43782010-07-28 Tom Tromey <tromey@redhat.com>
4379
4380 PR c++/9946:
4381 * gdb.cp/temargs.exp: New file.
4382 * gdb.cp/temargs.cc: New file.
4383
d41b819e
JK
43842010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4385
4386 * gdb.base/help.exp (help disassemble): Update the content.
4387
26ab7092
JK
43882010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4389
4390 * gdb.threads/ia64-sigill.exp: New file.
4391 * gdb.threads/ia64-sigill.c: New file.
4392
5283e9e1
TT
43932010-07-27 Tom Tromey <tromey@redhat.com>
4394
4395 * gdb.opt/inline-cmds.c (ATTR): New define.
4396 (func1): Use it.
4397 (func2): Likewise.
4398 (func3): Likewise.
4399 (outer_inline1): Likewise.
4400 (outer_inline2): Likewise.
4401 * gdb.opt/inline-bt.c (ATTR): New define.
4402 (func1): Use it.
4403 (func2): Likewise.
4404 * gdb.opt/inline-locals.c (ATTR): New define.
4405 (func1): Use it.
4406 (func2): Likewise.
4407
e992ef73
TT
44082010-07-27 Tom Tromey <tromey@redhat.com>
4409
4410 * gdb.stabs/gdb11479.c (hack): New function.
4411 (test): Use it.
4412 (test2): Use it.
4413 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
4414 (int32_search_buf, int64_search_buf): No longer static.
4415 (x): Remove.
4416 * gdb.base/relocate.c (hack): New function.
4417
5374244e
PM
44182010-07-27 Phil Muldoon <pmuldoon@redhat.com>
4419
4420 * gdb.python/py-value.exp (test_inferior_function_call): New function.
4421 * gdb.python/py-value.c (func1): New function.
4422 (func2): Likewise.
4423
a99aee83
CV
44242010-07-26 Corinna Vinschen <vinschen@redhat.com>
4425
4426 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
4427 as not to clash with .data section.
4428
a04ba985
JG
44292010-07-26 Jerome Guitton <guitton@adacore.com>
4430
4431 * gdb.base/code_elim.exp: New file.
4432 * gdb.base/code_elim1.c: New file.
4433 * gdb.base/code_elim2.c: New file.
4434
23bd0f7c
PA
44352010-07-21 Pedro Alves <pedro@codesourcery.com>
4436
4437 PR symtab/11827
4438
4439 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
4440 (some_volatile_enum): New variable.
4441 * gdb.base/printcmds.exp (test_print_enums): New.
4442 <top level>: Call it.
4443
883df6dd
SW
44442010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
4445
4446 * gdb.cp/fpointer.cc: New test.
4447 * gdb.cp/fpointer.exp: New test.
4448
569b05a5
JK
44492010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4450
4451 * gdb.base/solib-nodir.exp: New file.
4452 * lib/gdb.exp (runto): New case for a GDB internal error.
4453
51d7d803
JK
44542010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4455 Ulrich Weigand <uweigand@de.ibm.com>
4456 Tom Tromey <tromey@redhat.com>
4457
4458 * gdb.base/charset-malloc.c: New file.
4459 * gdb.base/charset.c (malloc_stub): New prototype.
4460 (main): Call it instead of malloc itself.
4461 * gdb.base/charset.exp: Use only prepare_for_testing.
4462 (binfile): Remove the variable.
4463
c0edd9ed
JK
44642010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4465
4466 Make core files the process_stratum.
4467 * gdb.base/corefile.exp (run: load core again)
4468 (run: sanity check we see the core file, run: with core)
4469 (run: core file is cleared, attach: load core again)
4470 (attach: sanity check we see the core file, attach: with core)
4471 (attach: core file is cleared): New tests.
4472 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
4473
3cbaedff
KW
44742010-07-14 Ken Werner <ken.werner@de.ibm.com>
4475
4476 * gdb.arch/altivec-abi.exp: New tests.
4477
91158a56
TT
44782010-07-13 Tom Tromey <tromey@redhat.com>
4479
4480 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
4481 (main): Use it.
4482 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
4483
0f5238ed
TT
44842010-07-13 Tom Tromey <tromey@redhat.com>
4485
4486 * gdb.base/label.exp: New file.
4487 * gdb.base/label.c: New file.
4488
add265ae
L
44892010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
4490 H.J. Lu <hongjiu.lu@intel.com>
4491
4492 * lib/gdb.exp (is_ilp32_target): New.
4493 (is_lp64_target): Likewise.
4494
4495 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
4496 target.
4497 * gdb.arch/amd64-disp-step.exp: Likewise.
4498 * gdb.arch/amd64-dword.exp: Likewise.
4499 * gdb.arch/amd64-i386-address.exp: Likewise.
4500 * gdb.arch/amd64-word.exp: Likewise.
889bf7c5 4501
add265ae
L
4502 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
4503 target.
4504 * gdb.arch/i386-bp_permanent.exp: Likewise.
4505 * gdb.arch/i386-byte.exp: Likewise.
4506 * gdb.arch/i386-disp-step.exp: Likewise.
4507 * gdb.arch/i386-gnu-cfi.exp: Likewise.
4508 * gdb.arch/i386-prologue.exp: Likewise.
4509 * gdb.arch/i386-size-overlap.exp: Likewise.
4510 * gdb.arch/i386-size.exp: Likewise.
4511 * gdb.arch/i386-sse.exp: Likewise.
4512 * gdb.arch/i386-unwind.exp: Likewise.
4513 * gdb.arch/i386-word.exp: Likewise.
4514
4515 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
4516 test only when building 64-bit executables. Do not hard-code
4517 -m64 option.
4518
2dfb8c17
DE
45192010-07-07 Doug Evans <dje@google.com>
4520
4521 * lib/gdb.exp (gdb_test_list_exact): New function.
4522 * gdb.base/default.exp (show convenience): Call it, add tests for
4523 $_sdata = void, $_thread = 0.
4524
4e5799b6
JK
45252010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4526 Joel Brobecker <brobecker@adacore.com>
4527
4528 Fix re-run of PIE executable, PR shlibs/11776.
4529 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
4530 Remove $displacement_main to match the solib-svr4.c change. New "kill"
4531 and re-"run" of the inferior.
4532
1a219cc7
JK
45332010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4534 Joel Brobecker <brobecker@adacore.com>
4535
4536 Cope with missing /usr/sbin/prelink.
4537 * lib/prelink-support.exp (prelink_no):
4538 <result == 1 && $output is "no such file or directory">: New.
4539 (prelink_yes): Likewise. Return on failed prelink_no.
4540
5e3b36f8
JK
45412010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4542 Joel Brobecker <brobecker@adacore.com>
4543
4544 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
4545 build_executable by build_executable_own_libs. Replace "prelink -R"
4546 execution by a call of prelink_yes. Comment why "prelink -r" needs no
4547 change.
4548 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
4549 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
4550 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
4551 Replace build_executable by build_executable_own_libs's function
4552 build_executable_own_libs.
4553 (prelinkNO): Create new stub to call prelink_no.
4554 (prelinkYES): Create new stub to call prelink_yes.
4555 (test_attach): Rename calls of copy to file_copy.
4556 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
4557 (copy): Move to ...
4558 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
4559 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
4560 * gdb.base/prelink.exp: Disable testcase also for is_remote and
4561 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
4562 special flags by gdb_compile_shlib. Replace second gdb_compile by
4563 build_executable_own_libs. Replace "prelink -R" execution by a call of
4564 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
4565 a second call of prelink_yes. Replace restart commands by
4566 clean_restart.
4567 (prelink): Rename to ...
4568 (seen displacement message): ... this test. Extend its expectation
4569 strictness.
4570
86e4bafc
JK
45712010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4572
4573 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
4574 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
4575 displacement message exactly once.
4576
3cd07d20
JK
45772010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4578 Joel Brobecker <brobecker@adacore.com>
4579
4580 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
4581 its restore after the <$relink_args != ""> loop. new comment.
4582
0a1e94c7
JK
45832010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4584 Joel Brobecker <brobecker@adacore.com>
4585
4586 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
4587 code for it. New variable relink_args.
4588 (prelinkYES): Call prelinkNO.
4589 (test_attach): Accept new parameter relink_args. Re-prelink the binary
4590 in such case. Move the core code to ...
4591 (test_attach_gdb): ... a new function. Send GDB command "file".
4592 Extend expected "Attaching to " string.
4593
2f70bcfb
TT
45942010-07-02 Tom Tromey <tromey@redhat.com>
4595
4596 * gdb.base/bitops.exp: Remove extraneous "pass".
4597
a17ac5b0
TT
45982010-07-02 Ken Werner <ken.werner@de.ibm.com>
4599
4600 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
4601
dc10affe
PA
46022010-07-01 Pedro Alves <pedro@codesourcery.com>
4603
d41c0fc8
PA
4604 * gdb.base/help.exp: Adjust expected output.
4605
46062010-07-01 Pedro Alves <pedro@codesourcery.com>
4607
4608 * gdb.base/help.exp: Adjust expected output.
dc10affe 4609
0a600c36
JK
46102010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4611
4612 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
4613 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
4614 c++/11702.
4615
37cc8bfe
JK
46162010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4617 Doug Evans <dje@google.com>
4618
4619 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
4620 add .dynamic entry'.
4621
254e6b9e
DE
46222010-06-29 Doug Evans <dje@google.com>
4623
4624 Test PR c++/11702.
4625 * gdb.cp/m-static.exp: Add testcase.
4626 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
4627
595939de 46282010-06-28 Phil Muldoon <pmuldoon@redhat.com>
889bf7c5
PA
4629 Tom Tromey <tromey@redhat.com>
4630 Thiago Jung Bauermann <bauerman@br.ibm.com>
595939de
PM
4631
4632 * gdb.python/py-inferior.c: New File.
4633 * gdb.python/py-infthread.c: New File.
4634 * gdb.python/py-inferior.exp: New File.
4635 * gdb.python/py-infthread.exp: New File.
4636
98751a41
JK
46372010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4638
4639 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
4640 (ptype ::C::OtherFileClass typedefs): New.
4641 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
4642 (C::OtherFileClass::cOtherFileClassVar2): New.
4643 (C::OtherFileClass::cOtherFileClassVar_use): Use also
4644 cOtherFileClassVar2.
4645 (C::cOtherFileType2, C::cOtherFileVar2): New.
4646 (C::cOtherFileVar_use): use also cOtherFileVar2.
4647 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
4648
41f62f39
JK
46492010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4650
4651 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
4652 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
4653 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
4654 (print ::C::cOtherFileVar)
4655 (whatis C::OtherFileClass::cOtherFileClassType)
4656 (whatis ::C::OtherFileClass::cOtherFileClassType)
4657 (print C::OtherFileClass::cOtherFileClassVar)
4658 (print ::cOtherFileClassVar)
4659 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
4660 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
4661 trailing content.
4662 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
4663 (C::OtherFileClass::cOtherFileClassVar)
4664 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
4665 (C::cOtherFileVar, C::cOtherFileVar_use): New.
4666
af53d231
JK
46672010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4668
4669 Test PR c++/11703 and PR gdb/1448.
4670 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
4671 gdb/1448.
4672
9655fd1a
JK
46732010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4674
4675 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
4676 (main) <rtti_data>: New.
4677 * gdb.cp/virtbase.exp (print rtti_data): New.
4678
824cc8dd
JK
46792010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4680 Joel Brobecker <brobecker@adacore.com>
4681
4682 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
4683
6036c742
JK
46842010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4685
4686 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
4687
de6a0421
DE
46882010-06-28 Doug Evans <dje@google.com>
4689
4690 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
4691
b2dae948
DE
46922010-06-27 Doug Evans <dje@google.com>
4693
4694 * gdb.cp/m-static.exp: Update expected test output.
4695
0f3bb72e
PH
46962010-06-25 Paul Hilfinger <hilfinger@adacore.com>
4697
889bf7c5
PA
4698 * gdb.gdb/selftest.exp: Adjust expected message for
4699 capturing start-up runtime.
0f3bb72e 4700
bc9f0842
TT
47012010-06-25 Tom Tromey <tromey@redhat.com>
4702
4703 PR python/10808:
4704 * gdb.python/python.exp: Add new tests.
4705
099ef718
SW
47062010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
4707
4708 * gdb.cp/operator.cc: Created an import loop.
4709 * gdb.cp/operator.exp: Added testcase for import loop.
4710
5868a632
JK
47112010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4712
4713 Test PR python/11407.
4714 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
4715 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
4716 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
4717 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
4718 executable_nofb and executable_fb. New variables srcsfile, objsfile,
4719 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
4720 binfile. Call gdb_compile with clean_restart twice.
4721 (func_nofb print, func_nofb backtrace, func_loopfb print)
4722 (func_loopfb backtrace): New.
4723
af76db58
JK
47242010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4725
4726 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
4727 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
4728 by a hand made one.
4729 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
4730 i?86 requirement. Remove variables srcfile and binfile. New variable
4731 sources, executable_nofb and executable_fb. Call prepare_for_testing.
4732
f2c7657e
UW
47332010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4734
4735 * gdb.cell/dwarfaddr.exp: New file.
4736 * gdb.cell/dwarfaddr.S: New file.
4737
628fe4e4
JK
47382010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4739
4740 Test PR 9436.
4741 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
4742
f1421989
HZ
47432010-06-24 Hui Zhu <teawater@gmail.com>
4744
4745 * gdb.base/eval.exp: New file.
4746
d03285ec
UW
47472010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4748
4749 * gdb.cell/fork.exp: New file.
4750 * gdb.cell/fork.c: Likewise.
4751 * gdb.cell/fork-spu.c: Likewise.
4752
41b2c92d
PM
47532010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
4754
4755 * lib/gdb.exp (banned_variables_traced): New global variable.
4756 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
4757 (gdb_init): Use `trace add variable' instead of obsolete
4758 `trace variable'.
4759
d5bc977f
DE
47602010-06-21 Doug Evans <dje@google.com>
4761
4762 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
4763
d2ed6730
UW
47642010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4765
4766 * gdb.arch/spu-ls.exp: New file.
4767 * gdb.arch/spu-ls.c: Likewise.
4768
6aed2dbc
SS
47692010-06-18 Stan Shebs <stan@codesourcery.com>
4770
4771 * gdb.threads/thread-specific.exp: Add tests of $_thread.
4772
e0756905
UW
47732010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4774
4775 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
4776 * gdb.base/watch-cond.exp: Likewise.
4777 * gdb.python/py-breakpoint.exp: Likewise.
4778
d8053d4d
PA
47792010-06-18 Pedro Alves <pedro@codesourcery.com>
4780
4781 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
4782 clean_restart, make sure every test has a distinct message, and
4783 that messages don't include the executable' full path.
4784
81ce510c
DE
47852010-06-17 Doug Evans <dje@google.com>
4786
4787 * gdb.arch/i386-size.exp: Updated expected output for
4788 DISASSEMBLY_OMIT_FNAME.
4789
65d79d4b
SDJ
47902010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4791 Sergio Durigan Junior <sergiodj@redhat.com>
4792
4793 * gdb.base/watch-notconst.c: New file.
4794 * gdb.base/watch-notconst.S: New file.
4795 * gdb.base/watch-notconst2.c: New file.
4796 * gdb.base/watch-notconst2.S: New file.
4797 * gdb.base/watch-notconst.exp: New file.
4798 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
4799 (func4): Add operations on `global_ptr_ptr'.
4800 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
4801 routine to test watchpoints created with a constant expression.
4802 (test_inaccessible_watchpoint): Include tests for watchpoints
4803 created with a constant expression.
4804
df0f4836
KB
48052010-06-14 Kevin Buettner <kevinb@redhat.com>
4806
4807 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
4808 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
4809 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
4810 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
4811 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
4812 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
4813 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
4814 of `_start'.
4815
b769def5
UW
48162010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4817
4818 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
4819 not supported on the target.
4820 * gdb.mi/mi-nonstop-exit.exp: Likewise.
4821 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
4822 * gdb.mi/mi-nsintrall.exp: Likewise.
4823 * gdb.mi/mi-nsmoribund.exp: Likewise.
4824 * gdb.mi/mi-nsthrexec.exp: Likewise.
4825
d914c394
SS
48262010-06-11 Stan Shebs <stan@codesourcery.com>
4827
4828 * gdb.base/permissions.exp: New file.
4829
48302010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
4831
4832 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
4833 does not support ELF executable class.
4834
f3ce5b9c
UW
48352010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4836
4837 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
4838
8e46892c
JK
48392010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4840
4841 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
4842 (runto): Catch "The target does not support running in non-stop mode.".
4843
6cc55c64
MS
48442010-06-11 Michael Snyder <msnyder@vmware.com>
4845
4846 * gdb.base/setshow.exp (set language asm): Don't use
4847 gdb_test_no_output, fails on some targets.
4848
caddefa4
UW
48492010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4850
4851 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
4852 * gdb.cp/pr9167.exp: Likewise.
4853
468b1aa7
UW
48542010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4855
4856 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
4857
5c3552dc
UW
48582010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4859
4860 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
4861
02e6fe6a
UW
48622010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4863
4864 * gdb.base/charset.c (main): Make sure malloc gets linked in.
4865
0e03807e
TT
48662010-06-11 Tom Tromey <tromey@redhat.com>
4867
4868 PR gdb/9977, PR exp/11636::
4869 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
4870 (pieces_test_f6): Update expected output.
4871
2bdf28a0
JK
48722010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4873
4874 * gdb.base/moribund-step.exp: New.
4875
f6978de9
MS
48762010-06-08 Michael Snyder <msnyder@vmware.com>
4877
4878 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
889bf7c5 4879 * gdb.ada/boolean_expr.exp:
f6978de9
MS
4880 * gdb.ada/frame_args.exp: Ditto.
4881 * gdb.ada/lang_switch.exp: Ditto.
4882 * gdb.ada/ptype_arith_binop.exp: Ditto.
4883 * gdb.ada/ref_param.exp: Ditto.
4884 * gdb.ada/type_coercion.exp:Ditto.
4885
4886 * gdb.asm/asm-source.exp: Ditto.
4887
4888 * gdb.base/attach.exp: Ditto.
4889 * gdb.base/bitfields2.exp: Ditto.
4890 * gdb.base/call-signal-resume.exp: Ditto.
4891 * gdb.base/callfuncs.exp: Ditto.
4892 * gdb.base/commands.exp: Ditto.
4893 * gdb.base/dbx.exp: Ditto.
4894 * gdb.base/default.exp: Ditto.
4895 * gdb.base/dump.exp: Ditto.
4896 * gdb.base/exprs.exp: Ditto.
4897 * gdb.base/freebpcmd.exp: Ditto.
4898 * gdb.base/interrupt.exp: Ditto.
4899 * gdb.base/list.exp: Ditto.
4900 * gdb.base/long_long.exp: Ditto.
4901 * gdb.base/maint.exp: Ditto.
4902 * gdb.base/ptype.exp: Ditto.
4903 * gdb.base/return.exp: Ditto.
4904 * gdb.base/setshow.exp: Ditto.
4905 * gdb.base/sigbpt.exp: Ditto.
4906 * gdb.base/sigrepeat.exp: Ditto.
4907
4908 * gdb.cp/classes.exp: Ditto.
4909
4910 * gdb.dwarf2/dw2-restore.exp: Ditto.
4911
4912 * gdb.gdb/selftest.exp: Ditto.
4913
4914 * gdb.multi/base.exp: Ditto.
4915 * gdb.multi/bkpt-multi-exec.exp: Ditto.
4916
4917 * gdb.python/py-block.exp: Ditto.
4918 * gdb.python/py-prettyprint.exp: Ditto.
4919 * gdb.python/py-template.exp: Ditto.
4920
4921 * gdb.server/ext-attach.exp: Ditto.
4922 * gdb.server/ext-run.exp: Ditto.
4923 * gdb.server/server-mon.exp: Ditto.
4924
4925 * gdb.threads/fork-thread-pending.exp: Ditto.
4926 * gdb.threads/hand-call-in-threads.exp: Ditto.
4927 * gdb.threads/interrupted-hand-call.exp: Ditto.
4928 * gdb.threads/linux-dp.exp: Ditto.
4929 * gdb.threads/manythreads.exp: Ditto.
4930 * gdb.threads/print-threads.exp: Ditto.
4931 * gdb.threads/pthreads.exp: Ditto.
4932 * gdb.threads/schedlock.exp: Ditto.
4933 * gdb.threads/thread-unwindonsignal.exp: Ditto.
4934 * gdb.threads/threadapply.exp: Ditto.
4935
de7ff789
MS
49362010-06-08 Michael Snyder <msnyder@vmware.com>
4937
889bf7c5 4938 * gdb.ada/exec_changed.exp:
de7ff789
MS
4939 Use ".*" instead of "" as wildcard regexp.
4940
4941 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
4942 * gdb.base/call-ar-st.exp: Ditto.
4943 * gdb.base/checkpoint.exp: Ditto.
4944 * gdb.base/default.exp: Ditto.
4945 * gdb.base/dump.exp: Ditto.
4946 * gdb.base/ending-run.exp: Ditto.
4947 * gdb.base/fileio.exp: Ditto.
4948 * gdb.base/miscexprs.exp: Ditto.
4949 * gdb.base/pointers.exp: Ditto.
4950 * gdb.base/readline.exp: Ditto.
4951 * gdb.base/reread.exp: Ditto.
4952 * gdb.base/restore.exp: Ditto.
4953 * gdb.base/shlib-call.exp: Ditto.
4954 * gdb.base/valgrind-db-attach.exp: Ditto.
4955 * gdb.base/volatile.exp: Ditto.
4956 * gdb.base/watchpoints.exp: Ditto.
4957
4958 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
4959
4960 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
4961 * gdb.python/py-value.exp: Ditto.
4962
4963 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
4964 * gdb.trace/circ.exp: Ditto.
4965 * gdb.trace/collection.exp: Ditto.
4966 * gdb.trace/packetlen.exp: Ditto.
4967 * gdb.trace/passc-dyn.exp: Ditto.
4968 * gdb.trace/report.exp: Ditto.
4969 * gdb.trace/tfile.exp: Ditto.
4970 * gdb.trace/tfind.exp: Ditto.
4971 * gdb.trace/while-dyn.exp: Ditto.
4972
3bebe2f2
JK
49732010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4974
4975 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
4976
5c631832
JK
49772010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4978
4979 Test PR 10640.
4980 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
4981
4c3376c8
SW
49822010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
4983
4984 * gdb.cp/koenig.exp: Test for ADL operators.
4985 * gdb.cp/koenig.cc: Added ADL operators.
4986 * gdb.cp/operator.exp: New test.
4987 * gdb.cp/operator.cc: New test.
4988
dc226d5a
MS
49892010-06-04 Michael Snyder <msnyder@vmware.com>
4990
dfb88a23
MS
4991 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
4992 * gdb.base/pending.exp: Ditto.
f7ae76b3 4993
dc226d5a
MS
4994 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
4995
967cf477
DE
49962010-06-04 Doug Evans <dje@google.com>
4997
4998 * gdb.python/py-prettyprint.exp: Add new test for enabled and
4999 disabled printers.
5000 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
5001 (enable_lookup_function): New function.
5002
eb801841
TT
50032010-06-04 Tom Tromey <tromey@redhat.com>
5004
5005 * gdb.python/py-value.exp (test_value_hash): Don't test equality
5006 of hash and id.
5007
38979823
JK
50082010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5009
5010 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
5011 newline.
5012 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
5013 (empty verbose non-noisy clear, empty verbose noisy clear)
5014 (empty non-verbose noisy clear): Likewise.
5015
35ec993f
MS
50162010-06-03 Michael Snyder <msnyder@vmware.com>
5017
5018 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
5019 * gdb.base/display.exp: Ditto.
5020 * gdb.base/find.exp: Ditto.
5021 * gdb.base/ifelse.exp: Ditto.
5022 * gdb.base/multi-forks.exp: Ditto.
5023 * gdb.base/recurse.exp: Ditto.
5024 * gdb.base/setshow.exp: Ditto.
5025 * gdb.base/value-double-free.exp: Ditto.
5026 * gdb.base/watch-vfork.exp: Ditto.
5027 * gdb.base/watch_thread_num.exp: Ditto.
5028 * gdb.base/watchpoint-solib.exp: Ditto.
5029 * gdb.base/watchpoint.exp: Ditto.
5030 * gdb.base/watchpoints.exp: Ditto.
5031
5032 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
5033 * gdb.cp/overload.exp: Ditto.
5034 * gdb.cp/virtfunc.exp: Ditto.
5035
5036 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
5037
889bf7c5 5038 * gdb.reverse/watch-precsave.exp:
35ec993f
MS
5039 Replace gdb_test with gdb_test_no_output.
5040
889bf7c5 5041 * gdb.threads/attach-into-signal.exp:
35ec993f
MS
5042 Replace gdb_test with gdb_test_no_output.
5043 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
5044 * gdb.threads/watchthreads.exp: Ditto.
5045 * gdb.threads/watchthreads2.exp: Ditto.
5046
5047 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
5048 * gdb.trace/tfind.exp: Ditto.
5049
c22decce
JB
50502010-06-03 Joel Brobecker <brobecker@adacore.com>
5051
5052 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
5053 successful test if message is the empty string.
5054
fd5700c7
JK
50552010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5056
5057 * gdb.fortran/module.exp (stopped language detection): New test.
5058
f55ee35c
JK
50592010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5060
5061 Support DW_TAG_module as separate namespaces.
5062 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
5063 gdb.fortran/library-module-lib.f90: New.
5064 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
5065 (print i): Remove.
5066 (continue to breakpoint: i-is-1, print var_i value 1)
5067 (continue to breakpoint: i-is-2, print var_i value 2)
5068 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
5069 (print var_d, print var_i value 14, ptype modmany, complete `modm)
5070 (complete `modmany, complete `modmany`, complete `modmany`var)
5071 (show language, setting breakpoint at module): New tests.
5072 * gdb.fortran/module.f90 (module mod): Remove.
5073 (module mod1, module mod2, module modmany, subroutine sub1)
5074 (subroutine sub2, program module): New.
5075
b8e8282f
JK
50762010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5077
5078 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
5079 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
5080 * gdb.cp/anon-union.exp (pass): Rename to ...
5081 (print z 2): ... here.
b8e8282f 5082
019ebafc
MS
50832010-06-02 Michael Snyder <msnyder@vmware.com>
5084
e68d8fd4
MS
5085 * gdb.trace/actions.exp: Use gdb_test_no_output.
5086 * gdb.trace/circ.exp: Ditto.
5087 * gdb.trace/packetlen.exp: Ditto.
5088 * gdb.trace/save-trace.exp: Ditto.
5089 * gdb.trace/tracecmd.exp: Ditto.
5090 * gdb.trace/tsv.exp: Ditto.
5091
12b5d08a
MS
5092 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
5093 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
5094 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
5095 * gdb.threads/manythreads.exp: Ditto.
5096 * gdb.threads/print-threads.exp: Ditto.
5097 * gdb.threads/pthreads.exp: Ditto.
5098 * gdb.threads/schedlock.exp: Ditto.
5099 * gdb.threads/staticthreads.exp: Ditto.
5100 * gdb.threads/thread-specific.exp: Ditto.
5101 * gdb.threads/thread-unwindonsignal.exp: Ditto.
5102 * gdb.threads/threadapply.exp: Ditto.
5103 * gdb.threads/watchthreads.exp: Ditto.
5104 * gdb.threads/watchthreads2.exp: Ditto.
5105
89493308
MS
5106 * gdb.python/py-block.exp: Use gdb_test_no_output.
5107 * gdb.python/py-prettyprint.exp: Ditto.
5108 * gdb.python/py-template.exp: Ditto.
5109 * gdb.python/py-value.exp: Ditto.
5110
5111 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
5112 * gdb.reverse/watch-reverse.exp: Ditto.
5113
5114 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
5115 * gdb.server/ext-run.exp: Ditto.
5116
019ebafc
MS
5117 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
5118 * gdb.dwarf2/dw2-compressed.exp: Ditto.
5119 * gdb.dwarf2/dw2-intercu.exp: Ditto.
5120 * gdb.dwarf2/dw2-intermix.exp: Ditto.
5121 * gdb.dwarf2/dw2-producer.exp: Ditto.
5122 * gdb.dwarf2/mac-fileno.exp: Ditto.
5123
5124 * gdb.gdb/observer.exp: Use gdb_test_no_output.
5125 * gdb.gdb/selftest.exp: Ditto.
5126
5127 * gdb.multi/base.exp: Use gdb_test_no_output.
5128
5129 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
5130
3e0ca3a5
JK
51312010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5132
5133 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
5134
9db70545
MS
51352010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
5136
a8d52276
MS
5137 * gdb.cp/class2.exp: Use gdb_test_no_output.
5138 * gdb.cp/classes.exp: Ditto.
5139 * gdb.cp/extern-c.exp: Ditto.
5140 * gdb.cp/inherit.exp: Ditto.
5141 * gdb.cp/maint.exp: Ditto.
5142 * gdb.cp/mb-inline.exp: Ditto.
5143 * gdb.cp/mb-templates.exp: Ditto.
5144 * gdb.cp/method2.exp: Ditto.
5145 * gdb.cp/misc.exp: Ditto.
5146 * gdb.cp/ovldbreak.exp: Ditto.
5147 * gdb.cp/punctuator.exp: Ditto.
5148 * gdb.cp/templates.exp: Ditto.
5149 * gdb.cp/virtbase.exp: Ditto.
5150
889bf7c5 5151 * gdb.threads/attach-stopped.exp:
9db70545 5152 Replace uses of send_gdb / gdb_expect.
889bf7c5 5153 * gdb.threads/attachstop-mt.exp:
9db70545 5154 Replace uses of send_gdb / gdb_expect.
889bf7c5 5155 * gdb.threads/gcore-thread.exp:
9db70545 5156 Replace uses of send_gdb / gdb_expect.
889bf7c5 5157 * gdb.threads/hand-call-in-threads.exp:
9db70545
MS
5158 Replace uses of send_gdb / gdb_expect.
5159 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 5160 * gdb.threads/print-threads.exp:
9db70545
MS
5161 Replace uses of send_gdb / gdb_expect.
5162 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
5163 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
5164 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
5165
5166 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
5167 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
5168 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
5169 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
5170 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
5171 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
5172 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
5173 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
5174 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
5175 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
5176 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
5177
359cc68c
JK
51782010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5179
5180 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
5181
7d3fe98e
SW
51822010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
5183
5184 * gdb.cp/koenig.exp: Added new test case.
5185 * gdb.cp/koenig.cc: Ditto.
5186
27d3a1a2
MS
51872010-06-01 Michael Snyder <msnyder@vmware.com>
5188
5189 * gdb.base/arithmet.exp: Use gdb_test_no_output.
5190 * gdb.base/arrayidx.exp: Ditto.
5191 * gdb.base/attach.exp: Ditto.
5192 * gdb.base/auxv.exp: Ditto.
5193 * gdb.base/bigcre.exp: Ditto.
5194 * gdb.base/break-always.exp: Ditto.
5195 * gdb.base/break-interp.exp: Ditto.
5196 * gdb.base/break.exp: Ditto.
5197 * gdb.base/breakpoint-shadow.exp: Ditto.
5198 * gdb.base/call-ar-st.exp: Ditto.
5199 * gdb.base/call-sc.exp: Ditto.
5200 * gdb.base/call-signal-resume.exp: Ditto.
5201 * gdb.base/callfuncs.exp: Ditto.
5202 * gdb.base/catch-syscall.exp: Ditto.
5203 * gdb.base/charset.exp: Ditto.
5204 * gdb.base/code-expr.exp: Ditto.
5205 * gdb.base/commands.exp: Ditto.
5206 * gdb.base/cond-expr.exp: Ditto.
5207 * gdb.base/condbreak.exp: Ditto.
5208 * gdb.base/cursal.exp: Ditto.
5209 * gdb.base/cvexpr.exp: Ditto.
5210 * gdb.base/default.exp: Ditto.
5211 * gdb.base/del.exp: Ditto.
5212 * gdb.base/detach.exp: Ditto.
5213 * gdb.base/display.exp: Ditto.
5214 * gdb.base/ena-dis-br.exp: Ditto.
5215 * gdb.base/eval-skip.exp: Ditto.
5216 * gdb.base/foll-fork.exp: Ditto.
5217 * gdb.base/foll-vfork.exp: Ditto.
5218 * gdb.base/frame-args.exp: Ditto.
5219 * gdb.base/funcargs.exp: Ditto.
5220 * gdb.base/gcore-buffer-overflow.exp: Ditto.
5221 * gdb.base/gdbvars.exp: Ditto.
5222 * gdb.base/help.exp: Ditto.
5223 * gdb.base/ifelse.exp: Ditto.
5224 * gdb.base/included.exp: Ditto.
5225 * gdb.base/list.exp: Ditto.
5226 * gdb.base/macscp.exp: Ditto.
5227 * gdb.base/maint.exp: Ditto.
5228 * gdb.base/multi-fork.exp: Ditto.
5229 * gdb.base/overlays.exp: Ditto.
5230 * gdb.base/page.exp: Ditto.
5231 * gdb.base/pending.exp: Ditto.
5232 * gdb.base/pointers.exp: Ditto.
5233 * gdb.base/pr11022.exp: Ditto.
5234 * gdb.base/prelink.exp: Ditto.
5235 * gdb.base/printcmds.exp: Ditto.
5236 * gdb.base/psymtab.exp: Ditto.
5237 * gdb.base/randomize.exp: Ditto.
5238 * gdb.base/relational.exp: Ditto.
5239 * gdb.base/relocate.exp: Ditto.
5240 * gdb.base/remote.exp: Ditto.
5241 * gdb.base/sepdebug.exp: Ditto.
5242 * gdb.base/set-lang-auto.exp: Ditto.
5243 * gdb.base/setshow.exp: Ditto.
5244 * gdb.base/setvar.exp: Ditto.
5245 * gdb.base/signals.exp: Ditto.
5246 * gdb.base/signull.exp: Ditto.
5247 * gdb.base/sigstep.exp: Ditto.
5248 * gdb.base/sizeof.exp: Ditto.
5249 * gdb.base/solib-disc.exp: Ditto.
5250 * gdb.base/store.exp: Ditto.
5251 * gdb.base/structs.exp: Ditto.
5252 * gdb.base/structs2.exp: Ditto.
5253 * gdb.base/subst.exp: Ditto.
5254 * gdb.base/term.exp: Ditto.
5255 * gdb.base/trace-commands.exp: Ditto.
5256 * gdb.base/unwindonsignal.exp: Ditto.
5257 * gdb.base/valgrind-db-attach.exp: Ditto.
5258 * gdb.base/varargs.exp: Ditto.
5259 * gdb.base/watch-cond.exp: Ditto.
5260 * gdb.base/watch_thread_num.exp: Ditto.
5261 * gdb.base/watchpoint-cond-gone.exp: Ditto.
5262 * gdb.base/watchpoint.exp: Ditto.
5263 * gdb.base/whatis-exp.exp: Ditto.
5264
f8d3bf8f
MS
52652010-06-01 Michael Snyder <msnyder@vmware.com>
5266
5267 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
5268 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
5269 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
5270 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
5271 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
5272 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
5273 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
5274 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
5275 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
5276 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
5277 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
5278 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
5279 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
5280 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
5281 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
5282
3f9e0d32
JK
52832010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5284
5285 * gdb.base/commands.exp (begin commands on watch): Remove excessive
5286 trailing newline.
5287 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
5288 * gdb.java/jmisc.exp (p *args\n): Rename to ...
5289 (p *args): ... here and remove excessive trailing newline.
5290
f629457d
JB
52912010-05-31 Joel Brobecker <brobecker@adacore.com>
5292
5293 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
5294
09eef106
JK
52952010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
5296
5297 Accept the new Linux kernel "t (tracing stop)" string.
5298 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
5299 Update comment.
5300 (state_wait) <T (tracing stop)>: New.
5301 (main): Update the state_wait expect string.
5302
94f31136
PA
53032010-05-28 Pedro Alves <pedro@codesourcery.com>
5304
5305 * limits.c, limits.exp: Delete files.
5306 * Makefile.in (clean mostlyclean): Adjust.
5307 * tracecmd.exp: Adjust.
5308
096554ab
JK
53092010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5310
5311 * gdb.base/tui-layout.exp: New.
5312
27d3a1a2 53132010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50 5314
889bf7c5 5315 * gdb.reverse/break-precsave.exp:
bcd2dc50 5316 Replace uses of send_gdb / gdb_expect.
889bf7c5 5317 * gdb.reverse/break-reverse.exp:
bcd2dc50 5318 Replace uses of send_gdb / gdb_expect.
889bf7c5 5319 * gdb.reverse/consecutive-precsave.exp:
bcd2dc50 5320 Replace uses of send_gdb / gdb_expect.
889bf7c5 5321 * gdb.reverse/consecutive-reverse.exp:
bcd2dc50 5322 Replace uses of send_gdb / gdb_expect.
889bf7c5 5323 * gdb.reverse/finish-precsave.exp:
bcd2dc50 5324 Replace uses of send_gdb / gdb_expect.
889bf7c5 5325 * gdb.reverse/finish-reverse.exp:
bcd2dc50 5326 Replace uses of send_gdb / gdb_expect.
889bf7c5 5327 * gdb.reverse/i386-precsave.exp:
bcd2dc50 5328 Replace uses of send_gdb / gdb_expect.
889bf7c5 5329 * gdb.reverse/i386-reverse.exp:
bcd2dc50 5330 Replace uses of send_gdb / gdb_expect.
889bf7c5 5331 * gdb.reverse/i386-sse-reverse.exp:
bcd2dc50 5332 Replace uses of send_gdb / gdb_expect.
889bf7c5 5333 * gdb.reverse/i387-env-reverse.exp:
bcd2dc50 5334 Replace uses of send_gdb / gdb_expect.
889bf7c5 5335 * gdb.reverse/i387-stack-reverse.exp:
bcd2dc50 5336 Replace uses of send_gdb / gdb_expect.
889bf7c5 5337 * gdb.reverse/machinestate-precsave.exp:
bcd2dc50 5338 Replace uses of send_gdb / gdb_expect.
889bf7c5 5339 * gdb.reverse/machinestate.exp:
bcd2dc50 5340 Replace uses of send_gdb / gdb_expect.
889bf7c5 5341 * gdb.reverse/sigall-precsave.exp:
bcd2dc50 5342 Replace uses of send_gdb / gdb_expect.
889bf7c5 5343 * gdb.reverse/sigall-reverse.exp:
bcd2dc50 5344 Replace uses of send_gdb / gdb_expect.
889bf7c5 5345 * gdb.reverse/solib-precsave.exp:
bcd2dc50 5346 Replace uses of send_gdb / gdb_expect.
889bf7c5 5347 * gdb.reverse/solib-reverse.exp:
bcd2dc50 5348 Replace uses of send_gdb / gdb_expect.
889bf7c5 5349 * gdb.reverse/step-precsave.exp:
bcd2dc50 5350 Replace uses of send_gdb / gdb_expect.
889bf7c5 5351 * gdb.reverse/step-reverse.exp:
bcd2dc50 5352 Replace uses of send_gdb / gdb_expect.
889bf7c5 5353 * gdb.reverse/until-precsave.exp:
bcd2dc50 5354 Replace uses of send_gdb / gdb_expect.
889bf7c5 5355 * gdb.reverse/until-reverse.exp:
bcd2dc50 5356 Replace uses of send_gdb / gdb_expect.
889bf7c5 5357 * gdb.reverse/watch-precsave.exp:
bcd2dc50 5358 Replace uses of send_gdb / gdb_expect.
889bf7c5 5359 * gdb.reverse/watch-reverse.exp:
bcd2dc50
MS
5360 Replace uses of send_gdb / gdb_expect.
5361
3def43e0
JK
53622010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5363
5364 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
5365 excessive newline.
5366
27d3a1a2 53672010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
5368
5369 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
5370 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
5371 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
5372 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
5373 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
5374 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
5375 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
5376 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
5377 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
5378 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
5379 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
5380 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
5381 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
5382 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
5383 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
5384 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
5385 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
5386 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
5387 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 5388
27d3a1a2 53892010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 5390
22454424
MS
5391 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
5392 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
5393
5394 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
5395 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
5396 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
5397
889bf7c5 5398 * gdb.reverse/consecutive-reverse.exp:
22454424 5399 Replace uses of send_gdb / gdb_expect.
889bf7c5 5400 * gdb.reverse/consecutive-precsave.exp:
22454424
MS
5401 Replace uses of send_gdb / gdb_expect.
5402
5403 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
5404 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
5405 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 5406 * gdb.mi/mi-ns-stale-regcache.exp:
22454424
MS
5407 Replace uses of send_gdb / gdb_expect.
5408 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
5409 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
5410 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
5411 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
5412 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
5413 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
5414 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
5415 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
5416 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
5417
54182010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 5419
22454424 5420 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 5421
22454424 5422 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 5423
22454424
MS
5424 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
5425 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
5426 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
5427 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
5428 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
5429 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
5430 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
5431 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
5432 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 5433
6e5f2c59
TT
54342010-05-25 Tom Tromey <tromey@redhat.com>
5435
5436 * gdb.base/macscp.exp: Add missing space after setup_kfail.
5437
bbc8b958
TT
54382010-05-25 Tom Tromey <tromey@redhat.com>
5439
5440 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
5441 argument order.
5442 * gdb.base/macscp.exp: Fix setup_kfail argument order.
5443 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
5444 order.
5445 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
5446 order.
5447 * gdb.base/call-sc.exp (setup_kfails): Remove.
5448 (setup_compiler_kfails): Remove.
5449 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
5450 argument order.
5451 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
5452 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
5453 (advancei): Fix setup_kfail argument order.
5454 * gdb.base/radix.exp: Fix setup_kfail argument order.
5455 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
5456 order.
5457 * gdb.base/structs.exp (setup_kfails): Remove.
5458 (setup_compiler_kfails): Fix setup_kfail argument order.
5459 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
5460 order.
5461 * gdb.java/jmain.exp: Fix setup_kfail argument order.
5462 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
5463 setup_kfail argument order.
5464 * gdb.cp/overload.exp: Fix setup_kfail argument order.
5465
83d1babf
TT
54662010-05-25 Tom Tromey <tromey@redhat.com>
5467
5468 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
5469
6acb16a2
MS
54702010-05-25 Michael Snyder <msnyder@vmware.com>
5471
5472 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
5473 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
5474 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
5475 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
5476 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
5477 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
5478 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
5479 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
5480 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
5481 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
5482 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
5483 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
5484 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
5485 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
5486 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
5487 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
5488 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
5489 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
5490 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
5491 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
5492 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
5493 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
5494 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
5495 * gdb.base/default.exp: Replace send_gdb with gdb_test.
5496 * gdb.base/define.exp: Replace send_gdb with gdb_test.
5497 * gdb.base/display.exp: Replace send_gdb with gdb_test.
5498 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
5499 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
5500 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
5501 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
5502 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
5503 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
5504 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
5505 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
5506 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
5507 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
5508 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
5509 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
5510 * gdb.base/help.exp: Replace send_gdb with gdb_test.
5511 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
5512 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
5513 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
5514 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
5515 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
5516 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
5517 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
5518 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 5519 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
5520
55212010-05-25 Doug Evans <dje@google.com>
5522
5523 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
5524 gdb.string_to_argv.
ad3986f0 5525
d3b1e874
TT
55262010-05-21 Tom Tromey <tromey@redhat.com>
5527
5528 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
5529 Call it.
5530 * gdb.dwarf2/pieces.S: Update.
5531 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
5532
cb826367
TT
55332010-05-21 Tom Tromey <tromey@redhat.com>
5534
5535 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
5536 Call it.
5537 * gdb.dwarf2/pieces.c (struct C): New.
5538 (f6): New function.
5539 * gdb.dwarf2/pieces.S: Replace.
5540
74de6778
TT
55412010-05-21 Tom Tromey <tromey@redhat.com>
5542
5543 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
5544 Call it.
5545
afd74c5f
TT
55462010-05-21 Tom Tromey <tromey@redhat.com>
5547
5548 * gdb.dwarf2.pieces.exp: New file.
5549 * gdb.dwarf2.pieces.S: New file.
5550 * gdb.dwarf2.pieces.c: New file.
5551
a7b75dfd 55522010-05-20 Pedro Alves <pedro@codesourcery.com>
889bf7c5 5553 Joel Brobecker <brobecker@adacore.com>
a7b75dfd
JB
5554
5555 * lib/gdb.exp (gdb_test_no_output): New function.
5556 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
5557 when testing commands that should produce no output.
5558
c81c812a
JB
55592010-05-17 Joel Brobecker <brobecker@adacore.com>
5560
5561 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
5562 parameter that we want to watch being a constant.
5563
0cce5bd9
JB
55642010-05-17 Joel Brobecker <brobecker@adacore.com>
5565
5566 * gdb.ada/cond_lang: New testcase.
5567
47050449
JB
55682010-05-17 Joel Brobecker <brobecker@adacore.com>
5569
5570 * lib/gdb.exp (banned_variables): New variable/constant.
5571 (gdb_init): Add write trace on variables listed in banned_variables.
5572 (gdb_finish): Remove write traces on variables listed in
5573 banned_variables.
5574
77c01586
JB
55752010-05-17 Joel Brobecker <brobecker@adacore.com>
5576
5577 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
5578 * gdb.cp/koenig.exp: Likewise.
5579
88d4aea7
PM
55802010-05-14 Phil Muldoon <pmuldoon@redhat.com>
5581
889bf7c5 5582 PR python/11482
88d4aea7
PM
5583
5584 * gdb.python/py-value.exp (test_value_hash): New function.
5585
f5a010c0
PM
55862010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
5587
5588 PR exp/11530.
5589 * gdb.base/gdb11530.c: New file.
5590 * gdb.base/gdb11530.exp: New file.
5591
8ef4892f
JK
55922010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5593
5594 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
5595 * gdb.dwarf2/dw2-modula2-self-type.S: New.
5596
7322dca9
SW
55972010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
5598
5599 * gdb.cp/koenig.exp: New test.
5600 * gdb.cp/koenig.cc: New test program.
5601
02e7ea18
JB
56022010-05-05 Joel Brobecker <brobecker@adacore.com>
5603
5604 Remove the use of prms_id and bug_id throughout the testsuite.
5605
e1c34c5d
PM
56062010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
5607
5608 PR exp/11349.
5609 * testsuite/gdb.cp/ref-types.exp: Add test to examine
5610 use a reference local variable.
5611
8e1d0c49
JK
56122010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5613
5614 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
5615 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
5616 variable different_dir. Move debugfile into a full directory pathname
5617 under DIFFERENT_DIR.
5618 * lib/gdb.exp (separate_debug_filename): Remove.
5619 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
5620 variable debug_dir and mkdir of it. Update function comments.
5621
e66408ed
PA
56222010-04-29 Pedro Alves <pedro@codesourcery.com>
5623
5624 PR gdb/11557
5625
5626 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
5627 files.
5628
d7b32ed3
PM
56292010-04-29 Phil Muldoon <pmuldoon@redhat.com>
5630
889bf7c5 5631 * gdb.python/py-param.exp: New File.
d7b32ed3 5632
6aecb9c2
JB
56332010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
5634
5635 * gdb.base/default.exp: Fix "set language" test.
5636
bdf92a1c
PM
56372010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
5638
5639 PR breakpoints/11531.
5640 * gdb.base/gdb11531.c: New file.
5641 * gdb.base/gdb11531.exp: New file.
5642
3f172e24
TT
56432010-04-26 Tom Tromey <tromey@redhat.com>
5644
5645 * gdb.base/completion.exp: Add tests for completion and deprecated
5646 commands.
5647
64af4c92
JK
56482010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5649
5650 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
5651 (print /x char_array): Escape curly brackets.
5652
492928e4
JK
56532010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5654
5655 Fix deadlock on looped list of loaded shared objects.
5656 * gdb.base/solib-corrupted.exp: New.
5657
66d09542
DE
56582010-04-23 Doug Evans <dje@google.com>
5659
5660 * gdb.python/py-section-script.c: New file.
5661 * gdb.python/py-section-script.exp: New file.
5662 * gdb.python/py-section-script.py: New file.
5663
8bd10a10
CM
56642010-04-20 Chris Moller <cmoller@redhat.com>
5665
5666 PR 10179
5667
5668 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
5669 * gdb.base/pr10179-a.c:
5670 * gdb.base/pr10179-b.c:
5671 * gdb.base/pr10179.exp: New files.
5672
c0201579
JK
56732010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5674
5675 Fix crashes on dangling display expressions.
5676 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
5677 is SEP.
5678 (lib_flags): Remove the "debug" keyword.
5679 (libsepdebug): New variable for iterating new loop.
5680 (save_pf_prefix): New variable wrapping the loop.
5681 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
5682 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
5683
793b0ff8
PM
56842010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
5685
5686 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
5687
097f51f7
PM
56882010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
5689
5690 PR stabs/11479.
5691 * gdb.stabs/gdb11479.exp: New file.
5692 * gdb.stabs/gdb11479.c: New file.
5693
9a22f0d0
PM
56942010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
5695
5696 * gdb.base/charset.c (Strin16, String32): New variables.
5697 * gdb.base/charset.exp (gdb_test): Test correct display
5698 of 16 or 32 bit strings.
5699
57002010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
5701
5702 PR 9167
5703 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
5704 * gdb.cp/pr9167.cc: New file.
5705 * gdb.cp/pr9167.exp: New file.
5706
5707
6e354e5e
PM
57082010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
5709
5710 PR pascal/11492.
5711 * gdb.pascal/gdb11492.pas: New file.
5712 * gdb.pascal/gdb11492.exp: New file.
5713
be942545
JB
57142010-04-20 Joel Brobecker <brobecker@adacore.com>
5715
1667e6e3 5716 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 5717
0c3acc09
JB
57182010-04-20 Joel Brobecker <brobecker@adacore.com>
5719
5720 * gdb.ada/dyn_loc: New testcase.
5721
ec31cde5
CM
57222010-04-20 Chris Moller <cmoller@redhat.com>
5723
5724 PR 10867
889bf7c5 5725
ec31cde5
CM
5726 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
5727 * gdb.cp/pr10687.cc: New file.
5728 * gdb.cp/pr10687.exp: New file.
5729
5730
ce4b0682
SDJ
57312010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5732 Sergio Durigan Junior <sergiodj@redhat.com>
5733
5734 * gdb.fortran/logical.exp: New testcase.
5735 * gdb.fortran/logical.f90: New file.
5736
3436961f
DE
57372010-04-19 Doug Evans <dje@google.com>
5738
5739 * gdb.base/help.exp (help source): Update expected output.
5740
4d836c09
JK
57412010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5742
5743 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
5744 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
5745 gdb_exit and return.
5746 (executable): New variable.
5747 (binfile): Use it.
5748
6149aea9
PA
57492010-04-19 Pedro Alves <pedro@codesourcery.com>
5750
5751 PR breakpoints/8554.
5752
5753 * gdb.trace/save-trace.exp: Adjust.
5754
ed41462c
L
57552010-04-17 H.J. Lu <hongjiu.lu@intel.com>
5756
5757 PR corefiles/11511
5758 * gdb.arch/system-gcore.exp: New.
5759 * gdb.arch/gcore.c: Likewise.
5760
3f7b2faa
DE
57612010-04-15 Doug Evans <dje@google.com>
5762
fa33c3cd
DE
5763 * gdb.python/py-progspace.c: New file.
5764 * gdb.python/py-progspace.exp: New file.
5765
3f7b2faa
DE
5766 * gdb.base/source.exp: Add tests for "source -s".
5767
79f283fe
PM
57682010-04-14 Phil Muldoon <pmuldoon@redhat.com>
5769
5770 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
5771 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
5772 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
5773 * gdb.python/py-mi.exp: New test for to_string returning None.
5774
fc8eb08a
PM
57752010-04-12 Phil Muldoon <pmuldoon@redhat.com>
5776
5777 * gdb.python/py-breakpoint.c: Make result global.
5778
26e197f6
JK
57792010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5780
5781 Fix non-GNU make compatibility.
5782 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
5783
adc36818
PM
57842010-04-09 Phil Muldoon <pmuldoon@redhat.com>
5785
5786 * gdb.python/py-breakpoint.exp: New File.
5787 * gdb.python/py-breakpoint.C: Ditto.
5788
64e17368
SS
57892010-04-08 Stan Shebs <stan@codesourcery.com>
5790
5791 * gdb.trace/actions.exp: Clear default-collect.
5792 * gdb.trace/save-trace.exp: Clear default-collect.
5793
fff5cc64
PM
57942010-04-08 Phil Muldoon <pmuldoon@redhat.com>
5795
5796 * gdb.python/py-value: Add null string variable.
5797 (test_lazy_string): Test zero length, NULL address lazy
5798 strings.
5799
a055a187
L
58002010-04-07 H.J. Lu <hongjiu.lu@intel.com>
5801
5802 * gdb.arch/i386-avx.c: New.
5803 * gdb.arch/i386-avx.exp: Likewise.
5804
5805 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
5806
96e39866
DE
58072010-04-06 Doug Evans <dje@google.com>
5808
5809 * gdb.base/source-test.gdb: New file.
5810 * gdb.base/source.exp: Test source -v.
5811
5984a431
UW
58122010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5813
5814 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
5815
ec8a089a
PM
58162010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
5817
5818 * gdb.stabs/aout.sed: Convert all backslash to double backslash
5819 within one line, unless it is followed by a double quote.
5820 * gdb.stabs/hppa.sed: Idem.
5821 * gdb.stabs/weird.def: Add char and String constants
889bf7c5
PA
5822 * gdb.stabs/weird.exp: Check for correct parsing of
5823 char and string constants.
ec8a089a
PM
5824 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
5825 in .stabs to .stabx substitution.
5826
fce3c1f0
SS
58272010-04-05 Stan Shebs <stan@codesourcery.com>
5828
5829 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
5830 constant global.
5831 * gdb.trace/tfile.exp: Try to print them.
5832
d77f58be
SS
58332010-04-04 Stan Shebs <stan@codesourcery.com>
5834
5835 * gdb.base/completion.exp: Update for new "info watchpoints".
5836 * gdb.base/default.exp: Ditto.
5837 * gdb.base/help.exp: Ditto.
5838 * gdb.base/watchpoint.exp: Ditto.
5839 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
889bf7c5 5840
af54718e
SS
58412010-04-04 Stan Shebs <stan@codesourcery.com>
5842
5843 * gdb.trace/tfile.exp: Sharpen tfind test.
5844
74d1f91e
JK
58452010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5846
5847 * gdb.base/break-entry.exp: New.
5848
eb8e76db 58492010-04-02 Hui Zhu <teawater@gmail.com>
889bf7c5 5850 Michael Snyder <msnyder@vmware.com>
eb8e76db
HZ
5851
5852 * gdb.reverse/i386-sse-reverse.exp: New file.
5853 * gdb.reverse/i386-sse-reverse.c: New file.
5854
bf65cad8
PA
58552010-04-02 Pedro Alves <pedro@codesourcery.com>
5856
5857 * gdb.trace/tfind.exp: Adjust expected disassembly output.
5858
fff87407
SS
58592010-04-01 Stan Shebs <stan@codesourcery.com>
5860
5861 * gdb.trace/actions.exp: Tweak expected output.
5862 * gdb.trace/while-stepping.exp: Tweak expected output.
5863
fe01d668
L
58642010-04-01 H.J. Lu <hongjiu.lu@intel.com>
5865
5866 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
5867
86b17b60
PA
58682010-04-01 Pedro Alves <pedro@codesourcery.com>
5869
5870 * gdb.base/commands.exp: Adjust.
5871 * gdb.cp/extern-c.exp: Adjust.
5872
2c58c0a9
PA
58732010-04-01 Pedro Alves <pedro@codesourcery.com>
5874
5875 * gdb.trace/collection.c (local_test_func): Define a local struct,
5876 and instanciate it.
5877
0db9b91c
PA
58782010-04-01 Pedro Alves <pedro@codesourcery.com>
5879
5880 * gdb.trace/collection.exp (gdb_collect_args_test)
5881 (gdb_collect_argarray_test): XFAIL the tests that assume the
5882 argarray argument's elements are collected.
5883
8072405b
JK
58842010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
5885
5886 * gdb.dwarf2/dw2-bad-parameter-type.exp,
5887 gdb.dwarf2/dw2-bad-parameter-type.S: New.
5888
8bf6485c
SS
58892010-03-31 Stan Shebs <stan@codesourcery.com>
5890
5891 * gdb.trace/save-trace.exp: Test save/restore of default-collect
5892 and tracepoint conditionals.
5893 (gdb_verify_tracepoints): Delete unused return.
5894
fd7f724a
KS
58952010-03-26 Keith Seitz <keiths@redhat.com>
5896
5897 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
5898 appear in the output before main.
5899 Remove KFAIL for gdb/2215 aka bz 9320.
5900
8d9e7719
DE
59012010-03-30 Doug Evans <dje@google.com>
5902
0906dd0b
DE
5903 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
5904 by dejagnu.
5905 * gdb.arch/amd64-dword.exp: Ditto.
5906
8d9e7719
DE
5907 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
5908 match.
5909 (break printf): Ditto.
5910
1da644f0
SW
59112010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
5912
5913 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
5914 gcc < 4.4.
5915 * gdb.cp/shadow.exp: Ditto.
5916
a8121990
PA
59172010-03-29 Pedro Alves <pedro@codesourcery.com>
5918
5919 * gdb.trace/collection.exp (run_trace_experiment): Make sure
5920 "tstart" is silent.
5921
6e79d367
PA
59222010-03-29 Pedro Alves <pedro@codesourcery.com>
5923
5924 * gdb.trace/collection.exp (executable): New.
5925 (binfile): Use it.
5926 (fpreg, spreg, pcreg): New.
5927 (test_register): Use gdb_test_multiple. Pass /x to print.
5928 (prepare_for_trace_test): New.
5929 (run_trace_experiment): Use "continue", not gdb_run_cmd.
5930 (gdb_collect_args_test, gdb_collect_argstruct_test)
5931 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
5932 prepare_for_trace_test.
5933 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
5934 fpreg, spreg and pcreg.
5935 (gdb_collect_expression_test, gdb_collect_globals_test): Use
5936 prepare_for_trace_test.
5937 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
5938 try to detect tracing support here. Don't set breakpoints at
5939 `begin' or `end' here.
5940 <global scope>: Use clean_restart. Run to main before checking
5941 for tracing support. Check for for tracing support here.
5942
09248348
JK
59432010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5944
5945 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
5946 " as $displacement" to "seen displacement message".
5947
d350db38
PA
59482010-03-28 Pedro Alves <pedro@codesourcery.com>
5949
5950 * gdb.trace/while-dyn.exp (executable): New variable.
5951 (binfile): Use it.
5952 (test_while_stepping): New function. Move most tests here. Call
5953 it once for each of the while-stepping, stepping and ws aliases.
5954
907af001
UW
59552010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5956
5957 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
5958 that do not provide the tagless_struct type name at all.
5959 (test_print_anon_union): Do not check value of uninitialized
5960 union member. Do not use cp_test_ptype_class, so we can accept
5961 "long" as well as "long int".
5962
610197fd
PA
59632010-03-26 Pedro Alves <pedro@codesourcery.com>
5964
5965 * gdb.trace/tfile.c (tohex, bin2hex): New.
5966 (write_error_trace_file): Hexify error description.
5967
6c28cbf2
SS
59682010-03-25 Stan Shebs <stan@codesourcery.com>
5969
5970 * gdb.trace/tfile.c: Generate an additional trace file, improve
5971 portability.
5972 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
5973 files in a better way.
5974
e62b8c7e
KS
59752010-03-25 Keith Seitz <keiths@redhat.com>
5976
5977 * gdb.java/jprint.exp: XFAIL printing of static class members
5978 because of GCC debuginfo problem.
5979
82ccf5a5
JK
59802010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5981
5982 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
5983
293e2f9e
DJ
59842010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
5985
5986 * gdb.base/completion.exp: Allow long instead of long int.
5987 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
5988 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
5989 variable p.
5990 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
5991 * gdb.base/pointers.exp: Allow long instead of long int.
5992 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
5993 * gdb.base/step-line.exp: Allow a directory before the source file name.
5994
95a42b64
TT
59952010-03-24 Tom Tromey <tromey@redhat.com>
5996
5997 PR breakpoints/9352:
5998 * gdb.base/default.exp: Update.
5999 * gdb.base/commands.exp: Update.
6000 * gdb.cp/extern-c.exp: Test setting commands on multiple
6001 breakpoints at once.
6002
2390201f
DJ
60032010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
6004
6005 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
6006 if gdb,nosignals.
6007 * gdb.base/watchpoints.c: Do not include unnecessary headers.
6008 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
6009 exited".
6010
8c9a6790
SS
60112010-03-24 Stan Shebs <stan@codesourcery.com>
6012
6013 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
6014
a6c727b2
DJ
60152010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
6016
6017 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
6018 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
6019 argument. Handle "short" and "long".
6020 (Top level): Pass overprototyped output for old_fptr and xptr.
6021
4dfd5423
PA
60222010-03-23 Pedro Alves <pedro@codesourcery.com>
6023
6024 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
6025 format strings and add casts to avoid compiler warnings.
6026
60272010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
6028
6029 * lib/trace-support.exp (gdb_trace_setactions):
6030 Don't expect whitespace after ">" prompt.
6031 * gdb.trace/actions.exp: Adjust for output changes.
6032 * gdb.trace/while-stepping.exp: Likewise.
6033
c847d045
JK
60342010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6035
6036 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
6037 and r157645).
6038
5f717f1d
JK
60392010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6040
6041 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
6042 New.
6043
7d6d51d5
DJ
60442010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
6045
6046 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
6047 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
6048
3b11a015
SS
60492010-03-19 Stan Shebs <stan@codesourcery.com>
6050
6051 * gdb.trace/ax.exp: New file.
6052
d7d158ed
DE
60532010-03-19 Doug Evans <dje@google.com>
6054
6bb85cd1
DE
6055 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
6056 output from gcc.
6057
d7d158ed
DE
6058 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
6059 named /usr/sbin/prelink<foo>.
6060
4daf5ac0
SS
60612010-03-18 Stan Shebs <stan@codesourcery.com>
6062
6063 * gdb.trace/circ.exp: Test circular-trace-buffer.
6064 * gdb.trace/tfile.exp: Update tstatus test.
6065
e8d05480
JB
60662010-03-18 Joel Brobecker <brobecker@adacore.com>
6067
6068 * gdb.dwarf2/dw2-anonymous-func.S: New file.
6069 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
6070
441b986a
UW
60712010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6072
6073 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
6074
4247603b
PA
60752010-03-18 Pedro Alves <pedro@codesourcery.com>
6076
6077 * gdb.base/default.exp: Adjust the expected output of the finish
6078 and until commands when the inferior is not being run.
6079
13387711
SW
60802010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
6081
6082 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
6083 * gdb.cp/nsusing.exp: Ditto.
6084
6e31430b
TT
60852010-03-15 Tom Tromey <tromey@redhat.com>
6086
6087 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
6088 * gdb.cp/userdef.cc (operator==): New function.
6089 (main): New locals mem1, mem2.
6090
e2d69cb5
JZ
60912010-03-15 Jie Zhang <jie@codesourcery.com>
6092
6093 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
6094 Declare and use new loadtimeout variable.
6095
f572f0a9
DJ
60962010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
6097
6098 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
6099 Use gdb_load later.
6100
51f4c0b0
PA
61012010-03-14 Pedro Alves <pedro@codesourcery.com>
6102
6103 * gdb.base/solib-disc.c (main): Make format of fprintf a string
6104 literal. Add missing endlines to prints to stderr.
6105
1c809c68
TT
61062010-03-12 Tom Tromey <tromey@redhat.com>
6107
6108 PR c++/9708:
6109 * gdb.cp/m-static.exp: Add regression test.
6110 * gdb.cp/m-static.cc (method): New method.
6111 (main): Call it.
6112
00ae8fef
SW
61132010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
6114
6115 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
6116 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
6117
759f0f0b
PA
61182010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
6119
21e24d21
PA
6120 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
6121
61222010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
6123
759f0f0b
PA
6124 * lib/gdb.exp (skip_stl_tests): New.
6125 (gdb_compile): Symbian needs -ldl.
6126 (shlib_target_file): New.
6127 (shlib_symbol_file): New.
6128 (gdb_load_shlibs): Use shlib_target_file.
6129 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
6130 * gdb.cp/exception.exp: Use skip_stl_tests.
6131 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
6132 * gdb.cp/try_catch.exp: Use skip_stl_tests.
6133 * gdb.cp/mb-templates.exp: Ditto.
6134 * gdb.base/commands.exp: Relax regexes.
6135 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
6136 shlib_target_file and shlib_symbol_file.
6137 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
6138 sections.
6139 * gdb.base/ending-run.exp: Accept E32Main for symbian.
6140 * gdb.base/solib-disc.exp: Use
6141 shlib_target_file and shlib_symbol_file.
6142 * gdb.base/unload.exp: Don't skip on symbian. Use
6143 shlib_target_file and shlib_symbol_file.
6144 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
6145
6a8f2671 61462010-03-12 Pedro Alves <pedro@codesourcery.com>
889bf7c5 6147
6a8f2671
PA
6148 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
6149 * gdb.trace/report.exp: Adjust for x86 and x86_64.
6150 Issue a tfind end before looking for a tracepoint frame.
6151 * gdb.trace/tfind.exp: Adjust tstatus output.
6152 Adjust disassembly output.
6153 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
6154
ccf26247
JK
61552010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6156
6157 * gdb.base/break-interp.exp: Create new displacement parameter value
6158 for the test_ld calls.
6159 (reach): New parameter displacement, verify its content. New push of
6160 pf_prefix "reach-$func:". Import global expect_out.
6161 (test_core): New parameter displacement, verify its content. New push
6162 of pf_prefix "core:". New command "set verbose on". Import global
6163 expect_out.
6164 (test_attach): New parameter displacement, verify its content. New
6165 push of pf_prefix "attach:". New command "set verbose on". Import
6166 global expect_out.
6167 (test_ld): New parameter displacement, pass it to the reach, test_core
6168 and test_attach calls and verify its content in the "ld.so exit" test.
6169 * gdb.base/prelink.exp: Remove gdb_exit and final return.
6170 (prelink): Update expected text, use gdb_test.
6171
e469c7fb
DE
61722010-03-10 Doug Evans <dje@google.com>
6173
6174 * gdb.base/checkpoint.exp: Fix comment.
6175 Lengthen timeout while doing >600 checkpoints test.
6176 Rename duplicate "kill all one" test to keep test names unique.
6177
60e1c644
PA
61782010-03-10 Pedro Alves <pedro@codesourcery.com>
6179
6180 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
6181
cec808ec
KS
61822010-03-08 Keith Seitz <keiths@redhat.com>
6183
889bf7c5
PA
6184 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
6185 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
6186 (dm_type_long): New function.
6187 (dm_type_unsigned_short): New function.
6188 (dm_type_unsigned_long): New function.
6189 (myint): New typedef.
6190 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
6191 long, unsigned shor and long, operator char*, and typedef.
6192 (test_lookup_operator_functions): Add operator char* test.
6193 (test_paddr_operator_functions): Likewise.
6194 (test_paddr_overloaded_functions): Use probe values for
6195 short, long, and unsigned short and long.
6196 (test_paddr_hairy_functions): If the demangler probe detected
6197 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
6198 demangler.
6199 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
6200 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
6201 and "print null_pmf".
6202 Add test "ptype a.*pmf".
6203 * gdb.cp/overload.exp: Allow optional "int" to appear with
6204 "short" and "long".
6205 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
6206 long expect value for men_overload1arg.
6207 Allow "int" to appear with "short" and "long".
6208 When testing "info break", add argument for main (void).
6209 Also allow "int" to appear with "short" and "long".
6210 Ditto with "unsigned" and "long long".
cec808ec
KS
6211 * gdb.java/jmain.exp: Do not enclose methods names in single
6212 quotes.
6213 * gdb.java/jmisc.exp: Likewise.
6214 * gdb.java/jprint.exp: Likewise.
6215 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
6216
6217 From Jan Kratochvil <jan.kratochvil@redhat.com>:
6218 * gdb.cp/exception.exp (backtrace after first throw)
6219 (backtrace after second throw): Allow a namespace before __cxa_throw.
6220 (backtrace after first catch, backtrace after second catch): Allow
6221 a namespace before __cxa_begin_catch.
6222
6223 * gdb.cp/cpexprs.exp: New file.
6224 * gdb.cp/cpexprs.cc: New file.
6225
6226 From Daniel Jacobowitz <dan@codesourcery.com>
6227 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
6228 to use string_to_regexp.
6229 (ctor, dtor): New functions. Use them to match constructor
6230 and destructor function types.
6231 (Top level): Use runto_main.
6232
f870a310
TT
62332010-03-05 Tom Tromey <tromey@redhat.com>
6234
6235 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
6236 gdb.target_charset.
6237 (pp_ns.to_string): Likewise.
6238
0c199f28
KS
62392010-03-04 Keith Seitz <keiths@redhat.com>
6240
6241 * gdb.cp/overload.exp: Test that the filename portion of a linespec
6242 can be quoted. Test that both the filename and function/line
6243 portions can be quoted at the same time.
6244
c7437ca6
PA
62452010-03-04 Pedro Alves <pedro@codesourcery.com>
6246
6247 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
6248
b111b805
DE
62492010-03-03 Doug Evans <dje@google.com>
6250
24486cb7
DE
6251 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
6252 libc contains libpthread.
6253
b111b805
DE
6254 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
6255 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
6256 of gdb_compile. Add another pattern to match android backtrace.
6257
a0e0ef55
TT
62582010-03-03 Tom Tromey <tromey@redhat.com>
6259
6260 PR gdb/11345:
6261 * gdb.base/printcmds.exp (test_printf): Add test.
6262
1ba53b71
L
62632010-03-02 H.J. Lu <hongjiu.lu@intel.com>
6264
6265 * gdb.arch/amd64-byte.exp: New.
6266 * gdb.arch/amd64-dword.exp: Likewise.
6267 * gdb.arch/amd64-pseudo.c: Likewise.
6268 * gdb.arch/amd64-word.exp: Likewise.
6269 * gdb.arch/i386-byte.exp: Likewise.
6270 * gdb.arch/i386-pseudo.c: Likewise.
6271 * gdb.arch/i386-word.exp: Likewise.
6272
f5dff777
DJ
62732010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
6274
6275 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
6276 types. Add structreg, bitfields, and flags registers.
6277 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
6278 registers.
6279
90884b2b
L
62802010-03-01 H.J. Lu <hongjiu.lu@intel.com>
6281
6282 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
6283 (load_description): Set architecture if defined.
6284
dc00d89f
PM
62852010-02-28 Phil Muldoon <pmuldoon@redhat.com>
6286
6287 * gdb.python/py-frame.exp: Add read_var block tests.
6288 * gdb.python/py-frame.c (block): New function.
6289
0e095b7e
JK
62902010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6291 Daniel Jacobowitz <dan@codesourcery.com>
6292
6293 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
6294
624f1a65
DM
62952010-02-25 David S. Miller <davem@davemloft.net>
6296
6297 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
6298 fix logic for setting all_syscalls_numbers.
6299
f3e9a817
PM
63002010-02-24 Phil Muldoon <pmuldoon@redhat.com>
6301
6302 * Makefile.in: Add py-block and py-symbol.
6303 * gdb.python/py-symbol.exp: New File.
6304 * gdb.python/py-symtab.exp: New File.
6305 * gdb.python/py-block.exp: New File.
6306 * gdb.python/py-symbol.c: New File.
6307 * gdb.python/py-block.c: New File.
6308
f6bbabf0
PM
63092010-02-24 Phil Muldoon <pmuldoon@redhat.com>
6310
6311 PR python/11314
6312 * lib/gdb.exp (skip_python_tests): New function.
6313 * gdb.python/py-cmd.exp: Use skip_python_tests.
6314 * gdb.python/py-frame.exp: Likewise.
6315 * gdb.python/py-function.exp: Likewise.
6316 * gdb.python/py-prettyprint.exp: Likewise.
6317 * gdb.python/py-template.exp: Likewise.
6318 * gdb.python/py-type.exp: Likewise.
6319 * gdb.python/py-value.exp: Likewise.
6320
85d721b8
PA
63212010-02-22 Pedro Alves <pedro@codesourcery.com>
6322
6323 PR9605
6324
6325 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
6326
48e32051
TT
63272010-02-19 Tom Tromey <tromey@redhat.com>
6328
6329 PR c++/8693, PR c++/9496:
6330 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
6331 regression tests.
6332
ac9c0048
JK
63332010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6334
6335 Fix compatibility with m68k as.
6336 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
6337 Use only /* comments */.
6338
57bb97a4
UW
63392010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6340
6341 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
6342 * configure: Regenerate.
6343
7d1bf85c
DJ
63442010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
6345
6346 * gdb.python/py-type.exp: Check for Python support.
6347
061b5285
PA
63482010-02-17 Pedro Alves <pedro@codesourcery.com>
6349
6350 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
6351 `regsub' syntax available.
6352
f8a8bc2c
PA
63532010-02-17 Pedro Alves <pedro@codesourcery.com>
6354
6355 * gdb.base/shmain.c (main): Remove printf call.
6356 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
6357 * gdb.base/unload.c (main): Make format of fprintf a string
6358 literal. Add missing endlines to prints to stderr.
6359 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
6360
6f451e5e
TT
63612010-02-17 Tom Tromey <tromey@redhat.com>
6362
6363 * gdb.java/jprint.java (jprint.props): New field.
6364 * gdb.java/jprint.exp (set_lang_java): Add regression test.
6365
12d79008
PA
63662010-02-17 Pedro Alves <pedro@codesourcery.com>
6367
ef801a0e 6368 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
6369 available.
6370
d252f7e5
DJ
63712010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6372
6373 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
6374 creation to support remote host testing.
6375
67bdab6c
DJ
63762010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6377
6378 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
6379 Recognize "command not found".
6380
bb391223
DJ
63812010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6382
6383 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
6384 single-stepping.
6385
70362913
DJ
63862010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6387
6388 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
6389 if arguments are not supported.
6390
493f3c00
DJ
63912010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6392
6393 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
6394 be const or non-const.
6395
8034c749
DJ
63962010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6397
6398 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
6399 mi_send_resuming_command to send -exec-continue.
6400
791dfb64
DJ
64012010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6402
6403 * gdb.base/list.exp (test_list_filename_and_function): Add test
6404 with single quotes.
6405 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
6406 matching.
6407 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
6408 Add KFAIL'd tests for PR gdb/11289.
6409
7c5fe868
DJ
64102010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6411
6412 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
6413
fdc498b8
DJ
64142010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6415
6416 * gdb.base/comp-dir/subdir/dummy.txt: New file.
6417 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
6418 a temporary directory.
6419
b519e2a6
DJ
64202010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6421
6422 * gdb.base/charset.exp: Use a single regular expression to match
6423 show host-charset and show target-charset output.
6424
74164c56
JK
64252010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6426
6427 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
6428 "Illegal process-id" expect string more exact.
6429 (attach to digits-starting nonsense is prohibited): New.
6430
701ed6dc
JK
64312010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6432
6433 * gdb.base/prelink.exp (set verbose on): New.
6434
889bf7c5 64352010-02-12 Tomas Holmberg <th@virtutech.com>
fa19b4e5
MS
6436
6437 * mi-reverse.exp: New file. Test for reverse option to the
6438 following MI commands: exec-continue, exec-finish, exec-next,
6439 exec-step, exec-next-instruction, exec-step-instruction.
889bf7c5 6440
dadf0e9c
JB
64412010-02-09 Joel Brobecker <brobecker@adacore.com>
6442
6443 * gdb.ada/ptype_tagged_param: New testcase.
6444
714f19d5
TT
64452010-02-08 Tom Tromey <tromey@redhat.com>
6446
6447 PR c++/8017:
6448 * gdb.cp/overload.exp: Add tests.
6449 * gdb.cp/overload.cc (struct K): New.
6450 (namespace N): New.
6451 (main): Call new functions.
6452 (K::staticoverload): Define.
6453
889bf7c5 64542010-02-08 Chris Moller <moller@mollerware.com>
83b10087
CM
6455
6456 PR gdb/10728
6457 * gdb.cp/pr10728-x.h: New file.
6458 * gdb.cp/pr10728-x.cc: New file.
6459 * gdb.cp/pr10728-y.cc: New file.
6460 * gdb.cp/pr10728.exp: New file.
6461 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
6462
889bf7c5 64632010-02-08 Chris Moller <moller@mollerware.com>
99903ae3
CM
6464
6465 PR gdb/9067
6466 * gdb.cp/pr9067.exp: New
6467 * gdb.cp/pr9067.cc: New
6468 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
6469
7b356089
JB
64702010-02-08 Joel Brobecker <brobecker@adacore.com>
6471
6472 * lib/gdb.exp (gdb_test_timeout): New global variable.
6473 Set it to timeout if not already set.
6474 (gdb_init): Reset the value of timeout to gdb_test_timeout.
6475
1be00882
DE
64762010-02-05 Doug Evans <dje@google.com>
6477
6478 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
6479 user.
6480
82856980
SW
64812010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
6482
6483 PR c++/7935:
6484 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
6485
1a334831
TT
64862010-02-04 Tom Tromey <tromey@redhat.com>
6487
6488 * gdb.cp/virtbase.exp: Make test case names unique.
6489
9c3c02fd
TT
64902010-02-02 Tom Tromey <tromey@redhat.com>
6491
6492 * gdb.cp/virtbase.exp: Add regression tests.
6493 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
6494 (main): Instantiate RHC.
6495
0cc2414c
TT
64962010-02-02 Tom Tromey <tromey@redhat.com>
6497
6498 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
6499 type-printing change.
6500
edf3d5f3
TT
65012010-02-02 Tom Tromey <tromey@redhat.com>
6502
6503 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
6504 * gdb.cp/virtbase.cc: New file.
6505 * gdb.cp/virtbase.exp: New file.
6506 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
6507
e4b7f41c
JK
65082010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6509
6510 PR libc/11214:
6511 * gdb.threads/current-lwp-dead.c: Include features.h.
6512 (HAS_NOMMU): New.
6513 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
6514
b381ea14
JK
65152010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6516
6517 * gdb.base/symbol-without-target_section.exp,
6518 gdb.base/symbol-without-target_section.c: New.
6519
c593ac0e
DJ
65202010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
6521
6522 * gdb.base/bigcore.exp: Reset increased timeout.
6523 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
6524
db25f29d
DJ
65252010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
6526
6527 * gdb.base/gcore.exp (capture_command_output): Use
6528 gdb_test_multiple.
6529
f9d67f43
DJ
65302010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
6531
6532 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
6533 * gdb.arch/thumb2-it.exp (test_it_break): New function.
6534 (Top level): Call it.
6535
177321bd
DJ
65362010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
6537
6538 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
6539
97f2ed50
DJ
65402010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
6541
6542 * gdb.base/call-strs.exp, gdb.base/default.exp,
6543 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
6544 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
6545 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
6546 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
6547 gdb.base/watchpoint-solib.exp: Save and restore timeout.
6548 * gdb.base/ending-run.exp: Correct restore of timeout.
6549 * gdb.base/page.exp: Remove unnecessary timeout setting.
6550
e4e2711a
JB
65512010-01-29 Joel Brobecker <brobecker@adacore.com>
6552
6553 * gdb.ada/rec_return: New testcase.
6554
ba581dc1
JB
65552010-01-29 Joel Brobecker <brobecker@adacore.com>
6556
6557 * gdb.ada/call_pn: New testcase.
6558
4ea95be9
DJ
65592010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
6560
6561 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
6562 (Top level): Use it to resume.
6563 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
6564 the Thumb mode displaced stepping error as unsupported.
6565
df83a9bf
SW
65662010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
6567
889bf7c5
PA
6568 * gdb.cp/nsusing.exp: Added more tests.
6569 * gdb.cp/nsrecurs.exp: Ditto.
6570 * gdb.cp/nsusing.cc: Added test functions.
6571 * gdb.cp/nsrecurs.cc: Ditto.
df83a9bf 6572
40b27cdc
JK
65732010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6574
6575 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
6576 absolute directory pathnames in gdb.sum file.
6577
de958931
SW
65782010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
6579
6580 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
6581 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
6582
708ead4e
TT
65832010-01-26 Tom Tromey <tromey@redhat.com>
6584
6585 PR exp/7643:
6586 * gdb.base/printcmds.exp (test_print_string_constants): Remove
6587 setup_kfail.
6588
b14e635e
SW
65892010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
6590
6591 * gdb.cp/nsrecurs.exp: New test.
6592 * gdb.cp/nsrecurs.cc: New test program.
6593 * gdb.cp/nsstress.exp: New test.
6594 * gdb.cp/nsstress.cc: New test program.
6595 * gdb.cp/nsdecl.exp: New test.
6596 * gdb.cp/nsdecl.cc: New test program.
6597
8540c487
SW
65982010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
6599
6600 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
6601 imported into file scope.
6602 Marked test as xfail.
6603 * gdb.cp/namespace-using.cc (marker5): New function.
6604 * gdb.cp/shadow.exp: New test.
6605 * gdb.cp/shadow.cc: New test program.
6606 * gdb.cp/nsimport.exp: New test.
6607 * gdb.cp/nsimport.cc: New test program.
6608
421d5d99
TT
66092010-01-25 Tom Tromey <tromey@redhat.com>
6610
6611 PR gdb/11049:
6612 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
6613 with "set print null-stop on".
6614
691f8dc1
JK
66152010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6616
6617 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
6618 Adjust it for DISASSEMBLY_OMIT_FNAME.
6619
0b92b5bb
TT
66202010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6621
6622 PR symtab/11199:
6623 * gdb.dwarf2/member-ptr-forwardref.exp,
6624 gdb.dwarf2/member-ptr-forwardref.S: New.
6625
23787403
JK
66262010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6627
6628 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
6629 (thread1_func): Protect thread1_tid with thread1_tid_cond by
6630 thread1_tid_mutex. Remove gdbstop_mutex handling.
6631 (thread2_func): Protect thread2_tid with thread2_tid_cond by
6632 thread2_tid_mutex. Remove gdbstop_mutex handling.
6633 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
6634 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
6635 pthread_cond_wait conditionalizations by while loops.
6636
b966cb8a
TT
66372010-01-20 Tom Tromey <tromey@redhat.com>
6638
6639 PR backtrace/10770:
6640 * gdb.dwarf2/pr10770.exp: New file.
6641 * gdb.dwarf2/pr10770.c: New file.
6642 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
6643
fcae584b
VP
66442010-01-20 Vladimir Prus <vladimir@codesourcery.com>
6645
6646 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
6647 that target was removed, and the test always runs native anyway.
6648
a0f49112
JK
66492010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6650
6651 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
6652 gdb.base/watchpoint-cond-gone-stripped.c: New.
6653
ceeb3d5a
TT
66542010-01-19 Tom Tromey <tromey@redhat.com>
6655
6656 PR c++/8000:
6657 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
6658 existing tests.
6659 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
6660 (main): Use AAA::SomeEnum.
6661
dd322c54
JK
66622010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6663
6664 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
6665 (test_ignore_count): Declare line_callme_body global.
6666 (run to breakpoint with ignore count): Use line_callme_body.
6667 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
6668 (set line_main_hello, set line_main_return): Reindent.
6669 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
6670 New.
6671 (continue to callee4): Use line_callee4_body.
6672 (check *stopped from CLI command): Use line_callee4_next.
6673 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
6674 (set line_main_hello, set line_main_return): Reindent.
6675 (set line_callee4_head, set line_callee4_body): New.
6676 (continue to callee4): Use line_callee4_body.
6677
4e8f195d
TT
66782010-01-18 Tom Tromey <tromey@redhat.com>
6679
6680 PR c++/9680:
6681 * gdb.cp/casts.cc: Add new classes and variables.
6682 * gdb.cp/casts.exp: Test new operators.
6683
9e14a9ba
JB
66842010-01-18 Tom Tromey <tromey@redhat.com>
6685 Thiago Jung Bauermann <bauerman@br.ibm.com>
6686
6687 * gdb.python/source2.py: New file.
6688 * gdb.python/source1: New file.
6689 * gdb.python/python.exp: Test "source" command.
6690
00bf0b85
SS
66912010-01-15 Stan Shebs <stan@codesourcery.com>
6692
6693 * gdb.trace/tfile.c: New file.
6694 * gdb.trace/tfile.exp: New file.
889bf7c5 6695
55235ad7
JK
66962010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6697
6698 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
6699
9f2982ff
JK
67002010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6701
6702 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
6703
bbfba9ed
JK
67042010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6705
6706 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
6707 (libfunc): New parameter action. Implement also selectable "sleep".
6708 * gdb.base/break-interp-main.c: Include assert.h.
6709 (libfunc): New parameter action.
6710 (main): New parameters argc and argv. Assert argc. Pass argv.
6711 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
6712 (test_attach): New proc.
6713 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
6714 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
6715
61f0d762
JK
67162010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6717
6718 * gdb.base/break-interp.exp (test_core): New proc.
6719 (test_ld): Call it.
6720
06a6f270
JK
67212010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6722
6723 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
6724 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
6725 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
6726 and gdb_compile_shlib. Use new -Wl compiler options.
6727 (dl bt, main bt): New tests.
6728
51bee8e9
JK
67292010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6730
6731 Support PIEs with no symfile_objfile.
6732 * gdb.base/break-interp.exp: New argument at the test_ld calls.
6733 (test_ld): New parameter trynosym.
6734 (test_ld <$trynosym>): New block.
6735
b8040f19
JK
67362010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6737
6738 * gdb.base/break-interp.exp: New file.
6739
be759fcf
PM
67402010-01-13 Phil Muldoon <pmuldoon@redhat.com>
6741
6742 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
6743 * gdb.python/py-prettyprint.py (pp_ls): New printer.
6744 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
6745 test.
6746 * gdb.python/py-prettyprint.c: Define lazystring test structure.
6747 * gdb.python/py-mi.exp: Add lazy string test.
6748
dc146f7c
VP
67492010-01-13 Vladimir Prus <vladimir@codesourcery.com>
6750
6751 * lib/mi-support.exp (mi_check_thread_states): Handle
6752 core number in thread listing.
6753
b4ba55a1
JB
67542010-01-12 Joel Brobecker <brobecker@adacore.com>
6755
6756 * gdb.base/maint.exp: Adjust the expected output for the
6757 "maint print type" test. Use gdb_test_multiple instead of
6758 gdb_sent/gdb_expect.
6759
08e24bd4
DE
67602010-01-11 Doug Evans <dje@google.com>
6761
6496a609
DE
6762 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
6763 from gdbserver_download. All callers updated.
6764
08e24bd4
DE
6765 * gdb.server/ext-run.exp: "info os processes" requires xml support.
6766
b5cfddf5
JK
67672010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6768
6769 Implement binary numbers parsing.
6770 * gdb.base/printcmds.exp (test_integer_literals_accepted)
6771 (test_integer_literals_rejected): New binary tests.
6772
3725885a
RW
67732010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6774
6775 * gdb.cell/configure: Regenerate.
6776
37aeb5df
JK
67772010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6778
6779 * gdb.base/corefile.exp: Move the core finding block out and call it as
6780 core_find, new variable $corefile, replace corefile by $corefile and
6781 [file tail $corefile] for usage vs. test names resp.
6782 * lib/gdb.exp (core_find): Move it as a new function here. New
6783 parameter binfile and deletefiles. New variable $destcore. Pre-delete
6784 $destcore. Return "" on error.
6785
d521f563
JK
67862010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6787
6788 Workaround PR binutils/10802.
6789 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
6790 (twice).
6791
28f24826
DJ
67922010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
6793
6794 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
6795
2de75e71
JB
67962010-01-08 Joel Brobecker <brobecker@adacore.com>
6797
6798 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
6799 call, to avoid interruption.
6800
fe00719b 68012010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
6802
6803 * gdb.stabs/weird.def (args93): New.
6804
d0ef5df8
DE
68052010-01-07 Doug Evans <dje@google.com>
6806
6807 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
6808
3a08d52f
TT
68092010-01-07 Tom Tromey <tromey@redhat.com>
6810
6811 * gdb.base/source.exp: Use correct line number.
6812
7a697b8d
SS
68132010-01-05 Stan Shebs <stan@codesourcery.com>
6814
6815 * gdb.trace/tracecmd.exp: Test ftrace.
6816
7803799a
UW
68172010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6818
6819 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
6820
c54eabfa
JK
68212010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6822
6823 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
6824 "uint_for_mi_testing".
6825
02e7ef19
JB
68262010-01-01 Joel Brobecker <brobecker@adacore.com>
6827
6828 Test indented comment in file being sourced.
6829 * gdb.base/commands.exp: Test indented comment in file being sourced.
6830
abd775ce
JB
68312010-01-01 Joel Brobecker <brobecker@adacore.com>
6832
6833 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
6834 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
6835 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
6836 notice.
6837
79b55b82
JB
68382010-01-01 Joel Brobecker <brobecker@adacore.com>
6839
6840 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
6841 notice.
6842
8997583e
JK
68432010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6844
6845 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
6846 missing $after_stopped and comma (,) expectation.
6847
6da95a67
SS
68482009-12-31 Stan Shebs <stan@codesourcery.com>
6849
6850 * gdb.trace/actions.exp: Test teval action.
889bf7c5 6851
218d2fc6
TJB
68522009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
6853
6854 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
6855 (top level): Call test_watchpoint_in_big_blob.
6856 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
6857 watchpoints.
6858 (func3): Write to buf.
6859
236f1d4d
SS
68602009-12-29 Stan Shebs <stan@codesourcery.com>
6861
6862 * gdb.trace/actions.exp: Test default-collect.
889bf7c5 6863
f61e138d
SS
68642009-12-28 Stan Shebs <stan@codesourcery.com>
6865
6866 * gdb.trace/tsv.exp: New file.
6867 * gdb.base/completion.exp: Update ambiguous info output.
889bf7c5 6868
0219b378
DJ
68692009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
6870
6871 * gdb.base/find.c (main): Reference search buffers.
6872 * gdb.base/included.c (main): Reference integer.
6873 * gdb.base/ptype.c (charfoo): Declare.
6874 (intfoo): Call charfoo.
6875 * gdb.base/scope0.c (useitp): New function.
6876 (usestatics): Use useitp.
6877 (useit): Add a type for val.
6878 * gdb.base/scope1.c (useit1): Take a pointer argument.
6879 (usestatics1): Update calls to useit1.
6880 * gdb.cp/call-c.cc: Declare foo.
6881 (main): Call foo.
6882 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
6883 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
6884 (main): Call C::ensureRefs and ensureOtherRefs.
6885 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
6886 variables.
6887 (ensureOtherRefs): New function.
6888 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
6889 * gdb.cp/templates.cc (main): Call t5i.value.
6890
3f78692f
JK
68912009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6892
6893 Fix compatibility with G++-4.5.
6894 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
6895 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
6896 (uncaught return): Remove.
6897
429374b8
JK
68982009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6899 Phil Muldoon <pmuldoon@redhat.com>
6900
6901 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
6902 (bp_location13, bp_location14, bp_location17, bp_location18)
6903 (marker3_proto, marker4_proto): New variables.
6904 (breakpoint info): Update output.
6905 (run until breakpoint at marker3, run until breakpoint at marker4): New
6906 tests.
6907
859825b8
JK
69082009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6909
6910 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
6911 Replace the printf call of Y by provided "y-set-1" label. New block
6912 for the second shared library.
6913 * gdb.base/unload.exp: Compile also the second library, call
6914 gdb_load_shlibs also for it. Use now gdb_breakpoint.
6915 (single pending breakpoint info): Rename to ...
6916 (pending breakpoint info before run): ... this extended test.
6917 (libfile2, libname2, libsrcfile2, libsrc2)
6918 (lib_sl2): New variables.
6919 (exec_opts): Set also SHLIB_NAME2.
6920 (pending breakpoint info on first run at shrfunc1)
6921 (pending breakpoint info on second run at shrfunc1)
6922 (pending breakpoint info on second run at shrfunc2)
6923 (print y from libfile, print y from libfile2): New tests.
6924 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
6925 * gdb.base/unloadshr2.c: New.
6926
e6a386cd
HZ
69272009-12-22 Hui Zhu <teawater@gmail.com>
6928
6929 * gdb.reverse/sigall-reverse.exp: Adjust.
6930
9e19b45e
VP
69312009-12-21 Vladimir Prus <vladimir@codesourcery.com>
6932
6933 PR gdb/10884
6934
6935 * gdb.mi/var-cmd.c (do_bitfield_tests): New
6936 (main): Call do_bitfield_tests.
aacf5b1e 6937 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 6938
d53a7b30
JB
69392009-12-20 Joel Brobecker <brobecker@adacore.com>
6940
6941 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
6942 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
6943 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
6944 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
6945 gdb.modula2/unbounded1.c: Update copyright header.
6946
191ca0a1
CM
69472009-12-10 Chris Moller <moller@mollerware.com>
6948
6949 PR gdb/9399
6950 * gdb.cp/virtfunc2.exp: New tests
6951 * gdb.cp/virtfunc2.cc: New tests
6952 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
6953
0fa6cf1b
MS
69542009-12-10 Oza Pawandeep (paawan1982@yahoo.com
6955
6956 * gdb.reverse/i387-env-reverse.c: New file.
6957 * gdb.reverse/i387-env-reverse.exp: New file.
6958 * gdb.reverse/i387-stack-reverse.c: New file.
6959 * gdb.reverse/i387-stack-reverse.exp: New file.
6960
361ae042
PM
69612009-12-08 Phil Muldoon <pmuldoon@redhat.com>
6962
6963 * gdb.python/py-type.exp (test_range): New test.
6964
bfd31e71
PM
69652009-12-03 Phil Muldoon <pmuldoon@redhat.com>
6966
6967 PR python/10805
6968
6969 * gdb.python/py-type.exp: New file.
6970 * gdb.python/py-type.c: New file.
6971 * Makefile.in: Add py-type.
6972
57a1d736
TT
69732009-12-03 Tom Tromey <tromey@redhat.com>
6974
6975 * gdb.python/py-value.exp (test_parse_and_eval): New
6976 function.
6977
1f3b5d1b
PP
69782009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
6979
6980 PR gdb/11022
6981
6982 * gdb.base/pr11022.exp: New test.
889bf7c5
PA
6983 * gdb.base/pr11022.c: New test.
6984
8b7dbdc9
JK
69852009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6986
6987 Fix spurious false FAILs.
6988 * gdb.base/structs.c (chartest): New.
6989 (main): Fill-in chartest.
6990 * gdb.base/structs.exp (anychar_re, first): New.
6991 (start_structs_test): Import global anychar_re and first.
6992 New gdb_test call "set print elements 300; ${testfile}"
6993 (start_structs_test <$first>): New block.
6994 (any): Import global anychar_re. New variable ac. Use ${ac}.
6995
6a53b2ec
JK
69962009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6997
6998 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
6999
d7167b4c
JK
70002009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7001
7002 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
7003 Force $srcfile file.
7004 * gdb.base/foll-fork.c (callee): Comment out the printf call.
7005
b1798462
UW
70062009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7007
7008 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
7009 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
7010 * gdb.threads/watchthreads-reorder.exp: Likewise.
7011
b6199126
DJ
70122009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
7013
7014 PR gdb/8704
7015
7016 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
7017 "if", and "thread". Correct matching in the previous test.
7018
b22a0510
DJ
70192009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
7020
7021 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
7022
930636d2
MS
70232009-11-23 Michael Snyder <msnyder@vmware.com>
7024
7025 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
7026 * gdb.reverse-watch-precsave.exp: Ditto.
7027
21a0512e
PP
70282009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
7029
7030 * gdb.asm/asm-source.exp: Adjust.
7031 * gdb.base/help.exp: Adjust.
889bf7c5 7032
fc30d5e0
PA
70332009-11-22 Pedro Alves <pedro@codesourcery.com>
7034
7035 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
7036 (do_syscall_tests_without_xml): Set data-directory to
7037 /the/path/to/nowhere.
7038
f6bc2008
PA
70392009-11-21 Pedro Alves <pedro@codesourcery.com>
7040
7041 * gdb.threads/local-watch-wrong-thread.c,
7042 gdb.threads/local-watch-wrong-thread.exp: New files.
7043
8c2fb5de
PA
70442009-11-21 Pedro Alves <pedro@codesourcery.com>
7045
7046 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
7047 assume new `regsub' syntax available.
7048
ebec9a0f
PA
70492009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7050
a79d3c27
JK
7051 * gdb.base/watchpoint-hw-hit-once.exp,
7052 gdb.base/watchpoint-hw-hit-once.c: New.
7053
70542009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7055
7056 * gdb.threads/watchthreads-reorder.exp,
7057 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 7058
276a961b
MK
70592009-11-17 Nathan Sidwell <nathan@codesourcery.com>
7060
7061 * gdb.xml/tdesc-regs.exp: Use for m68k.
7062
4867c1fb
PA
70632009-11-15 Pedro Alves <pedro@codesourcery.com>
7064
7065 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
7066
f6838f81
DJ
70672009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7068
7069 * lib/gdb.exp (current_target_name): New procedure.
7070 (gdb_wrapper_target): New variable.
7071 (gdb_wrapper_init): Set gdb_wrapper_target.
7072 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
7073 wrapper.
7074
4ac4dd3f
DJ
70752009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7076
7077 * gdb.base/remote.exp: Delete the slowest load test.
7078 Do not load with fixed packet sizes.
7079
a7881759
DJ
70802009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7081
7082 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
7083
97a5b505
DJ
70842009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7085
7086 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
7087 srcfile when setting a breakpoint.
7088
d3e1fc54
DJ
70892009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
7090
7091 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
7092 macros.
7093
7cbcbded
DJ
70942009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7095
7096 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
7097 to be in memory.
7098 * gdb.base/display.c (force_mem): New.
7099 (do_loops): Use it. Add breakpoint comments.
7100 (do_vars): Add a breakpoint comment.
7101 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
7102 line numbers.
7103
bdea3a92
NF
71042009-11-13 Nathan Froyd <froydnj@codesourcery.com>
7105
7106 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
7107 instead of a bare "run".
7108
269f82e5
PP
71092009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
7110
7111 * gdb.python/py-prettyprint.exp: Adjust.
889bf7c5 7112
a69b7d9d
DJ
71132009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7114
7115 * lib/cell.exp (skip_cell_tests): Clean up test files before
7116 returning.
7117
b598bfda
DJ
71182009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7119
7120 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
7121 and the breakpoint menu. Do not call perror if a prompt is seen.
7122 Consume the following GDB prompt.
7123 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
7124 * gdb.cp/namespace.exp: Use gdb_test.
7125 * gdb.cp/templates.exp: Use gdb_test.
7126 (test_template_breakpoints): Use gdb_test_multiple.
7127
87728fa0
DJ
71282009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7129
7130 * gdb.base/break1.c (struct some_struct, values): Move earlier.
7131 (marker4): Reference values.
7132
b67c692f
DJ
71332009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7134
7135 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
7136 is missing.
7137
f0df251a
DJ
71382009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7139
7140 * gdb.base/break.c (need_malloc): New.
7141 * gdb.base/constvars.c (main): Reference crass and crisp.
7142 * gdb.base/gdb1821.c (main): Reference bar.
7143 * gdb.cp/gdb1355.cc (main): Reference s1.
7144 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
7145 (main): Call them.
7146 * gdb.cp/hang2.cc (dummy2): Define.
7147 * gdb.cp/hang3.cc (dummy3): Define.
7148 * gdb.cp/m-data.cc (main): Reference shadow.
7149
bdf7534a
NF
71502009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7151 Nathan Froyd <froydnj@codesourcery.com>
7152
7153 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
7154 remote host.
7155
f24fce77
NF
71562009-11-12 Nathan Froyd <froydnj@codesourcery.com>
7157
7158 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
7159 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
7160 * gdb.dwarf2/dw2-compressed.exp: Likewise.
7161 * gdb.dwarf2/dw2-intercu.exp: Likewise.
7162 * gdb.dwarf2/dw2-intermix.exp: Likewise.
7163 * gdb.dwarf2/dw2-producer.exp: Likewise.
7164 * gdb.dwarf2/mac-fileno.exp: Likewise.
7165 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
7166 py-prettyprint.py to the remote host.
7167 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
7168
40f0318e
KS
71692009-11-11 Keith Seitz <keiths@redhat.com>
7170
7171 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
7172 use it instead of "Foo".
7173 * gdb.cp/classes.exp (do_tests): Add a test to access
7174 a method through a typedef'd class name.
7175
f3d9f7fb
NF
71762009-11-11 Nathan Froyd <froydnj@codesourcery.com>
7177
7178 * gdb.base/long_long.exp: Permit leading zeros on floating-point
7179 exponents.
7180 * gdb.base/pointers.exp: Likewise.
7181 * gdb.cp/ref-types.exp: Likewise.
7182
a4216f37
KS
71832009-11-11 Keith Seitz <keiths@redhat.com>
7184
7185 * gdb.cp/cplusfuncs.cc (class foo): Add operators
7186 new[] and delete[].
7187 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
7188 "void".
7189 (probe_demangler): Remove all single-quoting of
7190 method and variable names.
7191 (info_func_regexp): Remove the word "void" from any
7192 occurrence of "(void)".
7193 (print_addr_2): Remove all single-quoting of
7194 method names.
7195 (print_addr_2_kfail): Likewise.
7196 (print_addr): Single-quote C function names before
7197 passing to print_addr_2.
7198 (test_paddr_operator_functions): Remove single-quoting
7199 for method names.
7200 Add tests for operator new[] and operator delete[].
7201
9b14d7aa
JK
72022009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7203
7204 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
7205
85feb311
KS
72062009-11-09 Keith Seitz <keiths@redhat.com>
7207
7208 * gdb.cp/overload.exp: Add tests for resolving overloaded
7209 methods in expression parsing/evaluation.
7210
fa335448
DJ
72112009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
7212
7213 * lib/gdb.exp (default_gdb_version): Use --version instead of
7214 --command.
7215
ec3c07fc
NS
72162009-11-10 Nathan Sidwell <nathan@codesourcery.com>
7217
7218 * lib/gdb.exp (gdb_compile_test): New.
7219 (skip_ada_tests, skip_java_tests): New.
7220 (gdb_compile): Use gdb_compile_test for f77.
7221 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
7222 * lib/java.exp (compile_java_from_source): Remove runtests check,
7223 use gdb_compile_test to record result.
7224 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
7225 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
7226 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
7227 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
7228 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
7229 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
7230 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
7231 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
7232 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
7233 adjust gdb_compile invocations.
7234
b8b4e42b
JK
72352009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7236
7237 * Makefile.in (abs_builddir): New.
7238 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
7239 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
7240 `$(abs_builddir)/site.exp'.
7241
f8b7eaf3
DJ
72422009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
7243
7244 * config/m68k-emc.exp, lib/emc-support.exp,
7245 gdb.trace/gdb_c_test.c: Delete.
7246 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
7247 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
7248 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
7249 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
7250 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
7251 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
7252 casing for m68k-*-elf.
7253
c4187697
NS
72542009-11-03 Pedro Alves <pedro@codesourcery.com>
7255
7256 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
7257 * gdb.arch/i386-prologue.exp: Likewise.
7258 * gdb.arch/i386-unwind.exp: Likewise.
7259
db16b772
DJ
72602009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
7261
7262 * lib/gdb.exp (gdb_expect): Fix timeout typo.
7263
bcf71277
DJ
72642009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
7265
7266 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
7267
0105cee2
DJ
72682009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
7269
7270 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
7271
24ddea62
JK
72722009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7273
7274 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
7275
287ccc17
JK
72762009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7277
7278 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
7279 * gdb.base/sepdebug2.c: New file.
7280
08bca259 72812009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
7282
7283 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
7284 the modified warnings for catch syscall. Verify if GDB was compiled
7285 with support for lib expat, and choose which tests to run depending
7286 on this.
7287
5d4e2b76
VP
72882009-10-30 Vladimir Prus <vladimir@codesourcery.com>
7289
7290 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
7291 that composite commands are parsed OK. And also test
7292 that breakpoint commands do work.
7293
240e538a
MS
72942009-10-23 Michael Snyder <msnyder@vmware.com>
7295
7296 gdb.reverse/consecutive-precsave.exp: Change expect pattern
7297 to allow for new disassembly style.
7298
9c419145
PP
72992009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
7300
7301 * gdb.asm/asm-source.exp: Adjust.
889bf7c5 7302
02506ff1
MS
73032009-10-22 Michael Snyder <msnyder@vmware.com>
7304
7305 * gdb.reverse/break-precsave.exp: New test.
7306 * gdb.reverse/consecutive-precsave.exp: Ditto.
7307 * gdb.reverse/finish-precsave.exp: Ditto.
7308 * gdb.reverse/i386-precsave.exp: Ditto.
7309 * gdb.reverse/machinestate-precsave.exp: Ditto.
7310 * gdb.reverse/sigall-precsave.exp: Ditto.
7311 * gdb.reverse/solilb-precsave.exp: Ditto.
7312 * gdb.reverse/step-precsave.exp: Ditto.
7313 * gdb.reverse/until-precsave.exp: Ditto.
7314 * gdb.reverse/watch-precsave.exp: Ditto.
7315
4cf866a3
MS
73162009-10-22 Michael Snyder <msnyder@vmware.com>
7317
7318 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
7319 for gdb_expect. Adjust one test's expect strings for the new
7320 format of disassemble.
7321 * gdb.reverse/finish-reverse.exp: Delete 'return'.
7322 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
7323 gdb_test_multiple.
7324 * gdb.reverse/step-reverse.exp: Delete 'return'.
7325 * gdb.reverse/until-reverse.exp: Delete blank lines.
7326 * gdb.reverse/watch-reverse.exp: Delete blank lines.
7327
2b28d209
PP
73282009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
7329
7330 * gdb.base/consecutive.exp: Adjust.
7331 * gdb.base/display.exp: Likewise.
7332 * gdb.base/pc-fp.exp: Likewise.
7333 * gdb.base/sigbpt.exp: Likewise.
889bf7c5 7334
33b9c32b
MS
73352009-10-19 Michael Snyder <msnyder@vmware.com>
7336
7337 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
7338 * gdb.reverse/finish-reverse.c: Ditto.
7339 * gdb.reverse/sigall-reverse.c: Ditto.
7340 * gdb.reverse/solib-reverse.c: Ditto.
7341 * gdb.reverse/step-reverse.c: Ditto.
7342 * gdb.reverse/watch-reverse.c: Ditto.
7343
6c95b8df
PA
73442009-10-19 Pedro Alves <pedro@codesourcery.com>
7345 Stan Shebs <stan@codesourcery.com>
7346
7347 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
7348 * gdb.base/foll-exec.exp: Adjust to expect a process id before
7349 "Executing new program".
7350 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
7351 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
7352 left listed after having been killed.
7353 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
7354 * gdb.base/maint.exp: Adjust test.
7355
7356 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
7357 * gdb.multi/Makefile.in: New.
7358 * gdb.multi/base.exp: New.
7359 * gdb.multi/goodbye.c: New.
7360 * gdb.multi/hangout.c: New.
7361 * gdb.multi/hello.c: New.
7362 * gdb.multi/bkpt-multi-exec.c: New.
7363 * gdb.multi/bkpt-multi-exec.exp: New.
7364 * gdb.multi/crashme.c: New.
7365
279017b7
TG
73662009-10-13 Tristan Gingold <gingold@adacore.com>
7367
7368 * gdb.base/sepdebug.exp: Check debug info are found.
7369
0413d738
PA
73702009-10-08 Pedro Alves <pedro@codesourcery.com>
7371
7372 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
7373 bits.
7374
c628eecc
JK
73752009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7376
7377 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
7378
38af1bfe
JB
73792009-10-07 Joel Brobecker <brobecker@adacore.com>
7380
7381 * gdb.base/watchpoints.c: Add copyright header. Reformat one
7382 of the comments.
7383
2b0adecd
PM
73842009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
7385
7386 * gdb.base/annota1.exp: Remove obsolete match_max increase.
7387 * gdb.base/annota3.exp: Idem.
7388 * gdb.base/maint.exp: Idem.
7389
8d417781
PM
73902009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
7391
889bf7c5 7392 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8d417781
PM
7393 to default.
7394
bb61102d
PM
73952009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
7396
889bf7c5 7397 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
bb61102d
PM
7398 mingw and cygwin targets.
7399
ace5c364
PM
74002009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
7401 Pedro Alves <pedro@codesourcery.com>
7402
889bf7c5 7403 * lib/gdb.exp (gdb_compile): Avoid adding
ace5c364
PM
7404 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
7405
c2d494a0
PM
74062009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
7407
e1b52ce2
PM
7408 * gdb.base/shr1.c: Use %p in format string.
7409 * gdb.base/unload.c: Avoid warning in fprintf.
7410 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 7411
209f53f5
PM
74122009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
7413
7414 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
7415 long type.
7416 (test_unlink): Correct printf string.
7417 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
7418 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
7419
8172766a
JK
74202009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7421
7422 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
7423 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
7424 * gdb.arch/ia64-breakpoint-shadow.S: New file.
7425
0f73703c
UW
74262009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7427
7428 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
7429 * gdb.objc/nondebug.exp: Likewise.
7430
b32306ca
UW
74312009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7432
7433 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
7434 target_info setting.
7435
7436 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
7437 that detect new threads during "info threads".
7438
0057022f
UW
74392009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7440
7441 * gdb.threads/manythreads.c (main): Increase thread stack size
7442 to 2*PTHREAD_STACK_MIN.
7443 * gdb.threads/multi-create.c (main): Likewise.
7444 (create_function): Likewise.
7445
f29c0325
UW
74462009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7447
7448 * gdb.base/dump.exp: Pass difference of pointer types instead
7449 of integer types as offset to restore in intarr3.srec case.
7450
fcb34849
UW
74512009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7452
7453 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
7454
d5142e3b
UW
74552009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7456
7457 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
7458
087b74b2 74592009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
889bf7c5 7460
087b74b2
PM
7461 New test for two watchpoints, with disabling of
7462 the first inserted.
7463 * testsuite/gdb.base/watchpoints.c: New file.
7464 * testsuite/gdb.base/watchpoints.exp: New file.
7465
96c07c5b
TT
74662009-09-25 Tom Tromey <tromey@redhat.com>
7467
7468 * gdb.base/charset.exp: Test utf-16 strings with Python.
7469
b8899f2b
TT
74702009-09-25 Tom Tromey <tromey@redhat.com>
7471
7472 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
7473 UCS-4.
7474 * gdb.base/charset.c (utf_32_string): Rename.
7475 (init_utf32): Rename.
7476 (main): Update.
7477
329719ec
TT
74782009-09-22 Tom Tromey <tromey@redhat.com>
7479
7480 * gdb.python/py-function.exp: Add regression tests.
7481
11ef0d76
KS
74822009-09-21 Keith Seitz <keiths@redhat.com>
7483
7484 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
7485 with invalid operator.
7486
3fe8f3b3
KS
74872009-09-21 Keith Seitz <keiths@redhat.com>
7488
7489 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
7490 and destructor using typedef name of class.
7491 * gdb.cp/classes.cc (class Base1): Add a destructor.
7492 (base1): New typedef.
7493 (use_methods): Instanitate an object of type base1.
7494 * gdb.cp/templates.exp (test_template_typedef): New procedure.
7495 (do_tests): Call test_template_typedef.
7496 * gdb.cp/templates.cc (Baz::~Baz): New method.
7497 (intBazOne): New typedef.
7498 (main): Instantiate intBazOne.
7499
7a9fe101
PM
75002009-09-21 Phil Muldoon <pmuldoon@redhat.com>
7501
7502 PR python/10633
7503
7504 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
7505 Function.
7506 (run_lang_tests): Add print elements test.
7507
2e4d963f
PM
75082009-09-21 Phil Muldoon <pmuldoon@redhat.com>
7509
7510 * gdb.python/py-value.exp (test_subscript_regression): New
7511 function. Test for invalid subscripts.
7512 * gdb.python/py-value.c (main): Add test array, and pointer to it.
7513 (ptr_ref): New function.
7514
ec7e75e7
PP
75152009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7516
7517 * gdb.base/default.exp: Fix "show convenience".
7518
0cc7d26f
TT
75192009-09-15 Tom Tromey <tromey@redhat.com>
7520
7521 * lib/mi-support.exp (mi_create_varobj): Update.
7522 (mi_create_floating_varobj): Likewise.
7523 (mi_create_dynamic_varobj): New proc.
7524 (mi_varobj_update): Update.
7525 (mi_varobj_update_with_type_change): Likewise.
7526 (mi_varobj_update_kv_helper): New proc.
7527 (mi_varobj_update_dynamic_helper): Rewrite.
7528 (mi_varobj_update_dynamic): New proc.
7529 (mi_list_varobj_children): Update.
7530 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
7531 * gdb.python/python-prettyprint.py (pp_outer): New class.
7532 (pp_nullstr): Likewise.
7533 (lookup_function): Register new printers.
7534 * gdb.python/python-prettyprint.c (struct substruct): New type.
7535 (struct outerstruct): Likewise.
7536 (substruct_test): New function.
7537 (struct nullstr): New type.
7538 (string_1, string_2): New globals.
7539 (main): Add new tests.
7540 * gdb.python/python-mi.exp: Added regression tests.
7541 * gdb.mi/mi2-var-display.exp: Update.
7542 * gdb.mi/mi2-var-cmd.exp: Update.
7543 * gdb.mi/mi2-var-child.exp: Update.
7544 * gdb.mi/mi2-var-block.exp: Update.
7545 * gdb.mi/mi-var-invalidate.exp: Update.
7546 * gdb.mi/mi-var-display.exp: Update.
7547 * gdb.mi/mi-var-cmd.exp: Update.
7548 * gdb.mi/mi-var-child.exp: Update.
7549 * gdb.mi/mi-var-block.exp: Update.
7550 * gdb.mi/mi-break.exp: Update.
7551 * gdb.mi/gdb701.exp: Update.
7552
a96d9b2e
SDJ
75532009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
7554
7555 * Makefile.in: Inclusion of catch-syscall object.
7556 * gdb.base/catch-syscall.c: New file.
7557 * gdb.base/catch-syscall.exp: New file.
7558
b43b923a
MS
75592009-09-12 Michael Snyder <msnyder@vmware.com>
7560
7561 * gdb.reverse/step-reverse.exp: Explicitly check for targets
7562 that can support reverse debuggnig.
7563
cec03d70
TT
75642009-09-11 Tom Tromey <tromey@redhat.com>
7565
7566 * gdb.dwarf2/valop.S: New file.
7567 * gdb.dwarf2/valop.exp: New file.
7568
e23bb3fc
MK
75692009-09-11 Mark Kettenis <kettenis@gnu.org>
7570
7571 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
7572
37c3696d
DE
75732009-09-10 Doug Evans <dje@google.com>
7574
7575 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
7576 Add $gdb_prompt to second breakpoint regexp.
7577
5172aecb
JB
75782009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
7579
7580 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
7581 names, add missing ones.
7582 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
7583 * gdb.python/py-frame.c: Rename from python-frame.c.
7584 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
7585 testfile name.
7586 * gdb.python/py-function.exp: Rename from python-function.exp.
7587 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
7588 testfile name.
7589 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
7590 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
7591 Adjust testfile name.
7592 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
7593 * gdb.python/py-template.cc: Rename from python-template.cc.
7594 * gdb.python/py-template.exp: Rename from python-template.exp.
7595 Adjust testfile name.
7596 * gdb.python/py-value.c: Rename from python-value.c.
7597 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
7598 testfile name.
7599
b554e4bd
JK
76002009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7601
7602 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
7603 $bpt2address.
7604 (Second breakpoint address is valid on ia64)
7605 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
7606
9a68ae16
JM
76072009-09-03 Joseph Myers <joseph@codesourcery.com>
7608
7609 * gdb.base/ending-run.exp: Restrict regular expression matching
7610 line number to require closing brace following.
7611
146b9145
DE
76122009-09-03 Doug Evans <dje@google.com>
7613
7614 * gdb.base/store.exp (check_set): Fix typo in expected value message.
7615
787d21e1
TT
76162009-09-02 Tom Tromey <tromey@redhat.com>
7617
7618 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
7619
e7802207
TT
76202009-09-02 Tom Tromey <tromey@redhat.com>
7621
7622 * gdb.dwarf2/callframecfa.exp: New file.
7623 * gdb.dwarf2/callframecfa.S: New file.
7624
817aadd2
JK
76252009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7626
7627 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
7628 gdb.base/solib-overlap-main.c: New.
7629
4a76eae5
DJ
76302009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
7631
7632 PR gdb/10565
7633
7634 * gdb.base/bitfields.c (struct container, container): New.
7635 (main): Initialize it and call break5.
7636 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
7637
d4b96c9a
JK
76382009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7639
7640 Support constant DW_AT_data_member_location by GCC PR debug/40659.
7641 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
7642
4e22772d
JK
76432009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7644
7645 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
7646
2efab443
MS
76472009-08-26 Michael Snyder <msnyder@vmware.com>
7648
7649 * gdb.base/i386-reverse.c: New file.
7650 * gdb.base/i386-reverse.exp: New file.
7651 * gdb.base/Makefile.in: Add new files to be removed.
7652
07ab73a0
JM
76532009-08-26 Joseph Myers <joseph@codesourcery.com>
7654
7655 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
7656 environment-pwd for remote host.
7657 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
7658
676accff
KS
76592009-08-24 Keith Seitz <keiths@redhat.com>
7660
7661 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
7662 Add two new C++ completer tests which limit the output to a
889bf7c5 7663 given class.
676accff 7664
f9f7ad22
MS
76652009-08-24 Michael Snyder <msnyder@vmware.com>
7666
7667 * gdb.base/del.exp: Fix typo in comment.
7668 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
7669
81ecdfbb
RW
76702009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7671
7672 * configure: Regenerate.
7673 * gdb.hp/configure: Likewise.
7674 * gdb.hp/gdb.aCC/configure: Likewise.
7675 * gdb.hp/gdb.base-hp/configure: Likewise.
7676 * gdb.hp/gdb.compat/configure: Likewise.
7677 * gdb.hp/gdb.defects/configure: Likewise.
7678 * gdb.hp/gdb.objdbg/configure: Likewise.
7679 * gdb.stabs/configure: Likewise.
7680
cab0c772
UW
76812009-08-19 Doug Evans <dje@google.com>
7682
7683 * gdb.base/gdbvars.c: New file.
7684 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
7685
b8fa0bfa
PA
76862009-08-14 Pedro Alves <pedro@codesourcery.com>
7687
7688 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
7689 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
7690
b84aa90a
PA
76912009-08-13 Pedro Alves <pedro@codesourcery.com>
7692
7693 * gdb.base/default.exp: Adjust "set language test": it's now an
7694 enum command. Larger help string moved to "help set language".
7695 * gdb.base/help.exp: Adjust "help set language" expected output,
7696 now lists all known languages.
7697
0d8f9b2c
NF
76982009-08-11 Nathan Froyd <froydnj@codesourcery.com>
7699
7700 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
7701 all frame arguments.
7702 * gdb.arch/altivec-regs.exp: Likewise.
7703
bda180e0
TT
77042009-08-07 Tom Tromey <tromey@redhat.com>
7705
7706 * gdb.base/setshow.exp: Add tests for changes to set language, set
7707 check range, and set check type.
7708
48cb2d85
VP
77092009-08-03 Vladimir Prus <vladimir@codesourcery.com>
7710
7711 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
7712 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
889bf7c5 7713 Call it.
48cb2d85 7714
1ea34204
UW
77152009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7716
7717 * configure.ac: Run gdb.cell tests when appropriate.
7718 * configure: Regenerate.
7719 * lib/cell.exp: New file.
7720 * gdb.cell: New directory.
7721 * gdb.cell/configure.ac: New file.
7722 * gdb.cell/configure: New file.
7723 * gdb.cell/Makefile.in: New file.
7724 * gdb.cell/arch.exp: New file.
7725 * gdb.cell/break.c: New file.
7726 * gdb.cell/break.exp: New file.
7727 * gdb.cell/break-spu.c: New file.
7728 * gdb.cell/bt.c: New file.
7729 * gdb.cell/bt2-spu.c: New file.
7730 * gdb.cell/bt-spu.c: New file.
7731 * gdb.cell/bt.exp: New file.
7732 * gdb.cell/coremaker.c: New file.
7733 * gdb.cell/coremaker-spu.c: New file.
7734 * gdb.cell/core.exp: New file.
7735 * gdb.cell/gcore.exp: New file.
7736 * gdb.cell/data.c: New file.
7737 * gdb.cell/data.exp: New file.
7738 * gdb.cell/data-spu.c: New file.
7739 * gdb.cell/ea-cache.exp: New file.
7740 * gdb.cell/ea-cache.c: New file.
7741 * gdb.cell/ea-cache-spu.c: New file.
7742 * gdb.cell/ea-standalone.c: New file.
7743 * gdb.cell/ea-standalone.exp: New file.
7744 * gdb.cell/ea-test.c: New file.
7745 * gdb.cell/ea-test.exp: New file.
7746 * gdb.cell/f-regs.exp: New file.
7747 * gdb.cell/mem-access.c: New file.
7748 * gdb.cell/mem-access.exp: New file.
7749 * gdb.cell/mem-access-spu.c: New file.
7750 * gdb.cell/ptype.exp: New file.
7751 * gdb.cell/registers.exp: New file.
7752 * gdb.cell/size.c: New file.
7753 * gdb.cell/sizeof.exp: New file.
7754 * gdb.cell/size-spu.c: New file.
7755 * gdb.cell/solib.exp: New file.
7756 * gdb.cell/solib-symbol.exp: New file.
7757
85e747d2
UW
77582009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7759
7760 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
7761
58d6951d
DJ
77622009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
7763
7764 * gdb.base/float.exp: Handle VFP registers.
7765
6e0a4f15
MS
77662009-07-14 Michael Snyder <msnyder@vmware.com>
7767
dcd5da87
MS
7768 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
7769 to bring gdb to the beginning of the calling line.
7770
6e0a4f15
MS
7771 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
7772 confusing the i386 epilogue unwinder.
7773
782b2b07
SS
77742009-07-14 Stan Shebs <stan@codesourcery.com>
7775
7776 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
7777
f662c3bc
MS
77782009-07-14 Michael Snyder <msnyder@vmware.com>
7779
7780 * gdb.reverse/step-reverse.exp (stepi into function call):
7781 Call instruction may not be first instruction in the line.
7782 (reverse stepi from a function call): Used wrong line number.
7783
8f313923
JK
77842009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7785
7786 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
7787
4662c76e
JK
77882009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7789
7790 Fix gdb.base/macscp.exp when using custom inputrc.
7791 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
7792 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
7793 env(TERM) set.
7794 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
7795 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
7796
aa81e255
JK
77972009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7798
7799 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
7800 * gdb.base/annota1.exp (thread_test): Import global $testfile.
7801 Change the compilation target to match the testcase name.
7802 * gdb.base/sect-cmd.exp: Change the compilation target to match the
7803 testcase name.
7804 * a2-run.exp: Use for setup prepare_for_testing. Change the
7805 compilation target to match the testcase name.
7806 * gdb.base/commands.exp: Likewise.
7807 * gdb.base/finish.exp: Likewise.
7808 * gdb.base/float.exp: Likewise.
7809 * gdb.base/info-target.exp: Likewise.
7810 * gdb.base/relational.exp: Likewise.
7811 * gdb.base/term.exp: Likewise.
7812 * gdb.base/until.exp: Likewise.
7813 * gdb.base/volatile.exp: Likewise.
7814 * gdb.base/whatis-exp.exp: Likewise.
7815
4c93b1d7
HZ
78162009-07-11 Hui Zhu <teawater@gmail.com>
7817
7818 * gdb.base/help.exp (disassemble): Update expected help text.
7819
812f7342
TT
78202009-07-09 Tom Tromey <tromey@redhat.com>
7821
7822 * lib/gdb.exp: Handle TRANSCRIPT.
7823 (remote_spawn, remote_close, send_gdb): New procs.
7824
fbb8f299
PM
78252009-07-10 Phil Muldoon <pmuldoon@redhat.com>
7826
7827 * gdb.python/python-prettyprint.c: Add counted null string
7828 structure.
7829 * gdb.python/python-prettyprint.exp: Print null string. Test for
7830 embedded nulls.
7831 * gdb.python/python-prettyprint.py (pp_ns): New Function.
7832 * gdb.python/python-value.exp (test_value_in_inferior): Add
7833 variable length string fetch tests.
7834 * gdb.python/python-value.c (main): Add strings for string fetch tests.
7835
c0ac0ec7
JK
78362009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7837
7838 * gdb.base/dump.exp (inaccessible memory is reported): New test.
7839
30b66ecc
TT
78402009-07-07 Tom Tromey <tromey@redhat.com>
7841
7842 * gdb.base/call-rt-st.exp: Update for change to escape output.
7843 * gdb.base/callfuncs.exp: Likewise.
7844 * gdb.base/charset.exp: Likewise.
7845 * gdb.base/constvars.exp: Likewise.
7846 * gdb.base/long_long.exp: Likewise.
7847 * gdb.base/pointers.exp: Likewise.
7848 * gdb.base/printcmds.exp: Likewise.
7849 * gdb.base/setvar.exp: Likewise.
7850 * gdb.base/store.exp: Likewise.
7851 * gdb.cp/ref-types.exp: Likewise.
7852 * gdb.mi/mi-var-child.exp: Likewise.
7853 * gdb.mi/mi-var-display.exp: Likewise.
7854 * gdb.mi/mi2-var-display.exp: Likewise.
7855 * gdb.base/charset.exp: Test octal escape sequence length.
7856 Update for change to escape output.
7857
187c4a2b
JK
78582009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7859
7860 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
7861
d80a43f9
DJ
78622009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
7863
7864 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
7865
047427a8
JK
78662009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7867
7868 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
7869 gdbserver increasing $portnum if "Can't bind address" has been seen.
7870
8b5a0f4f
PA
78712009-07-05 Pedro Alves <pedro@codesourcery.com>
7872
7873 * gdb.base/ending-run.exp: Add "step out of main" pattern for
7874 mingw32ce.
7875
7d93ba58
PA
78762009-07-05 Pedro Alves <pedro@codesourcery.com>
7877
7878 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
7879 VFP format.
7880
2277426b
PA
78812009-07-02 Pedro Alves <pedro@codesourcery.com>
7882
7883 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
7884 linux. Adjust to use "inferior", "info inferiors", "detach
7885 inferior" and "kill inferior" instead of "restart", "info fork",
7886 "detach fork" and "delete fork".
7887 * gdb.base/ending-run.exp: Spell out "info".
7888 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
7889 the "kill" command.
7890
5af949e3
UW
78912009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7892
7893 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
7894 change to prefix TLS offset in hex with 0x.
7895
5d3729b5
UW
78962009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7897
7898 * gdb.base/default.exp: Update test case for "x" changes.
7899
af589bd0
TG
79002009-07-01 Tristan Gingold <gingold@adacore.com>
7901
7902 * gdb.base/bigcore.exp: Make darwin untested.
7903
40974f91
JK
79042009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7905
7906 * gdb.base/completion.exp (directory completion): Create the directory.
7907 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
7908 escapeuniquesub.
7909 (directory completion 2): Expect now ${escapeuniquesub}.
7910 (Glob remaining of directory test): Remove one excessive newline.
7911 Expect the real output.
7912
59dd3af6
JK
79132009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7914
7915 Fix `make check//%' target after `make check' has been ran.
7916 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
7917 a mkdir call.
7918 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
7919 (%/.dir): Remove.
7920
f4e164aa
JK
79212009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7922
7923 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
7924 the expected result record.
7925
69af2122
JK
79262009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7927
7928 Remove racy FAILs relying just on the timeouts.
7929 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
7930 (annotation_level 2): Remove racy FAILs.
7931
2fd481e1
PP
79322009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
7933
7934 gdb/10275
889bf7c5
PA
7935 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
7936
c38f313d
DJ
79372009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
7938
7939 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
7940
8b777f02
VP
79412009-06-30 Vladimir Prus <vladimir@codesourcery.com>
7942
7943 * gdb.mi/mi-stack.exp: Testing symbolic options
7944 to -stack-list-locals and -stack-list-arguments.
7945
00c7eacf
JK
79462009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7947
7948 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
7949
6bc80edc
TT
79502009-06-29 Tom Tromey <tromey@redhat.com>
7951
7952 * dg-extract-results.sh: New file.
7953 * Makefile.in (FORCE_PARALLEL): New variable.
7954 (CHECK_TARGET): New conditional variable.
7955 (check): Use CHECK_TARGET.
7956 (DO_RUNTEST): New variable.
7957 (check-single): New target.
7958 (TEST_DIRS): New variable.
7959 (TEST_TARGETS): Likewise.
7960 (check-parallel): New target.
7961 (check-gdb.%): New pattern.
7962 (BASE1_FILES): New variable.
7963 (BASE2_FILES): Likewise.
7964 (check-gdb.base%): New pattern.
7965 (%/.dir): New pattern.
7966 * configure: Rebuild.
7967 * aclocal.m4 (AM_CONDITIONAL): New defun.
7968 * configure.ac: Check whether user is using GNU make.
7969 (GMAKE): New conditional.
7970
794684b6
SW
79712009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
7972
7973 * gdb.cp/namespace-nested-import.cc: New test.
7974 * gdb.cp/namespace-nested-import.exp: New test.
7975
edb3359d
DJ
79762009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
7977
7978 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
7979 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
7980 * gdb.opt/Makefile.in (EXECUTABLES): Update.
7981 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
7982 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
7983 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
7984 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
7985 gdb.opt/inline-markers.c: New files.
7986 * lib/gdb.exp (skip_inline_frame_tests): New function.
7987 (skip_inline_var_tests): New function.
7988
cf657a0c
AS
79892009-06-27 Andreas Schwab <schwab@linux-m68k.org>
7990
7991 * gdb.cp/exception.exp: Don't require $hex before inner frame in
7992 backtrace.
7993
28d41a99
MS
79942009-06-27 Michael Snyder <msnyder@vmware.com>
7995
7996 * gdb.reverse: New directory.
7997 * gdb.reverse/break-reverse.c: New test.
7998 * gdb.reverse/break-reverse.exp: New test.
7999 * gdb.reverse/consecutive-reverse.c: New test.
8000 * gdb.reverse/consecutive-reverse.exp: New test.
8001 * gdb.reverse/finish-reverse.c: New test.
8002 * gdb.reverse/finish-reverse.exp: New test.
8003 * gdb.reverse/machinestate.c: New test.
8004 * gdb.reverse/ms1.c: New test.
8005 * gdb.reverse/machinestate.exp: New test.
8006 * gdb.reverse/Makefile.in: New file.
8007 * gdb.reverse/shr2.c: New test.
8008 * gdb.reverse/solib-reverse.c: New test.
8009 * gdb.reverse/solib-reverse.exp: New test.
8010 * gdb.reverse/step-reverse.c: New test.
8011 * gdb.reverse/step-reverse.exp: New test.
8012 * gdb.reverse/until-reverse.c: New test.
8013 * gdb.reverse/ur1.c: New test.
8014 * gdb.reverse/until-reverse.exp: New test.
8015 * gdb.reverse/watch-reverse.c: New test.
8016 * gdb.reverse/watch-reverse.exp: New test.
8017 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
8018 * configure: Regenerate.
8019
fe3c8b0d
DE
80202009-06-26 Doug Evans <dje@google.com>
8021
8022 * gdb.base/psymtab.exp: Turn off pending breakpoints.
8023
3a72a602
PM
80242009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
8025
8026 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
8027 windows problem for 'file delete $binfile'.
8028
27aa8d6a
SW
80292009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
8030
8031 * gdb.cp/namespace-using.exp: New test.
8032 * gdb.cp/namespace-using.cc: New test.
8033
8ac055f8
JB
80342009-05-20 Joel Brobecker <brobecker@adacore.com>
8035
8036 * gdb.ada/variant_record_packed_array: New testcase.
8037
85e306ed
TT
80382009-06-23 Tom Tromey <tromey@redhat.com>
8039
8040 * gdb.base/charset.exp (test_combination): Regression test.
8041 * gdb.base/charset.c (my_wchar_t): New typedef.
8042 (myvar): New global.
8043 (main): Set myvar.
8044
56643c5e
PM
80452009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
8046
8047 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
8048 target.
8049
1fac167a
UW
80502009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8051
8052 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
8053
7ccb0be9
UW
80542009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8055
8056 * gdb.mi/gdb680.exp: Update test for error message.
8057
568d6575
UW
80582009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8059
8060 * gdb.base/annota1.exp: Allow multiple occurrences of the
8061 frames-invalid annotation.
8062 * gdb.cp/annota2.exp: Likewise.
8063
7cd1089b
PM
80642009-06-15 Phil Muldoon <pmuldoon@redhat.com>
8065
8066 * gdb.cp/gdb2495.cc: New file.
8067 * gdb.cp/gdb2495.exp: New file.
8068
72c63395
JK
80692009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8070
8071 Report error on GDB crash during runto.
8072 * lib/gdb.exp (runto <eof>): New.
8073
3788363d
DJ
80742009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
8075
8076 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
8077 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
8078 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
8079 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
8080 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
8081 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
8082 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
8083 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
8084 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
8085 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
8086 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
8087 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
8088 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
8089 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
8090 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
8091 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
8092 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
8093 gdb.server/server-mon.exp, gdb.server/server-run.exp,
8094 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
8095 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
8096 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
8097 gdb.trace/passcount.exp, gdb.trace/report.exp,
8098 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
8099 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
8100 gdb.trace/while-stepping.exp: Use a unique name for the compiled
8101 executable.
8102
17592de3
PA
81032009-06-07 Pedro Alves <pedro@codesourcery.com>
8104
8105 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
8106 defined before referencing it.
8107
701e355d
DE
81082009-06-03 Doug Evans <dje@google.com>
8109
8110 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
8111 * gdb.arch/i386-see.c: Ditto.
8112
f2292c65
PM
81132009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
8114
8115 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
8116 (check_macro): Return 1 if undefined.
8117 If first test fails, check if macro debug information is available,
8118 and report unsupported test if no macro information is found.
8119
5a437975
DE
81202009-05-29 Doug Evans <dje@google.com>
8121
8122 * gdb.threads/hand-call-in-threads.exp: New.
8123 * gdb.threads/hand-call-in-threads.c: New.
8124
c141c696
MS
81252009-05-29 Michael Snyder <msnyder@vmware.com>
8126
8127 * gdb.base/break-always.exp: Change "1" to "on".
8128 Add confirmation check.
8129
b3444185
PA
81302009-05-28 Pedro Alves <pedro@codesourcery.com>
8131
8132 * gdb.threads/threxit-hop-specific.c: New.
8133 * gdb.threads/threxit-hop-specific.exp: New.
8134 * gdb.threads/thread-execl.c: New.
8135 * gdb.threads/thread-execl.exp: New.
8136
b6313243
TT
81372009-05-27 Tom Tromey <tromey@redhat.com>
8138 Thiago Jung Bauermann <bauerman@br.ibm.com>
8139
8140 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
8141 (mi_child_regexp): Likewise.
8142 (mi_list_varobj_children_range): Likewise.
8143 (mi_get_features): Likewise.
8144 (mi_list_varobj_children): Rewrite.
8145 * gdb.python/python-mi.exp: New file.
8146
a6bac58e
TT
81472009-05-27 Tom Tromey <tromey@redhat.com>
8148 Thiago Jung Bauermann <bauerman@br.ibm.com>
8149 Phil Muldoon <pmuldoon@redhat.com>
8150 Paul Pluzhnikov <ppluzhnikov@google.com>
8151
8152 * gdb.python/python-prettyprint.exp: New file.
8153 * gdb.python/python-prettyprint.c: New file.
8154 * gdb.python/python-prettyprint.py: New file.
8155 * gdb.base/display.exp: print/r is now valid.
8156
2c74e833
TT
81572009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
8158 Tom Tromey <tromey@redhat.com>
8159 Pedro Alves <pedro@codesourcery.com>
8160 Paul Pluzhnikov <ppluzhnikov@google.com>
8161
8162 * gdb.python/python-template.exp: New file.
8163 * gdb.python/python-template.cc: New file.
8164 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
8165 tests.
8166 * gdb.python/python-value.exp (py_objfile_tests): New proc.
8167 Call it.
8168 (test_value_after_death): New proc.
8169 * gdb.python/python-value.c (PTR): New typedef.
8170 (main): New variable 'x'.
8171
89c73ade
TT
81722009-05-27 Tom Tromey <tromey@redhat.com>
8173
8174 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
8175 tests.
8176 * gdb.python/python-value.exp (py_objfile_tests): New proc.
8177 Call it.
8178
a75724bc
PA
81792009-05-27 Pedro Alves <pedro@codesourcery.com>
8180
8181 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
8182
e58b0e63
PA
81832009-05-24 Pedro Alves <pedro@codesourcery.com>
8184
8185 * gdb.threads/fork-thread-pending.c: New.
8186 * gdb.threads/fork-thread-pending.exp: New.
8187
4ac36638
JK
81882009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8189
8190 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
8191 * gdb.dwarf2/dw2-strp.S (a_string2): New.
8192
889bf7c5 81932009-05-18 Jon Beniston <jon@beniston.com>
c28c63d8 8194
889bf7c5 8195 * gdb.asm/asm-source.exp: Add lm32 target.
c28c63d8 8196
b242c3c2
PA
81972009-05-17 Pedro Alves <pedro@codesourcery.com>
8198
8199 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
8200 `gdb_get_line_number'. Call `callee' in both parent and child.
8201 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
8202 `gdb_get_line_number' instead of hardcoding line numbers.
8203 (catch_fork_unpatch_child): New procedure to test detaching
8204 breakpoints from child fork.
8205 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
8206 hardcoding line numbers.
8207 (do_fork_tests): Run `catch_fork_unpatch_child'.
8208
ee342b23
VP
82092009-05-17 Vladimir Prus <vladimir@codesourcery.com>
8210
8211 * gdb.mi/mi-cmd-var.exp: Check that when varobj
8212 of structure type enters or leaves the scope, it
8213 is reported by -var-update.
8214
e2009e98
DE
82152009-05-11 Doug Evans <dje@sebabeach.org>
8216
8217 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
fc529d80 8218 * gdb.threads/pending-step.c (main): Fix off-by-one error.
e2009e98
DE
8219 * gdb.threads/schedlock.c (main): Fix off-by-one error.
8220
00903456
JK
82212009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8222
8223 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
8224
dc621c35
DE
82252009-04-30 Doug Evans <dje@google.com>
8226
8227 * gdb.threads/watchthreads2.exp: New testcase.
8228 * gdb.threads/watchthreads2.c: New testcase.
8229
9ab4e744
DE
82302009-04-29 Doug Evans <dje@google.com>
8231
8232 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
8233 * gdb.cp/mb-ctor.cc: Ditto.
8234 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
8235 * gdb.cp/mb-inline.h (multi_line_foo): New function.
8236 * gdb.cp/mb-inline1.cc: Call it.
8237 * gdb.cp/mb-inline2.cc: Ditto.
8238 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
8239 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
8240
484086b7
JK
82412009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8242
8243 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
8244 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
8245 Replace all uses of `decimal' by `nonzero'.
8246 (info macro FROM_COMMANDLINE): New test.
8247
379a77b5
TT
82482009-04-27 Tom Tromey <tromey@redhat.com>
8249
8250 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
8251
b92b73c2
DE
82522009-04-27 Doug Evans <dje@google.com>
8253
8254 * gdb.threads/watchthreads.c (main): Initialize args before starting
8255 the threads. Plus formatting cleanup.
8256 * gdb.threads/watchthreads.exp: Avoid errant failures due to
8257 biased scheduling of one thread.
8258
945a118d
JG
82592009-04-27 Jerome Guitton <guitton@adacore.com>
8260
8261 * gdb.cp/templates.cc (GetMax): New template.
8262 (main): Declare two instances of GetMax.
8263 * gdb.cp/templates.exp: Add new test.
8264
d389af10
JK
82652009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8266
8267 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
8268
e7f86de9
JM
82692009-04-22 Joseph Myers <joseph@codesourcery.com>
8270
8271 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
8272
334cc82d
TT
82732009-04-15 Tom Tromey <tromey@redhat.com>
8274
8275 * gdb.base/charset.exp: Add regression test.
8276
d12672cc
JB
82772009-04-14 Joel Brobecker <brobecker@adacore.com>
8278
8279 * gdb.base/exe-lock.exp: New testcase.
8280
18e8c3bc
TT
82812009-04-13 Tom Tromey <tromey@redhat.com>
8282
8283 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
8284 operator on Frame.
8285
5ecd5cbe
UW
82862009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8287
8288 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
8289 * gdb.server/ext-attach.exp: Likewise.
8290
7309f756
VP
82912009-04-03 Vladimir Prus <vladimir@codesourcery.com>
8292
8293 Eliminate some sleep usage.
8294
889bf7c5
PA
8295 * gdb.mi/basics.c (do_nothing): New.
8296 (main): Use do_nothing instead of printf, so that
8297 not to introduce race condition between output of
8298 inferiour and output of gdb. Do not use sleep as it
8299 is not generally available on embedded targets.
7309f756 8300
f4b95f6f
PA
83012009-04-02 Pedro Alves <pedro@codesourcery.com>
8302
8303 * gdb.server/ext-attach.exp: Expect an optional process id after
8304 "Detached from remote process".
8305
de40b933
JK
83062009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8307
8308 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
8309 gdb.dwarf2/dw2-unresolved.exp: New.
8310
2ae101a4
PA
83112009-04-02 Pedro Alves <pedro@codesourcery.com>
8312
8313 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
8314 mi_run_to_main.
8315
56a8e183
PA
83162009-04-02 Pedro Alves <pedro@codesourcery.com>
8317
8318 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
8319 mi_run_to_main. Skip thread exit test on remote targets.
8320 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
8321 mi_run_to_main.
8322 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
8323 mi_run_to_main.
8324 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
8325 when expecting ^connected. Detect when the target doesn't support
8326 non-stop mode.
8327 (mi_run_cmd): Detect if non-stop mode was requested by isn't
8328 supported. Return -1 on error, 0 on success.
8329 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
8330 (mi_runto): Return mi_runto_helper's result explicitly.
8331
c35fafde
PA
83322009-04-01 Pedro Alves <pedro@codesourcery.com>
8333
8334 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
8335
f8a8dce6
JB
83362009-04-01 Tom Tromey <tromey@redhat.com>
8337
8338 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
8339 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
8340 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
8341 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
8342
71c25dea
TT
83432009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
8344 Jan Kratochvil <jan.kratochvil@redhat.com>
8345
8346 PR gdb/931
8347 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
8348 output.
8349 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
8350 for gdb/931.
8351 * dw2-strp.S (DW_AT_language): Change to C++.
8352 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
8353
02d9a9ce
JB
83542009-03-31 Joel Brobecker <brobecker@adacore.com>
8355
8356 * gdb.ada/tasks: New testcase.
8357
1042e4c0
SS
83582009-03-30 Stan Shebs <stan@codesourcery.com>
8359
8360 * gdb.trace/actions.exp: Update to match new info trace format.
8361 * gdb.trace/deltrace.exp: Ditto.
8362 * gdb.trace/infotrace.exp: Ditto.
8363 * gdb.trace/passcount.exp: Ditto.
8364 * gdb.trace/save-trace.exp: Ditto.
8365 * gdb.trace/while-stepping.exp: Ditto.
8366 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
8367
f8f6f20b
TJB
83682009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
8369
8370 * gdb.python/python-frame.c: New file.
8371 * gdb.python/python-frame.exp: New file.
8372
c0c6f777
TJB
83732009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
8374
8375 * gdb.python/python-value.exp: Add tests for the address
8376 attribute.
8377
3cb51905
AS
83782009-03-29 Andreas Schwab <schwab@linux-m68k.org>
8379
8380 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
8381
88fc996f
DE
83822009-03-26 Doug Evans <dje@google.com>
8383
8384 * gdb.mi/mi-nonstop-exit.exp: New file.
8385 * gdb.mi/non-stop-exit.c: New file.
8386
56ef84b1
TT
83872009-03-26 Tom Tromey <tromey@redhat.com>
8388
8389 Update for change to prologue skipping:
8390 * gdb.mi/mi2-simplerun.exp: Update.
8391 * gdb.mi/mi2-break.exp: Update.
8392 * gdb.mi/mi-simplerun.exp: Update.
8393 * gdb.mi/mi-break.exp: Update.
8394 * gdb.base/ending-run.exp: Update.
8395
def2b000
TJB
83962009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
8397
8398 * gdb.python/python-value.exp (test_value_in_inferior): Test
8399 gdb.Value.is_optimized_out attribute.
8400
442ddf59
JK
84012009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8402
8403 * gdb.dwarf2/dw2-noloc-main.c: New file.
8404 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
8405 (.text): Remove.
8406 (.data): New.
8407 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
8408 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
8409 (DW_TAG_subprogram func_cu1, noloc): Remove.
8410 (main): New.
8411 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
8412 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
8413 (file_symbols): New procedure.
8414
a8df5de4
TT
84152009-03-25 Tom Tromey <tromey@redhat.com>
8416
8417 * gdb.base/charset.exp (valid_target_charset): New proc.
8418 Use it to skip tests on invalid charsets.
8419
cc1d7add
PM
84202009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
8421
8422 * gdb.base/completion.exp: Add a test for directory completion.
8423
bcd5727b
JK
84242009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8425
8426 Fix a racy FAIL.
8427 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
8428 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
8429
cc924cad
TJB
84302009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
8431
8432 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
8433 * gdb.python/python-function.exp: Add test for function returning
8434 a GDB value.
8435
bc3b79fd
TJB
84362009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
8437
8438 * gdb.python/python-function.exp: New file.
8439
6c7a06a3
TT
84402009-03-20 Tom Tromey <tromey@redhat.com>
8441
8442 * gdb.base/store.exp: Update for change to escape output.
8443 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
8444 to escape output.
8445 * gdb.base/pointers.exp: Update for change to escape output.
8446 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
8447 to escape output.
8448 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
8449 escape output.
8450 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
8451 to escape output.
8452 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
8453 escape output.
8454 * gdb.base/setvar.exp: Update for change to escape output.
8455 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
8456 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
8457 to escape output.
8458 (test_print_string_constants): Likewise.
8459 * gdb.base/charset.exp (valid_host_charset): Check size of
8460 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
8461 cases. Handle "auto"-related output.
8462 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
8463 (uvar, Uvar): New globals.
8464
c31af87b
JG
84652009-03-19 Jerome Guitton <guitton@adacore.com>
8466
8467 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
8468 deltas.
8469 * gdb.ada/fixed_points.exp: Ditto.
8470
51272cf2
PA
84712009-03-18 Pedro Alves <pedro@codesourcery.com>
8472
8473 * return-nodebug.c: Don't include stdio.h.
8474 (init): Delete.
8475 (func): Delete definition and provide extern declaration.
8476 (t): New.
8477 (main): Don't call printf. Call func and store its result in t.
8478 * return-nodebug1.c: New.
8479 * return-nodebug.exp: Don't expect stdio output. Instead, print
8480 the global variable t. Drop printf formatters and cast types from
8481 foreach loop. Don't use prepare_for_testing. Compile
8482 return-nodebug.c and return-nodebug1.c in separate steps. Don't
8483 define FORMAT or CAST.
8484
d24948ac
PP
84852009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
8486
8487 * gdb.base/solib-display.exp: Disable test for remote targers.
8488
61ff14c6
JK
84892009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8490
8491 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
8492
cb4dce93
JK
84932009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8494
8495 Fix a racy FAIL.
8496 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
8497 code from `follow parent, print pids'.
8498 (`follow child, print pids', `follow parent, print pids'): Call it.
8499 Replace `gdb_test "break..."' by gdb_breakpoint.
8500
f7c60c5e
VP
85012009-03-13 Vladimir Prus <vladimir@codesourcery.com>
8502
8503 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 8504 sync and async modes.
f7c60c5e 8505
383ace49
JB
85062009-03-12 Joel Brobecker <brobecker@adacore.com>
8507
8508 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
8509 that was checked in by mistake. Remove loading of ada.exp, since
8510 this is not necessary in this case.
8511
4ce102af
JB
85122009-03-12 Joel Brobecker <brobecker@adacore.com>
8513
8514 * gdb.ada/ptype_arith_binop.exp: New testcase.
8515
529a2aef
JB
85162009-03-12 Joel Brobecker <brobecker@adacore.com>
8517
8518 * gdb.ada/mod_from_name: New testcase.
8519
8a38181c
JB
85202009-03-12 Joel Brobecker <brobecker@adacore.com>
8521
8522 * gdb.ada/tick_last_segv: New testcase.
8523
11436dee
VP
85242009-03-12 Vladimir Prus <vladimir@codesourcery.com>
8525
61ff14c6 8526 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 8527
1f31650a
VP
85282009-03-12 Vladimir Prus <vladimir@codesourcery.com>
8529
61ff14c6
JK
8530 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
8531 include the token in ^running and frame info in *stopped.
1f31650a 8532
a3247a22
PP
85332009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8534
8535 * solib-display.exp: New file.
8536 * solib-display-main.c: New file.
8537 * solib-display-lib.c: New file.
61ff14c6 8538
aae64587
PA
85392009-03-05 Pedro Alves <pedro@codesourcery.com>
8540
8541 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
8542
44aabfbc
JK
85432009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8544
8545 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
8546 (list_and_check_macro): Use more specific test name.
8547 (next to definition): Make the test names unique.
8548
c087fcd3
PM
85492009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
8550
8551 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 8552
c86cf029
VP
85532009-02-17 Vladimir Prus <vladimir@codesourcery.com>
8554
8555 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
8556 notifications.
8557 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
8558 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
8559 * lib/mi-support.exp (library_loaded_re): New.
8560 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
8561
3ea85240
VP
85622009-02-17 Vladimir Prus <vladimir@codesourcery.com>
8563
8564 * gdb.gdb/observer.exp: Use test_notification observer, not
8565 normal_stop, everywhere.
8566 (test_normal_stop_notifications): Rename to...
8567 (test_notifications): ...this.
8568 (test_observer_normal_stop): Rename to...
8569 (test_observer): ...this.
8570
1903f0e6
DE
85712009-02-16 Doug Evans <dje@google.com>
8572
8573 * gdb.arch/amd64-disp-step.S (test_int3): New test.
8574 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
8575 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
8576 (test_prefixed_syscall,test_int3): New tests.
8577 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
8578 (test_prefixed_syscall,test_int3): New tests.
8579
1d33d6ba
VP
85802009-02-14 Vladimir Prus <vladimir@codesourcery.com>
8581
3cb51905
AS
8582 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
8583 (mi_expect_interrupt): Likewise.
8584 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
8585 response.
1d33d6ba 8586
faafb047
PM
85872009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
8588
8589 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
8590 * gdb.base/pc-fp.exp (get_valueofx): Remove.
8591 Replace calls to get_valueofx by get_hexadecimal_valueof.
8592
417e16e2
PM
85932009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
8594
8595 * lib/gdb.exp (get_valueof): Accept anything as a return value.
8596 (get_integer_valueof): New procedure.
8597 (get_sizeof): Use new get_integer_value_of.
8598 * gdb.base/sizeof.exp: Replace all uses of get_valueof
8599 by get_integer_valueof.
8600
7065b901
TT
86012009-02-13 Tom Tromey <tromey@redhat.com>
8602
8603 * gdb.base/remote.exp (get_sizeof): Remove.
8604 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
8605 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
8606 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
8607 * lib/gdb.exp (get_valueof): Move from long_long.exp.
8608 (get_sizeof): Likewise.
8609
5d7cb8df
JK
86102009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8611
8612 PR fortran/9806
8613 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
8614
b2febfff
PP
86152009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8616
8617 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
8618
4aa995e1
PA
86192009-02-06 Pedro Alves <pedro@codesourcery.com>
8620
8621 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
8622
d8906c6f
TJB
86232009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
8624
8625 * gdb.python/python-cmd.exp: New file.
8626
ff4ab08d
TG
86272009-02-06 Tristan Gingold <gingold@adacore.com>
8628
8629 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
8630
aacd552b
TG
86312009-02-05 Tristan Gingold <gingold@adacore.com>
8632
8633 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
8634 pointer is dereferenced and use this signal name in regexp.
8635 * gdb.base/signull.exp: Ditto.
8636 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
8637 * gdb.base/signull.c (main): Ditto.
8638
08c637de
TJB
86392009-02-04 Tom Tromey <tromey@redhat.com>
8640 Thiago Jung Bauermann <bauerman@br.ibm.com>
8641
8642 * gdb.python/python-value.exp: Use `gdb.history' instead of
8643 `gdb.value_from_history'.
8644 (test_value_numeric_ops): Add test for conversion of enum constant.
8645 * gdb.python/python-value.c (enum e): New type.
8646 (evalue): New global.
8647 (main): Use argv.
8648
20261af8
JG
86492009-02-04 Jerome Guitton <guitton@adacore.com>
8650
8651 * gdb.ada/uninitialized_vars: New test program.
8652 * gdb.ada/uninitialized_vars.exp: New testcase.
8653
52e44b43
TT
86542009-02-02 Tom Tromey <tromey@redhat.com>
8655
8656 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
8657 * gdb.cp/pr2489.cc: Rename...
8658 * gdb.cp/pr9594.cc: ... to this.
8659
1c71341a
TT
86602009-02-02 Tom Tromey <tromey@redhat.com>
8661
8662 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
8663 * gdb.cp/pr2489.cc: New file.
8664 * gdb.cp/cpcompletion.exp: New file.
8665
a4295225
TT
86662009-02-02 Tom Tromey <tromey@redhat.com>
8667
8668 PR exp/9059:
8669 * gdb.cp/call-c.exp: Add regression test.
8670 * gdb.cp/call-c.cc (FooHandle): New typedef.
8671 (main): New variable 'handle'.
8672
592375cd
VP
86732009-01-30 Vladimir Prus <vladimir@codesourcery.com>
8674
8675 * lib/mi-support.exp (et_mi_thread_list)
8676 (check_mi_and_console_threads): Adjust for current thread in
8677 -thread-list-ids output.
8678
41447f92
VP
86792009-01-30 Vladimir Prus <vladimir@codesourcery.com>
8680
889bf7c5
PA
8681 * gdb.mi/mi-break.exp (test_disabled_creation): New.
8682 Call it.
41447f92 8683
35669430
DE
86842009-01-28 Doug Evans <dje@google.com>
8685
8686 * gdb.arch/amd64-disp-step.S: New file.
8687 * gdb.arch/amd64-disp-step.exp: New file.
8688 * gdb.arch/i386-disp-step.S: New file.
8689 * gdb.arch/i386-disp-step.exp: New file.
8690
09f00d9a
PM
86912009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
8692
8693 * gdb.base/find.exp: Set newline variable
8694 using quotes instead of braces to fix cygwin failures.
8695
1e8fb976
PA
86962009-01-23 Pedro Alves <pedro@codesourcery.com>
8697
8698 * gdb.base/radix.exp: Add tests to ensure that that set
8699 input-radix 0 and set output-radix 0 are really rejected.
8700
da061712
PA
87012009-01-23 Pedro Alves <pedro@codesourcery.com>
8702
8703 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
8704 copyright years.
8705
dd7e2d2b
PA
87062009-01-23 Pedro Alves <pedro@codesourcery.com>
8707
8708 PR gdb/9664:
8709 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
8710
392452f6
PA
87112009-01-22 Pedro Alves <pedro@codesourcery.com>
8712
8713 PR c++/9631:
8714 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
8715
8653e71c
PM
87162009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
8717
8718 * gdb.server/file-transfer.exp: Use EXEEXT variable for
8719 binfile definition to fix Windows OS failure.
8720
a12cc160
DJ
87212009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
8722
8723 PR gdb/9346
8724 * gdb.base/interrupt.c (sigint_handler): New.
8725 (main): Install a SIGINT handler if SIGNALS is defined. Exit
8726 on error.
8727 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
8728 Test "signal SIGINT".
8729
b89667eb
DE
87302009-01-19 Doug Evans <dje@google.com>
8731
8732 * gdb.base/break.exp: Update expected gdb output.
8733 * gdb.base/sepdebug.exp: Ditto.
8734 * gdb.mi/mi-syn-frame.exp: Ditto.
8735 * gdb.mi/mi2-syn-frame.exp: Ditto.
8736 * gdb.base/call-signal-resume.exp: New file.
8737 * gdb.base/call-signals.c: New file.
8738 * gdb.base/unwindonsignal.exp: New file.
8739 * gdb.base/unwindonsignal.c: New file.
8740 * gdb.threads/interrupted-hand-call.exp: New file.
8741 * gdb.threads/interrupted-hand-call.c: New file.
8742 * gdb.threads/thread-unwindonsignal.exp: New file.
8743
adb483fe
DJ
87442009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
8745
8746 * gdb.base/define.exp: Test defining and hooking prefix commands.
8747 * gdb.python/python.exp: Update test for "show user" output.
8748
60023297
JK
87492009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8750
8751 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
8752 now the output exactly, using less wildcards. Expect also the output
8753 of gfortran-4.3. Update for the f-valprint.c modification from
8754 2008-04-22.
8755 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
8756 Remove gdb_test test names where matching the command.
8757
ccc57cf9
PA
87582009-01-01 Pedro Alves <pedro@codesourcery.com>
8759
8760 PR breakpoints/9681:
8761 * gdb.base/watchpoint.exp: Add regression test.
8762
c7a6ca08
PA
87632008-12-31 Pedro Alves <pedro@codesourcery.com>
8764
8765 * gdb.threads/attach-into-signal.exp: Don't use
8766 gdb_suppress_entire_file.
8767 * gdb.threads/attach-stopped.exp: Ditto.
8768 * gdb.threads/attachstop-mt.exp: Ditto.
8769
3a031f65
PA
87702008-12-31 Pedro Alves <pedro@codesourcery.com>
8771
8772 PR gdb/8812:
8773 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
8774
09e6485f
PA
87752008-12-29 Pedro Alves <pedro@codesourcery.com>
8776
8777 PR gdb/7536:
8778 * gdb.base/radix.exp: Add tests to ensure invalid input radices
8779 and unsupported output radices are really rejected.
8780
0cd53049
JK
87812008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
8782
8783 * gdb.cp/punctuator.exp: Backslash the '$' signs.
8784
ba163c7e
TT
87852008-12-22 Tom Tromey <tromey@redhat.com>
8786
8787 * gdb.cp/punctuator.exp: New file.
8788
6f4de6c9
JK
87892008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8790
8791 * gdb.base/completion.exp (Completing non-existing component): New test.
8792
0f34d0b4
JK
87932008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8794
8795 Fix for PR gdb/8648.
8796 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
8797 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
8798 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
8799 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
8800
db2ad4c3
JK
88012008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8802
8803 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
8804
bb5ef15e
DP
88052008-12-16 Christophe Lyon <christophe.lyon@st.com>
8806
8807 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
8808 compiler actually generate code at the expected line number.
8809
90142adc
JZ
88102008-12-15 Jie Zhang <jie.zhang@analog.com>
8811
8812 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
8813
fad6eecd
TT
88142008-12-12 Tom Tromey <tromey@redhat.com>
8815
8816 * gdb.base/commands.exp (redefine_hook_test): New proc.
8817 Call it.
8818
17c8aaf5
TT
88192008-12-11 Tom Tromey <tromey@redhat.com>
8820
8821 * gdb.base/macscp.exp: New regression test.
8822
7c8adf68
TT
88232008-12-11 Tom Tromey <tromey@redhat.com>
8824
8825 * gdb.base/macscp.exp: Print "address.addr".
8826 * gdb.base/macscp1.c (struct outer): New struct.
8827 (address): New global.
8828
b05dcbb7
TT
88292008-12-09 Tom Tromey <tromey@redhat.com>
8830
8831 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
8832 Call it.
8833
2d476de1
DE
88342008-12-04 Doug Evans <dje@google.com>
8835
8836 * gdb.server/ext-run.exp: Relax regexp for init program.
8837
87bdc959
TG
88382008-12-03 Tristan Gingold <gingold@adacore.com>
8839
8840 * gdb.base/macscp.exp: Generate an object file during compilation
8841 to work around Darwin dsymutil limitations.
8842
e0740f77
JK
88432008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8844
8845 Test resolving external references to TLS variables.
8846 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
8847 FILE2_THREAD_LOCAL.
8848 (testfile2, srcfile2): New variables.
8849 * gdb.threads/tls.c (file2_thread_local)
8850 (function_referencing_file2_thread_local): New.
8851 * gdb.threads/tls2.c: New file.
8852
67f0aac5
JB
88532008-11-28 Joel Brobecker <brobecker@adacore.com>
8854
8855 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
8856 rather than integer, as integer might not be big enough when
8857 on 64bit targets.
67f0aac5 8858
c332165e
JG
88592008-11-27 Jerome Guitton <guitton@adacore.com>
8860
8861 * gdb.cp/formatted-ref.exp: Add equality test.
8862 * gdb.ada/formatted_ref.exp: Ditto.
8863
fc9b693c
JK
88642008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8865
8866 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
8867 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
8868
a9c64011
AS
88692008-11-20 Andreas Schwab <schwab@suse.de>
8870
8871 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
8872 matching syscall entry point.
8873 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
8874 (tcatch_vfork_then_child_follow): Likewise. Finish through
8875 vfork even if we stopped at the syscall trampoline.
8876
e2fd701e
DE
88772008-11-20 Doug Evans <dje@google.com>
8878
8879 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
8880
69abc51c
TJB
88812008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
8882
8883 * gdb.arch/ppc-dfp.exp: New file.
8884 * gdb.arch/ppc-dfp.c: New file.
8885
c14c28ba
PP
88862008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8887
8888 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 8889
2e74121d
DE
88902008-11-17 Doug Evans <dje@google.com>
8891
8892 * gdb.mi/mi-syn-frame.exp: Update expected output.
8893 * gdb.mi/mi2-syn-frame.exp: Update expected output.
8894
66bb093b
VP
88952008-11-17 Vladimir Prus <vladimir@codesourcery.com>
8896
8897 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
8898 "thread N" results in =thread-selected.
8899 * lib/mi-support (mi_run_cmd, mi_expect_stop)
8900 (mi_send_resuming_command_raw): Be prepared for
8901 =thread-selected.
8902
3d043ef6
VP
89032008-11-17 Vladimir Prus <vladimir@codesourcery.com>
8904
a9c64011
AS
8905 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
8906 * lib/mi-support.exp: Likewise.
3d043ef6 8907
808104c8
JB
89082008-11-16 Joel Brobecker <brobecker@adacore.com>
8909
8910 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
8911 commands from the expected output for "help catch".
8912
00b22944
JB
89132008-11-15 Joel Brobecker <brobecker@adacore.com>
8914
8915 * gdb.ada/int_deref.exp: New testcase.
8916
59669435
TT
89172008-11-14 Nick Roberts <nickrob@snap.net.nz>
8918
8919 * gdb.mi/gdb2549.exp: New file.
8920
de04a248
DE
89212008-11-11 Doug Evans <dje@google.com>
8922
8923 * gdb.base/callexit.exp: New file.
8924 * gdb.base/callexit.c: New file.
8925
6b8ce727
DE
89262008-11-10 Doug Evans <dje@google.com>
8927
8928 * lib/gdb.exp (GDBFLAGS): Move -nx ...
8929 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
8930 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
8931 (default_gdb_start,default_gdb_exit): Ditto.
8932 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
8933 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
8934 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
8935 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
8936 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
8937 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
8938
1b14b8aa
AS
89392008-11-03 Andreas Schwab <schwab@suse.de>
8940
8941 * gdb.base/hashline2.exp: Fix typo.
8942 * gdb.base/hashline3.exp: Likewise.
8943
f3134b88
TT
89442008-10-30 Tom Tromey <tromey@redhat.com>
8945
8946 * gdb.base/pointers.exp: Add test.
8947 * gdb.base/pointers.c (k, S): New typedefs.
8948 (instance): New global.
8949
c2226152
AS
89502008-10-30 Andreas Schwab <schwab@suse.de>
8951
8952 * gdb.base/args.exp: Add tests for newlines.
8953
462f405c
JB
89542008-10-30 Joel Brobecker <brobecker@adacore.com>
8955
8956 gdb.base/foll-exec.exp: Update the expected output of a couple
8957 of "info breakpoints" tests.
8958
79a45b7d
TT
89592008-10-28 Tom Tromey <tromey@redhat.com>
8960
8961 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
8962
adc13a14
PA
89632008-10-24 Pedro Alves <pedro@codesourcery.com>
8964
8965 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
8966 gdb_start_cmd.
8967 Use runto_main before any test that requires execution.
8968
252fbfc8
PA
89692008-10-23 Pedro Alves <pedro@codesourcery.com>
8970
8971 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
8972 instead of SIGINT.
8973
28148e3d
JB
89742008-10-22 Joel Brobecker <brobecker@adacore.com>
8975
8976 * gdb.base/completion.exp: Update expected output following
8977 the addition of the "info tasks" command.
8978
c209f847
TT
89792008-10-22 Tom Tromey <tromey@redhat.com>
8980
8981 * gdb.base/exprs.exp (test_expr): Add test for string
8982 concatenation.
8983
f177e350
PA
89842008-10-19 Pedro Alves <pedro@codesourcery.com>
8985
8986 * configure.ac: Output gdb.python/Makefile.
8987 * configure: Regenerate.
8988 * gdb.python/Makefile.in: New.
8989
cce89356
JB
89902008-10-16 Joel Brobecker <brobecker@adacore.com>
8991
8992 * gdb.base/foll-fork.exp: Adjust the expected output to match
8993 the new description for fork/vfork catchpoints in the "info
8994 breakpoints" output.
8995
176d289d
TJB
89962008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8997
8998 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
8999
a08702d6
TJB
90002008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
9001
9002 * gdb.python/python-value.c: New file.
9003 * gdb.python/python-value.exp: New file.
9004
1c5cfe86
PA
90052008-10-15 Pedro Alves <pedro@codesourcery.com>
9006
9007 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
9008
5a98ad69
DP
90092008-10-15 Denis Pilat <denis.pilat@st.com>
9010
41702f1b 9011 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 9012
dcb1a1e2
TT
90132008-10-09 Tom Tromey <tromey@redhat.com>
9014
9015 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
9016 'fprintf' and 'stderr'.
9017
9124fe48
JB
90182008-10-07 Joel Brobecker <brobecker@adacore.com>
9019
9020 * gdb.ada/ref_tick_size.exp: New testcase.
9021
45452591
DE
90222008-10-06 Doug Evans <dje@google.com>
9023
9024 * gdb.dwarf2/dw2-cu-size.exp: New file.
9025 * gdb.dwarf2/dw2-cu-size.S: New file.
9026
9027 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
9028 .Ltype_int for clarity.
9029
4fc5b208
PP
90302008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
9031
9032 PR gdb/2384:
9033 * gdb.cp/gdb2384.exp: Extended to test more cases.
9034 * gdb.cp/gdb2384.cc: Likewise.
9035 * gdb.cp/gdb2384-base.h: Likewise.
9036 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 9037
d78df370
JK
90382008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9039
9040 * gdb.base/maint.exp (maint print type): Remove printing
9041 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
9042
9a044a89
TT
90432008-09-30 Tom Tromey <tromey@redhat.com>
9044
9045 * gdb.base/macscp.exp: Add completion tests.
9046 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
9047 (TWENTY_THREE): Likewise.
9048 (FORTY_EIGHT): Likewise.
9049
506800a9
TT
90502008-09-30 Tom Tromey <tromey@redhat.com>
9051
9052 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
9053 everywhere.
9054 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
9055
1a6f01b5
JK
90562008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9057
9058 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
9059 testcase is derived from. Fix racy dependency on an expected PID
9060 number. No longer support the testcase on Linux kernel 2.4.x.
9061
2fae03e8
TT
90622008-09-27 Tom Tromey <tromey@redhat.com>
9063
9064 * gdb.base/macscp.exp: Add tests for stringification, splicing,
9065 and varargs.
9066
1ad15515
PA
90672008-09-22 Pedro Alves <pedro@codesourcery.com>
9068
9069 * lib/mi-support.exp (mi_expect_interrupt): New.
9070 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
9071 from gdb.mi/mi-nonstop.exp.
9072 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
9073 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
9074 lib/mi-support.exp.
9075 Use mi_check_thread_states throughout. Avoid ".*" and do not
9076 require an anchor after -exec-run.
9077
d0b76dc6
DJ
90782008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
9079
9080 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
9081 stop is pending. Avoid ".*" when two stops are pending.
9082 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
9083 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
9084 newlines in fullnames.
9085 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
9086 (mi_expect_stop): Update comments. Only anchor in sync mode.
9087 Do not match newlines.
9088 (mi_send_resuming_command_raw): Always return status.
9089 (mi_get_stop_line): Do not match more than one line by accident.
9090 Only anchor in sync mode.
9091 (mi_run_inline_test): If -exec-next fails, give up.
9092
9990c830
UW
90932008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9094
9095 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
9096 on SPU.
9097
ebcf6f00
JB
90982008-09-10 Joel Brobecker <brobecker@adacore.com>
9099
9100 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
9101
b6db24e5
JB
91022008-09-10 Joel Brobecker <brobecker@adacore.com>
9103
9104 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
9105 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
9106 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
9107 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
9108 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
9109 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
9110 gdb.ada/interface.exp, gdb.ada/null_array.exp,
9111 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
9112 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
9113 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
9114 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
9115 Include the "= " sequence in the expected output of print tests.
9116
2bf448e0
JB
91172008-09-10 Joel Brobecker <brobecker@adacore.com>
9118
9119 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
9120 description for boolean types.
9121
d51fd4c8
PA
91222008-09-09 Pedro Alves <pedro@codesourcery.com>
9123
9124 * gdb.base/hook-stop-continue.c: New.
9125 * gdb.base/hook-stop-continue.exp: New.
9126
694182d2
DJ
91272008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
9128
9129 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
9130
3b8a7fc0
JG
91312008-09-08 Jerome Guitton <guitton@adacore.com>
9132
9133 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
9134 (stack_check_probe_2, stack_check_probe_loop_1)
9135 (stack_check_probe_loop_2): New functions.
9136 (main): Add call to these new functions.
9137 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
9138 functions, check that the breakpoint is inserted at the appropriate
9139 location.
9140 (insert_breakpoint): Slightly refine this procedure so that it can
9141 be called several times in the test.
9142
96cc0ae8
JG
91432008-09-08 Jerome Guitton <guitton@adacore.com>
9144
9145 * gdb.base/stack-checking.c: New file.
9146 * gdb.base/stack-checking.exp: New file.
9147
1f08b409
TJB
91482008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
9149
9150 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
9151 * gdb.arch/altivec-regs.exp: Likewise.
9152 * gdb.arch/vsx-regs.exp: Likewise.
9153
3099e1c4
TJB
91542008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
9155
9156 * gdb.arch/ppc-fp.exp: New file.
9157 * gdb.arch/ppc-fp.c: New file.
9158
cc69bfc1
PP
91592008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9160
9161 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
9162 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 9163
b02a33db
MS
91642008-09-04 Michael Snyder <msnyder@vmware.com>
9165
9166 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
9167 as "at" (for non-debug functions such as _start).
9168
2992cbe0
UW
91692008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9170
9171 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
9172 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
9173 software watchpoints.
9174 * gdb.base/watch_thread_num.exp: Likewise.
9175
514f746b
AR
91762008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
9177
9178 * gdb.arch/i386-bp_permanent.exp: New test.
9179
876cecd0
TT
91802008-08-24 Tom Tromey <tromey@redhat.com>
9181
9182 * gdb.base/maint.exp: Update "maint print type".
9183
80f73d71
VP
91842008-08-21 Vladimir Prus <vladimir@codesourcery.com>
9185
9186 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
9187 support. Adjust the order of "*running" notifications.
9188 * gdb.mi/non-stop.c: Don't cast from int to void* and
9189 back.
9190
d9c78d7d
MK
91912008-08-20 Mark Kettenis <kettenis@gnu.org>
9192
9193 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
9194 expect to find it in the "info frame" output.
9195
97a2d1d3
DJ
91962008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
9197
9198 * gdb.base/interp.exp: Always consume both prompts.
9199
b96e2927
PA
92002008-08-20 Pedro Alves <pedro@codesourcery.com>
9201
9202 * gdb.base/pending.exp: Test pending breakpoints without symbols
9203 loaded.
9204
8cf6e61a
VP
92052008-08-19 Vladimir Prus <vladimir@codesourcery.com>
9206
9207 * lib/mi-support.exp (mi_expect_stop): Produce
9208 more details on failures.
9209 * gdb.mi/mi-nonstop.exp: New.
9210 * gdb.mi/non-stop.c: New.
9211
c6ebd6cf
VP
92122008-08-19 Vladimir Prus <vladimir@codesourcery.com>
9213
a9c64011
AS
9214 * gdb.mi/mi-async.exp: Use 'set target-async'.
9215 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 9216
46a9b8ed
DJ
92172008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
9218
9219 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
9220
44feb3ce
TT
92212008-08-17 Tom Tromey <tromey@redhat.com>
9222
9223 * gdb.base/help.exp (help catch): Rewrite.
9224
311a4e6b
TJB
92252008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
9226
9227 * gdb.base/define.exp: Test indented command documentation.
9228 * gdb.python/python.exp: Test indented multi-line command.
9229
604c2f83
LM
92302008-08-15 Luis Machado <luisgpm@br.ibm.com>
9231
9232 * testsuite/gdb.arch/vsx-regs.c: New source file.
9233 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
9234 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
9235
886a217c
TT
92362008-08-14 Tom Tromey <tromey@redhat.com>
9237
9238 * gdb.base/macscp.exp: Add regression test for "macro define" or
9239 "macro undef" with no arguments.
9240
c814a4f3
PP
92412008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9242
9243 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 9244
12ab8a60
UW
92452008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9246
9247 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
9248
d57a3c85
TJB
92492008-08-06 Tom Tromey <tromey@redhat.com>
9250
9251 * gdb.python/python.exp: New file.
9252
c7b778ff
JK
92532008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9254
9255 Fix for PR gdb/1543.
9256 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
9257 $LOCATION.
9258 (location): New variable.
9259 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
9260 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
9261 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
9262 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
9263 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
9264 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
9265 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
9266 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
9267 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
9268 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
9269 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
9270 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
9271 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
9272 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
9273 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
9274 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
9275 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
9276 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
9277 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
9278 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
9279 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
9280 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
9281 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
9282 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
9283 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
9284 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
9285 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
9286 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
9287 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
9288 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
9289 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
9290 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
9291 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
9292 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
9293 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
9294 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
9295 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
9296 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
9297 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
9298 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
9299 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
9300 gdb.base/type-opaque.exp, gdb.base/until.exp,
9301 gdb.base/value-double-free.c, gdb.base/varargs.exp,
9302 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
9303 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
9304 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
9305 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
9306 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
9307 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
9308 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
9309 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9310 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
9311 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
9312 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
9313 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
9314 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
9315 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
9316 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
9317 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
9318 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
9319 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
9320 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
9321 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
9322 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
9323 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
9324 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
9325 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
9326 gdb.pascal/types.exp, gdb.stabs/weird.exp,
9327 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
9328 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
9329 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
9330 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
9331 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
9332 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
9333 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
9334 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
9335 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
9336 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
9337 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
9338 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
9339 lib/mi-support.exp, lib/trace-support.exp: Remove reference
9340 to bug-gdb@prep.ai.mit.edu .
9341
5e06a3d1
VP
93422008-07-31 Vladimir Prus <vladimir@codesourcery.com>
9343
9344 * lib/mi-support.exp (mi_load_shlibs): New.
9345 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
9346
9d81d21b
VP
93472008-07-30 Vladimir Prus <vladimir@codesourcery.com>
9348
9349 * lib/mi-support.exp (get_mi_thread_list)
9350 (check_mi_and_console_threads): New, moved from ...
9351 * gdb.mi/mi-pthread.exp: ...here.
9352 * gdb.mi/gdb669.exp (get_mi_thread_list)
9353 (check_mi_and_console_threads): Delete.
9354 * gdb.mi/mi2-pthread.exp: Likewise.
9355
bae98fe0
TT
93562008-07-28 Tom Tromey <tromey@redhat.com>
9357
9358 * Makefile.in (just-check): Remove. Move body to...
9359 (check): ... here.
9360
57380f4e
DJ
93612008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9362
9363 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
9364 Add a test for duplicated SIGINTs.
9365
e09490f1
DJ
93662008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9367
9368 * gdb.threads/schedlock.exp (get_args): Update to work for any
9369 value of NUM.
9370 (Top level): Report the number of threads that did not resume.
9371
6387b45f
DJ
93722008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9373
9374 * gdb.dwarf2/dw2-compressed.S: Also define __start.
9375
62f64ff2
DJ
93762008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9377
9378 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
9379 non-MI prompt.
9380
fa8de41e
TT
93812008-07-26 Tom Tromey <tromey@redhat.com>
9382
9383 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
9384 (function_struct, function_struct_ptr): New globals.
9385 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
9386 function pointer in a struct.
9387
ccb3ac8a
TT
93882008-07-26 Tom Tromey <tromey@redhat.com>
9389
9390 * gdb.base/macscp.exp: Add test for macro lexing bug.
9391
d7d9f01e
TT
93922008-07-18 Tom Tromey <tromey@redhat.com>
9393
9394 * gdb.base/macscp.exp: Add macro tests.
9395
9bf07184
PP
93962008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
9397
9398 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
9399
becf6477
PP
94002008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
9401
9402 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
9403
0709f7d3
PP
94042008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
9405
9406 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 9407
7093c834
PP
94082008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
9409
9410 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 9411
b432ffe3
JK
94122008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9413
9414 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
9415
b1a268e5
VP
94162008-07-12 Vladimir Prus <vladimir@codesourcery.com>
9417
9418 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
9419
e2995f8e
KB
94202008-07-11 Kevin Buettner <kevinb@redhat.com>
9421
9422 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
9423 of regexp to account for changes made to GDB in the printing of
9424 byte vectors.
9425
14032a66
TT
94262008-07-11 Tom Tromey <tromey@redhat.com>
9427
9428 * gdb.base/completion.exp: Add 'help' completion test.
9429
981505ef
JK
94302008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9431
9432 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
9433
10568435
JK
94342008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9435
9436 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
9437
4487aabf
PA
94382008-07-09 Pedro Alves <pedro@codesourcery.com>
9439
9440 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
9441
a4a9b1c4
PA
94422008-07-09 Pedro Alves <pedro@codesourcery.com>
9443
9444 * gdb.base/fullname.exp: Restore pwd if compiling failed.
9445
3c3185ac
JK
94462008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9447
9448 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
9449
7ebd49dc
VP
94502008-06-28 Vladimir Prus <vladimir@codesourcery.com>
9451
9452 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
9453 previous commit. Add a comment.
9454
84e46146
PA
94552008-06-28 Pedro Alves <pedro@codesourcery.com>
9456
9457 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
9458
0f8d4a2f
VP
94592008-06-28 Vladimir Prus <vladimir@codesourcery.com>
9460
9461 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
9462
f747e0ce
PA
94632008-06-27 Pedro Alves <pedro@codesourcery.com>
9464
9465 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
9466 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
9467 compiling an executable, link in an object that forces unbuffered
9468 output.
9469 * lib/set_unbuffered_mode.c: New file.
9470
734a5c36
JK
94712008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9472
9473 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
9474
a2840c35
VP
94752008-06-25 Vladimir Prus <vladimir@codesourcery.com>
9476
a9c64011
AS
9477 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
9478 mi_expect_stop.
9479 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
9480 Demand that *running is output.
9481 (detect_async): Perform checking every time.
9482 (mi_send_resuming_command): Extract everything into...
9483 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
9484 (mi_expect_stop): Don't accept any output before *stopped.
9485
6ae37fef
VP
94862008-06-13 Vladimir Prus <vladimir@codesourcery.com>
9487
9488 Robustify mi-simplerun.
a9c64011
AS
9489 * gdb.mi/basics.c (main): Add a call to sleep.
9490 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
9491 * gdb.mi/mi2-cli.exp: Likewise.
9492 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 9493
b4aa76f0 94942008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
9495
9496 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
9497
e1ac3328
VP
94982008-06-10 Vladimir Prus <vladimir@codesourcery.com>
9499
a9c64011
AS
9500 * gdb.mi/mi-console.exp: Adjust.
9501 * gdb.mi/mi-syn-frame.exp: Adjust.
9502 * gdb.mi/mi2-console.exp: Adjust.
9503 * gdb.mi/mi2-syn-frame.exp: Adjust.
9504 * lib/mi-support.exp (mi_run_cmd): Adjust.
9505 (mi_send_resuming_command): Adjust.
e1ac3328 9506
f7f9a841
VP
95072008-06-10 Vladimir Prus <vladimir@codesourcery.com>
9508
9509 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
9510 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
9511 testing of stopped.
9512 * gdb.mi/mi2-syn-frame.exp: Likewise.
9513 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
9514 (async, detect_async): New.
9515 (mi_expect_stop, mi_continue_to_line): Adjust expectation
9516 depending on if we're running in sync or async mode.
f7f9a841 9517
37cd5d19
TT
95182008-06-09 Tom Tromey <tromey@redhat.com>
9519
9520 * gdb.base/completion.exp: New tests for field name completion
9521 with spaces, and field name completion with '->'.
9522
65d12d83
TT
95232008-06-06 Tom Tromey <tromey@redhat.com>
9524
9525 * gdb.base/break1.c (struct some_struct): New struct.
9526 (values): New global.
9527 * gdb.base/completion.exp: Add field name completion test.
9528
ebfe2e3f
PP
95292008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9530
9531 * gdb.cp/call-c.exp: Test for incorrect handling of reference
9532 to pointer.
9533 * gdb.cp/call-c.cc: Likewise.
9534
bcf6fc3a
NR
95352008-06-06 Nick Roberts <nickrob@snap.net.nz>
9536
9537 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
9538 annotation.
9539
49fd4a42 95402008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 9541 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
9542
9543 * gdb.threads/execl.c, gdb.threads/execl1.c,
9544 gdb.threads/execl.exp: New tests.
a9c64011 9545
8a34ac3f
AR
95462008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
9547 Daniel Jacobowitz <dan@codesourcery.com>
9548
9549 * gdb.cp/exception.exp: Activate test, make it work with pending
9550 catchpoints.
9551
86ae69ef
JK
95522008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9553
9554 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
9555
f7f9ae2c
VP
95562008-05-28 Vladimir Prus <vladimir@codesourcery.com>
9557
a9c64011
AS
9558 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
9559 now printed.
9560 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 9561
2a2d4dc3
AS
95622008-05-27 Andreas Schwab <schwab@suse.de>
9563
9564 * gdb.base/frame-args.exp: Handle arguments that are optimized
9565 out.
9566
5099e4d9
LM
95672008-05-26 Luis Machado <luisgpm@br.ibm.com>
9568
9569 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
9570 quiet for ppc32 and group options into a single variable.
9571
d9c36a91
JB
95722008-05-23 Joel Brobecker <brobecker@adacore.com>
9573
9574 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
9575 of zero-size elements.
9576 * gdb.ada/null_array.exp: Test printing this new array.
9577
103a8671
JK
95782008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9579
9580 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
9581
07a4cc1a 95822008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
9583
9584 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
9585 of the "finish" command.
9586
55f996a7
NR
95872008-05-21 Nick Roberts <nickrob@snap.net.nz>
9588
9589 * gdb.base/annota1.exp: Test for new annotation.
9590
907fc202
UW
95912008-05-16 Pedro Alves <pedro@codesourcery.com>
9592
9593 * gdb.base/fixsection.exp: New file.
9594 * gdb.base/fixsection0.c: New file.
9595 * gdb.base/fixsection1.c: New file.
9596
e8f97270
UW
95972008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9598
9599 * gdb.base/annota1.exp: Accept printf@... in place of printf.
9600 * gdb.base/annota3.exp: Likewise.
9601
ac0bb574
NF
96022008-05-13 Nathan Froyd <froydnj@codesourcery.com>
9603
9604 * gdb.base/watch_thread_num.exp: Don't run tests that require
9605 watchpoints if the target doesn't support them.
9606
6fadd07a
DE
96072008-05-12 Doug Evans <dje@google.com>
9608
9609 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
9610
6e9a4a30
JB
96112008-05-09 Joel Brobecker <brobecker@adacore.com>
9612
9613 * gdb.ada/assign_1.exp: New testcase.
9614
08388c79
DE
96152008-05-09 Doug Evans <dje@google.com>
9616
a3c83fae
DE
9617 * gdb.base/find.exp: New file.
9618 * gdb.base/find.c: New file.
08388c79 9619
bd5ddfe8
DJ
96202008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
9621
9622 * gdb.base/commands.exp (watchpoint_command_test): Handle
9623 gdb,no_hardware_watchpoints.
9624 * gdb.base/float.exp: Allow ARM targets without floating point.
9625 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
9626
b5dd68e2 96272008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 9628 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
9629
9630 * gdb.ada/lang_switch: New test program.
9631 * gdb.ada/lang_switch.exp: New testcase.
9632
382d13d1
DE
96332008-05-05 Doug Evans <dje@google.com>
9634
9635 * gdb.base/help.exp (disassemble): Update expected help text.
9636
9dd789d0
PA
96372008-05-04 Pedro Alves <pedro@codesourcery.com>
9638
9639 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
9640
611c83ae
PA
96412008-05-04 Pedro Alves <pedro@codesourcery.com>
9642
9643 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
9644 different times.
9645
ff013f42
JK
96462008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9647
9648 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
9649 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
9650 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
9651 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
9652
96dff6a2
VP
96532008-05-04 Vladimir Prus <vladimir@codesourcery.com>
9654
9655 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
9656 notification to appear.
9657
55cd6f92
DJ
96582008-05-04 Daniel Jacobowitz <dan@debian.org>
9659
9660 * gdb.base/fullname.c: New file.
9661 * gdb.base/fullname.exp: New file.
9662 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
9663
d705c43c
PA
96642008-05-03 Pedro Alves <pedro@codesourcery.com>
9665
9666 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
9667 expressions with macros.
9668
333222e1
JK
96692008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9670
9671 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
9672
5ac01682
DJ
96732008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
9674
9675 * gdb.base/completion.exp: Handle lack of other symbols beginning
9676 with "a".
9677
9678 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
9679
237fc4c9
PA
96802008-05-02 Jim Blandy <jimb@codesourcery.com>
9681
9682 * gdb.asm/asmsrc1.s: Add scratch space.
9683
ed5e9466
DJ
96842008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9685 Daniel Jacobowitz <dan@codesourcery.com>
9686
9687 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
9688 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
9689 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
9690
b39cc962
DJ
96912007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
9692
9693 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
9694
36d520f5
JB
96952008-05-01 Joel Brobecker <brobecker@adacore.com>
9696
9697 * gdb.base/info-target.exp: New testcase.
9698
8d4e3071
DJ
96992008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
9700
9701 * gdb.cp/hang.exp: Use .cc instead of .C.
9702 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
9703 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
9704
6f3f3097
DJ
97052008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
9706
9707 * gdb.base/gdb1250.exp: Remove perror.
9708 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
9709
5550a914
PA
97102008-04-30 Pedro Alves <pedro@codesourcery.com>
9711
9712 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
9713 .2byte.
9714
d848e687
DJ
97152008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
9716
9717 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
9718 (maybe_kfail): New.
9719
93b5768b
PA
97202008-04-25 Pedro Alves <pedro@codesourcery.com>
9721
9722 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
9723
721c02de
VP
97242008-04-24 Vladimir Prus <vladimir@codesourcery.com>
9725
a9c64011
AS
9726 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
9727 * gdb.mi/mi2-syn-frame.exp: Likewise.
9728 * lib/mi-support.exp: Likewise.
721c02de 9729
74960c60
VP
97302008-04-24 Vladimir Prus <vladimir@codesourcery.com>
9731
9732 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
9733 to specify regexp for the location to stop at.
9734 * gdb.base/break-always.c: New.
9735 * gdb.base/break-always.exp: New.
9736
d24317b4
VP
97372008-04-24 Vladimir Prus <vladimir@codesourcery.com>
9738
9739 * lib/mi-support.exp (mi_runto_helper): Adjust
9740 for the original-location field.
9741 (mi_create_breakpoint, mi_list_breakpoints): New.
9742 * gdb.mi/mi-break.exp: Adjust.
9743 * gdb.mi/mi2-break.exp: Adjust.
9744 * gdb.mi/mi-pending.exp: Adjust.
9745 * gdb.mi/mi-simplerun.exp: Adjust.
9746 * gdb.mi/mi2-simplerun.exp: Adjust.
9747 * gdb.mi/mi-syn-frame.exp: Adjust.
9748 * gdb.mi/mi2-syn-frame.exp: Adjust.
9749 * gdb.mi/mi-until.exp: Adjust.
9750 * gdb.mi/mi2-until.exp: Adjust.
9751 * gdb.mi/mi-var-display.exp: Adjust.
9752 * gdb.mi/mi2-var-display.exp: Adjust.
9753 * gdb.mi/mi-watch.exp: Adjust.
9754 * gdb.mi/mi2-watch.exp: Adjust.
9755
fdc59709 97562008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 9757
a9c64011
AS
9758 * aclocal.m4: Add override.m4.
9759 * configure: Regenerate.
fdc59709 9760
8e91f023
VP
97612008-04-19 Vladimir Prus <vladimir@codesourcery.com>
9762
9763 * gdb.mi/var-cmd.c (do_at_tests): Verify that
9764 '-var-update --all-values' reports new value even the type
9765 of a variable object has changed.
9766
233a11ab
CS
97672008-04-18 Craig Silverstein <csilvers@google.com>
9768
9769 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
9770 files.
d24317b4 9771
9c1137ad
JB
97722008-04-18 Joel Brobecker <brobecker@adacore.com>
9773
9774 * gdb.ada/atomic_enum: New test program.
9775 * gdb.ada/atomic_enum.exp: New testcase.
9776
66d0bbc7
DE
97772008-04-17 Doug Evans <dje@google.com>
9778
9779 * gdb.opt/Makefile.in: Fix whitespace.
9780
100906b0
UW
97812008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
9782
9783 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
9784
4584e32e
DE
97852008-04-17 Doug Evans <dje@google.com>
9786
9787 * gdb.base/hashline1.exp: New testcase.
9788 * gdb.base/hashline2.exp: New testcase.
9789 * gdb.base/hashline2.exp: New testcase.
9790
0a320680
PA
97912008-04-17 Pedro Alves <pedro@codesourcery.com>
9792
9793 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
9794
18ac113b
AR
97952008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
9796
9797 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
9798 temporary breakpoint to match "Temporary breakpoint".
9799 * gdb.base/break.exp (delete_breakpoints): Likewise.
9800 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
9801 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
9802 * gdb.base/display.exp: Likewise.
9803 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
9804 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
9805 * gdb.base/restore.exp (restore_tests): Likewise.
9806 * gdb.base/sepdebug.exp: Likewise.
9807 * gdb.base/watchpoint.exp: Likewise.
9808 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
9809 * gdb.mi/mi-pending.exp: Likewise.
9810 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
9811 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
9812 * gdb.mi/mi-var-cmd.exp: Likewise.
9813 * gdb.mi/mi-var-display.exp: Likewise.
9814 * gdb.mi/mi2-cli.exp: Likewise.
9815 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
9816 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
9817 * gdb.mi/mi2-var-display.exp: Likewise.
9818 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
9819 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
9820 new "disp" field.
a9c64011 9821 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
9822 reason. This is to support fix for PR2424.
9823
add38693
JK
98242008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9825
9826 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
9827
fcacd99f
VP
98282008-04-13 Vladimir Prus <vladimir@codesourcery.com>
9829
9830 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 9831 field. Add more floating varobj tests.
fcacd99f 9832 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
9833 field.
9834 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
9835 (main): Call do_at_tests.
9836 * lib/mi-support.exp (mi_create_floating_varobj)
9837 (mi_varobj_update_with_type_change): New.
fcacd99f 9838
de051565
MK
98392008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
9840
9841 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
9842 option of -var-evaluate-expression.
9843 * gdb.mi/mi2-var-display.exp: Likewise.
9844
dbc52822
VP
98452008-04-07 Vladimir Prus <vladimir@codesourcery.com>
9846
9847 Introduce test setup helpers.
a9c64011
AS
9848 * lib/gdb.exp (build_executable, clean_restart)
9849 (prepare_for_testing): New.
9850 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
9851 * gdb.base/return.exp: Likewise.
9852 * gdb.base/ending-run.exp: Likewise.
dbc52822 9853
473591da
NR
98542008-04-07 Nick Roberts <nickrob@snap.net.nz>
9855
9856 * gdb.mi/mi-async.exp: New test for asynchronous Machine
9857 Interface (MI) responses.
9858
2b2d9e11
VP
98592008-04-06 Vladimir Prus <vladimir@codesourcery.com>
9860
a9c64011
AS
9861 * gdb.cp/breakpoint.cc: New code to test conditions involving
9862 member variables.
9863 * gdb.cp/breakpoint.exp: Test condition involving member
9864 variables.
2b2d9e11 9865
bb378428
VP
98662008-04-05 Vladimir Prus <vladimir@codesourcery.com>
9867
9868 * lib/mi-support.exp (mi_expect_stop): New.
9869 (mi_run_cmd): Change the
9870 token. Use mi_send_resuming_command, use
9871 mi_expect_stop.
9872 (mi_execute_to_helper): Rename to mi_execute_to.
9873 (mi_send_resuming_command): Add more error patterns.
9874 (mi_wait_for_stop): Renamed to...
9875 (mi_get_stop_line): ...this.
9876 (mi_run_inline_test): Adjust.
9877
9878 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
9879 * gdb.mi/mi-console.exp: Likewise.
9880 * gdb.mi/mi-pending.exp: Likewise.
9881 * gdb.mi/mi-simplerun.exp: Likewise.
9882 * gdb.mi/mi-stack.exp: Likewise.
9883 * gdb.mi/mi-stepi.exp: Likewise.
9884 * gdb.mi/mi-syn-frame.exp: Add comment.
9885 * gdb.mi/mi-until.exp: Likewise.
9886 * gdb.mi/mi-var-display.exp: Likewise.
9887 * gdb.mi/mi-watch.exp: Likewise.
9888 * gdb.mi/mi2-cli.exp: Likewise.
9889 * gdb.mi/mi2-console.exp: Likewise.
9890 * gdb.mi/mi2-simplerun.exp: Likewise.
9891 * gdb.mi/mi2-stack.exp: Likewise.
9892 * gdb.mi/mi2-stepi.exp: Likewise.
9893 * gdb.mi/mi2-until.exp: Likewise.
9894 * gdb.mi/mi2-var-display.exp: Likewise.
9895 * gdb.mi/mi2-watch.exp: Likewise.
9896
62172bb9
UW
98972008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9898
9899 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
9900
9901 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
9902
a13e061a
PA
99032008-04-04 Pedro Alves <pedro@codesourcery.com>
9904
9905 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
9906 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
9907 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
9908 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
9909 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
9910 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
9911 expect an mi error duplicated in stderr.
9912
eae06beb
JB
99132008-04-03 Joel Brobecker <brobecker@adacore.com>
9914
9915 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
9916 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
9917 Add a couple of tests that verify the behavior when the new setting
9918 is set to "cancel" and "all".
9919 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
9920 "ask" before we start the testing.
9921
79c6ced6
AR
99222008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
9923
9924 * gdb.cp/casts.cc: Add class reference variables.
9925 * gdb.cp/casts.exp: New test cases for up/down casting references.
9926
6c2d1a6b
MK
99272008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
9928
9929 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
9930 instead of beginning to make an extra test pass.
9931 * gdb.mi/mi2-var-display.exp: Likewise.
9932
55b411d9
MR
99332008-03-31 Maciej W. Rozycki <macro@mips.com>
9934
9935 * gdb.base/break.exp: Mark failures as such. Fix formatting.
9936
c6140da2
MD
99372008-03-31 Markus Deuling <deuling@de.ibm.com>
9938 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9939
9940 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
9941 value. Add xfail for older kernels.
9942
79732189
AR
99432008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
9944
9945 Bring mi-support in line with gdb.exp.
9946 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
9947 (mi_gdb_start): New function.
9948
33c3676e
MR
99492008-03-28 Maciej W. Rozycki <macro@mips.com>
9950
9951 * gdb.mi/mi-var-cmd.exp: Fix a typo.
9952
92e28119
VP
99532008-03-26 Vladimir Prus <vladimir@codesourcery.com>
9954
9955 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
9956 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 9957
9e8e3afe
VP
99582008-03-26 Vladimir Prus <vladimir@codesourcery.com>
9959
9960 * lib/mi-support.exp (mi_create_varobj_checked): New.
9961 (mi_list_varobj_children): Allow to check for a
9962 value.
9963 (mi_list_array_varobj_children): New.
9964
9965 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
9966 and mi_list_varobj_children, as opposed to hardcoding
9967 expected strings.
9968 * gdb.mi/gdb701.exp: Likewise.
9969 * gdb.mi/gdb792.exp: Likewise.
9970 * gdb.mi/mi-var-block.exp: Likewise.
9971 * gdb.mi/mi-var-cmd.exp: Likewise.
9972 * gdb.mi/mi-var-invalidate.exp: Likewise.
9973 * gdb.mi/mi2-var-block.exp: Likewise.
9974 * gdb.mi/mi2-var-child.exp: Likewise.
9975 * gdb.mi/mi2-var-cmd.exp: Likewise.
9976 * gdb.mi/mi2-var-display.exp: Likewise.
9977
9df50351
JK
99782008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9979
9980 Fix random false FAILs on i386.
9981 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
9982
31e5d73a
DJ
99832008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
9984
9985 PR gdb/544
9986 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
9987
12f4afab
DJ
99882008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
9989
9990 PR gdb/544
9991 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
9992
b562a0cb
DJ
99932008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
9994
9995 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
9996 fixed PR gdb/544.
9997
17faa917
DJ
99982008-03-21 Pedro Alves <pedro@codesourcery.com>
9999
10000 * gdb.threads/fork-child-threads.exp: Test next over fork.
10001
6214f497
DJ
100022008-03-21 Chris Demetriou <cgd@google.com>
10003
10004 * gdb.base/break.exp (rbreak junk): New test for rbreak
10005 "Junk at end of arguments" issue.
10006
63092375
DJ
100072008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
10008
10009 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
10010 *& to work on created array elements.
10011 (Top level): Test print $pc with a file. Test string operations
10012 without a target.
10013 * gdb.base/ptype.exp: Do not expect *& to work on created array
10014 elements.
10015
b21991b0
DJ
100162008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
10017
10018 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
10019 gdb.threads/staticthreads.exp: Update exit query.
10020
c4b347c7
SL
100212008-03-07 Sandra Loosemore <sandra@codesourcery.com>
10022
10023 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
10024
fa4727a6
DJ
100252008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
10026
10027 * gdb.base/watchpoint.c (global_ptr, func4): New.
10028 (main): Call func4.
10029 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
10030 (test_inaccessible_watchpoint): New.
10031
2f34202f
MR
100322008-02-29 Maciej W. Rozycki <macro@mips.com>
10033
10034 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
10035 select the largest.
10036
0d6ba1b1
DJ
100372008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
10038
10039 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
10040 frames-invalid annotations.
10041
e691325a
PM
100422008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
10043
a9c64011 10044 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 10045
f85b5ecc
DE
100462008-02-27 Doug Evans <dje@google.com>
10047
10048 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
10049 for bug 1738.
10050 (breakpoint_to_handler_entry): Ditto.
10051
b40e7bf3
JB
100522008-02-27 Joel Brobecker <brobecker@adacore.com>
10053
10054 * gdb.base/ending-run.exp: Use the first line of code inside
10055 function body to test breakpoints.
10056 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
10057 location where the breakpoint is inserted when using the line
10058 where a function is declared. Fix typo in the description of
10059 one of the tests.
10060 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
10061
2faca73a
PM
100622008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
10063
10064 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 10065 tests.
2faca73a 10066
6f439c36
PM
100672008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
10068
10069 * gdb.base/args.exp: avoid same output for tests
10070 with single quotes.
10071
54e52265
VP
100722008-02-26 Vladimir Prus <vladimir@codesourcery.com>
10073
a9c64011
AS
10074 * gdb.base/annota1.exp: Adjust for 'info break'
10075 format changes.
10076 * gdb.base/annota3.exp: Likewise.
10077 * gdb.base/break.exp: Likewise.
10078 * gdb.base/condbreak.exp: Likewise.
10079 * gdb.base/pending.exp: Likewise.
10080 * gdb.base/sepdebug.exp: Likewise.
10081 * gdb.base/unload.exp: Likewise.
10082 * gdb.cp/ovldbreak.exp: Likewise.
10083 * gdb.mi/mi-pending.exp: Likewise.
54e52265 10084
897b09ca
DE
100852008-02-07 Doug Evans <dje@google.com>
10086
10087 * gdb.cp/mb-inline.exp: New.
10088 * gdb.cp/mb-inline.h: New.
10089 * gdb.cp/mb-inline1.cc: New.
10090 * gdb.cp/mb-inline2.cc: New.
10091
b1c32d35
PM
100922008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
10093
10094 * gdb.pascal/floats.pas: New test program.
10095 * gdb.pascal/floats.exp: New testcase.
10096
1a4ca44a
TJB
100972008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
10098
10099 * gdb.base/callfuncs.c (t_float_many_args): New function.
10100 (t_double_many_args): New function.
10101 * gdb.base/callfuncs.exp: Add tests for exceeding float
10102 and double parameters passed through the stack.
10103
439048e8
JB
101042008-02-05 Joel Brobecker <brobecker@adacore.com>
10105
10106 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
10107 gdb.ada/complete/foo.adb: New files.
10108 * gdb.ada/complete.exp: New testcase.
10109
81fe8080
DE
101102008-02-03 Doug Evans <dje@google.com>
10111
301f0ecf
DE
10112 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
10113
81fe8080
DE
10114 * gdb.cp/gdb2384.exp: New file.
10115 * gdb.cp/gdb2384.cc: New file.
10116 * gdb.cp/gdb2384-base.h: New file.
10117 * gdb.cp/gdb2384-base.cc: New file.
10118
4b071aec
DE
101192008-02-02 Doug Evans <dje@google.com>
10120
10121 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
10122
61137ba6
JB
101232007-02-01 Joel Brobecker <brobecker@adacore.com>
10124
10125 * gdb.ada/sym_print_name: New test program.
10126 * gdb.ada/sym_print_name.exp: New testcase.
10127
101282007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
10129
10130 * gdb.ada/nested/hello.adb: New file.
10131 * gdb.ada/nested.exp: New testcase.
10132 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
10133
98deb0da
VP
101342008-02-01 Vladimir Prus <vladimir@codesourcery.com>
10135
10136 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
10137 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
10138 don't cause future evaluations of function to report
10139 creation of internal breakpoints.
98deb0da 10140
723a2275
VP
101412008-02-01 Vladimir Prus <vladimir@codesourcery.com>
10142
10143 * gdb.mi/mi-break.exp (test_error): New.
10144 Call it.
10145
fb546a2f
LM
101462008-01-31 Luis Machado <luisgpm@br.ibm.com>
10147
10148 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
10149 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
10150
2d8fd90a
PM
101512008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
10152
10153 * gdb.pascal/integers.pas: New test program.
10154 * gdb.pascal/integers.exp: New testcase.
10155
a7fa0ded
PM
101562008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
10157
10158 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
10159
5e1a1926
TJB
101602008-01-30 Luis Machado <luisgpm@br.ibm.com>
10161
10162 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
10163 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
10164
8d04f9f0
JB
101652008-01-30 Paul Hilfinger <hilfinger@adacore.com>
10166
10167 * gdb.ada/formatted_ref: New test program.
10168 * gdb.ada/formatted_ref.exp: New testcase.
10169
10170 * gdb.cp/formatted-ref.cc: New file.
10171 * gdb.cp/formatted-ref.exp: New testcase.
10172
ce75a98f
JB
101732008-01-30 Joel Brobecker <brobecker@adacore.com>
10174
10175 * gdb.base/ptype.exp: Add testing of "ptype $pc".
10176
e835f6bf
NR
101772008-01-30 Nick Roberts <nickrob@snap.net.nz>
10178
10179 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
10180 (test_file_list_exec_source_file): Update to new macro-info field.
10181
d118ef87
PH
101822008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
10183
10184 * gdb.ada/exprs: New test program.
10185 * gdb.ada/exprs.exp: New testcase.
10186
7d35ab09
TJB
101872008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
10188
10189 * dfp-test.c (DELTA, DELTA_B): New definitions.
10190 (double_val1, double_val2, double_val3, double_val4, double_val5,
10191 double_val6, double_val7, double_val8, double_val9, double_val10,
10192 double_val11, double_val12, double_val13, double_val14, dec32_val1,
10193 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
10194 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
10195 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
10196 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
10197 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
10198 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
10199 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
10200 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
10201 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
10202 dec128_val16): New global variables.
10203 (decimal_dec128_align): New function.
10204 (decimal_mixed): Likewise.
10205 (decimal_many_args_dec32): Likewise.
10206 (decimal_many_args_dec64): Likewise.
10207 (decimal_many_args_dec128): Likewise.
10208 (decimal_many_args_mixed): Likewise.
10209 * dfp-test.exp: Add tests calling new inferior functions.
10210
2d717e4f
DJ
102112008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
10212
10213 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
10214 gdb.server/ext-run.exp: New files.
10215 * lib/gdbserver-support.exp (gdbserver_download): New.
10216 (gdbserver_start): New. Update gdbserver expected
10217 output.
10218 (gdbserver_spawn): Use them.
10219 (gdbserver_start_extended): New.
10220
e85a822c
DJ
102212008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
10222
10223 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
10224 Run on GNU/Linux.
10225 (do_exec_tests): Check for systems which do not support catchpoints.
10226 Do not match START.
10227 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
10228 Run on GNU/Linux. Enable verbose output.
10229 (check_fork_catchpoints): New.
10230 (explicit_fork_child_follow, catch_fork_child_follow)
10231 (tcatch_fork_parent_follow): Update expected messages.
10232 (do_fork_tests): Use check_fork_catchpoints.
10233 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
10234 Run on GNU/Linux. Enable verbose output.
10235 (check_vfork_catchpoints): New.
10236 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
10237 expected messages.
10238 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
10239
401ea829
JB
102402008-01-29 Jim Blandy <jimb@red-bean.com>
10241
10242 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
10243 host' errors.
10244 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
10245
aceaf3ad
JB
102462008-01-29 Jim Blandy <jimb@red-bean.com>
10247
10248 * gdb.threads/sigthread.c: Use barriers to ensure that
10249 child_thread and child_thread_two are always initialized before we
10250 start to use them.
10251
a5606eee
VP
102522008-01-29 Vladimir Prus <vladimir@codesourcery.com>
10253
10254 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
10255 * gdb.base/watchpoint-solib.c: New.
10256 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 10257
c55a82bb
PM
102582008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
10259
10260 * gdb.base/gdb1056.exp: Add unsigned integer test.
10261
0993fe05
DE
102622008-01-28 Doug Evans <dje@google.com>
10263
10264 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
10265
4fe42e7f
JB
102662008-01-27 Jim Blandy <jimb@codesourcery.com>
10267
c7a69933
JB
10268 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
10269
4fe42e7f
JB
10270 * gdb.base/expand-psymtabs.exp: Doc fix.
10271
5def8285
MK
102722008-01-26 Mark Kettenis <kettenis@gnu.org>
10273
10274 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
10275
5313c911
NR
102762008-01-24 Nick Roberts <nickrob@snap.net.nz>
10277
a9c64011 10278 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
10279 -var-set-format.
10280
93815fbf
VP
102812008-01-23 Chris Demetriou <cgd@google.com>
10282
10283 * gdb.threads/thread_events.c: New testcase source file.
10284 * gdb.threads/thread_events.exp: New testcase expect file.
10285
467a88ee
NR
102862008-01-23 Nick Roberts <nickrob@snap.net.nz>
10287
10288 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
10289
10290 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
10291 -var-set-format.
10292
d8f82aba
DJ
102932008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
10294 Vladimir Prus <vladimir@codesourcery.com>
10295
10296 * gdb.base/float.exp: Allow missing floating point for m68k and
10297 PowerPC.
10298
60c46647
VP
102992008-01-22 Vladimir Prus <vladimir@codesourcery.com>
10300
10301 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
10302 ignore count.
10303 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
10304 * gdb.mi/mi-cli.exp: Adjust.
10305 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 10306
c7dd36a1
PA
103072008-01-17 Pedro Alves <pedro@codesourcery.com>
10308
10309 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
10310 and 'dummy_ptr' integer pointer. Initialize struct_declarations
10311 with dummy_ptr's address.
10312 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
10313 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
10314 all targets.
10315 * gdb.mi/mi2-var-child.exp: Likewise.
10316
39d5313e
JB
103172008-01-09 Joel Brobecker <brobecker@adacore.com>
10318
10319 * gdb.ada/null_array: New test program.
10320 * gdb.ada/null_array.exp: New testcase.
10321
0aea4bf3
LM
103222008-01-09 Luis Machado <luisgpm@br.ibm.com>
10323
10324 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
10325 with required float modifiers.
10326
0b354900
JB
103272008-01-08 Joel Brobecker <brobecker@adacore.com>
10328
10329 * gdb.ada/funcall_param: New test program.
10330 * gdb.ada/funcall_param.exp: New testcase.
10331
cdb7f5d4
JB
103322008-01-08 Joel Brobecker <brobecker@adacore.com>
10333
10334 * gdb.ada/arrayparam: New test program.
10335 * gdb.ada/arrayparam.exp: New testcase.
10336
88e2547f
JB
103372008-01-08 Joel Brobecker <brobecker@adacore.com>
10338
10339 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
10340 landed. Should also fix random failures in the test following it.
10341
f6867ce0
TJB
103422008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
10343
10344 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
10345 for expressions with decimal float values.
10346 (test_dfp_conversions): New function to test casts to and from
10347 decimal float types.
10348 Call test_dfp_conversions.
10349 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
10350 elements.
10351 (main): Initialize ds.float4 and ds.double8 elements.
10352 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
10353 string to new error message.
10354 (d64_set_tests): Likewise.
10355 (d128_set_tests): Likewise.
10356 Add tests for expressions with decimal float variables. Add tests for
10357 conversions to and from decimal float types.
10358
f9c11282
JB
103592008-01-05 Joel Brobecker <brobecker@adacore.com>
10360
10361 * gdb.ada/packed_tagged/comp_bug.adb: New file.
10362 * gdb.ada/packed_tagged.exp: New testcase.
10363
0ecbca72
JB
103642008-01-04 Joel Brobecker <brobecker@adacore.com>
10365
10366 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
10367 gdb.ada/homonym/homonym_main.adb: New files.
10368 * gdb.ada/homonym.exp: New testcase.
10369
c18d3d89
JB
103702008-01-04 Joel Brobecker <brobecker@adacore.com>
10371
10372 * gdb.ada/packed_array.exp: Add testing of references to
10373 a packed array.
10374
ecc7085b
JB
103752008-01-04 Joel Brobecker <brobecker@adacore.com>
10376
10377 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
10378 New files.
10379 * gdb.ada/type_coercion.exp: New testcase.
10380
c474c922
JB
103812008-01-04 Joel Brobecker <brobecker@adacore.com>
10382
10383 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
10384 gdb.ada/tagged/foo.adb: New file.
10385 * gdb.ada/tagged.exp: New testcase.
10386
9005b927
JB
103872008-01-04 Joel Brobecker <brobecker@adacore.com>
10388
10389 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
10390 gdb.ada/ptype_field/foo.adb: New files.
10391 * gdb.ada/ptype_field.exp: New testcase.
10392
1a6aaad8
JB
103932008-01-03 Joel Brobecker <brobecker@adacore.com>
10394
10395 * gdb.ada/print_pc.exp: New testcase.
10396
0ef22f53
JB
103972008-01-03 Joel Brobecker <brobecker@adacore.com>
10398
10399 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
10400 gdb.ada/taft_type/p.adb: New files.
10401 * gdb.ada/taft_type.exp: New testcase.
10402
1689ecf8
JB
104032008-01-03 Joel Brobecker <brobecker@adacore.com>
10404
10405 * gdb.ada/array_bounds/bar.adb: New file.
10406 * gdb.ada/array_bounds.exp: New testcase.
10407
a4d0b9c3
JB
104082008-01-03 Joel Brobecker <brobecker@adacore.com>
10409
10410 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
10411 gdb.ada/arrayptr/foo.adb: New files.
10412 * gdb.ada/arrayptr.exp: New testcase.
10413
a31ace00
JB
104142008-01-03 Joel Brobecker <brobecker@adacore.com>
10415
10416 * gdb.base/set-lang-auto.exp: New testcase.
10417
a97fced3
JB
104182008-01-03 Joel Brobecker <brobecker@adacore.com>
10419
10420 * gdb.ada/fun_addr/foo.adb: New file.
10421 * gdb.ada/fun_addr.exp: New testcase.
10422
ef29ce1a
JK
104232008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10424
10425 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
10426 New files
10427
0fafefe3
JB
104282008-01-02 Joel Brobecker <brobecker@adacore.com>
10429
10430 * array_subscript_addr/p.adb: New file.
a9c64011 10431 * array_subscript_addr.exp: New testcase.
0fafefe3 10432
c4359f8d
JB
104332008-01-02 Joel Brobecker <brobecker@adacore.com>
10434
a9c64011 10435 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
10436 New files.
10437 * gdb.ada/str_cmp_ref.exp: New testcase.
10438
1aa1b15b
JB
104392008-01-01 Joel Brobecker <brobecker@adacore.com>
10440
10441 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
10442 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 10443 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 10444
81c9b2cf
JB
104452008-01-01 Joel Brobecker <brobecker@adacore.com>
10446
10447 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
10448 gdb.ada/ref_param/pck.ads: New files.
10449 * gdb.ada/ref_param.exp: New testcase.
10450
319e4674
JB
104512008-01-01 Joel Brobecker <brobecker@adacore.com>
10452
10453 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
10454 gdb.ada/interface/foo.adb: New files.
10455 * gdb.ada/interface.exp: New testcase.
10456
ef682c56
JB
104572007-12-31 Jim Blandy <jimb@codesourcery.com>
10458
10459 * gdb.base/multi-forks.exp: Consume all output from child
10460 processes before proceeding to next test.
10461
f6f3eb6c
JB
104622007-12-29 Jim Blandy <jimb@codesourcery.com>
10463
10464 * configure: Regenerated.
10465
f652e42f
JB
104662007-12-27 Joel Brobecker <brobecker@adacore.com>
10467
10468 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
10469 gdb.ada/fixed_cmp/fixed.adb: New files.
10470 * gdb.ada/fixed_cmp.exp: New testcase.
10471
6943e596
JB
104722007-12-27 Joel Brobecker <brobecker@adacore.com>
10473
10474 * gdb.ada/boolean_expr.exp: New testcase.
10475
aad9a193
JB
104762007-12-26 Jim Blandy <jimb@codesourcery.com>
10477
10478 * gdb.base/multi-forks.exp: Doc fix.
10479
fb5f3683
JB
104802007-12-26 Joel Brobecker <brobecker@adacore.com>
10481
10482 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
10483 * gdb.ada/char_param.exp: Do not compile our test program with
10484 -gnata, this is unnecessary.
10485 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
10486
384e4a9c
JB
104872007-12-24 Joel Brobecker <brobecker@adacore.com>
10488
10489 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
10490 gdb.ada/print_chars/foo.adb: New files.
10491 * gdb.ada/print_chars.exp: New testcase.
10492
01e044f7
JB
104932007-12-24 Joel Brobecker <brobecker@adacore.com>
10494
10495 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
10496 gdb.ada/char_param/foo.adb: New files.
10497 * gdb.ada/char_param.exp: New testcase.
10498
0ce17860
JB
104992007-12-22 Jim Blandy <jimb@codesourcery.com>
10500
10501 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
10502 hard-coding source line numbers into the test.
10503 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
10504 gdb_get_line_number to find.
10505
919809b9
JB
105062007-12-22 Joel Brobecker <brobecker@adacore.com>
10507
10508 * gdb.base/ptype.c (highest): New struct type.
10509 (the_highest): New variable of that type.
10510 (main): Add dummy assignment to a field of variable the_highest.
10511 * gdb.base/ptype.exp: Test type printing of our new variable.
10512
abc8a88d
PM
105132007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
10514
10515 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 10516 and record first explicitly generated thread number.
abc8a88d
PM
10517 Use that thread number for thread specific watchpoint test.
10518 Add iteration number to repetitive tests.
10519
5158f3e3
CES
105202007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
10521 Jim Blandy <jimb@codesourcery.com>
10522
10523 * gdb.base/expand-psymtabs.c: New testcase
10524 source file.
10525 * gdb.base/expand-psymtabs.exp: New testcase
10526 expect file.
10527
37e4754d
LM
105282007-12-17 Luis Machado <luisgpm@br.ibm.com>
10529
10530 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
10531 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
10532
551e5d04
JB
105332007-12-17 Joel Brobecker <brobecker@adacore.com>
10534
10535 * gdb.ada/frame_args/foo.adb: New file.
10536 * gdb.ada/frame_args/pck.ads: New file.
10537 * gdb.ada/frame_args/pck.adb: New file.
10538 * gdb.ada/frame_args.exp: New testcase.
10539
a05ee097
JB
105402007-12-17 Joel Brobecker <brobecker@adacore.com>
10541
10542 * gdb.base/frame-args.c: New file.
10543 * gdb.base/frame-args.exp: New testcase.
10544
c162e8c9 105452007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 10546 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
10547
10548 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
10549
afe8ab22 105502007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 10551
afe8ab22
VP
10552 * gdb.mi/mi-pending.exp: New.
10553 * gdb.mi/mi-pending.c: New.
10554 * gdb.mi/mi-pendshr.c: New.
10555
dfdfb3ca
JB
105562007-12-06 Jim Blandy <jimb@codesourcery.com>
10557
10558 * gdb.base/default.exp: Update expected output for 'info catch'.
10559
b7fca990
JK
105602007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
10561
10562 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
10563 must be set to binary.
10564
6a1afc1e
PA
105652007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
10566
10567 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
10568
a6b151f1
DJ
105692007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
10570
10571 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
10572 gdb.mi/mi-file-transfer.exp: New.
10573
43039443
JK
105742007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10575
10576 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
10577
0ef2251b
MR
105782007-11-22 Maciej W. Rozycki <macro@mips.com>
10579
10580 * gdb.trace/backtrace.exp: Fix a typo.
10581 * gdb.trace/circ.exp: Likewise.
10582 * gdb.trace/collection.exp: Likewise.
10583 * gdb.trace/limits.exp: Likewise.
10584 * gdb.trace/report.exp: Likewise.
10585 * gdb.trace/tfind.exp: Likewise.
10586 * gdb.trace/while-dyn.exp: Likewise.
10587
5443631e
NR
105882007-11-21 Nick Roberts <nickrob@snap.net.nz>
10589
10590 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
10591 objects of pointers that can't be dereferenced are now
10592 "noneditable".
10593
a4ce5b0d
UW
105942007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10595
10596 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
10597 (target_cpu): Remove.
10598
d6e956e5
VP
105992007-10-15 Vladimir Prus <vladimir@codesourcery.com>
10600
10601 * gdb.base/ending-run.exp: Expect the list of cleared
10602 breakpoint to come in natural order, not the reversed one.
a9c64011 10603
214270ab
VP
106042007-11-07 Vladimir Prus <vladimir@codesourcery.com>
10605
10606 * gdb.mi/mi-var-child.c (do_child_deletion): New.
10607 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 10608
1a619819
LM
106092007-11-05 Luis Machado <luisgpm@br.ibm.com>
10610
10611 * gdb.base/printcmds.exp: New function
10612 test_printf_with_dfp.
10613
5b01a6fa
DE
106142007-11-02 Doug Evans <dje@google.com>
10615
10616 * gdb.disasm/t01_mov.s: Remove carriage returns.
10617 * gdb.disasm/t02_mova.s: Ditto.
10618 * gdb.disasm/t03_add.s: Ditto.
10619 * gdb.disasm/t04_sub.s: Ditto.
10620 * gdb.disasm/t05_cmp.s: Ditto.
10621 * gdb.disasm/t06_ari2.s: Ditto.
10622 * gdb.disasm/t07_ari3.s: Ditto.
10623 * gdb.disasm/t08_or.s: Ditto.
10624 * gdb.disasm/t09_xor.s: Ditto.
10625 * gdb.disasm/t10_and.s: Ditto.
10626 * gdb.disasm/t11_logs.s: Ditto.
10627 * gdb.disasm/t12_bit.s: Ditto.
10628 * gdb.disasm/t13_otr.s: Ditto.
10629
ec33ab7f
JK
106302007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10631
10632 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
10633
ae0d01ff
UW
106342007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10635
10636 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
10637 provide DFP support.
10638
55eddb0f
DJ
106392007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
10640
10641 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
10642 Test "set powerpc vector-abi". Skip auto-detection tests for old
10643 toolchains.
10644
7020f05c
PA
106452007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
10646
10647 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
10648 with [string compare].
10649
84bc3db9
PA
106502007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
10651
10652 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
10653 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
10654
5876dc88
LM
106552007-10-25 Luis Machado <luisgpm@br.ibm.com>
10656
10657 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
10658 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
10659 * gdb.opt/Makefile.in: New makefile.
10660 * Makefile.in: Create new directory "gdb.opt".
10661 * configure.ac: Add "gdb.opt" directory.
10662 * configure: Regenerated.
a9c64011 10663
c3ea9a14
DE
106642007-10-25 Doug Evans <dje@google.com>
10665
10666 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
10667 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
10668
a9c64011 106692007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
10670 Thiago Jung Bauermann <bauerman@br.ibm.com>
10671
10672 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
10673 Floating Point expressions.
10674 * gdb.base/dfp-test.exp: new file adding tests for Decimal
10675 Floating Point variables.
10676 * gdb.base/dfp-test.c: new file containing program with Decimal
10677 Floating variables, used by gdb.base/dfp-test.exp.
10678
62a24a2b
DJ
106792007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
10680
10681 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
10682
e7b1eae6
UW
106832007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10684
10685 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
10686 compiling test case with GCC.
10687 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
10688
c641edcc
UW
106892007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10690
10691 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
10692 format changes.
10693
5e5ebfe6
MS
106942007-10-18 Michael Snyder <msnyder@specifix.com>
10695
10696 * gdb.base/dbx.exp: Add missing "-re " operator.
10697
e831e7b6
GM
106982007-10-16 Gaius Mulley <gaius@glam.ac.uk>
10699
10700 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
10701 * configure.ac: Removed trailing spaces after backslash.
10702 * gdb.modula2: New directory.
10703 * gdb.modula2/Makefile.in: New file.
10704 * gdb.modula2/unbounded-array.exp: New file.
10705 * gdb.modula2/unbounded1.c: New file.
10706
7cc46491
DJ
107072007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
10708
10709 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
10710
107112007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
10712
10713 * gdb.base/sigstep.c (main): Add checks for
10714 return values for setitimer call.
10715 Call setitimer again with itimer = ITIMER_REAL
10716 if first call to setitimer fails.
10717
e91528f0
KH
107182007-10-11 Kazu Hirata <kazu@codesourcery.com>
10719
10720 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
10721 of $timeout.
10722
2ec9a4f8
DJ
107232007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
10724
10725 * gdb.server/server-run.exp: Test for dynamic linker symbols.
10726
107272007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
10728
10729 * lib/gdb.exp (gdb_run_cmd): Move comment outside
10730 of gdb_expect call, to avoid interruption.
10731
64b2fa04
PA
107322007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
10733
10734 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
10735 (v_unsigned_long_long, v_long_long_array)
10736 (v_signed_long_long_array, v_unsigned_long_long_array)
10737 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
10738 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
10739 [!NO_LONG_LONG]: New.
10740 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
10741 v_long_long_member.
10742
10743 (v_long_long_func, v_signed_long_long_func)
10744 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
10745 (main) [!NO_LONG_LONG]: Initialize long long variants.
10746
10747 * gdb.base/whatis.exp: If board file requests no_long_long, build
10748 test with NO_LONG_LONG defined. Test long long, signed long long,
10749 and unsigned long long variants but only if board file doesn't
10750 disable it.
10751
a912286e 107522007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 10753 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
10754
10755 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
10756 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
10757 * configure: Regenerated.
10758 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
10759 gdb.pascal/types.exp, lib/pascal.exp: New files.
10760
471ba8c9
DJ
107612007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
10762
10763 * gdb.cp/classes.exp (do_tests): Always step to the line after the
10764 call.
10765 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
10766 to return to the call.
10767 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
10768 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
10769 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
10770 * gdb.mi/mi-until.exp (test_until): Likewise.
10771 * gdb.mi/mi2-until.exp (test_until): Likewise.
10772
fef8a650
DJ
107732007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
10774
10775 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
10776 two-char array.
10777 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
10778
d983da9c
DJ
107792007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
10780
10781 * gdb.threads/watchthreads.c (thread_function): Sleep between
10782 iterations.
10783 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
10784 at once for S/390. Generate matching fails and passes.
10785
17f62551
VP
107862007-09-27 Vladimir Prus <vladimir@codesourcery.com>
10787
10788 * gdb.mi/var-cmd.c (do_children_tests): Initialize
10789 the 'struct_declarations' variable to zeros.
a9c64011 10790
ed0616c6
VP
107912007-09-24 Vladimir Prus <vladimir@codesourcery.com>
10792
10793 * gdb.cp/mb-ctor.cc: New.
10794 * gdb.cp/mb-ctor.exp: New.
10795 * gdb.cp/mb-templates.cc: New.
10796 * gdb.cp/mb-templates.exp: New.
10797
41f1b697
DJ
107982007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
10799
10800 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
10801
3f213f78
PA
108022007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
10803
10804 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
10805 targets.
10806 * configure: Regenerate.
10807
0d381245 108082007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 10809
0d381245
VP
10810 * gdb.base/annota1.exp: Adjust for 'info break'
10811 format changes.
10812 * gdb.base/annota3.exp: Likewise.
10813 * gdb.base/break.exp: Likewise.
10814 * gdb.base/condbreak.exp: Likewise.
10815 * gdb.base/pending.exp: Likewise.
10816 * gdb.base/sepdebug.exp: Likewise.
10817 * gdb.base/unload.exp: Likewise.
10818 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 10819
fe3f5fa8
VP
108202007-09-22 Vladimir Prus <vladimir@codesourcery.com>
10821
10822 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
10823 messages.
10824 * gdb.base/chng-syms.exp: Likewise.
10825 * gdb.base/unload.exp: Likewise.
a9c64011 10826
a75cf6c0
DJ
108272007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
10828
10829 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
10830
18ecae38
DJ
108312007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
10832
10833 * schedlock.c (NUM): Change to 1.
10834 (main): Use args[0] for the main thread.
10835 * schedlock.exp: Only expect two threads. Only issue one pass or fail
10836 regardless of the number of threads.
10837
5509918f
MR
108382007-09-14 Maciej W. Rozycki <macro@mips.com>
10839
4a543daf
MR
10840 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
10841 type down.
10842 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
10843 test.
10844 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
10845 watchpoint type down.
10846 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
10847 test.
10848
108492007-09-14 Maciej W. Rozycki <macro@mips.com>
10850
5509918f
MR
10851 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
10852 Move all the tests here and run them twice, once using software
10853 watchpoints and once using hardware watchpoints.
10854 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
10855
40b53987
DJ
108562007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
10857
10858 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
10859 test.
10860
695e2681
MK
108612007-09-10 Mark Kettenis <kettenis@gnu.org>
10862
8b3fc8d8
MK
10863 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
10864 build-id.
10865
695e2681
MK
10866 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
10867 know about $ORIGIN. Calculate output dir from $dest instead of
10868 using ${objdir}/{$subdir}.
10869
58d69f29
MK
108702007-09-09 Mark Kettenis <kettenis@gnu.org>
10871
10872 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
10873 gcore, before continuing with the test.
10874
3e347599
DJ
108752007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
10876
10877 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
10878 * gdb.mi/mi-watch.exp: Likewise.
10879
ea37ba09
DJ
108802007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
10881 Jim Blandy <jimb@codesourcery.com>
10882
10883 * gdb.arch/i386-sse.exp: Do not expect character constants.
10884 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
10885 * gdb.base/display.exp: Allow print/s.
10886 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
10887 and unsigned char array changes.
10888
2025a643
DJ
108892007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
10890
10891 * gdb.base/display.exp: Add tests for printf %p.
10892
26669a27
PA
108932007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
10894
10895 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
10896 the dll name to unicode.
10897
c8f021f8
JK
108982007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10899
10900 * gdb.base/default.exp (show version): Update the version text.
10901 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
10902
4cf31eea
JK
109032007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10904
10905 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
10906 New files.
10907
4935890f
JK
109082007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10909
10910 * lib/gdb.exp (build_id_debug_filename_get): New function.
10911 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
10912 Remove the generate DEBUG file for the future testcase runs.
10913 New testcase for the NT_GNU_BUILD_ID retrieval.
10914 Move the final testing step to ...
10915 (test_different_dir): ... a new function.
10916 New parameter XFAIL to XFAIL all the tests performed.
10917 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
10918 New parameter TYPE to PF_PREFIX all the tests performed.
10919
02142340
VP
109202007-08-31 Vladimir Prus <vladimir@codesourcery.com>
10921
10922 * gdb.mi/mi-var-cp.cc (path_expression): New
10923 function.
10924 * gdb.mi/mi-var-cp.exp: Run path exression tests.
10925
36acd84e
UW
109262007-08-27 Markus Deuling <deuling@de.ibm.com>
10927
10928 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
10929 to fit into SPU Local Store memory.
10930
a896d121
JB
109312007-08-23 Joel Brobecker <brobecker@adacore.com>
10932
10933 * gdb.base/default.exp: Adjust the expected output of "info
10934 warranty" after the switch to GPLv3.
10935
7b433602
JB
109362007-08-23 Joel Brobecker <brobecker@adacore.com>
10937
10938 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
10939 to 30000 (from 20000).
10940
e22f8b7c
JB
109412007-08-23 Joel Brobecker <brobecker@adacore.com>
10942
10943 Switch the license of all .exp files to GPLv3.
10944 Switch the license of all .f and .f90 files to GPLv3.
10945 Switch the license of all .s and .S files to GPLv3.
10946
5a0e3bd0
JB
109472007-08-23 Joel Brobecker <brobecker@adacore.com>
10948
10949 * configure.ac: Switch license to GPLv3.
10950
cc00619d
JB
109512007-08-23 Joel Brobecker <brobecker@adacore.com>
10952
10953 Switch the licensing to GPLv3 for all .ads and .adb files.
10954
8d26208a
DJ
109552007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
10956
10957 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
10958 and t_int_double.
10959 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
10960
4fcb9948
JB
109612007-08-17 Joel Brobecker <brobecker@adacore.com>
10962
10963 * gdb.base/step-line.c: Switch license to GPL version 3, and
10964 update copyright year.
10965 * gdb.base/step-line.inp: Likewise.
10966
b9c34f67
JB
109672007-08-17 Joel Brobecker <brobecker@adacore.com>
10968
10969 * gdb.base/gdb1555.exp: Make expected output immune to formatting
10970 changes inside gdb1555.c.
10971 * gdb.base/pending.exp: Likewise.
10972
2cc17678
DJ
109732007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
10974
10975 * config/default.exp: New file.
10976
e48883f7
DJ
109772007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
10978
10979 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
10980 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
10981
1ab80e5b
MR
109822007-07-30 Maciej W. Rozycki <macro@mips.com>
10983
10984 * gdb.base/dump.exp: Force the correct endianness for binary
10985 formats not carrying this information.
10986
aba471f5
DJ
109872007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
10988
10989 * gdb.threads/staticthreads.exp: Match .*sem_post.
10990
d4e07204
DJ
109912007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
10992
10993 * gdb.base/readline.exp (operate_and_get_next): Match the final
10994 prompt.
10995
2b97317d
KB
109962007-07-23 Kevin Buettner <kevinb@redhat.com>
10997
10998 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
10999 to restarting SID.
11000
44efa07a
KB
110012007-07-18 Kevin Buettner <kevinb@redhat.com>
11002
11003 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
11004 prior to `gdb_start'.
11005
7b5ebade
KB
110062007-07-18 Kevin Buettner <kevinb@redhat.com>
11007
11008 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
11009 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
11010 Remove call to gdb_unload.
11011
255e7678
DJ
110122007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
11013 Daniel Jacobowitz <dan@codesourcery.com>
11014
11015 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
11016 for __WIN32__.
11017 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
11018 * gdb.base/unload.exp: Use shared library test routines.
11019
3a40aaa0
UW
110202007-07-03 Markus Deuling <deuling@de.ibm.com>
11021
11022 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
11023 * gdb.base/solib-symbol-lib.c: Likewise.
11024 * gdb.base/solib-symbol-main.c: Likewise.
11025
b0f4b84b
DJ
110262007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
11027
11028 * config/gdbserver.exp (gdb_reconnect): New.
11029 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
11030 gdb.base/solib-disc.exp: New files.
11031 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
11032 remote debugging".
11033 (gdb_compile): Add shlib_load flag.
11034 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
11035 port.
11036 (gdbserver_reconnect): New.
11037
1b05479a
DJ
110382007-07-01 Nick Roberts <nickrob@snap.net.nz>
11039 Daniel Jacobowitz <dan@codesourcery.com>
11040
11041 * gdb.base/annota3.exp: Test for if construct.
11042
86f78eb2
DJ
110432007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
11044
11045 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
11046
6a2eb474 110472007-06-21 Chris Dearman <chris@mips.com>
a9c64011 11048 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
11049
11050 * gdb.base/display.exp: Allow a newline after display/i.
11051 * gdb.base/pc-fp.exp: Likewise.
11052 * gdb.base/sigbpt.exp: Likewise.
11053
f8b73d13
DJ
110542007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
11055
11056 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
11057 required features to be included.
11058
4339e69e
DJ
110592007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
11060
11061 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
11062 in info threads output.
11063
23d964e7
UW
110642007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11065 Markus Deuling <deuling@de.ibm.com>
11066
11067 * gdb.arch/spu-info.exp: New testcase.
11068 * gdb.arch/spu-info.c: New file.
11069
fd20f75b
DJ
110702007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
11071
11072 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
11073 tpcs_offset. Restore lr after the call.
11074 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
11075
2226f861
DJ
110762007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
11077
11078 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
11079 (gdbserver_run): Kill any running gdbserver.
11080 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
11081
d12371a9
MR
110822007-05-17 Maciej W. Rozycki <macro@mips.com>
11083
11084 * gdb.base/sigbpt.exp: Preset segv_addr.
11085
93f02886
DJ
110862007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
11087
11088 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
11089 (gdb_compile_shlib): Likewise.
11090 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
11091 (default_gdb_init): Clear cleanfiles.
11092 (gdb_finish): Delete recorded cleanfiles.
11093 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
11094
11095 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
11096 Do not use isnative.
11097 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
11098 gdb.base/so-impl-ld.exp: Likewise.
11099 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
11100 * gdb.base/unload.exp: Likewise. Do not pass empty option to
11101 gdb_compile.
11102
b04e06d7
VP
111032007-05-15 Vladimir Prus <vladimir@codesourcery.com>
11104
11105 * config/unknown.exp: Remove.
11106
069ed931
UW
111072007-05-15 Markus Deuling <deuling@de.ibm.com>
11108
11109 * gdb.base/info-proc.exp: Check is_remote.
11110
09db0d03
UW
111112007-05-14 Markus Deuling <deuling@de.ibm.com>
11112
11113 * gdb.base/gcore.exp: Initialize variable core_supported.
11114
af2cbe8c
DJ
111152007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
11116
11117 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
11118
027c0295
DJ
111192007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
11120
11121 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
11122 * gdb.threads/print-threads.exp (test_all_threads): Allow
11123 negative and hexadecimal thread IDs.
11124
dc5000e7
DJ
111252007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
11126
11127 * gdb.java/jprint.java (public): Avoid invalid call to static
11128 method.
11129
2e74ed18
DP
111302007-05-14 Denis Pilat <denis.pilat@st.com>
11131
11132 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
11133 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
11134 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
11135 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
11136 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
11137
83547f02
UW
111382007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11139
11140 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 11141 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
11142 this mode.
11143 * gdb.base/ovlymgr.c: Provide stubs for spu target.
11144 * gdb.base/spu.ld: New file.
11145
b18be20d
DJ
111462007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
11147
11148 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
11149
be444858
DJ
111502007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
11151
11152 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
11153
b1d53152
DJ
111542007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
11155
11156 * gdb.java/jmain.exp: Handle demangled names with and without method
11157 signatures.
11158
d084b331
DJ
111592007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
11160
11161 * gdb.mi/mi-syn-frame.c (main, foo, bar)
11162 (have_a_very_merry_interrupt): Remove calls to puts.
11163 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
11164 inferior output.
11165 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
11166 test names.
11167
db9d7fc5
DJ
111682007-04-29 Markus Deuling <deuling@de.ibm.com>
11169 Daniel Jacobowitz <dan@codesourcery.com>
11170
11171 * gdb.base/auxv.exp (core_works): Also check is_remote.
11172 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
11173
ef783a7d 111742007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 11175
ef783a7d
VP
11176 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
11177 message, not the undefined 'module' variable.
11178 * gdb.base/siginfo.exp: Likewise.
11179 * gdb.base/sigstep.exp: Likewise.
11180 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
11181 serialport.
11182 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
11183
b7b73cae
CV
111842007-04-25 Corinna Vinschen <vinschen@redhat.com>
11185
11186 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
11187 target sim fails. Return 0 otherwise.
11188 (gdb_load): Return prematurely if gdb_target_sim fails.
11189
7d90fdfa
DP
111902007-04-16 Denis Pilat <denis.pilat@st.com>
11191
11192 * gdb.base/setshow.exp: Reset height after having set it to 100.
11193
5d3e9c85
DP
111942007-04-16 Denis Pilat <denis.pilat@st.com>
11195
11196 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
11197
18e75969
DP
111982007-04-16 Denis Pilat <denis.pilat@st.com>
11199
11200 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
11201
25d5ea92
VP
112022007-04-14 Vladimir Prus <vladimir@codesourcery.com>
11203
11204 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
11205 tests. Run the frozen varobjs test.
11206 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 11207 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 11208
0b49cb80
JK
112092007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11210
11211 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
11212 gdb.base/type-opaque.exp: New files.
11213
a73bafbc 112142007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
11215
11216 * gdb.mi/mi-var-child.c
a73bafbc
VP
11217 (do_children_tests): User char[2] instead of
11218 char so that automatic printing of pointers to char
11219 don't give unpredicable result.
11220 * gdb.mi/var-cmd.c (do_locals_test): Initialize
11221 local variables.
11222 * gdb.mi/mi-var-child.exp: Step to right line
11223 of do_children_tests.
11224 * gdb.mi/mi2-var-child.exp: Likewise.
11225 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 11226 do_locals_tests.
a73bafbc
VP
11227 (do_children_tests): User char[2] instead of
11228 char so that automatic printing of pointers to char
a9c64011 11229 don't give unpredicable result.
a73bafbc 11230 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 11231 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
11232 Pass test name to mi_wait_for_stop.
11233
7ce59000
DJ
112342007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
11235
11236 * gdb.asm/asm-source.exp: Remove d10v case.
11237 * lib/gdb.exp (skip_cplus_tests): Likewise.
11238 * gdb.asm/d10v.inc: Deleted.
11239
20389057
DJ
112402007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
11241
11242 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
11243
8807d78b
DJ
112442007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
11245
11246 * config/netware.exp: Delete file.
11247
aa3edb8e
JB
112482007-03-29 Joel Brobecker <brobecker@adacore.com>
11249
11250 * gdb.dwarf2/dw2-noloc.S: New file.
11251 * gdb.dwarf2/dw2-noloc.exp: New file.
11252
297561ac
PA
112532007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
11254
11255 * gdb.cp/method2.cc: New test.
11256 * gdb.cp/method2.exp: New test.
11257 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
11258
1f81bd39
DJ
112592007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
11260
11261 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
11262
9453113a
DJ
112632007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
11264
11265 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
11266
b741e217
DJ
112672007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
11268
11269 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
11270 (gdb_load): Delete, replace with...
11271 (gdb_reload): ...this.
11272 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
11273 * gdb.server/server-mon.exp: Likewise.
11274 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
11275 (gdb_start_cmd): New.
11276 (gdb_file_cmd): Save the last loaded file.
11277 (gdb_reload): New.
11278 (gdb_gnu_strip_debug): Use transform.
11279 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
11280 support here. Use new $last_loaded_file. Check mtime.
11281 (gdb_target_cmd): Handle ObjC failure case.
11282 (infer_host_exec): Delete.
11283 (gdbserver_load): Rename to...
11284 (gdbserver_run): ...this. Simplify.
11285 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
11286 (mi_gdb_load): Move most contents to a new function...
11287 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
11288 (mi_run_cmd): Use mi_gdb_target_load.
11289 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
11290 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
11291 Use gdb_run_cmd.
11292 * gdb.base/charsign.exp: Remove incorrect comment.
11293 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
11294 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
11295 gdb.base/start.exp: Use gdb_start_cmd.
11296
446ab585 112972007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 11298 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
11299
11300 * gdb.base/sigbpt.exp: Fix the message when skipping test.
11301 * gdb.base/signull.exp: Similarly.
11302
bbb88ebf
UW
113032007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11304
11305 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
11306 messages available to test cases (like chng-sym.exp).
11307
cb8c4a99
AS
113082007-03-14 Andreas Schwab <schwab@suse.de>
11309
11310 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
11311 format changes.
11312
4e463ff5
DJ
113132007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
11314
11315 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
11316 (optimized_1): New.
11317 (main): Call optimized_1.
11318 (gdb2029): Correct typos. Call gdb2029_marker.
11319 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
11320 for gdb2029.
11321
b6db2c47
MK
113222007-03-12 Mark Kettenis <kettenis@gnu.org>
11323
11324 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
11325 as tabs. Remove redundant test pattern.
11326
70ed3737
UW
113272007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11328
11329 * gdb.base/long_long.exp: Accept optional symbol name in <...>
11330 for /a format output.
11331
47b67b60
DJ
113322007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
11333
11334 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
11335 collect output incrementally.
11336
b8953b0e
UW
113372007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11338
11339 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
11340 for -var-create lpcharacter test.
11341 * gdb.mi/mi2-var-cmd.exp: Likewise.
11342
7acd5c40
UW
113432007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11344
11345 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
11346 pass on targets where address zero is readable.
11347
9c6759c1
UW
113482007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11349
11350 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
11351 just a single architecture.
11352
a2f1aeb4
UW
113532007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11354
11355 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
11356 (fetch_all_registers): New function, uses gdb_test_multiple and
11357 exp_continue to fetch inferior output line-by-line.
11358 Replace all uses of do_get_all_registers by fetch_all_registers.
11359
46579ac2
UW
113602007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11361
11362 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
11363 in target_info.
11364
fc133f24
MS
113652007-03-02 Michael Snyder <michael.snyder@palmsource.com>
11366
a9c64011 11367 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
11368 consistancy; add a default (timeout) case.
11369
7646a51d
MS
113702007-03-02 Michael Snyder <michael.snyder@palmsource.com>
11371
11372 * gdb.base/watchpoint.exp: Fix truncated comment.
11373
dcfff61f
MS
113742007-03-02 Michael Snyder <michael.snyder@palmsource.com>
11375
11376 * Makefile.in: Remove spurious single-quotes from sed command.
11377
664e3ee9
DJ
113782007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
11379
11380 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
11381 func.
11382 * gdb.mi/mi2-var-cmd.exp: Likewise.
11383
d7cc6f2f
JB
113842007-02-27 Joel Brobecker <brobecker@adacore.com>
11385
a9c64011
AS
11386 * gdb.dwarf2/dw2-producer.S: New file.
11387 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
11388
113892007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
11390
11391 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
11392 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
11393 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
11394 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
11395 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
11396 Revert tests to use mi_gdb_test and include value field in output
11397 of -var-create.
11398
93d42b30
DJ
113992007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
11400
11401 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
11402
c499ed39
DJ
114032007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
11404
11405 * gdb.base/maint.exp: Remove full paths from test names.
11406 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
11407 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
11408
9836f81b
JB
114092007-02-27 Joel Brobecker <brobecker@adacore.com>
11410
11411 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
11412
c74d0ad8
DJ
114132007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
11414
11415 * gdb.server/server-mon.exp: New test.
11416
2711e456
DJ
114172007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
11418
11419 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
11420
ff6f572f
DJ
114212007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
11422
11423 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
11424 register capitalization.
11425
fada3feb
DP
114262007-02-13 Denis Pilat <denis.pilat@st.com>
11427
11428 * gdb.mi/mi-var-invalidate.exp: New file.
11429
fb1e4ffc
DJ
114302007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
11431
11432 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
11433
3da939d7
DJ
114342007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
11435
11436 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
11437
123dc839
DJ
114382007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
11439
11440 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
11441 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
11442
877e3645 114432007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
11444
11445 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
11446 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
11447 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
11448 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
11449 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 11450 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 11451 Update tests to include value field in output of -var-create.
a9c64011 11452
3c0a2960
AS
114532007-02-08 Andreas Schwab <schwab@suse.de>
11454
11455 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
11456
108546a0
DJ
114572007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
11458
11459 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
11460 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
11461
d701dcab
DP
114622007-02-02 Denis Pilat <denis.pilat@st.com>
11463
11464 * gdb.threads/threadapply.exp: check that frame is not changed by
11465 the thread apply all command.
11466
783e3e2f
AS
114672007-01-31 Andreas Schwab <schwab@suse.de>
11468
6d9c3a87
AS
11469 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
11470
3c50d7b9
AS
11471 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
11472 in the dwarf sections.
11473 * gdb.dwarf2/mac-fileno.S: Likewise.
11474
783e3e2f
AS
11475 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
11476 bspstore register on ia64.
11477
78ff580e
AS
114782007-01-29 Andreas Schwab <schwab@suse.de>
11479
cc8e9b12
AS
11480 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
11481 "frame-begin" annotation.
11482
78ff580e
AS
11483 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
11484 number of "frames-invalid" annotations.
11485
704a4f78
DJ
114862007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
11487
11488 * gdb.base/commands.exp: Call if_commands_test.
11489 (gdb_test_no_prompt, if_commands_test): New.
11490
e741bf94
MK
114912007-01-28 Mark Kettenis <kettenis@gnu.org>
11492
11493 * gdb.threads/sigthread.c (NSIGS): Make bigger.
11494
474d0ad3
AS
114952007-01-27 Andreas Schwab <schwab@suse.de>
11496
11497 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
11498 .short/.int/.quad in the dwarf sections.
11499 * gdb.dwarf2/dw2-intercu.S: Likewise.
11500 * gdb.dwarf2/dw2-intermix.S: Likewise.
11501
e784b426
JK
115022007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11503
11504 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
11505 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
11506 array.
e784b426
JK
11507 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
11508 * gdb.base/setvar.exp: Likewise.
11509
37f08e04
AS
115102007-01-26 Andreas Schwab <schwab@suse.de>
11511
9a01813a
AS
11512 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
11513 test.
11514
37f08e04
AS
11515 * gdb.base/multi-forks.exp ("restart $i"): Also match
11516 __kernel_syscall_via_break.
11517
6e2a9270
VP
115182007-01-24 Vladimir Prus <vladimir@codesourcery.com>
11519
11520 * lib/mi-support.exp (mi_delete_varobj): New.
11521 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
11522 testcase.
11523 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
11524 (main): Call the above.
11525 (reference_update_test, base_in_reference_test)
11526 (reference_to_pointer): Delete the created varobjs.
a9c64011 11527
e515b470
DJ
115282007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
11529
11530 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
11531 * configure: Regenerated.
11532 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
11533 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
11534 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
11535 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
11536 * lib/gdb.exp (gdb_skip_xml_test): New function.
11537
08d8bcd7
DJ
115382007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
11539
11540 * gdb.base/sigrepeat.exp: Correct error message.
11541
115422007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
11543 Daniel Jacobowitz <dan@codesourcery.com>
11544
11545 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
11546 gdb.arch/i386-gnu-cfi-asm.S: New files.
11547
97c3f1f3
JK
115482007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11549
11550 * lib/gdb.exp: Abort on missing `site.exp'.
11551
cb1df416
DJ
115522007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11553 Daniel Jacobowitz <dan@codesourcery.com>
11554
11555 * gdb.base/included.c, gdb.base/included.exp,
11556 gdb.base/included.h: New files.
11557
35990120
DJ
115582007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
11559
11560 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
11561 (maximize_rlimit): Reduce limits on 64-bit systems.
11562
6e81a116 115632007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
11564
11565 From Marcus Deuling <deuling@de.ibm.com>:
11566 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
11567 every case.
11568
6c3c41f3
NR
115692007-01-13 Nick Roberts <nickrob@snap.net.nz>
11570
11571 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
11572 (test_path_specification): Use objdir instead of srcdir to always
11573 get an absolute filename.
11574
2f12c312
DJ
115752007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
11576
11577 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
11578
81121995
VP
115792007-01-11 Vladimir Prus <vladimir@codesourcery.com>
11580
11581 * gdb.mi/mi-var-cp.cc (reference_update_tests):
11582 Make sure the variable we're using is in scope.
11583 (reference_to_pointer): Likewise.
11584
4741b737
DJ
115852007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
11586
11587 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
11588 has no debug information.
11589
054410c3
DJ
115902007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
11591
11592 * gdb.base/annota1.exp: Remove extra send_gdb.
11593
818f79f6
DJ
115942007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11595
11596 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
11597
f7a6bb70
DJ
115982007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11599
11600 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
11601
57e66780
DJ
116022007-01-08 Nick Roberts <nickrob@snap.net.nz>
11603 Daniel Jacobowitz <dan@codesourcery.com>
11604
11605 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
11606 lcharacter or linteger change. Correct duplicated test name.
11607 * gdb.mi/mi2-var-cmd.exp: Likewise.
11608
3d799a95
DJ
116092007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
11610
11611 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
11612
116132007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 11614
a9c64011
AS
11615 * gdb.base/nofield.c: New file.
11616 * gdb.base/nofield.exp: New testcase.
51679ba9 11617
eafb94e8
NR
116182007-01-05 Nick Roberts <nickrob@snap.net.nz>
11619
11620 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
11621
11622 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
11623 test.
11624
5e572bb4
DJ
116252007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
11626
11627 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
11628
74a44383
DJ
116292007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
11630
11631 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
11632 when continuing.
11633
1b572db9
DJ
116342007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
11635
11636 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
11637 Expect ".exe" extension.
11638
381bc39b
DJ
116392007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
11640
11641 * gdb.base/charset.exp: Add explicit filename to break.
11642 * gdb.base/dbx.exp: Add explicit filename to breaks.
11643
2b70e4c6
DJ
116442007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
11645
11646 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
11647 * gdb.mi/mi2-file.exp: Likewise.
11648
303b6f5d
DJ
116492007-01-04 Vladimir Prus <vladimir@codesourcery.com>
11650
11651 Implement specification of MI tests as comments
11652 in C and C++ sources.
11653 * lib/mi-support.exp (mi_autotest_data): New variable.
11654 (mi_autotest_source): New variable.
11655 (count_newlines, mi_prepare_inline_tests)
11656 (mi_get_inline_test, mi_continue_to_line)
11657 (mi_run_inline_test, mi_tbreak)
11658 (mi_send_resuming_command, mi_wait_for_stop): New functions.
11659 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
11660 Run inline tests.
11661 * gdb.mi/mi-var-cp.cc: Define tests here.
11662
23da0d94
VP
116632007-01-04 Vladimir Prus <vladimir@codesourcery.com>
11664
11665 Simplify usage of mi_continue_to.
11666 * lib/mi-support.exp (mi_runto_helper): Renamed
11667 from mi_runto, added new parameter 'run_or_continue'.
11668 (mi_runto): Use mi_runto_helper.
11669 (mi_continue_to): Accept just function name as parameter.
11670 Use mi_runto_helper.
11671 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
11672 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 11673
f9e18282
JB
116742006-01-04 Joel Brobecker <brobecker@adacore.com>
11675
11676 Make this testcase a bit more realistic. The current code
11677 is too simplistic, and allows the compiler to optimize out
11678 some of the entities we need for this testcase.
11679 * gdb.ada/null_record/bar.ads (Void_Star): New type.
11680 (Do_Nothing): Add extra parameter.
11681 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
11682 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
11683 by using a variable of type Void_Star.
11684
fd678c65
JB
116852006-01-04 Joel Brobecker <brobecker@adacore.com>
11686
11687 * gdb.ada/catch_ex/foo.adb: New file.
11688 * gdb.ada/catch_ex.exp: New testcase.
11689
05cfdb42
DJ
116902007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
11691
11692 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
11693 pass --image-base to linker.
11694
2e03ee74
DJ
116952007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11696 Daniel Jacobowitz <dan@codesourcery.com>
11697
11698 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
11699 secondary prompts.
11700
0d5de010
DJ
117012007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
11702
11703 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
11704 output. Test the types of members and member pointers.
11705 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
11706 gdb/2092.
11707 * gdb.cp/member-ptr.exp: Search for a comment instead of a
11708 statement. Enable for GCC. Update expected output for some tests
11709 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
11710 layout.
11711 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
11712 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
11713 (Diamond::vget_base): New.
11714 (main): Add new tests.
11715 * gdb.cp/printmethod.exp: Update expected output for member functions.
11716 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
11717 print pEe->D::vg().
11718
61a771aa
DJ
117192007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
11720
11721 * gdb.threads/tls.exp: Allow stops in sem_post.
11722
2fa63963
DJ
117232006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
11724
11725 * gdb.base/annota1.exp: Allow .*printf in backtraces.
11726 * gdb.base/annota3.exp: Likewise.
11727 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
11728 again (instead of timing out).
11729 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
11730 GCC bug 26475.
11731 * gdb.java/jmisc.exp: Adjust to work with method signatures including
11732 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
11733 test from jmisc1.exp.
11734 * gdb.java/jmisc1.exp: Delete.
11735 * gdb.java/jprint.exp: Adjust to work with method signatures including
11736 return types.
11737 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
11738 * gdb.threads/linux-dp.exp: Don't be confused by program output.
11739 * lib/java.exp (compile_java_from_source): Pass the correct type
11740 to target_compile.
11741
5eefc2b7
JB
117422006-12-31 Joel Brobecker <brobecker@adacore.com>
11743
11744 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
11745 (stack_align_edx): New function.
11746 (stack_align_eax): New function.
11747 (main): Add calls to stack_align_edx and stack_align_eax.
11748 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
11749 Add testing for the cases where the register used during a stack
11750 realignment is edx. Same for eax.
11751
227c54da
DJ
117522006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
11753
11754 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
11755 and generic PE targets.
11756
cab8ac94
JB
117572006-12-29 Joel Brobecker <brobecker@adacore.com>
11758
11759 * gdb.ada/array_return.exp: Update copyright date list.
11760
ba54f318
JB
117612006-12-27 Joel Brobecker <brobecker@adacore.com>
11762
11763 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
11764 (Create_Small_Float_Vector): New function.
11765 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
11766 function body.
11767 * gdb.ada/array_return/p.adb: Use new type and function from
11768 package Pck.
11769 * gdb.ada/array_return.exp: Add a test verifying that GDB is
11770 able to print the value returned by a function returning an
11771 array of float.
11772
6b7a35dd
JB
117732006-12-20 Joel Brobecker <brobecker@adacore.com>
11774
11775 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
11776 The associated tests should be PASSing.
11777
038224f6
VP
117782006-12-08 Vladimir Prus <vladimir@codesourcery.com>
11779
11780 Test for base in references.
11781 * gdb.mi/mi-var-cp.cc: Add test code.
11782 * gdb.mi/mi-var-cp.exp: Test for bases in references.
11783 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
11784 * gdb.mi/mi2-watch.exp: Likewise.
11785 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
11786 (mi_list_varobj_children): New function.
11787
b26ed50d
VP
117882006-12-08 Vladimir Prus <vladimir@codesourcery.com>
11789
11790 * lib/mi-support.exp
11791 (mi_runto): Accept "()" after function name.
11792 (mi_create_varobj): New function.
11793 (mi_varobj_update): New function.
11794 (mi_Check_varobj_value): New function.
11795 * gdb.mi/mi-var-cp.exp: New file.
11796 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 11797
08232497
DJ
117982006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
11799
11800 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
11801 gdb.base/weaklib2.c: New files.
11802
d394c993 118032006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 11804
ac6c2fba
NS
11805 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
11806 info. Adjust test names.
11807
8ec659a0 11808 * gdb.base/break.c (main): Move position of malloc.
d394c993 11809 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 11810
acd65feb
VP
118112006-11-28 Vladimir Prus <vladimir@codesourcery.com>
11812
11813 * gdb.mi/mi-var-cmd.exp: Check -var-update after
11814 assignement of arrays and function pointers.
11815 * gdb.mi/var-cmd.c: Add declaration necessary for above
11816 tests.
11817
f556d5e5
NS
118182006-11-27 Nathan Sidwell <nathan@codesourcery.com>
11819
11820 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
11821
11822 * gdb.threads/linux-dp.exp: Read thread table before and after
11823 creating each philosopher and verify it.
11824
697bc68d
NS
118252006-11-27 Nathan Sidwell <nathan@codesourcery.com>
11826 Paul Brook <paul@codesourcery.com>
11827 Daniel Jacobowitz <dan@codesourcery.com>
11828
11829 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 11830 main to remove duplication. Add start function of the form
697bc68d
NS
11831 '_*start[1-9]*'. Add RVDS start function.
11832
29d73ae4
DJ
118332006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
11834
11835 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
11836
c1d88655
UW
118372006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11838
11839 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
11840 * gdb.asm/spu.inc: New file.
11841 * gdb.base/term.exp: Disable if [target_info exists noargs].
11842 * gdb.gdb/complaints.exp: Disable if ![isnative].
11843 * gdb.gdb/selftest.exp: Likewise.
11844 * gdb.gdb/observer.exp: Likewise.
11845 * gdb.gdb/xfullpath.exp: Likewise.
11846 * gdb.base/attach.exp: Disable on SPU target.
11847 * gdb.cp/bs145503.exp: Likewise.
11848 * gdb.cp/exception.exp: Likewise.
11849 * gdb.cp/userdef.exp: Likewise.
11850
32a13b1a
DJ
118512006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
11852
11853 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
11854
d8295fe9
VP
118552006-11-10 Vladimir Prus <vladimir@codesourcery.com>
11856
11857 * gdb.base/completion.exp: Fix completion tests for
11858 'info' and 'info '.
11859 * gdb.base/help.exp (help_test_raw, test_class_help)
11860 (test_prefix_command_help): Move...
11861 * lib/gdb.exp: Here.
11862 * gdb.base/main.exp: Adjust.
11863 * gdb.cp/maint.exp: Adjust.
11864 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 11865
8c394015
VP
118662006-11-09 Vladimir Prus <vladimir@codesourcery.com>
11867
11868 * gdb.stabs/weird.exp (print_weird_var): Use
11869 gdb_test_multiple instead of gdb_expect.
11870
027fc1bc
VP
118712006-11-09 Vladimir Prus <vladimir@codesourcery.com>
11872
11873 * gdb.base/help.exp (help_test_raw): New.
11874 (test_class_help): New.
11875 (test_prefix_command_help): New.
11876 Adjust testcases.
11877
67609209
FR
118782006-11-09 Christophe Lyon <christophe.lyon@st.com>
11879
11880 * gdb.base/constvars.c (main): Write to crass and crips, so that
11881 they are allocated by the compiler.
11882
f73adfeb
AS
118832006-10-27 Andreas Schwab <schwab@suse.de>
11884
11885 * gdb.base/multi-forks.exp: Use "detach fork" instead of
11886 "detach-fork".
11887
2f83a18e
DJ
118882006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
11889
11890 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
11891 of patterns.
11892
94277a38
DJ
118932006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
11894
11895 * gdb.base/sepdebug.exp: Remove debug format test.
11896 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
11897 Handle no-symtab.
11898 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
11899
5bd2f6e2
DJ
119002006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
11901
11902 * gdb.threads/manythreads.c (thread_function, main): Don't cast
11903 int to pointer or pointer to int.
11904 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
11905
8c008720
DJ
119062006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
11907
11908 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
11909
9e35dae4
DJ
119102006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11911
11912 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
11913
d9639e13
DJ
119142006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
11915
11916 PR c++/2116
11917 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
11918
390a1bd0
JB
119192006-10-06 Joel Brobecker <brobecker@adacore.com>
11920
11921 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
11922 the corresponding bug has been fixed in GDB (PR/2018).
11923
dd920c33
JB
119242006-10-06 Joel Brobecker <brobecker@adacore.com>
11925
11926 * gdb.base/subst.exp: New testcase.
11927
53bbefe9
JB
119282006-10-06 Joel Brobecker <brobecker@adacore.com>
11929
11930 * gdb.ada/array_return/pck.ads: Add copyright notice.
11931 * gdb.ada/array_return/pck.adb: Likewise.
11932 * gdb.ada/array_return/p.adb: Likewise.
11933 * gdb.ada/exec_changed/first.adb: Likewise.
11934 * gdb.ada/exec_changed/second.adb: Likewise.
11935
09851417
JB
119362006-10-06 Joel Brobecker <brobecker@adacore.com>
11937
11938 * gdb.ada/watch_arg/watch.adb: New file.
11939 * gdb.ada/watch_arg.exp: New testcase.
11940
041bf30d
VP
119412006-10-02 Vladimir Prus <vladimir@codesourcery.com>
11942
11943 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 11944 via string_to_regexp.
041bf30d 11945 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 11946
f286fbdd 119472006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
11948
11949 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
11950 Remove unused / obsolete files.
11951
7c07f349
NR
119522006-09-19 Nick Roberts <nickrob@snap.net.nz>
11953
11954 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
11955
cd5ff84a
VP
119562006-09-17 Vladimir Prus <vladimir@codesourcery.com>
11957
11958 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
11959 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 11960 the number of frames.
cd5ff84a 11961
ae018d1a
DJ
119622006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
11963
11964 * gdb.base/args.c (main): Add breakpoint marker.
11965 * gdb.base/args.exp: Use args_test for tests. Add new tests which
11966 really test empty arguments.
11967 (args_load): Delete.
11968 (args_test): New.
11969
b399c549
NR
119702006-09-13 Nick Roberts <nickrob@snap.net.nz>
11971
11972 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
889bf7c5 11973 check for one file.
b399c549 11974
2ab1eb7a
VP
119752006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
11976
11977 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
11978 HIGH_FRAME argument to -stack-list-locals can be larger than
11979 the number of frames.
a9c64011 11980
476308bf
FF
119812006-08-18 Fred Fish <fnf@specifix.com>
11982
11983 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
11984 '$' in front of skip_vmx_tests_saved when setting that.
11985
8625200f
AS
119862006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
11987
11988 * gdb.base/trace-commands.exp: New file.
11989
089ec8f1
DJ
119902006-08-10 Joel Brobecker <brobecker@adacore.com>
11991 Daniel Jacobowitz <dan@codesourcery.com>
11992
11993 * gdb.base/step-bt.exp: Make hexadecimal address optional in
11994 expected output of the backtrace commands.
11995
b60f0898
JB
119962006-08-09 Joel Brobecker <brobecker@adacore.com>
11997
11998 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
11999 untested followed by return combination.
12000 * gdb.arch/altivec-regs.exp: Likewise.
12001 * gdb.arch/e500-abi.exp: Likewise.
12002 * gdb.arch/e500-regs.exp: Likewise.
12003 * gdb.arch/gdb1291.exp: Likewise.
12004 * gdb.arch/gdb1431.exp: Likewise.
12005 * gdb.arch/gdb1558.exp: Likewise.
12006 * gdb.arch/i386-prologue.exp: Likewise.
12007 * gdb.arch/i386-unwind.exp: Likewise.
12008 * gdb.asm/asm-source.exp: Likewise.
12009 * gdb.base/a2-run.exp: Likewise.
12010 * gdb.base/advance.exp: Likewise.
12011 * gdb.base/all-bin.exp: Likewise.
12012 * gdb.base/annota1.exp: Likewise.
12013 * gdb.base/annota3.exp: Likewise.
12014 * gdb.base/args.exp: Likewise.
12015 * gdb.base/arithmet.exp: Likewise.
12016 * gdb.base/assign.exp: Likewise.
12017 * gdb.base/async.exp: Likewise.
12018 * gdb.base/attach.exp: Likewise.
12019 * gdb.base/bang.exp: Likewise.
12020 * gdb.base/bigcore.exp: Likewise.
12021 * gdb.base/bitfields.exp: Likewise.
12022 * gdb.base/bitfields2.exp: Likewise.
12023 * gdb.base/break.exp: Likewise.
12024 * gdb.base/call-sc.exp: Likewise.
12025 * gdb.base/call-strs.exp: Likewise.
12026 * gdb.base/callfuncs.exp: Likewise.
12027 * gdb.base/checkpoint.exp: Likewise.
12028 * gdb.base/chng-syms.exp: Likewise.
12029 * gdb.base/code-expr.exp: Likewise.
12030 * gdb.base/commands.exp: Likewise.
12031 * gdb.base/completion.exp: Likewise.
12032 * gdb.base/cond-expr.exp: Likewise.
12033 * gdb.base/condbreak.exp: Likewise.
12034 * gdb.base/consecutive.exp: Likewise.
12035 * gdb.base/constvars.exp: Likewise.
12036 * gdb.base/corefile.exp: Likewise.
12037 * gdb.base/cvexpr.exp: Likewise.
12038 * gdb.base/dbx.exp: Likewise.
12039 * gdb.base/define.exp: Likewise.
12040 * gdb.base/detach.exp: Likewise.
12041 * gdb.base/display.exp: Likewise.
12042 * gdb.base/dump.exp: Likewise.
12043 * gdb.base/ena-dis-br.exp: Likewise.
12044 * gdb.base/ending-run.exp: Likewise.
12045 * gdb.base/environ.exp: Likewise.
12046 * gdb.base/eval-skip.exp: Likewise.
12047 * gdb.base/exprs.exp: Likewise.
12048 * gdb.base/fileio.exp: Likewise.
12049 * gdb.base/finish.exp: Likewise.
12050 * gdb.base/float.exp: Likewise.
12051 * gdb.base/foll-exec.exp: Likewise.
12052 * gdb.base/foll-fork.exp: Likewise.
12053 * gdb.base/foll-vfork.exp: Likewise.
12054 * gdb.base/freebpcmd.exp: Likewise.
12055 * gdb.base/funcargs.exp: Likewise.
12056 * gdb.base/gcore.exp: Likewise.
12057 * gdb.base/gdb1090.exp: Likewise.
12058 * gdb.base/gdb1250.exp: Likewise.
12059 * gdb.base/huge.exp: Likewise.
12060 * gdb.base/info-proc.exp: Likewise.
12061 * gdb.base/interrupt.exp: Likewise.
12062 * gdb.base/jump.exp: Likewise.
12063 * gdb.base/langs.exp: Likewise.
12064 * gdb.base/lineinc.exp: Likewise.
12065 * gdb.base/list.exp: Likewise.
12066 * gdb.base/logical.exp: Likewise.
12067 * gdb.base/long_long.exp: Likewise.
12068 * gdb.base/macscp.exp: Likewise.
12069 * gdb.base/maint.exp: Likewise.
12070 * gdb.base/mips_pro.exp: Likewise.
12071 * gdb.base/miscexprs.exp: Likewise.
12072 * gdb.base/multi-forks.exp: Likewise.
12073 * gdb.base/opaque.exp: Likewise.
12074 * gdb.base/overlays.exp: Likewise.
12075 * gdb.base/pc-fp.exp: Likewise.
12076 * gdb.base/pointers.exp: Likewise.
12077 * gdb.base/printcmds.exp: Likewise.
12078 * gdb.base/psymtab.exp: Likewise.
12079 * gdb.base/ptype.exp: Likewise.
12080 * gdb.base/recurse.exp: Likewise.
12081 * gdb.base/relational.exp: Likewise.
12082 * gdb.base/relocate.exp: Likewise.
12083 * gdb.base/remote.exp: Likewise.
12084 * gdb.base/reread.exp: Likewise.
12085 * gdb.base/restore.exp: Likewise.
12086 * gdb.base/return.exp: Likewise.
12087 * gdb.base/return2.exp: Likewise.
12088 * gdb.base/scope.exp: Likewise.
12089 * gdb.base/sect-cmd.exp: Likewise.
12090 * gdb.base/sep.exp: Likewise.
12091 * gdb.base/sepdebug.exp: Likewise.
12092 * gdb.base/setshow.exp: Likewise.
12093 * gdb.base/setvar.exp: Likewise.
12094 * gdb.base/sigall.exp: Likewise.
12095 * gdb.base/sigbpt.exp: Likewise.
12096 * gdb.base/signals.exp: Likewise.
12097 * gdb.base/signull.exp: Likewise.
12098 * gdb.base/sizeof.exp: Likewise.
12099 * gdb.base/solib.exp: Likewise.
12100 * gdb.base/step-line.exp: Likewise.
12101 * gdb.base/step-test.exp: Likewise.
12102 * gdb.base/structs.exp: Likewise.
12103 * gdb.base/structs2.exp: Likewise.
12104 * gdb.base/term.exp: Likewise.
12105 * gdb.base/twice.exp: Likewise.
12106 * gdb.base/until.exp: Likewise.
12107 * gdb.base/varargs.exp: Likewise.
12108 * gdb.base/volatile.exp: Likewise.
12109 * gdb.base/watchpoint.exp: Likewise.
12110 * gdb.base/whatis-exp.exp: Likewise.
12111 * gdb.base/whatis.exp: Likewise.
12112 * gdb.cp/ambiguous.exp: Likewise.
12113 * gdb.cp/annota2.exp: Likewise.
12114 * gdb.cp/annota3.exp: Likewise.
12115 * gdb.cp/bool.exp: Likewise.
12116 * gdb.cp/breakpoint.exp: Likewise.
12117 * gdb.cp/casts.exp: Likewise.
12118 * gdb.cp/class2.exp: Likewise.
12119 * gdb.cp/classes.exp: Likewise.
12120 * gdb.cp/cplusfuncs.exp: Likewise.
12121 * gdb.cp/ctti.exp: Likewise.
12122 * gdb.cp/derivation.exp: Likewise.
12123 * gdb.cp/exception.exp: Likewise.
12124 * gdb.cp/gdb1355.exp: Likewise.
12125 * gdb.cp/hang.exp: Likewise.
12126 * gdb.cp/inherit.exp: Likewise.
12127 * gdb.cp/local.exp: Likewise.
12128 * gdb.cp/m-data.exp: Likewise.
12129 * gdb.cp/m-static.exp: Likewise.
12130 * gdb.cp/member-ptr.exp: Likewise.
12131 * gdb.cp/method.exp: Likewise.
12132 * gdb.cp/misc.exp: Likewise.
12133 * gdb.cp/namespace.exp: Likewise.
12134 * gdb.cp/overload.exp: Likewise.
12135 * gdb.cp/ovldbreak.exp: Likewise.
12136 * gdb.cp/pr-1023.exp: Likewise.
12137 * gdb.cp/pr-1210.exp: Likewise.
12138 * gdb.cp/pr-574.exp: Likewise.
12139 * gdb.cp/printmethod.exp: Likewise.
12140 * gdb.cp/psmang.exp: Likewise.
12141 * gdb.cp/ref-params.exp: Likewise.
12142 * gdb.cp/ref-types.exp: Likewise.
12143 * gdb.cp/rtti.exp: Likewise.
12144 * gdb.cp/templates.exp: Likewise.
12145 * gdb.cp/try_catch.exp: Likewise.
12146 * gdb.cp/userdef.exp: Likewise.
12147 * gdb.cp/virtfunc.exp: Likewise.
12148 * gdb.disasm/am33.exp: Likewise.
12149 * gdb.disasm/h8300s.exp: Likewise.
12150 * gdb.disasm/mn10300.exp: Likewise.
12151 * gdb.disasm/sh3.exp: Likewise.
12152 * gdb.disasm/t01_mov.exp: Likewise.
12153 * gdb.disasm/t02_mova.exp: Likewise.
12154 * gdb.disasm/t03_add.exp: Likewise.
12155 * gdb.disasm/t04_sub.exp: Likewise.
12156 * gdb.disasm/t05_cmp.exp: Likewise.
12157 * gdb.disasm/t06_ari2.exp: Likewise.
12158 * gdb.disasm/t07_ari3.exp: Likewise.
12159 * gdb.disasm/t08_or.exp: Likewise.
12160 * gdb.disasm/t09_xor.exp: Likewise.
12161 * gdb.disasm/t10_and.exp: Likewise.
12162 * gdb.disasm/t11_logs.exp: Likewise.
12163 * gdb.disasm/t12_bit.exp: Likewise.
12164 * gdb.disasm/t13_otr.exp: Likewise.
12165 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
12166 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
12167 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
12168 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
12169 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
12170 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
12171 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
12172 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
12173 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
12174 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
12175 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
12176 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
12177 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
12178 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
12179 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
12180 * gdb.mi/gdb701.exp: Likewise.
12181 * gdb.mi/gdb792.exp: Likewise.
12182 * gdb.mi/mi-basics.exp: Likewise.
12183 * gdb.mi/mi-break.exp: Likewise.
12184 * gdb.mi/mi-cli.exp: Likewise.
12185 * gdb.mi/mi-console.exp: Likewise.
12186 * gdb.mi/mi-disassemble.exp: Likewise.
12187 * gdb.mi/mi-eval.exp: Likewise.
12188 * gdb.mi/mi-file.exp: Likewise.
12189 * gdb.mi/mi-read-memory.exp: Likewise.
12190 * gdb.mi/mi-regs.exp: Likewise.
12191 * gdb.mi/mi-return.exp: Likewise.
12192 * gdb.mi/mi-simplerun.exp: Likewise.
12193 * gdb.mi/mi-stack.exp: Likewise.
12194 * gdb.mi/mi-stepi.exp: Likewise.
12195 * gdb.mi/mi-syn-frame.exp: Likewise.
12196 * gdb.mi/mi-until.exp: Likewise.
12197 * gdb.mi/mi-var-block.exp: Likewise.
12198 * gdb.mi/mi-var-child.exp: Likewise.
12199 * gdb.mi/mi-var-cmd.exp: Likewise.
12200 * gdb.mi/mi-var-display.exp: Likewise.
12201 * gdb.mi/mi-watch.exp: Likewise.
12202 * gdb.mi/mi2-basics.exp: Likewise.
12203 * gdb.mi/mi2-break.exp: Likewise.
12204 * gdb.mi/mi2-cli.exp: Likewise.
12205 * gdb.mi/mi2-console.exp: Likewise.
12206 * gdb.mi/mi2-disassemble.exp: Likewise.
12207 * gdb.mi/mi2-eval.exp: Likewise.
12208 * gdb.mi/mi2-file.exp: Likewise.
12209 * gdb.mi/mi2-read-memory.exp: Likewise.
12210 * gdb.mi/mi2-regs.exp: Likewise.
12211 * gdb.mi/mi2-return.exp: Likewise.
12212 * gdb.mi/mi2-simplerun.exp: Likewise.
12213 * gdb.mi/mi2-stack.exp: Likewise.
12214 * gdb.mi/mi2-stepi.exp: Likewise.
12215 * gdb.mi/mi2-syn-frame.exp: Likewise.
12216 * gdb.mi/mi2-until.exp: Likewise.
12217 * gdb.mi/mi2-var-block.exp: Likewise.
12218 * gdb.mi/mi2-var-child.exp: Likewise.
12219 * gdb.mi/mi2-var-cmd.exp: Likewise.
12220 * gdb.mi/mi2-var-display.exp: Likewise.
12221 * gdb.mi/mi2-watch.exp: Likewise.
12222 * gdb.stabs/exclfwd.exp: Likewise.
12223 * gdb.stabs/weird.exp: Likewise.
12224 * gdb.threads/gcore-thread.exp: Likewise.
12225 * gdb.trace/actions.exp: Likewise.
12226 * gdb.trace/backtrace.exp: Likewise.
12227 * gdb.trace/circ.exp: Likewise.
12228 * gdb.trace/collection.exp: Likewise.
12229 * gdb.trace/deltrace.exp: Likewise.
12230 * gdb.trace/infotrace.exp: Likewise.
12231 * gdb.trace/limits.exp: Likewise.
12232 * gdb.trace/packetlen.exp: Likewise.
12233 * gdb.trace/passc-dyn.exp: Likewise.
12234 * gdb.trace/passcount.exp: Likewise.
12235 * gdb.trace/report.exp: Likewise.
12236 * gdb.trace/save-trace.exp: Likewise.
12237 * gdb.trace/tfind.exp: Likewise.
12238 * gdb.trace/tracecmd.exp: Likewise.
12239 * gdb.trace/while-dyn.exp: Likewise.
12240 * gdb.trace/while-stepping.exp: Likewise.
12241
f4b618d1
JB
122422006-08-08 Joel Brobecker <brobecker@adacore.com>
12243
12244 * gdb.base/step-bt.c: New file.
12245 * gdb.base/step-bt.exp: New testcase.
12246
3d00d119
DJ
122472006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
12248
12249 * config/monitor.exp (gdb_load): Remove support for obsolete
12250 download-write-size.
12251 * gdb.base/remote.exp: Likewise. Update all callers of
12252 gdb_timed_load.
12253
017b5bd4
DJ
122542006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
12255
12256 * cursal.exp: Pass binfile to gdb_load.
12257
837c599d
DJ
122582006-08-01 Nathan Sidwell <nathan@codesourcery.com>
12259
12260 * gdb.base/cursal.exp: Add "" to gdb_load call.
12261
8dd4540b
MK
122622006-07-29 Mark Kettenis <kettenis@gnu.org>
12263
12264 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
12265 NetBSD/ELF targets.
12266
ab5c9f60
DJ
122672006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
12268
12269 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
12270 operator*.
12271
4c42eaff
DJ
122722006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
12273
12274 * gdb.base/completion.exp: Update for change in "file" behavior.
12275 * gdb.stabs/weird.exp: Likewise.
12276 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
12277 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
12278
0155cc76
NS
122792006-07-24 Nathan Sidwell <nathan@codesourcery.com>
12280
12281 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
12282 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
12283
16026cd7
AS
122842006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
12285
12286 * gdb.base/default.exp: Update source command error message.
12287 * gdb.base/help.exp: Update 'help source' message.
12288
16963cb6
DJ
122892006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
12290
12291 * gdb.cp/bs15503.exp: Update comment for no longer crashing
12292 test.
12293
6d7fd486
AS
122942006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
12295
12296 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
12297
29e8a844
DJ
122982006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
12299
12300 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
12301
6afcfa39
DJ
123022006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
12303
12304 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
12305
267a692b
MK
123062006-07-17 Mark Kettenis <kettenis@gnu.org>
12307
12308 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
12309 *-*-openbsd* from targets for wich we expect ARM FPA floating
12310 point format.
12311
85d2fec4
NR
123122006-07-17 Nick Roberts <nickrob@snap.net.nz>
12313
12314 * gdb.cp/annota3.exp: Expect frame-begin annotation.
12315
123162006-07-17 Mark Kettenis <kettenis@gnu.org>
12317
12318 * gdb.base/annota3.exp: Expect frame-begin annotation.
12319
85b4c6e8
JB
123202006-07-14 Joel Brobecker <brobecker@adacore.com>
12321
12322 * gdb.base/help.exp: Adjust "help unset" test to accept
12323 any list of unset commands.
12324
fb933624
DJ
123252006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
12326 Daniel Jacobowitz <dan@codesourcery.com>
12327
12328 * gdb.cp/ref-params.exp: New test.
12329 * gdb.cp/ref-params.cc: New source file.
12330 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
12331
1dff4b64
MK
123322006-07-08 Mark Kettenis <kettenis@gnu.org>
12333
12334 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
12335 spaces/tabs in regular expressions since they might not be there.
12336
40d2e0e3
AS
123372006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
12338
12339 * gdb.base/ifelse.exp: New file.
12340
f6c957d2
NS
123412006-07-04 Nathan Sidwell <nathan@codesourcery.com>
12342
12343 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
12344 line.
12345 * gdb.base/huge.exp: Loop over compilation to find a size that
12346 is acceptable.
12347 * gdb.base/remote.exp: Correct expected strings.
12348 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
12349
b9c5a23d
DJ
123502006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12351
12352 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
12353
9af2e58d
DJ
123542006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12355
12356 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
12357 native.
12358
30930ca5
DJ
123592006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12360
12361 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
12362 enable stabs testing.
12363
aa32fa1d
DJ
123642006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12365
bd4a4c80 12366 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
12367 gdb_test_multiple does.
12368
321fef15
DJ
123692006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12370
12371 * Makefile.in (host_alias): Remove.
12372 (target_alias): Use @target_noncanonical@.
12373 (site.exp): Don't set host_alias.
12374 * aclocal.m4: Remove contents. Include acx.m4.
12375 * configure: Regenerated.
12376 * configure.ac: Use ACX_NONCANONICAL_TARGET.
12377
e1c2defa
NS
123782006-06-13 Nathan Sidwell <nathan@codesourcery.com>
12379
e63b55d1
NS
12380 * lib/gdb.exp (gdb_load_cmd): New.
12381
5600ea19
NS
12382 * gdb.base/fileio.c: Add system(NULL) test.
12383 * gdb.base/fileio.exp: Check it.
12384
e1c2defa
NS
12385 * gdb.base/break.c: Add 10a breakpoint at }
12386 * gdb.base/break.exp: Add test for breakpoint at }
12387 * gdb.cp/anon-union.cc: Add code at end of function.
12388 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
12389 * gdb.mi/var-cmd.c: Add code at end of function.
12390 * gdb.mi/mi-var-display.exp: Adjust end of next.
12391 * gdb.mi/mi2-var-display.exp: Likewise.
12392 * gdb.base/fileio.c: Add stop function and insert calls at
12393 stopping places.
12394 * gdb.base/fileio.exp: Breakpoint stop function and remove
12395 explicit line number references.
12396
6c0112ec
JB
123972006-05-19 Joel Brobecker <brobecker@adacore.com>
12398
a9c64011
AS
12399 * gdb.base/del.exp (test_delete_alias): New function.
12400 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 12401
154189a4
FF
124022006-05-18 Fred Fish <fnf@specifix.com>
12403
12404 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
12405 required. Check for spurious output after program exits normally.
12406
582e64c2
FF
124072006-05-17 Fred Fish <fnf@specifix.com>
12408
12409 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
12410 gdb_load, so it works in the simulator.
12411
8ef6493a
FF
124122006-05-11 Fred Fish <fnf@specifix.com>
12413
12414 * gdb.base/bang.exp: Ignore unexpected output between the
12415 "program exited normally" and the gdb prompt, as many other
12416 tests do.
12417
692b141c
MK
124182006-05-07 Mark Kettenis <kettenis@gnu.org>
12419
12420 * gdb.base/help.exp: Make "delete checkpoint" part option for
12421 "help d" and "help delete" tests.
12422
540b8a30
UW
124232006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12424
a9c64011 12425 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
12426 expected output in some mi_gdb_test statements.
12427 * gdb.mi/mi2-basics.exp: Likewise.
12428
9b6462d9
JB
124292006-05-05 Joel Brobecker <brobecker@adacore.com>
12430
12431 * gdb.base/del.c: New file.
12432 * gdb.base/del.exp: New testcase.
12433
954de43b
DM
124342006-05-05 David S. Miller <davem@sunset.davemloft.net>
12435
12436 * gdb.base/break.exp: Do not assume a breakpoint on
12437 main will actually be in $srcfile when optimizing.
1303f75e
DM
12438 * gdb.base/savedregs.exp: Do not require that the dummy
12439 frame location match up to a symbol and source file location.
c3242428
DM
12440 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
12441 will get printed without a mi_cmd_data_list_register_values prefix.
12442 (*-data-list-register-*): Correct regular expressions to expect the new
12443 pseudo d? floating point registers.
12444 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 12445
c7e64c9a
DJ
124462006-05-05 Christophe Lyon <christophe.lyon@st.com>
12447
12448 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
12449 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
12450 is allocated by the compiler.
12451 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
12452 anons, e, anone to force their allocation by the compiler.
12453
124542006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
12455
12456 * gdb.base/help.exp: Update expected text for help d and
12457 help delete.
12458
27ce9a6d
MK
124592006-05-02 Mark Kettenis <kettenis@gnu.org>
12460
12461 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
12462 NetBSD/ELF targets.
12463
8608915f
MK
124642006-04-30 Mark Kettenis <kettenis@gnu.org>
12465
12466 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
12467 single-step breakpoint fails; make this a KFAIL on
12468 sparc*-*-openbsd*.
12469 * gdb.base/siginfo.exp: Likewise.
12470 * gdb.base/sigstep.exp (advance, advancei): Likewise.
12471
b8db102d
MS
124722006-04-26 Michael Snyder <msnyder@redhat.com>
12473
12474 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
12475 which may have to consume output from other forks.
12476 Add tests to make sure that "delete fork" succeeded.
12477
c702009a
MS
124782006-04-20 Michael Snyder <msnyder@redhat.com>
12479
12480 * 2006-03-22 Jim Blandy <jimb@redhat.com>
12481 Add support for the Renesas M32C and M16C.
12482
12483 * gdb.asm/asm-source.exp: Add m32c target.
12484 * gdb.asm/m32c.inc: Support for m32c target.
12485
e28493f2
AS
124862006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
12487
12488 * gdb.base/commands.exp (recursive_source_test): New test.
12489
880da185
DM
124902006-04-04 David S. Miller <davem@sunset.davemloft.net>
12491
12492 * gdb.base/float.exp: Add pattern for sparc targets.
12493
61d9b92f
DJ
124942006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
12495
12496 * gdb.base/commands.exp (stray_arg0_test): New test.
12497
bd717df8
PB
124982006-03-30 Paul Brook <paul@codesourcery.com>
12499
12500 * gdb.mi/mi-until.exp: kfail broken until command.
12501 * gdb.mi/mi2-until.exp: Ditto.
12502
ec793d3c
NR
125032006-03-27 Nick Roberts <nickrob@snap.net.nz>
12504
12505 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
12506
831004b7
AO
125072006-03-08 Alexandre Oliva <aoliva@redhat.com>
12508
12509 * gdb.base/prelink.exp: Anchor tested-for regular expression
12510 on gdb prompt.
12511
effe49a0
PB
125122006-03-07 Paul Brook <paul@codesourcery.com>
12513
12514 * gdb.base/assign.exp: Correct fail message.
12515
e5461016
PB
125162006-03-07 Paul Brook <paul@codesourcery.com>
12517
12518 * lib/compiler.c: Extract armcc version number.
12519 * lib/compiler.cc: Ditto.
12520
fc91c6c2
PB
125212006-03-07 Paul Brook <paul@codesourcery.com>
12522
12523 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
12524 additional_flags=-w.
12525 * gdb.arch/altivec-regs.exp: Ditto.
12526 * gdb.arch/e500-abi.exp: Ditto.
12527 * gdb.arch/e500-regs.exp: Ditto.
12528 * gdb.base/all-bin.exp: Ditto.
12529 * gdb.base/annota1.exp: Ditto.
12530 * gdb.base/annota3.exp: Ditto.
12531 * gdb.base/args.exp: Ditto.
12532 * gdb.base/arithmet.exp: Ditto.
12533 * gdb.base/assign.exp: Ditto.
12534 * gdb.base/async.exp: Ditto.
12535 * gdb.base/bang.exp: Ditto.
12536 * gdb.base/break.exp: Ditto.
12537 * gdb.base/call-rt-st.exp: Ditto.
12538 * gdb.base/completion.exp: Ditto.
12539 * gdb.base/cond-expr.exp: Ditto.
12540 * gdb.base/condbreak.exp: Ditto.
12541 * gdb.base/consecutive.exp: Ditto.
12542 * gdb.base/define.exp: Ditto.
12543 * gdb.base/display.exp: Ditto.
12544 * gdb.base/ena-dis-br.exp: Ditto.
12545 * gdb.base/environ.exp: Ditto.
12546 * gdb.base/eval-skip.exp: Ditto.
12547 * gdb.base/info-proc.exp: Ditto.
12548 * gdb.base/jump.exp: Ditto.
12549 * gdb.base/logical.exp: Ditto.
12550 * gdb.base/long_long.exp: Ditto.
12551 * gdb.base/maint.exp: Ditto.
12552 * gdb.base/miscexprs.exp: Ditto.
12553 * gdb.base/pc-fp.exp: Ditto.
12554 * gdb.base/pointers.exp: Ditto.
12555 * gdb.base/relational.exp: Ditto.
12556 * gdb.base/reread.exp: Ditto.
12557 * gdb.base/sect-cmd.exp: Ditto.
12558 * gdb.base/sep.exp: Ditto.
12559 * gdb.base/sepdebug.exp: Ditto.
12560 * gdb.base/until.exp: Ditto.
12561 * gdb.base/whatis-exp.exp: Ditto.
12562 * gdb.cp/annota2.exp: Ditto.
12563 * gdb.cp/annota3.exp: Ditto.
12564 * gdb.trace/actions.exp: Ditto.
12565 * gdb.trace/backtrace.exp: Ditto.
12566 * gdb.trace/circ.exp: Ditto.
12567 * gdb.trace/collection.exp: Ditto.
12568 * gdb.trace/deltrace.exp: Ditto.
12569 * gdb.trace/infotrace.exp: Ditto.
12570 * gdb.trace/limits.exp: Ditto.
12571 * gdb.trace/packetlen.exp: Ditto.
12572 * gdb.trace/passc-dyn.exp: Ditto.
12573 * gdb.trace/passcount.exp: Ditto.
12574 * gdb.trace/report.exp: Ditto.
12575 * gdb.trace/save-trace.exp: Ditto.
12576 * gdb.trace/tfind.exp: Ditto.
12577 * gdb.trace/tracecmd.exp: Ditto.
12578 * gdb.trace/while-dyn.exp: Ditto.
12579 * gdb.trace/while-stepping.exp: Ditto.
12580 * lib/gdb.exp: Ditto.
12581 (gdb_compile): Handle nowarning option.
12582
5f4a23d9
AO
125832006-03-07 Alexandre Oliva <aoliva@redhat.com>
12584
12585 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
12586 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
12587 Rename executable to prelinkt. Don't re-prelink if we didn't
12588 get a core file. Test prelink -u exit status to tell whether
12589 prelinking failed. Use gdb_test_multiple.
12590
9733fc94
DJ
125912006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
12592
12593 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
12594 (do_tests): Call it.
12595
cc10cae3
AO
125962006-02-28 Alexandre Oliva <aoliva@redhat.com>
12597
12598 * gdb.base/prelink.exp: New test.
12599 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
12600
15c46491
WZ
126012006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
12602
12603 * gdb.fortran/derived-type.f90: New file.
12604 * gdb.fortran/derived-type.exp: New testcase.
12605
5c9f7ded
DJ
126062006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
12607
12608 * gdb.base/default.exp: Allow ';' as a directory separator.
12609
5b96932b
AS
126102006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
12611
12612 * gdb.base/help.exp (help add-symbol-file): Update.
12613
1986bccd
AS
126142006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
12615
12616 * gdb.base/help.exp (help load): Update expected results.
12617
a8b7528f
FF
126182006-02-19 Fred Fish <fnf@specifix.com>
12619
12620 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
12621 specifix hex value as part of results.
12622 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 12623
f8261448
FF
126242006-02-16 Fred Fish <fnf@specifix.com>
12625
12626 * gdb.base/whatis.c: Define variables using typedefs char_addr,
12627 ushort_addr, and slong_addr, so the typedefs are not optimized
12628 away.
12629 * gdb.base/whatis.exp: Add tests using type name for struct type,
12630 union type, enum type, and typedef.
a9c64011 12631
31d8bdd2
MK
126322006-02-13 Mark Kettenis <kettenis@gnu.org>
12633
12634 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
12635
34e41e63
JB
126362006-02-13 Jim Blandy <jimb@redhat.com>
12637
12638 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
12639 case where it takes two "next" commands to skip past the init
12640 call.
12641
ac6e4f31
FF
126422006-02-12 Fred Fish <fnf@specifix.com>
12643
12644 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
12645 to handle cases where it takes two "next" commands to skip
12646 past the init call.
12647
2db2d571
JB
126482006-02-07 Joel Brobecker <brobecker@adacore.com>
12649
12650 * gdb.ada/array_return.exp: Mark the last test as expected to fail
12651 on hppa32 targets.
12652
38fcd64c
DJ
126532006-02-06 Vladimir Prus <ghost@cs.msu.su>
12654
12655 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
12656 field.
12657
1315ad46
MK
126582006-01-29 Mark Kettenis <kettenis@gnu.org>
12659
12660 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
12661
5625b943
DJ
126622006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
12663
12664 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
12665 files.
12666
80df1bbe
DJ
126672006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
12668
12669 * gdb.cp/maint.exp: Set complaints to a positive value.
12670
9078e690
DJ
126712006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
12672
12673 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
12674 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
12675 function name.
12676
9c903399
DJ
126772006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
12678
12679 * gdb.base/checkpoint.c: Update copyright notice. Include
12680 <stdlib.h>.
12681
761ae4d6
JB
126822006-01-04 Jim Blandy <jimb@redhat.com>
12683
12684 * gdb.asm/asm-source.exp: Independently provide default values for
12685 asm-flags and debug-flags. Use 'string equal' to do the
12686 comparison, not the implicit expr's '==' operator. Remove
12687 now-unneeded assignments to asm-flags. In h8300 case, place
12688 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
12689
099ac3dd
MS
126902006-01-04 Michael Snyder <msnyder@redhat.com>
12691
12692 * gdb.base/checkpoint.c: New file.
12693 * gdb.base/checkpoint.exp: New file.
12694 * gdb.base/multi-fork.c: New file.
12695 * gdb.base/multi-fork.exp: New file.
12696 * gdb.base/pi.txt: New file (data for checkpoint.c test).
12697
f4d85314
FF
126982006-01-04 Fred Fish <fnf@specifix.com>
12699
12700 * gdb.base/ptype.c (foo): Add typedef.
12701 (intfoo): Add function.
12702 * gdb.base/ptype1.c: New file.
12703 * gdb.base/ptype.exp: Handle compilation and linking with two
12704 source files. Test that proper type for "foo" is found based
12705 on source context rather than first match found in symtabs.
12706
a1b06f35
MK
127072005-12-28 Mark Kettenis <kettenis@gnu.org>
12708
12709 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
12710 * gdb.asm/openbsd.inc: Indent commands.
12711
d082a1e2
MK
127122005-12-26 Mark Kettenis <kettenis@gnu.org>
12713
c65016bd
MK
12714 * gdb.base/freebpcmd.exp: Increase timeout.
12715
d082a1e2
MK
12716 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
12717
d3c32a0e
DJ
127182005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
12719
12720 * gdb.base/default.exp: Update check for "show version".
12721
9fdb1f50
RC
127222005-12-09 Randolph Chung <tausq@debian.org>
12723
12724 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
12725 * gdb.asm/pa64.inc: New file.
12726
5f2c56f7
RC
127272005-12-09 Randolph Chung <tausq@debian.org>
12728
12729 * gdb.asm/common.inc: Indent commands.
12730 * gdb.asm/asmsrc1.s: Likewise.
12731 * gdb.asm/asmsrc2.s: Likewise.
12732
8117349c
RC
127332005-12-09 Randolph Chung <tausq@debian.org>
12734
12735 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
12736 (get_addr_of_sym): Remove duplicate print.
12737 (gen_core): xfail hppa*-*-hpux*, update expected output.
12738 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
12739 * gdb.arch/pa64-nullify.s: New file.
12740
8f07f25a
RC
127412005-12-09 Randolph Chung <tausq@debian.org>
12742
12743 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
12744
55b39184
DJ
127452005-12-07 Christophe Lyon <christophe.lyon@st.com>
12746
12747 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
12748 code generation for these functions.
12749 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
12750 error message.
12751
31e2b00f
AS
127522005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
12753
12754 * gdb.base/help.exp (help b, help br, help bre, help brea)
12755 (help break): Update the expected message.
12756
c3d0b56e
SC
127572005-11-11 Stephane Carrez <stcarrez@nerim.fr>
12758
12759 * gdb.asm/m68hc11.inc: Setup the data section.
12760 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
12761 script for this test.
12762 (m6812-*-*): Likewise.
12763
36ae0ea9
RC
127642005-11-09 Randolph Chung <tausq@debian.org>
12765
12766 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
12767
9d6f42e9
WZ
127682005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
12769
12770 * gdb.base/break.exp: Fix a comment typo.
12771
e2126a14
EZ
127722005-11-03 Jim Blandy <jimb@redhat.com>
12773
a9c64011
AS
12774 Checked in by Elena Zannoni <ezannoni@redhat.com>
12775
889bf7c5 12776 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
e2126a14 12777
e0ac7199
CV
127782005-11-02 Corinna Vinschen <vinschen@redhat.com>
12779
12780 * gdb.arch/gdb1558.c: Include stdio.h.
12781
31d3fb18
MK
127822005-10-31 Mark Kettenis <kettenis@gnu.org>
12783
12784 * gdb.asm/asm-source.exp: Use -e instead of --entry.
12785
e52b687c
MK
127862005-10-31 Mark Kettenis <kettenis@gnu.org>
12787
12788 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
12789
f4711d79
PG
127902005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
12791
a9c64011
AS
12792 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
12793 vscr" tests to better match output.
f4711d79 12794
987a9106
JB
127952005-10-12 Jim Blandy <jimb@redhat.com>
12796
12797 * gdb.base/structs.exp (any): New function.
12798 (test_struct_returns): Don't make any assumptions at all about
12799 what value the function returns when GDB can't set the return
12800 value.
12801
2336bb58
JB
128022005-10-09 Joel Brobecker <brobecker@adacore.com>
12803
12804 * gdb.ada/arrayidx/p.adb: New file.
12805 * gdb.ada/arrayidx.exp: New testcase
12806
128072005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
12808
12809 * gdb.ada/array_return/pck.ads: New file.
12810 * gdb.ada/array_return/pck.adb: New file.
12811 * gdb.ada/array_return/p.adb: New file.
12812 * gdb.ada/array_return.exp: New testcase.
12813
705335ea
JB
128142005-10-03 Joel Brobecker <brobecker@adacore.com>
12815
a9c64011
AS
12816 * gdb.base/arrayidx.c: New file.
12817 * gdb.base/arrayidx.exp: New testcase.
705335ea 12818
11ee9940
NR
128192005-09-29 Nick Roberts <nickrob@snap.net.nz>
12820
12821 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
12822 frames-invalid and breakpoints-invalid are no longer generated
12823 with level 3 so don't expect them in the output.
12824
39fb8e9e
BR
128252005-09-27 Bob Rossi <bob@brasko.net>
12826
a9c64011 12827 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
12828 from test. Escape the | in mi_gdb_test call.
12829 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
12830 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
12831 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
12832 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
12833 expected regex's in mi_gdb_test calls.
12834 * lib/mi-support.exp: Remove arbitrary .* from tests.
12835 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
12836 Fully anchor GDB/MI expected results in mi_gdb_test.
12837 * lib/gdb.exp (string_to_regexp): Escape the ] character.
12838 * gdb.base/sizeof.exp: Remove escape character. Correct test.
12839
2af48f68
PB
128402005-09-26 Paul Brook <paul@codesourcery.com>
12841
12842 * long_long.exp: Exclude eabi targets from arm FPA float format test.
12843
f34502bc
WZ
128442005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
12845
12846 * bfp-test.c: New file.
12847 * bfp-test.exp: New testcase.
12848
ca929517
WZ
128492005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
12850
12851 * gdb.fortran/subarray.exp: New testcase to test the evaluation
12852 of subarray and substring variable.
12853 * gdb.fortran/subarray.f: New source file for the test of subarray
12854 and substring variable evaluation.
12855 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
12856 of string constant.
12857
c761af65
DJ
128582005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
12859
12860 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
12861 copyright dates.
12862
561d7a1d
PG
128632005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
12864
12865 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
12866 powerpc altivec' test with an almost identical 'info vector' test.
12867
b2b64cc9
PG
128682005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
12869
a9c64011
AS
12870 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
12871 vscr" tests to match output.
b2b64cc9 12872
6ac4d15a
PG
128732005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
12874
a9c64011
AS
12875 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
12876 output.
6ac4d15a 12877
40e55bef
BR
128782005-09-11 Bob Rossi <bob@brasko.net>
12879
889bf7c5
PA
12880 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
12881 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
12882 commands that return an MI output command and an asyncronous MI output
12883 command.
40e55bef
BR
12884 * gdb.mi/mi-console.exp: Ditto.
12885
3c7385ec
BR
128862005-09-11 Bob Rossi <bob@brasko.net>
12887
12888 * gdb.mi/mi-var-child.c: Include <string.h>.
12889
a6cd0eb3
DJ
128902005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
12891
12892 * killed.exp: Correct gdb_expect syntax.
12893
2f168eed
CV
128942005-08-09 Corinna Vinschen <vinschen@redhat.com>
12895
12896 * lib/mi-support.exp (mi_gdb_load): Fix typo.
12897
ecd3fd0f
BR
128982005-08-02 Bob Rossi <bob@brasko.net>
12899
12900 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
12901 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
12902 Change tests to inferior-tty-set/show.
12903 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
12904 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
12905 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
12906 inferior. Use mi_gdb_test to get GDB and Inferior output.
12907 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
12908 descriptor.
12909 (mi_inferior_tty_name): Add inferior PTY file name.
12910 (mi_gdb_start): Add INFERIOR_PTY parameter.
12911 (mi_gdb_test): Add IPATTERN parameter.
12912
f1ea48cb 129132005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 12914
f1ea48cb
BR
12915 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
12916 parameter to mi_gdb_test.
12917 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
12918
6e650a67
DJ
129192005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
12920
12921 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
12922 struct_declarations.
12923 * gdb.mi/mi-var-child.exp: Step over the initialization of
12924 struct_declarations.
12925
8be260b6
DJ
129262005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
12927
12928 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
12929 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
12930 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
12931 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
12932 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
12933 file.
12934
4e660f07
NR
129352005-07-27 Nick Roberts <nickrob@snap.net.nz>
12936
12937 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
12938 (do_children_tests): Assign values to the extra elements.
12939
12940 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
12941 them for tests for "-var-update --no-values" and
a9c64011 12942 "-var-update --all-values".
4e660f07
NR
12943 Add test for "-var-list-children --simple-values".
12944
12945 * gdb.mi/basics.c (callee4): Add integer array D[3]...
12946
12947 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
12948 "-stack-list-locals --simple-values" Improve doc strings and
12949 comments.
12950
6bdae935
MK
129512005-07-18 Mark Kettenis <kettenis@gnu.org>
12952
598b7a6f
MK
12953 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
12954 *-*-openbsd*.
12955 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
12956
6bdae935
MK
12957 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
12958 sigaltsatck'.
12959
1323e929 129602005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 12961
1323e929
BR
12962 * gdb.base/default.exp (tty): Changed output of command.
12963 * gdb.base/help.exp (help tty): Ditto.
12964
b1a9c082
MK
129652005-07-12 Mark Kettenis <kettenis@gnu.org>
12966
12967 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
12968
10a844a2
MK
129692005-07-10 Mark Kettenis <kettenis@gnu.org>
12970
12971 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
12972 -stack-select-frame without arguments.
12973 (test_stack_frame_listing): Add test for newly implemented command
12974 -stack-info-frame.
12975
3cb3b8df
BR
129762005-07-06 Bob Rossi <bob@brasko.net>
12977
12978 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
12979 command.
12980 (Copyright): Update copyright.
12981
a0c5fbcf
WZ
129822005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
12983
12984 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
12985 tests to evaluate exponentiation expression.
12986
984971d0
AS
129872005-06-29 Andreas Schwab <schwab@suse.de>
12988
12989 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
12990 main to avoid warnings.
12991
12992 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
12993
fe03833f
NR
129942005-06-20 Nick Roberts <nickrob@snap.net.nz>
12995
12996 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
12997 -stack-select-frame without arguments.
12998 (test_stack_frame_listing): Add test for newly implemented command
12999 -stack-info-frame.
a9c64011 13000
7a55f279
WZ
130012005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
13002
0ffa0ea5
DJ
13003 * gdb.fortran/array-element.f: New file.
13004 * gdb.fortran/array-element.exp: New testcase.
7a55f279 13005
26585198
DJ
130062005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
13007
13008 * gdb.base/bigcore.exp: Correct checks for systems which can
13009 not dump a large core file.
13010
c1bd25fd
DJ
130112005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
13012
13013 * gdb.base/relocate.c: Add a copyright notice.
13014 (dummy): Remove.
13015 * gdb.base/relocate.exp: Test printing the values of variables
13016 from a relocatable file.
13017
589e074d
DJ
130182005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
13019
13020 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
13021 excess MI output after an error.
13022
0915f927
JB
130232005-05-29 Joel Brobecker <brobecker@adacore.com>
13024
13025 * gdb.arch/alpha-step.c: New file.
13026 * gdb.arch/alpha-step.exp: New testcase.
13027
76ff342d
DJ
130282005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
13029 Dennis Brueni <dennis@slickedit.com>
13030
13031 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
13032 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
13033 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
13034 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
13035 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
13036 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
13037 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
13038
96b0c7ac
DJ
130392005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
13040 Wu Zhou <woodzltc@cn.ibm.com>
13041
13042 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
13043 IBM's xlc compiler.
13044 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
13045 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
13046
f21565d2
JB
130472005-05-13 Jim Blandy <jimb@redhat.com>
13048
13049 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
13050 calling gdb_suppress_entire_file.
13051 * gdb.base/charset.exp: Same.
13052 * gdb.base/call-rt-st.exp: Same.
13053
6006a3a1
BR
130542005-05-05 Bob Rossi <bob_rossi@cox.net>
13055
13056 * lib/gdb.exp (fullname_syntax): Added global regex.
13057 (fullname_syntax_POSIX): Ditto.
13058 (fullname_syntax_UNC): Ditto.
13059 (fullname_syntax_DOS_CASE): Ditto.
13060 (fullname_syntax_DOS): Ditto.
13061 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
13062 fullname_syntax variable to scope and use it.
13063 (test_file_list_exec_source_files): Ditto.
13064 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
13065
c3b69c04
DJ
130662005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
13067
13068 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
13069
3c95e6af
PG
130702004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
13071
a9c64011
AS
13072 * lib/gdb.exp (skip_altivec_tests): New function, based on
13073 check_vmx_hw_available from the GCC testsuite.
13074 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
13075 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 13076
78df6c56
JB
130772005-05-02 Jim Blandy <jimb@redhat.com>
13078
13079 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
13080 calling gdb_suppress_entire_file.
13081
1690f9cf
DJ
130822005-04-30 Randolph Chung <tausq@debian.org>
13083
13084 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
13085 Slightly relax "sem_post" name checking.
13086
5ea106f7
PG
130872005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
13088
13089 * gdb.base/unload.exp: Use new shared library infrastructure.
13090
bf7234cf
PG
130912005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
13092
13093 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 13094 infrastructure.
bf7234cf 13095
547b869a
CV
130962005-04-29 Corinna Vinschen <vinschen@redhat.com>
13097
13098 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
13099 * gdb.asm/h8300.inc: New file.
13100
f07e55f0
PG
131012005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
13102
13103 * gdb.base/shlib-call.exp: Change to use new shared library
13104 infrastructure.
13105
3cbba3d1
PG
131062005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
13107
a9c64011
AS
13108 * gdb.base/pending.exp: Change to use new shared library
13109 infrastructure.
3cbba3d1 13110
ed6df200
PG
131112005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
13112
a9c64011
AS
13113 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
13114 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 13115
8c8f4ebe
PG
131162005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
13117
a9c64011
AS
13118 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
13119 shared objects being adjusted and update copyright years.
8c8f4ebe 13120
607fbc54
DJ
131212005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
13122
13123 * ChangeLog: Correct some 2003-01-13 dates.
13124 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
13125 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
13126 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
13127 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
13128 gdb.trace/tfind.exp: Update copyright years.
13129
57bf0e56
DJ
131302005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
13131 Daniel Jacobowitz <dan@codesourcery.com>
13132
13133 * lib/gdb.exp (gdb_compile): Handle shlib=.
13134 (gdb_compile_shlib): New function.
13135
9b593790
PG
131362005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
13137
a9c64011 13138 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 13139
9494c6a5
DJ
131402005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
13141
13142 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
13143 gdb.server.
13144 * configure.ac: Likewise.
13145 * configure: Regenerated.
13146 * gdb.gdbserver/Makefile.in: Moved to...
13147 * gdb.server/Makefile.in: ... here.
13148 * gdb.gdbserver/server.c: Moved to...
13149 * gdb.server/server.c: ... here.
13150 * gdb.gdbserver/server-run.exp: Moved to...
13151 * gdb.server/server-run.exp: ... here.
13152
6f8eac0e
DJ
131532005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
13154
13155 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
13156 * configure.ac: Create gdb.gdbserver/Makefile.
13157 * configure: Regenerated.
13158 * lib/gdbserver-support.exp: New file, derived from
13159 config/gdbserver.exp.
13160 * config/gdbserver.exp: Use gdbserver-support.exp.
13161 * gdb.gdbserver/Makefile.in: New file.
13162 * gdb.gdbserver/server.c: New file.
13163 * gdb.gdbserver/server-run.exp: New file.
13164
6e87504d
PG
131652005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
13166
a9c64011
AS
13167 * lib/gdb.exp (test_compiler_info): Return compiler_info
13168 if no arguments are given.
6e87504d 13169
d1779be4
PG
131702005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
13171
13172 * gdb.arch/altivec-abi.exp: Check for compiler and set
13173 use altivec' flag accordingly.
13174 * gdb.arch/altivec-regs.exp: Likewise.
13175
88750304
DJ
131762005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
13177
13178 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
13179
f3fb768d
AS
131802005-03-27 Andreas Schwab <schwab@suse.de>
13181
13182 * gdb.base/bigcore.c (main): Add missing mode argument in open
13183 call.
13184
7e813ac5
DJ
131852005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
13186
13187 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
13188 downloads.
13189 * config/gdbserver.exp (gdb_load): Likewise.
13190
8e3049aa
PB
131912005-03-14 Paul Brook <paul@codesourcery.com>
13192
13193 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
13194 targets.
13195
a9df7c44
JB
131962005-03-09 Joel Brobecker <brobecker@adacore.com>
13197
13198 * gdb.dwarf2/dup-psym.S: New file.
13199 * gdb.dwarf2/dup-psym.exp: New testcase.
13200
9f0d94e8
JB
132012005-03-09 Joel Brobecker <brobecker@adacore.com>
13202
13203 * gdb.ada/exec_changed/first.adb: New file.
13204 * gdb.ada/exec_changed/second.adb: New file.
13205 * gdb.ada/exec_changed.exp: New testcase.
13206
5f579bc5
NS
132072005-03-08 Nathan Sidwell <nathan@codesourcery.com>
13208
36e9969c
NS
13209 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
13210 (A2): New class.
13211 (main): Test operator+.
13212 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
13213 breakpoint test.
13214
5f579bc5
NS
13215 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
13216 * gdb.base/signull.exp: Disable if gdb,nosignals.
13217 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
13218 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
13219 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
13220 * gdb.mi/mi2-console.exp: Likewise.
13221 * gdb.trace/collection.exp (run_trace_experiment): Consume the
13222 continue output at start.
13223 (gdb_collect_locals_test): Robustify regexp.
13224 * gdb.trace/passc-dyn.exp: Fix comment typo.
13225 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
13226
be46087e
CV
132272005-03-08 Corinna Vinschen <vinschen@redhat.com>
13228
13229 * gdb.asm/asm-source.exp: Add iq2000 case.
13230 * gdb.asm/iq2000.inc: New file.
13231
384e1a61 132322005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 13233
384e1a61
MI
13234 * gdb.base/command.exp: Change hardcoded value to regular expression.
13235 * gdb.base/float.exp: Add powerpc to the list of targets checked.
13236
584b6e9e
DJ
132372005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
13238
13239 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
13240 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
13241 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
13242 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
13243 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
13244
ab5b5d61
MK
132452005-03-05 Mark Kettenis <kettenis@gnu.org>
13246
13247 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
13248 changes.
13249
ae051c1b
PG
132502004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
13251
a9c64011
AS
13252 * lib/compiler.c: Add test for IBM's xlc compiler.
13253 * lib/compiler.cc: Likewise.
ae051c1b 13254
3f0f6ed2
JB
132552004-02-24 Joel Brobecker <brobecker@adacore.com>
13256
13257 * gdb.ada/fixed_points.exp: Create compilation object directory
13258 before running the test.
13259 * gdb.ada/null_record.exp: Likewise.
13260 * gdb.ada/packed_array.exp: Likewise.
13261 * gdb.ada/start.exp: Likewise.
13262
724f452b
JB
132632005-02-15 Joel Brobecker <brobecker@adacore.com>
13264
13265 * gdb.ada/packed_array/pa.adb: New file.
13266 * gdb.ada/packed_array.exp: New testcase.
13267
57f5cdfb 132682005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 13269
1f393151
MK
13270 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
13271 files.
13272
ebdda337
MK
13273 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
13274 on *-*-openbsd*. Correctly match whitespace in regukar
13275 expressions.
13276
cf309262
DJ
132772005-02-10 Daniel Jacobowitz <dan@debian.org>
13278
13279 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
13280 PR exp/1821
13281 * gdb.base/gdb1821.c: New test file.
13282 * gdb.base/gdb1821.exp: New test file.
13283
3be49e7a
JB
132842005-02-09 Joel Brobecker <brobecker@adacore.com>
13285
13286 * gdb.base/start.c: New file.
13287 * gdb.base/start.exp: New testcase.
13288
e292e67d
JB
132892005-02-09 Joel Brobecker <brobecker@adacore.com>
13290
13291 * gdb.ada/start/dummy.adb: New file.
13292 * gdb.ada/start.exp: New testcase.
13293
dbdfa66c
CV
132942005-02-09 Corinna Vinschen <vinschen@redhat.com>
13295
13296 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
13297 for printing symbols and statistics.
13298 Add test for using relative pathnames in "maint print msymbols" test.
13299 Mark "maint info sections DATA" XFAIL on Cygwin.
13300 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
13301 tests.
13302
d7941671
AC
133032005-02-09 Andreas Schwab <schwab@suse.de>
13304
13305 Committed by Andrew Cagney <cagney@gnu.org>
13306 * gdb.base/remotetimeout.exp: New file.
13307
74e5ef44
MK
133082005-02-07 Mark Kettenis <kettenis@gnu.org>
13309
13310 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
13311
464dd14d
JB
133122005-02-03 Joel Brobecker <brobecker@adacore.com>
13313
13314 * gdb.ada/gnat_ada.gpr: New file.
13315 * gdb.ada/gnat_ada.gin: Delete, no longer used.
13316 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
13317 * configure.ac: No longer generate gnat_ada.gpr.
13318 * configure: Regenerate.
13319 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
13320 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
13321 * gdb.ada/null_record/bar.ads: Likewise.
13322 * gdb.ada/null_record/bar.adb: Likewise.
13323 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
13324 * gdb.ada/null_record.exp (testdir): New variable.
13325 (testfile): executable is now in testdir subdirectory.
13326 (srcfile): Use full path to the main compilation unit.
13327 * gdb.ada/fixed_points.exp: Same changes as above.
13328
30d756ae
NR
133292005-02-03 Nick Roberts <nickrob@snap.net.nz>
13330
13331 * gdb.base/interp.exp: New test.
13332
9d799f85
AC
133332005-01-24 Andrew Cagney <cagney@gnu.org>
13334
13335 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
13336
15656118
AC
133372005-01-19 Andrew Cagney <cagney@gnu.org>
13338
a892c31b
AC
13339 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
13340 configure.ac not configure.in.
13341
15656118
AC
13342 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
13343 of powerpc*-*-*.
13344 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 13345 * gdb.base/list.exp (test_list_function)
15656118
AC
13346 (test_list_filename_and_function): Ditto.
13347 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
13348
a7b01baf
AC
133492005-01-16 Andrew Cagney <cagney@gnu.org>
13350
17d92a02
AC
13351 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
13352
a7b01baf
AC
13353 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
13354
bc8332bb
AC
133552005-01-14 Andrew Cagney <cagney@gnu.org>
13356
13357 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
13358 * gdb.mi/mi2-var-cmd.exp: Ditto.
13359
4d074752
CV
133602005-01-10 Corinna Vinschen <vinschen@redhat.com>
13361
13362 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
13363
bec39cab
AC
133642005-01-07 Andrew Cagney <cagney@gnu.org>
13365
13366 * configure.ac: Rename configure.in, require autoconf 2.59.
13367 * configure: Re-generate.
13368 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
13369 * gdb.stabs/configure: Re-generate.
13370 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
13371 * gdb.hp/configure: Re-generate.
13372 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
13373 autoconf 2.59.
13374 * gdb.hp/gdb.objdbg/configure: Re-generate.
13375 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
13376 autoconf 2.59.
13377 * gdb.hp/gdb.defects/configure: Re-generate.
13378 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
13379 autoconf 2.59.
13380 * gdb.hp/gdb.compat/configure: Re-generate.
13381 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
13382 autoconf 2.59.
13383 * gdb.hp/gdb.base-hp/configure: Re-generate.
13384 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
13385 autoconf 2.59.
13386 * gdb.hp/gdb.aCC/configure: Re-generate.
13387
f10b16d4
JB
133882004-12-15 Jim Blandy <jimb@redhat.com>
13389
13390 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
13391 under NPTL when there is debugging info available for libpthread.
13392
fb6e1814
JG
133932004-12-13 Jerome Guitton <guitton@gnat.com>
13394
13395 * gdb.ada/fixed_points.c: New file.
13396 * gdb.ada/fixed_points.exp: New file.
13397
fe46cd3a
RC
133982004-12-03 Randolph Chung <tausq@debian.org>
13399
13400 * gdb.arch/pa-nullify.exp: New file.
13401 * gdb.arch/pa-nullify.s: New file.
13402
8de0841b
RC
134032004-11-30 Randolph Chung <tausq@debian.org>
13404
13405 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
13406 instead of "tbug". Fix regexp to work properly with gdb_test.
13407
c8170782
PH
134082004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
13409
13410 * gdb.base/bitfields2.exp: New test.
13411 * gdb.base/bitfields2.c: New file.
13412
954269c2
RE
134132004-11-28 Richard Earnshaw <rearnsha@arm.com>
13414
13415 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
13416
0107feed
RC
134172004-11-16 Randolph Chung <tausq@debian.org>
13418
13419 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
13420
f073ae8c
DJ
134212004-11-14 Daniel Jacobowitz <dan@debian.org>
13422
13423 * gdb.threads/threadapply.exp: Correct "macro details" test.
13424
19ad59e7
JJ
134252004-11-11 Jeff Johnston <jjohnstn@redhat.com>
13426
13427 * gdb.threads/threadapply.exp: New test.
13428 * gdb.threads/threadapply.c: New file.
13429
9cf0961b
MK
134302004-11-07 Mark Kettenis <kettenis@gnu.org>
13431
13432 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
13433 frames.
13434
c789492a
FL
134352004-11-05 Felix Lee <felix+log1@specifixinc.com>
13436
13437 * gdb.base/cursal.exp: New file.
13438 * gdb.base/cursal.c: New file.
13439
a1e167bb
AC
134402004-11-03 Andrew Cagney <cagney@gnu.org>
13441
13442 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
13443
b7cbf173
MK
134442004-10-30 Mark Kettenis <kettenis@gnu.org>
13445
13446 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
13447 NetBSD/ELF targets.
13448
88f9d34f
JB
134492004-10-29 Joel Brobecker <brobecker@gnat.com>
13450
13451 * gdb.threads/bp_in_thread.c: New file, copied from
13452 pthread_cond_wait.c.
13453 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
13454 file, rather than reusing the .c file from another testcase.
13455
ca7d6a0c
JB
134562004-10-20 Joel Brobecker <brobecker@gnat.com>
13457
13458 * gdb.ada/null_record.exp: Check where we stopped after
13459 sending the start command, instead of where the associated
13460 temporary breakpoint was inserted.
13461
0d863d03
AC
134622004-10-14 Andrew Cagney <cagney@gnu.org>
13463
13464 * gdb.mi/gdb701.c (main): Return 0.
13465
d11e72cb
DJ
134662004-10-13 Daniel Jacobowitz <dan@debian.org>
13467
d40539a4 13468 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 13469
e1923096
JJ
134702004-10-12 Jeff Johnston <jjohnstn@redhat.com>
13471
13472 * gdb.threads/schedlock.c: Add comment markers to use to find
13473 line numbers.
13474 * gdb.threads/schedlock.exp: Adjust regex to handle the new
13475 comments.
13476 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
13477 breakpoint lines.
13478
ec8ba2c9
DJ
134792004-10-12 Daniel Jacobowitz <dan@debian.org>
13480
13481 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
13482
0eb3658b
DJ
134832004-10-12 Daniel Jacobowitz <dan@debian.org>
13484
13485 * configure.in: Add gdb.dwarf2.
13486 * configure: Regenerated.
13487 * Makefile.in: Add gdb.dwarf2.
13488 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
13489 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
13490 gdb.dwarf2/file1.txt: New files.
13491
a271cc33
OF
134922004-10-11 Orjan Friberg <orjanf@axis.com>
13493
a9c64011 13494 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
13495 of "run", since the latter doesn't work with remote targets. Adjust
13496 the breakpoint numbering accordingly.
13497 * gdb.threads/pthread_cond_wait.exp: Ditto.
13498
895ce074
MC
134992004-10-08 Michael Chastain <mec.gnu@mindspring.com>
13500
13501 * gdb.base/overlays.exp: Update copyright years.
13502
6be3092d
KI
135032004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
13504
13505 * gdb.base/overlays.exp: Disable if target is Linux.
13506
e05389b8
FL
135072004-10-06 Felix Lee <felix+log1@specifixinc.com>
13508
13509 * config/gdbserver.exp (gdb_load): Use right filename on remote.
13510
73cb587d
KI
135112004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
13512
13513 * gdb.asm/asm-source.exp: Add m32r-linux target.
13514 * gdb.asm/m32r-linux.inc: New file.
13515
3c0edcdc
AC
135162004-09-24 Andrew Cagney <cagney@redhat.com>
13517 David Anderson <anderson@redhat.com>
13518
13519 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
13520 command fails, assume things will work.
13521 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
13522 (_GNU_SOURCE): Define.
13523 (print_unsigned, print_hex): Change parameter to "long long".
13524 (print_byte_count): New function, use to print byte counts.
13525 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
13526 O_LARGEFILE.
13527 (main): Compute an upper bound on a corefile in max_core_size.
13528 Limit memory chunk size to max_core_size. Limit total memory
13529 allocated to max_core_size.
13530
4bb3667f
AC
135312004-09-23 Andrew Cagney <cagney@gnu.org>
13532
13533 * gdb.base/bigcore.exp: Replace the code that creates a corefile
13534 from a separate process with code that creates a corefile by
13535 making the inferior dump core.
13536
60fe1a51
MK
135372004-09-23 Mark Kettenis <kettenis@gnu.org>
13538
13539 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
13540 block.
13541
8e937346
MC
135422004-09-23 Michael Chastain <mec.gnu@mindspring.com>
13543
13544 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
13545 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
13546 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
13547 Likewise.
13548
7213f6d6
JJ
135492004-09-20 Jeff Johnston <jjohnstn@redhat.com>
13550
13551 * gdb.java/jprint.exp: New test case for java inferior call.
13552 * gdb.java/jprint.java: Ditto.
13553
eac69dca
JB
135542004-09-15 Joel Brobecker <brobecker@gnat.com>
13555
13556 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
13557
22227696
MC
135582004-09-14 Michael Chastain <mec.gnu@mindspring.com>
13559
13560 * gdb.threads/killed.c: Include <stdlib.h>.
13561 * gdb.threads/pthreads.c: Likewise.
13562
7dd403a4
MC
135632004-09-14 Michael Chastain <mec.gnu@mindspring.com>
13564
13565 * gdb.threads/killed.c: Add copyright notice.
13566
33f2d567
JM
135672004-09-10 Jason Molenda (jmolenda@apple.com)
13568
a9c64011
AS
13569 * gdb.base/define.exp: Two new tests to verify zero space chars
13570 after 'if' and 'while' commands in a user-defined command is correctly
13571 parsed.
33f2d567 13572
e05b62ac
AC
135732004-09-08 Andrew Cagney <cagney@gnu.org>
13574
13575 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
13576 delivery test with duplicate at end of file.
13577
9cbe82da
MK
135782004-09-06 Mark Kettenis <kettenis@jive.nl>
13579
13580 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
13581
564803d9
MC
135822004-09-05 Michael Chastain <mec.gnu@mindspring.com>
13583
13584 * config/hppro.exp: Removed.
13585
7c6807ce
MC
135862004-09-05 Michael Chastain <mec.gnu@mindspring.com>
13587
13588 * config/sparclet.exp: Removed.
13589
bf7e26dd
MC
135902004-09-05 Michael Chastain <mec.gnu@mindspring.com>
13591
13592 * config/udi.exp: Removed.
13593
714e341b
MC
135942004-09-02 Michael Chastain <mec.gnu@mindspring.com>
13595
13596 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
13597 of "exp_continue".
13598 (advancei): Likewise.
13599
1236e623
JJ
136002004-09-01 Jeff Johnston <jjohnstn@redhat.com>
13601
13602 * gdb.base/unload.exp: Fix so messages aren't duplicated.
13603
3bdcad15
MI
136042004-09-01 Manoj Iyer <manjo@austin.ibm.com>
13605
228af206 13606 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
13607 to check for nodebug in executable.
13608 * gdb.gdb/observer.exp (setup_test): Likewise.
13609 * gdb.gdb/selftest.exp (test_with_self): Likewise.
13610 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
13611
c72b934c
AC
136122004-09-01 Andrew Cagney <cagney@gnu.org>
13613
13614 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
13615 files.
13616
edd9b715
JJ
136172004-09-01 Jeff Johnston <jjohnstn@redhat.com>
13618
13619 * gdb.base/unload.exp: Fix expected warning message to match
13620 latest format.
13621
fb4ce06b
CV
136222004-09-01 Corinna Vinschen <vinschen@redhat.com>
13623
13624 * gdb.base/call-rt-st.exp: Fix typos.
13625
ce78e7c3
MI
136262004-08-31 Manoj Iyer <manjo@austin.ibm.com>
13627
13628 * gdb.threads/thread_check.exp: New testcase.
13629 * gdb.threads/thread_check.c: New testcase.
13630
2dedb159
AC
136312004-08-31 Andrew Cagney <cagney@gnu.org>
13632
13633 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
13634 (skip_to_handler_entry): New procedures. Test stepping into a
13635 handler when the breakpoint is at the handler's entry point.
13636
68f53502
AC
136372004-08-30 Andrew Cagney <cagney@gnu.org>
13638
13639 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
13640 gdb/1757.
13641
3e3ffd2b
MC
136422004-08-27 Michael Chastain <mec.gnu@mindspring.com>
13643
13644 With code from Manoj Iyer <manjo@austin.ibm.com>:
13645 * lib/gdb.exp (gdb_file_cmd): Return more information in the
13646 return value. Add an arm for "no debugging symbols found".
13647 Change a stray "error" to "perror".
13648 (gdb_run_cmd): Adapt to new return value.
13649 * gdb.base/remote.exp: Adapt to new return value.
13650 * gdb.gdb/complaints.exp: Likewise.
13651 * gdb.gdb/observer.exp: Likewise.
13652 * gdb.gdb/selftest.exp: Likewise.
13653 * gdb.gdb/xfullpath.exp: Likewise.
13654
4b6f5fd2
JB
136552004-08-27 Joel Brobecker <brobecker@gnat.com>
13656
13657 * gdb.threads/bp_in_thread.exp: New testcase.
13658
e5b25496
MC
136592004-08-27 Michael Chastain <mec.gnu@mindspring.com>
13660
13661 Fix PR testsuite/1735.
13662 * gdb.threads/schedlock.c (thread_function): Add a cast
13663 to suppress a gcc warning.
13664 * gdb.threads/thread-specific.c (thread_function): Likewise.
13665
934353d6
MC
136662004-08-26 Michael Chastain <mec.gnu@mindspring.com>
13667
13668 * gdb.base/unload.c: Include <stdlib.h>.
13669
f98a0aef 136702004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 13671
f98a0aef 13672 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
13673 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
13674 synchronized after the "return".
13675
5a2e8882
MC
136762004-08-26 Michael Chastain <mec.gnu@mindspring.com>
13677
13678 * gdb.mi/basics.c: Include <stdio.h>.
13679 * gdb.mi/pthreads.c: Include <stdlib.h>.
13680 * gdb.mi/var-cmd.c: Include <stdlib.h>.
13681
a9640423
MC
136822004-08-26 Michael Chastain <mec.gnu@mindspring.com>
13683
13684 * gdb.threads/schedlock.c: Add copyright notice.
13685
b04e311d
AC
136862004-08-25 Andrew Cagney <cagney@gnu.org>
13687
13688 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
13689 (skip_over_handler, breakpoint_over_hander): New test procedures.
13690 (advance, advancei): Add a proper prefix, do not use
13691 rerun_to_main.
13692 * gdb.base/sigstep.c (main): Change to use an infinite loop.
13693
7c27f15b
MC
136942004-08-24 Michael Chastain <mec.gnu@mindspring.com>
13695
13696 * gdb.mi/basics.c: Add copyright notice.
13697 * gdb.mi/var-cmd.c: Add copyright notice.
13698
fffc87ae
MC
136992004-08-23 Michael Chastain <mec.gnu@mindspring.com>
13700
13701 * lib/gdb.exp: Remove signed_keyword_not_used.
13702 * lib/compiler.c: Likewise.
13703 * lib/compiler.cc: Likewise.
13704
d782e0bf
MC
137052004-08-23 Michael Chastain <mec.gnu@mindspring.com>
13706
13707 * gdb.base/whatis.c: Remove conditional disabling of "signed".
13708 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
13709
96033e83
MC
137102004-08-23 Michael Chastain <mec.gnu@mindspring.com>
13711
13712 * gdb.base/whatis.c: Add copyright notice.
13713
cf38c229
MK
137142004-08-20 Mark Kettenis <kettenis@gnu.org>
13715
13716 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
13717 it to skip the breakpoints encoded in the inline assembly.
13718
f4b49756
MC
137192004-08-20 Michael Chastain <mec.gnu@mindspring.com>
13720
13721 * Makefile.in: Add gdb.fortran.
13722
2f193b69
MC
137232004-08-20 Michael Chastain <mec.gnu@mindspring.com>
13724
13725 * gdb.base/call-sc.exp (test_scalar_returns):
13726 Fix cut-and-paste glitch in "Make fun return now".
13727
89a237cb
MC
137282004-08-17 Michael Chastain <mec.gnu@mindspring.com>
13729
13730 * configure.in: Add gdb.fortran.
13731 * configure: Regenerate.
13732 * gdb.fortran/Makefile.in: New file.
13733 * lib/gdb.exp (skip_fortran_tests): New procedure.
13734
469aff8e
MC
137352004-08-17 Michael Chastain <mec.gnu@mindspring.com>
13736
13737 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
13738 reference to bug-gnu@prep.ai.mit.edu.
13739 * gdb.mi/mi-var-child.exp: Likewise.
13740 * gdb.mi/mi-var-cmd.exp: Likewise.
13741 * gdb.mi/mi-var-display.exp: Likewise.
13742 * gdb.mi/mi2-var-block.exp: Likewise.
13743 * gdb.mi/mi2-var-child.exp: Likewise.
13744 * gdb.mi/mi2-var-cmd.exp: Likewise.
13745 * gdb.mi/mi2-var-display.exp: Likewise.
13746
00b51b9f
MK
137472004-08-15 Mark Kettenis <kettenis@gnu.org>
13748
13749 * gdb.base/unload.c (main): Make local variable msg const.
13750
45f07fef
MC
137512004-08-15 Michael Chastain <mec.gnu@mindspring.com>
13752
13753 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
13754 to bug-gnu@prep.ai.mit.edu.
13755 * gdb.mi/mi-disassemble.exp: Likewise.
13756 * gdb.mi/mi-eval.exp: Likewise.
13757 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
13758 default line number.
13759 * gdb.mi/mi-return.exp: Likewise.
13760 * gdb.mi/mi-simplerun.exp: Likewise.
13761 * gdb.mi/mi-stack.exp: Likewise.
13762 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
13763 number with explicit range test.
13764 * gdb.mi/mi-watch.exp: Likewise.
13765 * gdb.mi/mi2-break.exp: Likewise.
13766 * gdb.mi/mi2-cli.exp: Likewise.
13767 * gdb.mi/mi2-disassemble.exp: Likewise.
13768 * gdb.mi/mi2-eval.exp: Likewise.
13769 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
13770 default line number.
13771 * gdb.mi/mi2-return.exp: Likewise.
13772 * gdb.mi/mi2-simplerun.exp: Likewise.
13773 * gdb.mi/mi2-stack.exp: Likewise.
13774 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
13775 number with explicit range test.
13776 * gdb.mi/mi2-watch.exp: Likewise.
13777
dd8c8ee7
MC
137782004-08-15 Michael Chastain <mec.gnu@mindspring.com>
13779
13780 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
13781 * gdb.cp/m-static.exp: Likewise.
13782 * gdb.cp/rtti.exp: Likewise.
13783
4e838464
MK
137842004-08-14 Mark Kettenis <kettenis@gnu.org>
13785
13786 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
13787
8d8cb839
EZ
137882004-08-14 Eli Zaretskii <eliz@gnu.org>
13789
13790 * ChangeLog: Prefix Local Variables with semi-colons and indent
13791 the reference to older ChangeLog files, to fix fontification in
13792 Emacs.
13793
deea8bb0
MC
137942004-08-13 Michael Chastain <mec.gnu@mindspring.com>
13795
13796 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
13797 * gdb.mi/mi2-break.exp: Likewise.
13798
c3297504
MC
137992004-08-13 Michael Chastain <mec.gnu@mindspring.com>
13800
13801 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
13802
25808999
MC
138032004-08-13 Michael Chastain <mec.gnu@mindspring.com>
13804
13805 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
13806
226a8d71
MC
138072004-08-13 Michael Chastain <mec.gnu@mindspring.com>
13808
13809 * gdb.cp/classes.exp: Remove unused declarations. Just let
13810 test names default instead of providing special names. Remove
13811 extraneous demangler test.
13812
37fdf854
JJ
138132004-08-12 Jeff Johnston <jjohnstn@redhat.com>
13814
13815 * gdb.base/unload.exp: New test for breakpoints in dynamically
13816 loaded libraries.
13817 * gdb.base/unload.c: Ditto.
13818 * gdb.base/unloadshr.c: Ditto.
13819
2d3a7986
MC
138202004-08-12 Michael Chastain <mec.gnu@mindspring.com>
13821
13822 * gdb.cp/classes.exp (test_ptype_class_objects): Call
13823 cp_test_ptype_class.
13824 (test_enums): Likewise.
13825
c72b934c
AC
138262004-08-10 Andrew Cagney <cagney@gnu.org>
13827
13828 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
13829 files.
13830
cc503c8a
AC
138312004-08-10 Andrew Cagney <cagney@gnu.org>
13832
13833 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
13834 init_malloc call.
13835
902f2ccb
MC
138362004-08-10 Michael Chastain <mec.gnu@mindspring.com>
13837
13838 * ChangeLog: Add copyright notice. The notice is copied
13839 from emacs 21.3 top level ChangeLog.
13840
78c90502
MC
138412004-08-09 Michael Chastain <mec.gnu@mindspring.com>
13842
13843 * lib/cp-support.exp: New file.
13844 * lib/cp-support.exp (cp_test_type_class): New function.
13845 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
13846 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
13847 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
13848 cp_test_ptype_class.
13849
88e5ea78
MC
138502004-08-09 Michael Chastain <mec.gnu@mindspring.com>
13851
13852 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
13853 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
13854 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
13855 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
13856 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
13857 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
13858 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
13859 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
13860 gdb.mi/mi2-watch.exp: Update copyright years.
13861
6a89fc9c
MK
138622004-08-09 Mark Kettenis <kettenis@gnu.org>
13863
13864 * gdb.base/sigaltstack.exp: Provide proper anchoring.
13865
1482e0de
MC
138662004-08-09 Michael Chastain <mec.gnu@mindspring.com>
13867
13868 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
13869 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
13870 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
13871 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
13872 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
13873 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
13874 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
13875 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
13876 gdb.mi/mi-watch.exp: Update copyright years.
13877
1a5ce3f3
DJ
138782004-08-08 Daniel Jacobowitz <dan@debian.org>
13879
13880 PR gdb/1738
13881 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
13882 from a breakpoint with a pending signal.
13883
04f6ecf2
DJ
138842004-08-08 Daniel Jacobowitz <dan@debian.org>
13885
13886 PR gdb/1736
13887 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
13888 * gdb.base/sigaltstack.exp (finish_test): Consume output until
13889 the prompt.
13890 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
13891
54d90d35
DJ
138922004-08-08 Daniel Jacobowitz <dan@debian.org>
13893
13894 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
13895
d2f6abb0
DJ
138962004-08-08 Daniel Jacobowitz <dan@debian.org>
13897
13898 PR gdb/1736
13899 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
13900 for i?86-*-linux*.
13901
5598c03d
DJ
139022004-08-08 Daniel Jacobowitz <dan@debian.org>
13903
13904 * gdb.arch/i386-prologue.exp: Compile without debug information.
13905
c6fee705
MC
139062004-08-08 Michael Chastain <mec.gnu@mindspring.com>
13907
13908 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
13909 rather than asking gdb to search.
13910
dd90efdb
MC
139112004-08-05 Michael Chastain <mec.gnu@mindspring.com>
13912
13913 * gdb.base/gcore.c: Include <string.h>.
13914
1e84bec1
MC
139152004-08-05 Michael Chastain <mec.gnu@mindspring.com>
13916
13917 * gdb.base/gcore.c: Add copyright notice.
13918
e425eb2b
MC
139192004-08-05 Michael Chastain <mec.gnu@mindspring.com>
13920
13921 * gdb.base/freebpcmd.c: Include <stdio.h>.
13922 * gdb.base/long_long.c: Include <string.h>.
13923 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
13924 * gdb.base/siginfo.c: Include <string.h>.
13925 * gdb.base/sigstep.c: Include <string.h>.
13926
cb9aaed5
MC
139272004-08-04 Michael Chastain <mec.gnu@mindspring.com>
13928
13929 * gdb.base/complex.c: Include <stdlib.h>.
13930
55944f3d
MC
139312004-08-04 Michael Chastain <mec.gnu@mindspring.com>
13932
13933 * gdb.base/complex.c: Add copyright notice.
13934
7b2953d9
MC
139352004-08-04 Michael Chastain <mec.gnu@mindspring.com>
13936
13937 * gdb.base/charset.c: Include <stdlib.h>.
13938
c9133d23
MC
139392004-08-04 Michael Chastain <mec.gnu@mindspring.com>
13940
13941 * gdb.base/auxv.c: Include <stdlib.h>.
13942
0a8490ad
MC
139432004-08-04 Michael Chastain <mec.gnu@mindspring.com>
13944
13945 * gdb.base/auxv.c: Add copyright notice.
13946
3426d5ec
MC
139472004-08-04 Michael Chastain <mec.gnu@mindspring.com>
13948
13949 * gdb.base/coremaker.c: Add copyright notice.
13950 * gdb.base/coremaker2.c: Add copyright notice.
13951
8da195dd
AC
139522004-08-04 Andrew Cagney <cagney@gnu.org>
13953
13954 * gdb.base/store.exp: Update copyright.
13955 (check_set, up_set, check_struct, up_struct): Add a prefix to test
13956 names, do not import gdb_prompt.
13957
8d394f98
AC
139582004-08-01 Andrew Cagney <cagney@gnu.org>
13959
13960 Fix PR testsuite/1729.
13961 * gdb.base/dump.exp: Add test name to callers of capture_value, do
13962 not use capture_value with value 4.
13963 (capture_value): Add optional test name parameter.
13964 (test_reload_saved_value, test_restore_saved_value): Use $msg as
13965 the prefix, pass to capture_value.
13966
b6702b23
MK
139672004-08-01 Mark Kettenis <kettenis@gnu.org>
13968
13969 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
13970 * gdb.arch/i386-prologue.c (standard): New prototype and function.
13971 (main): Call new function.
13972
c203e0ca
MC
139732004-07-31 Michael Chastain <mec.gnu@mindspring.com>
13974
13975 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
13976
a7995a30
MC
139772004-07-31 Michael Chastain <mec.gnu@mindspring.com>
13978
13979 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
13980
9366563b
MC
139812004-07-31 Michael Chastain <mec.gnu@mindspring.com>
13982
b6eeaf26 13983 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
13984 Accept more values of vtbl pointer. Remove some messages
13985 about "obsolete gcc or gdb".
13986
2fc1f950
MC
139872004-07-30 Michael Chastain <mec.gnu@mindspring.com>
13988
13989 * gdb.cp/classes.exp: Accept more varieties of ptype output.
13990
c724d49b
MC
139912004-07-30 Michael Chastain <mec.gnu@mindspring.com>
13992
13993 * gdb.base/asm-source.exp: Properly convert target board
13994 debug flags from gcc format to binutils format.
13995
736b0fce
MK
139962004-07-28 Mark Kettenis <kettenis@gnu.org>
13997
13998 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
13999 gdb1718". PR backtrace/1718 partially fixed.
14000
5633ea5c
JJ
140012004-07-27 Jeff Johnston <jjohnstn@redhat.com>
14002
14003 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
14004
575eebb1
NC
140052004-07-26 Nick Clifton <nickc@redhat.com>
14006
14007 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
14008 good default value for a specific architecture is available then
14009 set it to that value. Otherwise default to the -gstabs switch.
14010 Remove the -g... switches from the asm-flags variable. Allow the
14011 target board info to override the value if it wants to. Pass the
14012 switch on the assembler command line.
14013
62104619
MK
140142004-07-23 Mark Kettenis <kettenis@gnu.org>
14015
14016 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
14017 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
14018 (main): Call new function.
14019
4a1135b8
MC
140202004-07-22 Michael Chastain <mec.gnu@mindspring.com>
14021
14022 Test for PR exp/1715.
14023 * gdb.base/radix.exp: Refactor common procedures. Make all
14024 test names unique. Change XFAIL to KFAIL.
14025
8a12c1f0
MC
140262004-07-20 Michael Chastain <mec.gnu@mindspring.com>
14027
14028 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
14029 * gdb.ada/gnat_ada.gin: ... to here.
14030 * configure.in: Use gnat_ada.gin.
14031 * configure: Regenerate.
14032
23b451cf
AC
140332004-07-20 Andrew Cagney <cagney@gnu.org>
14034
14035 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
14036 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
14037 XFAILs. Clean up test messages and comments. Check backtraces.
14038 Delete re-sync code.
14039
ab618a02
MC
140402004-07-19 Michael Chastain <mec.gnu@mindspring.com>
14041
14042 Fix PR cli/740.
14043 * gdb.base/annota1.exp: Honor gdb,nosignals.
14044 * gdb.base/annota3.exp: Likewise.
14045
46dad340
MC
140462004-07-19 Michael Chastain <mec.gnu@mindspring.com>
14047
14048 * lib/java.exp: Update copyright notice.
14049
756d8c70
AC
140502004-07-19 Andrew Cagney <cagney@gnu.org>
14051
14052 * gdb.base/selftest.exp: Copy file from here ...
14053 * gdb.gdb/selftest.exp: ... to here.
14054
586027e6
AC
140552004-07-16 Andrew Cagney <cagney@redhat.com>
14056
14057 * lib/insight-support.exp: Delete file.
14058 * lib/java.exp (java_init): Fix copyright.
14059
029d2200
AC
140602004-07-16 Andrew Cagney <cagney@gnu.org>
14061
14062 * gdb.base/restore.c: Append "prologue" to comments marking the a
14063 function's prologue.
14064 * gdb.base/restore.exp: Update copyright, re-indent.
14065 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
14066 callerN" prefix where needed. Update patterns that match a
14067 function's prologue.
14068
653b62c5
MC
140692004-07-16 Michael Chastain <mec.gnu@mindspring.com>
14070
14071 * gdb.base/restore.c: Add copyright notice.
14072
f7d690e5
AC
140732004-07-16 Andrew Cagney <cagney@gnu.org>
14074
14075 * gdb.base/logical.exp: Update copyright.
14076 (evaluate): New procedure. Use to re-implement tests using
14077 several tables.
14078
d629a7cb
MH
140792004-07-14 Martin Hunt <hunt@redhat.com>
14080
14081 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
14082 which fixes some problems where init.tcl was not found.
14083
9c7bb332
AC
140842004-07-13 Andrew Cagney <cagney@gnu.org>
14085
6bf46641
AC
14086 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
14087 (check_sizeof, check_valueof): Do not include the output in the
14088 test name. Use gdb_test.
14089 (get_valueof): Use gdb_test_multiple.
14090
c4ffd4c0
AC
14091 * gdb.base/step-test.exp: Update copyright. Use
14092 gdb_test_multiple. Ensure that test names do not include
14093 architecture dependent output.
14094
ab89363a
AC
14095 * gdb.gdb/observer.exp: Update copyright.
14096 (setup_test): Use gdb_test_multiple.
14097 (attach_first_observer, attach_second_observer)
14098 (attach_third_observer, detach_first_observer)
14099 (detach_second_observer, detach_third_observer)
14100 (reset_counters, check_counters): Make $message a prefix.
14101 (test_normal_stop_notifications): Add "args" parameter - a list of
14102 init functions to be called. Make $message a prefix,
14103 (test_observer_normal_stop): Change the message prefixes so that
14104 they are unique, pass the attach / detach procedures to
14105 test_normal_stop_notifications.
14106
ec58997a
AC
14107 * gdb.base/signull.exp (test_segv): Prefix all tests with
14108 "${name}". Clean up test messages.
14109
b475183b
AC
14110 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
14111
9c7bb332
AC
14112 * gdb.base/ena-dis-br.exp: Update copyright.
14113 (break_at): New function. Replace send_gdb with gdb_test,
14114 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
14115 ignore count, not stopped at bpt", with KFAIL.
14116
2dd95497
CV
141172004-07-13 Corinna Vinschen <vinschen@redhat.com>
14118
14119 * gdb.base/attach.exp: Remove cleanupfile handling.
14120
419e626b
AC
141212004-07-12 Andrew Cagney <cagney@gnu.org>
14122
14123 * gdb.base/annota1.exp: Cleanup corefile test name.
14124 * gdb.base/annota3.exp: Ditto.
14125
8b1b3228
AC
141262004-07-12 Andrew Cagney <cagney@gnu.org>
14127
78650829
AC
14128 * gdb.base/signals.exp: Clean up copyright, re-indent.
14129
8b1b3228
AC
14130 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
14131 gdb_test and gdb_test_multiple.
14132
935c2760
JJ
141332004-07-08 Jeff Johnston <jjohnstn@redhat.com>
14134
14135 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 14136 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
14137 provide line number info for first statement in main.
14138
1544280f
AC
141392004-07-08 Andrew Cagney <cagney@gnu.org>
14140
1279f4ff
AC
14141 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
14142
1544280f
AC
14143 * gdb.base/sigbpt.exp: Make the common part of each test name a
14144 prefix instead of suffix.
14145
bcc82369
BR
141462004-07-07 Bob Rossi <bob_rossi@cox.net>
14147
14148 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
14149 test from test_tbreak_creation_and_listing to
14150 test_file_list_exec_source_file
14151 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
14152 Changed name of test from test_tbreak_creation_and_listing to
14153 test_file_list_exec_source_file
14154
23f4b0aa
JJ
141552004-07-07 Jeff Johnston <jjohnstn@redhat.com>
14156
14157 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
14158 the jmisc() constructor instead of <init>.
14159 * gdb.java/jmisc1.exp: Ditto.
14160
56401cd5
AC
141612004-07-07 Andrew Cagney <cagney@gnu.org>
14162
14163 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
14164 corrupting the PC.
14165
44ae2f6a
MC
141662004-07-06 Michael Chastain <mec.gnu@mindspring.com>
14167
14168 * gdb.cp/templates.exp: Accept whitespace change in demangler
14169 output.
14170
45a83408
AC
141712004-07-06 Andrew Cagney <cagney@gnu.org>
14172
14173 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
14174
d205ad70
MC
141752004-07-02 Michael Chastain <mec.gnu@mindspring.com>
14176
14177 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
14178 * lib/compiler.cc: Likewise.
14179
06ea1a61
MC
141802004-06-30 Michael Chastain <mec.gnu@mindspring.com>
14181
14182 * lib/compiler.cc: Work around string preprocessing problem
14183 with old hp c++ compiler.
14184 * lib/compiler.c: Likewise.
14185
daab1251
CV
141862004-06-29 Corinna Vinschen <vinschen@redhat.com>
14187
14188 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
14189 directives to conditionalize symbol prefixing.
14190 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
14191 additional_flags handling. Add underscore prefix for Cygwin.
14192 * gdb.arch/i386-unwind.c: Use preprocessor directives to
14193 conditionalize symbol prefixing.
14194 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
14195 additional_flags handling. Add underscore prefix for Cygwin.
14196
cc984116
CV
141972004-06-29 Corinna Vinschen <vinschen@redhat.com>
14198
14199 * gdb.base/bigcore.exp: Skip test on Cygwin.
14200
c279b077
MC
142012004-06-28 Michael Chastain <mec.gnu@mindspring.com>
14202
14203 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
14204 formats for "info register". Use gdb_test_multiple. Fix
14205 the "invalid register" test.
14206
0e915747
CV
142072004-06-28 Corinna Vinschen <vinschen@redhat.com>
14208
14209 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
14210 PID for Cygwin. Add Cygwin specific strings to check for in some
14211 tests.
14212 (do_attach_tests): Add a test for user interaction when attaching
14213 to a process with no matching symbol table already loaded.
14214
11422c86
AC
142152004-06-26 Andrew Cagney <cagney@gnu.org>
14216
14217 Test PR java/1567 and PR java/1565.
14218 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
14219 * gdb.java/jmisc2.exp: Delete file.
14220
cefbce26
MC
142212004-06-26 Michael Chastain <mec.gnu@mindspring.com>
14222
14223 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
14224
e19f872c
CV
142252004-06-25 Corinna Vinschen <vinschen@redhat.com>
14226
14227 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
14228 attach process.
14229
d931ba3b
MC
142302004-06-23 Michael Chastain <mec.gnu@mindspring.com>
14231
14232 * gdb.cp/pr-1553.exp: Remove.
14233
aef68c48
MC
142342004-06-22 Michael Chastain <mec.gnu@mindspring.com>
14235
14236 * gdb.cp/pr-1553.cc: Remove.
14237 * gdb.cp/pr-1553.exp: Disable this test.
14238
8d5df71a
JB
142392004-06-20 Jim Blandy <jimb@redhat.com>
14240
a9c64011 14241 Fix PR testsuite/1680.
8d5df71a
JB
14242 * gdb.arch/i386-sse.exp: Properly quote curly braces in
14243 regular expressions.
14244
4ac6f39d
MC
142452004-06-19 Michael Chastain <mec.gnu@mindspring.com>
14246
14247 Fix PR testsuite/1679.
14248 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
14249 Issue an UNSUPPORTED result instead.
14250
1b413552
JB
142512004-06-18 Jim Blandy <jimb@redhat.com>
14252
14253 * gdb.base/charset.exp: Only send a control-C if we see a new
14254 prompt and incomplete command.
14255
6daa6ebd
MC
142562004-06-18 Michael Chastain <mec.gnu@mindspring.com>
14257
14258 * gdb.cp/pr-574.cc: Add copyright notice.
14259
51fa4ae0
JB
142602004-06-17 Jim Blandy <jimb@redhat.com>
14261
14262 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
14263 cases where the regexp has no groups; this grabs random text from
14264 the previous test suite, whatever that was.
14265
8fea26c5
MC
142662004-06-17 Michael Chastain <mec.gnu@mindspring.com>
14267
14268 * gdb.cp/printmethod.cc: Add copyright notice.
14269
1e3aeb41
MC
142702004-06-16 Michael Chastain <mec.gnu@mindspring.com>
14271
14272 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
14273
9d9030bc
AC
142742004-06-16 Andrew Cagney <cagney@gnu.org>
14275
14276 * gdb.base/signull.c: Update copyright. Include <string.h>.
14277 (bowler): Replace data_pointer with data_read
14278 and data_write cases. Add code_descriptor case.
14279 (zero, desc): New array and pointer.
14280 (data, code): Change to simple pointers.
14281 * gdb.base/signull.exp: Fix probe pattern matching a function
14282 descriptor SIGSEGV. Replace data_pointer with data_read and
14283 data_write tests.
14284
acd4ad44
AC
142852004-06-16 Andrew Cagney <cagney@gnu.org>
14286
14287 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
14288
08fd625c
MC
142892004-06-15 Michael Chastain <mec.gnu@mindspring.com>
14290
14291 * gdb.base/long_long.c: Add copyright notice.
14292
1903502c
MC
142932004-06-15 Michael Chastain <mec.gnu@mindspring.com>
14294
14295 * gdb.base/long_long.exp: Remove reference to
14296 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
14297 to gdb_breakpoint and gdb_continue_to_breakpoint.
14298
83313cb1
JB
142992004-06-14 Jim Blandy <jimb@redhat.com>
14300
14301 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
14302 endian case.
14303
1bf404ef
AC
143042004-06-14 Andrew Cagney <cagney@gnu.org>
14305
14306 * gdb.base/gcore.exp (capture_command_output): Delete the always
14307 passing tests containing inferior values.
14308 * gdb.base/ending-run.exp: Do not include the breakpoint address
14309 in the test message. Update copyright.
14310 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
14311 size in the test name, use gdb_test_multiple. Update copyright.
14312
ef220b33
MC
143132004-06-14 Michael Chastain <mec.gnu@mindspring.com>
14314
14315 * gdb.cp/ref-types.cc: Add copyright notice.
14316
4f70a4c9
MC
143172004-06-14 Michael Chastain <mec.gnu@mindspring.com>
14318
14319 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
14320 hp_aCC_compiler.
14321 * lib/compiler.cc: Likewise.
14322 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
14323 'set' commands. Log diagnostics for other lines. Set
14324 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
14325
335928ac
MC
143262004-06-13 Michael Chastain <mec.gnu@mindspring.com>
14327
14328 * gdb.cp/try_catch.cc: Add copyright notice.
14329
2efb12e8
MC
143302004-06-12 Michael Chastain <mec.gnu@mindspring.com>
14331
14332 * gdb.cp/userdef.cc: Add copyright notice.
14333
0bbed51a
MC
143342004-06-11 Michael Chastain <mec.gnu@mindspring.com>
14335
14336 * gdb.cp/virtfunc.cc: Add copyright notice.
14337
e12a46c9
RC
143382004-06-11 Randolph Chung <tausq@debian.org>
14339
14340 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
14341 problem.
14342
338e05af
AC
143432004-06-10 Andrew Cagney <cagney@gnu.org>
14344
14345 * lib/compiler.cc, lib/compiler.c: Append either
14346 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
14347 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
14348 instead of gcc-3-3.
14349
dc3f10cb
AC
143502004-06-09 Andrew Cagney <cagney@gnu.org>
14351
b4d946af
AC
14352 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
14353 gdb/1455, bug is specific to "long long" and "double".
a9c64011 14354
dc3f10cb
AC
14355 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
14356 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
14357 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
14358 fixed.
14359
b5c0bfa2
AC
143602004-06-09 Andrew Cagney <cagney@gnu.org>
14361
14362 * gdb.base/structs.exp (test_struct_returns): Replace
14363 "return_value_unknown" and "finish_value_unknown" by
14364 "return_value_known" and "finish_value_known". Instead of
14365 "return_value_unknown" iff "finish_value_unknown", check
14366 "return_value_known" implies "finish_value_known".
14367
caeb605f
MH
143682004-06-08 Martin Hunt <hunt@redhat.com>
14369
14370 * gdb.base/float.exp: Add pattern for mips targets.
14371
c892bb64
RC
143722004-06-08 Randolph Chung <tausq@debian.org>
14373
14374 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
14375 message for unknown architectures more clear.
14376
48306d3e
JB
143772004-06-08 Joel Brobecker <brobecker@gnat.com>
14378
14379 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
14380 start the execution of the program.
14381
83ecb59f
JB
143822004-06-07 Jim Blandy <jimb@redhat.com>
14383
14384 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
14385 * gdb.arch/i386-cpuid.h: New helper file.
14386
55264cb4
RC
143872004-06-07 Randolph Chung <tausq@debian.org>
14388
14389 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
14390 has started.
14391
23cadb28
RM
143922004-06-04 Roland McGrath <roland@redhat.com>
14393
14394 Fix PR gdb/1647.
14395 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
14396 differently to be robust to output buffering differences.
14397
51d01eda
MC
143982004-06-04 Michael Chastain <mec.gnu@mindspring.com>
14399
14400 * gdb.threads/pthreads.exp: Update copyright years.
14401 (check_control_c): Change asynchronous 'after' to synchronous.
14402
f4fc3b93
RM
144032004-06-04 Roland McGrath <roland@redhat.com>
14404
14405 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
14406 next gdb prompt.
14407
4013522b
MC
144082004-06-02 Michael Chastain <mec.gnu@mindspring.com>
14409
14410 Fix PR gdb/1636.
14411 * gdb.threads/manythreads.exp: Change asynchronous 'after'
14412 calls to synchronous.
14413
7a8f1e6b
JB
144142004-05-26 Jim Blandy <jimb@redhat.com>
14415
14416 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
14417
81bb3443
RC
144182004-05-24 Randolph Chung <tausq@debian.org>
14419
14420 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
14421 * gdb.asm/pa.inc: New file.
14422
8f5a3103
MK
144232004-05-22 Mark Kettenis <kettenis@gnu.org>
14424
14425 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
14426
734b8fe8 144272004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 14428 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
14429
14430 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
14431 GDB prompt.
14432
725603e1
UW
144332004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14434
f4fc3b93 14435 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
14436 setjmp/longjmp. Use sigaction instead of signal.
14437
8b923272 144382004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 14439 Michael Snyder <msnyder@redhat.com>
8b923272
JB
14440
14441 * gdb.threads/pthread_cond_wait.c: New file.
14442 * gdb.threads/pthread_cond_wait.exp: New testcase.
14443
8bfabb04
AC
144442004-05-13 Andrew Cagney <cagney@redhat.com>
14445
14446 * gdb.base/signull.exp, gdb.base/signull.c: New files.
14447 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
14448
42edda50
AC
144492004-05-11 Andrew Cagney <cagney@redhat.com>
14450
14451 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
14452 fixed but revealed gdb/1639.
14453
d303a6c7
AC
144542004-05-10 Andrew Cagney <cagney@redhat.com>
14455
14456 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
14457 func1" and "next to 2nd alarm", kernel bug avoided.
14458
bf08c2a1
DJ
144592004-05-10 Daniel Jacobowitz <dan@debian.org>
14460
14461 PR external/1568
14462 * gdb.base/bigcore.exp: Check the size of the dumped core file.
14463 XFAIL if it is smaller than bytes_allocated.
14464 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
14465 (main): Make chunks_allocated unsigned. Correct comment.
14466
c0586a34
JB
144672004-05-07 Joel Brobecker <brobecker@gnat.com>
14468
14469 * gdb.arch/powerpc-aix-prologue.c: New file.
14470 * gdb.arch/powerpc-aix-prologue.exp: New file.
14471
f2785d12
JB
144722004-05-07 Jim Blandy <jimb@redhat.com>
14473
14474 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
14475 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
14476
bd7f6e30
JB
144772004-05-06 Joel Brobecker <brobecker@gnat.com>
14478
14479 * gdb.base/sep.exp: No longer setup_kfail when the program was
14480 built with dwarf2.
14481
0a5e7efe
JI
144822004-05-05 Jim Ingham <jingham@apple.com>
14483
14484 * gdb.base/pending.exp: Make sure pending breakpoints
14485 preserve the ignore count.
f4fc3b93 14486
a8958849
MK
144872004-04-27 Jerome Guitton <guitton@gnat.com>
14488
14489 * i386-prologue.exp: Add testcase for jump instruction as first
14490 instruction of the real code.
14491 * i386-prologue.c (jump_at_beginning): New function.
14492
7e103f5b
MK
144932004-04-28 Mark Kettenis <kettenis@gnu.org>
14494
14495 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
14496 x86_64-*-*.
14497
5d38b224
MK
144982004-04-28 Mark Kettenis <kettenis@gnu.org>
14499
14500 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
14501 i*86-*-*.
14502
0ef32fd9
MK
145032004-04-25 Mark Kettenis <kettenis@gnu.org>
14504
14505 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
14506 expression that checks the return type.
14507
71d7dd7c
AC
145082004-04-23 Andrew Cagney <cagney@redhat.com>
14509
14510 * gdb.base/call-sc.exp: New test of scalar call/return values.
14511 * gdb.base/call-sc.c: Ditto.
14512
1e9f977e
JJ
145132004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14514
14515 * gdb.threads/manythreads.c: Reduce thread stack size.
14516
899d9e3a
JJ
145172004-04-23 Jeff Johnston <jjohnstn@redhat.com>
14518
14519 * gdb.threads/manythreads.c: Add copyright notice.
14520
61bcae62
AC
145212004-04-23 Andrew Cagney <cagney@redhat.com>
14522
14523 * gdb.base/siginfo.exp: Better handle step out of signal.
14524 * gdb.base/sigstep.exp: Ditto.
14525
7339a42e 145262004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 14527 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
14528
14529 * gdb.threads/manythreads.c: New testcase.
14530 * gdb.threads/manythreads.exp: Ditto.
14531
5c98409b
JB
145322004-04-22 Jim Blandy <jimb@redhat.com>
14533
14534 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
14535 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
14536
3b611f1a
MC
145372004-04-21 Michael Chastain <mec.gnu@mindspring.com>
14538
14539 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
14540
f0fd9238
AC
145412004-04-21 Andrew Cagney <cagney@redhat.com>
14542
14543 * gdb.base/sigstep.c: New file.
14544 * gdb.base/sigstep.exp: New file.
14545
90990674
JB
145462004-04-16 Joel Brobecker <brobecker@gnat.com>
14547
14548 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
14549 call to observer_notify_normal_stop.
14550
78cef34b
AC
145512004-04-15 Andrew Cagney <cagney@redhat.com>
14552
14553 * gdb.base/siginfo.c: New file.
14554 * gdb.base/siginfo.exp: New file.
14555
d2343407
JB
145562004-04-12 J. Brobecker <brobecker@gnat.com>
14557
14558 * gdb.base/sep.exp: Fix typo in comment.
14559
a2dba3c8
JB
145602004-04-12 J. Brobecker <brobecker@gnat.com>
14561
14562 * gdb.base/sep.c: New file.
14563 * gdb.base/sep-proc.c: New file.
14564 * gdb.base/sep.exp: New testcase.
14565
15f7b60e
MK
145662004-04-09 Mark Kettenis <kettenis@gnu.org>
14567
14568 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
14569 support.
14570
44f4de1a
AC
145712004-04-05 Andrew Cagney <cagney@redhat.com>
14572
14573 * gdb.base/sigaltstack.c: New file.
14574 * gdb.base/sigaltstack.exp: New file.
14575
ef04f396
JB
145762004-04-04 Joel Brobecker <brobecker@gnat.com>
14577
14578 * gdb.base/foll-fork.exp: Update the expected output for
14579 "help set follow-fork-mode", to match a change that was made
14580 to the help of this variable on 2004-01-13.
14581
d40d2c92
JB
145822004-04-01 Joel Brobecker <brobecker@gnat.com>
14583
14584 * lib/ada.exp: Add copyright notice.
14585 * bar.ads: Likewise.
14586 * bar.adb: Likewise.
14587 * null_record.adb: Likewise.
14588 * null_record.exp: Likewise.
14589 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
14590
f86ef5a3
JB
145912004-04-01 Joel Brobecker <brobecker@gnat.com>
14592
14593 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
14594 * configure: Regenerate.
14595
414e70e3
JB
145962004-04-01 Joel Brobecker <brobecker@gnat.com>
14597
14598 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
14599 to build the application. Remove the message printed when in
14600 verbose mode, redundant with the UNSUPPORTED message above.
14601
f0aaee49
JB
146022004-03-31 Joel Brobecker <brobecker@gnat.com>
14603
14604 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
14605 * gdb.ada (null_record.exp): New testcase.
14606
ac81cb54
JB
146072004-03-31 Joel Brobecker <brobecker@gnat.com>
14608
14609 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
14610
854af2f7
JB
146112004-03-31 Joel Brobecker <brobecker@gnat.com>
14612
14613 * gdb.ada: New subdirectory.
14614 * gdb.ada/Makefile.in: New file.
14615 * gdb.ada/gnat_ada.gpr.in: New file.
14616
034cb681
JB
146172004-03-31 Joel Brobecker <brobecker@gnat.com>
14618
14619 * lib/ada.exp: New file.
14620
78a1a894
DJ
146212004-03-24 Daniel Jacobowitz <drow@mvista.com>
14622
14623 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
14624 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
14625
4b2b3b3e
AC
146262004-03-22 Andrew Cagney <cagney@redhat.com>
14627
14628 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
14629 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
14630 Problem identified by Ulrich Weigand.
14631
23c73aa3
DC
146322004-03-17 David Carlton <carlton@kealia.com>
14633
14634 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
14635 PR c++/826.
14636
d63a86f8
RM
146372004-03-16 Roland McGrath <roland@redhat.com>
14638
14639 * gdb.base/auxv.exp: New file.
14640 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
14641
0e02aa50
DC
146422004-03-12 David Carlton <carlton@kealia.com>
14643
14644 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
14645 * gdb.cp/pr-1553.cc: Ditto.
14646 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
14647 pass branch.
14648
c20b71be
MC
146492004-03-12 Michael Chastain <mec.gnu@mindspring.com>
14650
14651 * gdb.cp/templates.exp: Accept more template types.
14652
c7414a01
MC
146532004-03-09 Michael Chastain <mec.gnu@mindspring.com>
14654
14655 From Corinna Vinschen with modifications.
14656 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
14657 local variable obj_with_enum.
14658 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
14659 results with obj_with_enum.
14660
ed69573c
MC
146612004-03-09 Michael Chastain <mec.gnu@mindspring.com>
14662
14663 * gdb.cp/classes.cc: New file, copied from misc.cc.
14664 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
14665
28301461
MC
146662004-03-09 Michael Chastain <mec.gnu@mindspring.com>
14667
14668 * gdb.cp/misc.cc: Add copyright notice.
14669
1198ecbe
DC
146702004-03-05 David Carlton <carlton@kealia.com>
14671
14672 * gdb.cp/rtti.exp: Add 'print *obj3' test.
14673 * gdb.cp/rtti.h: Update copyright.
14674 (namespace n2::n3): New.
14675 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
14676 (n2::n3::func3): New.
14677 (main): Call n2::n3::func3.
14678 * gdb.cp/rtti2.cc: Update copyright.
14679 (n2::create3): New.
14680
9e08c470
MK
146812004-03-04 Mark Kettenis <kettenis@gnu.org>
14682
14683 * gdb.asm/openbsd.inc: Fix typo.
14684
4bebc3aa
FF
146852004-03-03 Fred Fish <fnf@redhat.com>
14686
14687 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
14688 "val" instead of unused "size". Update copyright year.
14689
6ea9fb37
DJ
146902004-02-29 Daniel Jacobowitz <drow@mvista.com>
14691
14692 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
14693 to use unsigned char.
14694 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
14695 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
14696
23b23974
DJ
146972004-02-29 Daniel Jacobowitz <drow@mvista.com>
14698
14699 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
14700 line of output.
14701
7574fd53
DJ
147022004-02-28 Daniel Jacobowitz <drow@mvista.com>
14703
14704 * gdb.base/relocate.c (dummy): Initialize.
14705
a195357f
DJ
147062004-02-28 Daniel Jacobowitz <drow@mvista.com>
14707
14708 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
14709 a breakpoint at exit.
14710
72fd54a9
FF
147112004-02-27 Fred Fish <fnf@redhat.com>
14712
14713 * gdb.base/chng-syms.exp: Add expect condition to match failing
14714 case that isn't a timeout.
14715
b9d23137
AC
147162004-02-27 Andrew Cagney <cagney@redhat.com>
14717
14718 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
14719 support.
14720
15d208f6 147212004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 14722
15d208f6
FF
14723 * gdb.arch/gdb1431.c: Remove.
14724 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
14725 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
14726 of "until" incorrectly.
14727
98f9cd2d
JB
147282004-02-26 J. Brobecker <brobecker@gnat.com>
14729
14730 * gdb.cp/class2.cc (empty): New class.
14731 (refer): New function.
14732 (main): Declare an object of type empty and use it.
14733 * gdb.cp/class2.exp: Print the value of an object of type empty.
14734
9b50c11b
JJ
147352004-02-26 Jeff Johnston <jjohnstn@redhat.com>
14736
14737 * gdb.base/langs.exp: Update query string to match the
14738 new nquery format used for pending breakpoints.
14739
0dcd613f
AC
147402004-02-26 Andrew Cagney <cagney@redhat.com>
14741
14742 Fix PR i18n/1570.
14743 * gdb.base/charset.c: Update copyright notice.
14744 (main, init_string): Remove the escape character '\e' tests.
14745 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
14746 * gdb.base/charset.exp (valid_host_charset): Ditto.
14747 * gdb.base/setvar.exp: Ditto.
14748
b8a56647
AC
147492004-02-24 Andrew Cagney <cagney@redhat.com>
14750
90d59e34
AC
14751 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
14752 mmapped data in core file" PASS and FAIL messages consistent.
14753
b8a56647
AC
14754 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
14755 setting a breakpoint. Work around PR java/1565.
14756
9f27c604
JJ
147572004-02-23 Jeff Johnston <jjohnstn@redhat.com>
14758
14759 * lib/gdb.exp (gdb_breakpoint): Update query string to match
14760 new nquery format.
14761 * gdb.base/pending.exp: Ditto.
14762
3224a706
MK
147632004-02-22 Mark Kettenis <kettenis@gnu.org>
14764
14765 * configure.in: Run stabs tests on *BSD.
14766 * configure: Regenerated.
14767
41e0a9ca
MK
147682004-02-21 Mark Kettenis <kettenis@gnu.org>
14769
14770 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
14771
1e1b3428
FF
147722004-02-20 Fred Fish <fnf@redhat.com>
14773
14774 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
14775 blank in test for "returns short", for consistency with other
14776 "returns xxx" tests. Update copyright year.
14777
f9a7572a
FF
147782004-02-19 Fred Fish <fnf@redhat.com>
14779
14780 New testcase for PR breakpoint/1558.
14781 * gdb.arch/gdb1558.exp: New file.
14782 * gdb.arch/gdb1558.c: New file.
14783
b2ce2854
EZ
147842004-02-19 Elena Zannoni <ezannoni@redhat.com>
14785
14786 * gdb.base/nodebug.exp: Fix typo.
14787
e7c9ff01
JB
147882004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14789
14790 Committed by Jim Blandy <jimb@redhat.com>.
14791
62f4b920
JB
14792 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
14793
2db536a1
JB
14794 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
14795
e7c9ff01
JB
14796 * gdb.base/float.exp: Support s390*-*-* targets.
14797
f3205b34
AF
147982004-02-17 Adam Fedor <fedor@gnu.org>
14799
14800 * gdb.base/gdb1555.exp: New file.
14801 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
14802
9d62932d
EZ
148032004-02-17 Elena Zannoni <ezannoni@redhat.com>
14804
14805 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
14806
344c9711
FF
148072004-02-16 Fred Fish <fnf@redhat.com>
14808
14809 * gdb.arch/gdb1291.c: Remove
14810 * gdb.arch/gdb1291.s: New test input file.
14811 * gdb.arch/gdb1291.exp: Expand test to check case that should not
14812 fail. Test for correct result, known incorrect result, other
14813 failures and timeouts.
14814
2d822687
AC
148152004-02-16 Andrew Cagney <cagney@redhat.com>
14816
14817 * gdb.base/bigcore.exp: New file.
14818 * gdb.base/bigcore.c: New file.
14819
dac15b66
AC
148202004-02-13 Andrew Cagney <cagney@redhat.com>
14821
14822 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
14823 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
14824 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
14825 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
14826 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
14827 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
14828 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
14829 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
14830 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
14831 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
14832
6bdfc2c4
JJ
148332004-02-11 Jeff Johnston <jjohnstn@redhat.com>
14834
14835 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
14836 executed is an alloc instruction.
14837
87b3ede8
DC
148382004-02-11 David Carlton <carlton@kealia.com>
14839
14840 * gdb.cp/breakpoint.exp: New.
14841 * gdb.cp/breakpoint.cc: New.
14842
6e19e2bf
MC
148432004-02-11 Michael Chastain <mec.gnu@mindspring.com>
14844
14845 Partial fix for PR gdb/1543.
14846 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
14847 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
14848 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
14849 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
14850 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
14851 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
14852 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
14853 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
14854 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
14855 to bug-gdb@prep.ai.mit.edu .
14856 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
14857 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
14858 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
14859 Likewise.
14860
5c5455dc
AC
148612004-02-10 Andrew Cagney <cagney@redhat.com>
14862
14863 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
14864 using gdb_internal_error_resync.
14865
9cf689d7
DJ
148662004-02-09 Daniel Jacobowitz <drow@mvista.com>
14867
14868 * gdb.threads/thread-specific.exp: Stop early if no threads are
14869 found.
14870
d2dc51db
MC
148712004-02-09 Michael Chastain <mec.gnu@mindspring.com>
14872
14873 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
14874
14b1a056
DJ
148752004-02-08 Daniel Jacobowitz <drow@mvista.com>
14876
14877 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
14878 breakpoints.
14879
83f66e8f
DJ
148802004-02-07 Daniel Jacobowitz <drow@mvista.com>
14881
14882 * config/sim.exp (gdb_load): Handle $arg == "".
14883 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
14884 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
14885
30fc0091
EZ
148862004-02-07 Elena Zannoni <ezannoni@redhat.com>
14887
a9c64011
AS
14888 * gdb.base/maint.exp: Update test to reflect
14889 obstack changes.
30fc0091 14890
4d806929
JJ
148912004-02-04 Jeff Johnston <jjohnstn@redhat.com>
14892
14893 * gdb.base/pendshr.c (pendfunc): New function that calls
14894 pendfunc1.
14895 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
14896
7bfdd688
FF
148972004-02-04 Fred Fish <fnf@redhat.com>
14898
14899 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
14900 function symbols and update copyright years.
14901 * gdb.arch/gdb1291.c: Ditto.
14902
aaa08ee4
MC
149032004-02-03 Michael Chastain <mec.gnu@mindspring.com>
14904
14905 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
14906
dbad7755
MC
149072004-02-03 Michael Chastain <mec.gnu@mindspring.com>
14908
14909 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
14910
ec4646ef
MC
149112004-02-03 Michael Chastain <mec.gnu@mindspring.com>
14912
14913 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
14914
1b802196
FF
149152004-02-02 Fred Fish <fnf@redhat.com>
14916
14917 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
14918 remote targets. Update copyright years.
14919
18fe2033
JJ
149202004-02-02 Jeff Johnston <jjohnstn@redhat.com>
14921
14922 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
14923 support.
14924 * gdb.base/langs.exp: Fix test which attempts to create
14925 breakpoint on non-existent function to handle new pending
14926 support.
14927 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
14928 a breakpoint.
14929 * gdb.base/pending.exp: New test.
14930 * gdb.base/pending.c: New file.
14931 * gdb.base/pendshr.c: Ditto.
14932
8d577d32
DC
149332004-02-02 David Carlton <carlton@kealia.com>
14934
14935 * gdb.cp/overload.exp: Add overloadNamespace tests.
14936 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
14937 (overloadNamespace, XXX): New.
14938 (main): Call XXX::marker2.
14939
3ad13771
FF
149402004-02-01 Fred Fish <fnf@redhat.com>
14941
14942 * gdb.base/dump.exp: Use runto_main instead of "runto main".
14943 * gdb.base/finish.exp: Ditto.
14944 * gdb.base/gcore.exp: Ditto.
14945 * gdb.base/huge.exp: Ditto.
14946 * gdb.base/info-proc.exp: Ditto.
14947 * gdb.base/return2.exp: Ditto.
14948 * gdb.threads/gcore-thread.exp: Ditto.
14949
44c75849
DJ
149502004-02-01 Daniel Jacobowitz <drow@mvista.com>
14951
14952 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
14953
005bc093
MK
149542004-02-01 Mark Kettenis <kettenis@gnu.org>
14955
14956 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
14957 that opening the file succeeds on OpenBSD.
14958
c47cebdb
DJ
149592004-02-01 Daniel Jacobowitz <drow@mvista.com>
14960
14961 * gdb.threads/thread-specific.c: New file.
14962 * gdb.threads/threads-specific.exp: New test script.
14963 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
14964 to expect_out.
14965
5a01311c
MK
149662004-02-01 Mark Kettenis <kettenis@gnu.org>
14967
14968 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
14969 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
14970 only on the "print_small_structs from print_long_arg_list" test.
14971
ce22a4f1
DJ
149722004-02-01 Daniel Jacobowitz <drow@mvista.com>
14973
14974 * gdb.base/completion.exp: Kill a stray backslash.
14975
14976 From Jim Ingham <jingham@apple.com>:
14977 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
14978 agrees with the result from sending a tab.
14979
abbab9d3
DJ
149802004-01-31 Daniel Jacobowitz <drow@mvista.com>
14981
14982 * gdb.base/chng-syms.exp: Remove stray newline.
14983
53904d1e
MK
149842004-01-31 Mark Kettenis <kettenis@gnu.org>
14985
14986 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
14987 *-*-openbsd*.
14988 * gdb.asm/openbsd.inc: New file.
14989
3a4b3aac
MK
149902004-01-30 Mark Kettenis <kettenis@gnu.org>
14991
14992 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
14993 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
14994 *-*solaris2*. Remove commented out default settings for
14995 asm-flags. Replace gdb_compile with target_link.
14996
ebac27b4
MC
149972004-01-29 Michael Chastain <mec.gnu@mindspring.com>
14998
14999 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
15000 for all tests. Remove old hp-ux and cygnus xfail cases.
15001
d8679d84
PH
150022004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
15003
15004 * gdb.base/chng-syms.exp: New file.
15005 * gdb.base/chng-syms.c: New file.
15006
0a55bc22
MC
150072004-01-24 Michael Chastain <mec.gnu@mindspring.com>
15008
15009 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
15010 Provide arms for current output in all my configurations.
15011
94b8e876
MC
150122004-01-24 Michael Chastain <mec.gnu@mindspring.com>
15013
15014 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
15015 * lib/compiler.cc: Likewise.
15016 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
15017 get the right preprocessor. Eval the output directly. Remove
15018 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
15019 hp_f77_compiler and hp_f90_compiler completely.
15020 (gdb_preprocess): Delete.
15021 (get_compiler): Delete.
15022
7cf03d44
MK
150232004-01-24 Mark Kettenis <kettenis@gnu.org>
15024
15025 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
15026 <string.h>.
15027
68b6dce9
NR
150282004-01-24 Nick Roberts <nick@nick.uklinux.net>
15029
15030 * gdb.mi/mi-stack.exp: Update copyright.
15031
b368761e
DC
150322004-01-23 David Carlton <carlton@kealia.com>
15033
15034 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
15035 test for cp_lookup_transparent_type.
15036 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
15037 call them.
15038
f2061b53
DJ
150392004-01-23 Daniel Jacobowitz <drow@mvista.com>
15040
15041 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
15042 after -var-update.
15043
37fc574a
DC
150442004-01-23 David Carlton <carlton@kealia.com>
15045
15046 * gdb.cp/namespace.cc (C::ensureRefs): New.
15047 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
15048
8e94b928
NR
150492004-01-20 Nick Roberts <nick@nick.uklinux.net>
15050
15051 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
15052 case "-stack-list-locals 2".
15053 * gdb.mi/mi-var-child.exp: Test for case
15054 "-var-list-children --all-values NAME".
15055
997b0952
MC
150562004-01-18 Michael Chastain <mec.gnu@mindspring.com>
15057
15058 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
15059
52470da3
MK
150602004-01-18 Mark Kettenis <kettenis@gnu.org>
15061
7049b4b8
MK
15062 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
15063 used with gdb_test_multiple.
15064
52470da3
MK
15065 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
15066 read at address 0. This fixes PR testsuite/1504.
15067
da6012e5
DJ
150682004-01-18 Daniel Jacobowitz <drow@mvista.com>
15069
15070 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
15071 Remove downloading, guessing the host executable, the calls to
15072 gdb_file_cmd and gdb_target_cmd, and "load" support.
15073 (infer_host_exec): New function broken out from gdb_load.
15074 (gdb_load): New wrapper for gdbserver_gdb_load.
15075 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
15076 gdb_target_cmd. Use -target-select.
15077 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
15078 Download binaries to the host. Clear last_mi_remote_file when
15079 we load a new binary.
15080 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
15081 call gdbserver_gdb_load and mi_gdb_target_cmd.
15082
32c70722
MC
150832004-01-17 Michael Chastain <mec.gnu@mindspring.com>
15084
15085 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
15086 type patterns.
15087
b0cecf36
MC
150882004-01-17 Michael Chastain <mec.gnu@mindspring.com>
15089
15090 * gdb.cp/templates.exp: Fix typo in test name of
15091 "print Foo<volatile char*>::foo".
15092
4120d7e6
MC
150932004-01-15 Michael Chastain <mec.gnu@mindspring.com>
15094
15095 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
15096
f679e530
BE
150972004-01-16 Ben Elliston <bje@wasabisystems.com>
15098
15099 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
15100 (clean mostlyclean): Remove empty rm.
15101
091c48f6
MC
151022004-01-15 Michael Chastain <mec.gnu@mindspring.com>
15103
15104 * gdb.base/setvar.exp: Add copyright years.
15105
3e5fc8d2
DC
151062004-01-14 David Carlton <carlton@bactrian.org>
15107
15108 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
15109 PR c++/1511 and update coment.
15110 * gdb.cp/templates.exp: Update patterns to match current output.
15111 If changes involve something other than whitespace, KFAIL
15112 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
15113
63d06c5c
DC
151142004-01-14 David Carlton <carlton@kealia.com>
15115
15116 * gdb.cp/namespace.exp: Add tests involving classes defined within
15117 namespaces.
15118 * gdb.cp/namespace.cc (C::CClass): New.
15119 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
15120
a51dab88
EZ
151212004-01-14 Elena Zannoni <ezannoni@redhat.com>
15122
15123 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
15124 what debug info we have. Print a better message if something goes
15125 wrong while producing the separate debug info file.
15126
a476ccc9
MC
151272004-01-14 Michael Chastain <mec.gnu@mindspring.com>
15128
15129 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
15130
f453692c
MC
151312004-01-14 Michael Chastain <mec.gnu@mindspring.com>
15132
15133 * gdb.base/callfuncs.c: Add copyright notice.
15134
f40063a5
MC
151352004-01-13 Michael Chastain <mec.gnu@mindspring.com>
15136
15137 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
15138 inheritance. PR gdb/1498, PR gcc/13539.
15139
19ac3974
EZ
151402004-01-13 Elena Zannoni <ezannoni@redhat.com>
15141
a9c64011
AS
15142 * gdb.threads/gcore-thread.exp: Prefix name of binary with
15143 test specific name.
15144 * gdb.mi/gdb669.exp: Ditto.
15145 * gdb.mi/mi-pthreads.exp: Ditto.
15146 * gdb.mi/mi1-pthreads.exp: Ditto.
15147 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 15148
56c97c6e
MC
151492004-01-12 Michael Chastain <mec.gnu@mindspring.com>
15150
15151 * gdb.cp/member-ptr.cc: Add copyright notice.
15152
a0644324
MC
151532004-01-12 Michael Chastain <mec.gnu@mindspring.com>
15154
15155 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
15156 some patterns for recent versions of gcc and hpacc. Delete
15157 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
15158 Delete tests that access a NULL pointer-to-member-data. This
15159 script is still disabled for gcc.
15160
32fabe09
EZ
151612004-01-12 Elena Zannoni <ezannoni@redhat.com>
15162
15163 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 15164 escaped correctly.
32fabe09 15165
1f8a6abb
EZ
151662004-01-12 Elena Zannoni <ezannoni@redhat.com>
15167
15168 * gdb.base/sepdebug.exp: New file.
15169 * gdb.base/sepdebug.c: New file.
15170 * lib/gdb.exp (separate_debug_filename): New procedure.
15171 (gdb_gnu_strip_debug): New procedure.
15172
48efe704
AC
151732004-01-12 Andrew Cagney <cagney@redhat.com>
15174
15175 * gdb.mi/ChangeLog: Delete file. Renamed to ...
15176 * gdb.mi/ChangeLog-1999-2003: New file.
15177
a9415475
AC
151782004-01-12 Andrew Cagney <cagney@redhat.com>
15179
15180 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
15181 "Renaming a directory to a non-empty directory returns ENOTEMPTY
15182 or EEXIST", treat EBUSY as an XFAIL.
15183
83b8cf9d
MC
151842004-01-11 Michael Chastain <mec.gnu@mindspring.com>
15185
15186 * gdb.base/scope.exp: Remove obsolete setup_xfail for
15187 hp_cc_compiler.
15188
9939d2a8
MC
151892004-01-10 Michael Chastain <mec.gnu@mindspring.com>
15190
15191 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
15192 decorations.
15193
1ff8cadf
MC
151942004-01-10 Michael Chastain <mec.gnu@mindspring.com>
15195
15196 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
15197 and "(aCC)" decorations. Remove obsolete doco about old
15198 test results.
15199
6fa9022e
MC
152002004-01-09 Michael Chastain <mec.gnu@mindspring.com>
15201
15202 * gdb.cp/exception.exp: Fix typo in doco.
15203
209721fe
MK
152042004-01-09 Mark Kettenis <kettenis@gnu.org>
15205
15206 * gdb.base/gdb1476.exp: Fix typo.
15207
ef11303e
MC
152082004-01-09 Michael Chastain <mec.gnu@mindspring.com>
15209
15210 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
15211 file.
15212
041ab88c
MC
152132004-01-09 Michael Chastain <mec.gnu@mindspring.com>
15214
15215 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
15216 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
15217 Use gdb_compile. Remove restriction on gcc. Add some patterns
15218 for recent version of gdb. Delete second half, which was a copy
15219 of the first half with different build flags. This test is
15220 still disabled because it is still not ready for production.
15221
e36d075a
MC
152222004-01-08 Michael Chastain <mec.gnu@mindspring.com>
15223
15224 * gdb.cp/exception.cc: Add copyright notice.
15225 * gdb.cp/exception.exp: Add a notice that this file is broken
15226 because of line number changes caused by addition of copyright
15227 notice.
15228
42b190ad
MC
152292004-01-08 Michael Chastain <mec.gnu@mindspring.com>
15230
15231 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
15232 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
15233
8f25f06b
MC
152342004-01-08 Michael Chastain <mec.gnu@mindspring.com>
15235
15236 * gdb.cp/classes.exp: Accept gnu abi 2.
15237 * gdb.cp/derivation.exp: Likewise.
15238 * gdb.cp/overload.exp: Likewise.
15239 * gdb.cp/virtfunc.exp: Likewise.
15240
06ded8b8
MC
152412004-01-08 Michael Chastain <mec.gnu@mindspring.com>
15242
15243 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
15244 semicolon after end of function.
15245
77c26ae3
MC
152462004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15247
15248 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
15249 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
15250 boilerplate code for compiling and running the program under
15251 test. Add some string method tests.
15252
20757486
MC
152532004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15254
15255 * gdb.cp/bs15503.cc: Add copyright notice.
15256 * gdb.cp/bs15503.exp: Adjust line number.
15257
0fd3b503
MC
152582004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15259
15260 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
15261 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
15262
10d1bea8
MC
152632004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15264
15265 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
15266 hp_cc_compiler.
15267
2789202a
MC
152682004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15269
15270 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
15271 * gdb.cp/ctti.exp: Use the marker instead of "next".
15272 With gcc, run further before bailing.
15273
b862f14c
MC
152742004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15275
15276 * gdb.cp/cttiadd.cc: Add copyright notice.
15277 * gdb.cp/cttiadd1.cc: Likewise.
15278 * gdb.cp/cttiadd2.cc: Likewise.
15279 * gdb.cp/cttiadd3.cc: Likewise.
15280
96da2469
MC
152812004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15282
15283 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
15284 Use gdb_test, gdb_test_multiple. Use floating-point values that
15285 have exact representations in IEEE-ish formats.
15286
053248ff
MC
152872004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15288
15289 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
15290 compilers. Delete duplicate call to get_compiler_info.
15291 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
15292 * gdb.base/volatile.exp: Likewise.
15293
84acecdd
MK
152942004-01-07 Mark Kettenis <kettenis@gnu.org>
15295
15296 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
15297 memory at address 0.
15298
fe11a27f
MC
152992004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15300
15301 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
15302 to test for hp-ux assembler. Fix copyright years.
15303
60ad077b
AC
153042004-01-07 Andrew Cagney <cagney@redhat.com>
15305
15306 * gdb.base/fileio.c (strerrno): Add "EBUSY".
15307
1c9b8f33
AC
153082004-01-07 Andrew Cagney <cagney@redhat.com>
15309
15310 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
15311 when creating the read-only file. From analysis by Roland McGrath
15312 and Elena Zannoni.
15313
753ccc7a
MC
153142004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15315
15316 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
15317
eca3e36b
MC
153182004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15319
15320 * gdb.base/cvexpr.c: Be type-safe with function pointers and
15321 data pointers.
15322
f8d4bac4
MC
153232004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15324
15325 * gdb.cp/m-static.exp: Compile one source file at a time.
15326 Delete unused call to get_compiler_info.
15327
9b4e0f94
MC
153282004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15329
15330 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
15331 * gdb.base/call-rt-st.exp: Likewise.
15332 * gdb.base/nodebug.exp: Likewise.
15333 * gdb.base/volatile.exp: Likewise.
15334 * gdb.cp/ref-types.exp: Likewise.
15335 * gdb.cp/templates.exp: Likewise.
15336
023c1024
MK
153372004-01-05 Mark Kettenis <kettenis@gnu.org>
15338
15339 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
15340
19703c4a
MC
153412004-01-05 Michael Chastain <mec.gnu@mindspring.com>
15342
15343 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
15344 hppa*-hp-hpux*.
15345
18b67037
MK
153462004-01-04 Mark Kettenis <kettenis@gnu.org>
15347
ba6219c8
MK
15348 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
15349 x86_64-*-*.
15350
18b67037
MK
15351 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
15352 sparc64-*-* and sparc*-solaris2*.
15353
1bfbbb9d
MK
153542004-01-04 Mark Kettenis <kettenis@gnu.org>
15355
15356 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
15357 return ${tests}" test. The ${tests} already mentions the
15358 filename.
15359
06846494
MC
153602004-01-02 Michael Chastain <mec.gnu@mindspring.com>
15361
15362 * gdb.cp/local.exp: Accept gcc abi 2.
15363
3b0cb202
MC
153642004-01-02 Michael Chastain <mec.gnu@mindspring.com>
15365
15366 * gdb.cp/templates.exp: Accept gcc abi 2.
15367
0643ec3f
MC
153682004-01-02 Michael Chastain <mec.gnu@mindspring.com>
15369
15370 * lib/compiler.cc: Remove supports_template_debugging.
15371 * gdb.cp/templates.exp: Do not test supports_template_debugging.
15372
d231d0b1
MC
153732004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15374
15375 * gdb.cp/namespace.exp: Accept gcc abi 2.
15376
44ffb27c
MC
153772004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15378
15379 * gdb.cp/method.exp: Accept gcc abi 2.
15380
184ad485
MC
153812004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15382
15383 * gdb.cp/classes.exp: Generate identical results as old version.
15384 * gdb.cp/derivation.exp: Likewise.
15385 * gdb.cp/overload.exp: Likewise.
15386 * gdb.cp/virtfunc.exp: Likewise.
15387
116f09e7
MC
153882004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15389
15390 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
15391 mysterious bug with sourceware version of expect.
15392
b1379776
MC
153932004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15394
15395 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
15396 current versions of gcc, including gcc abi 2. Remove gratuitous
15397 restart of test program. Use gdb_test_multiple and gdb_test for
15398 all tests. Add patterns to xfail missing "const" in "const char *"
15399 and kfail PR gdb/1155.
15400
6b7a4c0e
MC
154012004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15402
15403 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
15404 current versions of gcc, including gcc abi 2. Remove gratuitous
15405 restart of test program. Use gdb_test_multiple and gdb_test for
15406 all tests. Add patterns to kfail PR gdb/1498.
15407
51615d72
MC
154082003-12-31 Michael Chastain <mec.gnu@mindspring.com>
15409
15410 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
15411 current versions of gcc, including gcc abi 2. Use "breakpoint"
15412 and "continue" instead of restarting the target program. Use
15413 gdb_test_multiple and gdb_test for all tests.
15414
7b79a9d7
MK
154152004-01-01 Mark Kettenis <kettenis@gnu.org>
15416
15417 * gdb.asm/asm-source.exp: Update copyright year. Link statically
15418 for *-*-solaris2*.
15419
1cd3489f
MC
154202003-12-31 Michael Chastain <mec.gnu@mindspring.com>
15421
15422 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
15423 current versions of gcc, including gcc abi 2. Use "breakpoint"
15424 and "continue" instead of restarting the target program several
15425 times. Use gdb_test_multiple and gdb_test for all tests.
15426
850742db
MC
154272003-12-18 Michael Chastain <mec.gnu@mindspring.com>
15428
15429 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
15430 source files.
15431
eb4bbda8
MC
154322003-12-16 Michael Chastain <mec.gnu@mindspring.com>
15433
15434 * gdb.base/environ.exp: Handle compiling test case from multiple
15435 source files.
15436
e42c7771
MC
154372003-12-16 Michael Chastain <mec.gnu@mindspring.com>
15438
15439 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
15440
80e4b428
JB
154412003-12-17 Jim Blandy <jimb@redhat.com>
15442
5f06973a
JB
15443 * gdb.base/freebpcmd.c: Add copyright notice.
15444
80e4b428
JB
15445 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
15446
0ab84fb7
MC
154472003-12-16 Michael Chastain <mec.gnu@mindspring.com>
15448
15449 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
15450
1b3bb3d0
JB
154512003-12-13 Jim Blandy <jimb@redhat.com>
15452
15453 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
15454
3a4c9371
KB
154552003-12-12 Kevin Buettner <kevinb@redhat.com>
15456
15457 * gdb.asm/frv.inc: New file.
15458 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
15459
a1dea79a
FF
154602003-12-09 Fred Fish <fnf@redhat.com>
15461
15462 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
15463 functions to break1.c and leave prototypes behind. Add more
15464 "set breakpoint NN here" comments.
15465 * gdb.base/break1.c: New file.
15466
15467 * gdb.base/break.exp: Handle compiling test case from multiple
15468 source files and change source file references as needed.
15469 * gdb.base/completion.exp: Ditto.
15470 * gdb.base/condbreak.exp: Ditto.
15471 * gdb.base/define.exp: Ditto.
15472 * gdb.base/ena-dis-br.exp: Ditto.
15473 * gdb.base/info-proc.exp: Ditto.
15474 * gdb.base/maint.exp: Ditto.
15475 * gdb.base/until.exp: Ditto.
15476
15477 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
15478 hardcoded line numbers.
15479 * gdb.base/define.exp: Ditto.
15480 * gdb.base/ena-dis-br.exp: Ditto.
15481 * gdb.base/maint.exp: Ditto.
15482 * gdb.base/until.exp: Ditto.
15483
15484 * gdb.base/completion.exp: Use "break1" for completion tests since
15485 "break" is no longer a unique prefix.
15486
5266b69c
AC
154872003-12-06 Andrew Cagney <cagney@redhat.com>
15488
15489 * gdb.base/structs.exp (test_struct_returns): When applicable, set
15490 "return_value_unimplemented". When an unimplemented struct return
15491 architecture, report incorrect values as a KFAIL
15492
374451f0
MC
154932003-12-05 Michael Chastain <mec.gnu@mindspring.com>
15494
15495 * gdb.cp/rtti.exp: Accept new wording of warning from
15496 cp_lookup_rtti_type.
15497
ba9b20a7
MC
154982003-12-05 Michael Chastain <mec.gnu@mindspring.com>
15499
15500 Partial fix for PR testsuite/1456.
15501 * gdb.base/scope.exp (test_at_main): Replace references to
15502 gcc_compiled with calls to test_compiler_info.
15503 (test_at_foo): Likewise.
15504 (test_at_bar): Likewise.
15505
b74b6d0b
MC
155062003-12-04 Michael Chastain <mec.gnu@mindspring.com>
15507
15508 Partial fix for PR testsuite/1456.
15509 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
15510 to test_compiler_info.
15511
ccfa3402
MC
155122003-12-03 Michael Chastain <mec.gnu@mindspring.com>
15513
15514 * gdb.base/so-impl-ld.exp: Update copyright notice.
15515
f6246aba
MC
155162003-12-02 Michael Chastain <mec.gnu@mindspring.com>
15517
15518 Partial fix for PR testsuite/1456.
15519 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
15520 to test_compiler_info.
15521
13ae734a
MC
155222003-11-28 Michael Chastain <mec.gnu@mindspring.com>
15523
15524 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
15525 from current versions of gdb. Clean up regular expressions.
15526 Delete redundant timeout case.
15527
d8e1cdee
MC
155282003-11-28 Michael Chastain <mec.gnu@mindspring.com>
15529
15530 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
15531 from current versions of gdb. Clean up regular expressions.
15532 Delete redundant timeout case.
15533
96457b64
MC
155342003-12-01 Michael Chastain <mec.gnu@mindspring.com>
15535
15536 Partial fix for PR testsuite/1456.
15537 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
15538 gcc_compiled with call to test_compiler_info.
15539
f35309fc
MC
155402003-11-30 Michael Chastain <mec.gnu@mindspring.com>
15541
15542 Partial fix for PR testsuite/1456.
15543 * gdb.base/list.exp (test_list_function): Delete unused declaration
15544 of gcc_compiled.
15545
d7afdf9b
MC
155462003-11-29 Michael Chastain <mec.gnu@mindspring.com>
15547
15548 Partial fix for PR testsuite/1456.
15549 * gdb.base/complex.exp: Replace reference to gcc_compiled with
15550 call to test_compiler_info.
15551
71507b56
MK
155522003-11-29 Mark Kettenis <kettenis@gnu.org>
15553
15554 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
15555 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
15556 it to create the appropriate note.inc.
15557 * gdb.asm/asmsrc1.s: Include "note.inc".
15558 * gdb.asm/netbsd.inc: New file.
15559 * gdb.asm/empty.inc: New file.
15560
f81f93f7
MC
155612003-11-28 Michael Chastain <mec.gnu@mindspring.com>
15562
15563 Partial fix for PR testsuite/1456.
15564 * gdb.base/constvars.exp: Replace references to gcc_compiled with
15565 calls to test_compiler_info.
15566
9a77938e
MC
155672003-11-27 Michael Chastain <mec.gnu@mindspring.com>
15568
15569 Partial fix for PR testsuite/1456.
15570 * gdb.base/volatile.exp: Replace references to gcc_compiled with
15571 calls to test_compiler_info.
15572
e8367dc7
MK
155732003-11-27 Mark Kettenis <kettenis@gnu.org>
15574
15575 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
15576 pattern for the KFAILs.
15577
526c61ee
AF
155782003-11-25 Adam Fedor <fedor@gnu.org>
15579
15580 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
15581 * gdb.objc/objcdecode.m: New file.
15582
28f2d600
AF
155832003-11-25 Adam Fedor <fedor@gnu.org>
15584
15585 * gdb.objc/nondebug.exp: Test for PR objc/1236.
15586 * gdb.objc/nondebug.m: New file.
15587
a3895cee
BE
155882003-11-26 Ben Elliston <bje@wasabisystems.com>
15589
15590 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
15591 NetBSD as it does on FreeBSD. Modelled on a similar change by
15592 Mark Kettenis on 2003-05-30.
15593 (link-flags): Set to "--entry _start" regardless of target.
15594 Special linker flags are to be appended to $link-flags.
15595 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
15596
c9f2c8a3
MC
155972003-11-25 Michael Chastain <mec.gnu@mindspring.com>
15598
15599 * gdb.cp/method.exp: Accept output of new demangler.
15600
15a0587a 156012003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
15602
15603 * gdb/class2.exp: New file.
15604 * gdb/class2.cc: New file.
15605
3c00b570
MC
156062003-11-25 Michael Chastain <mec.gnu@mindspring.com>
15607
15608 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
15609 of new demangler.
15610
7027acc7
MK
156112003-11-23 Mark Kettenis <kettenis@gnu.org>
15612
15613 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
15614 of gdb_test "run".
15615
b0e1598a
MK
156162003-11-23 Mark Kettenis <kettenis@gnu.org>
15617
15618 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
15619 "continue" into "run".
15620
4d9eda44
MC
156212003-11-23 Michael Chastain <mec.gnu@mindspring.com>
15622
15623 Partial fix for PR testsuite/1456.
15624 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
15625 call to test_compiler_info.
15626 * gdb.cp/ctti.exp: Likewise.
15627 * gdb.cp/derivation.exp: Likewise.
15628 * gdb.cp/member-ptr.exp: Likewise.
15629 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
15630 reference to gcc_compiled.
15631
156322003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
15633
15634 Fix PR testsuite/1463.
15635 * gdb.base/structs.exp (start_structs_test): Call
15636 get_debug_format before using the debug format.
15637
d422fe19
AC
156382003-11-22 Andrew Cagney <cagney@redhat.com>
15639
15640 * lib/gdb.exp (gdb_test_multiple): Add simple example.
15641 * gdb.base/structs.exp: Use gdb_test_multiple.
15642
039cf96d
AC
156432003-11-20 Andrew Cagney <cagney@redhat.com>
15644
6882279b
AC
15645 * gdb.base/structs.exp: Handle and recover from internal errors.
15646 Replace "foo${n}" with "foo<n>" in test messages.
15647
e53890ae
AC
15648 * gdb.base/structs.exp: Update copyright. Rewrite.
15649 * gdb.base/structs.c: Update copyright. Rewrite.
15650
2b211c59
AC
15651 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
15652 resync count exceeded.
d63a86f8 15653
039cf96d
AC
15654 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
15655 from the internal error.
15656 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
15657 Original from Jim Blandy.
15658 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 15659
eac98b22
AC
156602003-11-19 Andrew Cagney <cagney@redhat.com>
15661
15662 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
15663 KFAIL.
15664
67455b2a
MK
156652003-11-17 Mark Kettenis <kettenis@gnu.org>
15666
15667 New testcase for PR backtrace/1435.
15668 * gdb.arch/i386-unwind.exp: New file.
15669 * gdb.arch/i386-unwind.c: New file.
15670
853d6e5b
AC
156712003-11-17 Andrew Cagney <cagney@redhat.com>
15672
15673 * lib/gdb.exp (compiler_info): New global.
15674 (test_compiler_info): New function.
15675 (get_compiler_info): Set compiler_info.
15676 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
15677 "compiler_info" to gcc-<major>-<minor>.
15678
38cf6e11
MC
156792003-11-15 Michael Chastain <mec.gnu@mindspring.com>
15680
15681 * gdb.trace/configure: Remove.
15682
a50d3602
EZ
156832003-11-13 Elena Zannoni <ezannoni@redhat.com>
15684
15685 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 15686 breakpoints.
a50d3602
EZ
15687 * gdb.base/break.exp: Remove all references to explicit line
15688 numbers.
15689
d9407aaa
NC
156902003-11-11 Nick Clifton <nickc@redhat.com>
15691
15692 * gdb.base/shreloc.exp: Do not run for targets which do not
15693 support shared objects.
15694
db488fc1
CV
156952003-11-10 Corinna Vinschen <vinschen@redhat.com>
15696
15697 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
15698 Don't run tests if nofileio flag is given.
15699
6a90a18e
EZ
157002003-11-07 Elena Zannoni <ezannoni@redhat.com>
15701
15702 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 15703 as well as 'Watchpoint'.
6a90a18e 15704
0b915e9c
EZ
157052003-11-06 Elena Zannoni <ezannoni@redhat.com>
15706
15707 Reported by Jim Ingham <jingham@apple.com>:
15708 * gdb.base/annota1.exp: Match at least one occurrence of the
15709 signal handler annotation.
15710
d7e4b55f
EZ
157112003-11-06 Elena Zannoni <ezannoni@redhat.com>
15712
a9c64011
AS
15713 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
15714 as well as 'Watchpoint'.
d7e4b55f 15715
2fe4e8d0
MC
157162003-11-05 Michael Chastain <mec@shout.net>
15717
15718 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
15719
6ef88553
KW
157202003-11-03 Kris Warkentin <kewarken@qnx.com>
15721
15722 * gdb.arch/gdb1291.c: New test file.
15723 * gdb.arch/gdb1291.exp: New test script.
15724 * gdb.arch/gdb1431.c: New test file.
15725 * gdb.arch/gdb1431.exp: New test script.
15726
ae7dc4d8
MC
157272003-10-22 Michael Chastain <mec@shout.net>
15728
15729 * gdb.mi/pthreads.c: Add copyright notice.
15730
c39d7427
MC
157312003-10-22 Michael Chastain <mec@shout.net>
15732
15733 * gdb.threads/pthreads.c: Add copyright notice.
15734
8b7d96c1
MC
157352003-10-20 Michael Chastain <mec@shout.net>
15736
15737 * gdb.base/gdb1056.exp: New test script.
15738
d1d69fdd
DJ
157392003-10-13 Daniel Jacobowitz <drow@mvista.com>
15740
15741 * gdb.threads/killed.exp: Use gdb_run_cmd.
15742
7d605576
DJ
157432003-10-13 Daniel Jacobowitz <drow@mvista.com>
15744
15745 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
15746 create a core file.
15747 * gdb.threads/gcore-thread.exp: Likewise.
15748
618ec112
CV
157492003-10-13 Corinna Vinschen <vinschen@redhat.com>
15750
15751 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
15752 type, based on char type.
15753 (struct bit_flags_short_t): New bitfield type, based on short type.
15754 (init_bit_flags_char): New fuction.
15755 (init_bit_flags_short): Ditto.
15756 (print_bit_flags_char): Ditto.
15757 (print_bit_flags_short): Ditto.
15758 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
15759
9367a73c
MC
157602003-10-11 Michael Chastain <mec@shout.net>
15761
15762 * gdb.base/call-rt-st.exp: Update copyright year.
15763
1decf120
KI
157642003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
15765
15766 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
15767 * gdb.disasm/sh3.s: Ditto.
15768
5445b2ae
DJ
157692003-10-07 Daniel Jacobowitz <drow@mvista.com>
15770
15771 * gdb.threads/switch-threads.exp: New test.
15772 * gdb.threads/switch-threads.c: New source file.
15773
aec24853
CV
157742003-10-07 Corinna Vinschen <vinschen@redhat.com>
15775
15776 * gdb.base/ending-run.exp: Add sh specific case.
15777
adc7428d
AC
157782003-10-06 Andrew Cagney <cagney@redhat.com>
15779
15780 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
15781 * gdb.disasm/mn10200.exp: Delete obsolete file.
15782
c9d37158
DJ
157832003-09-29 Daniel Jacobowitz <drow@mvista.com>
15784
15785 * ChangeLog: Correct an entry command.exp -> commands.exp.
15786 * gdb.base/commands.exp (bp_deleted_in_command_test)
15787 (temporary_breakpoint_commands): Check noargs.
15788
79c2c32d
DC
157892003-09-25 David Carlton <carlton@kealia.com>
15790
15791 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
15792 of some print tests, where appropriate. Add tests for C::D::cd,
15793 E::ce, F::cXfX, G::XgX.
15794 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
15795
594e6d67
RE
157962003-09-25 Richard Earnshaw <rearnsha@arm.com>
15797
15798 * lib/java.exp (java_init): Import target_alias before using it.
15799
10f0d451
DC
158002003-09-25 David Carlton <carlton@kealia.com>
15801
15802 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
15803
274bcba0
EZ
158042003-09-23 Elena Zannoni <ezannoni@redhat.com>
15805
d63a86f8 15806 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 15807 weirdness.
274bcba0 15808
cdbf20f7
MC
158092003-09-17 Michael Chastain <mec@shout.net>
15810
15811 * gdb.cp/gdb1355.exp: New file.
15812 * gdb.cp/gdb1355.c: New file.
15813
71e06f80
CV
158142003-09-15 Corinna Vinschen <vinschen@redhat.com>
15815
15816 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
15817 * gdb.asm/sh.inc: New file.
15818
5c4e30ca
DC
158192003-09-11 David Carlton <carlton@kealia.com>
15820
bd45b7af
DC
15821 * gdb.cp/namespace.exp: Add tests for namespace types.
15822 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
15823 (test_namespace): New.
15824
1c199746
EZ
158252003-09-11 Elena Zannoni <ezannoni@redhat.com>
15826
a9c64011 15827 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 15828 * gdb.stabs/weird.exp: Ditto.
1c199746 15829
04ed252f
MC
158302003-09-08 Michael Chastain <mec@shout.net>
15831
15832 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
15833
d8a2d9e7
MC
158342003-09-07 Michael Chastain <mec@shout.net>
15835
15836 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
15837 'parse error'.
15838
161afb24
MK
158392003-09-07 Mark Kettenis <m.kettenis@osp.nl>
15840
15841 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
15842
49f2741a
MC
158432003-08-30 Michael Chastain <mec@shout.net>
15844
15845 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
15846 * gdb.gdb/observer.exp: Ditto.
15847 * gdb.gdb/xfullpath.exp: Ditto.
15848
8afa723e
MK
158492003-08-29 Mark Kettenis <kettenis@gnu.org>
15850
15851 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
15852 *-*-*bsd*.
15853
f31dfe3b
JJ
158542003-08-28 Jeff Johnston <jjohnstn@redhat.com>
15855
15856 * gdb.base/dump.exp: Skip for ia64.
15857
4630e498
JJ
158582003-08-25 Jeff Johnston <jjohnstn@redhat.com>
15859
15860 * gdb.asm/asm-source.exp: Add ia64 support.
15861 * gdb.asm/ia64.inc: New file.
15862
1105b7ef
MC
158632003-08-22 Michael Chastain <mec@shout.net>
15864
15865 * gdb.cp: New directory.
15866 * gdb.cp/*: Copy from gdb.c++/*.
15867 * gdb.c++/*: Remove.
15868 * Makefile.in: Change gdb.c++ to gdb.cp.
15869 * configure.in: Ditto.
15870 * configure: Regnerate.
15871
c945b932
MK
158722003-08-18 Mark Kettenis <kettenis@gnu.org>
15873
15874 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
15875 * gdb.arch/i386-prologue.c (gdb1338): Add function.
15876
2b66634b
DJ
158772003-08-17 Daniel Jacobowitz <drow@mvista.com>
15878
15879 * mi-var-display.exp (-var-list-children weird): Accept function
15880 pointers with argument types.
15881 * mi1-var-display.exp (-var-list-children weird): Likewise.
15882 * mi2-var-display.exp (-var-list-children weird): Likewise.
15883
a356f73b
DJ
158842003-08-17 Daniel Jacobowitz <drow@mvista.com>
15885
15886 * gdb.base/annota3.exp: Add missing newline.
15887
483417b8
MC
158882003-08-06 Michael Chastain <mec@shout.net>
15889
15890 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
15891
c99c59c3
MS
158922003-08-12 Michael Snyder <msnyder@redhat.com>
15893
15894 * gdb.base/float.exp: Add test for SH.
15895
55ed7501
MK
158962003-08-10 Mark Kettenis <kettenis@gnu.org>
15897
15898 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
15899
1a371f2e
EZ
159002003-08-07 Elena Zannoni <ezannoni@redhat.com>
15901
15902 * gdb.base/completion.exp: Remove reduntant completion test
15903 on filename.
15904
e0f353ce
EZ
159052003-08-07 Elena Zannoni <ezannoni@redhat.com>
15906
a9c64011
AS
15907 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
15908 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
15909 gdb.trace/save-trace.exp: Make sure that full pathnames are
15910 escaped correctly.
e0f353ce 15911
5710a1af 159122003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 15913
a9c64011
AS
15914 * configure.in: Don't generate config.h from config.hin.
15915 * configure: Regenerate.
15916 * config.hin: Remove file.
15917 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
15918 * gdb.threads/pthreads.c: Ditto.
5710a1af 15919
dcd81ce9
DJ
159202003-08-07 Daniel Jacobowitz <drow@mvista.com>
15921
15922 From Kei Sakamoto <sakamoto.kei@renesas.com>:
15923 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
15924 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
15925 Replace ld24 with seth/add3.
15926
6009d884
AC
159272003-08-02 Andrew Cagney <cagney@redhat.com>
15928
15929 * gdb.base/annota3.exp: New file.
15930 * gdb.base/annota3.c: New file.
15931 * gdb.c++/annota3.exp: New file.
15932 * gdb.c++/annota3.cc: New file.
15933
51514e06
MC
159342003-07-29 Michael Chastain <mec@shout.net>
15935
15936 * gdb.threads/tls.c (spin): Check errno only if sem_wait
15937 actually failed.
15938 (do_pass): Likewise.
15939 * gdb.threads/tls.exp: Always initialize no_of_threads.
15940
4ee6625b
DJ
159412003-07-27 Daniel Jacobowitz <drow@mvista.com>
15942
15943 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
15944 pattern.
15945 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
15946 * gdb.threads/tls.exp: Recognize one case of the host library not
15947 supporting TLS.
15948
225f2bf6
AC
159492003-07-27 Andrew Cagney <cagney@redhat.com>
15950
15951 * gdb.base/fileio.exp: Use SH when running commands using
15952 remote_exec.
15953
bcb27c9f
DJ
159542003-07-24 Daniel Jacobowitz <drow@mvista.com>
15955
15956 From Kei Sakamoto <sakamoto.kei@renesas.com>:
15957 * gdb.base/relocate.c (dummy): New padding array.
15958
3d67be83
MS
159592003-07-22 Michael Snyder <msnyder@redhat.com>
15960
d63a86f8 15961 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
15962
15963 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
15964 patterns to be more general, accepting old and new output.
15965 Some output chars (such as '+') also must be quoted.
d63a86f8 15966 Some addresses are displayed numerically instead of
3d67be83
MS
15967 symbolically.
15968
57ba3b85
MS
159692003-07-23 Michael Snyder <msnyder@redhat.com>
15970
686d097c
MS
15971 * gdb.base/return2.exp: Don't test long-long return.
15972
57ba3b85
MS
15973 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
15974 * gdb.disasm/t01_mov.exp: Ditto.
15975 * gdb.disasm/t02_mova.s: Ditto.
15976 * gdb.disasm/t02_mova.exp: Ditto.
15977 * gdb.disasm/t03_add.s: Ditto.
15978 * gdb.disasm/t03_add.exp: Ditto.
15979 * gdb.disasm/t04_sub.s: Ditto.
15980 * gdb.disasm/t04_sub.exp: Ditto.
15981 * gdb.disasm/t05_cmp.s: Ditto.
15982 * gdb.disasm/t05_cmp.exp: Ditto.
15983 * gdb.disasm/t06_ari2.s: Ditto.
15984 * gdb.disasm/t06_ari2.exp: Ditto.
15985 * gdb.disasm/t07_ari3.s: Ditto.
15986 * gdb.disasm/t07_ari3.exp: Ditto.
15987 * gdb.disasm/t08_or.s: Ditto.
15988 * gdb.disasm/t08_or.exp: Ditto.
15989 * gdb.disasm/t09_xor.s: Ditto.
15990 * gdb.disasm/t09_xor.exp: Ditto.
15991 * gdb.disasm/t10_and.s: Ditto.
15992 * gdb.disasm/t10_and.exp: Ditto.
15993 * gdb.disasm/t11_logs.s: Ditto.
15994 * gdb.disasm/t11_logs.exp: Ditto.
15995 * gdb.disasm/t12_bit.s: Ditto.
15996 * gdb.disasm/t12_bit.exp: Ditto.
15997 * gdb.disasm/t13_otr.s: Ditto.
15998 * gdb.disasm/t13_otr.exp: Ditto.
15999
e00759ef
EZ
160002003-07-22 Elena Zannoni <ezannoni@redhat.com>
16001
16002 * gdb.threads/tls.exp :Add kfail for 'info address' case.
16003
8bc2021f
EZ
160042003-07-22 Elena Zannoni <ezannoni@redhat.com>
16005
a9c64011
AS
16006 * gdb.threads/tls.c : New file.
16007 * gdb.threads/tls.exp : New file.
16008 * gdb.threads/tls-main.c : New file.
16009 * gdb.threads/tls-shared.c : New file.
16010 * gdb.threads/tls-shared.exp : New file.
8bc2021f 16011
89320c4c
AS
160122003-07-22 Andreas Schwab <schwab@suse.de>
16013
16014 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
16015
180dea7c
AS
160162003-07-20 Andreas Schwab <schwab@suse.de>
16017
16018 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
16019 due to insn reordering.
16020
0714963c
AC
160212003-07-15 Andrew Cagney <cagney@redhat.com>
16022
16023 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
16024
98a23b3f
MC
160252003-07-15 Michael Chastain <mec@shout.net>
16026
16027 * gdb.base/gdb1250.exp: New file.
16028 * gdb.base/gdb1250.c: New file.
16029
27e417a2
ML
160302003-07-09 Michal Ludvig <mludvig@suse.cz>
16031
16032 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
16033 expansion of size_t to 'unsigned long', not only to 'unsigned'.
16034
8bc2021f
EZ
160352003-07-09 Elena Zannoni <ezannoni@redhat.com>
16036
a9c64011
AS
16037 * gdb.threads/tls.c: New file.
16038 * gdb.threads/tls.exp: New file.
16039 * gdb.threads/tls-main.c: New file.
16040 * gdb.threads/tls-shared.c: New file.
16041 * gdb.threads/tls-shared.exp: New file.
8bc2021f 16042
d99968dc
EZ
160432003-07-09 Elena Zannoni <ezannoni@redhat.com>
16044
16045 * gdb.base/annota1.exp: Make sure that we properly escape the
16046 full path of the source file. Xfail more permissive patterns,
d63a86f8 16047 due to a compiler debug info problem.
d99968dc 16048
83876b3b
AS
160492003-07-07 Andreas Schwab <schwab@suse.de>
16050
2705e972
AS
16051 * gdb.asm/m68k.inc: New file.
16052 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
16053
83876b3b
AS
16054 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
16055 arguments"): Also match negative number.
16056
16057 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
16058
3a871b37
DJ
160592003-07-03 Daniel Jacobowitz <drow@mvista.com>
16060
16061 * gdb.base/store.c (charest): New typedef.
16062 (add_char): Rename to add_charest, update.
16063 (wack_char): Rename to wack_charest, update types. Return l + r
16064 to keep r live across the call.
16065 (wack_short, wack_int, wack_long, wack_longest, wack_float)
16066 (wack_double, wack_doublest): Return l + r to keep r live across
16067 the call.
16068 * gdb.base/store.exp: Accomodate store.c changes.
16069
b2a7f303
DC
160702003-06-30 David Carlton <carlton@kealia.com>
16071
16072 * gdb.c++/maint.exp (test_invalid_name): New.
16073 (test_first_component): Add tests for invalid names.
16074
3c6cb4a1
MC
160752003-06-29 Michael Chastain <mec@shout.net>
16076
16077 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
16078 output of '<VTT for class>' for virtual base classes.
16079
f1c2644b
DJ
160802003-06-29 Daniel Jacobowitz <drow@mvista.com>
16081
16082 * gdb.base/completion.exp: Tab-complete "complet" instead of
16083 "compl".
16084 * gdb.base/complex.exp, gdb.base/complex.c: New files.
16085
18080350
DJ
160862003-06-29 Daniel Jacobowitz <drow@mvista.com>
16087
16088 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
16089 * gdb.base/volatile.exp: Likewise.
16090
f56973f8
DJ
160912003-06-29 Daniel Jacobowitz <drow@mvista.com>
16092
16093 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
16094 gdb/1265.
16095
160962003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
16097 Daniel Jacobowitz <drow@mvista.com>
16098
16099 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
16100 initial line count of 'captured_main' from 26 to 32.
16101 (test_with_self): Allow xmalloc call to be interleaved with the
16102 preceding two lines.
16103
e766d4d6
JB
161042003-06-24 Joel Brobecker <brobecker@gnat.com>
16105
16106 * gdb.base/bang.exp: New testcase.
16107
f125c9a4
JB
161082003-06-23 Joel Brobecker <brobecker@gnat.com>
16109
16110 * gdb.base/langs.exp: Add some tests for the "minimal" language
16111 support.
16112
6e25beaf
EZ
161132003-06-23 Elena Zannoni <ezannoni@redhat.com>
16114
16115 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
16116 the testcase.
16117
2f816dda
DJ
161182003-06-22 Daniel Jacobowitz <drow@mvista.com>
16119
16120 * gdb.base/relocate.exp: Test add-symbol-file with a variable
16121 offset.
16122
db5a5748
DJ
161232003-06-22 Daniel Jacobowitz <drow@mvista.com>
16124
16125 * gdb.c++/pr-1210.cc: New file.
16126 * gdb.c++/pr-1210.exp: New file.
16127
1df0c130
DJ
161282003-06-21 Daniel Jacobowitz <drow@mvista.com>
16129
16130 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
16131 000-exec-continue.
16132
a92feac0
MK
161332003-06-15 Mark Kettenis <kettenis@gnu.org>
16134
16135 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
16136 on *-*-*bsd* instead of *-*-freebsd*.
16137
81a58f5b
AC
161382003-06-14 Andrew Cagney <cagney@redhat.com>
16139
16140 * gdb.base/store.exp: Test longest and doublest. Test all
16141 parameters. Weaken return statement match.
16142 * gdb.base/store.c: Add longest and doublest - aka long long and
16143 long double functions. Put all parameters into local register
16144 variables. Use negative values.
16145
b257a0d3
AC
161462003-06-14 Andrew Cagney <cagney@redhat.com>
16147
16148 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
16149 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
16150 exit status.
16151 * gdb.base/fileio.exp: Disable target when nointerrupts and
16152 noinferiorio, instead of limiting it to remote. Use remote_exec
16153 instead of system.
d63a86f8 16154
21c38304
JJ
161552003-06-12 Jeff Johnston <jjohnstn@redhat.com>
16156
16157 * gdb.base/float.exp: Add ia64 support.
16158
1bcdb424
CV
161592003-06-12 Corinna Vinschen <vinschen@redhat.com>
16160
16161 * gdb.base/fileio.exp: Run only on remote targets.
16162
6aeb981f
CV
161632003-06-10 Corinna Vinschen <vinschen@redhat.com>
16164
16165 * gdb.base/fileio.c: New file, testing File-I/O.
16166 * gdb.base/fileio.exp: Ditto.
16167
53df362e
RG
161682003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
16169
16170 * gdb.base/shreloc.exp: New file, check symbol values obtained from
16171 shared objects after relocation at load time (gdb PR/1132).
16172 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 16173 as above, part of the shared object relocation test.
53df362e 16174
ffee1b46
MK
161752003-06-08 Mark Kettenis <kettenis@gnu.org>
16176
b5ca3722
MK
16177 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
16178 fully filled history list.
16179 * gdb.base/gdb_history: New file.
16180
03ed860d
MK
16181 * gdb.base/signals.exp: XFAIL "continue to func1" on
16182 i*86-*-freebsd*.
16183
ffee1b46
MK
16184 * gdb.base/attach.exp: When trying to attach to a nonexistent
16185 process, make it possible to specify the PID based on the target,
16186 and do so for *-*-freebsd*.
16187
d80dbb52
RH
161882003-06-02 Richard Henderson <rth@redhat.com>
16189
16190 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
16191
6dd77b81
RH
161922003-06-02 Richard Henderson <rth@redhat.com>
16193
16194 * gdb.base/selftest.exp: Next over lim_at_start initialization.
16195
f6347e16
RH
161962003-06-02 Richard Henderson <rth@redhat.com>
16197
16198 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
16199
2c161407
DJ
162002003-06-01 Daniel Jacobowitz <drow@mvista.com>
16201
16202 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
16203 of globalvar.
16204
572eb746
MK
162052003-06-01 Mark Kettenis <kettenis@gnu.org>
16206
16207 * gdb.asm/asm-source.exp: Check for memory read errors in
16208 disassembler test on *BSD too.
16209
9e9617a5
RH
162102003-06-01 Richard Henderson <rth@redhat.com>
16211
16212 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
16213 for .frame.
16214 (gdbasm_call): Lose ldgp.
16215 (gdbasm_startup): Add frame information.
16216 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
16217
7b34ad4e
MK
162182003-05-31 Mark Kettenis <kettenis@gnu.org>
16219
16220 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
16221 i?86-*-*.
16222
10059fdf
MK
162232003-05-30 Mark Kettenis <kettenis@gnu.org>
16224
16225 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
16226 FreeBSD.
16227
acf4b816
RH
162282003-05-29 Richard Henderson <rth@redhat.com>
16229
16230 * gdb.asm/alpha.inc: New file.
16231 * gdb.asm/asm-source.exp: Use it.
16232
e9ecd949
JB
162332003-05-29 Jim Blandy <jimb@redhat.com>
16234
16235 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
16236 'core.PID'.
16237
e3e5a4f3
JB
162382003-05-22 Jim Blandy <jimb@redhat.com>
16239
16240 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
16241 backtrace.
d63a86f8 16242
72fe3d25
DC
162432003-05-20 David Carlton <carlton@math.stanford.edu>
16244
16245 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
16246 this time.
16247
58da2eb2
DC
162482003-05-19 David Carlton <carlton@bactrian.org>
16249
16250 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
16251 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
16252
1fcb5155
DC
162532003-05-19 David Carlton <carlton@bactrian.org>
16254
16255 * gdb.c++/namespace.exp: Add namespace scope and anonymous
16256 namespace tests.
16257 Bump copyright date.
16258 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
16259 (main): Call C::D::marker2.
16260 * gdb.c++/namespace1.cc: New file.
16261
85e85163
JJ
162622003-05-14 Jeff Johnston <jjohnstn@redhat.com>
16263
16264 Roland McGrath <roland@redhat.com>
d63a86f8 16265 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
16266 there is no manager thread.
16267
a25fbfec
JJ
162682003-05-08 Jeff Johnston <jjohnstn@redhat.com>
16269
d63a86f8
RM
16270 * gdb.threads/schedlock.exp: Remove assumption that all threads
16271 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
16272 in one of the child threads rather than the main thread.
16273
be375bae
JB
162742003-05-07 Jim Blandy <jimb@redhat.com>
16275
09bf6082
JB
16276 Add support for assembly source testing on the s390x.
16277 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
16278 architecture.
16279 * gdb.asm/s390x.inc: New file.
16280
be375bae
JB
16281 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
16282 succession of 'if' statements.
16283
00905d52
AC
162842003-05-05 Andrew Cagney <cagney@redhat.com>
16285
16286 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
16287
b1e29e33
AC
162882003-05-05 Andrew Cagney <cagney@redhat.com>
16289
16290 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
16291 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
16292
e33d66ec
EZ
162932003-05-02 Elena Zannoni <ezannoni@redhat.com>
16294
16295 * gdb.base/charset.exp: Update based on new behavior of set/show
16296 charset commands.
16297
2b6fd0d8
AC
162982003-05-01 Andrew Cagney <cagney@redhat.com>
16299
16300 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
16301 variable do not give memory errors.
16302
130cacce
AF
163032003-04-30 Adam Fedor <fedor@gnu.org>
16304
16305 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
16306 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
16307 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
16308 gdb.objc/basicclass.m: : New files
16309
16310 * lib/gdb.exp (gdb_compile_objc): New procedure.
16311
bea71854
DJ
163122003-04-27 Daniel Jacobowitz <drow@mvista.com>
16313
16314 * gdb.base/signals.exp: Make backtrace tests more specific.
16315
0f20eeea
DC
163162003-04-23 David Carlton <carlton@bactrian.org>
16317
16318 * gdb.c++/maint.exp (test_first_component): Add tests for
16319 'operator' in more locations.
16320
c8c4d8dc
KB
163212003-04-16 Kevin Buettner <kevinb@redhat.com>
16322
16323 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
16324
3fe60e3c
EZ
163252003-04-16 Elena Zannoni <ezannoni@redhat.com>
16326
16327 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 16328 func marke' instead. Update test name.
3fe60e3c 16329
9219021c
DC
163302003-04-15 David Carlton <carlton@math.stanford.edu>
16331
16332 * gdb.c++/maint.exp: New file.
16333
5dd55bdd
EZ
163342003-04-14 Elena Zannoni <ezannoni@redhat.com>
16335
16336 * gdb.threads/schedlock.c: Change type of thread function argument
16337 to long, to avoid warnings on 64-bit platforms.
16338
00890572
EZ
163392003-04-14 Elena Zannoni <ezannoni@redhat.com>
16340
a9c64011
AS
16341 * gdb.base/attach.exp: Add new message from ptrace in case of
16342 attaching to nonexistent process.
d63a86f8 16343
93201743
JB
163442003-04-11 Jim Blandy <jimb@redhat.com>
16345
16346 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
16347 gdb.c++/userdef.cc: Place comments on the lines to which the
16348 marker function might return.
16349 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
16350 gdb.c++/userdef.exp: Look for those comments to check that we've
16351 returned to the right place, instead of checking line numbers.
16352
2a11c64d
EZ
163532003-04-11 Elena Zannoni <ezannoni@redhat.com>
16354
a9c64011
AS
16355 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
16356 match on sourcefile name, instead of directory name.
2a11c64d 16357
68ab8fc5
EZ
163582003-04-10 Elena Zannoni <ezannoni@redhat.com>
16359
d63a86f8 16360 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
16361 working directory name.
16362
5624293a
JB
163632003-04-09 Jim Blandy <jimb@redhat.com>
16364
16365 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
16366 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
16367 after an inferior function call, report the failure, but allow the
16368 test to continue.
16369
f1f02ee4
SC
163702003-04-05 Stephane Carrez <stcarrez@nerim.fr>
16371
16372 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
16373 with -DPROTOTYPES.
16374
6eb79af0
SC
163752003-04-05 Stephane Carrez <stcarrez@nerim.fr>
16376
16377 * gdb.base/break.exp: Revert last patch.
16378
8dfb4cf0
SC
163792003-04-04 Stephane Carrez <stcarrez@nerim.fr>
16380
16381 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
16382 with -DPROTOTYPES.
16383
ed4c619a
AC
163842003-04-02 Andrew Cagney <cagney@redhat.com>
16385
16386 * gdb.base/callfuncs.exp: Make "print add" messages unique.
16387 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
16388 matching directories by the name breakpoint.
16389 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
16390 Make "continue to marker1" consistent.
16391 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
16392 message consistent.
16393 * lib/gdb.exp: Put "the program is no longer running", and "the
16394 program exited" in parenthesis.
16395 * lib/mi-support.exp: Ditto.
d63a86f8 16396
4e35d5f0 163972003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 16398
4e35d5f0
BR
16399 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
16400
71900fe8
AC
164012003-03-29 Andrew Cagney <cagney@redhat.com>
16402
16403 * gdb.base/sizeof.c (main): Print the value of '\377'.
16404 * gdb.base/sizeof.exp: Check the sign of '\377'.
16405
c0655a16
MC
164062003-03-27 Michael Chastain <mec@shout.net>
16407
16408 * gdb.base/gdb1090.exp: New file.
16409 * gdb.base/gdb1090.cc: New file.
16410
5b2a3989
JB
164112003-03-27 J. Brobecker <brobecker@gnat.com>
16412
16413 * gdb.gdb/observer.exp: New regression test.
16414
79876890
MC
164152003-03-27 Michael Chastain <mec@shout.net>
16416
16417 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
16418 * gdb.base/ptype.exp: Likewise.
16419
6eac95e3
CV
164202003-03-27 Corinna Vinschen <vinschen@redhat.com>
16421
16422 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
16423
e8c71839
MC
164242003-03-26 Michael Chastain <mec@shout.net>
16425
16426 * gdb.base/ptype.exp: Actually use some typedef'd types.
16427
71b10041
SC
164282003-03-21 Stephane Carrez <stcarrez@nerim.fr>
16429
16430 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
16431 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
16432
2512cf80
CV
164332003-03-20 Corinna Vinschen <vinschen@redhat.com>
16434
16435 * gdb.base/default.exp: Fix regular expression.
16436
0d195a4f
CV
164372003-03-20 Corinna Vinschen <vinschen@redhat.com>
16438
16439 * gdb.base/args.exp: Fix regular expression.
16440
8a2dbca8
CV
164412003-03-20 Corinna Vinschen <vinschen@redhat.com>
16442
16443 * gdb.base/help.exp: Allow Win32 child process.
16444
bf028682
CV
164452003-03-20 Corinna Vinschen <vinschen@redhat.com>
16446
16447 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
16448 when stepping out of main().
16449
182dbe85
CV
164502003-03-20 Corinna Vinschen <vinschen@redhat.com>
16451
16452 * gdb.base/default.exp: Check for win32 specific message when calling
16453 "run" without executable.
16454
d67a6ba5
CV
164552003-03-20 Corinna Vinschen <vinschen@redhat.com>
16456
16457 * gdb.base/args.exp: Expect .exe in output.
16458
a955b5bb
CV
164592003-03-20 Corinna Vinschen <vinschen@redhat.com>
16460
16461 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
16462 Cygwin native.
16463
bf6bad4b
AC
164642003-03-17 Andrew Cagney <cagney@redhat.com>
16465
16466 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
16467 vector registes.
16468 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
16469 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
16470
293e9a31
DC
164712003-03-17 David Carlton <carlton@math.stanford.edu>
16472
16473 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
16474 test, for PR breakpoints/38.
16475 Call test_watchpoint_and_breakpoint.
16476 * gdb.base/watchpoint.c (func3): New function.
16477 (main): Call func3.
16478
5330f2db
DC
164792003-03-04 David Carlton <carlton@math.stanford.edu>
16480
16481 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
16482 Garply<Garply<char> >:: garply".
16483 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
16484 with respect to PR c++/1111; note also PR c++/1113.
16485 (test_template_breakpoints): KFAIL "constructor breakpoint" with
16486 respect to PR c++/1062.
16487 KFAIL "destructor breakpoint" with respect to PR c++/1112.
16488
6ece72da
DC
164892003-03-03 David Carlton <carlton@math.stanford.edu>
16490
16491 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
16492 with respect to PR c++/57.
16493 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
16494 c++/826.
16495 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
16496 respect to PR c++/57.
16497
85ca1584
DC
164982003-03-03 David Carlton <carlton@math.stanford.edu>
16499
16500 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
16501 respect to PR c++/33 into FAILs.
16502
98e9c5b8
MC
165032003-03-03 Michael Chastain <mec@shout.net>
16504
7bedbf27
MC
16505 * configure.in: Update copyright years.
16506
165072003-03-03 Michael Chastain <mec@shout.net>
16508
16509 * Makefile.in: Update copyright years.
98e9c5b8 16510
f683e100
DC
165112003-02-28 David Carlton <carlton@math.stanford.edu>
16512
16513 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
16514 print class instead of struct and/or superfluous protection
16515 specifiers, as long as the resulting output is equivalent to the
16516 source code.
16517 Delete FIXME from end of messages on tests that don't need
16518 fixing.
16519
a9e0cf2c
DC
165202003-02-28 David Carlton <carlton@math.stanford.edu>
16521
16522 * gdb.c++/templates.exp (do_tests): Allow const in the two
16523 Foo<volatile char *>::foo tests.
16524
e8d359df
MS
165252003-02-27 Michael Snyder <msnyder@redhat.com>
16526
d63a86f8 16527 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
16528 will be consistant.
16529
0b71dc91
DC
165302003-02-26 David Carlton <carlton@math.stanford.edu>
16531
16532 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
16533 char *>::foo" test with respect to PR c++/33. Create a new test
16534 which is identical to that one except that it doesn't put the
16535 space between the "char" and the "*"; KFAIL it, too.
16536
dd14ab43
DC
165372003-02-26 David Carlton <carlton@math.stanford.edu>
16538
16539 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
16540 template types into either PASSes or KFAILs (corresponding to PR
16541 c++/57). Tweak indentation. Update copyright.
16542
1146c7f1
SC
165432003-02-23 Stephane Carrez <stcarrez@nerim.fr>
16544
16545 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
16546
74641dfb
MC
165472003-02-13 Michael Chastain <mec@shout.net>
16548
16549 * gdb.base/exprs.exp: Remove i960 remnants.
16550 * gdb.base/funcargs.exp: Likewise.
16551 * gdb.base/list.exp: Likewise.
16552 * gdb.base/ptype.exp: Likewise.
16553
559cd2d0
DC
165542003-02-14 David Carlton <carlton@math.stanford.edu>
16555
16556 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
16557 pEe->D::vg()" from XFAIL to KFAIL.
16558
c4f90d87
JM
165592003-02-13 Jason Molenda (jmolenda@apple.com)
16560
16561 * gdb.base/maint.exp: Update maint print statistics regexp to include
16562 new entries.
16563
cbc4d97c
MC
165642003-02-13 Michael Chastain <mec@shout.net>
16565
16566 * gdb.c++/inherit.exp: Remove call to get_debug_format.
16567
40f235b7
MC
165682003-02-12 Michael Chastain <mec@shout.net>
16569
16570 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
16571 * gdb.c++/inherit.exp: Likewise.
16572 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
16573 * gdb.c++/templates.exp: Likewise.
16574 * gdb.c++/virtfunc.exp: Likewise.
16575
c56716b0
JM
165762003-02-06 Jason Molenda (jason-cl@molenda.com)
16577
16578 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
16579 why the code is written that way.
16580
070afcf8
MC
165812003-02-05 Michael Chastain <mec@shout.net>
16582
16583 * gdb.base/dump.exp: Add missing copyright line.
16584
5d0331e5
JM
165852003-02-05 Jason Molenda (jason-cl@molenda.com)
16586
f7ae6d3e 16587 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
16588 at the beginning so the breakpoint doesn't get set on the loop.
16589
92851186
MC
165902003-02-05 Michael Chastain <mec@shout.net>
16591
16592 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
16593 output for configurations with gcc 2.95.3.
16594
cbf1e085
AC
165952003-02-05 Keith Seitz <keiths@redhat.com>
16596 Andrew Cagney <ac131313@redhat.com>
16597
16598 * gdb.mi/mi-cli.exp: New file.
d63a86f8 16599
29518e1e
MC
166002003-02-04 Michael Chastain <mec@shout.net>
16601
16602 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
16603 Call perror and then continue.
16604
5af1d5f3
MC
166052003-02-03 Michael Chastain <mec@shout.net>
16606
16607 * gdb.c++/pr-1023.cc: New file.
16608 * gdb.c++/pr-1023.exp: New file.
16609
6b549786
JB
166102003-02-05 Jim Blandy <jimb@redhat.com>
16611
16612 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
16613 it's local to foobar. Check for it there, and check that it's not
16614 present in main.
16615 * gdb.c++/local.cc (marker2): New function.
16616 (foobar): Call marker1.
16617 (main): Call marker2 instead of marker1.
16618
67f16606
AC
166192003-02-04 Andrew Cagney <ac131313@redhat.com>
16620
16621 * gdb.disasm/mn10200.exp: Obsolete file.
16622 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
16623 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
16624 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
16625
1c5cb38e
DC
166262003-02-04 David Carlton <carlton@math.stanford.edu>
16627
16628 * gdb.c++/overload.exp: Test intToChar(1).
16629 * gdb.c++/overload.cc (intToChar): New.
16630 (main): Call intToChar.
16631
d1fe6965
DC
166322003-02-03 David Carlton <carlton@math.stanford.edu>
16633
16634 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
16635 'might_kfail' arg.
16636 KFAIL some of the continue_to_bp_overloaded calls, according to
16637 PR c++/1025.
16638
9ba61c5d
MC
166392003-02-01 Michael Chastain <mec@shout.net>
16640
16641 * gdb.base/advance.c (marker1): New marker function.
16642 * gdb.base/advance.exp: When the 'advance' command lands on the
16643 return breakpoint, it can legitimately stop on either the
16644 current line or the next line. Accommodate both outcomes.
16645 * gdb.base/until.exp: Likewise.
16646
e7494ffb
AC
166472003-02-02 Andrew Cagney <ac131313@redhat.com>
16648
16649 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
16650 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
16651 now a list, not a tuple.
16652 * gdb.mi/mi-var-display.exp: Ditto.
16653 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 16654
075559bc
AC
166552003-02-01 Andrew Cagney <ac131313@redhat.com>
16656
16657 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
16658 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
16659 stack backtraces.
16660 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 16661
2bd4c7b1
MK
166622003-02-01 Mark Kettenis <kettenis@gnu.org>
16663
16664 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
16665 gdb.mi/mi1-pthreads.exp: Return instead of calling
16666 gdb_suppress_entire_file.
16667
eabd8992
MS
166682003-02-01 Mark Salter <msalter@redhat.com>
16669
16670 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
16671
71469e2f
MS
166722003-01-31 Mark Salter <msalter@redhat.com>
16673
16674 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
16675 Support empty arg.
16676
38a94d44
MC
166772003-01-30 Michael Chastain <mec@shout.net>
16678
16679 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
16680 This was a workaround for a UTF-8 bug in readline 4.3. The bug
16681 has been fixed in gdb/readline on 2003-01-09.
16682
19ea9e73
MS
166832003-01-29 Michael Snyder <msnyder@redhat.com>
16684
e8d359df
MS
16685 * gdb.base/maint.exp: Allow for leading underscore in symbol.
16686 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
16687 * gdb.base/args.exp: Skip if target does not support args passing.
16688
2307bd6a
DJ
166892003-01-22 Daniel Jacobowitz <drow@mvista.com>
16690
19ea9e73 16691 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
16692 gdb_test. Accept a list of expect arguments as the third
16693 parameter.
16694 (gdb_test): Use it.
16695
f2dd3617
EZ
166962003-01-20 Elena Zannoni <ezannoni@redhat.com>
16697
16698 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
16699 allow for different test tree configurations. Update some
16700 tescases accordingly.
16701 * gdb.arch/altivec-regs.exp: Ditto.
16702 * gdb.asm/asm-source.exp: Ditto.
16703 * gdb.base/advance.exp: Ditto.
16704 * gdb.base/display.exp: Ditto.
d63a86f8 16705 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
16706 * gdb.base/mips_pro.exp: Ditto.
16707 * gdb.base/overlays.exp: Ditto.
16708 * gdb.base/relocate.exp: Ditto.
16709 * gdb.base/setshow.exp: Ditto.
16710 * gdb.base/step-line.exp: Ditto.
16711 * gdb.base/step-test.exp: Ditto.
16712 * gdb.base/until.exp: Ditto.
16713 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
16714
c71cdefd
DC
167152003-01-17 David Carlton <carlton@math.stanford.edu>
16716
16717 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
16718 corresponding to PR c++/945.
16719 Update copyright.
16720
fdba05d7
DC
167212003-01-17 David Carlton <carlton@math.stanford.edu>
16722
16723 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
16724 corresponding to PR c++/68.
16725
167262003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
16727
16728 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
16729 (test_paddr_hairy_functions): Call print_addr_2_kfail for
16730 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
16731
c362c33a
EZ
167322003-01-15 Elena Zannoni <ezannoni@redhat.com>
16733
0fbc361c
EZ
16734 * gdb.base/break.exp: Fix change of default location, because of
16735 removal of until tests.
16736 * gdb.base/help.exp: Update test for new 'until' help message.
16737 Add test for help on 'advance'.
a9c64011 16738 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 16739
dabf8a35
MK
167402003-01-15 Mark Kettenis <kettenis@gnu.org>
16741
16742 * gdb.base/default.exp: Adapt "info float" test for recent changes
16743 to that command. Add test for "info vector".
16744 * gdb.base/float.exp: New file. Add test for "info float" that
16745 resembles the old test in gdb.base/default.exp.
16746
a1769aca
DC
167472003-01-15 David Carlton <carlton@math.stanford.edu>
16748
16749 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
16750
82025e13
EZ
167512003-01-15 Elena Zannoni <ezannoni@redhat.com>
16752
16753 * gdb.base/break.exp: Move the tests of until command from here...
16754 * gdb.base/until.exp: ... to here. New file. Add other tests.
16755 * gdb.base/advance.c: New file.
16756 * gdb.base/advance.exp: New file.
16757
8f9ab801
EZ
167582003-01-14 Elena Zannoni <ezannoni@redhat.com>
16759
a9c64011
AS
16760 * gdb.base/args.c: New file.
16761 * gdb.base/args.exp: New file.
8f9ab801 16762
9ae66589
DJ
167632003-01-14 Daniel Jacobowitz <drow@mvista.com>
16764
16765 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
16766
8d77e5c3
DJ
167672003-01-14 Daniel Jacobowitz <drow@mvista.com>
16768
16769 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
16770
12d2f0a1
DJ
167712003-01-14 Daniel Jacobowitz <drow@mvista.com>
16772
16773 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
16774 dates.
16775
6ca37014
DJ
167762003-01-13 Daniel Jacobowitz <drow@mvista.com>
16777
16778 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
16779
b0023472
DJ
167802003-01-13 Daniel Jacobowitz <drow@mvista.com>
16781
16782 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
16783 (ptype &*"foo").
16784 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
16785
607fbc54 167862003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
16787
16788 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
16789 * gdb.mi/mi1-console.exp: Likewise.
16790
607fbc54 167912003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
16792
16793 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
16794 * gdb.mi/mi1-console.exp: Likewise.
16795
a1fb14a2
DJ
167962003-01-13 Daniel Jacobowitz <drow@mvista.com>
16797
16798 * gdb.c++/overload.exp: Remove some fixed XFAILs.
16799
c4cf40b7
DJ
168002003-01-09 Daniel Jacobowitz <drow@mvista.com>
16801
16802 * gdb.base/detach.exp: New test.
16803
696d5a5b
DJ
168042003-01-09 Daniel Jacobowitz <drow@mvista.com>
16805
16806 * Makefile.in (ALL_SUBDIRS): New variable.
16807 (subdirs, clean, distclean): Use it.
16808 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
16809 regenerating Makefile, since it is generated from the top level.
16810 * gdb.asm/Makefile.in: Likewise.
16811 * gdb.base/Makefile.in: Likewise.
16812 * gdb.c++/Makefile.in: Likewise.
16813 * gdb.disasm/Makefile.in: Likewise.
16814 * gdb.java/Makefile.in: Likewise.
16815 * gdb.mi/Makefile.in: Likewise.
16816 * gdb.threads/Makefile.in: Likewise.
16817 * gdb.trace/Makefile.in: Likewise.
16818
754533e4
DC
168192003-01-09 David Carlton <carlton@math.stanford.edu>
16820
16821 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
16822 Add copyright year 2003.
16823
d8b3e9ee
MC
168242003-01-06 Michael Chastain <mec@shout.net>
16825
16826 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
16827 When selecting a thread, 'line' and 'file' are optional.
16828 * gdb.mi/mi1-pthreads.exp: Likewise.
16829
8e9e0fe6
AS
168302003-01-06 Andreas Schwab <schwab@suse.de>
16831
16832 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
16833 failures.
16834
b5ab8ff3
DJ
168352003-01-04 Daniel Jacobowitz <drow@mvista.com>
16836
16837 Fix PR gdb/844
16838 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
16839 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
16840
16841 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
16842 instead of calling gdb_suppress_entire_file.
16843 * gdb.threads/print-threads.exp: Likewise.
16844 * gdb.threads/schedlock.exp: Likewise.
16845
16846 * gdb.threads/killed.exp: Return instead of calling
16847 gdb_suppress_entire_file.
16848 * gdb.threads/linux-dp.exp: Likewise.
16849 * gdb.threads/pthreads.exp: Likewise.
16850
1e698235
DJ
168512003-01-04 Daniel Jacobowitz <drow@mvista.com>
16852
16853 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
16854 stabs.
16855 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
16856 * gdb.base/whatis.exp: Always allow (void) after function names.
16857
147ff08c
DJ
168582003-01-04 Daniel Jacobowitz <drow@mvista.com>
16859
16860 * gdb.c++/casts.exp: Correct regexp.
16861
dc62bfc2
MK
168622003-01-04 Mark Kettenis <kettenis@gnu.org>
16863
16864 * configure.in: Call AC_CONFIG_HEADER. Don't call
16865 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
16866 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
16867 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
16868 aforementioned directories in the AC_OUPUT call.
16869 * config.hin: New file.
16870 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
16871 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
16872 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
16873 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
16874 pass -I$objdir instead of -I$objdir/$subdir in compilation.
16875 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
16876 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
16877 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
16878 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
16879 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
16880 gdb.threads/configure.in, gdb.threads/configure,
16881 gdb.threads/config.in, gdb.trace/configure.in,
16882 gdb.trace/configure: Removed.
16883
77afa639
MC
168842003-01-03 Michael Chastain <mec@shout.net>
16885
16886 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
16887 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
16888
7634bb6e
DJ
168892003-01-03 Daniel Jacobowitz <drow@mvista.com>
16890
16891 * gdb.base/store.exp: Fix regular expressions.
16892
b39c905e
MK
168932002-12-28 Mark Kettenis <kettenis@gnu.org>
16894
16895 * configure.in: Rewrite.
16896 * configure: Regenerated.
16897
0a8551dd
DC
168982003-01-03 David Carlton <carlton@math.stanford.edu>
16899
16900 * gdb.base/psymtab.exp: New file.
16901 * gdb.base/psymtab1.c: Ditto.
16902 * gdb.base/psymtab2.c: Ditto.
16903
c60b7188
AF
169042002-12-23 Adam Fedor <fedor@gnu.org>
16905
16906 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
16907
ee73db83
DC
169082002-12-23 David Carlton <carlton@math.stanford.edu>
16909
16910 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
16911 and current_directory initialization.
16912
d6c1774e
JB
169132002-12-22 Jim Blandy <jimb@redhat.com>
16914
f0a847b8
JB
16915 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
16916 rather than as part of the output file name.
16917
d6c1774e
JB
16918 * gdb.base/attach.exp: There's no need to copy the test program to
16919 /tmp; that was only ever necessary on HP/UX, and this test is
16920 entirely disabled there anyway.
16921
f0708dbb
JB
169222002-12-21 Jim Blandy <jimb@redhat.com>
16923
4c2acfea
JB
16924 * gdb.c++/psmang.exp: Doc fix.
16925
f0708dbb
JB
16926 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
16927 test.
16928
9579e000
DC
169292002-12-20 David Carlton <carlton@math.stanford.edu>
16930
16931 * gdb.c++/annota2.exp: KFAIL annotate-quit.
16932
d1810171
MC
169332002-12-18 Michael Chastain <mec@shout.net>
16934
16935 * gdb.c++/annota2.exp: Add copyright year 2002.
16936
76565097
DC
169372002-12-17 David Carlton <carlton@math.stanford.edu>
16938
16939 * gdb.c++/try_catch.cc: Add marker comments.
16940 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
16941 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
16942 * gdb.c++/m-static.cc: Ditto.
16943 * gdb.c++/m-static1.cc: Ditto.
16944 * gdb.c++/try_catch.cc: Ditto.
16945
da81390b
JJ
169462002-12-16 Jeff Johnston <jjohnstn@redhat.com>
16947
16948 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
16949 to see whether we are using the new -environment-directory
16950 command which resets via -r or the old version of the command
16951 which may prompt the user. Part of fix for gdb/741.
16952
b304d130
AC
169532002-12-13 Andrew Cagney <ac131313@redhat.com>
16954
16955 * gdb.fortran/types.exp: Update obsolete comment.
16956 * gdb.fortran/exprs.exp: Ditto.
16957 * lib/gdb.exp: Delete obsolete code.
16958 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
16959 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
16960 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
16961 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
16962 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
16963 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
16964 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
16965 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
16966 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
16967 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
16968 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
16969 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
16970 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
16971 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
16972 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
16973 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
16974 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
16975 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
16976 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
16977 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
16978 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
16979 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
16980 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
16981 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
16982 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
16983 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
16984 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
16985 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
16986 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
16987 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
16988 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
16989 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
16990 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
16991 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
16992 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
16993 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
16994 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
16995
a23b6e6a
DC
169962002-12-11 David Carlton <carlton@math.stanford.edu>
16997
16998 * gdb.c++/m-data.exp: Add test for members that shadow global
16999 variables: see PR gdb/804.
17000 * gdb.c++/m-data.cc: Ditto.
17001
6604731b
DJ
170022002-12-10 Daniel Jacobowitz <drow@mvista.com>
17003
17004 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
17005
de46ecd7
DC
170062002-12-06 David Carlton <carlton@math.stanford.edu>
17007
17008 * gdb.base/store.c: Don't declare functions static.
17009
27e829d0
AC
170102002-12-04 Andrew Cagney <ac131313@redhat.com>
17011
17012 * gdb.base/store.exp, gdb.base/store.c: New files.
17013
92806416
DJ
170142002-12-03 Daniel Jacobowitz <drow@mvista.com>
17015
17016 * gdb.base/selftest.exp: Update for current gdb.
17017
3bcbaac5
DJ
170182002-12-03 Daniel Jacobowitz <drow@mvista.com>
17019
17020 * gdb.base/maint.exp: Only dump symbols from one source file
17021 or objfile.
17022
f4f00b1f
DJ
170232002-12-03 Daniel Jacobowitz <drow@mvista.com>
17024
17025 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
17026 function call.
17027
f1c8a949
JB
170282002-11-25 Jim Blandy <jimb@redhat.com>
17029
17030 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
17031 function appearing in error message.
17032
9e297a97
DJ
170332002-11-21 Daniel Jacobowitz <drow@mvista.com>
17034
17035 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
17036
1f312e79
JJ
170372002-11-08 Jeff Johnston <jjohnstn@redhat.com>
17038
d63a86f8
RM
17039 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
17040 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
17041 should be in mi console format. This is part of fix for PR gdb/604.
17042
83c31e7d
FN
170432002-09-18 Fernando Nasser <fnasser@redhat.com>
17044
17045 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
17046 which explicitly prints the zero offset as "+0".
17047
322b3f65
DJ
170482002-10-22 Daniel Jacobowitz <drow@mvista.com>
17049
17050 * gdb.threads/schedlock.c (args): Make unsigned.
17051
170522002-10-21 Daniel Jacobowitz <drow@mvista.com>
17053
17054 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
17055 numbers. Allow "foo2|selected stack frame".
17056 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
17057 * gdb.asm/asmsrc2.s: Likewise.
17058 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
17059 comments.
17060 * gdb.asm/mips.inc: New file.
17061
5e2fe5b8
AF
170622002-10-18 Adam Fedor <fedor@gnu.org>
17063
17064 * gdb.base/default.exp: Update expected output to include 'ObjC'.
17065 * gdb.base/help.exp: Likewise.
17066
abe1a5d0
KB
170672002-10-17 Kevin Buettner <kevinb@redhat.com>
17068
17069 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
17070 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
17071
10abb1d4
JB
170722002-10-02 Jim Blandy <jimb@redhat.com>
17073
17074 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
17075
1f609b42
AC
170762002-10-01 Andrew Cagney <ac131313@redhat.com>
17077
17078 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
17079 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
17080 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
17081 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
17082 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
17083 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
17084 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
17085
0aee02e4
AC
170862002-09-29 Andrew Cagney <ac131313@redhat.com>
17087
17088 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
17089 * mi0-disassemble.exp, mi0-eval.exp: Delete.
17090 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
17091 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
17092 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
17093 * mi0-var-block.exp, mi0-var-child.exp: Delete.
17094 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 17095
6fde09ad
KB
170962002-09-27 Kevin Buettner <kevinb@redhat.com>
17097
17098 * gdb.base/annota1.exp (info break): Make directory components of
17099 path optional since not all compilers emit this debug information.
17100
889bf7c5
PA
17101 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
17102 step ends up stepping out of the function instead of stopping on
17103 the epilogue.
6fde09ad 17104
9e8aab75
KS
171052002-09-26 Keith Seitz <keiths@redhat.com>
17106
17107 * lib/insight-support.exp (gdbtk_start): Figure out where
17108 the insight executable is based on where gdb is. Use this
17109 executable to start insight instead of gdb.
17110
e36180d7
AC
171112002-09-25 Andrew Cagney <cagney@redhat.com>
17112
17113 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
17114
9dd34b2b
AC
171152002-09-24 Andrew Cagney <ac131313@redhat.com>
17116
17117 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
17118 test_isolated_complaints.
17119 (test_empty_complaint): New function.
17120 (test_empty_complaints): New function. Check no output when no
17121 complaints.
d63a86f8 17122
dea97812
KB
171232002-09-19 Jim Blandy <jimb@redhat.com>
17124
a9c64011 17125 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 17126
54951bd7
AC
171272002-09-19 Andrew Cagney <ac131313@redhat.com>
17128
17129 * gdb.gdb/complaints.exp: New file.
17130
dec43320
AC
171312002-09-18 Andrew Cagney <ac131313@redhat.com>
17132
17133 * gdb.base/maint.exp: Check `help maint internal-warning'.
17134
e70d6e3f
DC
171352002-09-18 David Carlton <carlton@math.stanford.edu>
17136
17137 * gdb.c++/m-static.exp: Remove breakpoints depending on line
17138 numbers, and replace them by a single breakpoint after the
17139 constructors are all finished.
17140 Add test 4.
17141 * gdb.c++/m-static.cc: Add test 4.
17142 * gdb.c++/m-static.h: New file.
17143 * gdb.c++/m-static1.cc: New file.
17144
17145 * gdb.c++/printmethod.exp: New file.
17146 * gdb.c++/printmethod.cc: New file.
17147
17148 * gdb.c++/pr-574.exp: New file.
17149 * gdb.c++/pr-574.cc: New file.
17150
afb5c968
CV
171512002-09-18 Corinna Vinschen <vinschen@redhat.com>
17152
17153 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
17154 embedded targets which never actually exit.
17155
31e45dee
FN
171562002-09-18 Fernando Nasser <fnasser@redhat.com>
17157
17158 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
17159 "don't step after run" as unresolved or unsupported, instead of xfail.
17160
a283c5a1
CV
171612002-09-18 Corinna Vinschen <vinschen@redhat.com>
17162
17163 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
17164 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
17165 Add newline to expected string in "step out of main (status wrapper)"
17166 case.
17167
11350d2a
CV
171682002-09-18 Corinna Vinschen <vinschen@redhat.com>
17169
17170 * lib/gdb.exp (rerun_to_main): Allow restarting application.
17171 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
17172
0deec7d6
TT
171732002-09-17 Tom Tromey <tromey@redhat.com>
17174
17175 * gdb.base/printcmds.exp (test_print_string_constants): Expect
17176 \000, not \0, in double-quoted string.
17177
b2b4a1b5
CV
171782002-09-14 Corinna Vinschen <vinschen@redhat.com>
17179
c9d37158 17180 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
17181 string after running the commands execution on breakpoint tests.
17182
1c56143a
CV
171832002-09-13 Corinna Vinschen <vinschen@redhat.com>
17184
17185 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
17186
37f8da45
JB
171872002-09-12 Joel Brobecker <brobecker@gnat.com>
17188
17189 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
17190
08b468e0
KS
171912002-09-10 Keith Seitz <keiths@redhat.com>
17192
17193 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
17194 runto proc.
17195 (mi_run_to_main): Use mi_runto.
17196 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
17197
dc360f58
KS
171982002-09-10 Keith Seitz <keiths@redhat.com>
17199
17200 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
17201 regexp for stopping at main. Could have multiple event notifications.
17202 Don't assume that main was declared with no parameters.
17203 (mi_next): Use mi_step_to.
17204 (mi_step): Use mi_next_to.
17205
ce3abcfb
CV
172062002-09-09 Corinna Vinschen <vinschen@redhat.com>
17207
17208 * gdb.base/default.exp: Fix expected string in `info float' test.
17209
d1f5b980
BE
172102002-09-09 Ben Elliston <bje@redhat.com>
17211
17212 * config/mips.exp: Update comments.
17213 * config/mips-idt.exp: Likewise.
17214 * config/nind.exp: Likewise.
17215 * config/slite.exp: Likewise.
17216 * config/sparclet.exp: Likewise.
17217 * config/udi.exp: Likewise.
17218 * config/vx.exp: Likewise.
17219 * config/vxworks29k.exp: Likewise.
17220
2f71430b
JB
172212002-09-05 Jim Blandy <jimb@redhat.com>
17222
17223 * gdb.threads/killed.exp: Fix test failure message.
17224
7ddebc7e
KS
172252002-09-04 Keith Seitz <keiths@redhat.com>
17226
17227 * lib/mi-support.exp: Update copyright.
17228 (mi_gdb_test): Increase the priority of the expected pattern
17229 so that it matches gdb_test.
17230
0ae67eb3
KS
172312002-09-03 Keith Seitz <keiths@redhat.com>
17232
17233 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
17234 Use integer comparison instead of string comparison for testing
17235 whether binary was built.
17236
38fc42c8
JB
172372002-09-03 Jim Blandy <jimb@redhat.com>
17238
17239 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
17240
b6ff0e81
JB
172412002-08-29 Jim Blandy <jimb@redhat.com>
17242
17243 * gdb.threads/pthreads.exp: Move the portable thread compilation
17244 code into a function in lib/gdb.exp, and call that from here.
17245 * lib/gdb.exp (gdb_compile_pthreads): New function.
17246
07c98896
KS
172472002-08-29 Keith Seitz <keiths@redhat.com>
17248
17249 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
17250 expect_out so that callers can get at it.
17251
0312286c
DJ
172522002-08-23 Daniel Jacobowitz <drow@mvista.com>
17253
17254 * gdb.threads/print-threads.c: New file.
17255 * gdb.threads/print-threads.exp: New file.
17256 * gdb.threads/schedlock.c: New file.
17257 * gdb.threads/schedlock.exp: New file.
17258
dd039bc4
EZ
172592002-08-22 Elena Zannoni <ezannoni@redhat.com>
17260
a9c64011
AS
17261 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
17262 not altivec.c.
dd039bc4 17263
1f36144c
MK
172642002-08-17 Mark Kettenis <kettenis@gnu.org>
17265
17266 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
17267 targets. The problem should be fixed now.
17268
16057ec7 172692002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
17270
17271 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
17272 2002-07-24 change that removes final dots from error messages.
17273
3c1499ad
TT
172742002-08-13 Tom Tromey <tromey@redhat.com>
17275
17276 * gdb.base/readline.exp: New file.
17277
a20ce2c3
AC
172782002-08-01 Andrew Cagney <ac131313@redhat.com>
17279
17280 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
17281 supress message.
17282
db034ac5
AC
172832002-08-01 Andrew Cagney <cagney@redhat.com>
17284
17285 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
17286 CHILL_FOR_TARGET and CHILL_LIB.
17287 * configure.in (configdirs): Remove gdb.chill.
17288 * configure: Regenerate.
17289 * lib/gdb.exp: Obsolete references to chill.
17290 * gdb.fortran/types.exp: Ditto.
17291 * gdb.fortran/exprs.exp: Ditto.
17292
3e000b18
KB
172932002-07-30 Kevin Buettner <kevinb@redhat.com>
17294
17295 * gdb.base/shlib-call.exp (additional_flags): Conditionally
17296 set Irix-specific compile and link flags.
17297
28f4966b
KB
172982002-07-29 Kevin Buettner <kevinb@redhat.com>
17299
17300 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
17301 source files. The ``-o'' option doesn't work with the ``-E'' option
17302 when using the Irix compiler.
17303
46c0d5a6
DJ
173042002-07-19 Daniel Jacobowitz <drow@mvista.com>
17305
17306 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
17307 Improve support for reusing an exec file. Copy exec file
17308 to target, and run gdbserver on the target instead of on the host.
17309
eecf4bed
JB
173102002-07-18 Jim Blandy <jimb@redhat.com>
17311
0f815cdf
JB
17312 * gdb.base/ending-run.exp: Don't expect to see the program end in
17313 some orderly fashion when we're running on a real stand-alone
17314 board.
17315
eecf4bed
JB
17316 * gdb.base/interrupt.exp: Correct logic for skipping tests on
17317 targets that don't support interrupts.
17318
52d309e4
JB
173192002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
17320
17321 * gdb.base/attach.exp: Add patterns to match output from /proc-based
17322 systems.
17323 Move comments in expect statements to inside the actions, so that they
17324 don't get matched against.
17325
ff683d9e
MK
173262002-07-10 Mark Kettenis <kettenis@gnu.org>
17327
17328 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
17329 function when asleep" test.
17330
b5356753
AC
173312002-07-10 Andrew Cagney <ac131313@redhat.com>
17332
17333 * gdb.base/page.exp: Rewrite to handle problems with very long
17334 `info set' output. Update copyright.
17335
6aa4d13a
AC
173362002-06-26 Andrew Cagney <ac131313@redhat.com>
17337
17338 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
17339 gdb.threads-hp.
17340 * gdb.hp/configure: Regenerate.
17341 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
17342 * gdb.hp/gdb.threads-hp/configure: Delete file.
17343 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
17344
8cf8c2b8
AC
173452002-06-22 Andrew Cagney <ac131313@redhat.com>
17346
17347 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
17348 setlocale, bindtextdomain and textdomain.
17349
6827a8f8
JB
173502002-06-11 Jim Blandy <jimb@redhat.com>
17351
919d772c
JB
17352 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
17353 preprocessor macro information is present.
17354
6827a8f8
JB
17355 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
17356 tests.
17357
c15b0d21
MS
173582002-06-06 Michael Snyder <msnyder@redhat.com>
17359
c5984d70
MS
17360 * gdb.base/overlays.exp: Record addresses of overlay
17361 functions in TCL variables rather than in GDB variables,
17362 to avoid having GDB convert them to pointers (with loss
17363 of information).
17364
d63a86f8 17365 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 17366 default linker script changes.
c15b0d21
MS
17367 * gdb.base/long_long.exp: Add check for sizeof (long double).
17368
be26fe0d
ML
173692002-06-06 Michal Ludvig <mludvig@suse.cz>
17370
17371 * gdb.asm/asm-source.exp: Add x86-64 target.
17372 * gdb.asm/x86_64.inc: New.
d63a86f8 17373
258093ca 173742002-05-30 Michael Chastain <mec@shout.net>
258093ca 17375
4b3153f1 17376 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
17377 * gdb.c++/m-static.cc: New file.
17378 * gdb.c++/m-static.exp: New file.
17379
241264c6
MS
173802002-05-28 Michael Snyder <msnyder@redhat.com>
17381
17382 * gdb.base/call-ar-st.exp: Allow for reduced floating point
17383 precision.
17384
9bba8c8f 173852002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 17386
4b3153f1 17387 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
17388 * gdb.c++/m-data.cc: New file.
17389 * gdb.c++/m-data.exp: New file.
17390
173912002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 17392
4b3153f1 17393 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 17394 * gdb.c++/try_catch.cc: New file.
d63a86f8 17395 * gdb.c++/try_catch.exp: New file.
9bba8c8f 17396
def1b996
MC
173972002-05-27 Michael Chastain <mec@shout.net>
17398
17399 * gdb.c++/local.exp: Accept more nested types in output.
17400
522ba268
MC
174012002-05-26 Michael Chastain <mec@shout.net>
17402
17403 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
17404
277254ba
MS
174052002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
17406
17407 * lib/gdb.exp (gdb_wrapper_init): Just because
17408 gdb_wrapper_file exists, this does not mean that the file
17409 should not be rebuilt. That is what gdb_wrapper_initialized
17410 is for.
17411 (default_gdb_init): Reset gdb_wrapper_initialized.
17412
b61a8733
MS
174132002-05-23 Michael Snyder <msnyder@redhat.com>
17414
d63a86f8 17415 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
17416 the precision of the floating point test results.
17417 * gdb.base/call-rt-st.exp: Ditto.
17418
b61a8733
MS
17419 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
17420 * gdb.base/call-rt-st.exp: Ditto.
17421
56f6e910
MC
174222002-05-19 Michael Chastain <mec@shout.net>
17423
17424 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
17425
ad0b0016
EZ
174262002-05-19 Elena Zannoni <ezannoni@redhat.com>
17427
a9c64011
AS
17428 * configure.in (configdirs): Add gdb.arch.
17429 * configure: Regenerate.
ad0b0016 17430
f617d2b6
JB
174312002-05-17 Jim Blandy <jimb@redhat.com>
17432
17433 * gdb.base/completion.exp: Recognize the more detailed error
17434 messages produced by the macro expander's lexical analyzer.
17435
eac2a696
EZ
174362002-05-14 Elena Zannoni <ezannoni@redhat.com>
17437
a9c64011
AS
17438 * gdb.arch/altivec-abi.c: New file.
17439 * gdb.arch/altivec-abi.exp: New file.
17440 * gdb.arch/altivec-regs.c: New file.
17441 * gdb.arch/altivec-regs.exp: New file.
eac2a696 17442
2fdde8f8
DJ
174432002-05-14 Daniel Jacobowitz <drow@mvista.com>
17444
17445 * gdb.base/maint.exp (maint print type): Update for new type
17446 structure.
d63a86f8 17447
e31f1a7c
EZ
174482002-05-14 Elena Zannoni <ezannoni@redhat.com>
17449
17450 * gdb.arch: New directory.
17451 * gdb.arch/configure.in: New file.
17452 * gdb.arch/configure: New file.
17453 * gdb.arch/Makefile.in: New file.
17454
db589741
CV
174552002-05-13 Corinna Vinschen <vinschen@redhat.com>
17456
17457 * gdb.asm/asm-source.exp: Add v850 as supported target.
17458 * gdb.asm/v850.inc: New file.
17459
8ce2a7dc
DJ
174602002-05-13 Daniel Jacobowitz <drow@mvista.com>
17461
17462 * gdb.c++/annota2.exp (annotate-quit): Add comment.
17463
df763c7f
DJ
174642002-05-12 Daniel Jacobowitz <drow@mvista.com>
17465
17466 * gdb.base/break.exp: Check 'break "marker2"'.
17467
377daeed
MS
174682002-05-10 Michael Snyder <msnyder@redhat.com>
17469
17470 * gdb.base/long_long.exp: Fix typo.
17471
c4b7bc2b
JB
174722002-05-10 Jim Blandy <jimb@redhat.com>
17473
ecac9a4e
JB
17474 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
17475 a bug.
17476
c4b7bc2b
JB
17477 * gdb.base/printcmds.exp (test_integer_literals_rejected):
17478 Recognize more detailed error message produced by the macro
17479 expander's lexical analyzer.
17480 * lib/gdb.exp (test_print_reject): Same.
17481
e71019a1
MK
174822002-05-09 Mark Kettenis <kettenis@gnu.org>
17483
17484 * gdb.c++/method.exp: Fix typo.
17485
fedfc8e6
MS
174862002-05-08 Michael Snyder <msnyder@redhat.com>
17487
166a1957
MS
17488 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
17489 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 17490 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
17491 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
17492 Add iftarget clause for strongarm.
d63a86f8 17493
f1c47eb2
MS
174942002-05-06 Michael Snyder <msnyder@redhat.com>
17495
cb9a9d3e
MS
17496 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
17497 (gdb_continue_to_end): Accept output from status wrapper.
17498 * gdb.base/ending-run.exp: Add case for output from status wrapper.
17499 Clean up fail messages to match pass messages.
17500
f1c47eb2
MS
17501 Enable the "needs_status_wrapper" testsuite feature.
17502 * lib/gdb.exp (gdb_wrapper_init): New procedure.
17503 (gdb_compile): Conditionally call gdb_wrapper_init.
17504 * gdb.base/a2-run.exp: Recognize output from status wrapper.
17505 * gdb.c++/method.exp: Recognize output from status wrapper.
17506
6079c749
BE
175072002-05-06 Ben Elliston <bje@redhat.com>
17508From Graydon Hoare <graydon@redhat.com>
17509
17510 * config/sid.exp: Include support for "rawsid" protocol.
17511
188baff3
JB
175122002-05-03 Jim Blandy <jimb@redhat.com>
17513
17514 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
17515 * gdb.c++/hang3.C: New file.
17516
b9c07f0f
AC
175172002-05-04 Andrew Cagney <ac131313@redhat.com>
17518
17519 * gdb.base/default.exp: Remove obsolete code.
17520 * gdb.c++/misc.exp: Ditto. Update copyright.
17521 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
17522 * gdb.base/whatis.exp: Ditto. Update copyright.
17523 * gdb.base/scope.exp: Ditto. Update copyright.
17524 * gdb.base/ptype.exp: Ditto. Update copyright.
17525 * gdb.base/printcmds.exp: Ditto. Update copyright.
17526 * gdb.base/opaque.exp: Ditto. Update copyright.
17527 * gdb.base/list.exp: Ditto.
17528 * gdb.base/funcargs.exp: Ditto. Update copyright.
17529 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
17530 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
17531 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
17532 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
17533 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
17534 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
17535
5c7a0397
MS
175362002-05-02 Michael Snyder <msnyder@redhat.com>
17537
d6dcc264 17538 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
17539 * gdb.base/long_long.exp: Add xscale target.
17540 * gdb.base/default.exp: Add xscale target.
17541
eb7f1c48
JB
175422002-05-01 Jim Blandy <jimb@redhat.com>
17543
17544 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
17545 gdb.c++/hang.exp: New test.
17546
a6befae8
FF
175472002-05-01 Fred Fish <fnf@redhat.com>
17548
17549 * gdb.base/completion.exp: Handle completions of "./Make" for
17550 more than one completion possibility, as is the case when we
17551 build and test in the source tree.
17552
0a310277
AG
175532002-04-29 Anthony Green <green@redhat.com>
17554
17555 * gdb.java/jmisc1.exp: New file.
17556 * gdb.java/jmisc2.exp: New file.
17557
6ff9af88
DJ
175582002-04-24 Daniel Jacobowitz <drow@mvista.com>
17559
17560 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
17561
96b3d632
EZ
175622002-04-23 Elena Zannoni <ezannoni@redhat.com>
17563
17564 * gdb.base/help.exp: Change 'help status' to allow for target
17565 dependent output differences.
17566
5019bb54
MC
175672002-04-22 Michael Chastain <mec@shout.net>
17568
17569 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
17570
a805a116
MC
175712002-04-22 Michael Chastain <mec@shout.net>
17572
17573 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
17574
a1706bfd
DM
175752002-04-17 David S. Miller <davem@redhat.com>
17576
17577 * gdb.asm/sparc64.inc: New file.
17578 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
17579
a73a20a2
EZ
175802002-04-19 Elena Zannoni <ezannoni@redhat.com>
17581
17582 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
17583 instruction file directly into the build tree. Clean up at end of
17584 test.
17585
ba678339
DM
175862002-04-18 David S. Miller <davem@redhat.com>
17587
17588 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
17589 handle 64-bit platforms correctly.
17590 * gdb.base/maint.exp: Likewise.
17591
b03399da
KB
175922002-04-18 Kevin Buettner <kevinb@redhat.com>
17593
17594 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
17595 ``-fpic'' when compiling files comprising a shared library, but
17596 it does need additional linker flags in order to find shared
17597 libraries at run time.
17598
e2004992
KB
175992002-04-18 Kevin Buettner <kevinb@redhat.com>
17600
17601 * gdb.base/cvexpr.c (use): New function.
17602 (main): Invoke use() on all global variables to prevent
17603 some linkers from deleting these otherwise unused symbols.
17604
d8937120
MC
176052002-04-17 Michael Chastain <mec@shout.net>
17606From David S. Miller <davem@redhat.com>
17607
17608 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
17609 handle 64-bit platforms correctly.
17610
ffd61a58
MS
176112002-04-12 Michael Snyder <msnyder@redhat.com>
17612From Jim Blandy <jimb@redhat.com>
a9c64011 17613 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
17614 script can handle this instead.
17615 * gdb.base/bar.c (barx): Same.
17616 * gdb.base/baz.c (bazx): Same.
17617 * gdb.base/grbx.c (grbxx): Same.
17618
17619 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
17620 manager doesn't automatically unmap overlays unnecessarily.
17621
6b8426a6
MH
176222002-04-10 Martin M. Hunt <hunt@redhat.com>
17623
17624 * gdb.base/ending-run.exp: Fix pattern for Mips targets
17625 stepping out of main.
17626
34af4875
MC
176272002-04-09 Michael Chastain <mec@shout.net>
17628
17629 * gdb.c++/local.cc (main): Move call to marker1() inside nested
17630 scope so that the nested scope tests will make sense.
17631 * gdb.c++/local.exp: Write patterns that actually work with gcc
17632 (the HP patterns "were never known to work with gcc").
17633 Keep the old aCC patterns too.
17634
2d1676a0
DJ
176352002-04-09 Daniel Jacobowitz <drow@mvista.com>
17636
17637 * gdb.base/attach.exp: Correct target board test.
17638
3a63e3f9
MC
176392002-04-08 Michael Chastain <mec@shout.net>
17640
17641 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
17642 in a const method. Add some xfail and fail cases for configurations
17643 that do not emit the "const ...".
17644
f18dabd2
MC
176452002-04-07 Michael Chastain <mec@shout.net>
17646
17647 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
17648 Accept "A * const" and "const A * const" as type of "this".
17649 Fix spelling of getFunky throughout. Make messages uniform.
17650
0fcddd82
EZ
176512002-04-07 Elena Zannoni <ezannoni@redhat.com>
17652
a9c64011 17653 Work around for PR gdb/285:
0fcddd82
EZ
17654 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
17655
16a8534a
EZ
176562002-04-07 Elena Zannoni <ezannoni@redhat.com>
17657
17658 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
17659 instructions file at run time instead of configure time.
17660 Sometimes we run the test in a directory that is not the one we
17661 configured in.
17662 * gdb.asm/configure.in: Delete creation of symlink.
17663 * gdb.asm/configure: Regenerate.
17664
24181d81
JB
176652002-04-05 J. Brobecker <brobecker@gnat.com>
17666
17667 * gdb.gdb/xfullpath.exp: New test, to exercise the new
17668 xfullpath () function.
17669
7cdb7107
DJ
176702002-04-04 Daniel Jacobowitz <drow@mvista.com>
17671
17672 * gdb.asm/Makefile.in: Correct dependencies.
17673
17674 * gdb.asm/powerpc.inc: New file.
17675 * gdb.asm/asm-source.exp: Add PowerPC.
17676 * gdb.asm/configure.in: Likewise.
17677 * gdb.asm/configure: Regenerated.
17678
a7d17088
DJ
176792002-04-04 Daniel Jacobowitz <drow@mvista.com>
17680
17681 * gdb.base/relocate.exp: New file.
17682 * gdb.base/relocate.c: New file.
17683
cd721503
FF
176842002-04-04 Fred Fish <fnf@redhat.com>
17685
17686 * gdb.base/step-test.exp: Update comment regarding stopping in
17687 memcpy/bcopy calls inserted as part of the compiler runtime.
17688
b22ad7a7
MS
176892002-04-04 Michael Snyder <msnyder@redhat.com>
17690
17691 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
17692
5f279fa6
DJ
176932002-04-03 Daniel Jacobowitz <drow@mvista.com>
17694
17695 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
17696 (gdb_expect): Remove $notransfer hack.
17697
dd0fd3ce
DJ
176982002-04-02 Daniel Jacobowitz <drow@mvista.com>
17699
17700 * gdb.c++/classes.exp ("calling method for small class"): Match
17701 updated register output.
17702
1e50cda1
DJ
177032002-03-30 Daniel Jacobowitz <drow@mvista.com>
17704
17705 Fix PR gdb/452
17706 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
17707 when finished. Make gdb_file_cmd send "exec-file" when
17708 appropriate.
17709
24015922
DJ
177102002-03-30 Daniel Jacobowitz <drow@mvista.com>
17711
17712 * gdb.base/attach.exp: Remove extra setup_xfail.
17713
dd7dfd64
MS
177142002-03-26 Michael Snyder <msnyder@redhat.com>
17715
17716 * gdb.base/default.exp: Add tests for dump, append, and restore.
17717 * gdb.base/help.exp: Add tests for dump, append, and restore.
17718 * gdb.base/dump.exp: New file, test dump, append and restore.
17719 * gdb.base/dump.c: New file.
17720
48b2f8d7
MS
177212002-03-27 Michael Snyder <msnyder@redhat.com>
17722
d63a86f8 17723 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
17724 clean-ups in help messages.
17725
05b4d525
FF
177262002-03-26 Fred Fish <fnf@redhat.com>
17727
17728 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
17729 have debugging info for those functions and the compiler uses them
17730 internally to copy structs around.
17731
d7679631
FF
177322002-03-26 Fred Fish <fnf@redhat.com>
17733
17734 * gdb.base/list.exp: Revert the change made yesterday and add note
17735 about why we don't list the default lines for remote targets.
17736
523ac3f9
MS
177372002-03-25 Michael Snyder <msnyder@redhat.com>
17738
17739 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
17740
754b2b8d
FF
177412002-03-25 Fred Fish <fnf@redhat.com>
17742
17743 * gdb.base/list.exp: This test works on remote targets so remove
17744 the short circuit for remote targets. Update copyright.
17745
33c3e192
FF
177462002-03-25 Fred Fish <fnf@redhat.com>
17747
17748 * gdb.base/attach.exp: Fix logic error that was suppressing this
17749 test for all non hppa*-*-hpux* targets, instead of the hp target.
17750 Move comments closer to the suppression point. Also now need to
17751 check that we are running natively.
17752
d43e73ee
MS
177532002-03-22 Michael Snyder <msnyder@redhat.com>
17754
882c8f02
MS
17755 * gdb.base/default.exp: Add test for gcore. Update copyright.
17756 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 17757
04c12f60
FF
177582002-03-06 Fred Fish <fnf@redhat.com>
17759
17760 * gdb.base/funcargs.c: Remove extraneous ';' character.
17761 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
17762
b43df995
MC
177632002-03-04 Michael Chastain <mec@shout.net>
17764
17765 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
17766 accommodate gcc v3 function signature.
17767 * gdb.mi/mi0-var-cmd-exp: Ditto.
17768
92362027
AC
177692002-02-24 Andrew Cagney <ac131313@redhat.com>
17770
17771 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
17772 ``GNU/Linux'' or ``Linux kernel''
17773 * testsuite/gdb.threads/pthreads.c: Ditto.
17774
258ad32d
MC
177752002-02-24 Michael Chastain <mec@shout.net>
17776
17777 * gdb.threads/pthreads.c (thread1): Add a return statement.
17778 (thread2): Likewise.
17779 (foo): Likewise.
17780
04c3b3d4
MC
177812002-02-23 Michael Chastain <mec@shout.net>
17782
17783 * gdb.threads/linux-dp.c (philosopher): Add a return statement
17784 to placate gcc.
17785
5a2a0a20
MC
177862002-02-23 Michael Chastain <mec@shout.net>
17787
17788 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
17789 test "ptype bint". The test passes on all my stabs configurations.
17790
a640f7fc
JB
177912002-02-21 Jim Blandy <jimb@redhat.com>
17792
27924826
JB
17793 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
17794 filename at a time, and watch for the ones we want to see.
17795
a640f7fc
JB
17796 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
17797 types of pointers to prototyped functions.
17798
edcc8c75
AC
177992002-02-20 Andrew Cagney <ac131313@redhat.com>
17800
17801 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
17802 signed, unsigned and straight char.
17803 (padding_char, padding_short, padding_int, padding_long,
17804 padding_long_long, padding_float, padding_double,
17805 padding_long_double): New global variables.
17806 (fill, fill_structs): New functions.
17807
17808 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
17809 for correctly sized writes. Update copyright.
17810 (get_valueof): New procedure.
17811 (get_sizeof): Call get_valueof.
17812 (check_valueof): New procedure.
17813 (check_padding): New procedure.
17814
ac57ea44
MC
178152002-02-20 Michael Chastain <mec@shout.net>
17816
17817 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
17818 to setup_xfail. Document some of the remaining calls.
17819
7a10c941
MC
178202002-02-18 Michael Chastain <mec@shout.net>
17821
17822 * gdb.c++/userdef.exp: Update copyright year.
17823
fb8acdcc
DJ
178242002-02-18 Daniel Jacobowitz <drow@mvista.com>
17825
17826 * gdb.c++/userdef.exp: Test overloaded operators properly.
17827 Remove xfails.
17828
fda6ae12
MS
178292002-02-14 Michael Snyder <msnyder@redhat.com>
17830
17831 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
17832
676a0442
DJ
178332002-02-14 Daniel Jacobowitz <drow@mvista.com>
17834
17835 * gdb.base/a2-run.exp: Check for a remote target properly.
17836 * gdb.base/annota1.exp: Likewise.
17837 * gdb.base/list.exp: Likewise.
17838 * gdb.base/reread.exp: Likewise.
17839 * gdb.base/scope.exp: Likewise.
17840 * gdb.base/shlib-call.exp: Likewise.
17841 * gdb.base/term.exp: Likewise.
17842 * gdb.c++/annota2.exp: Likewise.
17843
78b4f468
RE
178442002-02-13 Richard Earnshaw <rearnsha@arm.com>
17845
17846 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
17847
9a81ba51
MC
178482002-02-10 Michael Chastain <mec@shout.net>
17849
17850 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
17851 (call_after_alloca): Ditto.
17852
004af6c7
DJ
178532002-02-10 Daniel Jacobowitz <drow@mvista.com>
17854
17855 * gdb.base/ending-run.exp: Guard "cont" test with
17856 gdb_skip_stdio_test.
17857
37225f62
JB
178582002-02-06 Jim Blandy <jimb@redhat.com>
17859
17860 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
17861 from here...
17862 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
17863 To here. Disable this test on non-HP platforms. Add big comment.
17864
fe6fdd96
MS
178652002-02-04 Michael Snyder <msnyder@redhat.com>
17866
17867 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
17868 other than d10v and m32r.
17869
036fad3f
RE
178702002-02-02 Richard Earnshaw <rearnsha@arm.com>
17871
17872 * gdb.base/default.exp: Rewrite test patterns to reduce time
17873 taken to match them.
17874
7148ab62
DJ
178752002-01-30 Daniel Jacobowitz <drow@mvista.com>
17876
17877 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
17878 Allow a start function above main.
17879 * gdb.threads/linux-dp.exp: Fix copyright date.
17880
396cc255
DJ
178812002-01-30 Daniel Jacobowitz <drow@mvista.com>
17882
a9c64011
AS
17883 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
17884 (check_philosopher_stack): Check for manager thread before checking
17885 for a just-starting thread.
396cc255 17886
f038d31b
DJ
178872002-01-30 Daniel Jacobowitz <drow@mvista.com>
17888
17889 From Neil Booth <neil@daikokuya.demon.co.uk>:
17890 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
17891 warnings.
17892
b3ff9d9a
FF
178932002-01-21 Fred Fish <fnf@redhat.com>
17894
17895 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
17896 not caller.
17897
39ad761d
JB
178982002-01-21 Jim Blandy <jimb@redhat.com>
17899
17900 * gdb.base/reread.exp: Check that GDB properly re-reads the
17901 executable file when it changes while no inferior is running.
17902
aaf320fa
FF
179032002-01-21 Fred Fish <fnf@redhat.com>
17904
a9c64011
AS
17905 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
17906 optionally accept the "shlib events" variation.
aaf320fa 17907
808a31f5
JB
179082002-01-21 Jim Blandy <jimb@redhat.com>
17909
17910 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
17911 call `fflush' after every `printf', so that the output is produced
17912 at predictable points, regardless of whatever buffering does (or
17913 doesn't) take place.
17914 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
17915 at different points.
17916
4420d5e2
DJ
179172002-01-20 Daniel Jacobowitz <drow@mvista.com>
17918
17919 * gdb.c++/inherit.exp: Update copyright years.
17920 * gdb.c++/method.exp: Likewise.
17921
3e36a0f4
DJ
179222002-01-20 Daniel Jacobowitz <drow@mvista.com>
17923
17924 * gdb.c++/classes.exp: Update for improved v3 support and skipping
17925 artificial methods/arguments.
17926 * gdb.c++/derivation.exp: Likewise.
17927 * gdb.c++/inherit.exp: Likewise.
17928 * gdb.c++/method.exp: Likewise.
17929 * gdb.c++/virtfunc.exp: Likewise.
17930
b4ceaee6
AC
179312002-01-18 Andrew Cagney <ac131313@redhat.com>
17932
17933 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
17934 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
17935 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
17936 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
17937 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
17938 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
17939
ecace851
JB
179402002-01-17 Jim Blandy <jimb@redhat.com>
17941
17942 * gdb.asm/asm-source.exp (info symbol): Take another shot at
17943 anchoring the pattern matching the entry point symbol's name.
17944
375fc983
AC
179452002-01-17 Andrew Cagney <ac131313@redhat.com>
17946
17947 * gdb.base/maint.exp: Update ``maint internal-error'' to match
17948 continue/quit query. Update copyright.
17949
fe6fdd96
MS
179502002-01-14 Michael Snyder <msnyder@redhat.com>
17951
17952 * gdb.base/gcore.exp: Remove extra debugging output.
17953
e017c81f
DJ
179542002-01-13 Daniel Jacobowitz <drow@mvista.com>
17955
17956 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
17957 for slightly dubious v2 mangled string.
17958
37ab3bf8
DJ
179592002-01-13 Daniel Jacobowitz <drow@mvista.com>
17960
17961 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
17962
1bc05c3a 179632002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 17964
1bc05c3a 17965 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 17966
1bc05c3a
JM
17967 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
17968 constructors.
17969 * gdb.c++/derivation.exp: Likewise.
17970 * gdb.c++/templates.exp: Likewise.
17971 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 17972
1bc05c3a
JM
179732002-01-10 Michael Snyder <msnyder@redhat.com>
17974
17975 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 17976
a911c360
MS
179772002-01-08 Michael Snyder <msnyder@redhat.com>
17978
17979 * gdb.base/gcore.exp: New test for generate-core-file command.
17980 * gdb.base/gcore.c: Testcase for above.
17981 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
17982
ea2119ec
JM
179832002-01-08 Jason Merrill <jason@redhat.com>
17984
17985 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
17986
68203136
FF
179872002-01-07 Fred Fish <fnf@redhat.com>
17988
17989 * gdb.c++/overload.exp: Remove unconditional xfails for:
17990 print foo_instance1.overloadargs(1)
17991 print foo_instance1.overloadargs(1, 2)
17992 print foo_instance1.overloadargs(1, 2, 3)
17993 print foo_instance1.overloadargs(1, 2, 3, 4)
17994 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
17995 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
17996 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
17997 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
17998 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
17999 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
18000 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
18001 print foo_instance1.overload1arg()
18002 print foo_instance1.overload1arg((char)arg2)
18003 print foo_instance1.overload1arg((signed char)arg3)
18004 print foo_instance1.overload1arg((unsigned char)arg4)
18005 print foo_instance1.overload1arg((int)arg7)
18006 print foo_instance1.overload1arg((unsigned int)arg8)
18007 print foo_instance1.overload1arg((float)arg11)
18008 print foo_instance1.overload1arg((double)arg12)
d63a86f8 18009
21b9b5b1
MS
180102002-01-07 Michael Snyder <msnyder@redhat.com>
18011
18012 * gdb.base/huge.exp: New test. Print a very large target data object.
18013 (skip_huge_test): New test variable. Define if you want to skip this
18014 test. The test reads an 8 megabyte data object from the target, so it
18015 might be very time consuming on remote targets with a slow connection.
18016 * gdb.base/huge.c: New file. Test case for above.
18017
725f922e
FF
180182002-01-07 Fred Fish <fnf@redhat.com>
18019
18020 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
18021 g_instance.bfoo, and g_instance.cfoo.
18022
889bf7c5 180232002-01-07 Jeffrey A Law <law@redhat.com>
634d57ec 18024
889bf7c5
PA
18025 * gdb.base/break.c (multi_line_if_conditional): New function.
18026 (multi_ilne_while_conditional): Likewise.
18027 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
18028 IF or WHILE condition puts the breakpoint at the start of
18029 the condition.
f286b2c3 18030
634d57ec
JL
18031 * gdb.base/selftest.exp (backtrace through signal handler): Remove
18032 hppa*-*-hpux* expected failure.
18033 * gdb.base/structs.exp (do_function_calls): Similarly.
18034
18035 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
18036 watchpoints.
18037
9fbfe2dc
AC
180382002-01-06 Andrew Cagney <ac131313@redhat.com>
18039
18040 Fix PR gdb/66.
18041 * gdb.base/structs.exp: Replace skip for a29k with skip for
18042 gdb,cannot_call_functions.
18043 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
18044 * gdb.base/callfuncs.exp: Ditto.
18045 * gdb.base/call-rt-st.exp: Ditto.
18046 * gdb.base/call-strs.exp: Ditto.
18047 * gdb.base/callfwmall.exp: Ditto.
18048 * gdb.base/scope.exp: Obsolete xfail a29k.
18049 * gdb.c++/misc.exp: Ditto.
18050 * gdb.c++/cplusfuncs.exp: Ditto.
18051 * gdb.base/ptype.exp: Ditto.
18052 * gdb.base/printcmds.exp: Ditto.
18053 * gdb.base/opaque.exp: Ditto.
18054 * gdb.base/list.exp: Ditto.
18055 * gdb.base/funcargs.exp: Ditto.
18056 * gdb.base/default.exp: Ditto.
18057
8ddad156
MS
180582002-01-04 Michael Snyder <msnyder@redhat.com>
18059
ca4976a6 18060 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
18061 * gdb.base/maint.exp: Add tests for maint info sections options.
18062
1b074332
JL
18063Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
18064
18065 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
18066
7d159115
CV
180672001-12-20 Corinna Vinschen <vinschen@redhat.com>
18068
18069 * gdb.asm/arm.inc: New file.
18070 * gdb.asm/asm-source.exp: Add arm targets.
18071 * gdb.asm/configure.in: Ditto.
18072 * gdb.asm/configure: Recreated from configure.in.
18073
8fb87725
JL
18074Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
18075
afabe08c
JL
18076 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
18077 with HP's compiler.
18078 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
18079 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
18080 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
18081 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
18082
18083 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
18084 either HP's compilers or GCC.
18085
db521deb
JL
18086 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
18087 a SIGBUS or SIGSEGV.
18088
18089 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
18090
18091 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
18092 can be compiled with either HP's compiler or GCC.
18093
cfa88ab7
JL
18094 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
18095 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
18096 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
18097
ca344dff
JL
18098 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
18099 to match current gdb output. Update due to using auto-solib-limit
18100 for limiting instead of overloading auto-solib-add.
18101 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
18102 test program.
18103
3f3c6e55 18104 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
18105 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
18106 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
18107 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
18108 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
18109 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
18110 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
18111 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
18112 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
18113 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
18114 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
18115 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
18116 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 18117
8fb87725
JL
18118 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
18119 a SIGTRAP to the inferior.
18120
cf599fa7
CV
181212001-12-19 Corinna Vinschen <vinschen@redhat.com>
18122
18123 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
18124 Substitute call to target_link by call to gdb_compile.
18125
2cd045cd
JL
18126Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
18127
a9c64011
AS
18128 * gdb.base/break.exp: Fix HP specific search string when testing
18129 backtracing in a called function.
2cd045cd 18130
a9c64011
AS
18131 * gdb.base/constvars.exp: Only set lang to C++ if we're
18132 compiling the test with HP's compilers.
18133 * gdb.base/volatile.exp: Similarly.
2cd045cd 18134
99ebe9ac
JB
181352001-12-19 Jim Blandy <jimb@redhat.com>
18136
18137 * gdb.base/printcmds.exp: Expect the null character to be printed
18138 as '\0', and the '\013' to be printed as '\v'.
18139 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
18140 * gdb.base/setvar.exp: Same.
18141
b9891b29
JB
181422001-12-17 Jim Blandy <jimb@redhat.com>
18143
0eba65ab
JB
18144 * gdb.base/completion.exp: Rather than completing very long
18145 filenames, which can make the readline library produce output we
18146 don't recognize, cd to the directory first, and then complete
18147 using nice, short relative paths.
18148
6970b5b1
JB
18149 * gdb.base/completion.exp: On some systems, there is, in fact, a
18150 variable named `b' in scope, since GDB treats all static
a9c64011
AS
18151 variables as being in scope. So use `no_var_named_this'
18152 instead of `b'.
6970b5b1 18153
b9891b29 18154 * gdb.base/corefile.exp: Recognize the message saying that GDB
889bf7c5 18155 can't find the core file's registers as a failure.
b9891b29 18156
e6ccd35f
JSC
181572001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
18158
a9c64011
AS
18159 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
18160 test expect string more specific.
e6ccd35f 18161
105ba819
CV
181622001-12-13 Corinna Vinschen <vinschen@redhat.com>
18163
18164 * gdb.asm/asm-source.exp: Add support for xstormy16.
18165 * gdb.asm/configure.in: Ditto.
18166 * gdb.asm/configure: Rebuild.
18167 * gdb.asm/xstormy16.inc: New file.
18168
e9e79dd9
FF
181692001-12-10 Fred Fish <fnf@redhat.com>
18170
18171 * gdb.base/maint.exp: Update to match changes in type dumping code.
18172
347dc97d
JB
181732001-12-10 Jim Blandy <jimb@redhat.com>
18174
18175 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
889bf7c5
PA
18176 matching the entry point symbol's name at the beginning of the
18177 line.
347dc97d 18178
5178b9d6
DJ
181792001-12-07 Daniel Jacobowitz <drow@mvista.com>
18180
18181 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
18182 gdb.c++/inherit.exp, gdb.c++/method.exp,
18183 gdb.c++/namespace.exp, gdb.c++/templates.exp,
18184 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
18185 and class layout support.
18186
af890c52
DJ
181872001-12-07 Daniel Jacobowitz <drow@mvista.com>
18188
18189 * gdb.c++/classes.exp: Add test for static member function.
18190 * gdb.c++/misc.cc: Add class with static member function.
18191
7a345fb3
JB
181922001-12-07 Jim Blandy <jimb@redhat.com>
18193
f2e54a80 18194 If GDB says it can't find the struct the function returned, report
8032bf31
JB
18195 those tests as `unsupported'.
18196 * gdb.base/call-rt-st.exp (print_struct_call): New function.
18197 Rewrite subsequent tests to use it.
18198
18199 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
18200 those tests as `unsupported'.
18201 * gdb.base/structs.exp (call_struct_func): New function.
18202 (do_function_calls): Use call_struct_func to call the functions
18203 returning structs.
18204
0bc69509
JB
18205 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
18206 whether functions are prototyped or not, so we can't possibly pass
18207 arguments to t_float_values2 properly.
18208
7a345fb3
JB
18209 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
18210 value of `timeout' for targets other than the mips*tx39-*.
18211
edb6ede1
MS
182122001-12-06 Michael Snyder <msnyder@redhat.com>
18213
d63a86f8 18214 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
18215 and detect whether the start symbol has a leading underscore.
18216
2d842f13
JB
182172001-12-04 Jim Blandy <jimb@redhat.com>
18218
18219 * gdb.base/completion.exp: Clarify indentation.
18220
68550daf
JB
182212001-12-03 Jim Blandy <jimb@redhat.com>
18222
18223 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
18224 variables on the S/390, not `.word'.
18225
cd5195a8
JB
182262001-11-30 Jim Blandy <jimb@redhat.com>
18227
18228 Add assembly-source tests for s390-ibm-linux.
18229 * gdb.asm/s390.inc: New file.
18230 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
18231 the S/390 architecture.
a9c64011 18232 * gdb.asm/configure: Regenerated.
cd5195a8 18233
ca9efc90
MS
182342001-11-30 Michael Snyder <msnyder@redhat.com>
18235
18236 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
18237 next, info source, info sources, info line, global and static
18238 variables, and static functions.
18239 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
18240 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
18241 * gdb.asm/asmsrc1.s: Add a static function and some variables.
18242 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
18243 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
18244 (gdbasm_leave): Restore frame pointer.
18245 (gdbasm_startup): Copy stack set-up from crt0.S.
18246
d0e66976
FN
182472001-11-26 Fernando Nasser <fnasser@redhat.com>
18248
18249 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
18250 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
18251 to a local (non-static) variable. Copy tstruct.a to a static buffer
18252 and return a pointer to that buffer.
18253 * gdb.base/callfwmall.c (t_structs_a): Ditto.
18254
e2334072
MK
182552001-11-24 Mark Kettenis <kettenis@gnu.org>
18256
18257 * gdb.asm/configure.in: Fix recognition of ix86 target.
18258 * gdb.asm/configure: Regenerate.
18259
756caa3d
MS
182602001-11-21 Michael Snyder <msnyder@redhat.com>
18261
18262 * gdb.asm/sparc.inc: New file.
18263 * gdb.asm/asm-source.exp: Recognize sparc target.
18264 * gdb.asm/configure.in: Recognize sparc target.
18265 * gdb.asm/configure: Regenerate.
d63a86f8 18266
9a4d72d5
MS
182672001-11-21 Michael Snyder <msnyder@redhat.com>
18268
18269 * gdb.asm/m32r.inc: New file.
18270 * gdb.asm/asm-source.exp: Recognize m32r target.
18271 * gdb.asm/configure.in: Recognize m32r target.
18272 * gdb.asm/configure: Regenerate.
18273
a773d1cd
MS
182742001-11-20 Michael Snyder <msnyder@redhat.com>
18275
017ac23d
MS
18276 * gdb.asm/i386.inc: New file.
18277 * gdb.asm/asm-source.exp: Recognize ix86 target.
18278 * gdb.asm/configure.in: Recognize ix86 target.
18279 * gdb.asm/configure: Regenerate.
18280
a773d1cd
MS
18281 * gdb.c++/namespace.exp: Fix quotes in output messages.
18282
bb632afb
MS
182832001-11-14 Michael Snyder <msnyder@redhat.com>
18284
25d559ca 18285 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
18286 qualifier in a type cast expression, to designate an address
18287 in the instruction space (Harvard architecture).
18288
4749e309
MS
182892001-11-13 Michael Snyder <msnyder@redhat.com>
18290
18291 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
18292 Tests for expressions using 'const' and 'volatile'.
18293
25050984
CV
182942001-11-13 Corinna Vinschen <vinschen@redhat.com>
18295
18296 * gdb.asm/asm-sources.exp: Allow defining linker flags.
18297
1902c51f
DJ
182982001-11-12 Daniel Jacobowitz <drow@mvista.com>
18299
18300 * lib/mi-support.exp (mi_run_to_helper): Move comments
18301 outside of gdb_expect.
18302
dcf95b47
DJ
183032001-11-11 Daniel Jacobowitz <drow@mvista.com>
18304
18305 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
18306 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
18307 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
18308 mi0_run_to): New functions.
18309 * gdb.mi/mi-simplerun.exp: Use them.
18310 * gdb.mi/mi0-simplerun.exp: Likewise.
18311 * gdb.mi/mi-var-cmd.exp: Likewise.
18312 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 18313
45b074e1
AC
183142001-11-10 Andrew Cagney <ac131313@redhat.com>
18315
18316 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
18317 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
18318
bf50d346
AC
183192001-11-09 Andrew Cagney <ac131313@redhat.com>
18320
18321 * gdb.base/restore.exp: Include $expected value in restored test
18322 message.
18323
9383332c
AC
183242001-11-09 Andrew Cagney <ac131313@redhat.com>
18325
18326 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
18327 implemented.
18328
db62520a
MS
183292001-11-08 Michael Snyder <msnyder@redhat.com>
18330
18331 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
18332 Add pass/fail message for stop at breakpoint in call dummy function.
18333
b5703437
MS
183342001-11-07 Michael Snyder <msnyder@redhat.com>
18335
d63a86f8
RM
18336 * gdb.c++/templates.exp (test_template_breakpoints):
18337 If we get an overload menu, but it does not match what
760f6330 18338 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
18339 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
18340 making the whitespace optional. Argument for "new" may be
18341 "unsigned" as well as "unsigned int/long".
d63a86f8 18342 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
18343 making the whitespace optional. Also replace "(void) with
18344 "((void|)), making the keyword "void" optional.
d63a86f8 18345 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
18346 making the whitespace optional. Also replace "(void) with
18347 "((void|)), making the keyword "void" optional.
3bf40917
MS
18348 * gdb.base/callfuncs.c (t_float_values): This function must
18349 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 18350 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
18351 can be tested against both cases. Usually one case involves
18352 promotion of float to double, while the other does not.
18353 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
18354 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
18355 includes a stack frame for "start".
18356
c8ab4e6d
JB
183572001-11-05 Jim Blandy <jimb@redhat.com>
18358
18359 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
18360 pointers are 32 bits long, and that offsets of relocs are always
18361 stored in the data (REL-style), and not in the reloc entry itself
18362 (RELA-style).
18363 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
18364 stabs.
18365
3f08ced9
MS
183662001-11-01 Michael Snyder <msnyder@redhat.com>
18367
18368 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
18369 and regular expression operators by using quoting.
18370
cbfa24cd
MS
183712001-10-31 Michael Snyder <msnyder@redhat.com>
18372
18373 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
18374 depending on what the symbol table contains.
18375 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
18376 the output of the ptype command. Similarly, accept both "const &"
18377 and "const&".
18378
aaa68313
CV
183792001-10-31 Corinna Vinschen <vinschen@redhat.com>
18380
18381 * gdb.base/miscexprs.c (main): Add usage of preprocessor
18382 symbol `STORAGE' to allow to choose the storage class of
18383 the local datastructures.
18384 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
18385 compiler directive.
18386
91740388
MS
183872001-10-30 Michael Snyder <msnyder@redhat.com>
18388
18389 * gdb.base/jump.exp: Allow it to run for all targets.
18390
1b7c05e7
CV
183912001-10-29 Corinna Vinschen <vinschen@redhat.com>
18392
18393 * gdb.base/call-ar-st.c (print_double_array): Match for loop
18394 with new double_array size.
18395 (main): Change storage class of all local variables to static.
18396 Reduce size of double_array to 9.
18397 * gdb.base/call-ar-st.exp: Increase timeout value.
18398 Change expected output for double array to match new size in
18399 call-ar-st.c.
18400
36a22261
CV
184012001-10-29 Corinna Vinschen <vinschen@redhat.com>
18402
18403 * gdb.base/ending-run.exp: Create identical output when passing
18404 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 18405 Stormy16 target.
36a22261 18406
92b8ae91
MK
184072001-10-28 Mark Kettenis <kettenis@gnu.org>
18408
18409 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
18410 that we catch the expected failure under Linux/x86.
18411
cb135b83
OF
184122001-10-29 Orjan Friberg <orjanf@axis.com>
18413
18414 * gdb.base/setvar.exp: Escape curly braces.
18415 * gdb.stabs/weird.exp: Ditto.
18416
6884aa54
DJ
184172001-10-27 Daniel Jacobowitz <drow@mvista.com>
18418
18419 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
18420 * gdm.mi/mi0-hack-cli.exp: Likewise.
18421
0398c9aa
AC
184222001-10-25 Andrew Cagney <ac131313@redhat.com>
18423
18424 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
18425 messages.
18426
d20bf2e8
AC
184272001-10-21 Andrew Cagney <ac131313@redhat.com>
18428
18429 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
18430 checking MI enabled.
18431
03dd63aa
CV
184322001-10-09 Corinna Vinschen <vinschen@redhat.com>
18433
18434 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
18435
1d9d99f3
FCE
184362001-10-04 Frank Ch. Eigler <fche@redhat.com>
18437
18438 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
18439 if gdb child process crashes, just signal an error.
18440
838ae6c4
JB
184412001-10-02 Jim Blandy <jimb@redhat.com>
18442
18443 * lib/gdb.exp (test_xfail_format): Simplify.
18444
18445 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
18446 front of the variable name `format'. Simplify `if'.
18447
8f0cbc1c
DJ
184482001-10-01 Daniel Jacobowitz <drow@mvista.com>
18449
18450 * gdb.threads/pthreads.exp: Wait for output and delay
18451 before sending ^C.
18452
1f08dafd
DJ
184532001-10-01 Daniel Jacobowitz <drow@mvista.com>
18454
18455 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
18456 some incorrect output instead of timing out.
18457 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
18458
674f90ff
CV
184592001-09-28 Corinna Vinschen <vinschen@redhat.com>
18460
18461 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
18462 check to allow additional `int'.
18463
9b284272
DJ
184642001-09-27 Daniel Jacobowitz <drow@mvista.com>
18465
18466 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
18467 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
18468
b55a4771
MS
184692001-09-27 Michael Snyder <msnyder@redhat.com>
18470
18471 * lib/gdb.exp (test_debug_format): New proc.
18472 (setup_xfail_format): Use new proc test_debug_format.
18473 * gdb.base/constvars.exp (local_compiler_xfail_check): New
18474 proc; use new service proc test_debug_format.
18475 Replace all other "gcc_compiled" tests with this test.
18476 * gdb.base/volatile.exp (local_compiler_xfail_check): New
18477 proc; use new service proc test_debug_format.
18478 Replace all other "gcc_compiled" tests with this test.
18479
184802001-09-27 Michael Snyder <msnyder@redhat.com>
18481
18482 * gdb.base/cvexpr.exp: New file.
18483 * gdb.base/cvexpr.c: New file
18484 Test for expressions using const and volatile keywords.
18485
4e6667ac
CV
184862001-09-26 Corinna Vinschen <vinschen@redhat.com>
18487
18488 * gdb.base/constvars.exp: Check for different orders of keywords
18489 and additional "int" strings in output.
18490
4f337972
AC
184912001-09-22 Andrew Cagney <ac131313@redhat.com>
18492
18493 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
18494 responses from "help maint".
18495
2015650d
FCE
184962001-09-19 Frank Ch. Eigler <fche@redhat.com>
18497
18498 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
18499 to localhost:NNN instead of :NNN, in case Xvfb is listening
18500 only on TCP.
18501
f3bcedc1
CV
185022001-09-19 Corinna Vinschen <vinschen@redhat.com>
18503
18504 * gdb.base/recurse.exp: When checking leaving the watchpoint
18505 scope, recognize when gdb is in function's epilogue and pass.
18506
6b819c92
KS
185072001-09-18 Keith Seitz <keiths@redhat.com>
18508
18509 * lib/insight-support.exp (_gdbtk_export_target_info): Add
18510 support for running tests against sid targets.
18511 (gdbtk_done): Ditto.
18512
a10c9419
CV
185132001-09-18 Corinna Vinschen <vinschen@redhat.com>
18514
18515 * gdb.base/ending-run.c (main): Set stdout buffersize
18516 to the same reasonable value for any target.
18517 * gdb.base/ending-run.exp: Add a regular expression
18518 to make testsuite happy on Sanyo Stormy16 target.
18519
739d0d99
CV
185202001-09-17 Corinna Vinschen <vinschen@redhat.com>
18521
18522 * gdb.base/display.c (do_loops): Add float variable `f'.
18523 Increment f in loop.
18524 * gdb.base/display.exp: Increment timeout by 60 seconds.
18525 Change float display test to use variable `f'.
18526
1b8947f0
JB
185272001-09-17 Jim Blandy <jimb@redhat.com>
18528
18529 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
18530 overflowing the limited breakpoint tables on some ROM monitors
18531 (like the ROM68K).
18532
9890ac81
FCE
185332001-09-15 Frank Ch. Eigler <fche@redhat.com>
18534
18535 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
18536 the "-ac" (disable access control) flag.
18537
6db765ea
JH
185382001-08-30 Jeff Holcomb <jeffh@redhat.com>
18539
18540 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
18541 ints.
18542
4c32cc04
KS
185432001-08-30 Keith Seitz <keiths@redhat.com>
18544
18545 * lib/gdb.exp: Move all insight-related functionality into
18546 separate file.
18547 * lib/insight-support.exp: New file.
18548
8d6e6f81
FCE
185492001-08-29 Frank Ch. Eigler <fche@redhat.com>
18550
18551 * config/sid.exp (sid_start): Never set sid verbosity; disable
18552 expect_background {} that consumed its stdout; tolerate </dev/null.
18553 Attempt to set endianness override in "sid" protocol mode. Cleanup.
18554
6a90e1d0
AC
185552001-08-18 Andrew Cagney <ac131313@redhat.com>
18556
18557 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
18558 CLI jump command to start it.
18559 (mi_run_to_main): Fail immediatly when unexpected output.
18560
1759b3c3
AC
185612001-08-18 Andrew Cagney <ac131313@redhat.com>
18562
18563 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
18564 beginning of function. Fix PR gdb/191.
18565
61d11d80
FCE
185662001-08-16 Frank Ch. Eigler <fche@redhat.com>
18567
18568 * config/sid.exp (sid_start): Don't warn if we cannot figure out
18569 what to force sid endianness to.
18570
942a4df2
KS
185712001-08-15 Keith Seitz <keiths@redhat.com>
18572
18573 * lib/gdb.exp (gdbtk_start): Don't set environment
18574 variables for TCL_LIBRARY and friends. Insight will
18575 now figure these out for itself.
18576
0521c418
MS
185772001-08-02 Michael Snyder <msnyder@redhat.com>
18578
18579 * gdb.base/completion.exp: Remove the symbol "a64l" from
18580 the expect string; this is target-specific, and not related
18581 to what is being tested.
18582
74a9a58a
DB
185832001-08-02 Dave Brolley <brolley@redhat.com>
18584
18585 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
18586
c70819fa
MS
185872001-07-25 Michael Snyder <msnyder@redhat.com>
18588
c2b8fa57
MS
18589 * gdb.base/consecutive.exp: New file. Test stepping over
18590 breakpoints on consecutive instructions.
18591 * gdb.base/consecutive.c: New file.
18592
c70819fa
MS
18593 * gdb.base/call-rt-st.exp: Use double-backslash to quote
18594 curly braces in regular expressions.
18595
2b1a1355
MS
185962001-07-25 Michael Snyder <msnyder@redhat.com>
18597
18598 * gdb.base/ending-run.exp: Accept "Program exited normally" as
18599 legitimate output from stepping out of main.
18600
413eca6f
KS
186012001-07-22 Keith Seitz <keiths@redhat.com>
18602
18603 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
18604 the empty string, do not run the tests.
18605
7e5a9322
SC
186062001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
18607
18608 * gdb.base/long_long.exp: Detect size of pointer. Take into
18609 account 2-byte pointers when testing for p/a results.
18610
de58f10f
SC
186112001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
18612
d63a86f8 18613 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
18614 and defined to 1K for m68hc11.
18615 (random_data): Reduce table to 1K for embedded platforms (68hc11).
18616 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
18617 (sizeof_random_data): New variable to tell the size of the data table;
18618 don't test past this size; always run to main.
18619
d6f5fea1
SC
186202001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
18621
18622 * gdb.base/return2.exp: return of long long and double fails for
18623 68HC11; don't execute these tests on that platform.
18624 * gdb.base/return.exp: Return of a double fails for 68hc11.
18625
c477543d
SC
186262001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
18627
18628 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
18629 tests that print a float.
18630 * call-rt-st.exp: Likewise.
18631
63cf1c79
MK
186322001-07-12 Mark Kettenis <kettenis@gnu.org>
18633
18634 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
18635 running this test on Linux.
18636
112f9ab5
MC
186372001-06-24 Michael Chastain <chastain@redhat.com>
18638
18639 * gdb.base/arithmet.exp: Remove some tests to make all test names
18640 unique.
18641
4970cb0f
MS
186422001-07-03 Michael Snyder <msnyder@redhat.com>
18643
18644 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
18645 the output of the ptype command.
18646
d85da69f
MS
186472001-07-02 Michael Snyder <msnyder@redhat.com>
18648
4c8a82de
MS
18649 * gdb.base/completion.exp: Don't assume that break.c is the only
18650 source file that may contain functions named "marker".
d85da69f
MS
18651 * gdb.base/corefile.exp: Quote the curly braces in regexp.
18652
8afc772b
AC
186532001-06-28 Andrew Cagney <ac131313@redhat.com>
18654
18655 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
18656 of files to delete.
18657
18658 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
18659 * gdb.disasm/h8300s.exp: New file.
18660 gdb.disasm/h8300s.s: Likewise.
18661
cff22675
AC
186622001-06-27 Andrew Cagney <ac131313@redhat.com>
18663
18664 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
18665 empty breakpoint tables.
18666
68c81b54
AC
186672001-06-25 Andrew Cagney <ac131313@redhat.com>
18668
18669 * lib/mi-support.exp: Update args=... part of stop-reason
18670 patterns. Accept either a list or a tuple.
18671
2dd62704
AC
186722001-06-23 Andrew Cagney <ac131313@redhat.com>
18673
18674 * lib/mi-support.exp: Remove local emacs variable defining
18675 change-log-default-name.
18676
b4127474
MC
186772001-06-22 Michael Chastain <chastain@redhat.com>
18678
18679 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
18680 This is operationally compatible with the previous version.
18681
8dbfb380
JB
186822001-06-13 Jim Blandy <jimb@redhat.com>
18683
18684 * lib/gdb.exp (gdb_test): Doc fix.
18685
f2d8c86d
MC
186862001-06-10 Michael Chastain <chastain@redhat.com>
18687
18688 * gdb.base/exprs.exp: Remove a duplicate test.
18689
81564d34
JB
186902001-06-06 Jim Blandy <jimb@redhat.com>
18691
18692 * gdb.base/return2.exp (main): Use values to test float and double
18693 returns that are not NaN's, to avoid being confused by IEEE
18694 comparison rules.
18695
da55addb
MS
186962001-06-04 Michael Snyder <msnyder@redhat.com>
18697
18698 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 18699 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
18700 rather than wait for 12 more tests to time out.
18701
42c65987
JB
187022001-06-06 Jim Blandy <jimb@redhat.com>
18703
b18bced9 18704 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 18705 Don't forget to match the GDB prompt.
b18bced9 18706
42c65987
JB
18707 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
18708
5b41e5f0
JB
187092001-06-04 Jim Blandy <jimb@redhat.com>
18710
18711 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
18712 command.
18713
015e046f
KB
187142001-05-31 Kevin Buettner <kevinb@redhat.com>
18715
18716 * gdb.base/annota1.exp (info break): Match four or more spaces
18717 after "Address".
18718
fb1ffbbe
MC
187192001-05-31 Michael Chastain <chastain@redhat.com>
18720
18721 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
18722 (dm_type_int_star): Likewise.
18723 (dm_type_long_star): Likewise.
18724 (dm_type_void_star): Likewise.
18725
5ea2a32c
KB
187262001-05-29 Kevin Buettner <kevinb@redhat.com>
18727
18728 * gdb.base/completion.exp (INPUTRC): Set this environment variable
18729 to a known value in order to get consistent results regardless
18730 of the setting of INPUTRC or the presence or contents of .inputrc.
18731
ae23c492
MS
187322001-05-24 Michael Snyder <msnyder@redhat.com>
18733
ac55707e
MS
18734 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
18735 Don't require that the main thread and the manager thread are the
18736 first in the list.
18737
ae23c492
MS
18738 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
18739 debugging. If test fails, issue an "unsupported" not a "fail".
18740
400071f1
JB
187412001-05-24 Jim Blandy <jimb@redhat.com>
18742
18743 Don't assume that short is shorter than int.
18744 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
18745 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 18746 this isn't true.
400071f1
JB
18747 ("print unsigned char == (~0)"): Add test that verifies that ~0,
18748 an int, is not equal to ~0 stored in an unsigned char. This tests
18749 the same thing that the previous test meant to, but works on
18750 16-bit machines, too.
18751 ("print unsigned char != (~0)"): Same test, complemented.
18752
0816a3e5
MS
187532001-05-24 Michael Snyder <msnyder@redhat.com>
18754
18755 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 18756 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
18757 and prevents dejagnu getting out of step.
18758
f6dc23a9
KB
187592001-05-23 Kevin Buettner <kevinb@redhat.com>
18760
18761 * gdb.base/finish.exp (finish_void): Revise pattern for
18762 stopping on the call statement to not permit stopping at
18763 the start of the instructions comprising the call sequence.
18764
7dbd117d
MC
187652001-05-19 Michael Chastain <chastain@redhat.com>
18766
18767 * gdb.base/callfuncs.exp: Make all test names unique.
18768 * gdb.base/commands.exp: Make all test names unique.
18769 * gdb.base/condbreak.exp: Make all test names unique.
18770 * gdb.base/dbx.exp: Make all test names unique.
18771 * gdb.base/default.exp: Make all test names unique.
18772 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
18773 and TIMEOUT messages to their corresponding PASS message.
18774 * gdb.base/ending-run.exp: Make all test names unique.
18775 * gdb.base/long_long.exp: Remove duplicate test.
18776
6b0b0a9e
KB
187772001-05-21 Kevin Buettner <kevinb@redhat.com>
18778
18779 * gdb.base/finish.exp (finish_void): Allow "finish" command to
18780 stop on the call statement as well as the statement after the
18781 call.
18782
2caa35cb
MS
187832001-05-21 Michael Snyder <msnyder@redhat.com>
18784
18785 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
18786
40713331
EZ
187872001-05-10 Elena Zannoni <ezannoni@redhat.com>
18788
a9c64011
AS
18789 * gdb.base/completion.exp: Revamp test. Make it execute on all
18790 platforms.
40713331 18791
c2c1be8d
EZ
187922001-05-10 Elena Zannoni <ezannoni@redhat.com>
18793
a9c64011
AS
18794 * config/gdbserver.exp (gdb_load): Handle the case
18795 in which the arguments to gdbserver are given in the
18796 baseboard configuration file.
18797 Also handle the case in which the server needs to do a
18798 load.
2c9cd303 18799
9671de48
KS
188002001-05-07 Keith Seitz <keiths@cygnus.com>
18801
a9c64011
AS
18802 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
18803 set up the display for testing.
18804 (gdbtk_start): Convert all paths to paths that tcl will like.
18805 Export target information to environment.
18806 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
18807 necessary.
18808 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
18809 (to_tcl_path): New proc to convert a given pathname into
18810 a path acceptible as an argument to a tcl command.
18811 (_gdbtk_export_target_info): New proc to export target info
18812 into the environment for gdbtk testing.
18813 (gdbtk_done): New proc to signal end-of-test.
9671de48 18814
5a360f47
JB
188152001-05-06 Jim Blandy <jimb@redhat.com>
18816
18817 * restore.c: Make the code of caller0 correspond to its comment.
18818
66c756c6
MS
188192001-05-03 Michael Snyder <msnyder@redhat.com>
18820
18821 * config/sid.exp (gdb_target_sid): Check for error messages.
18822 On error or timeout, don't make expect exit (which will terminate
18823 all subsequent tests); instead just make gdb exit.
d63a86f8 18824 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
18825 return a negative value.
18826
a966fde5
JB
188272001-04-24 Jim Blandy <jimb@redhat.com>
18828
851c18e0
JB
18829 * gdb.c++/templates.exp: If we see the prompt for the overload
18830 list, but we haven't recognized any of the longer patterns,
18831 arrange for this test to fail, not hang.
18832
a966fde5
JB
18833 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
18834 variations.
18835
db144853
MC
188362001-04-22 Michael Chastain <chastain@redhat.com>
18837
18838 * gdb.c++/local.exp: Use the 'runto' library function.
18839 * gdb.c++/namespace.exp: Likewise.
18840 * gdb.c++/overload.exp: Likewise.
18841
3207ec21
KB
188422001-03-26 Kevin Buettner <kevinb@redhat.com>
18843
18844 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
18845 * gdb.base/step-line.exp: New file. Test step/next in presence of
18846 #line directives.
18847 * gdb.base/step-line.c: New file. Test program for the above.
18848 * gdb.base/step-line.inp: New file. We pretend that this file has
18849 been transformed by some other tool into step-line.c.
18850
13b57657
JB
188512001-03-21 Jim Blandy <jimb@redhat.com>
18852
18853 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
18854 unmangled operator names.
18855
754cbe1c
JB
188562001-03-20 Jim Blandy <jimb@redhat.com>
18857
18858 * gdb.threads/linux-dp.exp: Recognize an additional message
18859 generated by GDB when it doesn't understand how to debug threads
18860 on the target system.
18861
177495c9
AC
188622001-03-19 Andrew Cagney <ac131313@redhat.com>
18863
18864 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
18865
f266096b
MC
188662001-03-12 Michael Chastain <chastain@redhat.com>
18867
18868 * gdb.c++/derivation.exp: Use the 'runto' library function.
18869
cac3c2ff
MC
188702001-03-12 Michael Chastain <chastain@redhat.com>
18871
18872 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
18873
b6c11a24
MC
188742001-02-24 Michael Chastain <chastain@redhat.com>
18875
18876 * gdb.c++/ref-types.exp: Change handwritten code to library
18877 function 'runto'.
18878
6bae5bce
OF
188792001-03-16 Orjan Friberg <orjanf@axis.com>
18880
18881 * gdb.base/signals.exp: Set count to 0 explicitly.
18882
0015fd9a
MS
188832001-03-15 Mark Salter <msalter@redhat.com>
18884
18885 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
18886 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
18887 (gdb_load): Add support for additional target_info: gdb_download_size
18888 and gdb_load_timeout.
0015fd9a 18889
fc33412a
DT
18890Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
18891
18892 * gdb.base/annota1.exp: Move test of isnative to earlier in the
889bf7c5
PA
18893 file -- to prevent failing when the compile fails but we have no
18894 intention of running the tests anyway.
fc33412a
DT
18895
18896 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
18897 tests if set.
18898
18899 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
889bf7c5 18900 integers.
fc33412a
DT
18901
18902 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
18903 * gdb.c++/namespace.exp: Ditto.
18904
115f06de
OF
189052001-03-07 Orjan Friberg <orjanf@axis.com>
18906
18907 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
18908 * gdb.base/pointers.exp: Relax pattern match of decimals.
18909
b6ba6518
KB
189102001-03-06 Kevin Buettner <kevinb@redhat.com>
18911
18912 * Makefile.in, config/abug.exp, config/cfdbug.exp,
18913 config/cpu32bug.exp, config/dve.exp, config/est.exp,
18914 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
18915 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
18916 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
18917 config/sh.exp, config/sid.exp, config/slite.exp,
18918 config/sparclet.exp, config/udi.exp, config/unknown.exp,
18919 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
18920 config/vxworks.exp, config/vxworks29k.exp,
18921 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
18922 gdb.base/all-bin.exp, gdb.base/annota1.exp,
18923 gdb.base/arithmet.exp, gdb.base/assign.exp,
18924 gdb.base/async.exp, gdb.base/attach.exp,
18925 gdb.base/bitfields.exp, gdb.base/bitops.exp,
18926 gdb.base/break.exp, gdb.base/call-ar-st.exp,
18927 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
18928 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
18929 gdb.base/commands.exp, gdb.base/completion.exp,
18930 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
18931 gdb.base/constvars.exp, gdb.base/corefile.exp,
18932 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
18933 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
18934 gdb.base/ending-run.exp, gdb.base/environ.exp,
18935 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
18936 gdb.base/finish.exp, gdb.base/foll-exec.exp,
18937 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
18938 gdb.base/funcargs.exp, gdb.base/help.exp,
18939 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
18940 gdb.base/logical.exp, gdb.base/long_long.exp,
18941 gdb.base/maint.exp, gdb.base/mips_pro.exp,
18942 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
18943 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
18944 gdb.base/pointers.exp, gdb.base/printcmds.exp,
18945 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
18946 gdb.base/regs.exp, gdb.base/relational.exp,
18947 gdb.base/remote.exp, gdb.base/reread.exp,
18948 gdb.base/restore.exp, gdb.base/return2.exp,
18949 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
18950 gdb.base/selftest.exp, gdb.base/setshow.exp,
18951 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
18952 gdb.base/sigall.exp, gdb.base/signals.exp,
18953 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
18954 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
18955 gdb.base/step-test.exp, gdb.base/structs.c,
18956 gdb.base/structs.exp, gdb.base/structs2.exp,
18957 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
18958 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
18959 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
18960 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
18961 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
18962 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
18963 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
18964 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
18965 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
18966 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
18967 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
18968 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
18969 gdb.fortran/types.exp, gdb.java/jmisc.exp,
18970 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
18971 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
18972 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
18973 gdb.trace/circ.exp, gdb.trace/collection.exp,
18974 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
18975 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
18976 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
18977 gdb.trace/report.exp, gdb.trace/save-trace.exp,
18978 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
18979 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
18980 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
18981 notices.
18982
dc96c6c7 189832001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
18984
18985 * gdb.base/varargs.c (find_max_double): Fix printf format string:
18986 first arg is int not float.
18987
dc96c6c7 189882001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
18989
18990 * gdb.base/reread.exp: Unsupported for non-native targets;
18991 doesn't work for remote debugging.
18992
9b0c4aeb
FN
189932001-02-19 Fernando Nasser <fnasser@redhat.com>
18994
18995 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
18996 * gdb.base/ending-run.exp: Properly handle the BSP state when
18997 stepping past the end of main.
9b0c4aeb 18998
02aa71d5
MC
189992001-02-19 John Moore <jmoore@redhat.com>
19000
19001 * gdb.base/commands.exp (infrun_breakpoint_command_test):
19002 Converted HPUX fix for non-expected items following multiple
19003 step commands into general solution for all platforms.
19004
1fa449a4
MC
190052001-02-18 Michael Chastain <chastain@redhat.com>
19006
19007 * gdb.c++/classes.exp (do_tests): Change runto statements
19008 from "runto 'foo(void)'" to "runto 'foo'". This makes the
19009 statements demangler agnostic.
19010 * gdb.c++/virtfunc.exp (do_tests): Likewise.
19011 (gdb_virtfunc_restart): Likewise.
19012
b2f9ec70
MC
190132001-02-14 Michael Chastain <chastain@redhat.com>
19014
19015 * gdb.c++/inherit.exp (do_tests): Change runto statements
19016 from "runto 'foo(void)'" to "runto 'foo'". This makes the
19017 statements demangler agnostic.
19018
cf74b8ca
AC
19019Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
19020
19021 * gdb.threads/pthreads.exp: Unify pass/fail messages for
889bf7c5
PA
19022 ``continue to bkpt at common_routine in thread 2'' and ``stopped
19023 before calling common_routine 15 times'' tests.
cf74b8ca 19024
99f78f56
MC
190252001-02-11 Michael Chastain <chastain@redhat.com>
19026
19027 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
19028 Helps the test script figure out which demangler is in use.
19029 (dm_type_foo_ref): Ditto.
19030 (dm_type_int_star): Ditto.
19031 (dm_type_long_star): Ditto.
19032 (dm_type_unsigned_int): Ditto.
19033 (dm_type_void): Ditto.
19034 (dm_type_void_star): Ditto.
99707966 19035 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
19036 Probe the gdb demangler and set variables to accommodate
19037 formatting differences.
19038 (info_func_regexp): New function. Same as info_func, but
19039 matches against a regexp.
19040 (info_func): Match against a literal string.
19041 (print_addr_2): New function. Match against a literal string,
19042 which can be different from the input to gdb.
19043 (print_addr): Simply call print_addr_2 with the same argument twice.
19044 (test_lookup_operator_functions): Use demangler formatting variables.
19045 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
19046 the tests in the same order as the C++ class declaration.
19047 (test_paddr_operator_functions): Ditto.
19048 (test_paddr_overloaded_functions): Ditto.
19049 (test_paddr_hairy_functions): Use demangler formatting variables.
19050 Add reference to gdb/19 for related tests.
19051 (do_tests): Call probe_demangler.
19052
1de8f023
KB
190532001-01-30 Kevin Buettner <kevinb@redhat.com>
19054
19055 * gdb.c++/templates.cc (printf): Remove unused function definition.
19056
ca3f91ed
MS
190572001-01-26 Felix Lee <flee@redhat.com>
19058
19059 * sid.exp (sid_exit): Pass host, not target, to remote_close.
19060
190612001-01-25 matthew green <mrg@redhat.com>
19062
19063 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
19064 up sid.
19065 (sid_exit): Call `remote_pop_conn' after GDB is gone.
19066
190672001-01-25 matthew green <mrg@redhat.com>
19068
19069 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 19070 Deprecate $sid_spawn_id.
ca3f91ed
MS
19071 (sid_exit): Remove code necessary only for `spawn.'
19072
190732001-01-25 matthew green <mrg@redhat.com>
19074
19075 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
19076
fb18ec4a
MC
190772001-01-28 Michael Chastain <chastain@redhat.com>
19078
19079 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
19080 to call when tests fail. It takes gdb out of the overloaded
19081 function choice menu back to the main prompt, so that the test
19082 program stays synchronized.
19083 (set_bp_overloaded): New proc to collect all the common
19084 code for setting a breakpoint on an overloaded name. Calls
19085 take_gdb_out_of_choice_menu when needed.
19086 (menu_overload1arg): New variable to collect the repeated
19087 instances of the expected menu for an overloaded name. Change
19088 the regular expression to handle changes in g++ type encoding:
19089 "void" can be either "void" or "", and "unsigned int" can be
19090 either "unsigned int" or "unsigned".
19091 (continue_to_bp_overloaded): Change regular expressions to handle
19092 changes in g++ type encoding.
19093 (no proc): Call take_gdb_out_of_choice_menu when needed.
19094 Remove redundant calls to "info break". Accept either "canceled"
19095 or "cancelled". Change regular expressions in "info break"
19096 calls to handle changes in g++ type encoding. Give all tests
19097 unique strings.
19098
9c646a6e
BE
190992001-01-17 Ben Elliston <bje@redhat.com>
19100
19101 * config/sid.exp: New file.
19102
9549d9c1
AC
19103Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
19104
19105 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
19106
dc96c6c7 191072000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
19108
19109 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
19110 Add a RE to accept a non-ascii char if one is ever presented.
19111
b4df4f68
FN
191122000-12-20 Fernando Nasser <fnasser@redhat.com>
19113
297dd0fd 19114 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 19115
dc96c6c7 191162000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 19117
d63a86f8 19118 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
19119 in regexp. One '\' does not suffice on Linux.
19120
4a7bddb6
MC
191212000-12-09 Michael Chastain <chastain@redhat.com>
19122
19123 * gdb.base/break.exp (test_clear_command): Use a marker function
19124 rather than 'main' for the test function. Also move this
19125 test to an execution point where the marker function names are
19126 guaranteed to be bound to functions. (Executing tests after a
19127 'finish' from main runs into name conflicts with local names
19128 in __libc_start_main).
19129
dc96c6c7 191302000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
19131
19132 * gdb.base/finish.exp: New test for gdb's "finish" command.
19133 * gdb.base/return2.exp: New test for gdb's "return" command.
19134 * gdb.base/return2.c: New source file for above.
19135
dc96c6c7 191362000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
19137
19138 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
19139 * gdb.base/miscexprs.exp: Ditto.
19140 * gdb.base/pointers.exp: Ditto.
19141 * gdb.c++/derivation.exp: Ditto.
19142 * gdb.c++/local.exp: Ditto.
19143 * gdb.c++/namespace.exp: Ditto.
19144 * gdb.c++/overload.exp: Ditto.
19145 * gdb.c++/ref-types.exp: Ditto.
19146
dc96c6c7 191472000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
19148
19149 * gdb.base/constvars.exp: Test result of "up" command.
19150 * gdb.base/miscexprs.exp: Ditto.
19151 * gdb.base/pointers.exp: Ditto.
19152 * gdb.base/scope.exp: Ditto.
19153 * gdb.c++/derivation.exp: Ditto.
19154 * gdb.c++/local.exp: Ditto.
19155 * gdb.c++/namespace.exp: Ditto.
19156 * gdb.c++/overload.exp: Ditto.
19157 * gdb.c++/ref-types.exp: Ditto.
19158
44097287
FN
191592000-11-22 Michael Chastain <chastain@redhat.com>
19160
19161 * mips_pro.exp: Accept either "middle -> top -> main" or
19162 "middle -> main" in the backtrace, because gcc can optimize
19163 tail calls to jumps. Remove setup_xfail for the hppa case.
19164 Add a comment with the original warning messages from PR 3016,
19165 which was filed in 1993, to preserve them for posterity.
19166
9d2e1bab
ND
191672000-11-17 Nick Duffek <nsd@redhat.com>
19168
19169 * lib/gdb.exp (gdb_test): Override timeout with board info.
19170
1aca8eb7
ND
191712000-11-17 Nick Duffek <nsd@redhat.com>
19172
19173 * gdb.base/display.exp: Don't kill running stub. Add "again" to
19174 the second kill and detach messages.
19175
93076499
ND
191762000-11-17 Nick Duffek <nsd@redhat.com>
19177
19178 * configure.in: Add AC_EXEEXT.
19179 * configure: Regenerate.
19180 * Makefile.in (just-check): Export EXEEXT.
19181 * lib/gdb.exp ($EXEEXT): Import from environment.
19182 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
19183 expect "maint dump-me" on Cygwin.
19184 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
19185 $EXEEXT.
19186
30e87cd3
ND
191872000-11-17 Nick Duffek <nsd@redhat.com>
19188
19189 * gdb.base/break.exp: Test backtrace and finish from called
19190 function on all platforms, not just HP-UX.
19191
dc96c6c7 191922000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
19193
19194 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
19195 code from gdb_target_monitor, so it can be used independantly
19196 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 19197
dc96c6c7 191982000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
19199
19200 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
19201 * gdb.base/corefile.exp: Expect the message "Program is being
19202 debugged already" when we send the "corefile" command, since
19203 the preceeding gdb_load may have connected gdb to a remote target.
19204 * gdb.base/display.exp: Disable hardware watchpoints if new
19205 board info variable "no_hardware_watchpoints" is true.
19206 Replace single-letter commands with more readable ones.
19207 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
19208 if new board info variable "no_hardware_watchpoints" is true.
19209 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
19210 to see if stdio (printf) testing is possible.
19211 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
19212 board info variable "no_hardware_watchpoints" is true. Use new
19213 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
19214
39124dea
FN
192152000-11-13 Fernando Nasser <fnasser@redhat.com>
19216
19217 From Orjan Friberg <orjanf@axis.com>:
19218 * gdb.base/printcmds.exp: Escape curly braces followed by a number
19219 in array print pattern match.
19220
a9e2e984
FN
192212000-11-09 Fernando Nasser <fnasser@redhat.com>
19222
19223 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
19224 spelling "cancelled" to U.S. spelling "canceled" to match changes
19225 made to gdb.
19226 * gdb.c++/ovldbreak.exp: Ditto.
19227
c7db355b
PS
192282000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
19229
19230 * gdb.base/callfuncs.c (main): Moved to end of file, call
19231 t_double_values to initialize the FPU before inferior calls are made.
19232 * gdb.base/callfuncs.exp: Test for register preservation after calling
19233 inferior functions. Add tests for continuining, finishing and
19234 returning from a stop in a call dummy.
19235
dc96c6c7 192362000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
19237
19238 * gdb.base/commands.exp: Break up long lines, and re-indent.
19239
dc96c6c7 192402000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
19241
19242 * config/gdbserver.exp: Rewritten from the ground up, to make it
19243 compatible with the current dejagnu tree, and to make it work with
19244 the new "gdbserver" in libremote.
19245
dc96c6c7 192462000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
19247
19248 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
19249 * gdb.base/varargs.exp: Skip entire test if no printf support.
19250 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
19251 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
19252
dc96c6c7 192532000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
19254
19255 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
19256 no floating point support.
19257 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
19258 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
19259 * gdb.base/call-rt-st.exp: Ditto.
19260 * gdb.base/call-strs.exp: Ditto.
19261
bac5fc66
JG
192622000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
19263
19264 * gdb.base/sizeof.c: include <stdio.h>.
19265
19266 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
19267 'finish', otherwise uncaptured gdb_prompt would potentially
19268 throw remaining test points out of sync.
bac5fc66 19269
b22a6027
SB
192702000-07-26 Scott Bambrough <scottb@netwinder.org>
19271
19272 * gdb.base/recurse.exp: Run tests for all targets.
19273 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
19274 gnu-oldld case on ARM.
19275 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
19276 for ARM targets.
d63a86f8 19277
d8231941
AG
19278Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
19279
19280 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
19281 * gdb.java/configure: Rebuild.
19282
8caabe69
AG
19283Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
19284
19285 * gdb.java/jv-exp.exp: New file.
19286
9d273ca3
AG
19287Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
19288
19289 * configure: Rebuilt.
19290 * configure.in (configdirs): Add gdb.java.
19291 * gdb.java/jmisc.java: New file.
19292 * gdb.java/jmisc.exp: New file.
19293 * gdb.java/Makefile.in: New file.
19294 * gdb.java/configure: Rebuilt.
19295 * gdb.java/configure.in: New file.
19296 * lib/java.exp: New file.
19297
4f823a66
AC
19298Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
19299
19300 * gdb.base/exprs.exp: Test casts to a pointer including over and
889bf7c5 19301 underflow.
4f823a66 19302
2391e11d
AC
19303Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
19304
19305 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
889bf7c5 19306 and the compilers sizes.
2391e11d 19307
54602222
ND
193082000-07-09 Nick Duffek <nsd@redhat.com>
19309
19310 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
19311 (use_methods): New function.
19312 (main): Call use_methods().
19313 * gdb.c++/classes.exp (test_method_param_class): New procedure.
19314 (do_tests): Call test_method_param_class.
19315
2bec0572
ND
193162000-07-09 Nick Duffek <nsd@redhat.com>
19317
19318 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
19319 spelling.
19320 (test_enums): New procedure. Move enum tests from end of script
19321 to here. Set breakpoint on function name instead of line number.
19322 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
19323 (enums2): New marker function.
19324 (enums1): New function.
19325 (main): Call enums1(). Move enum tests to enums1().
19326
78492fde
AC
19327Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
19328
19329 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
889bf7c5 19330 compile/link program. Update line numbers.
78492fde
AC
19331 * gdb.asm/d10v.inc: Define ``startup''.
19332 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 19333
49a2cef8
AC
19334Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
19335
19336 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
19337
3e6c8688
EZ
193382000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19339
19340 * gdb.base/maint.exp: Add 'maint print architecture' item to output
889bf7c5 19341 of 'help maint print' command.
3e6c8688 19342
9ff5cbe9
AC
19343Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
19344
19345 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
889bf7c5 19346 they use gdb_expect_list.
9ff5cbe9 19347
17c579bd
AC
19348Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
19349
19350 * gdb.base/commands.exp: Use ``set remote
889bf7c5
PA
19351 memory-read-packet-size'' instead of ``set endian big'' to test
19352 long commands.
17c579bd 19353
e6d71bf3
DB
193542000-06-03 Daniel Berlin <dan@cgsoftware.com>
19355
19356 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 19357 g++, and stop skipping them.
e6d71bf3
DB
19358
19359 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
19360 work under g++.
19361
d63a86f8 19362 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
19363 initialization.
19364
dc96c6c7 193652000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
19366
19367 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
19368 the regular expression: accept an (almost) arbitrary sequence of
19369 "frames-invalid" and "breakpoints-invalid" messages both before
19370 and after the "starting" message.
19371
dc96c6c7 193722000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
19373
19374 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 19375
dc96c6c7 193762000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
19377
19378 * gdb.base/annota1.exp (annotate-signal-handler-caller):
19379 Relax the regular expression a little, make it pass on Solaris 8.
19380
8216cda9
KB
193812000-05-12 Kevin Buettner <kevinb@redhat.com>
19382
19383 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 19384 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
19385 Instead, it is permissible for gdb to stop on the line of the
19386 call itself.
19387
1a570b2f
MS
193882000-05-12 Michael Snyder <msnyder@.cygnus.com>
19389
19390 * gdb.base/break.exp (bp on small function, optimized file):
19391 Add a second pass pattern. The behavior differs here between stabs
19392 and dwarf for one-line functions. Stabs preserves two line symbols
19393 (one before the prologue and one after) with the same line number,
19394 but dwarf regards these as duplicates and discards one of them.
19395 Therefore the address after the prologue (where the breakpoint is)
19396 has no exactly matching line symbol, and GDB reports the breakpoint
19397 as if it were in the middle of a line rather than at the beginning.
19398
dc96c6c7 193992000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 19400
d63a86f8 19401 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
19402 rather than "send_gdb" (for consistancy).
19403
7d418785
AC
19404Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
19405
19406 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
19407 * gdb.c++/templates.cc: Properly check for GCC version number.
19408 * lib/compiler.cc: Likewise
19409
dc96c6c7 194102000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 19411
d63a86f8 19412 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
19413 gdb may not stop at the first line of main, due to code motion.
19414
dc96c6c7 194152000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
19416
19417 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
19418 This test depends on parsing the printf output from the target.
19419 Since the sparclet stub doesn't do stdio, this will never work.
19420 * gdb.base/call-rt-st.exp: ditto.
19421 * gdb.base/call-strs: ditto.
19422
dc96c6c7 194232000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
19424
19425 * gdb.base/miscexprs.exp: make sizeof long array test portable.
19426
19427 * gdb.base/ending-run.exp: After connecting to a remote target,
19428 but before running, the target will appear to be in a random
19429 location. Specify both a file and a line for breakpoints.
19430 Also, the function that calls main may be called 'init'
19431 rather than 'start'.
19432
a5a51225
EZ
194332000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19434
19435 * gdb.base/help.exp: Update output for add-symbol-file command.
19436
7930cc7c
FN
194372000-04-10 Fernando Nasser <fnasser@cygnus.com>
19438
19439 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
19440 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
19441
23e37ab1
C
194422000-04-07 J.T. Conklin <jtc@redback.com>
19443
e93c542c
C
19444 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
19445
23e37ab1
C
19446 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
19447
591b8fa3
PDM
19448Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
19449
19450 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
889bf7c5 19451 values that can be represented exactly.
591b8fa3
PDM
19452 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
19453 above change, and to not check against the directory part of the source
19454 file name.
19455 (step into print_long_arg_list): Likewise.
19456 (print print_small_structs from print_long_arg_list): Likewise.
19457 (print print_long_arg_list): Likewise.
19458
7a495180
EZ
194592000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19460
30b53638 19461 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 19462
beb998c6
AC
19463Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
19464
19465 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
19466
1c689132
DB
194672000-03-25 Daniel Berlin <dan@cgsoftware.com>
19468
19469 * gdb.base/commands.exp (deprecated_command_test): Add test for
19470 deprecate with no arguments.
19471
c1790a9d
JL
194722000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
19473
19474 * gdb.base/break.exp: Add new test for setting breakpoints on
19475 optimized code so we can test breakpoints work even when function
19476 prologues may be optimized away
19477
003ba290
FN
194782000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
19479
19480 From David Whedon <dwhedon@gordian.com>
a9c64011 19481 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 19482
6837a0a2
DB
194832000-03-22 Daniel Berlin <dan@cgsoftware.com>
19484
19485 * gdb.base/help.exp: Added test for new apropos command.
19486
b9593231
KB
194872000-03-21 Kevin Buettner <kevinb@redhat.com>
19488
19489 * gdb.base/pointers.c (usevar): New function.
19490 (main): Make sure that global variables v_int_pointer2, rptr,
19491 and y are all referenced someplace in the program by calling
19492 usevar() on them. [Some linkers delete symbols which are
19493 never referenced. The space remains, but there's no way to
19494 get a (symbolic) handle on the variable from the debugger.]
19495
751a959b
EZ
194962000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19497
19498 * gdb.base/printcmds.c: Add typedeffed arrays.
19499
19500 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
889bf7c5 19501 procedure to test arrays that are typedef'd.
751a959b 19502
73a93a32
JI
195032000-03-13 James Ingham <jingham@leda.cygnus.com>
19504
19505 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 19506 the library directories.
73a93a32 19507
fb40c209
AC
19508Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
19509
19510 * configure.in (configdirs): Add sub directory gdb.mi.
19511 * configure: Re-generate.
19512
19513 * gdb.mi: New directory.
d63a86f8 19514
ee4dd2c9
AC
195152000-02-25 Scott Bambrough <scottb@netwinder.org>
19516
19517 * gdb.base/long_long.exp: Correct test suite failure when printing
889bf7c5 19518 a long long value as a double on ARM platforms.
ee4dd2c9 19519
70f0cc22
JB
195202000-02-16 Jim Blandy <jimb@redhat.com>
19521
19522 * gdb.base/break.exp ("breakpoint line number"): Make sure the
19523 default source file is set properly before running this test.
19524
853819b8
EZ
195252000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19526
19527 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
889bf7c5 19528 gdbtk/library directory, not in gdbtcl2.
853819b8 19529
dfcd3bfb
JM
195302000-02-04 Jim Blandy <jimb@redhat.com>
19531
19532 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
19533 backslash from regexp pattern.
19534
19535 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
19536 procedure. Use it to run all the "continue to bp overloaded"
19537 tests. Note that this changes the names of the tests slightly.
19538 If the breakpoint hit message includes a hex PC value, because
19539 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
19540 from the real source code, still consider that a pass.
19541
19542 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
19543 XFAIL here if the breakpoint message contains a hex address. Note
19544 similar change on 1999-11-02.
19545
19546 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
19547
19548 * gdb.base/ptype.exp: Establish a default source file before
19549 calling get_debug_format.
19550
195512000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
19552
19553 * gdb.base/watchpoint.exp: Remove duplication of test messages.
19554
8b93c638
JM
195552000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
19556
19557 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
19558 of successive stepi commands -- while in the prologue we should see
19559 the function entry bracket.
19560
195612000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
19562
19563 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
19564 reach __change_mode() when stepping through the end of main().
19565
c5394b80
JM
195662000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
19567
19568 * gdb.base/default.exp: Fix expected pattern.
19569 * gdb.base/help.exp: Same.
19570
0d06e24b
JM
195712000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19572
19573 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
889bf7c5 19574 Don't use xfail's because that affects only the following test.
d63a86f8 19575
0d06e24b 19576 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
889bf7c5 19577 solaris or linux.
0d06e24b
JM
19578
19579 * gdb.base/selftest.exp: Update to reflect changes to main.c.
19580
dc96c6c7 195812000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 19582
d63a86f8 19583 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
19584 "A syntax error" rather than "A parse error". Accept both.
19585
195862000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
19587
19588 * gdb.base/default.exp: Remove OS dependent string from "target
19589 remote" test.
19590 * gdb.base/help.exp: Same for "help target remote" test.
19591
c3f6f71d
JM
195922000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19593
19594 From Jim Kingdon <kingdon@redhat.com>:
19595
19596 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
889bf7c5
PA
19597 prompt (cleanup rather than necessity, but still might keep output
19598 from spilling to next test).
c3f6f71d
JM
19599
196002000-01-02 Fred Fish <fnf@cygnus.com>
19601
19602 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
19603 AIX, which defines them in <sys/types.h>.
19604
ed9a39eb 196051999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 19606
ed9a39eb 19607 * gdb.base/default.exp: Match arm* etc instead of arm in "info
889bf7c5 19608 float" test.
ed9a39eb
JM
19609
196101999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 19611
ed9a39eb 19612 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
19613
19614 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
19615 outermost frame disallowed".
19616
196171999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
19618
19619 * gdb.base/setvar.exp: New tests for setting the value of a struct
19620 with a constant list.
19621
196221999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
19623
19624 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
19625 require the user to type a cast before setting the value of a struct.
19626
de57eccd
JM
196271999-12-06 Jim Blandy <jimb@cygnus.com>
19628
19629 * gdb.base/default.exp: Expect the new 'info float' command on
19630 all i386 platforms.
19631
19632 * gdb.threads/linux-dp.exp: Expand our ability to recognize
19633 LinuxThreads libraries that don't support debugging.
19634
c2d11a7d
JM
19635Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
19636
19637 * gdb.base/remote.c: Fill the buffer with truely random data.
889bf7c5
PA
19638 Change the buffer type to ``unsigned char'' to simplify size
19639 arithmetic.
c2d11a7d
JM
19640
19641 * gdb.base/remote.exp: Reduce download numbers by one. Typical
889bf7c5
PA
19642 stub only handles 400-1 byte packets. Verify that the download
19643 worked.
c2d11a7d
JM
19644
196451999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
19646
19647 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
19648 tests, using UNRESOLVED for the untested cases. Also, does not wait
19649 for a timeout if the prompt was received before a recognizable pattern.
19650
196511999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
19652
19653 * lib/gdb.exp (gdb_expect_list): Fix spelling.
19654
196551999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19656
19657 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
889bf7c5 19658 watchpoints.
c2d11a7d
JM
19659
196601999-11-24 Jason Merrill <jason@casey.cygnus.com>
19661
19662 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
19663
19664 * gdb.c++/local.exp: Be more flexible in recognizing local class
19665 name mangling. Don't allow horribly truncated method names.
19666 * gdb.c++/derivation.exp: Expect protected inheritance.
19667 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
19668 * gdb.c++/virtfunc.exp: Likewise.
19669 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
19670 when printing a nested enum.
19671
196721999-11-22 Jim Blandy <jimb@cygnus.com>
19673
19674 * gdb.base/step-test.exp: Properly await GDB's response to setting
19675 a breakpoint on the call to large_struct_by_value.
19676
19677 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
19678 just because we have debug info for the `start' function.
19679
196801999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
19681
19682 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
19683 "Unknown signal" messages, which indicate (on LinuxThreads) that
19684 GDB doesn't know how to debug threads on this system. This is
19685 better than hanging while philosopher 0 dumps chatter into gdb.log.
19686
196871999-11-18 Tom Tromey <tromey@cygnus.com>
19688
19689 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
19690
196911999-11-18 Fred Fish <fnf@cygnus.com>
19692
19693 * gdb.base/coremaker2.c: Add sample program for generating
19694 cores that is more self contained than coremaker.c. Eventually
19695 I'll add more code to this and tie it into the testsuite.
19696
4ce44c66
JM
196971999-11-12 Stan Shebs <shebs@andros.cygnus.com>
19698
19699 * gdb.base/dollar.exp: Remove, now in gdb.hp.
19700
197011999-11-10 Jimmy Guo <guo@cup.hp.com>
19702
19703 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
889bf7c5 19704 from $srcdir/lib/.
4ce44c66 19705 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
889bf7c5 19706 and gdb.c++/.
4ce44c66
JM
19707
19708 * gdb.c++/derivation.exp: remove redundant get compiler info code.
19709
d63a86f8 19710 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
19711 'continue with watch' test point.
19712
197131999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
19714
19715 Merged from p2linux-990323-branch:
d63a86f8 19716
4ce44c66
JM
19717 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
19718
11cf8741
JM
19719Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
19720
19721 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
889bf7c5 19722 {limit,fixed}''. Test ``set download-write-size''.
11cf8741
JM
19723
19724Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
19725
19726 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
889bf7c5 19727 gdb_expect_list.
11cf8741
JM
19728
19729Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
19730
19731 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
19732
197331999-11-03 Mark Salter <msalter@cygnus.com>
19734
19735 * gdb.base/break.exp: Fix "stub continue" pattern.
19736
197371999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
19738
19739 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
19740
197411999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
19742
19743 * gdb.base/display.exp ("finish"): Add timeout clause.
19744
19745 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
19746 plain prompt clause, so this doesn't have to time out in order to
19747 fail.
19748
19749 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
889bf7c5 19750 breakpoint hit messages include an address.
11cf8741
JM
19751
19752 * gdb.base/display.exp: Don't forget to escape parens in regular
19753 expressions. Unix regexp notatation sucks.
19754
197551999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19756
19757 * gdb.base/annota1.exp: Test for annotate-signalled: change output
889bf7c5 19758 order for 'signalled' message.
11cf8741 19759
5c44784c
JM
197601999-11-01 Stan Shebs <shebs@andros.cygnus.com>
19761
19762 From Jimmy Guo <guo@cup.hp.com>:
19763 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
19764 * gdb.base/annota1.c: Add code for tests to work with.
19765
197661999-10-26 Frank Ch. Eigler <fche@cygnus.com>
19767
19768 * gdb.base/remote.exp: New test for remote downloading settings.
19769 * gdb.base/remote.c: New file with large .data.
19770
917317f4
JM
197711999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
19772
19773 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
19774 for LinuxThreads support, merged from the Code Fusion branch.
19775
19776Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
19777
19778 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
889bf7c5
PA
19779 containing exp_continue into a while within an expect. Don't
19780 attempt a start more than three times. Check return value from
19781 gdb_load.
d63a86f8 19782
2df3850c
JM
19783Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
19784
19785 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
889bf7c5 19786 a pass case.
2df3850c 19787
2acceee2
JM
197881999-10-01 Kevin Buettner <kevinb@cygnus.com>
19789
19790 * gdb.base/break.c (main): Added a statement that we can step
19791 off of.
19792 * gdb.base/break.exp: Added tests for setting a breakpoint
19793 at an offset and stepping onto a breakpoint.
19794
197951999-10-01 Fred Fish <fnf@cygnus.com>
19796
d63a86f8 19797 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
19798 gdb output.
19799
c2c6d25f
JM
198001999-09-18 Jim Blandy <jimb@cris.red-bean.com>
19801
19802 * gdb.base/break.exp: Code locations are in hex, don't forget!
19803 (For HP-UX.)
19804
198051999-09-17 Stan Shebs <shebs@andros.cygnus.com>
19806
19807 * condbreak.exp: Use break.c as test program.
19808 * condbreak.c: Remove, redundant with break.c.
19809
198101999-09-15 Stan Shebs <shebs@andros.cygnus.com>
19811
19812 * config/monitor.exp (gdb_target_monitor): Disable X- and
889bf7c5 19813 Z-packets if the target needs it.
c2c6d25f
JM
19814
198151999-09-13 James Ingham <jingham@leda.cygnus.com>
19816
19817 * gdb.c++/overload.exp: Added tests for listing overloaded
19818 functions with function pointers in the arg, explicitly calling
19819 out the version you want.
19820
cff3e48b
JM
198211999-09-09 Stan Shebs <shebs@andros.cygnus.com>
19822
19823 * long_long.exp: Add variations of test cases that work for
19824 targets with 16-bit ints and 32-bit doubles.
19825
d4f3574e
SS
198261999-09-08 Stan Shebs <shebs@andros.cygnus.com>
19827
19828 * break.c (main): Compare a possibly-uninitialized argc with an
19829 unlikely value that fits in 16 bits.
19830
198311999-09-07 Stan Shebs <shebs@andros.cygnus.com>
19832
19833 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
19834 0xfeeb, don't want negative numbers if ints are 16 bits.
19835
19836 * lib/gdb.exp (skip_cplus_tests): New proc.
19837 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
889bf7c5
PA
19838 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
19839 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
19840 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
19841 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
19842 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
19843 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
19844 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
d4f3574e
SS
19845
19846 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
19847
19848Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
19849
19850 * gdb.base/corefile.exp (up): Allow a parameter to appear
19851 in the frame that we're going up to.
19852
19853 From Jim Blandy <jimb@cygnus.com>:
19854
19855 * gdb.base/default.exp (info float): Expect some output now.
19856
19857 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
19858 returning floating-point values to fail on the x86.
19859 * gdb.base/callfwmall.exp (do_function_calls): Same.
19860
19861 * gdb.base/list.exp (test_listsize): Correct expectations for
19862 listing line 1 with listsize 2. Also, listing a single line
19863 works now, as does listing three lines. [Kevin's note: There
19864 were a number of other cases fixed too where the expectations
19865 differed...]
19866
198671999-09-02 Stan Shebs <shebs@andros.cygnus.com>
19868
19869 * gdb.base/selftest.exp: Add case for when version prints as
19870 constant string instead of char pointer.
19871
104c1213
JM
198721999-08-25 Stan Shebs <shebs@andros.cygnus.com>
19873
19874 * gdb.base/ending-run.exp: Add Solaris case for what happens when
889bf7c5 19875 stepping out of main.
104c1213
JM
19876
19877 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
19878 G++ used.
19879
19880 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
889bf7c5 19881 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
104c1213
JM
19882
19883 * gdb.c++/ovldbreak.exp: Update match string in test that
19884 includes a warning of multiple breakpoints.
19885
198861999-08-24 Stan Shebs <shebs@andros.cygnus.com>
19887
19888 * gdb.base/display.exp: Improve precision of step-after-finish
19889 added yesterday.
19890
19891 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
889bf7c5 19892 test.
104c1213
JM
19893
19894 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
19895 configs when using G++, not just hppa*.
19896
198971999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19898
19899 * gdb.base/async.c: New file.
19900 * gdb.base/async.exp: New file.
19901
19902Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
19903
19904 * gdb.base/break.exp: Tweak PA specific tests to properly handle
19905 PA64.
19906
53a5351d
JM
19907Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
19908
104c1213
JM
19909 * gdb.base/display.exp: "finish" can leave us mid-line on many
19910 targets, deal with it. Add a small constant to main, instead of
19911 1000 since main+1000 may not be a valid address in the target.
19912
53a5351d
JM
19913 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
19914 on hpux11.
19915
19916 * gdb.base/attach.exp: Handle another hpux11 error message variant
19917 when attaching to a process that does not exist.
19918
199191999-08-19 J.T. Conklin <jtc@redback.com>
19920
19921 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
889bf7c5 19922 characters in 'continue to 1241' test.
53a5351d
JM
19923
199241999-08-17 Stan Shebs <shebs@andros.cygnus.com>
19925
19926 * gdb.base/call-ar-st.exp: Add a shorter match case for the
19927 stop in print_long_arg_list, define and use a whitespace
19928 variable in print_small_structs test, add an XFAIL for Solaris.
19929 * gdb.base/dbx.exp: XFAIL func commands until somebody is
19930 interested enough to fix.
19931
7be570e7
JM
199321999-08-13 Keith Seitz <keiths@cygnus.com>
19933
19934 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
19935 (dbx_gdb_load): Remove. Use gdb_load instead, since that
19936 proc knows about targets other than the natives.
19937 (test_assign): Use "gdb_run_cmd" to "run" the target.
19938 Check that we've actually hit the breakpoint at main.
19939 When we attempt to assign a value to a local variable, check
19940 that the variable is in the current scope, i.e., don't use
19941 a test with an empty result.
19942
19943Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
19944
19945 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
889bf7c5 19946 command.
7be570e7
JM
19947
199481999-08-09 Stan Shebs <shebs@andros.cygnus.com>
19949
19950 From Jimmy Guo <guo@cup.hp.com> and others at HP:
19951 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
19952 gdb.compat, gdb.threads-hp.
19953 gdb.hp/configure, gdb.hp/configure.in: New files.
19954 gdb.hp/Makefile.in: Recurse into new subdirs.
19955 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
19956 gdb.hp/gdb.objdbg: New directory, tests for debugging info
19957 in object files.
19958 gdb.hp/tools: New directory, aux tools for HP-specific tests.
19959
96baa820
JM
199601999-08-05 Stan Shebs <shebs@andros.cygnus.com>
19961
19962 * gdb.base/display.exp: Help expect by putting a newline in the
889bf7c5 19963 funky printf, remove a bogus p/a test.
96baa820
JM
19964
199651999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19966
19967 * gdb.base/display.exp: Make sure that when we say 'run', we are
889bf7c5
PA
19968 connected to the target. This is necessary when running not
19969 natively.
96baa820
JM
19970
199711999-08-03 Stan Shebs <shebs@andros.cygnus.com>
19972
19973 * gdb.base/step-test.exp: Removed some extraneous messages.
19974
19975 * gdb.base/long_long.exp: Don't run memory examination tests
19976 on little-endian targets (they will need a different set of
19977 results to match).
19978
199791999-08-02 Stan Shebs <shebs@andros.cygnus.com>
19980
19981 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
19982 until somebody decides to fix GDB.
19983
19984 * gdb.base/long_long.c: Stop compiler complaint by specifying long
889bf7c5 19985 constant as "ULL".
96baa820
JM
19986 * gdb.base/long_long.exp: Loosen x/c test, add partial result
19987 matches for a couple x/2 commands.
19988
a0b3c4fd
JM
199891999-07-30 Stan Shebs <shebs@andros.cygnus.com>
19990
19991 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
19992 by merging in ref-types2 tests.
19993 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
19994
19995 From Jimmy Guo <guo@cup.hp.com> and others at HP:
19996 * gdb.c++/Makefile.in: Add standard actions.
19997 (EXECUTABLES): Rename from PROGS, update list.
19998 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
19999 from gdb.hp.
20000 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
20001 foo and bar locals.
20002 * gdb.c++/anon-union.exp: Fix tests to match.
20003 * gdb.c++/classes.exp: Run if HP compiler used, add extra
20004 expect matches to handle output variations.
20005 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
20006 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
889bf7c5 20007 output, add HP alternatives for new and delete prints.
a0b3c4fd 20008 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
889bf7c5 20009 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
a0b3c4fd
JM
20010 * gdb.c++/demangle.exp: Use $style when reporting failure.
20011 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
20012 * gdb.c++/inherit.exp: Run if HP compiler used, add some
20013 match alternatives.
20014 * gdb.c++/local.exp: Add match alternatives or xfails for HP
889bf7c5 20015 compilers.
a0b3c4fd
JM
20016 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
20017 * gdb.c++/method.exp: Add match alternatives.
20018 * gdb.c++/misc.cc: Add bool types.
20019 * gdb.c++/misc.exp: Add tests for bool types.
20020 * gdb.c++/overload.exp: Add xfails.
20021 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
20022 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
20023 add some more template parameter tests (only for HP currently).
20024 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
20025 * gdb.c++/virtfunc.cc: Add return type and value for main.
20026 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
20027 match alternatives.
d63a86f8 20028
a0b3c4fd
JM
200291999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20030
20031 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
20032
200331999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
20034
20035 * gdb.base/signals.exp: Don't expect getting a backtrace from
20036 within a signal handler to fail on Linux.
20037
200381999-07-29 Stan Shebs <shebs@andros.cygnus.com>
20039
20040 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20041 * lib/gdb.exp: Remove some gratuitious semicolons.
20042 (delete_breakpoints): Increase timeout.
20043 (gdb_expect): Add -notransfer option.
20044 (gdb_test): Use -notransfer option.
20045 (get_compiler_info): Add f77 case.
20046 (get_compiler): New proc, split out from gdb_preprocess, add f77
889bf7c5 20047 case.
a0b3c4fd
JM
20048 (gdb_preprocess): Call get_compiler.
20049
20050 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
20051 * gdb.base/attach.exp, gdb.base/display.exp,
889bf7c5
PA
20052 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
20053 gdb.base/long_long.exp, gdb.base/printcmds.exp,
20054 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
20055 third arg to gdb_test.
a0b3c4fd
JM
20056 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
20057 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
889bf7c5 20058 HP-UX xfails, add others.
a0b3c4fd
JM
20059 * gdb.base/completion.exp: Reflect name change of self-test.
20060 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
889bf7c5
PA
20061 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
20062 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
20063 HP failure number.
a0b3c4fd
JM
20064 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
20065 useless HP-UX 10.30 references.
20066 * gdb.base/maint.exp: Loosen matches.
20067 * gdb.base/pointers.c (main): Declare more_code.
20068 * gdb.base/pointers.exp: Match on output of a `next'.
20069 * gdb.base/structs.c: Add prototypes.
20070 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
20071 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
20072
200731999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20074
20075 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
889bf7c5 20076 command.
a0b3c4fd
JM
20077
200781999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20079
20080 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
20081 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
20082
20083 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
20084 debug info. Deal with lack of signal hanlder info in stack.
20085
a9c64011 20086 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
20087 * gdb.base/annota1.exp: If printf has debug info, deal with it.
20088
5a2468f5
JM
200891999-07-19 Stan Shebs <shebs@andros.cygnus.com>
20090
20091 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
889bf7c5 20092 gdb.base/foll-vfork.exp: Don't run for crosses.
5a2468f5 20093
adf40b2e
JM
20094Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
20095
20096 * gdb.base/configure.in: Check for gdbvars.exp instead of
889bf7c5 20097 a1-selftest.exp.
adf40b2e
JM
20098 * gdb.base/configure: Re-generate.
20099
201001999-07-12 Stan Shebs <shebs@andros.cygnus.com>
20101
20102 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
20103 in trying to run first and name is too long.
20104
20105 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
20106 pointers2.c and pointers2.exp, respectively.
20107 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
20108 doschk happier.
20109
43e526b9
JM
201101999-07-08 Stan Shebs <shebs@andros.cygnus.com>
20111
20112 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
20113 callfuncs2.c and callfuncs2.exp.
20114
20115 * gdb.base/list.exp: Remove mistaken xfails.
20116 * gdb.base/list0.h: Add optional prototypes.
20117
9846de1b
JM
20118Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
20119
a9c64011 20120 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
889bf7c5 20121 calling malloc.
a9c64011
AS
20122 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
20123 * ptype.exp: Move test for get_debug_format to before its first
889bf7c5 20124 use.
9846de1b
JM
20125
201261999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20127
20128 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
20129 * gdb.base/annota2.cc, annota2.exp: Move from here.
20130 * gdb.c++/annota2.cc, annota2.exp: To here.
20131 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
20132
43ff13b4
JM
20133Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
20134
20135 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
889bf7c5 20136 a consistent format.
43ff13b4 20137
085dd6e6
JM
201381999-06-25 Stan Shebs <shebs@andros.cygnus.com>
20139
20140 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20141 * lib/gdb.exp (get_compiler_info): Add detection for assorted
20142 HP compilers, also set the globals $true and $false.
20143
20144 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
889bf7c5
PA
20145 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
20146 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
20147 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
20148 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
20149 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
20150 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
20151 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
20152 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
20153 whatis.c} Add C++ compatible function definitions and return
20154 types, add includes for library functions.
085dd6e6
JM
20155 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
20156 * gdb.base/step-test.c (myglob): Rename from glob.
20157 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
889bf7c5
PA
20158 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
20159 files, move here from gdb.hp.
085dd6e6 20160 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
889bf7c5
PA
20161 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
20162 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
20163 Adjust line numbers in regexps.
085dd6e6
JM
20164
20165 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
20166 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
20167 instead of 0/1.
20168
20169 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
20170 foll-vfork.exp: New files, move here from gdb.hp.
20171 * gdb.base/page.exp: New file, test of pagination command.
20172
20173 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
20174 recursion test.
20175 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
20176
20177 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
889bf7c5 20178 gdb.base/solib.exp: Fix compiler invocation process.
085dd6e6
JM
20179
20180 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
889bf7c5 20181 HP-UX 11, turn off overload resolution explicitly.
085dd6e6 20182 * gdb.base/commands.exp: Set argument list explicitly, add
889bf7c5 20183 watchpoint test.
085dd6e6
JM
20184 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
20185 them work.
20186 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
20187 expressions properly.
20188 * gdb.base/corefile.exp: Loosen the match slightly.
20189 * gdb.base/default.exp: Allow "Error accessing memory" message
20190 also.
20191 * gdb.base/display.exp: Skip over x/0 j if PA64.
20192 * gdb.base/funcargs.exp: Add xfails for HP-UX.
20193 * gdb.base/interrupt.exp: Ditto.
20194 * gdb.base/langs.exp: Add symbolic matches governed by compiler
20195 in use.
20196 * gdb.base/list.exp: Add xfails for HP-UX.
20197 * gdb.base/long_long.exp: Refine some of the numeric matches.
20198 * gdb.base/mips_pro.exp: Xfail on HP-UX.
20199 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
20200 * gdb.base/nodebug.exp: Succeed on more varieties of output.
20201 * gdb.base/opaque.exp: Remove some HP-UX xfails.
20202 * gdb.base/ptype.exp: Succeed on more varieties of output.
20203 * gdb.base/scope.exp: Add xfails for HP-UX.
20204 * gdb.base/sect-cmd.exp: Add more cases.
20205 * gdb.base/setvar.exp: Add xfails for HP-UX.
20206 * gdb.base/shlib-call.exp: Loosen some matches slightly.
20207 * gdb.base/signals.exp: Match on void symbolically.
20208 * gdb.base/step-test.exp: Add case for PA64.
20209 * gdb.base/term.exp: Add exit and restart.
20210 * gdb.base/twice.exp: Clean up after self.
20211 * gdb.base/varargs.exp: Disable overload resolution explicitly.
20212 * gdb.base/whatis.exp: Allow more ways to pass tests.
20213
20214 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
889bf7c5 20215 no longer useful.
085dd6e6
JM
20216
20217Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
20218
20219 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
889bf7c5 20220 list of patterns.
085dd6e6 20221 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
889bf7c5
PA
20222 print_double_array(double_array)", "continuing to breakpoint
20223 1018", "print print_double_array(array_d)" and "continuing to
20224 1034" tests.
d63a86f8 20225
085dd6e6
JM
202261999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
20227
a9c64011 20228 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
20229
202301999-06-24 Stan Shebs <shebs@andros.cygnus.com>
20231
20232 * config/mt-*: Remove, these haven't been used since 1996.
20233
202341999-06-22 Stan Shebs <shebs@andros.cygnus.com>
20235
20236 * gdb.base/call-strs.c, gdb.base/ending-run.c,
889bf7c5 20237 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
085dd6e6
JM
20238 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
20239
9e0b60a8
JM
202401999-06-18 Stan Shebs <shebs@andros.cygnus.com>
20241
20242 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
20243 simpler match case for the ptype of the big class.
20244
202451999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20246
20247 * gdb.exp: Fix test for gdb_prompt existence.
20248
202491999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20250
20251 * gdb.exp (gdb_test): Add fail after calls to perror.
20252
202531999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20254
20255 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
20256
202571999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20258
20259 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
20260
0f71a2f6
JM
20261Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
20262
20263 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
889bf7c5 20264 malloc() is linked in.
0f71a2f6
JM
20265
202661999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
20267
20268 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
20269 step at end.
20270
20271 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
20272
202731999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
20274
20275 * gdb.java/jv-print.exp: New file. (Our first Java test!)
20276
cce74817
JM
20277Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
20278
20279 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
20280 * gdb.base/mips_pro.exp: Likewise.
20281
202821999-06-02 Keith Seitz <keiths@cygnus.com>
20283
20284 * gdb.c++/templates.cc: Change all "new" operators to throw
20285 an exception.
20286 * gdb.c++/cplusfuncs.cc: Likewise.
20287
20288 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
20289
20290Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
20291
20292 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
20293 * gdb.base/ending-run.exp: When stepping out of main, accept a
20294 step into an arbitrary assembler file.
cce74817 20295
392a587b
JM
202961999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20297
d63a86f8 20298 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 20299 "breakpoint-invalid" to be printed.
d63a86f8 20300 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
20301 number of "frames-invalid" and "breakpoint-invalid" to be printed.
20302 * gdb.base/annota2.cc: Initialize a.x to 0.
20303
9e086581
JM
203041999-05-17 Keith Seitz <keiths@cygnus.com>
20305
20306 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
20307 when "skip_float_tests" set.
20308 Ditto for "print print_double_array(array_d)", "print print_small_structs",
20309 "print print_ten_doubles", and "step into print_long_arg_list".
20310 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
20311 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
20312 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
20313 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
20314 "skip_float_tests" is set.
20315 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
20316 when "skip_float_tests" set.
d63a86f8 20317
cd0fc7c3
SS
203181999-05-06 Keith Seitz <keiths@cygnus.com>
20319
20320 * gdb.base/annota2.cc: Include stdio.h.
20321
20322Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
20323
20324 * gdb.base/crossload.exp: Remove, this has been disabled ever
20325 since BFD stopped including all targets, and cross-GDB gets
20326 plenty of testing anyway.
20327 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
889bf7c5
PA
20328 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
20329 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
cd0fc7c3
SS
20330 * gdb.base/README: Remove, was doc for this.
20331 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
889bf7c5 20332 needed.
cd0fc7c3 20333
b83266a0
SS
203341999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20335
20336 * gdb.base/call-ar-st.exp: Fix one regular expression in test
20337 output.
20338
20339 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
20340 * gdb.base/annota2.exp: New file. More annotation tests.
20341 * gdb.base/annota1.c: New file. Source file for annota1.exp.
20342 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
20343
203441999-04-23 Angela Marie Thomas <angela@cygnus.com>
20345
20346 * config/cfdbug.exp: New file.
20347
7a292a7a
SS
203481999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
20349
20350 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
20351 Marcus Daniel's and Dale Hawkins's demangler crashes.
20352
20353 * gdb.c++/demangle.exp (test_gnu_style_demangling,
889bf7c5
PA
20354 test_lucid_style_demangling, test_arm_style_demangling,
20355 test_hp_style_demangling): Try Tom Tromey's core-dumping
20356 identifier under each demangling style.
7a292a7a
SS
20357
203581999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
20359
20360 * gdb.c++/demangle.exp: Include the current demangling style
20361 in all test names.
20362 (current_demangling_style): New global variable.
20363 (set_demangling_style, test_demangling_core, test_demangling,
20364 test_demangling_exact): New functions.
20365 (test_gnu_style_demangling, test_lucid_style_demangling,
20366 test_arm_style_demangling, test_hp_style_demangling): Use those,
20367 instead of calling gdb_test and gdb_test_exact directly.
20368 (catch_demangling_errors): New function, which reports errors
20369 signalled by the demangling test functions in an orderly way.
20370 (do_tests): Use catch_demangling_errors.
20371
203721999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
20373
20374 * gdb.base/signals.exp (test_handle_all_print): Use () for
889bf7c5 20375 grouping in expressions, not {}.
7a292a7a
SS
20376
20377 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
889bf7c5 20378 initialized yet.
7a292a7a
SS
20379
203801999-04-01 Stan Shebs <shebs@andros.cygnus.com>
20381
20382 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
20383 are listed.
20384
203851999-03-26 Stan Shebs <shebs@andros.cygnus.com>
20386
20387 * gdb.stabs/weird.exp: Test for CC being defined before
20388 looking at its value.
20389
203901999-03-25 Stan Shebs <shebs@andros.cygnus.com>
20391
20392 * gdb.base/call-ar-st.exp: Remove stray '#'.
20393 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
20394 "short int" and "long int".
20395 * gdb.c++/overload.cc: Cast the string added in the previous
889bf7c5 20396 change, to mollify finicky HP compiler.
7a292a7a
SS
20397 * gdb.hp/reg-test.exp (testfile): Fix file name.
20398 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 20399
7a292a7a
SS
20400 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
20401 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
20402 alternate form of enum ptype.
20403
c906108c
SS
204041999-03-23 Stan Shebs <shebs@andros.cygnus.com>
20405
7a292a7a
SS
20406 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
20407 * gdb.hp/*.exp: Change all to run compiler probe only after
889bf7c5
PA
20408 passing skip_hp_tests, so as not to waste time on guaranteed
20409 failure.
7a292a7a 20410
c906108c
SS
20411 * gdb.c++/overload.cc: Pass string instead of char addr, always
20412 init ccpfoo.
20413 * gdb.c++/templates.cc: Fix syntax error.
20414
7a292a7a
SS
20415Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20416
20417 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 20418 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
20419 command.
20420
204211999-03-18 James Ingham <jingham@cygnus.com>
20422
20423 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
20424
20425 * gdb.c++/method.exp: It was testing an uninitialized int on the
20426 stack and assuming it was positive.
20427
20428 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
20429
20430 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 20431 keep it from killing the rest of the tests.
7a292a7a
SS
20432 Use gdb_continue_to_end.
20433
20434 * gdb.base/sigall.exp: use gdb_continue_to_end.
20435
20436 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
20437
20438 * gdb.base/display.exp: use runto_main, not run.
20439
d63a86f8
RM
20440 * gdb.base/default.exp: Check for the current error message in the
20441 r abbreviation test.
7a292a7a
SS
20442 Add strongarm to the targets that know info float.
20443
d63a86f8 20444 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
20445 run which doesn't work with monitors.
20446
20447 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
20448
20449 * gdb.base/break.exp: use the gdb_continue_to_end proc.
20450
20451 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
20452 program. Traps the case (in Cygmon) when the program never really
20453 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
20454 more places, so I used my name. Sorry Mark...
20455
20456 * config/monitor.exp (gdb_target_monitor): added another
20457 target_info parameter: remotebinarydownload. This will set the
20458 remotebinarydownload flag if this is causing some boards trouble.
20459
204601999-03-18 Mark Salter <msalter@cygnus.com>
20461
20462 * lib/gdb.exp (continue_to_exit): New function.
20463
20464 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
20465 * gdb.base/ending-run.exp: Ditto.
20466 * gdb.base/step-test.exp: Ditto.
20467
204681999-03-16 Stan Shebs <shebs@andros.cygnus.com>
20469
20470 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
20471 (suggested by Art Haas <ahaas@neosoft.com>).
20472
204731999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
20474
889bf7c5 20475 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7a292a7a
SS
20476
20477Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
20478
20479 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
889bf7c5 20480 descriptions of types (short unsigned int vs unsigned short, etc).
7a292a7a
SS
20481
204821999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
20483
20484 * gdb.base/call-strs.exp: Don't assume that `step' will step over
20485 a call to strlen; sometimes we do have sources.
20486
204871999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
20488
20489 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
889bf7c5 20490 character, so GDB won't print garbage after its end.
d63a86f8 20491
c906108c
SS
20492 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
20493 breakpoint there instead. Sometimes GCC emits memcpy to handle
20494 the large structures being passed by value, so we step into that
20495 instead of sum_array_print, which obscures what we're really testing.
20496 * gdb.base/step-test.exp: However, we do want a test that notices
889bf7c5
PA
20497 the bizarre steps into memcpy, so do that here. Add check for
20498 stepping into function calls that pass large structures by value.
20499 ("Is that a noun clause, or are you just happy to see me?")
c906108c
SS
20500 Remove all references to specific line numbers.
20501 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
20502 New type and function.
20503 (main): Call large_struct_by_value, passing it a large struct by value.
20504 * lib/gdb.exp (gdb_get_line_number): New function.
20505
20506 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
20507 more portable.
20508
7a292a7a
SS
205091999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
20510
c906108c
SS
20511 * lib/gdb.exp: Doc fixes.
20512
7a292a7a
SS
205131999-03-05 Nick Clifton <nickc@cygnus.com>
20514
d63a86f8 20515 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
20516
205171999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
20518
c906108c 20519 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
889bf7c5
PA
20520 commands. They're not germane to this test, and they don't work
20521 that way on remote targets.
c906108c 20522
3fc11d3e
JM
205231999-03-01 James Ingham <jingham@cygnus.com>
20524
20525 * Changelog entries merged over from gdb development branch.
20526
3fc11d3e
JM
20527 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
20528
20529 * lib/gdb.exp (gdbtk_analyze_results): Generic function
20530 for outputting results of test run.
20531
2d4a1622 20532 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
20533
20534 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 20535
7a292a7a
SS
205361999-02-25 Felix Lee <flee@cygnus.com>
20537
20538 * lib/gdb.exp (debug_format): initialize
20539
c906108c
SS
205401999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
20541
20542 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
20543 * gdb.base/call-rt-st.c: Ditto.
20544
c906108c
SS
205451999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
20546
20547 * gdb.threads/pthreads.exp (horiz): New variable.
20548 (test_startup): Fix regexps that capture thread numbers.
20549
205501999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
20551
20552 * gdb.base/smoke.exp: Disambiguate two test case names (both
20553 called ``print'').
20554
20555Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
20556
20557 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
889bf7c5 20558 compilation.
c906108c
SS
20559
205601999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
20561
20562 * gdb.base/miscexprs.exp: Change patterns to match GDB's
20563 actual output formatting.
20564 * gdb.base/smoke.exp: GDB removes leading 0's.
20565 * gdb.base/volatile.exp: Don't check type of remuneration;
20566 that variable is no longer defined in constvars.c.
20567 * gdb.base/step-test.c (main): Exit with explicit exit code.
20568 * gdb.base/step-test.exp: Remove two nexti checks--they are
20569 not portable.
20570
205711999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
20572
20573 * gdb.base/help.exp ("help delete display"): Fix test to match
20574 gdb's output.
20575
20576 * gdb.base/long_long.c (known_types): Initialize values to zero.
20577 * gdb.base/long_long.exp: Step one more line
20578 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
20579 leading zeros. Explicitly ask for hex formatting. Use
20580 unique test case names.
c906108c
SS
20581
20582Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20583
d63a86f8 20584 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
20585
20586 * gdb.c++/method.exp: Add missing close brace.
20587
205881999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
20589
20590 * gdb.base/maint.exp: Use 'set height 0' to disable page
20591 prompting, not 'set height 400'.
20592
20593 Fix a bunch of timeouts.
20594 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
20595 four separate tests, so expect doesn't take forever to match a ton
20596 of text against a regexp with lots of .* forms.
20597 ("maint print psymbols", "maint print symbols"): Make some of
20598 these greps more selective, so that expect doesn't try to wade
20599 through huge piles of output and time out.
20600
20601 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
20602
20603 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
889bf7c5
PA
20604 tests: one which doesn't expect shlib events to be reported, and
20605 another which does, but is XFAIL for all platforms other than
20606 HP/UX.
c906108c
SS
20607
20608 * gdb.base/break.exp: Teach the test suite that the `catch
20609 fork', `catch vfork', and `catch exec' commands produce error
20610 messages on platforms that don't provide these features.
20611
20612Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
20613
20614 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
889bf7c5
PA
20615 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
20616 (shortening names from solib_threshold.exp etc), won't run on
20617 anything but HP-UX for the foreseeable future.
c906108c 20618 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
889bf7c5 20619 reflect move.
c906108c
SS
20620
20621Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
20622
20623 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
889bf7c5 20624 gdb.trace/Makefile.in (clean): Remove all test executables.
c906108c
SS
20625
20626Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
20627
20628 * gdb.base/shlib-call.exp: add test cases to verify that gdb
20629 successfully re-sets breakpoints in shared libraries.
20630 * gdb.base/shmain.c (main): return 0, don't fall off the end.
20631
20632Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20633
d63a86f8
RM
20634 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
20635 and compiled w/o GCC.
c906108c
SS
20636
20637 * gdb.hp/watch-cmd.exp: ditto.
20638
20639 * gdb.hp/watch-hp.exp: ditto.
20640
20641 * gdb.hp/xdb1.exp: ditto.
20642
20643 * gdb.hp/xdb2.exp: ditto.
20644
20645 * gdb.hp/dbx.exp: ditto.
20646
20647Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
20648
20649 * constvars.c: Remove C++-isms.
20650 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
889bf7c5 20651 with GCC.
c906108c
SS
20652
20653Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
20654
20655 The following changes are part of the HP merge.
20656
20657 * gdb.base/break.exp: new tests to verify that catchpoints for
20658 fork, vfork, and exec don't trigger inappropriately.
20659
20660 * gdb.base/opaque.exp: compile one file at a time, then link.
20661
20662 * gdb.base/signals.exp: be more restrictive about which hppa
20663 systems receive a setup_xfail. new tests.
20664
20665 * gdb.base/solib_threshold.build: new file.
20666 * gdb.base/solib_threshold.exp: new file.
20667 * gdb.base/solib_threshold.link_opts: new file.
20668 * gdb.base/solib_threshold.mk: new file.
20669 * gdb.base/gen_solib_threshold.c: new file.
20670
20671 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
20672 tests. New tests for enums inside classes.
20673
20674 * gdb.c++/compiler.cc: indicate support of template debugging.
20675
20676 * gdb.c++/demangle.exp: run hp style demangling tests.
20677
20678 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
20679 tests.
20680
20681 * gdb.c++/misc.cc: changes to support new tests.
20682
20683 * gdb.c++/templates.cc: changes to support HP's compiler; changes
20684 to support new tests.
20685
20686 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
20687 gcc, then skip these tests.
20688
20689Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
20690
20691 The following files are part of the HP merge; some had longer
20692 names at HP, but have been renamed to be no more than 14
20693 characters in length.
20694
20695 * gdb.hp/ambiguous.cc: new file.
20696 * gdb.hp/ambiguous.exp: new file.
20697 * gdb.hp/attach.exp: new file.
20698 * gdb.hp/attach2.exp: new file.
20699 * gdb.hp/classes-hp.exp: new file.
20700 * gdb.hp/ctti.exp: new file.
20701 * gdb.hp/ctti-add.cc: new file.
20702 * gdb.hp/ctti-add1.cc: new file.
20703 * gdb.hp/ctti-add2.cc: new file.
20704 * gdb.hp/ctti-add3.cc: new file.
20705 * gdb.hp/dbx.exp: new file.
20706 * gdb.hp/exception.cc: new file.
20707 * gdb.hp/exception.exp: new file.
20708 * gdb.hp/foll-exec.c: new file.
20709 * gdb.hp/foll-exec.exp: new file.
20710 * gdb.hp/foll-fork.c: new file.
20711 * gdb.hp/foll-fork.exp: new file.
20712 * gdb.hp/foll-vfork.c: new file.
20713 * gdb.hp/foll-vfork.exp: new file.
20714 * gdb.hp/inherit-hp.exp: new file.
20715 * gdb.hp/more-steps.exp: new file.
20716 * gdb.hp/namespace.cc: new file.
20717 * gdb.hp/namespace.exp: new file.
20718 * gdb.hp/optimize.exp: new file.
20719 * gdb.hp/pxdb.c: new file.
20720 * gdb.hp/pxdb.exp: new file.
20721 * gdb.hp/quicksort.exp: new file.
20722 * gdb.hp/reg-test.exp: new file.
20723 * gdb.hp/reg-test.s: new file.
20724 * gdb.hp/sized-enum.c: new file.
20725 * gdb.hp/sized-enum.exp: new file.
20726 * gdb.hp/start-stop.exp: new file.
20727 * gdb.hp/templ-hp.cc: new file.
20728 * gdb.hp/templ-hp.exp: new file.
20729 * gdb.hp/thr-lib.c: new file.
20730 * gdb.hp/thr-lib.exp: new file.
20731 * gdb.hp/thr-lib.h: new file.
20732 * gdb.hp/thr-liblib.c: new file.
20733 * gdb.hp/virtfun-hp.c: new file.
20734 * gdb.hp/virtfun-hp.exp: new file.
20735 * gdb.hp/watch-cmd.exp: new file.
20736 * gdb.hp/watch-hp.exp: new file.
20737 * gdb.hp/xdb1.exp: new file.
20738 * gdb.hp/xdb2.exp: new file.
20739 * gdb.hp/xdb3.exp: new file.
20740
20741Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
20742
20743 The following files are part of the HP merge; some had longer
20744 names at HP, but have been renamed to be no more than 14
20745 characters in length.
20746
20747 * gdb.base/ss.h: new file.
20748 * gdb.base/call-ar-st.c: new file.
20749 * gdb.base/call-ar-st.exp: new file.
20750 * gdb.base/call-rt-st.c: new file.
20751 * gdb.base/call-rt-st-exp: new file.
20752 * gdb.base/call-strs.exp: new file.
20753 * gdb.base/ena-dis-br.exp: new file.
20754 * gdb.base/environ.exp: new file.
20755 * gdb.base/long_long.exp: new file.
20756 * gdb.base/sect-cmd.exp: new file.
20757 * gdb.base/shlib-cl2.exp: new file.
20758 * gdb.base/smoke.exp: new file.
20759 * gdb.base/so-impl-ld.c: new file.
20760 * gdb.base/so-impl-ld.exp: new file.
20761 * gdb.base/so-indr-cl.c: new file.
20762 * gdb.base/so-indr-cl.exp: new file.
20763 * gdb.base/varargs.exp: new file.
20764 * gdb.base/volatile.exp: new file.
20765 * gdb.base/whatis-exp.exp: new file.
7a292a7a 20766 * gdb.base/display.exp: new file.
c906108c
SS
20767 * gdb.c++/derivation.exp: new file.
20768 * gdb.c++/local.exp: new file.
20769 * gdb.c++/member-ptr.exp: new file.
20770 * gdb.c++/overload.exp: new file.
20771 * gdb.c++/ovldbreak.exp: new file.
20772 * gdb.c++/ref-types.exp: new file.
20773 * gdb.c++/ref-types2.exp: new file.
20774 * gdb.c++/userdef.exp: new file.
d63a86f8 20775
c906108c
SS
20776Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
20777
20778 * gdb.base/default.exp: Reflect wording change in remote.c.
20779
dc96c6c7 20780Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20781
20782 * gdb.base/help.exp: Update to reflect current text.
20783
20784Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
20785
20786 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
20787 they're stack variables and contain garbage.
20788 * gdb.c++/anon-union.exp: new file.
20789
20790 The following changes were made by David Taylor
889bf7c5
PA
20791 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
20792 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
20793 in changes by HP.
c906108c
SS
20794
20795 * gdb.base/bitops.exp: new file.
20796 * gdb.base/default.exp: change expected messages for catch and
20797 info catch tests to reflect HP merge changes.
20798 * gdb.base/enable-disable-break.exp
20799 * gdb.base/ending-run.c: new file.
20800 * gdb.base/long_long.c: new file.
20801 * gdb.base/maint.exp: new file.
20802 * gdb.base/pointers2.exp: new file.
20803 * gdb.base/shlib-call2.exp: new file.
20804 * gdb.base/solib.exp: new file.
20805 * gdb.base/step-test.c: new file.
20806 * gdb.c++/anon-union.cc: new file.
20807 * gdb.c++/local.cc: new file.
20808 * gdb.c++/member-pointer.cc: new file.
20809 * gdb.c++/method.cc: new file.
20810 * gdb.c++/ref-types.cc: new file.
20811 * gdb.c++/ref-types2.cc: new file.
20812 * gdb.c++/userdef.cc: new file.
d63a86f8 20813
c906108c
SS
20814 * gdb.base/scope.exp: compile one file at a time, then link.
20815 * gdb.base/langs.exp: ditto.
20816 * gdb.base/list.exp: ditto.
d63a86f8 20817
c906108c
SS
20818Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
20819
20820 The following changes were made by David Taylor
889bf7c5
PA
20821 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
20822 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
20823 in changes by HP.
d63a86f8 20824
c906108c
SS
20825 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
20826 skip tests. When compiling pass c++ flag to gdb_compile.
20827 * gdb.c++/
d63a86f8 20828
c906108c
SS
20829 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
20830 test for on hppa*-*-hpux*; use args to see if c++ was specified.
20831 (skip_hp_tests): new function.
20832 (gdb_preprocess): new function.
20833
20834 * configure.in (hpdir): decide whether to configure gdb.hp.
20835 * configure: regenerated.
20836
20837 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
20838 to delete on clean.
20839 (EXECUTABLES): update to reflect new additions.
20840 * gdb.base/commands.exp: update message expected.
20841 * gdb.base/default.exp: add copyright notice.
20842 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
20843 * gdb.base/help.exp: update messages to reflect current text.
20844 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
20845 targets for recurse tests.
20846 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
20847 skip this file.
20848
20849 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
20850 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
20851 compilation.
20852 * gdb.c++/misc.exp: ditto.
20853 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
20854 run the tests. tell gdb_compile that it's a c++ compilation.
20855
20856 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 20857
c906108c
SS
20858 * gdb.base/all-bin.exp: new file.
20859 * gdb.base/arithmet.exp: new file.
20860 * gdb.base/assign.exp: new file.
20861 * gdb.base/completion.exp: new file.
20862 * gdb.base/cond-expr.exp: new file.
20863 * gdb.base/condbreak.exp: new file.
20864 * gdb.base/define.exp: new file.
20865 * gdb.base/dollar.exp: new file.
20866 * gdb.base/environment.exp: new file.
20867 * gdb.base/eval-skip.exp: new file.
20868 * gdb.base/jump.exp: new file.
20869 * gdb.base/logical.exp: new file.
20870 * gdb.base/pointers.exp: new file.
20871 * gdb.base/relational.exp: new file.
20872 * gdb.base/section_command.exp: new file.
20873 * gdb.base/whatis-expr.exp: new file.
20874
20875 * gdb.base/all-types.c: new file.
20876 * gdb.base/call-array-struct.c: new file.
20877 * gdb.base/call-return-struct.c: new file.
20878 * gdb.base/call-strings.c: new file.
20879 * gdb.base/callfuncs2.c: new file.
20880 * gdb.base/condbreak.c: new file.
20881 * gdb.base/constvars.c: new file.
20882 * gdb.base/display.c: new file.
20883 * gdb.base/int-type.c: new file.
20884 * gdb.base/jump.c: new file.
20885 * gdb.base/miscexprs.c: new file.
20886 * gdb.base/pointers.c: new file.
20887 * gdb.base/pointers2.c: new file.
20888 * gdb.base/shmain.c: new file.
20889 * gdb.base/shr1.c: new file.
20890 * gdb.base/shr2.c: new file.
20891 * gdb.base/solib.c: new file.
20892 * gdb.base/solib1.c: new file.
20893 * gdb.base/solib2.c: new file.
20894 * gdb.base/varargs.c: new file.
20895 * gdb.c++/derivation.cc: new file.
20896 * gdb.c++/overload.cc: new file.
20897 * gdb.c++/ovldbreak.cc: new file.
20898 * gdb.hp/attach.c: new file.
20899 * gdb.hp/attach2.c: new file.
20900 * gdb.hp/average.c: new file.
20901 * gdb.hp/compiler.c: new file.
20902 * gdb.hp/compiler.cc: new file.
20903 * gdb.hp/execd-program.c: new file.
20904 * gdb.hp/follow-exec.c: new file.
20905 * gdb.hp/follow-fork.c: new file.
20906 * gdb.hp/follow-vfork-and-exec.c: new file.
20907 * gdb.hp/misc-hp.cc: new file.
20908 * gdb.hp/more-steps.c: new file.
20909 * gdb.hp/optimize.c: new file.
20910 * gdb.hp/quicksort.c: new file.
20911 * gdb.hp/run-hp.c: new file.
20912 * gdb.hp/start-stop.c: new file.
20913 * gdb.hp/sum.c: new file.
20914 * gdb.hp/templates-hp.cc: new file.
20915 * gdb.hp/thread-local-in-lib.c: new file.
20916 * gdb.hp/thread-local-in-lib.h: new file.
20917 * gdb.hp/thread-local-in-lib.lib.c: new file.
20918 * gdb.hp/vforked-program.c: new file.
20919 * gdb.hp/virtfunc-hp.cc: new file.
20920 * gdb.hp/watchpoint-hp.c: new file.
20921 * gdb.hp/xdb.c: new file.
20922 * gdb.hp/xdb0.c: new file.
20923 * gdb.hp/xdb0.h: new file.
20924 * gdb.hp/xdb1.c: new file.
20925
20926Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
20927
20928 The following change was made by Edith Epstein
889bf7c5
PA
20929 <eepstein@cygnus.com> as part of a project to merge in changes
20930 originally made by HP; HP did not create ChangeLog entries.
c906108c
SS
20931
20932 * gdb.c++/demangle.exp: changed the expected output for some
20933 ARM-style mangling -- removed second reference to datatype.
889bf7c5 20934 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 20935 T1<char>::~T1<char>(void)
c906108c 20936 becomes,
a9c64011
AS
20937 maint demangle __dt__11T1__pt__2_cFv
20938 T1<char>::~T1(void)
c906108c 20939
889bf7c5 20940 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 20941
c906108c
SS
20942Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
20943
20944 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
20945 * gdb.trace/backtrace.exp: Likewise.
20946 * gdb.trace/circ.exp: Likewise.
20947 * gdb.trace/collection.exp: Likewise.
20948 * gdb.trace/deltrace.exp: Likewise.
20949 * gdb.trace/infotrace.exp: Likewise.
20950 * gdb.trace/limits.exp: Likewise.
20951 * gdb.trace/packetlen.exp: Likewise.
20952 * gdb.trace/passc-dyn.exp: Likewise.
20953 * gdb.trace/passcount.exp: Likewise.
20954 * gdb.trace/report.exp: Likewise.
20955 * gdb.trace/save-trace.exp: Likewise.
20956 * gdb.trace/tfind.exp: Likewise.
20957 * gdb.trace/tracecmd.exp: Likewise.
20958 * gdb.trace/while-dyn.exp: Likewise.
20959 * gdb.trace/while-stepping.exp: Likewise.
20960
209611998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
20962
20963 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
20964
20965Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
20966
20967 From Brendan Kehoe:
20968 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
20969 int return types.
20970
20971Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
20972
20973 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
889bf7c5 20974 remote dos host testing right.
c906108c
SS
20975
20976Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
20977
20978 * gdb.base/corefile.exp: remove some xfails.
20979
20980Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
20981
20982 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
889bf7c5 20983 have different timestamps.
c906108c
SS
20984
20985Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
20986
20987 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
889bf7c5 20988 gdb.base/default.exp: Replace "exec" with "executable".
c906108c
SS
20989
20990Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
20991
20992 * gdb.base/default.exp: Change else if to elseif from previous
889bf7c5 20993 delta.
c906108c
SS
20994
20995Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
20996
20997 * gdb.base/default.exp: Add brace missing from previous delta.
20998
20999Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
21000
21001 * gdb.base/default.exp: Support test for info float for all
21002 varieties of arm toolchain.
21003
dc96c6c7 21004Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21005
21006 * gdb.trace/*.exp: remove "remote_download" command.
21007
dc96c6c7 21008Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21009
21010 * gdb.trace/*.exp: remove -gdwarf from compile.
21011
21012Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
21013
21014 * gdb.trace/configure.in(AC_INIT): typo
21015 * gdb.trace/configure: regenerated
21016
dc96c6c7 21017Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21018
21019 * config/m68k-emc.exp: New file.
21020 * lib/<emc-support.exp trace-support.exp}: New files.
21021 * configure.in: add new test directory gdb.trace.
21022 * gdb.trace/{configure configure.in Makefile.in}: New files.
21023 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
21024 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
21025 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
21026 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
21027 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
21028 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
21029 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 21030
dc96c6c7 21031Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21032
21033 * gdb.c++/classes.exp: Change all regular expressions to match
21034 arbitrary combinations of newline/carriage-return, so that they
21035 will work equally well on Unix and Windows.
21036 * gdb.c++/inherit.exp: ditto.
21037 * gdb.c++/virtfunc.exp: ditto.
21038
210391998-08-11 Dawn Perchik <dawn@cygnus.com>
21040
21041 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
21042
c2d11a7d
JM
21043Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
21044
21045 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
21046 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
21047 to use a0-a3/d0-d3 as needed.
21048
21049Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
21050
21051 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
21052 * gdb.disasm/am33.exp: Corresponding changes.
21053
c906108c
SS
210541998-07-11 Felix Lee <flee@cygnus.com>
21055
21056 * gdb.base/callfuncs.exp: add cmp10 test.
21057 * gdb.base/callfuncs.c (cmp10): new function.
21058
21059Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
21060
d63a86f8 21061 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
21062 into two parts to get around a synchronization problem in expect.
21063
3fc11d3e
JM
21064Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
21065
21066 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
21067
21068 * configure.in: Add options for gdbtk testsuite.
21069
21070 * configure: Regenerate.
21071
21072 * gdb.gdbtk: New directory to hold gdbtk tests.
21073
c906108c
SS
21074Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
21075
21076 * gdb.fortran/types.exp: Escape brackets in expect patterns
21077 for test_float_literal_types_accepted tests.
21078 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
21079 before run test.
21080
c2d11a7d
JM
21081Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
21082
21083 * am33.exp: Just compile, do not link the testcase.
21084 * am33.s: Add ".am33" pseudoop to force am33 mode.
21085
c906108c
SS
210861998-06-25 Felix Lee <flee@cygnus.com>
21087
21088 * gdb.base/setshow.exp: make sure $pc is sane.
21089
21090 * gdb.stabs/weird.exp: split expect patterns properly.
21091
c2d11a7d
JM
21092Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
21093
21094 * gdb.disasm/am33.s: New disassembler testfile for the am33.
21095 * gdb.disasm/am33.exp: Run it.
21096
dc96c6c7 21097Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21098
21099 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
21100 match processing (and eliminate spurious timeouts when running).
21101
dc96c6c7 21102Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21103
21104 * gdb.base/signals.exp (test_handle_all_print): put back Mach
21105 exception test, but conditionalize it on target [mach | gnu].
21106
dc96c6c7 21107Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21108
21109 * gdb.base/overlays.exp: fixup compile line for linker script.
21110
21111Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
21112
21113 * gdb.fortran/types.exp: don't guess at float size.
21114
21115Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
21116
21117 * gdb.base/exprs.exp: delete test that depends on int size.
21118
21119Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
21120
21121 * config/sim.exp: Removed checks for target triplets.
21122 (gdb_target_sim): Use gdb,target_sim_options.
21123
21124Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
21125
21126 * gdb.base/reread.exp: New file.
21127 * gdb.base/reread1.c: New file.
21128 * gdb.base/reread2.c: New file.
21129
21130Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
21131
21132 * config/sim.exp: Use 'target sim -sparclite' when running
21133 SPARClite programs.
21134
21135Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
21136
21137 * gdb.base/structs2.exp: New file.
21138 * gdb.base/structs2.c: New file.
21139
21140Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
21141
21142 * gdb.asm/common.inc: New file.
21143 * gdb.asm/d10v.inc: New file.
21144 * asm-source.exp: Pass -I's to gas to find .inc files.
21145 Update line numbers in expected output.
21146 * asmsrc1.s: Rewrite.
21147 * asmsrc2.s: Rewrite.
21148 * configure.in: Create arch.inc symlink.
21149 * configure: Regenerate.
21150 * Makefile.in (distclean): Delete arch.inc.
21151
21152Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
21153
21154 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
889bf7c5
PA
21155 (t_enum_value2): ditto
21156 (t_enum_value3): ditto
21157 (main): ditto
c906108c
SS
21158Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
21159
21160 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
21161 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
21162 change.
21163 Use gdb_test instead of send_gdb/gdb_expect sequences.
21164
21165Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
21166
21167 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
21168 not void.
21169
21170Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
21171
21172 * gdb.base/branches.c: Code with lots of loops and
889bf7c5
PA
21173 subroutines. Used to test gdbs ability to single step through PC
21174 changes, especially to test mips-tdep.c:mips_next_pc
c906108c
SS
21175
21176Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
21177
21178 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
21179 more rigorous EGCS C++ error checking.
21180
21181Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21182
a9c64011
AS
21183 * gdb.base/help.exp: Clean up `help set args' and `help show args'
21184 tests.
21185 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
21186 function when asleep.
21187 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
21188 for i*86 Linux and SVR4 signal handling problems.
21189 Remove linux xfail for `next to handler in signals_tests_1', fixed
21190 by recent infrun.c change.
21191 Limit backtrace to 10 frames to avoid timeout problems with infinite
21192 stack backtraces.
21193 Adjust expect pattern in `handle all print' test to match Apr 28 1997
21194 target.[ch] change.
c906108c
SS
21195
21196Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
21197
21198 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
21199 for a newline from gdb before continuing.
21200 (default_gdb_exit): Just look for y or n.
21201 (gdb_test): Detect abnormal exit from GDB running on DOS; if
21202 it does, fail the rests of the tests in the file.
21203
21204Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
21205
21206 * config/cygmon.exp: New file.
21207
21208Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
21209
21210 * gdb.base/list.exp: Fix problem with "list default lines around
889bf7c5 21211 main" test on remote targets.
c906108c
SS
21212
21213 * gdb.base/scope.exp: Fix problem with filelocal_bss before
21214 run test on remote targets.
21215
21216Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
21217
21218 * gdb.asm: New directory.
21219 * configure.in: Configure it.
21220 * configure: Regenerate.
21221 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
21222 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
21223
21224Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
21225
21226 * config/mn10300-eval.exp: New file to support MN10300 eval board.
21227
dc96c6c7 21228Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 21229
a9c64011
AS
21230 * gdb.base/overlays (several files): Merge the two overlay
21231 managers into one. Change variables (foox, barx, bazx, grbxx)
21232 back into ints but force them to load in their proper sections.
c906108c
SS
21233
21234Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
21235
21236 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
889bf7c5 21237 on-chip insn memory and IMAP1 to upper 128k.
c906108c
SS
21238 (D10VCopy): Handle memory regions crossing 16k boundaries.
21239 (D10VCopy): Transfer data in 32 bit chunks.
21240
21241Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
21242
21243 * gdb.base/overlays.c (main): Exit normally when result is
889bf7c5 21244 correct.
c906108c
SS
21245
21246 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
889bf7c5 21247 map. Include space for printf in .text segment.
c906108c
SS
21248
21249 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
889bf7c5 21250 updated d10v memory VMA/LMA map.
c906108c 21251 (D10VCopy): Call D10VTranslate.
d63a86f8 21252
c906108c
SS
21253Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
21254
21255 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
21256
21257 * gdb.base/bar.c (barx, bar): Change variable to small array so
889bf7c5
PA
21258 that it won't be put into the .sdata - small data -
21259 section. Update reference.
c906108c
SS
21260 * gdb.base/baz.c (bazx, baz): Ditto.
21261 * gdb.base/foo.c (foox, foo): Ditto.
21262 * gdb.base/grbx.c (grbxx, grbx): Ditto.
21263
21264 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
889bf7c5 21265 to be arrays.
d63a86f8 21266
dc96c6c7 21267Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 21268
a9c64011
AS
21269 * gdb.base/overlays.exp: fix up and get working again.
21270 Add tests for backtraces from an overlay function.
d63a86f8 21271
c906108c
SS
21272Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
21273
21274 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
21275 "calling function with watchpoint enabled".
21276
21277Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
21278
21279 * gdb.base/break.exp (test_next_with_recursion): Remove
889bf7c5 21280 gdb_suppress_tests for d10v-*-*.
c906108c
SS
21281 * lib/gdb.exp (gdb_suppress_tests): Disable this function
21282 pending review of whether it is useful or not.
21283
21284Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
21285
21286 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
21287
21288Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
21289
21290 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
21291 * config/dve.exp: New file to support Densan boards.
21292
21293Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
21294
21295 * gdb.base/interrupt.exp: Document problem of simulators, signals,
889bf7c5 21296 reads and BSD.
c906108c
SS
21297
21298Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
21299
21300 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
21301 response.
21302
21303 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
21304
21305Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
21306
21307 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
889bf7c5 21308 test.
c906108c
SS
21309
21310 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
889bf7c5 21311 target_sizeof_long and target_bigendian_p.
c906108c 21312 (structs_by_value, structs_by_reference): Check values according
889bf7c5 21313 to targets word size and endianess.
d63a86f8 21314
c906108c
SS
21315Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
21316
21317 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
889bf7c5 21318 output.
c906108c
SS
21319
21320Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
21321
21322 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
889bf7c5 21323 Update test of set args help to match source change.
c906108c
SS
21324
21325Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
21326
21327 * gdb.base/default.exp: Expect help system output to be in
21328 alphabetical order.
21329 * gdb.base/help.exp: Ditto.
21330
21331Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
21332
21333 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
21334 "i*86-pc-linux-gnu*".
21335 * gdb.base/interrupt.exp: Ditto.
21336 * gdb.base/corefile.exp: Ditto.
21337
21338 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
889bf7c5 21339 define vxworks when building the testcase.
c906108c
SS
21340
21341 * gdb.base/ptype.exp: Fix testnames to be unique.
21342 * gdb.base/radix.exp: Ditto.
21343 * gdb.base/term.exp: Ditto.
21344 * gdb.base/whatis.exp: Ditto.
21345 * gdb.c++/classes.exp: Ditto.
21346
21347Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
21348
21349 * gdb.base/callfuncs.exp: Fix indentation.
21350
21351 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
21352 suppress_flag has been set.
21353 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
21354 target feature.
21355
21356Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
21357
21358 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
21359 the testcase.
21360
21361 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
889bf7c5 21362 set_debug_traps() and breakpoint().
c906108c
SS
21363 * gdb.c++/misc.cc (main): Ditto.
21364 * gdb.c++/templates.cc (main): Ditto.
21365 * gdb.c++/virtfunc.cc (main): Ditto.
21366
21367Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
21368
21369 * lib/gdb.exp(gdb_step_for_stub): New function.
21370 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
21371 exists, reload the executable and do a "continue" instead of
21372 doing a jump.
21373 (runto_main): Use gdb_step_for_stub.
d63a86f8 21374
c906108c 21375 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
889bf7c5 21376 tests to have unique names.
c906108c
SS
21377 * gdb.base/callfuncs.exp: Ditto.
21378 * gdb.base/commands.exp: Ditto.
21379 * gdb.base/default.exp: Ditto.
21380 * gdb.base/help.exp: Ditto.
21381 * gdb.base/list.exp: Ditto.
21382 * gdb.base/opaque.exp: Ditto.
21383 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
21384 similar tests.
d63a86f8 21385
c906108c
SS
21386 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
21387 * gdb.c++/cplusfuncs.cc: Ditto.
21388 * gdb.c++/virtfunc.cc: Ditto.
21389
21390 * config/monitor.exp: Keep track of the last file we saw, rather
21391 than trying to get the info from gdb.
21392
21393 * gdb.fortran/types.exp: Move comment to previous line.
21394
21395Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
21396
21397 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
889bf7c5 21398 target mode.
c906108c
SS
21399
21400Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
21401
21402 From Bob Manson:
21403 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
889bf7c5 21404 string from GDB when it connects.
c906108c
SS
21405
21406 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
21407
21408Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
21409
21410 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
889bf7c5
PA
21411 if we can't get a debug format from GDB (we may be testing an
21412 older GDB). Use a 10 second timeout when checking for the format.
c906108c
SS
21413
21414 * gdb.stabs/weird.exp: Fix quoting.
21415
21416 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
21417
21418Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
21419
21420 * config/arm-ice.exp: New file.
21421
21422Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
21423
21424 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
889bf7c5 21425 until it has been modified to work with the new testsuite.
c906108c 21426
99707966 21427 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
889bf7c5
PA
21428 testcase won't compile, cause all of the testcases in the file to
21429 fail instead.
c906108c
SS
21430
21431 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
21432 (gdb_clear_suppressed): New procedure.
21433 (gdb_stop_suppressing_tests): Only clear suppress_flag if
21434 it contains a positive value.
21435
21436Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
21437
21438 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
21439
21440 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
21441
21442Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
21443
21444 * lib/gdb.exp (setup_xfail_format): New function.
21445 (get_debug_format): New function to get debug format.
21446 (debug_format): New global variable to hold last value set
21447 by get_debug_format.
21448 * gdb.base/list.exp: Call get_debug_format and expect some
889bf7c5 21449 tests to fail for DWARF 1 and COFF formats.
c906108c
SS
21450 * gdb.c++/ptype.exp: Ditto.
21451 * gdb.c++/classes.exp: Ditto.
21452 * gdb.c++/cplusfuncs.exp: Ditto.
21453 * gdb.c++/inherit.exp: Ditto.
21454 * gdb.c++/templates.exp: Ditto.
21455 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 21456
c906108c
SS
21457Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
21458
21459 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
21460 host doesn't have a currently-open connection.
21461
21462 * config/sparclet.exp: Cleanups and fixes to make it generic for
889bf7c5
PA
21463 any gdb stub target. Handle cases where gdb doesn't respond when
21464 interrupted in a sane fashion.
c906108c
SS
21465
21466 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
889bf7c5 21467 same thing in a totally different way.
c906108c
SS
21468
21469 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
889bf7c5 21470 setting "timeout".
c906108c 21471 (gdb_start): We set the global gdb_prompt variable in
889bf7c5 21472 default_gdb_init now.
c906108c
SS
21473
21474Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
21475
21476 * gdb.base/printcmds.exp: Fix "check for floating addition"
21477 regexp to accept results within approx +/- .01 of exact value.
21478 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
21479
21480Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
21481
21482 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
889bf7c5 21483 properly.
c906108c
SS
21484 (gdb_expect): Add optional timeout parameter, and add timeout
21485 value to various calls.
21486 (gdb_suppress_tests): Only give one warning message per group.
21487
21488Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
21489
21490 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
889bf7c5
PA
21491 global variables. Handle getting a value for $timeout more
21492 gracefully.
c906108c
SS
21493
21494Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
21495
21496 * lib/gdb.exp: Close connection to remote host if gdb doesn't
889bf7c5 21497 initialize.
c906108c 21498 (default_gdb_init): New procedure; allow gdb_init to be overridden
889bf7c5 21499 by a target configuration file.
c906108c
SS
21500 (gdb_expect): Pass the timeout to remote_expect.
21501
21502 * config/monitor.exp(gdb_load): Fix typo in regexp.
21503
21504Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
21505
21506 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
21507
21508Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
21509
21510 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
889bf7c5
PA
21511 here. Call gdb_target_exec before rebooting the target, to make
21512 sure the connection to the target is closed.
c906108c
SS
21513 (gdb_load): Pass the name of the executable to gdb_target_monitor.
21514 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
21515 Also detect "Timeout reading from remote" error.
21516
21517 * config/gdbserver.exp: Pass the executable being loaded to
889bf7c5
PA
21518 gdb_target_monitor. Don't call gdb_file_cmd here; let
21519 gdb_target_monitor do it.
c906108c
SS
21520
21521 * gdb.disasm/hppa.exp: Don't use exec_output.
21522
21523Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
21524
21525 * gdb.base/list.exp: If we're debugging a non-native target,
21526 try to set the pc register to point to the start of the
21527 program before doing the first list command.
21528
21529 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
889bf7c5 21530 test_calls after restarting.
c906108c
SS
21531
21532 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
889bf7c5 21533 reloading.
c906108c
SS
21534
21535 * gdb.base/watchpoint.exp: Fix typo.
21536
21537 * gdb.base/setshow.exp: Check for use_gdb_stub.
21538
21539 * gdb.base/break.exp: Fix continue until exit test for the gdb
889bf7c5 21540 stub case.
c906108c
SS
21541 * gdb.base/langs.exp: Ditto.
21542
21543 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
889bf7c5
PA
21544 gdb_load_offset. If we weren't given a file to load, figure out
21545 what the current file is and use it.
c906108c
SS
21546
21547 * config/i386-bozo.exp: New file.
21548
21549Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
21550
21551 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
21552 feature.
21553
21554 * config/proelf.exp: New entry.
21555
21556Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
21557
21558 * lib/gdb.exp: Remove spurious .* patterns at the beginning
21559 of regexps.
21560
21561 * gdb.base/watchpoint.exp: Don't run the test_stepping
21562 tests if gdb can't call functions on the target.
21563
21564 * gdb.base/setshow.exp: Don't run the set prompt tests if
21565 the board has gdb_prompt set.
21566
21567Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
21568
21569 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
21570 * gdb.base/commands.exp: Likewise.
21571 * gdb.base/setshow.exp: Likewise.
21572
21573Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
21574
21575 * config/monitor.exp(gdb_start): Look for gdb_prompt target
21576 feature.
21577
21578 * config/i960.exp: New file.
21579
21580Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
21581
21582 * gdb.base/funcargs.exp: Check for gdb,short_int target
21583 feature instead of looking for explicit target triplets.
21584
dc96c6c7 21585Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 21586
d63a86f8 21587 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
21588 "p 123DEADBEEF", to check parse_number.
21589 * top.c: change "to enable to enable" to "to enable" in a couple
21590 of help strings.
21591
21592Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
21593
21594 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
21595 on the mn10300.
d63a86f8 21596
c906108c
SS
21597Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
21598
21599 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
21600 where the test executable is run with explicit args.
21601 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
21602
21603Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
21604
21605 * gdb.base/run.c: Use FAKEARGV to build test executable that
21606 does not require a command line arg, since most simulators
21607 don't currently support passing such an arg into the simulated
21608 program.
21609 * gdb.base/commands.exp: Change tests to insert the proper
21610 value as the arg to the first recursive factorial call. Change
21611 compilation line to define FAKEARGV at compile time.
21612
21613Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
21614
21615 * gdb.base/recurse.exp: Enable these tests for the mn10300.
21616 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
21617 function with watchpoint enabled" test.
21618
21619Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
21620
21621 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
889bf7c5 21622 Don't call gdb_test when the command doesn't return to a gdb prompt.
c906108c
SS
21623
21624 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
889bf7c5 21625 "Tests restarted" messages.
c906108c
SS
21626
21627Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
21628
21629 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
21630
dc96c6c7 21631Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21632
21633 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
21634 for INFO SYMBOL; add help tests for OVERLAY commands.
21635 * gdb.base/default.exp: add tests for INFO SYMBOL command;
21636 add tests for OVERLAY commands
21637 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
21638 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
21639 * gdb.base/sigall.c: add usestubs code frag
21640 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 21641
c906108c
SS
21642Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
21643
21644 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
21645 failures.
21646 (gdb_stop_suppressing_tests): Note that tests have restarted.
21647
21648Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
21649
21650 * config/h8300.exp: New file.
21651
21652Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
21653
21654 * gdb.base/setshow.exp: Check for the existence of a
21655 feature, not its value.
21656
21657Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
21658
21659 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
21660
21661 * gdb.base/scope.exp: It's now init0(), not init().
21662
21663 * gdb.base/scope0.c: For now, change init() to be init0().
21664
21665 * config/monitor.exp: Use gdb_serial in preference to serial
21666 or netport.
21667
21668 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
889bf7c5 21669 and it's not already set.
c906108c
SS
21670
21671Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
21672
21673 * gdb.base/setshow.exp: Only test the run command if the target
889bf7c5 21674 isn't using a stub and if it supports argument passing.
c906108c
SS
21675
21676Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
21677
21678 * config/udi.exp(gdb_start): Make sure UDICONF is set
21679 properly before starting gdb.
21680
21681Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
21682
21683 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
21684 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
21685 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
21686
21687Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
21688
21689 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
889bf7c5 21690 specialized code to reboot the board, use remote_reboot instead.
c906108c
SS
21691
21692 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
21693
21694 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
21695
21696 * config/monitor.exp: Make sure we disconnect from the target.
21697 Also, try a reboot/reload cycle instead of failing if the
21698 load fails.
21699
21700Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
21701
21702 * gdb.base/default.exp: Don't set match_max.
21703 * gdb.base/help.exp: Ditto.
21704 * gdb.base/list.exp: Ditto.
21705 * gdb.base/signals.exp: Ditto.
21706
21707 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
21708 set, use remote_ld to download the testcase instead of
21709 the GDB loader.
21710
21711Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
21712
21713 * config/vr5000.exp: New file.
21714
21715 * config/monitor.exp(gdb_target_monitor): Add pattern for
21716 "Ending remote" to detect errors in connecting.
21717
21718 * gdb.base/setshow.exp: Add .* within auto language test.
21719
21720 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
21721 target feature.
21722
21723 * config/monitor.exp(gdb_load): Check for a failure when loading,
889bf7c5 21724 and reboot the board if necessary.
c906108c
SS
21725
21726 * gdb.base/setvar.exp(test_set): Handle multiple prints within
21727 a set of tests. Remove print.* from the patterns being checked.
21728
21729Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
21730
21731 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
21732 refer to gdb_spawn_id.
21733
21734 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
21735 longer used.
21736 * config/sparclet.exp: Ditto.
21737 * config/sparclet-old.exp: Ditto.
21738 * config/slite.exp: Ditto.
21739 * config/sim.exp: Ditto.
21740 * gdb.base/funcargs.exp: Ditto.
21741
21742 * lib/gdb.exp:Remove references to gdb_spawn_id.
21743 (gdb_expect): Move to remote.exp.
21744
21745Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
21746
21747 * config/monitor.exp: Detect the "Couldn't establish connection"
21748 message from GDB.
21749
21750Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
21751
21752 * gdb.base/bitfields.exp: Use runto instead of explicit
21753 gdb_run_cmd/gdb_expect sequences.
21754
21755 * gdb.base/break.exp(text_next_with_recursion): Add match for
21756 gdb_expect call.
21757
21758 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
21759 We also need to handle the "A program is being debugged already"
21760 prompt from gdb. Use gdb_test to set the baud rate.
21761
21762 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
21763 to 20000. Really. I mean it.
21764
21765Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
21766
21767 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
889bf7c5
PA
21768 fails. If suppress_flag is set, skip perror message about not
21769 being able to send to GDB.
c906108c 21770 (send_gdb): If suppress_flag is set, don't try to send commands to
889bf7c5 21771 GDB.
c906108c
SS
21772 (gdb_expect): If suppress_flag is set, always fail immediately.
21773 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
21774 (gdb_init): Call gdb_stop_suppressing_tests.
21775 (default_gdb_exit): Ditto.
21776 (default_gdb_start): Ditto.
21777
21778 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
889bf7c5 21779 gdb_stop_suppressing_tests as appropriate.
c906108c 21780 * gdb.base/break.exp: Ditto.
889bf7c5 21781 * gdb.base/callfuncs.exp: Ditto.
c906108c
SS
21782 * gdb.base/commands.exp: Ditto.
21783 * gdb.base/exprs.exp: Ditto.
889bf7c5 21784 * gdb.base/funcargs.exp: Ditto.
c906108c
SS
21785 * gdb.base/list.exp: Ditto.
21786 * gdb.base/recurse.exp: Ditto.
889bf7c5 21787 * gdb.base/scope.exp: Ditto.
c906108c
SS
21788 * gdb.base/structs.exp: Ditto.
21789 * gdb.c++/inherit.exp: Ditto.
21790
21791Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
21792
21793 * config/vr4300.exp: New file.
21794
99707966 21795 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 21796
99707966 21797 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
21798
21799Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
21800
21801 * lib/gdb.exp(gdb_init): New function.
21802
21803 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
889bf7c5 21804 for each individual variable set.
c906108c
SS
21805
21806 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
21807 name.
21808
21809 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
21810
21811 * gdb.base/scope.exp: Use gdb_test.
21812
21813 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
21814 aborting; the testsuite driver will do that for us (see
21815 gdb_finish). Also, use gdb_test in a few more places.
21816
21817Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
21818
21819 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
21820
21821Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
21822
21823 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
21824 and "add_tests" are not at the same address.
21825
21826Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
21827
21828 * gdb.base/ptype.exp: Use gdb_test.
21829
21830Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
21831
21832 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
21833 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
21834 left in. No longer expect them to fail.
21835
21836 * gdb.stabs/*.mt; Deleted, no longer used.
21837 * gdb.stabs/configure.in: Remove references to target makefile
21838 frags.
21839 * gdb.stabs/configure: Rebuilt.
21840
21841 * gdb.disasm/*.mt: Deleted, no longer used.
21842 * gdb.disasm/configure.in: Remove references to target makefile
21843 frags. Use "sh3.s" as the unique filename for this directory.
21844 * gdb.disasm/configure: Rebuilt.
21845
21846 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
21847 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
21848 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
21849
21850Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
21851
21852 * config/udi.exp: Use mondfe,name instead of remote_host.
21853
21854Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
21855
21856 * gdb.base/watchpoint.exp: Don't expect a failure when calling
21857 a function with a watchpoint enabled on the mn10200.
21858
21859 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
21860 before trying to create it!
21861
21862Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
21863
21864 * config/vx.exp: Use hostname instead of netport.
21865
21866 * config/vxworks.exp: New file.
21867
21868 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
21869
21870 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
889bf7c5 21871 gdb before assuming everything worked. Send a ^C if a timeout
c906108c
SS
21872 occurs.
21873
21874 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
21875 $gdb_spawn_id directly.
21876 (gdb_run_cmd): Try _start as well as start. Use the target feature
21877 gdb,start_symbol as the symbol to start from when jumping.
21878
21879Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
21880
21881 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
21882 redundant) test.
21883
21884 * gdb.base/recurse.exp: Relax final value test for 'b' so that
21885 it doesn't lose for 16bit integer systems.
21886
21887Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
21888
21889 * gdb.fortran/types.exp: If the target doesn't support "double"
21890 data types, then expect "real" types to only be 4 bytes.
21891
21892 * gdb.c++/virtfunc.exp: Expect failure for virtual function
21893 call tests if the target doesn't support inferior function calls.
21894
21895 * gdb.base/printcmds.exp: Allow minor deviation in FP values
21896 in printf tests.
21897
21898Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
21899
21900 * gdb.base/help.exp: Disable "help set", "help show", and
21901 "help support". Simplify regexp for "help stack".
21902
21903 * gdb.base/default.exp: Set match_max to 5000 and the timeout
21904 to 60 seconds. Temporarily set match_max to 15000 around the
21905 "info copying" test.
21906
21907 * gdb.base/nodebug.exp: Don't try to do an inferior function
21908 call if the target doesn't support them.
21909 * gdb.base/printcmds.exp: Likewise.
21910 * gdb.base/setvar.exp: Likewise.
21911 * gdb.base/structs.exp: Likewise.
21912 * gdb.c++/templates.exp: Likewise.
21913 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
21914
21915 * gdb.base/recurse.exp: Enable for the mn10200.
21916
21917 * configure.in: Do configure gdb.stabs directory for *-*-elf
21918 targets.
21919 * configure: Rebuilt.
21920
21921 * gdb.base/break.exp: Check for gdb,noresults before testing
21922 exit status and/or results from the target.
21923 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
21924 * lib/gdb.exp: Remove old (now bogus) initialization of
21925 noinferior, noargs, noresults and nosignals.
21926
21927Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
21928
21929 * config/sh.exp: New file.
21930
21931 * config/slite.exp: Try to connect multiple times to the board
21932 before rebooting. Only send a "monitor run" if need_monitor_run
21933 is set.
21934
21935 * gdb.base/break.exp: Don't do the "stub continue" test if
21936 the target has gdb_stub set.
21937
21938 * gdb.base/callfuncs.exp: Increase the timeout.
21939
21940 * gdb.base/interrupt.exp: Don't even try to compile the testcase
21941 if the target has gdb,noinferiorio set.
21942
21943 * gdb.base/list.exp: Increase match_max to 10000 characters.
21944
21945 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
21946
21947 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
21948 target.
21949
21950 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
21951
21952Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
21953
21954 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
889bf7c5
PA
21955 trying to delete the copy of gdb. Catch the file delete so we
21956 don't die if the delete fails; also, the file should be copied to
21957 the host, not to the build.
c906108c
SS
21958
21959Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
21960
21961 * lib/gdb.exp(gdb_test): Surround the result pattern with
889bf7c5 21962 parenthesis in case it contains multiple regexps separated
c906108c
SS
21963 with |.
21964
21965 * gdb.base/watchpoint.exp: Use gdb_test.
21966 * gdb.base/default.exp: Ditto.
21967
21968Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
21969
99707966 21970 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 21971
c906108c
SS
21972 * gdb.base/scope.exp: Use gdb_test.
21973 * gdb.c++/classes.exp: Ditto.
21974 * gdb.c++/inherit.exp: Ditto.
21975
21976Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
21977
21978 * gdb.base/crossload.exp: Don't use execute_anywhere, use
21979 remote_exec instead.
21980 * gdb.base/corefile.exp: Don't be ridiculous.
21981 * gdb.base/*.c: Add missing stub invocations.
21982
21983Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
21984
21985 * config/slite.exp: Miscellaneous fixes.
21986
21987 * lib/gdb.exp: Fix runto.
21988
21989 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
21990 the target.
21991
21992 * gdb.base/watchpoint.exp: Fix regexp.
21993
21994 * lib/gdb.exp(default_gdb_exit): Add a catch to the
21995 close and wait commands, as the descriptor may now be
21996 invalid. Always call "remote_close host".
21997
21998Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
21999
22000 Major rewrite for testsuite revision.
d63a86f8 22001
c906108c
SS
22002 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
22003 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
22004 instead of relying on spawn_id to always contain a valid
22005 spawn id.
22006 (get_compiler_info): New procedure to build the ${binfile}.ci
22007 file, instead of replicating this in N different places.
22008 (gdb_compile): New procedure.
d63a86f8 22009
c906108c 22010 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
889bf7c5
PA
22011 appropriate arguments) instead of compile. Use gdb_test in a lot
22012 more places. Use send_gdb instead of send. Always run gdb_start
c906108c
SS
22013 at the start of a testcase, as this is no longer done magically.
22014
22015 config/*-gdb.exp: Rename without the -gdb suffix.
22016
22017 config/mips.exp: Use remote_close instead of exit_remote_shell.
22018 config/monitor.exp: Use target_info instead of looking at
22019 baud, timeout, etc.
22020 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
22021
22022Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22023
22024 * gdb.c++/templates.exp (test_ptype_of_templates),
22025 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
22026 Update expect patterns for destructors and assignment operators
22027 to match corresponding c-typeprint.c changes.
22028 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
22029 to destructor breakpoint test, GDB should be able to set the
22030 destructor breakpoint without specifying arguments.
22031
22032Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
22033
22034 * gdb.threads/pthreads.exp: Change result for failure to compile due
22035 to lack of pthreads runtime support from an error to simply an
22036 unsupported test, per dejagnu standards.
22037
22038Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22039
22040 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
22041 where GDB exits to reduce pattern match time.
22042 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
22043
22044 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
22045
dc96c6c7 22046Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22047
22048 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
22049 * gdb.base/default.exp: ditto.
22050 * gdb.base/nodebug.exp: ditto.
22051 * gdb.base/printcmds.exp: ditto.
22052 * gdb.base/ptype.exp: ditto.
22053 * gdb.base/setvar.exp: ditto.
22054 * gdb.base/structs.exp: ditto.
22055 * gdb.base/setshow.c: Guard against uninitialized values of argc.
22056
22057Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
22058
22059 * configure, */configure: Rebuild with autoconf 2.12.
22060
22061Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
22062
22063 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
22064 use new i*86-pc-linux*-gnu quads.
22065 * gdb.base/corefile.exp: Ditto.
22066 * gdb.base/signals.exp: Ditto.
22067 * gdb.base/sigall.exp: Ditto.
22068 * gdb.base/interrupt.exp: Ditto.
22069
22070 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
22071 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
22072 RedHat 4.0.
d63a86f8 22073
c906108c 22074 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
889bf7c5
PA
22075 linux. This allows the test case to at least compile on latest
22076 linux, but still not run due to missing the threads runtime library.
c906108c
SS
22077
22078Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22079
22080 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
22081 directory to search gdb directory. Accept and step over conditional
22082 stack alignment code. Consume $prompt in failure cases.
22083 Reset timeout to $oldtimeout instead of some arbitrary value.
22084 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
22085 timeout problems with infinite stack backtraces.
22086 * gdb.base/ptype.exp (ptype struct link, union tu_link):
22087 Accept function parameters for linkfunc member.
22088
22089Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
22090
22091 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
22092 (CXXFLAGS): Remove, unreferenced.
22093 (B_OPTIONS): Add for -B options and add code to initialize with
889bf7c5
PA
22094 previous -B options and also add -B option to pick up cross compiled
22095 runtime.
c906108c
SS
22096 (TARGET_INCLUDES): Add for -I options and add code to initialize when
22097 doing cross compiles.
22098 (target_alias): Declare global.
22099 (xgcc): Set variable to full path of gcc in build tree. Use findfile
22100 to verify that gcc exists in build tree, and if so set CC to that
22101 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 22102
c906108c
SS
22103Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
22104
22105 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
22106 ptype test for anonymous union. Fixup testcase to match
22107 current gcc debug output.
22108
22109Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
22110
22111 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
22112 force argument to an unsigned long type.
22113
22114Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
22115
22116 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
889bf7c5 22117 tests and anonymous union print/ptype tests.
c906108c
SS
22118 * gdb.base/list.exp (test_forward-search): Increase timeout by
22119 5 minutes for the "search extremely long line" case.
22120 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
22121 completely optional and that the pass/fail messages use the command as
22122 the message if that third arg is a null string.
22123 (gdb_test_exact): Arrange that a null string pattern means match a
22124 null string output rather than any output, which might include random
889bf7c5 22125 errors.
c906108c
SS
22126 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
22127 backtrace test.
22128 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
22129 always failing and failure is now exposed by gdb.exp changes.
22130
22131Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
22132
22133 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
22134 weren't being noted.
22135
22136Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22137
22138 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
22139 * gdb.stabs/weird.exp: Remove v_comb xfails.
22140
dc96c6c7 22141Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22142
22143 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 22144 list.exp scope.exp watchpoint.exp]
c906108c 22145 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 22146
dc96c6c7 22147Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22148
22149 * config/monitor.exp: Increase download timeout to 1000 seconds.
22150
dc96c6c7 22151Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22152
22153 * config/m32r.exp: Increase timeout to 120 seconds.
22154
22155Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
22156
22157 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
22158 and accept older ordering as obsolescent gcc or gdb.
22159 * gdb.c++/templates.exp: Ditto.
22160 * gdb.c++/virtfunc.exp: Ditto.
22161
22162Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
22163
22164 * gdb.base/coremaker.c: Add code to mmap some data so we
22165 can check that it ends up in the core file.
22166 * gdb.base/corefile.exp: Add test to read mmapped data
22167 from core file.
22168
dc96c6c7 22169Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22170
22171 * config/m32r.exp: New file.
22172
22173Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
22174
22175 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
22176 that cflags can contains -gstabs, and work correctly for other tests.
22177
dc96c6c7 22178Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22179
22180 * gdb.base/setshow.exp: New file, tests show and set.
22181 * gdb.base/setshow.c: New file, tests show and set.
22182 * gdb.base/help.exp: Add test for help set|show annotate.
22183 * gdb.base/default.exp: Add test for set|show annotate.
22184
22185Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
22186
22187 * testsuite/gdb.base/break.exp: Make backtrace from factorial
22188 errors unique.
22189 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
22190 explicitly.
22191
22192Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
22193
22194 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
22195 and width commands. This is done elsewhere.
22196 * (gdb_start): Don't call gdb_start_sim here. That's already
22197 done in gdb_load. This fixes lots of failures in default.exp.
22198
22199Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
22200
22201 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
22202 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
22203 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
22204 in the same we we treat other failures (since it may be an expected
889bf7c5 22205 condition), rather than as an error.
c906108c
SS
22206 * gdb.base/signals.exp (test_handle_all_print): Revert back to
22207 old test format.
22208
22209Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
22210
22211 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
22212 (distclean maintainer-clean realclean): No need to remove files
889bf7c5 22213 twice. Nuke the duplicates.
c906108c 22214 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 22215 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
22216 Remove config.h along with other config files.
22217
22218Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
22219
22220 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
22221 "p func1 ()" and note that rests of tests are skipped.
22222 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 22223 setup_xfails for "print func2::coremaker_local".
c906108c
SS
22224 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
22225 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
22226 affected by the previous run test.
22227 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
22228 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
22229 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
22230 "pass int powerset tuple" and "pass modeless int powerset tuple".
22231 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
22232 "real write 4" and "real write 8".
22233 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 22234 setup_xfails for "print vs1 after tuple assign 2",
c906108c
SS
22235 "print \$i after tuple assign 2", and
22236 "print vs2 after tuple assign 2".
22237 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
22238 meaningful error message and return -1 so the caller can
22239 suppress further tests and avoid a cascade of errors.
d63a86f8 22240
c906108c
SS
22241Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
22242
22243 * gdb.base/a1-selftest.exp: Tweak tests to account for new
22244 format for printing version.
22245 * gdb.base/default.exp: Ditto.
22246 * gdb.base/interrupt.exp: Fix problem with cascade of
22247 errors if child process dies while calling a function.
d63a86f8 22248
c906108c
SS
22249Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
22250
22251 * Makefile.in (VPATH): Add
22252 * Makefile.in (Makefile, config.status): Fix rules so things get
22253 remade when necessary.
22254
22255Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
22256
22257 * Makefile.in (just-check): Add path to sibling expect dir
22258 to environment variable specified by RPATH_ENVVAR.
22259
22260Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
22261
22262 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
22263 (just-check): Add shared library paths for libstdc++, tk,
22264 tcl, bfd, and opcodes to the environment variable specified
22265 in RPATH_ENVVAR.
22266 * configure.in: Add support to recognize --enable-shared flag
22267 and generate correct value for RPATH_ENVVAR.
22268 * configure: Regenerated with autoconf.
22269
22270Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
22271
22272 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
889bf7c5 22273 include all osf versions.
c906108c
SS
22274 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
22275 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
22276 when target is linux. When failing to build pthreads test
22277 executable, give more meaningful message.
22278 * gdb.threads/pthreads.c: Hpux also uses old definition of second
22279 arg for pthread_create.
d63a86f8 22280
c906108c
SS
22281Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
22282
22283 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
889bf7c5 22284 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
c906108c 22285 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
889bf7c5 22286 and -lpthreads (everybody else).
c906108c
SS
22287 (test_startup): Fail gracefully if threads are not supported.
22288 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
22289 "p/c array_index("abcdef",2)" when not gcc compiled.
22290 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
22291 "print func2::coremaker_local" when not gcc compiled.
22292 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
22293 "ptype on opaque struct tagname (statically)",
22294 "ptype on opaque struct tagname (dynamically) 1", and
22295 "ptype on opaque struct tagname (dynamically) 2"
22296 for not compiled with gcc.
22297 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
22298 backtrace when compiled with gcc.
d63a86f8 22299 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
22300 than always return success.
22301
22302Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
22303
22304 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
22305
22306Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
22307
22308 * gdb.base/structs.exp: Undo last change.
22309
22310Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
22311
22312 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
22313 encapsulate all the steps/nexts done during self test, starting
22314 at main, and makes them less sensitive to optimization issues.
22315 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
22316 signal handler" test.
22317 * gdb.threads/pthreads.exp: Only run this for native configs.
22318 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
22319 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
22320 tests.
22321 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
22322 for "runto test_calls(void)" test.
d63a86f8 22323
c906108c
SS
22324Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
22325
22326 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
22327 and don't expect address info in breakpoint confirmations.
22328
22329Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
22330
22331 * gdb.base/list.exp (test_forward_search): Increase timeout
22332 temporarily by 60 seconds for searching extremely long line,
889bf7c5 22333 and then reset to old value when done. Increase expect input
c906108c
SS
22334 buffer to 10000.
22335
22336Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
22337
22338 * gdb.base/list.exp (test_forward_search): Fix to handle very
22339 long source line without overflowing expect's input buffer.
22340
22341Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
22342
22343 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
22344 "buffer_full".
22345
22346 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
22347 "buffer_full".
22348
22349 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
22350 "buffer_full".
22351
22352 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
22353 "buffer_full".
22354
22355Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
22356
22357 * configure.in (configdirs): Add gdb.threads.
22358 * configure: Regenerated with autoconf.
22359 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
22360 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
22361 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 22362
c906108c
SS
22363Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
22364
22365 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
22366
22367Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
22368
22369 * gdb.base/signals.exp (test_handle_all_print): Test separately for
22370 each signal's status in the output of "handle all print".
22371 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
22372 the \r\n sequence that immediately precedes the gdb prompt.
22373 * gdb.base/a1-selftest.exp: Save original timeout and restore
22374 after test.
22375
22376Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
22377
22378 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
22379 symbol.
22380
22381Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
22382
22383 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
22384
22385Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
22386
22387 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
22388 timeout by 60 seconds.
22389
22390Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
22391
22392 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
22393 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
22394 error return.
22395
22396Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
22397
22398 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
22399 gdb initialization, also report how long dejagnu waited. Restore
22400 old timeout before doing error return. Temporarily increase timeout
889bf7c5 22401 by 3 minutes to allow for slow startups over heavy NFS use.
c906108c
SS
22402
22403Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
22404
22405 * lib/gdb.exp: Report timeout value for verbosity level 2.
22406 * config/gdbserver.exp: Ditto.
22407 * config/hppro.exp: Ditto.
22408 * config/mips-gdb.exp: Ditto.
22409 * config/monitor.exp: Ditto.
22410 * config/netware.exp: Ditto.
22411 * config/sim-gdb.exp: Ditto.
22412 * config/slite-gdb.exp: Ditto.
22413 * config/udi-gdb.exp: Ditto.
22414 * config/unix-gdb.exp: Ditto.
22415 * config/vx-gdb.exp: Ditto.
22416 * gdb.base/a1-selftest.exp: Ditto.
22417 * gdb.base/a2-run.exp: Ditto.
22418 * gdb.base/break.exp: Ditto.
22419 * gdb.base/corefile.exp: Ditto.
22420 * gdb.base/list.exp: Ditto.
22421 * gdb.base/recurse.exp: Ditto.
22422 * gdb.base/scope.exp: Ditto.
22423 * gdb.base/signals.exp: Ditto.
22424
22425Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
22426
22427 * gdb.threads/Makefile.in (docdir): Removed.
22428
22429Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
22430
22431 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 22432 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 22433 @srcdir@.
d63a86f8 22434 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
22435 autoconf 2.5 or higher.
22436 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
22437
22438Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
22439
22440 * configure: Regenerated.
22441 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
22442 avoid name clashes with SunOS headers.
22443
22444Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
22445
22446 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
22447
22448Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
22449
22450 * gdb.base/callfuncs.exp: Finish last change -- make sure the
22451 prototype information ends up in the compiler info file.
22452
22453Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
22454
22455 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
22456 attempting to regenerate it. Eliminate use of a temporary file
22457 and just generate the info file directly. Source it immediately,
22458 for consistency of use.
22459 * gdb.base/corefile.exp: Ditto
22460 * gdb.base/exprs.exp: Ditto.
22461 * gdb.base/funcargs.exp: Ditto.
22462 * gdb.base/langs.exp: Ditto.
22463 * gdb.base/list.exp: Ditto.
22464 * gdb.base/mips_pro.exp: Ditto.
22465 * gdb.base/nodebug.exp: Ditto.
22466 * gdb.base/opaque.exp: Ditto.
22467 * gdb.base/ptype.exp: Ditto.
22468 * gdb.base/scope.exp: Ditto.
22469 * gdb.base/setvar.exp: Ditto.
22470 * gdb.base/signals.exp: Ditto.
22471 * gdb.base/whatis.exp: Ditto.
22472 * gdb.c++/templates.exp: Ditto.
22473 * gdb.c++/virtfunc.exp: Ditto.
22474 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
889bf7c5 22475 whether or not to add -lstdc++ to the compile command line args.
c906108c
SS
22476
22477Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22478
22479 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
22480 it got fixed by the recent lookup_minimal_symbol_by_pc change.
22481 Increase timeout, a lot of single stepping might be needed if the
22482 target has no hardware watchpoints.
22483
22484Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
22485
22486 * gdb.base/break.exp: Ignore compiler warnings when compiling
22487 break.c.
22488 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
22489 * gdb.base/default.exp: Add h8300 xfails. Handle messages
22490 from remote-sim.
22491 * gdb.base/exprs.exp: Add h8300 xfails.
22492 * gdb.base/funcargs.exp: Likewise.
22493 * gdb.base/nodebug.exp: Likewise.
22494 * gdb.base/printcmds.exp: Likewise.
22495 * gdb.base/ptype.exp: Likewise.
22496 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
22497 h8300 xfails.
d63a86f8 22498 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
22499 on the h8300.
22500 * gdb.base/funcargs.c: Explicitly make last constant argument to
22501 call_after_alloca_subr an unsigned long type.
22502 * gdb.base/return.c: Include stdio.h.
22503
22504Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
22505
22506 * config/abug.exp: New file for the older Motorola Bug monitor
22507 that runs on the mvme13x series VME boards.
22508 * config/monitor.exp: Use the new config array for target settings
22509 if they exist.
22510
22511Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
22512
22513 * sim-gdb.exp: Make the SH simulator allocate less space when
22514 it is targeted.
22515
22516Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
22517
22518 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
22519 test.
22520
22521Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
22522
22523 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
22524 "rs6000-*-*" for "list function in include file" when gcc compiled.
22525 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
22526 for "p ctable1[120]".
22527 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
22528 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
22529 Remove setup_xfail for "rs6000-*-*" for
22530 "print 'scope0.c'::filelocal before run".
22531 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
22532 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
22533 since some compilers don't allow both options to be given
22534 on the same command line. Create object file and move it.
d63a86f8 22535
c906108c
SS
22536Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
22537
22538 * gdb.base/corefile.exp: Always regenerate the core file, since
22539 we always regenerate the coremaker program. Detect special case
22540 where registers cannot be read from core file.
d63a86f8 22541
c906108c
SS
22542Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
22543
22544 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
22545 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
22546 * gdb.c++/templates.exp: Only match on basename of file since
22547 some formats like xcoff don't encode directory information.
22548 * gdb.stabs/weird.exp: Use the right sed script for powerpc
22549 and rs6000 AIX xcoff targets.
22550 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
22551 * configure: Regenerate.
22552 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
22553 here, rather than in distclean.
d63a86f8 22554
c906108c
SS
22555Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
22556
22557 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
22558 defined, and use it to compile the test case with -O2. The
22559 native compilation still uses no optimization.
22560 * gdb.base/mips_pro.c: Remove inline assembly code since
22561 it is compiled PIC by default, which results in assembler
22562 warnings that make the testsuite think the compilation
22563 was unsuccessful.
22564
22565Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
22566
22567 * gdb.c++/misc.exp: Add note to message for
22568 "print s.a for foo struct" that this is a known gcc 2.7.2
22569 and earlier bug.
22570
22571Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
22572
22573 * gdb.base/break.exp: Fix pattern for matching "Delete all
22574 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
22575 setup_xfail for deleting all breakpoints test. Fix various
22576 timeout messages to include "(timeout)".
22577 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
22578 for "p t_float_values2(3.14159,float_val2)".
22579 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
22580 for "continue to call2g" when gcc compiled.
22581 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
22582 "up to foo in langs.exp", "show language at foo in langs.exp",
22583 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
22584 and "show language at fsub in langs.exp".
22585 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
22586 "list line 1 in include file", "list message for lines past EOF",
22587 "list function in include file", "list list0.h:foo", and
22588 "list filename:function; nonexistant function".
22589 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
22590 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
22591 and "ptype t_char_array" to be for native cc only.
d63a86f8 22592
c906108c
SS
22593Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
22594
d63a86f8 22595 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c 22596 setup_xfail for "print coremaker_bss", "print coremaker_ro",
889bf7c5 22597 "print func2::coremaker_local", and "backtrace in corefile.exp".
c906108c
SS
22598
22599Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
22600
22601 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
22602 "bt in signals.exp". This problem only appears when running
22603 the testsuite, and then only intermittently.
22604
22605Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
22606
22607 * gdb.base/return.exp (return_tests): Differentiate between
22608 two tests of continuing.
22609
22610Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
22611
22612 * */Makefile.in (maintainer-clean): Remove config.log.
22613 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
22614 * gdb.c++/Makefile.in (PROGS): Add inherit.
22615 (clean): Remove *.ci.
22616
22617Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
22618
22619 * gdb.c++/misc.cc: Add test code from Mike Stump.
22620 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
22621
22622Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
22623
22624 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
22625 to "alpha-*-osf2*" and add comment.
22626 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
889bf7c5
PA
22627 setup_xfail for "step over execarg initialization" and
22628 "step over corearg initialization".
c906108c
SS
22629 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
22630 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
22631 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
889bf7c5 22632 gcc compiled for "print coremaker_bss", "print coremaker_ro",
c906108c
SS
22633 "print func2::coremaker_local", and "backtrace in corefile.exp".
22634 * gdb.base/signals.exp: Build and source signals.ci.
22635 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
22636 to be for gcc only.
22637 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 22638
c906108c
SS
22639Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22640
22641 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
22642 Feb 3 procfs.c change.
22643
22644Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
22645
22646 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
22647
22648Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
22649
22650 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
22651 from dejagnu's apparent default of 10 seconds, which gives random
22652 results when running the tests over NFS on moderately loaded systems.
22653 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
22654
22655Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
22656
22657 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
22658 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
889bf7c5 22659 result reports.
c906108c
SS
22660
22661Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
22662
22663 * configure.in (CY_AC_PATH_TCLH): Remove.
22664 * configure: Regenerate.
22665
22666Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
22667
22668 * gdb.c++/Makefile.in (clean): Add missing '{'.
22669
22670Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
22671
22672 * lib/gdb.exp: Provide a default value for noinferior.
22673
22674 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
22675 Load libgloss.exp.
22676
22677Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
22678
22679 * gdb.disasm/hppa.exp: Compile directly into an executable, use
22680 the executable, not the .o to run the tests from.
22681
22682Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
22683
22684 * gdb.base/break.exp: Don't test for program exit or exit status
22685 if $noresults if nonzero.
22686 * gdb.base/langs.exp: Likewise.
22687 * gdb.base/watchpoint.exp: Likewise.
22688
22689 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
22690 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
22691 trying to compile the testcase.
22692
22693Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
22694
22695 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
22696 * gdb.base/signals.exp (continue to handler): Likewise.
22697
22698Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
22699
22700 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
22701
22702 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
22703
22704Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
22705
22706 * gdb.base/corefile.exp: Recognize "not found" as failure
22707 when trying to determine if a core file was generated.
22708 If no core file was generate the first time, try again without
22709 the ulimit -c to work around braindamaged shells.
22710
22711Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
22712
22713 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
22714 [] tests with "test" and enclose string in quotes.
22715 * gdb.stabs/configure: Rebuild
d63a86f8 22716
c906108c
SS
22717Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
22718
22719 Changes in sync with expect:
22720 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
22721 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
22722 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
22723 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
22724 argument to AC_REQUIRE.
22725 * configure: Regenerated.
22726
22727Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
22728
22729 * gdb.base/corefile.exp: When generating a core, discard any
22730 error messages about ulimit not found and the "core dumped"
22731 message from the shell that runs the coredumper.
22732
22733Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
22734
22735 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
22736
22737 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
22738 which sed script to run. Expect failure for v_comb test
22739 on PA targets too.
d63a86f8 22740
c906108c
SS
22741Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
22742
22743 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
889bf7c5 22744 "print func2::coremaker_local" and for "backtrace in corefile.exp"
c906108c
SS
22745
22746Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
22747
22748 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
22749 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
889bf7c5 22750 "sparc-sun-solaris*" xfails for "p v_comb".
c906108c
SS
22751 * lib/gdb.exp (default_gdb_start): Fix typo.
22752 * gdb.base/corefile.exp: Allow "Core was generated by ..."
22753 messages to not include the full program name that caused
22754 the core dump since some systems (such as solaris) apparently
22755 truncate this path to about 80 characters.
22756 When generating a core file first try increasing the core file
22757 size limit to unlimited since some systems may default it to
22758 zero, and it is harmless to try it. Move the test for failing
22759 to generate a core file to where it will actually get executed.
22760 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
22761 new gdb result from g++ debug info improvements and make old
22762 pattern obsolescent. Also account for size_t differences
22763 (may be int or long).
22764 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
22765 initialization before function call is placed in the delay slot
22766 and thus appears to be skipped over by commands such as "next".
22767
22768Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
22769
22770 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
22771
22772Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
22773
22774 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
22775 input source file; fix code to compile test to deal with this
22776 convention.
22777 * gdb.c++/*.exp: Likewise.
22778
22779Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
22780
22781 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
22782 "bt in signals.exp".
22783
22784Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
22785
22786 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
22787 "step over execarg initialization" and
889bf7c5 22788 "step over corearg initialization".
c906108c
SS
22789
22790Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
22791
22792 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
22793 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
22794
22795Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
22796
22797 From Rob Savoye (rob@poseidon.cygnus.com)
22798 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
22799 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
889bf7c5
PA
22800 configure.in}, gdb.disasm/{Makefile.in, configure.in},
22801 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
22802 configure.in}: Major reworking for autoconfig.
c906108c
SS
22803 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
22804 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
889bf7c5 22805 New files.
c906108c
SS
22806 * config/unix-gdb.exp: Make GDB global.
22807 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
889bf7c5
PA
22808 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
22809 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
22810 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
22811 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
22812 term.exp, twice.exp, watchpoint.exp, whatis.exp},
c906108c 22813 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
889bf7c5
PA
22814 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
22815 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
22816 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
22817 pr-8136.exp, result.exp, string.exp, tuples.exp},
c906108c 22818 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
889bf7c5
PA
22819 to returns as necessary, arrange for test to compile own testcase
22820 executable.
c906108c 22821 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 22822
c906108c
SS
22823Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
22824
22825 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
889bf7c5 22826 clear_xfail at end of test which might not call either pass or fail.
c906108c
SS
22827 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
22828 "backtrace through signal handler".
22829
22830Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22831
22832 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
22833 continuing from a job control stop signal.
22834 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
22835
22836Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
22837
22838 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
22839 * gdb.base/corefile.exp: Likewise.
22840 * gdb.base/funcargs.exp: Likewise.
22841
22842Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
22843
22844 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
22845 * config/monitor.exp: Add support for setting baud rate.
22846
22847Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
22848
22849 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
22850 i*86-*-linux* xfails for "backtrace through signal handler".
22851 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
22852 "print func2::coremaker_local".
22853 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
889bf7c5 22854 alpha-dec-osf2* xfail for
c906108c
SS
22855 "delete all breakpoints when none".
22856
22857Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
22858
22859 * gdb.base/break.exp: Change test that deletes all breakpoints
22860 when no user breakpoints are installed. A post 4.15 change
22861 causes gdb to no longer prompt in this case.
22862
22863Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
22864
22865 * gdb.base/return.exp (return_tests): Change xfail for test
22866 "correct value returned double test" to stop xfailing at
22867 Solaris 2.5. Apparently the bug has been fixed.
22868
22869Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
22870
22871 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
22872 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
22873
22874Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
22875
22876 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
22877 * gdb.disasm/hppa.s: Corresponding changes.
22878
22879Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
22880
22881 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
22882 makefile fragment.
22883 * config/mt-hpux: Deleted.
22884
22885Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
22886
d63a86f8 22887 * Many files: When warning about suppressed tests due to a
c906108c
SS
22888 nonexistant test binary, avoid incrementing the warning count.
22889
22890Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
22891
22892 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 22893
c906108c
SS
22894Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22895
22896 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
22897 "sparc-*-solaris2*".
22898
22899Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22900
22901 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
22902 Add global and local variables and initialize them.
22903 * gdb.base/corefile.exp: Test correct mapping of corefile sections
22904 by printing variables. Remove rs6000 and powerpc xfails, BFD now
22905 extracts the file name and terminating signal from the core file.
22906 * TODO: Remove note about tests for correct mapping of corefile.
22907 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
22908 from optimizing it away.
22909 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
22910 handles common blocks.
22911
22912Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
22913
22914 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
22915 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
22916
22917Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
22918
22919 * Makefile.in (maintainer-clean): New target, synonym for
22920 realclean.
22921 * gdb.base/Makefile.in (maintainer-clean): Likewise.
22922 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
22923 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
22924 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
22925 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
22926 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
22927
22928Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
22929
22930 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
22931 xfails when not gcc compiled for "print foo::funclocal".
22932 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
22933 "print foo::funclocal at foo",
22934 "print 'scope1.c'::foo::funclocal at foo",
22935 "print foo::funclocal_bss at foo",
22936 "print 'scope1.c'::foo::funclocal_bss at foo",
22937 "print foo::funclocal_ro at foo",
22938 "print 'scope1.c'::foo::funclocal_ro at foo",
22939 "print bar::funclocal at foo" and
22940 "print 'scope1.c'::bar::funclocal at foo".
22941 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
22942 gcc compiled for "print foo::funclocal at bar".
22943 Expand all messages to ensure that they identify that
22944 the test is at bar().
22945 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
22946 gcc compiled for:
22947 "ptype on opaque struct pointer (statically)",
22948 "ptype on opaque struct tagname (statically)",
22949 "ptype on opaque struct pointer (dynamically) 1",
22950 "ptype on opaque struct tagname (dynamically) 1",
22951 "ptype on opaque struct pointer (dynamically) 2" and
22952 "ptype on opaque struct tagname (dynamically) 2
22953 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
22954 gcc compiled for:
22955 "p datalocal"
22956 "whatis datalocal",
22957 "ptype datalocal",
22958 "p bsslocal",
22959 "whatis bsslocal", and
22960 "ptype bsslocal".
22961 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
22962 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
22963 when not gcc compiled.
22964 * gdb.base/funcargs.exp (float_and_integral_args): Add
22965 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
22966 compiled.
22967 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
22968 "backtrace from call6a" when not gcc compiled.
22969 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
22970 "backtrace from call7a" when not gcc compiled.
22971 * gdb.base/callfuncs.exp (do_function_calls):
22972 Add "hppa*-*-hpux*" xfail when not gcc compiled for
22973 "p t_char_array_values(char_array_val2,char_array_val1)",
22974 "p t_char_array_values(char_array_val1,char_array_val2)",
22975 "p t_char_array_values("carray 1","carray 2")",
22976 "p t_char_array_values("carray 1",char_array_val2)",
22977 "p t_char_array_values(char_array_val1,"carray 2")",
22978 "p sum_args(1,{2})",
22979 "p sum_args(2,{2,3})",
22980 "p sum_args(3,{2,3,4})",
22981 "p sum_args(4,{2,3,4,5})"
22982 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
22983 "backtrace in corefile.exp" when not gcc compiled.
22984
22985Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22986
22987 * gdb.base/signals.exp: Rewrite `handle all print' test as
22988 a procedure. Accept blanks or TABs as whitespace, increase
22989 timeout and expect input buffer size for the large output
22990 from the command. Remove "i*86-*-bsdi2.0" xfail.
22991
22992Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22993
22994 * gdb.base/setvar.exp: Add new testcases for truncation when
22995 assigning invalid values to bitfields.
22996
22997Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
22998
d63a86f8 22999 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
23000 mips-sgi-irix* xfail for
23001 "call inferior func with struct - returns char *"
23002 and fix test so that an optional (unsigned char *) cast is
889bf7c5 23003 accepted in the result.
c906108c
SS
23004
23005Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
23006
23007 * gdb.base/funcargs.exp (float_and_integral_args): Remove
23008 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
23009 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
23010 * gdb.base/signals.exp: Remove duplicate "handle all print" test
23011 that accidentally got checked in.
23012
23013Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
23014
d63a86f8 23015 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
23016 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
23017 compiled test.
23018 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
23019 Add mips-sgi-irix5* xfail for not gcc compiled.
23020 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
23021 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
23022 "p top", "whatis top", "p middle", and "whatis middle".
23023 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
23024 "whatis signed char" for not gcc compiled.
23025 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
23026 "set variable signed char=-1 (-1)" and
23027 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
23028 * gdb.base/funcargs.exp (float_and_integral_args):
23029 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
23030 Add mips-sgi-irix* xfail when not gcc compiled for
23031 "continue to call2b".
23032 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
23033 "continue to call2g".
23034 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
23035 "backtrace from call6a"
23036 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
23037 "backtrace from call7k".
23038 Add mips-sgi-irix5* xfail when not gcc compiled for
23039 "backtrace from call7a".
23040 (localvars_after_alloca): Fix gdb_test cmds for
23041 "print * after runto ...".
23042 Remove rs6000-*-* xfails for
23043 "print i after runto localvars_after_alloca" and
23044 "print l after runto localvars_after_alloca"
23045 for all compilers.
23046 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
889bf7c5 23047 when not compiled with gcc, for:
c906108c
SS
23048 "print signed char == (minus)",
23049 "print signed char != (minus)",
23050 "print signed char < (minus)",
23051 "print signed char > (minus)".
23052 * gdb.base/callfuncs.exp (do_function_calls):
23053 Add mips-sgi-irix* xfail, when compiled with native compiler, for
23054 "call inferior func with struct - returns char *".
d63a86f8 23055 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
23056 "correct value returned double test" to include Solaris 2.4.
23057 * gdb.base/funcargs.exp (float_and_integral_args):
23058 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 23059
c906108c
SS
23060Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23061
23062 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
23063 enumeration bitfields if compiling with GNU C.
23064 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
23065 to empty' prompt.
23066
23067Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
23068
23069 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
23070 test for PRO targets.
23071
23072 * gdb.base/funcargs.exp: Avoid ever setting more than 8
23073 breakpoints in the inferior at any given time by making
23074 two groups of breakpoints for call2*, call6* and call7*
23075 tests.
23076
23077Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23078
23079 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
23080 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
23081 from optimizing it away.
23082 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
23083 "call inferior func with struct".
23084
23085Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
23086
23087 * configure.in: Only configure gdb.chill for particular targets.
23088
23089Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
23090
23091 * gdb.base/Makefile.in: Add action to .c.o transformation
23092 rule that generates a .ci file for each .o file and remove
23093 explicit .c.o rules except for callfuncs.o.
23094 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
23095 generates a .ci file for each .o file and remove explicit
23096 .cc.o rules.
23097 (clean): Remove *.tmp *.ci files.
23098 (EXECUTABLES): Remove templ-info.exp.
23099 * gdb.base/compiler.c: New file.
23100 * gdb.c++/compiler.cc: New file
23101 * gdb.base/scope.exp: Source gdb.base/scope.ci.
23102 Change rs6000-*-* xfail for
23103 "print 'scope0.c'::filelocal_ro" and
23104 "print 'scope1.c'::filelocal" and
23105 "print 'scope1.c'::filelocal_bss" and
23106 "print 'scope1.c'::filelocal_ro" and
23107 "print 'scope1.c'::foo::funclocal" and
23108 "print 'scope1.c'::foo::funclocal_ro" and
23109 "print 'scope1.c'::bar::funclocal" and
23110 "print 'scope0.c'::filelocal_ro" and
23111 "print 'scope1.c'::filelocal at foo" and
23112 "print 'scope1.c'::filelocal_bss at foo" and
23113 "print 'scope1.c'::filelocal_ro at foo" and
23114 "print 'scope1.c'::foo::funclocal at foo" and
23115 "print 'scope1.c'::foo::funclocal_bss at foo" and
23116 "print 'scope1.c'::foo::funclocal_ro at foo" and
23117 "print 'scope1.c'::bar::funclocal at foo" and
23118 "print 'scope0.c'::filelocal_ro" and
23119 "print 'scope1.c'::filelocal" and
23120 "print 'scope1.c'::filelocal_bss" and
23121 "print 'scope1.c'::filelocal_ro" and
23122 "print 'scope1.c'::foo::funclocal" and
23123 "print 'scope1.c'::foo::funclocal_bss" and
23124 "print 'scope1.c'::foo::funclocal_ro" and
23125 "print 'scope1.c'::bar::funclocal" and
23126 "print 'scope1.c'::bar::funclocal_bss"
23127 to only be xfail'd when not compiled with gcc.
d63a86f8 23128 Add rs6000-*-* xfail for
c906108c
SS
23129 "print 'scope0.c'::filelocal_bss before run"
23130 when compiled with gcc.
23131 (test_at_main): Add rs6000-*-* xfail for
23132 "print filelocal_ro in test_at_main"
23133 when compiled with gcc.
23134 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
889bf7c5 23135 Add rs6000-*-aix* xfail for
c906108c
SS
23136 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
23137 "ptype t_char_array", not compiled with gcc.
23138 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
23139 xfail for "list foo (in include file)" when gcc compiled.
23140 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
889bf7c5 23141 (integral_args): Add rs6000-*-* xfail for
c906108c
SS
23142 "run to call0a" if not compiled with gcc.
23143 (unsigned_integral_args): Add rs6000-*-* xfail for
23144 "run to call1a" if not compiled with gcc.
23145 (float_and_integral_args): Add rs6000-*-* xfail for
23146 "run to call2a" if not compiled with gcc and for
23147 "continue to call2b" for any compiler.
23148 Add rs6000-*-* xfail to
23149 "print f1 after run to call2a" for gcc compiled.
23150 (discard_and_shuffle): Add rs6000-*-* xfail for
23151 "run to call6a".
23152 (shuffle_round_robin): Add rs6000-*-* xfail for
23153 "backtrace from call7a" if not compiled with gcc.
23154 Add rs6000-*-* xfail for
23155 "backtrace from call7b" if compiled with gcc.
23156 (call_after_alloca): Add rs6000-*-* xfail for
23157 "print c in call_after_alloca" and
23158 "print s in call_after_alloca" and
23159 "backtrace from call_after_alloca_subr"
23160 if not compiled with gcc.
23161 (localvars_in_indirect_call): Add rs6000-*-* xfail for
23162 "print c in localvars_in_indirect_call" and
23163 "print c in localvars_in_indirect_call" and
23164 "backtrace in indirectly called function" and
23165 "stepping into indirectly called function"
23166 if not compiled with gcc.
23167 (localvars_after_alloca): Add rs6000-*-* xfail for
23168 "print c after runto localvars_after_alloca" and
23169 "print s after runto localvars_after_alloca" and
23170 "print i after runto localvars_after_alloca" and
23171 "print l after runto localvars_after_alloca"
23172 for all compilers.
23173 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
23174 than whatis-info.exp.
23175 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
23176 than opaque-info.exp.
23177 Setup rs6000-*-* xfail for
d63a86f8 23178 "ptype on opaque struct pointer (statically)" and
c906108c
SS
23179 "ptype on opaque struct pointer (dynamically)" when
23180 not compiled with gcc.
23181 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
23182 rather than callf-info.exp.
23183 (do_function_calls): Add clear_xfail for rs6000-*-* for
23184 "p t_float_values2(3.14159,float_val2)". Seems to work
23185 fine there, both with xlc and gcc. Need to find out what
23186 it is doing right and fix other platforms.
23187 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
23188 "call inferior func with struct - returns int",
23189 "call inferior func with struct - returns long",
23190 "call inferior func with struct - returns float",
23191 "call inferior func with struct - returns double",
23192 "call inferior func with struct - returns char *",
23193 but only if not gcc compiled (presumes xlc compiled).
23194 Change rs6000-*-* xfails for
23195 "call inferior func with struct - returns char" and
23196 " call inferior func with struct - returns short" to only
23197 xfail if not using gcc.
23198 (clean mostlyclean): Remove *.ci and *.tmp files.
23199 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
23200 than templ-info.exp.
23201 * gdb.base/langs.exp: Source gdb.base/langs.ci.
23202 Add rs6000-*-* xfail for "up to foo in langs.exp"
23203 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
889bf7c5 23204 when not gcc compiled.
d63a86f8 23205
c906108c
SS
23206Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23207
23208 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
23209 * gdb.base/corefile.exp: Likewise.
23210 * gdb.base/list.exp: Likewise.
23211 * gdb.base/scope.exp: Likewise.
23212 * gdb.base/siganls.exp: Likewise.
23213
23214 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
23215 compiler output.
23216 * gdb.base/whatis.exp: Likewise.
23217
23218Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
23219
23220 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
23221 failure (opcode table has been fixed to match reality).
23222
23223Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
23224
23225 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
23226 "call inferior func with struct - returns char",
23227 "call inferior func with struct - returns short"
23228
23229 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
23230 "print 'scope0.c'::filelocal at main",
23231 "print 'scope0.c'::filelocal_bss in test_at_main",
23232 "print 'scope0.c'::filelocal at foo",
23233 "print 'scope0.c'::filelocal_bss in test_at_foo",
23234 "print 'scope0.c'::filelocal at bar",
23235 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 23236
c906108c
SS
23237 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
23238 in source file 1". This bug seems to have been fixed with both
23239 gcc and native cc (was native assembler bug?).
23240
23241Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
23242
23243 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
23244 "backtrace through signal handler" to "i*86-*-sysv4*".
23245 * gdb.base/signals.exp: Add xfail for "'next' behaved as
23246 continue" case. Add "known SVR4 bug" to fail message.
23247 Add "i*86-*-bsdi2.0" xfail for "handle all print".
23248 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
23249 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
23250 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
23251 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
23252 "up to foo in langs.exp", "show language at foo in
23253 langs.exp", "up to cppsub_ in langs.exp", "show
23254 language at cppsub_ in langs.exp", "up to fsub in
23255 langs.exp", and "show language at fsub in langs.exp".
23256 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
23257 "bactrace in corefile.exp".
23258 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
23259 "call inferior function with struct - returns float" and
23260 "call inferior function with struct - returns double".
d63a86f8 23261
c906108c
SS
23262Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
23263
23264 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
23265 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
23266 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
23267 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
23268
23269Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
23270
23271 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
23272 (or overriden) "CHILL" macro rather then bare "gcc".
23273 Also look for ../../gcc/xgcc since that is what we will
23274 actually need, not "Makefile". Remove following assignment
23275 of CHILL to CHILL_FOR_TARGET because that results in
23276 recursive definition.
23277
23278Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
23279
23280 * gdb.base/corefile.exp: Change xfail for backtrace in
23281 corefile.exp from linuxaout to all linux.
23282 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
23283 cases where we miss the breakpoint at the signal handler
23284 for some reason. Setup xfail for linuxoldld/linuxaout and
23285 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
23286 hitting SIGURG breakpoint.
23287 * gdb.base/signals.exp: Setup xfail for "next" acting like
23288 continue to add linuxoldld. Setup xfail for all linux for
23289 "next to handler in signals_tests_1", "backtrace in
23290 signals_tests_1", "continue to func1", "pass SIGUSR1",
23291 and continue to handler".
23292
23293Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
23294
23295 * Update all FSF addresses except those in COPYING* files.
23296
23297Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
23298
23299 * gdb.base/a2-run.exp: Change messages to be more explicit about
23300 the status of args, and quote binfile in results.
23301
23302Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
23303
23304 * gdb.base/callfuncs.exp: Add tests for passing structs to
23305 inferior functions and return various types.
23306 * gdb.base/callfuncs.c: Add functions to receive a struct
23307 and return a member of the struct, in various types.
23308
23309Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23310
23311 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
23312
23313Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
23314
23315 * config/vxworks29k.exp: New file, sources vxworks.exp.
23316
23317Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23318
23319 * config/gdbremote.exp: New file. Testing framework using
23320 gdbserver.
23321
23322Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
23323
23324 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
23325 "call function when asleep" and "send end of file".
23326 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
23327 for "backtrace in corefile.exp".
23328 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
23329 for "backtrace through signal handler".
23330 * gdb.base/corefile.exp: Make sure we actually generate a core file
23331 before trying the core tests. Some systems allow the user to suppress
23332 generation of core files and default to that (linux for example).
23333 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
23334 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
23335
23336Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23337
23338 * gdb.threads: New directory with some crude multi-threaded
23339 gdb tests (step.exp and step2.exp).
23340 * config/mt-lynx (STEP_EXECUTABLE): Define.
23341 (THREADFLAGS): Define.
23342
23343Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
23344
23345 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
23346
23347 * gdb.base/signals.exp: Disable whole file for lynx until
23348 further notice.
23349
23350 * gdb.base/signals.exp: xfail test where "next" acts like
23351 "continue" for lynx.
23352
23353 * gdb.base/interrupt.exp: xfail test for calling function while
23354 inferior is asleep for lynx.
23355
23356 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
23357 than one cr-lf after each command.
23358
23359Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23360
23361 * configure.in: Reinstate setting of stabsdirs variable, fix
23362 typo in setting up configdirs for native builds.
23363
23364 * gdb.base/return.exp: Fix typo in return double test.
23365 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
23366 compiler from optimizing them away.
23367
23368Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
23369
23370 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
23371 sequences to be echo'd by gdb when using gdb_test.
23372 * gdb.chill/chexp.exp: Likewise.
23373 * gdb.fortran/exprs.exp: Likewise
23374
23375Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23376
23377 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
23378 after the inferior gdb has started.
23379
23380 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
23381 after each command.
23382 * gdb.base/funcargs.exp: Likewise.
23383 * gdb.base/gdbvars.exp: Likewise.
23384 * gdb.base/interrupt.exp: Likewise.
23385 * gdb.base/list.exp: Likewise.
23386 * gdb.base/watchpoint.exp: Likewise.
23387 * gdb.c++/demangle.exp: Likewise.
23388 * gdb.c++/inherit.exp: Likewise.
23389 * gdb.chill/chexp.exp: Likewise.
23390 * gdb.fortran/exprs.exp: Likewise.
23391
23392 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
23393 test if we can't handle IO to/from the inferior.
23394
23395 * gdb.c++/misc.exp: Always check for a program already being
23396 started after sending a "run" command to gdb.
23397
23398 * gdb.base/twice.exp: Start with a fresh gdb.
23399
23400 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
23401 only depend on gdb's expression code, not the chill runtime.
23402
23403 * gdb.base/return.c: Put return values into variables so we
23404 can have gdb print them rather than depending on the program
23405 to print them.
23406 * gdb.base/return.exp: Corresponding changes.
23407
23408 * lib/gdb.exp: Provide default value for noinferiorio.
23409 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
23410 the inferior.
23411
23412 * gdb.base/break.exp: Always check for a program already being
23413 started after sending a "run" command to gdb.
23414 (text_next_with_recursion): Don't check the output from the
23415 program's printf statement. Instead just make sure the program
23416 exited.
23417
23418 * gdb.base/commands.exp: Protect tests which need arguments with
23419 $noargs conditionals.
23420
23421Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23422
23423 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
23424 of structure member arrays to match gdb/valops.c:value_addr change.
23425
23426Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
23427
23428 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
23429 cases.
23430
23431Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
23432
23433 * configure.in (configdirs): Remove gdb.chill from default list
23434 of subdirs and then add it back in only if doing a native build.
23435 The current chill compiler does not yet work in any cross build.
23436 * Revert all signal changes from Jul 6.
23437 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
23438 for sh-hms targets, allowing these tests to link, with no other
23439 changes. Testing is suppressed by setting "nosignals" in site.exp.
23440
23441Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
23442
23443 * configure.in (signaldirs): Define and add to configdirs for all
23444 targets except some specific ones that are known to not support signals.
23445 Also clean up formatting.
23446 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
23447 (signals, sigall): Remove rules to build.
23448 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
23449 Moved to new gdb.signals directory.
23450 * gdb.signals: New test directory.
23451 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
23452 signals.c signals.exp}: New or moved files.
23453
23454Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
23455
23456 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
23457
23458Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
23459
23460 * gdb.base/return.exp: Xfail `return double' test failure
23461 on at least Solaris 2.3 and handle future/past versions on
23462 a case by case basis as appropriate. Also update message
23463 to include i*86 failures.
23464
23465Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23466
23467 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
23468
23469 * lib/gdb.exp: Fix comment which erroneously identified
23470 gdb_file_cmd as gdb_load (the 19 May change was in fact to
23471 gdb_file_cmd not gdb_load).
23472 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
23473
23474 * gdb.base/setvar.exp: Make test names consistent between pass and
23475 fail cases. Use gdb_test more.
23476
23477Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23478
23479 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
23480
23481Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23482
23483 * gdb.base/help.exp: Fix expected help string for `show commands'.
23484
23485Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
23486
23487 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
23488
23489 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
23490 of a text section.
23491
23492Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
23493
23494 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
23495 that loop eventually terminates. Fix Connection refused logic so
23496 that testsuite will expire nicely.
23497
23498Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
23499
23500 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
23501 config/rom68k.exp: New tcl glue for the appropriate monitors.
23502 These all just end up calling monitor.exp.
23503 * config/monitor.exp (gdb_target_monitor): Handle `Connection
23504 refused' by retrying. Cleanup some timeout issues.
23505 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
23506 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
23507 callers don't have to set/restore global timeout variable.
23508
23509 * The following set of changes centralizes management of the global
23510 timeout variable. This way, it can be set in one target dependent
23511 place instead of dozens of places scattered throughout the test suite.
23512 If you need to lengthen a timeout, then you should either set timeout
23513 in one of the config/{target}.exp files, or multiply it by a factor.
23514 Setting it to an absolute value is always going to lose for some
23515 targets.
23516 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
23517 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
23518 * gdb.base/funcargs.exp: Don't set timeout.
23519 * gdb.base/list.exp (test_forward_search): Only use local timeout.
23520 * gdb.base/printcmds.exp (test_print_string_constants
23521 test_print_array_constants): Don't set timeout.
23522 * gdb.base/ptype.exp: Don't set timeout.
23523 * gdb.base/recurse.exp: Don't set timeout.
23524 * gdb.base/return.exp: Don't set timeout.
23525 * gdb.base/watchpoint.exp: Don't set timeout.
23526 * gdb.c++/classes.exp (do_tests): Don't set timeout.
23527 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
23528
23529Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
23530
23531 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
23532
23533Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23534
23535 * lib/gdb.exp: Disable chill tests for irix5.
23536
23537Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23538
23539 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
23540 each test pass or fail.
23541
23542Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23543
23544 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
23545 xlc not gcc.
23546
23547Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
23548
23549 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
23550
23551Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
23552
23553 * config/est.exp: Fix copyright and comments. Remove dead code.
23554 Use targetname, serialport and baud variables instead of fixed
23555 constants.
23556 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
23557 * config/cpu32bug.exp: New file to support cpu32bug monitors.
23558
23559Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23560
23561 * gdb.base/watchpoint.exp: Don't run
23562 test_watchpoint_triggered_in_syscall for sunos.
23563
23564Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23565
23566 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
23567 they don't seem to exist. Do include stdio.h.
23568
23569Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23570
23571 * gdb.base/a1-selftest.exp: Add alpha xfail.
23572
23573Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23574
23575 * gdb.base/watchpoint.c (main): Prompt before calling read().
23576 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
23577 Revise accordingly. Remove cruft about sending "123" several
23578 times, until it gets noticed. Clean up the "print buf[0]" stuff
23579 so that it passes or fails, and waits for prompts in the usual way.
23580
23581Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23582
23583 * gdb.base/recurse.exp: Fix comment.
23584
23585 * TODO: Remove item about printing variables in nodebug.exp. Add
23586 item about enabling tests which are only run on some targets.
23587
23588 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
23589 fail, make test names unique, use new gdb_test convention
23590 regarding pattern, use gdb_test more, etc.).
23591
23592 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
23593 fail, make test names unique, etc.).
23594
23595Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23596
23597 * gdb.base/nodebug.c: Change return type of top and middle to
23598 short.
23599 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
23600 are fixed by the recent mdebugread.c changes. Allow `short ()'
23601 as type for top and middle.
23602
23603Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23604
23605 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
23606 nearly as I can tell, the whole thing was an accident in Stu's
23607 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
23608 to replace a send/expect pair with gdb_test, but ended up only
23609 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
23610 of 30 Mar 1995 took care of it, but left this vestigial comment
23611 which I am now nuking.
23612
23613Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23614
23615 * gdb.base/break.exp: Look for different line number for
23616 breakpoint at main depending on usestubs.
23617
23618Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23619
23620 * gdb.base/list.exp: Adjust some alternate expect patterns to
23621 match recent list0.c change. Add alternate expect pattern for
23622 output from `list default lines around main' for optimizing
23623 compilers.
23624
23625Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23626
23627 * lib/gdb.exp: If nosignals is not set, set it to 0.
23628
23629Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
23630
23631 * config/slite-gdb.exp: Responds to load symbol table prompt.
23632 * gdb.base/break.exp: Adjust line number, fix rerun.
23633 * gdb.base/langs0.c: Add #ifdef usestubs.
23634
23635Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
23636
23637 * gdb.base/list.exp: Adjust line contents after adding new lines in
23638 list0.c. Also fix a syntax error.
23639
23640 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
23641 * gdb.base/break.exp: ditto.
23642 * gdb.base/list.exp: ditto.
23643 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
23644 * gdb.base/run.c: ditto.
23645 * gdb.base/list0.c: ditto.
23646 * gdb.base/funcargs.c: ditto.
23647
23648Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
23649
23650 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
23651 $targetname, $serialport and $baud instead of hardwired variables.
23652 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
23653 target doesn't support signals.
23654
23655Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
23656
23657 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
23658
23659Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23660
23661 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
23662 Don't rely on the value of an auto variable before it has been
23663 initialized. Use gdb_test more.
23664
23665Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23666
23667 * lib/gdb.exp (default_gdb_version): A version number must start
23668 with a digit, but other than that contains all characters up to
23669 the first whitespace character.
23670
23671Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23672
23673 * gdb.base/commands.exp (breakpoint_command_test): New tests.
23674
23675Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23676
23677 * gdb.c++/*.exp: Warn if executable does not exist. The original
23678 reason for skipping the warning was that configure.in sometimes
23679 intentionally skipped building the executables but the tcl code
23680 had no way of knowing. That (a) was always bogus with respect to
23681 error handling, (b) is no longer true (right now there is no way
23682 to skip C++ tests).
23683
23684 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
23685
23686Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23687
23688 * gdb.base/list.exp: Add expect patterns for output from
23689 SunPRO compiled executables.
23690 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
23691 types.
23692
23693Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23694
23695 * gdb.base/break.exp (test_next_with_recursion): Accept any line
23696 number (we are already testing that the correct source line text
23697 gets printed).
23698
23699 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
23700 that is what is intended, but something needed to be done to get
23701 sunos4 native working again.
23702
23703 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
23704
23705 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
23706 apparently went with a (very) old xfail.
23707
23708Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
23709
23710 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
23711 runto_main is a proc in gdb.exp that will do 'step' for target use
23712 stubs.
23713 * gdb.base/exprs.exp: ditto.
23714 * gdb.base/interrupt.exp: ditto.
23715 * gdb.base/opaque.exp: ditto.
23716 * gdb.base/printcmds.exp: ditto.
23717 * gdb.base/ptype.exp: ditto.
23718 * gdb.base/scope.exp: ditto.
23719 * gdb.base/setvar.exp: ditto.
23720 * gdb.base/signals.exp: ditto.
23721 * gdb.base/twice.exp: ditto.
23722 * gdb.c++/classes.exp: ditto.
23723 * gdb.c++/inherit.exp: ditto.
23724 * gdb.c++/templates.exp: ditto.
23725 * gdb.base/break.exp: no run and hit main for stubs. Change line
23726 numbers for breakpoints and info breakpoint.
23727 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
23728 breakpoint().
23729 * gdb.base/callfuncs.c: ditto.
23730 * gdb.base/exprs: ditto.
23731 * gdb.base/interrupt.c: ditto.
23732 * gdb.base/opaque0.c: ditto.
23733 * gdb.base/printcmds.c: ditto.
23734 * gdb.base/ptype.c: ditto.
23735 * gdb.base/scope0.c: ditto.
23736 * gdb.base/setvar.c: ditto.
23737 * gdb.base/signals.c: ditto.
23738 * gdb.base/twice.c: ditto.
23739 * gdb.c++/misc.cc: ditto.
23740 * gdb.c++/templates.cc: ditto.
23741
23742Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23743
23744 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
23745
23746 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
23747 somewhere between `read' and `main.c'. I'm pretty sure the
23748 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
23749 and it isn't particularly useful.
23750
23751 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
23752
23753Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23754
23755 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
23756
23757Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
23758
23759 * config/mt-slite: add LIBS and -nostdlib.
23760 * config/slite-gdb.exp: add this new file to support sparclite target.
23761
23762Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
23763
23764 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
23765
23766 * gdb.base/a2-run.exp: Change argument to istarget from
23767 "*-*-vxworks" to "*-*-vxworks*".
23768 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
23769
23770Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
23771
23772 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
23773 will not runto main but do a 'step' to step out of breakpoint().
23774 * config/mt-slite: add -Dusestubs.
23775
23776Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23777
23778 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
23779 instead of just @.
23780
23781 * gdb.base/signals.exp: Add test for "handle all print".
23782 * TODO: Remove "handle all print". Also remove item about
23783 checking copyright date (I don't like the idea of a spurious FAIL
23784 based on when we run the tests).
23785
23786 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
23787 for SunOS4 (reason for failure not investigated). Remove
23788 redundant test for $binfile.
23789
23790 * gdb.base/nodebug.c (array_index): Call malloc.
23791
23792 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
23793
23794Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
23795
23796 * gdb.base/recurse.exp: Update gdb_test invocation to use new
23797 conventions and slightly simplify the matching regexp.
23798
23799Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23800
23801 * gdb.base/break.exp: Update gdb_test invocation to use new
23802 convention.
23803
23804 * lib/gdb.exp: If noargs is not set, set it to 0.
23805
23806 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
23807 tests unique.
23808
23809 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
23810
23811Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23812
23813 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
23814 one argument of type "<non-float parameter>".
23815
23816Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
23817
23818 * config/rom68k.exp: New file to support Motorola IDP board.
23819 * gdb.base/a2-run.exp: Skip this file if noargs is set.
23820 * gdb.base/break.c: Change things around so that this program
23821 doesn't depend upon args. This is necessary to make remote
23822 targets work (in general, they can't take args).
23823 * gdb.base/break.exp: Don't try to send args to program. Don't
23824 expect output. Also, replace lots of code with gdb_test.
23825
23826Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23827
23828 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
23829 printing of '\'' (which is what the comment says we are testing,
23830 even though we were not), not '''.
23831 (test_integer_literals_rejected): Test that printing ''' is an error.
23832
23833 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
23834 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
23835 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
23836 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
23837 Use gdb_test not test_print_accept.
23838 * lib/gdb.exp: Remove test_print_accept.
23839
23840 * gdb.base/signals.exp (signal_tests_1): Make pass message
23841 consistent with fail message.
23842
23843 * gdb.base/whatis.exp: Remove xfails for printing char vs.
23844 unsigned char; the bug (PR 1821) is fixed.
23845
23846 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
23847
23848 * gdb.base/scope.exp (test_at_localscopes): Call pass for
23849 successful tests--makes xfailing them work right.
23850
23851Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23852
23853 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
23854 only \r\n, not .*. The test can pass .* as the last thing in
23855 $pattern if that is what it wants. In addition to providing this
23856 flexibility, this change should speed up pattern matching in cases
23857 where the pattern already ended with .* (there were a number of
23858 them). This change also helps catch bad patterns--in the old
23859 scheme the typo "char \*" instead of "char \\*" would pass. Now
23860 it is caught.
23861 * Many .exp files: Update callers.
23862
23863 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
23864 clearer and does not spuriously match multiple ('s. Likewise for
23865 ) and *.
23866
23867 * gdb.base/nodebug.exp: Test ability to call a function and pass
23868 it a string (even with no debugging info).
23869
23870 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
23871 "p '\'", which is the same as "p ''" once tcl gets done with
23872 quoting, to "p '\\'", which I suspect is what is intended (one
23873 backslash gets sent to GDB).
23874
23875 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
23876
23877Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23878
23879 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
23880 1817) was fixed literally years ago.
23881
23882Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23883
23884 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
23885 test, it causes stepping out of call_after_alloca_subr with
23886 optimizing compilers.
23887 (localvars_in_indirect_call): Consume GDB prompt if `finish'
23888 fails.
23889
23890 * gdb.c++/templates.exp: Source templ-info.exp only if
23891 the templates executable exists.
23892
23893 * gdb.c++/misc.cc (class Contains_static_instance,
23894 class Contains_nested_static_instance),
23895 gdb.c++/classes.exp (test_static_members): Test printing of
23896 a class that contains a static instance of the class.
23897
23898Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23899
23900 * gdb.base/langs2.c (cppsub_): Don't prototype.
23901 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
23902 only, I believe).
23903
23904Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23905
23906 * lib/gdb.exp (skip_chill_tests): New procedure.
23907
23908 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
23909
23910Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
23911
23912 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
23913 each expect pattern. Cuts runtime from 12 to about 4 seconds.
23914
23915Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23916
23917 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
23918
23919 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
23920 disassemble 8, not 16, instructions for part 4.
23921
23922 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
23923 support the latter anymore.
23924
23925 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
23926 -DNO_PROTOTYPES.
23927 * gdb.base/callfuncs.c: Control use of prototypes based on
23928 NO_PROTOTYPES, not __STDC__.
23929 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
23930 t_float_values2 tests if prototypes in use.
23931
23932 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
23933 t_double_values): When checking differences against DELTA, check
23934 that difference is within the range (-DELTA,DELTA), not just
23935 (-infinity,DELTA).
23936
23937Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
23938
23939 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
23940 'file' command firts, then 'target', then 'load', this is due to gdb
23941 target set up.
23942 * config/mips-gdb.exp: Fix a couple regular exp bugs.
23943
23944Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
23945
23946 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
23947 FP load/store variants.
23948 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
23949
23950Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
23951
23952 * gdb.base/term.exp: Do not give a warning if not native, it is
23953 not an abnormal condition.
23954
23955Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
23956
23957 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
23958 t_char_array".
23959
23960Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
23961
23962 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
23963 are getting the version number.
23964
23965 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
23966 if not native, it is not an abnormal condition.
23967
23968Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23969
23970 * lib/gdb.exp: Just use "file exists", rather than undocumented
23971 dejagnu procedure "findfile".
23972
23973Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
23974
23975 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
23976 (LDFLAGS): Set to -Xlinker -Ur.
23977
23978 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
23979 Removed, these values are set by lib/gdb.exp.
23980
23981 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
23982
23983Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
23984
23985 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
23986 of replicating gdb startup code.
23987
23988 * config/mt-vxworks (LDFLAGS): Set to -r.
23989 (CFLAGS_FOR_TARGET): Removed.
23990
23991 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
23992 (gdb) and gdb for vxworks uses (vxgdb).
23993
23994 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
23995 executable is not in the tree and host != target, use sed and
23996 program_transform_name to determine the gdb name used by the
23997 target.
23998
23999 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
24000 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
24001
24002Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24003
24004 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
24005 floats, chars, and shorts where there are ANSI-style function
24006 definitions.
24007
24008 * gdb.base/langs.exp, gdb.base/langs*: New test.
24009 * gdb.base/Makefile.in: Build it.
24010 * TODO: Remove item about checking that C names don't get C++
24011 demangling applied; this test tests it.
24012
24013Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24014
24015 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
24016 went with the const70 xfail. The xfail went away a year ago.
24017
24018 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
24019
24020 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
24021 for hp300.
24022
24023 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
24024
24025 * gdb.base/a1-selftest.exp: Don't run on hp300.
24026
24027Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24028
24029 * Makefile.in (site.exp): Set host_alias and target_alias as well
24030 as host_triplet and target_triplet.
24031
24032Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24033
24034 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
24035
24036 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
24037 places as other ecoff systems).
24038
24039 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
24040 ultrix.
24041
24042Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24043
24044 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
24045 remove them.
24046 * gdb.base/nodebug.exp: Accept "function" in addition to "text
24047 variable and "variable" in addition to "data variable".
24048 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
24049
24050 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
24051 2.
24052 * gdb.base/list1.c (long_line): Add additional statement at start
24053 of function.
24054 * gdb.base/list.exp (test_forward_search): Update line number to
24055 reflect new statement.
24056
24057Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24058
24059 * gdb.base/signals.exp: Reinitialize searched source directories
24060 after gdb_start call.
24061
24062Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
24063
24064 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
24065 * gdb.stabs/Makefile.in: Likewise.
24066
24067 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
24068 change. Instead split the tests into smaller pieces.
24069 * gdb.disasm/hppa.s: Corresponding changes.
24070
24071Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24072
24073 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
24074 Quote ^C when passing it to stty. For some shells ^ is a pipe.
24075
24076 * gdb.base/funcargs.exp: Modify many tests so that every test
24077 either passes or fails. Make some test names unique.
24078
24079Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24080
24081 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
24082 Call stty to set interrupt character.
24083
24084 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
24085 for HP assembler versus GNU assembler based on actual behavior of
24086 $(CC), rather than assuming that $(AS) is always the GNU assembler.
24087
24088 * TODO: Suggest a few more stepping tests.
24089
24090Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
24091
24092 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
24093 restart GDB for h8300 after a continue.
24094 (return): Add pattern to match a29k-udi behavior.
24095 * gdb.base/nodebug.exp: Remove obsolete comment.
24096 * gdb.base/regs.exp: New file, testing of register displays.
24097 * gdb.base/return.exp: Fix typo in reference to $objdir.
24098 * gdb.base/whatis.exp: Always start with a fresh GDB.
24099
24100Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24101
24102 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
24103 higher, these tests generate a lot of output.
24104
24105Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24106
24107 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
24108 code following the catch silently ignored some errors; without the
24109 catch they should be thrown like any other tcl error. Also, the
24110 catch used "" instead of {} which meant all the callers who wanted
24111 to include one of the characters "[]$ had to quote it an extra time.
24112 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
24113 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
24114 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
24115 Remove extra quoting.
24116
24117Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
24118
24119 * gdb.base/commands.exp: Make test names unique; every test either
24120 passes or fails. Update some comments.
24121
24122 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
24123
24124Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24125
24126 The following fixes a FAIL caused by the fact that the alpha stabs
24127 configuration didn't use the ".if alpha" code in weird.def.
24128 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
24129 bit pointer, so the 32 bit version works even on the alpha.
24130 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
24131 Remove the stuff which allowed us to have separate versions for
24132 alpha and everything else.
24133
24134 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
24135 regexp which "info func operator\[\](" is supposed to match. Fix
24136 string to send to GDB. Note that GDB still doesn't work right. Add a
24137 new test for "info func .perator\[\](" which GDB does handle correctly.
24138
24139 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
24140
24141Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24142
24143 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
24144 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
24145 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
24146 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
24147 it makes the tests harder to understand and confuses test-o-matic.
24148 The preferred style is that each test provides a PASS or a FAIL,
24149 and has a unique message (e.g. "continue #54" not just "continue")
24150 which is the same for the pass and the fail.
24151 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
24152 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
24153 to lib/gdb.exp.
24154 * gdb.base/printcmds.exp: Use test_print_accept. Remove
24155 prt_accept which was basically the same thing. Likewise for
24156 test_print_reject and prt_reject.
24157 * lib/gdb.exp (test_print_reject): Add some more error message
24158 patterns to match from the former printcmds.exp (prt_reject).
24159 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
24160 One defect of the passcount stuff is that some of it failed to
24161 report XPASS where appropriate.
24162 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
24163 stuff before and after arg in expected pattern.
24164 (test_paddr_operator_functions): Re-do test without print_addr_of;
24165 this is the only test which seems to want extra stuff there.
24166
24167Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24168
24169 * gdb.base/nodebug.exp: Update new tests to reflect improved
24170 wording of gdb output.
24171
24172 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
24173 and "ptype" work on variables in files compiled without -g.
24174 Replaces commented out "maint print msymbol" tests.
24175
24176Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24177
24178 * gdb.base/setvar.c (dummy): Call malloc.
24179
24180 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
24181 losing with the irix4 sed.
24182
24183 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
24184 ALRM" on irix4.
24185
24186Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24187
24188 * TODO: Remove items about corefile.exp testing new exec-file and
24189 backtrace; both are now done. Add items about printing enums.
24190
24191Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24192
24193 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
24194 "get signal $thissig" test fails.
24195
24196 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
24197
24198Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24199
24200 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
24201 compiler warning with dec alpha compiler.
24202
24203 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
24204 extra \n from gdb_test call (this explains why the prompt test
24205 that I removed yesterday was there).
24206 (user_defined_command_test): Remove extra \n and prompt test.
24207
24208 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
24209 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
24210 doesn't exist.
24211 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
24212 Also remove alpha workaround, which turns out to be because
24213 SIGABRT == SIGLOST.
24214
24215 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
24216
24217 * gdb.base/help.exp: Don't test "help show".
24218
24219Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24220
24221 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
24222 "set print address" is on.
24223 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
24224 pass prompt to gdb_test; gdb_test already looks for the prompt.
24225
24226 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
24227
24228 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
24229 was a vestige of the manual TESTSTRATEGY, and the purpose of it
24230 was to make sure that gdb can read a core file. But (a) the "read
24231 the corefile" part didn't make it to a1-selftest.exp, we just
24232 delete the corefile after creating it, and (b) we test reading
24233 corefiles in corefile.exp anyway. Also, this test left around a
24234 xgdb process on Solaris.
24235
24236 * gdb.base/corefile.exp: Also test backtrace.
24237
24238Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
24239
24240 * gdb.base/commands.exp: Test a simple user defined command with
24241 arguments and if/while statements; verify the full user command is
24242 printed by "show user".
24243
24244 * gdb.base/commands.exp: Test if/while commands as part of a
24245 breakpoint command list; verify they appear in breakpoint
24246 information.
24247
24248Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24249
24250 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
24251 than by dividing by zero.
24252
24253Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
24254
24255 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
24256 performing an inferior call with watchpoints enabled.
24257 * gdb.base/watchpoint.c (main): Delete second unnecessary read
24258 call.
24259
24260Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24261
24262 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
24263 of "file" command.
24264
24265 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
24266 Add additional pattern for when "int operator int(void);" appears
24267 in a different order.
24268
24269Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24270
24271 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
24272
24273 * gdb.base/help.exp: Replace most of docstrings for "info signals"
24274 and "signal" with ".*".
24275
24276Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24277
24278 * TODO: Add note about "handle all nostop".
24279
24280 * gdb.base/{sigall.c, sigall.exp}: New test.
24281 * gdb.base/Makefile.in: Add it.
24282
24283Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
24284
24285 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
24286 when invoking GDB, suppresses any windowing interface.
24287
24288Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
24289
24290 * config/sim-gdb: New file, simulator testing support.
24291
24292Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
24293
24294 * gdb.base/interrupt.exp: Test calling func1 twice.
24295
24296Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
24297
24298 * gdb.base/list.exp (test_forward_search): Set timeout higher
24299 when we'll be getting lots of output from gdb.
24300
24301 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
24302 "init_malloc" to after the expect statement. Run it if that
24303 regexp is taken, but also for two others which happen if source
24304 cannot be found.
24305
24306Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24307
24308 * gdb.base/printcmds.exp: New test, for printing register before
24309 program is running.
24310
24311Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24312
24313 * gdb.base/list.exp: Correct some alternate expect patterns
24314 to reflect changes in list1.c.
24315
24316Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24317
24318 * TODO: Add item regarding large frames.
24319
24320 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
24321
24322 * TODO: Remove item about enabling return.exp; it
24323 is enabled. Suggest a few more "return" tests.
24324
24325Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24326
24327 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
24328 anonymous unions.
24329
24330Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24331
24332 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
24333 and pr-5646.o, so "make" is the same as "make all", not "make
24334 pr-4975.o".
24335
24336Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
24337
24338 * gdb.base/list.exp: Adjust expectations to reflect changes in
24339 list1.c.
24340 (test_forward_search): New test proc.
24341 * gdb.base/list1.c (long_line): New function, has long source line.
24342
24343Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
24344
24345 * gdb.base/a1-selftest.exp: Change initial stepping to know about
24346 additional line of code that was added.
24347
24348Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
24349
24350 * gdb.disasm/hppa.s: Break the large branching tests into smaller
24351 tests so as not to overflow expect's input buffers.
24352 * gdb.disasm/hppa.exp: Corresponding changes.
24353
24354Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24355
24356 Beginnings of template debugging tests.
24357 * gdb.c++/templ-info.cc: New file to test for template
24358 debugging capability of the compiler.
24359 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
24360 templ-info.cc.
24361 * gdb.c++/templates.cc: Add explicit template instantiations
24362 to enable compiling with -fno-implicit-templates. Add destructor
24363 and 'value' method to T5 class for template tests.
24364 * gdb.c++/templates.exp: Add testcases for printing of template
24365 types, setting breakpoints on template methods and calling a
d63a86f8 24366 template method.
c906108c
SS
24367
24368Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
24369
24370 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
24371 branch target since some assemblers (gas-2.5) may emit a
24372 relocation for the branch instead of resolving it in the
24373 assembler.
24374
24375Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24376
24377 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
24378 through signal handler.
24379
24380Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24381
24382 * configure.in (*-*-netware): Use config/mt-netware.
24383
24384 * config/mt-netware: New file.
24385 * config/mt-i386-netware: Removed, separate configs for different
24386 netware architectures are no longer needed now that we have
24387 --with-headers.
24388
24389Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24390
24391 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
24392 by the recent changes to use ANSI C arithmetic conversions.
24393
24394Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24395
24396 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
24397 bug involving using inferior_pid to figure out whether to select a
24398 frame.
24399
24400Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
24401
24402 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
24403 match the current disassembler output.
24404
24405Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
24406
24407 * gdb.fortran/exprs.exp: Expect VOID instead of void.
24408 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
24409 types, expect "int" as type of integer values (for now).
24410
24411Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
24412
24413 * gdb.base/commands.exp: New tests for if/while commands.
24414
24415Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
24416
24417 * lib/gdb.exp (runto): Replace sub-pattern for hex value
24418 by .*, since hex values have different syntax in Chill mode.
24419
24420Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24421
24422 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
24423 linefeed from expect pattern for repeated types with indices > 9.
24424
24425Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
24426
24427 First part of Fortran test suite.
24428 * gdb.fortran: New directory.
24429 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
24430
24431Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24432
24433 * gdb.base/default.exp: Update expect pattern for load command
24434 without arguments.
24435
24436Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
24437
24438 * configure.in: Change i386 to i[345]86.
24439 * gdb.base/configure.in: Likewise.
24440 * gdb.c++/configure.in: Likewise.
24441 * gdb.chill/configure.in: Likewise.
24442
24443Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
24444
24445 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
24446 patterns, since that is not a valid context for comments.
24447
24448Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
24449
24450 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
24451 repeated types and repeated types with indices > 9.
24452
24453Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
24454
24455 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
24456 2417; old bug has been fixed.
24457
24458Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
24459
24460 * gdb.base/interrupt.exp: When trying to wake up the inferior,
24461 send the newline ourselves instead of assuming gdb_test will do
24462 so when passed an empty input string.
24463
24464 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
24465 stabs testcode.
24466
24467Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24468
24469 * lib/gdb.exp (gdb_test): Don't send anything if the first
24470 argument is an empty string. This makes cases where we want to
24471 match output that is already in expect's buffers (for example,
24472 matching a breakpoint after gdb_run_cmd has been called) work
24473 reliably.
24474
24475Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24476
24477 * config/netware.exp: New file.
24478
24479Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24480
24481 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
24482 the -B and -L prefixes so we can find the debugging stub.
24483
24484 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
24485 there and we are using the gcc from the tree.
24486
24487 * gdb.base/types.c: Removed.
24488
24489 * gdb.base/configure.in: Look for makefile fragments in ../config.
24490 Recognize i386-*-netware.
24491 * gdb.c++/configure.in: Likewise.
24492
24493Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24494
24495 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
24496 the correct TCL syntax.
24497
24498Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24499
24500 * gdb.base/opaque.exp: use runto instead of messing around with
24501 breakpoints. Simplify by using gdb_test.
24502
24503 * gdb.base/bitfields.exp: restart between tests on netware targets
24504 because breakpoints aren't relocated after target death. Run
24505 processes to completion.
24506
24507 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
24508
24509Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
24510
24511 * Makefile.in: Remove extra tabs that confuse some versions
24512 of "make". Use the newly built gdb to test with by default,
24513 rather than the first one in the tester's search path.
24514
24515Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
24516
24517 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
24518
24519 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
24520 condition help.
24521
24522Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24523
24524 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
24525
24526 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
24527 running.
24528 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
24529 * gdb.base/funcargs.exp: Likewise.
24530
24531 * gdb.base/bitfields.exp: Simplify by using gdb_test.
24532 * gdb.base/funcargs.exp: Likewise.
24533
24534 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
24535 message is "".
24536
24537Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24538
24539 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
24540 return,signals,twice}.exp: Handle non-existant binaries
24541 consistantly.
24542
24543 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
24544 * gdb.base/Makefile.in: Don't try to generate a core dump, we
24545 might testing a cross development system.
24546
24547Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24548
24549 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
24550 runtest script is relative to ${srcdir}, not ${rootdir}.
24551
24552Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
24553
24554 * gdb.base/signals.exp: Allow for optionality of breakpoint
24555 address.
24556
24557Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24558
24559 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
24560
24561Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24562
24563 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
24564 for size_t definition.
24565 * gdb.c++/templates.cc: Likewise
24566
24567 * config/mt-i386-netware: New file.
24568
24569 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
24570 defined.
24571
24572 * gdb.base/Makefile.in: Added support for systems that name core
24573 files by appending "core" to the program name.
24574 * gdb.base/a1-selftest.exp: Likewise.
24575
24576Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24577
24578 * gdb.base/return.exp: Add comment and message for `return double'
24579 test failure on Sparc Solaris.
24580
24581Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
24582
24583 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
24584
24585Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24586
24587 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
24588 from optimizing them away.
24589 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
24590 patterns to include default constructors and assignment operators,
24591 to match gcc versions beyond 2.5.8. Accept any cplus demangling
24592 character in the output of the virtual base pointer.
24593
24594Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24595
24596 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
24597 expression match in print_addr_of to avoid unintented matches.
24598 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
24599 versions up to 2.5.8.
24600
24601Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24602
24603 * gdb.base/list.exp: Tweak alternate pattern for listing of an
24604 included file to run under newer versions of expect.
24605 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
24606 consecutive >'s in templates to accomodate recent cplus-dem.c change.
24607 Remove xfail for the virtual table of BDDHookV.
24608
24609Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
24610
24611 * lib/gdb.exp (string_to_regexp): Set a default result.
24612 (default_gdb_start): Fix misleading message.
24613
24614Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
24615
24616 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
24617 Remove all CC, etc definitions.
24618 * config/mt-hpux: New file.
24619 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
24620 (CFLAGS, LDFLAGS): Define.
24621 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
24622
24623 * Makefile.in (site.exp): Don't insert host_os, etc.
24624 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
24625 (distclean): Check existence of subdir.
24626 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
24627 * gdb.base/Makefile.in: General cleanup and simplification.
24628 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
24629 to build executables. Use default rule to build .o files.
24630 (EXPECT, RUNTEST, CC): Fix relative pathname.
24631 (site.exp): Don't insert host_os, etc.
24632 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
24633 and/or SIGUSR1 defined.
24634 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
24635 * gdb.c++/Makefile.in: General cleanup and simplification.
24636 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
24637 (CFLAGS): Remove.
24638 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
24639
24640Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
24641
24642 * gdb.base/recurse.exp: Misc changes to get tests running again
24643 after Kung's changes to the watchpoint code.
24644 * gdb.base/watchpoint.exp: Likewise.
24645
24646Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
24647
24648 * lib/gdb.exp (string_to_regexp): Convert {\} also.
24649
24650Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
24651
24652 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
24653 * lib/gdb.exp (default_gdb_start): Define.
24654 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
24655 gdb.base/funcargs.exp, gdb.base/opaque.exp,
24656 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
24657 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
24658 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
24659 Don't call gdb_target_udi in between tests.
24660
24661Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24662
24663 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
24664 (which was basically just a local version of the same thing). In
24665 addition to avoiding duplication, gdb_test_exact is faster.
24666 * lib/gdb.exp (gdb_test_exact): Fix typo.
24667
24668 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
24669 don't give an error.
24670
24671 * gdb.base/term.exp: Call delete_breakpoints before starting.
24672
24673 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
24674 (t10): Add comment.
24675
24676Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
24677
24678 Reorganization of the GDB Test Suite.
24679
24680 * gdb.base: New directory, contains all the basic tests.
24681 * gdb.c++: New directory, tests specific to C++.
24682 * gdb.chill: New directory, tests specific to Chill.
24683 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
24684 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
24685 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
24686 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
24687 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
24688 t30-31 to chill).
24689 * */gdbme.*: Rename to match appropriate expect scripts.
24690 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
24691 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
24692 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
24693 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
24694 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
24695 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
24696 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
24697 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
24698 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
24699 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
24700 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
24701 gdb.c++/virtfunc.cc: New names of C++ files.
24702 * gdb.chill/chillvars.ch: New name of Chill file.
24703 * gdb.base/configure.in, gdb.c++/configure.in,
24704 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
24705 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
24706 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
24707 * configure.in (configdirs): Update to reflect directory changes.
24708 (target_abbrev): No longer define for any configuration.
24709 * Makefile.in: Cosmetic improvements to header comments.
24710
24711Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
24712
24713 Various changes to gdb.t31:
24714
24715 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
24716 * gdbme.ch: Make all key-words and predefineds be upper-case.
24717 * chillvars.exp: Expect key-words and predefinds in upper-case.
24718
24719 * chillvars.exp: Use gdb_test_exact many places.
24720 Change expected output for arrays (which now includes index labels).
24721
24722 * pr-5020.exp, gdme.ch (module PR_5020):
24723 New test, for PR-5020.
24724
24725Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
24726
24727 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
24728 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
24729
24730Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
24731
24732 * Makefile.in: Fix bit-rot in definitions of CHILL,
24733 CHILL_FOR_TARGET and Chill_LIB.
24734 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
24735 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
24736 CHILL, and CHILL_LIB.
24737
24738Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
24739
24740 * Revert the previous changes. Please see Rob's directory
24741 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
24742
24743Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
24744
24745 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
24746 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
24747 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
24748 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
24749 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
24750 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
24751 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
24752 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
24753 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
24754 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
24755 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
24756 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
24757 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
24758 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
24759 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
24760 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
24761 changes from 94Q1.
24762
24763Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
24764
24765 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
24766 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
24767 Rob's new testing fragments.
24768
24769Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
24770
24771 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 24772 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
24773
24774Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
24775
24776 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
24777 version also, match on casted version strings, and match on
24778 gdb startup case where the line numbers might be messed up.
24779
24780Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
24781
24782 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 24783 (CFLAGS): Delete it from here.
c906108c
SS
24784
24785Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
24786
24787 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
24788
24789Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
24790
24791 * Makefile.in (RUNTEST): Default to just "runtest".
24792
24793Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24794
24795 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
24796 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
24797 the code has been restructured.
24798
24799Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24800
24801 * gdb.t00/default.exp (set write): Allow any number of \r and/or
24802 \n, not just one of each.
24803
24804 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
24805 /bin/cc gives a warning if you do.
24806
24807Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
24808
d63a86f8 24809 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
24810 __t10ListS_link1ZUiRCUiPT0
24811
24812Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24813
24814 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
24815 on local variables in recursive functions.
24816
24817 * gdb.t07/Makefile.in: Build the new test.
24818
24819Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24820
24821 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
24822 directly. Instead compare the return values from actual calls.
24823
24824Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
24825
24826 * Makefile.in (check): Set TCL_LIBRARY for runtest.
24827
24828Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24829
24830 * From Peter Schauer with minor modifications.
a9c64011
AS
24831 * gdb.t15/return.exp (return_tests): Handle targets where "return"
24832 stops in mid-line in the caller. Add xfail for returning a float
24833 value on X86 targets.
c906108c
SS
24834
24835Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24836
24837 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
24838 to avoid expect lossage.
24839 (fmem_LRbug_tests): Likewise.
24840 * gdb.disasm/hppa.s: Corresponding changes.
24841
24842 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
24843 conditions to work with latest dejagnu/expect.
24844
24845 * gdb.t15/funcargs.exp (finish from indirect call): No longer
24846 expected to fail on the PA.
24847 (backtrace in call with trampolines): Explicitly require main
24848 to be frame #1 (no trampolines should show up in backtrace).
24849
24850 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
24851 "continue -expect".
24852 * gdb.t06/break.exp: Likewise.
24853 * gdb.t07/watchpoint.exp: Likewise.
24854 * gdb.t13/bitfields.exp: Likewise.
24855 * gdb.t15/{funcargs,return}.exp: Likewise.
24856 * gdb.stabs/weird.exp: Likewise.
24857 * config/{mips,udi}-gdb.exp: Likewise.
24858
24859 * hppa.sed: Enclose comments within a sed command to avoid
24860 losing with the old OSF1 sed.
24861
24862Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24863
24864 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
24865 sequent dynix.
24866 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
24867 * gdb.t15/funcargs.exp: Conditionally step again to really
24868 finish from marker_call_with_trampolines. Handle the case where
24869 the first step from within call_with_trampolines already steps
24870 us back to main.
24871 * gdb.t15/gdbme.c: Add comment to closing brace of
24872 call_with_trampolines for funcargs.exp.
24873
24874Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24875
d63a86f8 24876 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
24877 Fix typo(s).
24878
24879Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24880
24881 * gdb.t07/gdbme.c: More code for watchpoint testing.
24882
24883 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
24884 "Hardware watchpoint" throughout file.
24885 (test_watchpoint_triggered_in_syscall): New test.
24886 (test_complex_watchpoint): New test.
24887
24888Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24889
24890 * gdbme.c (call_with_trampolines): New function to try and step
24891 into. Tests trampoline problems on the PA.
24892
24893 * funcargs.exp (localvars_in_indirect_call): No longer expect
24894 stepping into indirect call to fail on PAs.
24895 (test_stepping_over_trampolines): New test.
24896
24897Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24898
24899 * TODO: Add suggestions for static member function tests, and
24900 completion tests.
24901
24902Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24903
24904 * TODO: Add suggestions for "p/a" tests.
24905
24906 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
24907 (default_gdb_exit): Replace all the hair with sending "quit" to
24908 the process with a simple close.
24909
24910Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24911
24912 * TODO: Add suggestions for shared library tests.
24913
24914Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24915
24916 * TODO: Add suggestions for x/s tests.
24917
24918Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24919
24920 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
24921 "enable once", and "enable breakpoints once" with ".*".
24922
24923Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24924
24925 * TODO: Add suggestions about structure passing tests.
24926
24927Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24928
24929 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
24930 the primary1 test, use work around if __GNUC__ < 2.
24931 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
24932 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
24933 Test for bad output rather than waiting for timeout. Issue
24934 second continue only if first continue failed.
24935
24936Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
24937
24938 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
24939 operator[] test with gdb_test because the old code didn't seem to
24940 be getting the quoting right with the new dejagnu.
24941
24942Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
24943
24944 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
24945 one from the path.
24946 * Makefile.in: Use a fresh expect if there is one, use runtest
24947 from the src tree if there is one.
d63a86f8 24948
c906108c
SS
24949Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
24950
24951 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
24952 next over recursive call. Revise the tests from that point on
24953 (which had been skipped) to match GDB's actual (correct) output.
24954
24955 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
24956 with next over a breakpoint whose condition is false.
24957
24958 * gdb.t00/help.exp: Comment out "help set print" tests just like
24959 (and for same reason as) "help set" test.
24960
24961Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24962
24963 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
24964 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
24965
24966Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24967
24968 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
24969 necessary gdb_target_udi.
24970
24971 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
24972
24973 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
24974 1838 and 2417; they are fixed.
24975
24976 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
24977 gdb.t03/ptype.exp (ptype structure, ptype union):
24978 Remove xfails; the test is looser than when the xfails were added.
24979
24980 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
24981 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
24982
24983 * gdb.t01/run.exp: Only run shell test if isnative.
24984
24985 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
24986 since "run" automatically loads if necessary. Call gdb_target_udi
24987 after the "file" since "file" kills any execution target.
24988
24989 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
24990 GDB. GDB doesn't work that way (not anymore at least) on UDI.
24991 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
24992 argument for UDI.
24993
24994Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
24995
24996 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
24997
24998 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
24999
25000Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25001
25002 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
25003 properly quoting regexps. This makes the second argument to
25004 demangle a fixed string, which matches the callers, instead of a
25005 shell-style pattern which is what the previous implementation
25006 used. Update some of the callers.
25007
25008Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25009
25010 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
25011 (comib_nullified_tests): Fix typo.
25012 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
25013 strings. No longer expected to fail.
25014
25015 * gdb.disasm/hppa.s (addib_tests): Fix typo.
25016 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
25017 strings. No longer expected to fail.
25018
25019 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
25020 string. No longer expected to fail.
25021
25022Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25023
25024 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
25025 No longer expected to fail.
25026
25027 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
25028 string. No longer expected to fail.
25029
25030Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25031
25032 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
25033 only in the names (I probably got most of them). I was even
25034 generous with some which differed in underscores in names, and
25035 probably missed a few, and I *still* was able to remove almost a
25036 third of the file with almost no impact on testsuite coverage.
25037
25038Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25039
25040 * gdb.t00/default.exp: Match udi_attach error message as well as
25041 the one from child_attach.
25042
25043 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
25044
25045 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
25046
25047 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
25048 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
25049
25050 * Move test with enums and partial symbols back to
25051 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
25052 Reverts the change of 26 May 93. Per today's change to
25053 stabs.texinfo, the behavior that weird.exp was expecting was
25054 unreasonable; what is important is that the compiler+gdb get
25055 things right, which happens with a recent gcc. Also fix the test
25056 to deal with native compilers which put out the stab gdb can't
25057 deal with.
25058
25059Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25060
25061 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
25062 in the names. The main thing these accomplish is to slow things down.
25063 Many more such duplicates surely remain.
25064
25065 * gdb.t00/help.exp: Comment out "help support" test just like
25066 (and for same reason as) "help set" test.
25067
25068Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
25069
25070 * gdb.t06/break.exp: Remove setup_xfails for
25071 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
25072 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
25073 about known bug in gcc to include up through 2.5.8.
25074 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
25075 well as "_vb$".
25076 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
25077 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
25078 with latest gcc and gdb.
25079 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
25080 well as "_vb$".
25081
25082Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25083
25084 * configure.in (hppa*-*-*): Also configure and build stabs-only
25085 tests.
25086
25087Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25088
25089 * gdb.t10/hppa.mt: A makefile fragment for the PA.
25090 * gdb.t10/configure.in (hppa*-*-*): Use it.
25091
25092Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25093
25094 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
25095
25096Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25097
25098 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
25099 versions prior to 1.13.5.
25100
25101Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25102
25103 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
25104 the prompt is at the start of a line.
25105
25106Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25107
25108 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
25109 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
25110 in the copr tests now.
25111 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
25112 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
25113 expected to fail.
25114
25115Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
25116
25117 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
25118 gdb.t31/chillvars.exp, lib/gdb.exp:
25119 Tweak to run under either version of expect.
25120 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
25121 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
25122 * gdb.t11/list.exp: Remove extraneous whitespace.
25123
25124Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25125
25126 * gdb.t16/printcmds.exp (test_print_strings): Accept
25127 "(unsigned char *) " before the string.
25128
25129 * TODO: Add notes about printing of fancy types and GDB expressions.
25130
25131Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
25132
25133 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
25134 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 25135 if doing mips-idt-ecoff.
c906108c
SS
25136
25137Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
25138
25139 * Most .exp files: Tweak to run under either version of expect.
25140
25141Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25142
25143 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
25144 xfails; I'm not sure why they are failing, but not because of PR 1806.
25145
25146Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
25147
25148 * config/unix-gdb.exp: Remove gdb_unload cause it's already
25149 defined in lib/gdb.exp.
25150
25151Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25152
25153 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
25154 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
25155 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
25156 have to be typeless.
25157
25158Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25159
25160 * TODO: Add suggestion for copyright year test.
25161
25162Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
25163
25164 * configure.in (*-*-lynxos*): Add stabs tests.
25165
25166Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
25167
25168 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
25169 so insert a tab before any assembler directive in column zero.
25170
25171 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
25172 stores.
25173 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
25174 stores.
25175 (fpu_short_memory_tests): Likewise.
25176
25177Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25178
25179 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
25180 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
25181 .stabs directives in comments.
25182
25183Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25184
25185 * TODO: New file, describing tests we could write.
25186 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
25187
25188Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25189
25190 * gdb.t06/signals.exp: Add kludge to force re-sync.
25191
25192 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
25193 to xgdb instead of gdb, get out of gdb.
25194
25195Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
25196
25197 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
25198 for info.
25199
25200Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
25201
25202 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
25203 * gdb.stabs/configure.in (hppa*-*-*): Use it.
25204 * gdb.stabs/hppa.sed: New sed script for the PA.
25205
25206Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25207
25208 * gdb.stabs: Re-write weird.def and configuration to use sed
25209 instead of cpp. sed is portable and POSIX; cpp is neither.
25210
25211Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25212
25213 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
25214
25215Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25216
25217 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
25218
25219Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25220
25221 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
25222 "_vb$".
25223 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
25224 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
25225
25226Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25227
25228 * lib/gdb.exp: Comment out code which depends on non-existent
25229 `transform' procedure.
25230
25231Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
25232
25233 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
25234 * lib/gdb.exp: Transform tool name.
25235 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
25236 1.1's new error handling system.
25237
25238Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25239
25240 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
25241
25242Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25243
25244 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
25245 They made pattern matching so slow that timeouts happened on
25246 heavily loaded systems. Now any output from "show print" which
25247 gets us back to the GDB prompt is a PASS.
25248
25249Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
25250
25251 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
25252
25253Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25254
25255 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
25256
25257 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
25258 It is not from PR 3220.
25259
25260Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25261
25262 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
25263 just started failing because they depended on the order the
25264 subcommands are presented, or exact docstring text. This kind of
25265 test is a pain and has minimal benefit.
25266
25267Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25268
25269 * gdb.t09/corefile.exp: At end of test, use "core" command with
25270 no arguments.
25271
25272Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
25273
25274 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
25275 17}/Makefile.in: Make it possible to run the testsuite with Sun
25276 make and CC = cross gcc by adding explicit build rules for .o
25277 files.
25278
25279Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25280
25281 * gdb.t15/funcargs.exp: Don't put comments on same line as
25282 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 25283
c906108c
SS
25284Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25285
25286 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
25287
25288Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
25289
25290 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
25291 * gdb.t20/inherit.exp: remove three dumplicate entries.
25292
25293Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25294
25295 * gdb.t06/break.exp: For "next over recursive call", fail on any
25296 incorrect output, not just on "factorial (value=2)".
25297
25298Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25299
25300 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
25301 working now. Add an xfail if accesing a bss variable causes
25302 a memory error if the target is not yet run.
25303
25304Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25305
25306 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
25307 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
25308 name of __st* demangling (2 strings). Did Kung really get the
25309 more than 95 others right without testing them?
25310
25311Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
25312
25313 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
25314
25315Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
25316
25317 * configure.in (configdirs): Add gdb.disasm
25318 * gdb.disasm: New directory for GDB disassembler tests.
25319 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
25320
25321Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25322
25323 * gdb.t00/help.exp: Don't test "help set".
25324
25325 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
25326 from within expect statements. None of these happen anymore and
25327 they cause regressions to be silently unnoticed.
25328
25329 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
25330 messages) about known failures with gcc cygnus-2.4.5-930417.
25331
25332 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
25333 comp-info.exp so it gets built if it doesn't exist.
25334
25335 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
25336 it is no longer used.
25337 * gdb.t13/comp-info.c: Removed.
25338
25339Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
25340
25341 * gdb.t06/signals.exp: Add xfail for sun3.
25342
25343Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25344
25345 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
25346 relevant because ^C doesn't get sent but failure can be reproduced
25347 interactively).
25348
25349Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25350
25351 * gdb.stabs/alpha.mt: New configuration file for alpha.
25352 * gdb.stabs/configure.in: Use it.
25353 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
25354 sharing with alpha.mt, redefine long to word via preprocessor.
25355 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
25356 for alpha.
25357 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
25358 native cc.
25359 * gdb.t00/teststrategy.exp: Change expect string so that we
25360 consume the `(xgdb)' from the command echo and from the gdb prompt.
25361 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
25362 gdb currently compares all values as long, so this failure probably
25363 applies to any configuration where LONGEST is bigger than a target int.
25364 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
25365 with gcc.
25366 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
25367 to handle opaque pointers, gcc is.
25368 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
25369 as first argument. Include <sys/types.h> and change all operator
25370 new definitions to use size_t.
25371 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
25372 now that we use size_t.
25373
25374Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25375
a9c64011 25376 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 25377 a long or float array cast all array members to the same type.
a9c64011 25378 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 25379 with 64 bit longs.
a9c64011 25380 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 25381 on alpha.
a9c64011 25382 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
25383
25384Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25385
25386 * gdb.t24 (demangle.exp): Constructors of templates have names like
25387 vector<int>::vector(int) not vector<int>::vector<int>(int). See
25388 section 14.6 of the ARM.
25389
25390 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
25391 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
25392 accomplish little and slow down the testsuite.
25393
25394 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
25395 Accept spaces various places.
25396
25397Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25398
25399 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
25400 with watchpoint enabled.
25401
25402 * Makefile.in: Remove definition of CC and remove the second
25403 definition of CXX (the "CXX = gcc" one remains). These definitions
25404 were causing backquotes to be expanded within backquotes, which
25405 doesn't work.
25406
25407Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
25408
25409 * gdb.t17/callfuncs.exp: Add "return 0" to end.
25410
25411Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25412
a9c64011
AS
25413 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
25414 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
25415 by mips cc and contains no stabs entries.
25416
25417Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
25418
25419 * config/vx-gdb.exp: Use fake device to load files rather than
25420 NFS.
25421 * lib/gdb.exp: New proc to do "file" command.
25422 * config/unix-gdb.exp: Use new "file" proc.
25423
25424Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
25425
25426 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
25427 Rework board rebooting slightly.
25428 (gdb_exit): Don't exit from the remote shell; there isn't one.
25429 * gdb.stabs/weird.exp: If a program is being debugged already,
25430 kill it.
25431 * gdb.t04/setvar.exp: Stop and restart gdb.
25432 * gdb.t05/expr.exp: Likewise.
25433 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
25434 restart gdb and reload the program.
25435 * gdb.t08/opaque.exp: Likewise.
25436 * gdb.t12/scope.exp: Likewise.
25437 * gdb.t13/bitfields.exp: Likewise.
25438 * gdb.t15/funcargs.exp: Likewise.
25439 * gdb.t20/classes.exp: Likewise.
25440 * gdb.t03/ptype.exp: Increase timeout.
25441 * gdb.t16/printcmds.exp (test_print_string_constants,
25442 test_print_array_constants): Likewise.
25443 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
25444 * gdb.t20/classes.exp (do_tests): Likewise.
25445 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
25446
25447Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
25448
25449 * gdb.stabs: Renamed *wierd* to *weird*.
25450
25451Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
25452
25453 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
25454 for timeout. Add "known gcc 2.4.5 bug" to failure message.
25455
25456Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
25457
25458 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
25459 (do_tests): Remove xfail for whatis on one_var and two_var.
25460
25461Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
25462
25463 * Makefile.in: Made cross building work better by adding
25464 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
25465
25466Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25467
25468 * gdb.t15/{return.c,return.exp,Makefile.in}:
25469 New test, currently commented out.
25470
25471Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
25472
25473 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
25474 still running and removes the leftover named socket so GDb can do
25475 clean restarts.
25476
25477Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
25478
25479 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
25480 console, not GDB.
25481 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
25482 cross testing works better with "make check"
25483 * config/unix-gdb: Use default procedures for exit and version.
25484 * config/vx-gdb.exp: Cleaned up and massaged back to working order
25485 with the newest VxWorks.
25486
25487Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25488
25489 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
25490 old form.
25491
25492 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
25493 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
25494
25495 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
25496
25497 * config/unix-gdb.exp: Remove this version of gdb_exit
25498 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
25499 Rob says he'll look at it when he gets back to testing boards.
25500
25501Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
25502
25503 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
25504 an expected fail for certain ptype commands.
25505
25506 * gdb.t20/classes.exp: Update expected results of "ptype class
25507 Base1" to account for the constructor that now appears in the type.
25508
25509Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
25510
25511 * configure.in (configdirs): Restore gdb.t04, which mysteriously
25512 disappeared from list.
25513 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
25514 "alldone" proc with call to cleanup and exit.
25515 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
25516 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
25517 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
25518 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
25519 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
25520 "alldone" proc with simple returns that suppress remaining
25521 tests. The alldone proc went away many months ago.
25522
25523Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25524
25525 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
25526
25527 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
25528
25529Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25530
25531 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
25532 as vax gdb will display them.
25533
25534Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25535
25536 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
25537 optimizers.
25538
25539 * scope.exp: Change "bad value for localval" messages so each one
25540 is unique.
25541
25542 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
25543 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
25544
25545 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
25546
25547Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25548
25549 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
25550 doesn't exist (due to optimization).
25551
25552Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25553
25554 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
25555 contains \r because the filename is long.
25556
25557 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
25558 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
25559
25560Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25561
25562 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
25563 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
25564 Ultrix.
25565 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
25566 int tests.
25567 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
25568
25569Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
25570
25571 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
25572
25573 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 25574 to match does not match the passing case but still matches the
c906108c
SS
25575 failing case.
25576
25577Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25578
25579 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
25580
25581Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
25582
25583 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
25584 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
25585 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
25586 Remove various versions of gdb_exit.
25587 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
25588 gdb_exit.
25589 * config/unix-gdb.exp: gdb_exit remains here, and should override
25590 the generic version, since it's doing a lot of wierd stuff that
25591 the other versions aren't. FIXME, fold it in, or abandon this
25592 version.
25593
25594Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25595
25596 * gdb.t24/demangle.exp: Add tests for PR 3220.
25597
25598Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25599
25600 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
25601
25602Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
25603
25604 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
25605 "i386-*-*". Works for i486 as well.
25606
25607 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
25608 bug, and expand domain of xfail to all SVR4 systems, since the
25609 actual problem is likely to be in generic SVR4 /proc support.
25610
25611Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25612
25613 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
25614
25615Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
25616
25617 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
25618 xfails for other systems. Match a missing 'Continuing.' as an
25619 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
25620
25621 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
25622 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
25623 Only issue warning for missing executables if -all option is used.
25624
25625 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
25626 file if -all option is used. It's like an unpredictable XFAIL.
25627
25628Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25629
25630 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
25631 for dynamically linked binaries.
25632
25633 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
25634
25635Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25636
25637 * gdb.t20/inherit.exp: Change message for "print tagless struct"
25638 to state that this is a known bug in old versions of g++.
25639
25640Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25641
25642 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
25643 while waiting for `Continuing'.
25644
25645Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
25646
25647 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
25648 in text, data, and bss.
25649 * gdb.t10/nodebug.c: Add local and global test variables for
25650 initialized and uninitialized data.
25651
25652Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25653
25654 * config/unix-gdb.exp (gdb_exit): Add "wait".
25655
25656Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25657
25658 * gdb.t06/signals.exp: xfail the continue from the handler for all
25659 targets.
25660
25661 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
25662 function with watchpoints enabled, the i386 call dummy starts with
25663 a call.
25664
25665 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
25666 386 bsd names its corefiles.
25667
25668Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
25669
25670 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
25671 compilers don't grok it.
25672 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
25673 with small octal ints rather than character constants, which
25674 are signed and might not fit if first promoted to int.
25675
25676Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
25677
25678 * gdb.t09/Makefile.in (clean): Remove corefile.
25679
25680Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25681
25682 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
25683
25684Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25685 and Jim Kingdon (kingdon@cygnus.com)
25686
25687 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
25688 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
25689 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
25690
25691Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25692
25693 * gdb.t17/interrupt.exp: Add xfail for hppa.
25694
25695Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25696
25697 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
25698 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
25699 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
25700 to determine signed-ness of bitfields and use the result to setup
25701 the xfail.
25702 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
25703 * gdb.t15/funcargs.exp: Use them to step until the second indirect
25704 call line is reached if necessary.
25705
25706Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25707
25708 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
25709
25710Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25711
25712 * gdb.t06/break.exp: Also test `clear' command.
25713
25714Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
25715
25716 * gdb.t00/teststrategy.exp: Remove extra quote.
25717
25718 * gdb.t07/watchpoint.exp: Change xfail for calling function with
25719 watchpoint enabled to be for all non-68k machines.
25720
25721 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
25722
25723Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25724
25725 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
25726 targets use aout.mt instead of ecoff.mt as gas understands
25727 standard aout format.
25728
25729Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
25730
25731 * lib/gdb.exp (runto): Don't insist that function we are running to
25732 was compiled with -g.
25733
25734 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
25735
25736 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
25737 to get back into the read system call.
25738 Accept leading newline in case where we woke it up.
25739
25740Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25741
25742 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
25743 to make the stabs test work on ecoff systems using gcc and -with-stabs.
25744 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
25745 enable ecoff configuration.
25746
25747Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25748
25749 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
25750
25751Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25752
25753 * gdb.t16/printcmds.exp: Add another printf test.
25754
25755Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
25756
25757 * configure.in: If configured -with-stabs on any target, add
25758 stabsdirs to configdirs.
25759
25760Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25761
25762 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
25763 fun" so pattern does not match the command itself.
25764
25765Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25766
25767 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
25768
25769Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25770
25771 * gdb.t17/interrupt.exp: Test for more things.
25772
25773Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25774
25775 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
25776 compiler arranges the code and line numbers.
25777
25778 * gdb.t17/interrupt.exp: Don't send \n after ^C.
25779
25780Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25781
25782 * gdb.t00/help.exp: Increase expect input buffer size.
25783
25784Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25785
25786 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
25787
25788 * gdb.t07/watchpoint.exp: Add xfail for hppa.
25789
25790 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
25791
25792 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
25793 [0-9]*, not just [0-9].
25794
25795Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25796
25797 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
25798
25799 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
25800
25801Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25802
25803 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
25804
25805Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25806
25807 * gdb.t06/signals.c: Add xfails for sun3.
25808
25809 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
25810
25811 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
25812 test_stepping tests.
25813
25814Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25815
25816 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
25817
25818 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
25819
25820 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
25821 rather than actually putting it through cpp twice.
25822
25823 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
25824
25825Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
25826
25827 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
25828 no longer needed.
25829
25830Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25831
25832 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
25833
25834 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
25835 C++ features prints as "struct", make it a pass, not an xfail.
25836
25837Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25838
25839 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
25840 Don't require VA to print as "class" rather than "struct".
25841
25842Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
25843
25844 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
25845
25846Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25847
25848 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
25849
25850Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25851
25852 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
25853 order.
25854
25855Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25856
25857 * gdb.t16/printcmds.exp: Add printf tests.
25858
25859 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
25860
25861 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
25862
25863Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
25864
25865 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
25866 pass counts, to counteract any existing or future setup_xfails.
25867
25868Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25869
25870 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
25871 {BEGIN,END}_COMMON for common block instead of STAB.
25872 * gdb.stabs/wierd.exp: Add xfail for rs6000.
25873
25874 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
25875 intp_var should be N_GSYM not N_LSYM.
25876 wierd-aout.S: Use a label for the value of the N_SO.
25877 wierd.def: Remove all backslashes.
25878 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
25879
25880Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25881
25882 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
25883 get the expected next to inheritance3.
25884
25885Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25886
25887 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
25888 now that gcc-2.4 gets it right.
25889
25890Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25891
25892 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
25893
25894 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
25895 generating comp-info.exp which works for cross-compilation.
25896
25897Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
25898
25899 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
25900 "*-*-sysv4.*".
25901
25902Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
25903
25904 * gdb.t01/run.exp: Start with a fresh gdb.
25905 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
25906 SVR4.x.
25907
25908Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
25909
25910 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
25911 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
25912 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
25913 Makefile.in (distclean, realclean): Remove gdbme.c from list of
25914 things to remove.
25915
25916Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
25917
25918 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
25919 test cases from bug reports.
25920
25921Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
25922
25923 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
25924 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
25925 avoid spurious xfails.
25926 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
25927 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
25928 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
25929
25930Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
25931
25932 * gdb.t00/teststrategy.exp: Rework to provide more useful
25933 description of each test, fix problem with systems that define
25934 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
25935 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
25936 results for "next over recursive call" so timeouts aren't taken
25937 by error.
25938
25939Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
25940
25941 * gdb.t12/scope.exp: Test printing of variables before run.
25942
25943 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
25944 printed in wrong order due to sorting.
25945
25946Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
25947
25948 * gdb.t00/teststrategy.exp: Fix expected results for printing
25949 user entered string constant. Is array of char, prints with no
25950 address.
25951
25952 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
25953 commands.
25954 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
25955 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
25956 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
25957 of struct of char arrays.
25958 * gdb.t00/radix.exp: New tests for radix commands.
25959
25960Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
25961
25962 * gdb.t16/printcmd.exp: Print a variable before running program
25963 (with xfail for AIX).
25964
25965Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
25966
25967 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
25968
25969 * gdb.t16/printcmd.exp: Don't print variables before running program.
25970
25971 * gdb.t06/break.exp: Don't require envp argument to main.
25972
25973 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
25974
25975 * gdb.t02/whatis.exp, gdb.t11/list.exp:
25976 Add xfails for rs6000.
25977
25978 * gdb.t02/whatis.exp: Change other tests not to re-test something
25979 we already tested.
25980
25981 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
25982 each type used has a variable of that type.
25983
25984Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
25985
25986 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
25987
25988Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
25989
25990 * configure.in: change srctrigger to be a file, not a directory
25991
25992Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
25993
25994 * configure.in (mips-idt-ecoff*): Added trailing '*'.
25995
25996 * gdb.t11/list.exp: Fixed a couple of typos.
25997
25998Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
25999
26000 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
26001 is fixed and PR is closed.
26002 * gdb.t16 (gdbme.c): Add simple test string variable.
26003 * gdb.t16 (printcmds.exp): Add tests with simple test string
26004 variable, primarily for boundaries on "set print elements".
26005
26006Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
26007
26008 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
26009 Make leading 0's optional and don't expect a tab in the middle
26010 of the number.
26011
26012 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
26013
26014 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
26015 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
26016 don't end command passed to gdb_test with newline.
26017
26018 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
26019 signed keyword away, don't expect signed bitfields to be signed.
26020
26021 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
26022 printing with only as many 1's as are in the field as well as printing
26023 with 32 1's (see comment).
26024
26025Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
26026
26027 * gdb.t00/default.exp: Start with a fresh gdb.
26028 * configure.in (configdirs): Remove gdb.t31 until the chill
26029 compiler works again. It no longer is able to find chillrt0
26030 since it isn't in libchill.a anymore.
26031 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
26032 wierd.o, make more modular.
26033 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
26034 spurious newlines that caused problems.
26035
26036Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26037
26038 * Move test with enums and partial symbols from gdb.t03/ptype.exp
26039 to gdb.stabs/wierd.exp since GCC has worked around the bug.
26040 gdb.stabs/wierd.{exp,def}: Many new tests.
26041
26042 * gdb.t00/default.exp: update info line for new message.
26043
26044 * gdb.t02/{whatis.exp,gdbme.c}:
26045 Test that "char *" doesn't print as "caddr_t".
26046
26047Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26048
26049 * gdb.t00/help.exp: Use .* in place of some help messages which
26050 just changed.
26051 gdb.t00/default.exp: Update "info frame" test for new message.
26052 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
26053 Remove some xfails
26054
26055Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26056
26057 * gdb.t03/{gdbme.c,ptype.exp}:
26058 Add tests for typedef'd struct and union without tags.
26059 Also check "whatis" on a variable of a typedef'd enum without a tag.
26060
26061 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
26062 PRMS 1823; the bug still exists but isn't reproduced by this test
26063 anymore), and remove rs6000 XFAIL (the bug is fixed).
26064
26065 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
26066 duplicated from whatis.exp. For those that are left, accept
26067 "long", "long int", or "int" for long variables (whatis.exp already
26068 has an XFAIL for "int", so no need to fail it here).
26069
26070 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
26071 Deal with GCC's names for types now that GDB uses the compiler's names.
26072
26073 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
26074 setup_xfail's for sunos4. If we #defined the signed keyword away,
26075 don't expect GDB to know that char it is signed.
26076
26077 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
26078
26079Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
26080
26081 * configure.in (configdirs): Add gdb.t24 for C++ tests that
26082 should work on any system, regardless of debugging format.
26083 * gdb.t21/demangle.exp: Move to gdb.t24.
26084 * gdb.t24/demangle.exp: Move from gdb.t21.
26085 * gdb.t24/{Makefile.in, configure.in}: New files.
26086
26087Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26088
26089 * configure.in: Do gdb.stabs and C++ tests only for stabs.
26090 * gdb.stabs: New directory.
26091
26092Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26093
26094 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
26095 not just "Quit anyway?".
26096
26097Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
26098
26099 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
26100 that all setup_xfails are immediately followed by clear_xfails.
26101
26102Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
26103
26104 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
26105 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
26106 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
26107 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
26108 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
26109 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
26110 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
26111 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
26112 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
26113 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
26114 gdb.t31/chillvars.exp, lib/gdb.exp:
26115 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
26116 bug-gdb@prep.ai.mit.edu.
26117
26118Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
26119
26120 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
26121 with 0.0, not integer 0.
26122
26123Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
26124
26125 * gdb.t06/break.exp: Update for "Kill the program" message change.
26126
26127Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
26128
26129 * Makefile.in (GDBFLAGS): Set to -nx.
26130 * Makefile.in (site.exp): Use GDBFLAGS.
26131
26132Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
26133
26134 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
26135 Makefiles.
26136 (check): depend on just-check.
26137 (just-check): added so that tests can be run without a noop
26138 build pass.
26139
26140Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
26141
26142 Switch to using configure's configdirs.
26143 * Makefile.in (Makefile): add configure.in dependency.
26144 (SUBDIRS): removed redundant assignment.
26145 * configure.in: switch subdirs assignment to configdirs.
26146 * gdb.t*/configure.in: new files.
26147
26148Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
26149
26150 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
26151 works.
26152
26153Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
26154
26155 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
26156 in explicit rules. Apparently this is not supported by some makes.
26157
26158Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
26159
26160 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
26161
26162Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26163
26164 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
26165 disappeared.
26166
26167Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
26168
26169 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
26170
26171Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
26172
26173 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
26174 watchpoint problem that is now fixed.
26175 * gdb.t30/chexp.exp: Remove setup_xfail for printing
26176 uninitialized convenience variables.
26177 * gdb.t31/chillvars.exp: Fix expected patterns for printing
26178 structures.
26179
26180Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26181
26182 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
26183 which causes expect to get out of sync with gdb on long output
26184 from help set.
26185 * gdb.t09/corefile.exp: Make expected pattern for core file
26186 failing signal and frame output format less sun specific.
26187
26188Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
26189
26190 * gdb.t31/chillvars.exp: Add and remove initial dummy
26191 breakpoint, so that symbol table is forced in.
26192 (Needed at least on Sunos4, though it seems not SVR4.)
26193 * gdb.t31/chillvars.exp: Update for changed output format.
26194
26195Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
26196
a9c64011 26197 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
26198
26199Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
26200
26201 * Makefile.in: Added --srcdir when invoking runtest, removed the
26202 need for a local config file. (optional now)
26203
26204Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
26205
26206 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
26207 failure count used to force early termination. Add some more
26208 expected failures for gnu style demangling.
26209
26210Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26211
26212 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
26213 pmi variable from gdb.t20/gdbme to get optimized away.
26214 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
26215 Check for written corefile upon timeout _and_ eof.
26216
26217Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26218
26219 * config/unix-gdb.exp: Add missing return 0.
26220
26221Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26222
26223 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
26224 test termination.
26225
26226Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
26227
26228 * configure.in (subdirs): Put back gdb.t17 which mysteriously
26229 disappeared.
26230
26231Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
26232
26233 * gdb.t10/crossload.exp: Disable the i860-elf test until such
26234 time as i860 support works.
26235
d63a86f8 26236 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
26237 "backtrace 100\r" rather than just "backtrace\r", to match last
26238 change.
26239
26240Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
26241
26242 * config/udi-gdb.exp (gdb_exit): Remove close command.
26243 (gdb_target_udi): New procedure to set the UDI target.
26244 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
26245 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
26246 Added waits for prompts after several question responses. Added
26247 some more responses used by a29k-amd-udi-gdb.
26248 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
26249 pass different arguments, restart UDI connection after program
26250 completion.
26251 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
26252 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
26253 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
26254 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
26255 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
26256 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
26257 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
26258 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
26259 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
26260 after program completion.
26261 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
26262 compiled with a SELECT_VECS setting.
26263 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
26264 infinite recursion.
26265
26266 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
26267 Added checks for COFF results, and made them expected failures for
26268 all targets. It would be better to make them expected failures
26269 for COFF targets only.
26270
26271Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
26272
26273 * Makefile.in: add null dvi target, don't bother to recurse
26274 through test directories for info and install-info; rename
26275 $(datadir) to be dejagnu instead of deja-gnu
26276
26277Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
26278
26279 * gdb.t31/gdbme.ch: Re-enable code that previously caused
26280 compiler to coredump.
26281 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
26282 code.
26283
26284Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
26285
26286 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
26287 coredump.
26288 * gdb.t31/chillvars.exp: Comment out tests that depend on that
26289 code.
26290
26291Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
26292
26293 * gdb.t03/ptype.exp: tests for return code from gdb_test.
26294 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
26295 which in a shell. Deletes xgdb when done.
26296 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
26297 Tests the return from the "set height" or "set width" commands.
26298 Added a few return codes where needed.
26299
26300Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
26301
26302 * Makefile.in (SUBDIRS): Add gdb.t17.
26303 * configure.in (subdirs): Add gdb.t17.
26304 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
26305 files to test gdb's calling of functions in the inferior with
26306 the correct arguments and gdb's ability to retrieve any
26307 result returned.
26308
26309Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
26310
26311 * config/unix-gdb.exp (gdb_exit): Remove close commands that
26312 may be called after gdb goes away. Previous versions of expect
26313 needed these to avoid file descriptor leaks, but they cause
26314 errors with the current revision of expect.
26315 * gdb.t00/gdbvars.exp: Use -re on expected output after
26316 setting sevenbit-strings.
26317 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
26318 to set sevenbit-strings consistent across tests.
26319 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
26320 set sevenbit-strings consistent across tests.
26321
26322Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
26323
26324 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
26325 expected output to match current "expect" expectations.
26326
26327Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
26328
26329 * gdb.t00/default.exp: Change expected output for default "source"
26330 command, to match new gdb behavior which requires a filename to
26331 source.
26332
26333Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
26334
26335 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
26336 expected fail for i486-*-* that misses the marker2 function.
26337 * gdb.t10/crossload.exp (bfddefault): Allow successful
26338 recognition of a format to pass even if no symbols are found.
26339 Explicitly catch failures where the format is not recognized
26340 or is ambiguous, and add the reason to the fail message.
26341 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
26342 the cause is and invalid target and add reason to failure message.
26343 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
26344 elf32-i386, elf32-sparc, and elf32-i860.
26345 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
26346 Set up expected failure for 'filename'::variable scope resolution,
26347 which is now apparently broken on all targets.
26348 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
26349 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
26350 gdb.t23/templates.exp: Change failure for missing binfile into
26351 just a warning.
26352 gdb.t21/demangle.exp: Change all cfront references to 'arm'
26353 references.
26354
26355Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
26356
26357 * gdb.t00/default.exp: Add expected output for default "source"
26358 command, to match new gdb behavior.
26359 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
26360
26361Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
26362
26363 * config/*-gdb.exp: returns an error, rather than exiting on
26364 internal errors.
26365
26366Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
26367
26368 * gdb.t03/gdbme.c: Add pointer to struct variable.
26369 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
26370 referencing struct members.
26371
26372Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
26373
26374 * configure.in (mips-idt-ecoff): New target.
26375 * config/mips-gdb.exp: New file for remote board using MIPS remote
26376 debugging protocol.
26377
26378 * Redid configuration scheme. Removed gdb.t*/configure.in.
26379 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
26380 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
26381 distclean targets. Built executables via .o files. Adjusted
26382 tests to account for source files in $(srcdir) rather than
26383 $(objdir).
26384 * lib/gdb.exp (runto): Don't expect () after the function name,
26385 because it may have arguments.
26386
26387Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
26388
26389 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
26390 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
26391 expected failures for mips-idt-* and mips-sgi-*.
26392 * gdb.t00/default.exp (attach): Kill process if requested.
26393 * gdb.t00/help.exp (help target core, help target): Accept a gdb
26394 that does not read core files.
26395 * gdb.t01/run.exp: Removed checks for exit status code.
26396 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
26397 it is linked in.
26398 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
26399 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
26400 appropriate, rather than doing it by hand.
26401 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
26402 execution.
26403 * gdb.t10/crossload.exp: Kill existing program if needed.
26404 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
26405 appropriate, rather than doing it by hand. Always increase
26406 timeout for this test, not just for VxWorks.
26407
26408Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
26409
26410 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
26411 of Chill STRUCT types and STRUCT values.
26412 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
26413 than "char".
26414 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 26415 struct2): New struct definitions and initializations to test
c906108c
SS
26416 simple Chill STRUCT types.
26417
26418Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
26419
26420 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
26421 the null byte at the end of strings.
26422 * gdb.t00/default.exp: Make show version insensitive to copyright
26423 date.
26424 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
26425 to avoid dependencies on target char signedness.
26426 * gdb.t16/printcmds.exp: Update expected results for explicitly
26427 unsigned char.
26428 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
26429 now work.
26430 * gdb.t21/demangle.exp: Add many more patterns for template
26431 demangling, most of them being expected failures.
26432 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
26433 string we are matching for, to match on the whole string.
26434 * gdb.t21/demangle.exp: Add many new test strings to demangle,
26435 and fix a whole bunch that had incorrect expected output but were
26436 passing anyway because of the bug in "proc demangle".
26437 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
26438 type.
26439 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
26440
26441Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
26442
a9c64011
AS
26443 * gdb/testsuite: made modifications to testcases, etc., to allow
26444 them to work properly given the reorganization of deja-gnu and the
26445 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
26446
26447Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
26448
26449 * gdb/testsuite: Initial creation of gdb/testsuite.
26450 Migrated dejagnu testcases and support files for testing nm to
26451 gdb/testsuite from deja-gnu. These files were moved "as is"
26452 with no modifications. This migration is part of a major overhaul
26453 of dejagnu. The modifications to these testcases, etc., which
26454 will allow them to work with the new version of dejagnu will be
26455 made in a future update.
48efe704 26456
8d8cb839 26457 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 26458\f
8d8cb839
EZ
26459;; Local Variables:
26460;; mode: change-log
26461;; left-margin: 8
26462;; fill-column: 74
26463;; version-control: never
26464;; End:
902f2ccb 26465
0b302171 26466 Copyright 1993-2005, 2012 Free Software Foundation, Inc.
902f2ccb
MC
26467 Copying and distribution of this file, with or without modification,
26468 are permitted provided the copyright notice and this notice are preserved.