2011-09-22 Andreas Tobler <andreast@fgznet.ch>
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
b2a6bdeb
AT
12011-09-22 Andreas Tobler <andreast@fgznet.ch>
2
3 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
4 list of compilation switches for <*-*-freebsd*>.
5
3c9057f3
SS
62011-09-19 Stan Shebs <stan@codesourcery.com>
7
8 * gdb.trace/tspeed.exp: New file.
9 * gdb.trace/tspeed.c: New file.
10
34518530
YQ
112011-09-18 Yao Qi <yao@codesourcery.com>
12
13 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
14 instructions.
15 (test_adr_32bit, test_pop_pc): Likewise.
16 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
17 Thumb instructions.
18 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
19 in gdb_test_multiple.
20 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
21
ab254057
YQ
222011-09-17 Yao Qi <yao@codesourcery.com>
23
24 * lib/gdb.exp (can_single_step_to_signal_handler): New.
25 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
26 support single step to signal handler.
27
9c317b71
YQ
282011-09-17 Yao Qi <yao@codesourcery.com>
29
30 * gdb.base/disp-step-fork.c: New.
31 * gdb.base/disp-step-syscall.exp: New.
32 * gdb.base/disp-step-vfork.c: New.
33
a8123151
JB
342011-09-16 Joel Brobecker <brobecker@adacore.com>
35
36 * gdb.ada/tasks.exp: Make the expected output for
37 the `info tasks' tests more resilient to spacing
38 changes.
39
63a9aad8
JK
402011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
41
42 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
43 (reached breakpoint 2, reached breakpoint 3): Update expected output.
44
2aa48337
KP
452011-09-15 Kevin Pouget <kevin.pouget@st.com>
46
47 PR Python/12692 Add gdb.selected_inferior() to Python interface.
48 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
49
6839b47f
KP
502011-04-30 Kevin Pouget <kevin.pouget@st.com>
51
52 Handle multiple breakpoint hits in Python interface:
53 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
54 presence.
55 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
56 breakpoint hits.
57
0935723e
JK
582011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
59 Jan Kratochvil <jan.kratochvil@redhat.com>
60
61 * gdb.python/py-events.exp: Remove pretty printing comment.
62 * gdb.python/py-evsignal.exp: New file.
63 * gdb.python/py-evthreads.c: Include signal.h.
64 (thread3): Remove variable count3. Remove variable bad and use raise
65 instead.
66 (thread2): Remove variable count2. Move thread3 pthread_create here,
67 merge pthread_join to a single line.
68 (main): Remove variable count1. Merge pthread_join with pthread_create
69 to a single line.
70 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
71 KFAIL python/12966 for gdbserver. Test return value of
72 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
73 gdb_expect by gdb_test and gdb_test_multiple.
74 (thread 2, thread 3): New tests.
75
4801a9a3
PA
762011-09-12 Matt Rice <ratmice@gmail.com>
77 Pedro Alves <pedro@codesourcery.com>
78
79 PR gdb/13175
80
81 * gdb.base/interp.exp: New tests.
82 * gdb.base/interp.c: New file.
83
24ece742
DE
842011-09-12 Doug Evans <dje@google.com>
85
86 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
87 * gdb.dwarf2/typeddwarf.exp: Ditto.
88
7f062217
JK
892011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
90
91 Fix compatibility with x32 arch.
92 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
93 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
94 is_x86_like_target.
95 * testsuite/gdb.trace/collection.exp: Likewise.
96 * testsuite/gdb.trace/report.exp: Likewise.
97 * testsuite/gdb.trace/unavailable.exp: Likewise.
98 * testsuite/gdb.trace/while-dyn.exp: Likewise.
99 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
100 (is_x86_like_target): Check also is_amd64_regs_target.
101
08711b9a
JK
1022011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
103
104 PR breakpoints/12435
105 * gdb.arch/amd64-prologue-xmm.c: New file.
106 * gdb.arch/amd64-prologue-xmm.exp: New file.
107 * gdb.arch/amd64-prologue-xmm.s: New file.
108
b99b5f66
JK
1092011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
110
111 * gdb.dwarf2/dw2-param-error-main.c: New file.
112 * gdb.dwarf2/dw2-param-error.S: New file.
113 * gdb.dwarf2/dw2-param-error.exp: New file.
114
a391a2f6
PA
1152011-09-08 Pedro Alves <pedro@codesourcery.com>
116
117 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
118 inferior's pid and look for a core dump named core.$pid. Use
119 `remote_file' commands on the host instead of hand coding shell
120 commands on the build.
121 * gdb.base/valgrind-db-attach.exp: Kill the program before
122 finishing the test.
123
7d8e6458 1242011-09-02 Matt Rice <ratmice@gmail.com>
125
126 * lib/prompt.exp: New file for testing the first prompt.
127 * gdb.python/py-prompt.exp: Ditto.
128 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
129
68e77c9e
PA
1302011-09-02 Pedro Alves <pedro@codesourcery.com>
131
132 * gdb.threads/gcore-thread.exp: Set the global core_supported to
133 0, before testing gcore.
134
9655e943
JK
1352011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
136
df6dc84d
JK
137 * dw2-ifort-parameter-debug.S: Update copyright year.
138 * dw2-ifort-parameter.c: Update copyright year.
139 * dw2-ifort-parameter.exp: Update copyright year.
140
9655e943
JK
141 * dw2-ifort-parameter-debug.S: New file.
142 * dw2-ifort-parameter.c: New file.
143 * dw2-ifort-parameter.exp: New file.
144
353d1d73
JK
1452011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
146
147 * gdb.base/commands.exp (error_clears_commands_left): New function.
148 (): Call it.
149
5c07461a
JK
1502011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
151
152 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
153 (C): Initialize `a'.
154 * gdb.mi/mi-inheritance-syntax-error.exp
155 (-data-evaluate-expression $path): Expect `a' as 5.
156
0d932b2f
MK
1572011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
158
159 PR mi/11912
160 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
161 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
162 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
163 keyword in output of -var-info-path-expression.
164
bdb54049
JK
1652011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
166
167 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
168 * gdb.trace/collection.exp: Likewise.
169 * gdb.trace/report.exp: Likewise.
170 * gdb.trace/unavailable.exp: Likewise.
171 * gdb.trace/while-dyn.exp: Likewise.
172
59cde39c
KS
1732011-08-18 Keith Seitz <keiths@redhat.com>
174
175 PR c++/12266
176 * gdb.cp/meth-typedefs.cc: New file.
177 * gdb.cp/meth-typedefs.exp: New file.
178
fa3a4f15
PM
1792011-08-17 Phil Muldoon <pmuldoon@redhat.com>
180
181 * gdb.python/python.exp: Add extended-prompt tests.
182
c1049fca
JK
1832011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
184
185 * gdb.arch/i386-dr3-watch.exp
186 (watchpoint on gap1 does not fit debug registers)
187 (delete all watchpoints): Fix racy expect strings.
188
d93f7b5c
YQ
1892011-08-14 Yao Qi <yao@codesourcery.com>
190
191 * gdb.base/maint.exp: set data_section to ".neardata".
192 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
193 * gdb.base/savedregs.exp: Handle SIGILL.
194 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
195 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
196
457e09f0
DE
1972011-08-12 Doug Evans <dje@google.com>
198
199 * gdb.python/py-symbol.exp: Add test for symbol.type.
200
5d0bb2fb
UW
2012011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
202
203 * gdb.threads/pthreads.exp: Enable on non-native configurations.
204 * gdb.mi/mi-pthreads.exp: Likewise.
205 * gdb.mi/mi2-pthreads.exp: Likewise.
206 * gdb.mi/gdb669.exp.exp: Likewise.
207
fcdfa280
PA
2082011-08-09 Pedro Alves <pedro@codesourcery.com>
209
210 * lib/mi-support.exp (detect_async): Rename to...
211 (mi_detect_async): ... this.
212 * gdb.mi/mi-nonstop-exit.exp: Adjust.
213 * gdb.mi/mi-nonstop.exp: Adjust.
214 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
215 * gdb.mi/mi-nsintrall.exp: Adjust.
216 * gdb.mi/mi-nsmoribund.exp: Adjust.
217 * gdb.mi/mi-nsthrexec.exp: Adjust.
218
9d8fa392
PA
2192011-08-09 Pedro Alves <pedro@codesourcery.com>
220
221 * gdb.base/display.c (do_loops): New `p_i' local.
222 * gdb.base/display.exp: Test displaying a variable that is
223 temporarily at a bad address.
224
b6cede78
JK
2252011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
226
227 * gdb.dwarf2/dw2-op-stack-value.S: New file.
228 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
229
67bedb8c
JK
2302011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
231
232 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
3c542bc3
JK
233 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
234 (p fuNC_symtab): Permit also ppc64 leading dot.
67bedb8c 235
af6e93b2
PA
2362011-08-05 Pedro Alves <pedro@codesourcery.com>
237
238 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
239 procedure.
240 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
241
1cf0e11f
YQ
2422011-08-05 Yao Qi <yao@codesourcery.com>
243
244 * gdb.base/callfuncs.exp: Set language after main.
245 * gdb.cp/cplusfuncs.exp: Likewise.
246 * gdb.cp/inherit.exp: Likewise.
247
a1e28cb2
UW
2482011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
249
250 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
251 * gdb.base/watch-vfork.exp: Skip on remote targets.
252
d4f5bbb9
UW
2532011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
254
255 * gdb.threads/thread-find.exp: Support remote targets.
256
724f4f80
UW
2572011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
258
259 * gdb.base/jit.exp: Download solib_binfile to target.
260 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
261 and call dlopen without full path name.
262 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
263 dlopen without full path name.
264
934709f0
PW
2652011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
266
267 * gdb.base/break-always.exp: Complete the test
268 with duplicated breakpoints and enabling/disabling them.
269
c26106c4
TT
2702011-08-02 Tom Tromey <tromey@redhat.com>
271
272 PR gdb/11289:
273 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
274
9300444e 2752011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
fbe12357
PP
276
277 PR gdb/13045
278 * gdb.base/float.exp: Add new test case for PR gdb/13045
279 * gdb.base/float.c: New file.
280
00bd41d6
PM
2812011-07-28 Phil Muldoon <pmuldoon@redhat.com>
282
283 * gdb.python/py-mi.exp: Test printers returning string hint, and
284 also not returning a value.
285 * gdb.python/py-prettyprint.c: Add testcase for above.
286 * gdb.python/py-prettyprint.py: Add test printer for above.
287
d24f74ce
JK
2882011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
289
290 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
291 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
292 (.Ldie30) Add as field "data4".
293 (.Ldie32) Rename field "b" to "shl".
294 (abbrev4) Change for the "data4" field.
295 (abbrev5, abbrev6) Remove.
296 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
297 (p &s.shl): ... here. Add comment.
298 (p &s.data4): New.
299
bb7da2bf
JK
3002011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
301
302 Fix crash on lval_computed values.
303 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
304
11081198
JK
3052011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
306
307 * gdb.base/help.exp (help whatis): Update the expected string.
308
3c6e0cb3
JK
3092011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
310
311 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
312 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
313 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
314 Change the expected string.
315
efa80663
PA
3162011-07-26 Pedro Alves <pedro@codesourcery.com>
317
318 * gdb.base/watchpoint.exp
319 (test_disable_enable_software_watchpoint): New procedure.
320 (top level): Run it.
321
db8e4570
UW
3222011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
323
324 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
325 executable file "${binfile}", C++ version "${binfile}-cxx".
326 * gdb.python/py-prettyprint.exp: Likewise.
327 * gdb.python/py-symbol.exp: Likewise.
328 * gdb.python/py-type.exp: Likewise.
329 * gdb.python/py-value.exp: Likewise.
330 * gdb.python/py-template.exp (test_template_arg): Pass full executable
331 file name instead of just suffix.
332
543305c9
JK
3332011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
334
335 Fix implicit pointer offsets.
336 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
337 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
338 (continue to breakpoint: continue to baz breakpoint for implptr)
339 (sanity check element 0, sanity check element 1)
340 (enter the inlined function, check element 0 for the offset)
341 (check element 1 for the offset)
342 (continue to breakpoint: ignore the second baz breakpoint): New tests.
343 (set foo breakpoint for implptr): Update the breakpoint number.
344
b3215adc
UW
3452011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
346
347 * gdb.python/py-mi.exp: Use different file names for different
348 versions of the executable under test.
349 * gdb.python/py-prettyprint.exp: Likewise.
350 * gdb.python/py-symbol.exp: Likewise.
351 * gdb.python/py-template.exp: Likewise.
352 * gdb.python/py-type.exp: Likewise.
353 * gdb.python/py-value.exp: Likewise.
354
182b9acc
UW
3552011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
356
357 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
358 flag after restarting GDB if necessary.
359
e6052b5d
UW
3602011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
361
362 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
363
1ced966e
PA
3642011-07-22 Pedro Alves <pedro@codesourcery.com>
365
366 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
367 backend doesn't leave used debug registers behind.
368
3543a589
TT
3692011-07-22 Tom Tromey <tromey@redhat.com>
370
371 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
372 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
373 argument.
374 * gdb.dwarf2/typeddwarf-amd64.S: New file.
375
14d15303 3762011-07-21 Matt Rice <ratmice@gmail.com>
377
378 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
379 in mostlyclean rule. Add files ending in .core.
380
9b158ba0 3812011-07-21 Matt Rice <ratmice@gmail.com>
382
383 PR macros/12999
384 * gdb.base/info-macros.c: New test sources.
385 * gdb.base/info-macros.exp: New tests.
386
d17b6f81
PM
3872011-07-21 Phil Muldoon <pmuldoon@redhat.com>
388
389 * gdb.python/python.exp: Add prompt substitution tests.
390
918dd910
JK
3912011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
392
393 Fix crash if referenced CU is aged out.
394 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
395 New.
396 * gdb.dwarf2/implptr.exp: Likewise.
397
0e37a63c
JK
3982011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
399
400 * gdb.dwarf2/implptr.S: Rebuilt.
401 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
402 (bar): Use them for j, k, l.
403 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
404 COMPILE.
405 (print j in implptr:bar): Update for the intp typedef.
406 (print p[0].x in implptr:foo): Use more exact regex.
407
f65cf84c
TT
4082011-07-18 Tom Tromey <tromey@redhat.com>
409
410 * gdb.cp/static-method.exp: Add missing single quote.
411
d5b4a7be
YQ
4122011-07-18 Yao Qi <yao@codesourcery.com>
413
414 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
415 supported.
416 * gdb.mi/mi-nonstop-exit.exp: Likewise.
417 * gdb.mi/mi-nonstop.exp: Likewise.
418 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
419 * gdb.mi/mi-nsintrall.exp: Likewise.
420 * gdb.mi/mi-nsmoribund.exp: Likewise.
421 * gdb.mi/mi-nsthrexec.exp: Likewise.
422 * gdb.python/py-evthreads.exp: Likewise.
423
e9ea2662
JK
4242011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
425
426 Code cleanup.
427 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
428 it. Substitute it instead of test_compiler_info everywhere.
429
ce451573
UW
4302011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
431
432 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
433 remote targets as well.
434
756d88a7
UW
4352011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
436
437 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
438 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
439
31f83dc5
UW
4402011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
441
442 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
443 a remote machine, not the host.
444 (gdb_compile_shlib): Set soname if target is remote.
445
059241a0
PP
4462011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
447
448 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
449
28a0b48c 4502011-07-13 Matt Rice <ratmice@gmail.com>
451
452 * gdb.python/py-objfile-script-gdb.py: Renamed to
453 py-objfile-script-gdb.py.in.
454 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
455 py-objfile-script-gdb.py.
456 * gdb.python/py-objfile-script.exp: Update reference to
457 py-objfile-script-gdb.py.
458
9a771b67
JK
4592011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
460
461 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
462 reference undefined label.
463
04ad99e6
JK
4642011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
465
466 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
467 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
468 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
469 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
470
713389e0
PM
4712011-07-11 Phil Muldoon <pmuldoon@redhat.com>
472
473 PR python/12438
474 * gdb.python/python.exp: Add maint set/show python print-stack
475 deprecated tests. Add set/show python print-backtrace tests.
476
97d146f8
JK
4772011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
478
479 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
480 debug info.
481
facde0e5 4822011-07-06 Matt Rice <ratmice@gmail.com>
483
484 * gdb.python/python.exp: Update filename paths.
485 * gdb.python/py-symtab.exp: Ditto.
486
438640d1
MP
4872011-07-06 Marek Polacek <mpolacek@redhat.com>
488
489 * gdb.python/py-evthreads.exp: Add missing `$'.
490
33a365df
MF
4912011-07-06 Jie Zhang <jie.zhang@analog.com>
492
493 * config/bfin.exp: New file.
494 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
495 * gdb.asm/bfin.inc: New file.
496
8f7ae686
MP
4972011-07-06 Marek Polacek <mpolacek@redhat.com>
498
df46027d 499 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
8f7ae686
MP
500 the whole output.
501
eb2a6f42
TT
5022011-07-05 Tom Tromey <tromey@redhat.com>
503
504 * gdb.java/jprint.java (jprint.hi): New field.
505 * gdb.java/jprint.exp: Print string.
506
177b42fe
TJB
5072011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
508
509 * gdb.base/call-sc.c: Fix typos.
510 * gdb.base/ifelse.exp: Likewise.
511 * gdb.base/structs.c: Likewise.
512
3b2a0cf2
JB
5132011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
514
515 * gdb.base/jit-so.exp: New test.
516 * gdb.base/jit-dlmain.c: New file.
517 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
518
46fc714c
JK
5192011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
520
521 * gdb.cp/m-static.exp: Call get_compiler_info.
e17476d7
JK
522 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
523 * gdb.cp/pr9167.exp (p b): Likewise.
524 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
525 (test value of P in inner_m, test type of Z in inner_m): Call
526 setup_xfail for gcc <= 4.5.
46fc714c 527
418c7cf7
JK
5282011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
529
530 * gdb.cp/paren-type.cc: New files.
531 * gdb.cp/paren-type.exp: New files.
532
3d50dd94
JK
5332011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
534
535 Stop on first linespec terminator instead of eating what we can.
536 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
537 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
538 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
539 (break C::f()): ... this one.
540 (break C::operator()()): New test.
541 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
542 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
543 test.
544
dcf9f4ab
JK
5452011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
546
547 Fall back linespec to minimal symbols.
548 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
549 error message.
550 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
551 * gdb.cp/minsym-fallback-main.cc: New file.
552 * gdb.cp/minsym-fallback.cc: New file.
553 * gdb.cp/minsym-fallback.exp: New file.
554 * gdb.cp/minsym-fallback.h: New file.
555
3f542ed1
JK
5562011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
557
558 * gdb.cp/no-dmgl-verbose.cc: New file.
559 * gdb.cp/no-dmgl-verbose.exp: New file.
560
5612011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
900e11f9
JK
562
563 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
564 __GI_.
565 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
566 (f): New function.
567 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
568 (complete p 'func<short>(): ... here.
569 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
570 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
571 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
572 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
573 Make them KFAIL gcc/49546.
574
00eb2c4a
JB
5752011-07-01 Joel Brobecker <brobecker@adacore.com>
576
577 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
578
85a20c42
JK
5792011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
580
581 Test GCC PR debug/49546.
582 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
583 (test type of F in k3_m, test value of F in k3_m): New.
584 * gdb.cp/temargs.cc (struct S3, struct K3): New.
585 (main): New variable k3. Call k3.k3_m.
586
d2d43431
JB
5872011-07-01 Jean-Charles Delay <delay@adacore.com>
588
589 * gdb.ada/packed_array.exp: Fix expected outout.
590
54ae186f
JB
5912011-07-01 Jean-Charles Delay <delay@adacore.com>
592
593 * gdb.ada/packed_array.exp: fixed expected output.
594
8f17729f
JB
5952011-07-01 Joel Brobecker <brobecker@adacore.com>
596
597 * gdb.ada/same_enum: New testcase.
598
f5aa6869
JB
5992011-07-01 Joel Brobecker <brobecker@adacore.com>
600
601 * gdb.ada/ptr_typedef: New testcase.
602
828292f2
JB
6032011-07-01 Joel Brobecker <brobecker@adacore.com>
604
605 * gdb.ada/arrayptr.exp: Add ptype test.
606
18920c42
JB
6072011-07-01 Joel Brobecker <brobecker@adacore.com>
608
609 * gdb.ada/char_enum: New testcase.
610
3536d9e3 6112011-07-01 Yao Qi <yao@codesourcery.com>
54aeeb99
YQ
612
613 * gdb.base/dump.exp (capture_pointer_with_type): New.
614 Get value from address instead of name.
615 Start GDB once, and do `dump' and `restore'
616 tests together.
617
db863c42
MF
6182011-06-30 Jie Zhang <jie.zhang@analog.com>
619 Mike Frysinger <vapier@gentoo.org>
620
621 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
622 helper functions for getting/setting remotetimeout variable.
623 * lib/gdb.exp (gdb_load): If the target is remote, set
624 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
625 with $loadtimeout. Set $load_ok to 0 before doing the load.
626 Instead of returning, immediately, set $load_ok to 0. Call
627 set_remotetimeout with $oldremotetimeout, and then return if
628 $load_ok is 1.
629
e9e642a8
AB
6302011-06-30 Andrew Burgess <aburgess@broadcom.com>
631
632 * gdb.python/py-template.exp: Don't run this test if the target
633 does not support c++ tests.
634
32019081
JK
6352011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
636
637 Fix non-only rename list for Fortran modules import.
638 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
639 tests.
640 * gdb.fortran/module.f90 (module moduse): New.
641 (program module): use moduse, test var_x, var_y and var_z.
642
0ecee54c
TT
6432011-06-29 Tom Tromey <tromey@redhat.com>
644
645 PR testsuite/12040:
646 * gdb.fortran/array-element.exp: Use f90, not f77.
647 * gdb.fortran/complex.exp: Use f90, not f77.
648 * gdb.fortran/derived-type.exp: Use f90, not f77.
649 * gdb.fortran/library-module.exp: Use f90, not f77.
650 * gdb.fortran/logical.exp: Use f90, not f77.
651 * gdb.fortran/module.exp: Use f90, not f77.
652 * gdb.fortran/multi-dim.exp: Use f90, not f77.
653 * gdb.fortran/subarray.exp: Use f90, not f77.
654
3b2b8fea
TT
6552011-06-29 Tom Tromey <tromey@redhat.com>
656
657 * gdb.fortran/charset.exp: New file.
658 * gdb.fortran/charset.f90: New file.
659
42159ca5
TT
6602011-06-29 Tom Tromey <tromey@redhat.com>
661
662 PR testsuite/12040:
663 * lib/future.exp: New file, mostly extracted from ada.exp.
664 Rewrote compatibility code to use rename.
665 (gdb_find_gfortran): New proc.
666 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
667 gfortran patch.
668 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
669 Move to future.exp.
670 * lib/gdb.exp: Always load future.exp.
671
af69a5ce
YQ
6722011-06-28 Yao Qi <yao@codesourcery.com>
673
674 * gdb.cp/exception.cc: Don't include iostream.
675 (bar): Remove print statement.
676 (catcher): New.
677 (main): Remove print statements. Call function catcher.
678 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
679 Set breakpoint on catcher, and check the value of parameter.
680
ab5c6a72
YQ
6812011-06-23 Yao Qi <yao@codesourcery.com>
682
683 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check breakpoint
684 1.2 is disabled. KFAIL for uclinux.
685
9497469f
MP
6862011-06-23 Marek Polacek <mpolacek@redhat.com>
687
688 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
689 mi_gdb_test.
690
b9132588
MP
6912011-06-23 Marek Polacek <mpolacek@redhat.com>
692
5d197ed0 693 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
b9132588 694
e55595ca
MP
6952011-06-23 Marek Polacek <mpolacek@redhat.com>
696
5d197ed0
MP
697 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
698
6992011-06-23 Marek Polacek <mpolacek@redhat.com>
700
701 * gdb.mi/mi2-basics.exp: Fix races. Honour the
702 `test_exec_and_symbol_mi_operatons' return value.
703 (test_mi_interpreter_selection): Use mi_gdb_test instead of
704 gdb_test_multiple.
705 (test_exec_and_symbol_mi_operatons): Likewise.
706 (test_path_specification): Likewise.
e55595ca 707
be777e08
YQ
7082011-06-23 Yao Qi <yao@codesourcery.com>
709
710 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
711 supported.
712 * lib/gdb.exp (support_displaced_stepping): New.
713
615556d6
YQ
7142011-06-23 Yao Qi <yao@codesourcery.com>
715
716 * gdb.threads/execl.exp: Skip on remote target.
717
833b0ca7
MP
7182011-06-21 Marek Polacek <mpolacek@redhat.com>
719
5d197ed0 720 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
833b0ca7
MP
721 mi_gdb_test.
722
1ee4023a
MP
7232011-06-20 Marek Polacek <mpolacek@redhat.com>
724
5d197ed0 725 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1ee4023a 726
d0b1d624
MP
7272011-06-20 Marek Polacek <mpolacek@redhat.com>
728
5d197ed0 729 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
d0b1d624
MP
730 mi_gdb_test.
731
79aa92c1
MP
7322011-06-20 Marek Polacek <mpolacek@redhat.com>
733
5d197ed0 734 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
79aa92c1 735
5ce5db06
YQ
7362011-06-14 Yao Qi <yao@codesourcery.com>
737
738 gdb/testsuite/
739 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
740
533a737e
JK
7412011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
742
743 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
744
d0e53741
TT
7452011-06-10 Tom Tromey <tromey@redhat.com>
746
747 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
748 Add tests for pointer-to-member-function.
749 * gdb.cp/temargs.cc (S::somefunc): New function.
750 (K2): New class.
751 (main): Instantiate K2; call method.
752
b5916bbd
JB
7532011-06-08 Joel Brobecker <brobecker@adacore.com>
754
755 * gdb.python/py-inferior.c (f2): Make str an array rather
756 than a pointer.
757 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
758
5be4dfca
JK
7592011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
760
761 * gdb.base/async-shell.c: New file.
762 * gdb.base/async-shell.exp: New file.
763
9f47e254
PA
7642011-06-06 Pedro Alves <pedro@codesourcery.com>
765
766 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
767
64b9b334
JB
7682011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
769
770 From Stephen Kitt <steve@sk2.org>
771 * gdb.base/help.exp: Adjust following some spelling corrections
772 in GDB.
773
dbc0f131
YQ
7742011-06-01 Yao Qi <yao@codesourcery.com>
775
776 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
777
fd336a18
KS
7782010-05-31 Keith Seitz <keiths@redhat.com>
779
780 PR c++/12750
781 * gdb.cp/static-method.cc: New file.
782 * gdb.cp/static-method.exp: New file.
783
fa8b9902
KS
7842010-05-31 Keith Seitz <keiths@redhat.com>
785
786 PR symtab/12704
787 * gdb.cp/anon-ns.cc: New file.
788 * gdb.cp/anon-ns.exp: New file.
789
0a5b1e09
PA
7902011-05-31 Pedro Alves <pedro@codesourcery.com>
791
792 * gdb.arch/i386-dr3-watch.c: New file.
793 * gdb.arch/i386-dr3-watch.exp: New file.
794
0578b8d1
YQ
7952011-05-30 Yao Qi <yao@codesourcery.com>
796
797 * gdb.base/callfuncs.c (t_structs_fc): New.
798 (t_structs_dc, t_structs_ldc): New.
799 (t_double_many_args):
800 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
801 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
802 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
803 * gdb.base/callfuncs.exp: Call new functions.
804
6680506e
YQ
8052011-05-30 Yao Qi <yao@codesourcery.com>
806
ff4d2c60
YQ
807 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
808 Call rerun_and_prepare for each test to isolate effects.
809
8102011-05-30 Yao Qi <yao@codesourcery.com>
811
812 * gdb.base/varargs.c (find_max_float_real): New.
813 (find_max_double_real, find_max_long_double_real): New.
814 * gdb.base/varargs.exp: Call these new added functions.
6680506e
YQ
815 * lib/gdb.exp (setup_kfail_for_target): New.
816
e43ec454
YQ
8172011-05-30 Yao Qi <yao@codesourcery.com>
818
819 * gdb.base/funcargs.c (callca, callcb, callcc): New.
820 (callcd, callce, callcf, callc1a, callc1b): New.
821 (callc2a, callc2b): New.
822 * gdb.base/funcargs.exp (complex_args): New.
823 (complex_integral_args, complex_float_integral_args): New.
824 * lib/gdb.exp (support_complex_tests): New. Determine
825 whether to run test cases on _Complex types.
826
432b4d03
JK
8272011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
828
829 * gdb.threads/leader-exit.c: New file.
830 * gdb.threads/leader-exit.exp: New file.
831
6caf069d
MP
8322011-05-27 Marek Polacek <mpolacek@redhat.com>
833
9497469f 834 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
6caf069d 835
97fce28b
MP
8362011-05-27 Marek Polacek <mpolacek@redhat.com>
837
838 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
839 remove the `supported' variable.
840 * gdb.mi/mi-nonstop.exp: Likewise.
841 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
842 * gdb.mi/mi-nsintrall.exp: Likewise.
843 * gdb.mi/mi-nsmoribund.exp: Likewise.
844 * gdb.mi/mi-nsthrexec.exp: Likewise.
845
9da8c2a0
PA
8462011-05-26 Pedro Alves <pedro@codesourcery.com>
847
848 * gdb.reverse/finish-reverse-bkpt.exp: New test.
849
2c03e5be
PA
8502011-05-26 Pedro Alves <pedro@codesourcery.com>
851
852 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
853
2e21250d
KS
8542011-05-24 Keith Seitz <keiths@redhat.com>
855
856 PR breakpoint/12803
857 * gdb.cp/cmpd-minsyms.cc (a): New method.
858 (b): New method.
859 (c): New method.
860 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
861
cdac0397
PA
8622011-05-24 Pedro Alves <pedro@codesourcery.com>
863
864 * gdb.base/commands.exp (watchpoint_command_test): Check that the
865 watchpoint's command list didn't execute when the watchpoint went
866 out of scope.
867
ee5683ab
PM
8682011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
869
870 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
871 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
872 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
873 * gdb.arch/i386-gnu-cfi.exp: Likewise.
874 * gdb.arch/i386-permbkpt.exp: Likewise.
875 * gdb.arch/i386-prologue.exp: Likewise.
876 * gdb.arch/i386-size-overlap.exp: Likewise.
877 * gdb.arch/i386-size.exp: Likewise.
878 * gdb.arch/i386-unwind.exp: Likewise.
879 * gdb.reverse/i386-precsave.exp: Likewise.
880 * gdb.reverse/i386-reverse.exp: Likewise.
881 * gdb.reverse/i386-sse-reverse.exp: Likewise.
882 * gdb.reverse/i387-env-reverse.exp: Likewise.
883 * gdb.reverse/i387-stack-reverse.exp: Likewise.
884
c91c8c16
PA
8852011-05-24 Pedro Alves <pedro@codesourcery.com>
886
887 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
888 file doesn't error, using MI.
889
c50491a7
TT
8902011-05-23 Tom Tromey <tromey@redhat.com>
891
892 * gdb.base/charset.exp (string_display): Add tests to assign to
893 arrays.
894 * gdb.base/charset.c (short_array, int_array, long_array): New.
895
4a07b7da
PA
8962011-05-20 Pedro Alves <pedro@codesourcery.com>
897
898 Cope with async mode.
899
4a07b7da
PA
900 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
901 into gdb_test + mi_expect_stop.
902
b275f2d2
PA
9032011-05-20 Pedro Alves <pedro@codesourcery.com>
904
905 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
906 (callme): Remove printf call.
907
eec52c44
PM
9082011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
909
910 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
911 quote pattern to avoid problems with Cygwin/mingw expect versions.
912 * gdb.base/default.exp (show convenience): Use double
913 quote pattern for regular expressions.
914
b3c8eb43
JK
9152011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
916
917 Fix -readnow for -gdwarf-4 unused type units.
918 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
919 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
920
ed731959
JK
9212011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
922
923 * gdb.base/kill-after-signal.c: New file.
924 * gdb.base/kill-after-signal.exp: New file.
925
3b48433d
PA
9262011-05-16 Pedro Alves <pedro@codesourcery.com>
927
928 * gdb.ada/start.exp: Call untested with the correct test filename.
929 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
930 test filename. Make the test's binary unique.
931 * gdb.arch/i386-signal.exp: Call untested with the correct test
932 filename.
933 * gdb.arch/i386-size-overlap.exp: Ditto.
934 * gdb.arch/Makefile.in (EXECUTABLES): Update.
935 * gdb.base/gcore-buffer-overflow.exp: Ditto.
936 * gdb.cp/call-c.exp: Ditto.
937 * gdb.mi/mi-reverse.exp: Call untested with the correct test
938 filename. Make the test's binary unique.
939 * gdb.mi/Makefile.in (EXECUTABLES): Update.
940 * gdb.python/py-mi.exp: Ditto.
941 * gdb.python/Makefile.in (EXECUTABLES): Update.
942 * gdb.reverse/i386-precsave.exp: Ditto.
943 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
944 test filename.
945 * gdb.reverse/i387-stack-reverse.exp: Ditto.
946 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
947 unique.
948 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
949 test filename.
950 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
951 * gdb.trace/tfile.exp: Ditto.
952
ba4a8bdd
YQ
9532011-05-14 Yao Qi <yao@codesourcery.com>
954
955 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
956 type.
957
dbaefcf7
DE
9582011-05-13 Doug Evans <dje@google.com>
959
960 * gdb.python/py-objfile-script.exp: New file.
961 * gdb.python/py-objfile-script.c: New file.
962 * gdb.python/py-objfile-script-gdb.py: New file.
963 * testsuite/gdb.python/py-section-script.exp: Test
964 "info auto-load-scripts".
965
9930639c
TT
9662011-05-13 Tom Tromey <tromey@redhat.com>
967
968 * gdb.dwarf2/clztest.exp: New file.
969 * gdb.dwarf2/clztest.c: New file.
970 * gdb.dwarf2/clztest.S: New file.
971
05272e11
DE
9722011-05-13 Doug Evans <dje@google.com>
973
cc63ef9b
DE
974 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
975 String16 tests.
05272e11 976
6edba76f
TT
9772011-05-13 Tom Tromey <tromey@redhat.com>
978
979 * lib/gdb.exp (is_x86_like_target): New proc.
980 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
981 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
982 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
983 -nostdlib to compiler.
984 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
985 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
986 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
987 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
988 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
989
028d0ed5
TJB
9902011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
991
992 * gdb.python/py-function.exp: Test setting a value from a function
993 which executes a command.
994
8a9b8146
TT
9952011-05-12 Tom Tromey <tromey@redhat.com>
996
997 * gdb.dwarf2/typeddwarf.S: New file.
998 * gdb.dwarf2/typeddwarf.c: New file.
999 * gdb.dwarf2/typeddwarf.exp: New file.
1000
10483e8e
MP
10012011-05-12 Marek Polacek <mpolacek@redhat.com>
1002
1003 * gdb.mi/mi-basics.exp: Fix races. Honour the
1004 `test_exec_and_symbol_mi_operatons' return value.
1005 (test_mi_interpreter_selection): Use mi_gdb_test instead of
1006 gdb_test_multiple.
1007 (test_exec_and_symbol_mi_operatons): Likewise.
1008 (test_path_specification): Likewise.
1009
faf067f1
JK
10102011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1011
1012 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
1013 (gdb_touch_execfile): Remove catch wrappers. New variable time.
1014 Replace `file copy' and `file rename' by `file mtime'. Twice.
1015
7ff911a3
JK
10162011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1017
1018 * gdb.base/readline-ask.c: New file.
1019 * gdb.base/readline-ask.exp: New file.
1020 * gdb.base/readline-ask.inputrc: New file.
1021
a536c6d7
UW
10222011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
1023
1024 * gdb.cell/bt.exp: Delete breakpoints before running to signal
1025 to avoid race condition.
1026 * gdb.cell/coremaker.c: Use small stack size.
1027 * gdb.cell/ea-standalone.exp: Use file name without path as
1028 argument to c_to.
1029 * gdb.cell/fork.exp: Allow other output when continuing to end.
1030
d472a426
JK
10312011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1032
1033 * gdb.threads/corethreads.c: New file.
1034 * gdb.threads/corethreads.exp: New file.
1035
10362011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
774094b8
JK
1037
1038 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
1039 Try to compile the test using -Wl,-z,norelro first.
1040 (load_core): New variable libthread_db_seen, initialize it.
1041 (zeroed-threads cannot be listed): Protect it by XFAIL on
1042 !$libthread_db_seen.
1043
8be455d7
JK
10442011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1045
1046 PR 12573
1047 * gdb.dwarf2/dw2-skip-prologue.S: New file.
1048 * gdb.dwarf2/dw2-skip-prologue.c: New file.
1049 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
1050
1976171a
JK
10512011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1052
1053 * gdb.cp/psymtab-parameter.cc: New file.
1054 * gdb.cp/psymtab-parameter.exp: New file.
1055
7db6f30f
JK
10562011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1057
1058 Fix a race.
1059 * gdb.cp/static-print-quit.exp (print c): Split to ...
1060 (print c - <return>, print c - q <return>, print c - to quit):
1061 ... these. Make the testfile untested on gdb-7.1.
1062
85161e9e 10632011-5-05 Janis Johnson <janisjo@codesourcery.com>
56744f0a
JJ
1064
1065 * lib/gdb.exp (exec_target_file, exec_symbol_file,
1066 gdb_rename_execfile, gdb_touch_execfile): New.
1067 * gdb.base/reread.exp: Use new procs to handle multiple
1068 exec files.
1069
0c51be18
YQ
10702011-05-05 Yao Qi <yao@codesourcery.com>
1071
1072 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
1073 (test_adr_32bit, test_pop_pc): New.
1074 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
1075 (test_adr_32bit, test_pop_pc): New.
1076
4d393d60
JM
10772011-05-04 Joseph Myers <joseph@codesourcery.com>
1078
1079 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
1080 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
1081 targets.
1082 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
1083 handle targets.
1084
8ffd0459
JK
10852011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1086
1087 * gdb.base/completion.exp (complete help info wat): Rename to ...
1088 (complete 'help info wat'): ... here.
1089 Remove all `-re ".*' and `-re "^.*' redundant regexes.
1090 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
1091
8e28d804
PA
10922011-05-04 Pedro Alves <pedro@codesourcery.com>
1093
1094 * gdb.base/completion.exp: Use gdb_test_multiple instead of
1095 gdb_test and explicit $gdb_prompt/timeout matches.
1096
3eb2ef34
YQ
10972011-05-04 Yao Qi <yao@codesourcery.com>
1098
1099 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
1100 and __thumb2__.
1101
aaaf81a3
MP
11022011-05-03 Marek Polacek <mpolacek@redhat.com>
1103
1104 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
1105 in place of `gdb_test "delete breakpoints"'. This eliminates two
1106 testcases.
1107
c4cbc0df
PA
11082011-05-02 Pedro Alves <pedro@codesourcery.com>
1109
1110 PR testsuite/12649
1111 Fix races.
1112
1113 * gdb.base/completion.exp: Remove all sleep calls. Remove
1114 unnecessary regexs. Don't explicitly expect anything after the
1115 prompt. Eat the prompt if necessary.
1116
b4cbb4a3
EBM
11172011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
1118
1119 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
1120 accept to show the caller line again as well as the line after.
1121
d65aec65
PM
11222011-04-29 Phil Muldoon <pmuldoon@redhat.com>
1123
1124 PR mi/12531
1125
1126 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
1127 compile target.
1128 * gdb.python/py-prettyprint.exp: Add C++ object for
1129 CPLUS_FAKE_CHILD test.
1130
30852783
UW
11312011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
1132
1133 * gdb.base/signest.exp: New file.
1134 * gdb.base/signest.c: Likewise.
1135
c7b1f0d9
JK
11362011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1137
1138 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
1139 thread and breakpoint notifications.
1140
559a7a62
JK
11412011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1142
1143 * gdb.base/fortran-sym-case.c: New file.
1144 * gdb.base/fortran-sym-case.exp: New file.
1145 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
1146 * gdb.dwarf2/dw2-case-insensitive.c: New file.
1147 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
1148
8344e389
JK
11492011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1150
1151 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
1152 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
1153 false #1', `if true else false #2' and `if true else false #3'.
1154
2484c66b
UW
11552011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
1156
1157 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
1158 while delivering signal.
1159
8d3788bd
VP
11602011-04-27 Vladimir Prus <vladimir@codesourcery.com>
1161
1162 MI breakpoint notifications.
1163
1164 * testsuite/gdb.mi/mi-cli.exp: Adust.
1165 * testsuite/gdb.mi/mi2-cli.exp: Adust.
1166 * testsuite/gdb.mi/mi-watch.exp: Adust.
1167 * testsuite/gdb.mi/mi2-watch.exp: Adust.
1168 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
1169 notifications.
1170
3e03848b
JK
11712011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1172
1173 * gdb.base/gdbindex-stabs-dwarf.c: New file.
1174 * gdb.base/gdbindex-stabs.c: New file.
1175 * gdb.base/gdbindex-stabs.exp: New file.
1176
918c9108
YQ
11772011-04-25 Yao Qi <yao@codesourcery.com>
1178
1179 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
1180 with /*...*/.
1181 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
1182
90556b8c
JK
11832011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1184
1185 * gdb.python/py-value.exp (test_objfiles): Name the first test
1186 `py-value in file.filename'.
1187
03f2bd59
JK
11882011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1189
1190 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
1191 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
1192 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
1193 !gdbserver_reconnect_p..
1194 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
1195
7b08b9eb
JK
11962011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1197
1198 * gdb.cp/cpcompletion.exp (complete class methods)
1199 (complete class methods beginning with F): Move them above runto. New
1200 comment about the runto delimiter.
1201
b78974c3
PA
12022011-04-20 Pedro Alves <pedro@codesourcery.com>
1203
1204 * gdb.base/maint.exp: Test that "maint print registers" works
1205 without a running program.
1206
20429c40 12072011-04-20 Marek Polacek <mpolacek@redhat.com>
b78974c3 1208
20429c40
MP
1209 * gdb.base/setshow.exp: Fix racy tests.
1210 ($old_gdb_prompt): New variable.
1211
7a9dd1b2
TT
12122011-04-19 Tom Tromey <tromey@redhat.com>
1213
1214 * gdb.mi/mi-nsmoribund.exp:
1215 * gdb.hp/gdb.objdbg/objdbg01.exp:
1216 * gdb.base/structs.exp (test_struct_returns):
1217 * gdb.base/call-sc.exp (test_scalar_returns):
1218 * gdb.base/bigcore.exp: Remove duplicate words.
1219
02835898
JK
12202011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1221
1222 * gdb.base/break-interp-lib.c (v, vptr): New variables.
1223 * gdb.base/break-interp.exp (test_attach): New comment.
1224
254f582e
JK
12252011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1226
1227 * gdb.threads/gcore-thread.exp ($core0file): New variable.
1228 (clear __stack_user.next, clear stack_used.next)
1229 (save a zeroed-threads corefile): New test.
1230 Call core_load for $core0file.
1231 (zeroed-threads cannot be listed): New test.
1232
4fe85f5c
JK
12332011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1234
1235 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
1236 filename.
1237 ($srcfile): Preserve the original value.
1238 ($testfile): Match it the .exp filename.
1239 ($corefile): New variable. Substitute it around.
1240 Use clean_restart.
1241 ($prev_timeout): Remove.
1242 (load_core): Move core loading into this proc.
1243 Fix restore of $timeout if load_core fails.
1244
63524580
JK
12452011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1246
1247 * gdb.base/eu-strip-infcall.c: New file.
1248 * gdb.base/eu-strip-infcall.exp: New file.
1249
90359a16
JK
12502011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1251
1252 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
1253 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
1254
626e7282
JK
12552011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1256
1257 Fix Python access to inlined frames.
1258 * gdb.python/py-frame-inline.c: New file.
1259 * gdb.python/py-frame-inline.exp: New file.
1260
3363d018
EBM
12612011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
1262
1263 * gdb.base/gdb1090.exp: Change breakpoint location to read the
1264 content of 's24' correctly (avoiding "optimized out").
1265 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
1266
28781456
JK
12672011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1268
1269 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
1270
4a4106ca
TJB
12712011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
1272
1273 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
1274 expect a colon in watch -location output.
1275
d26ccb4f
JK
12762011-04-13 Marek Polacek <mpolacek@redhat.com>
1277
df46027d 1278 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
d26ccb4f
JK
1279 New testcase `expect response to define backtrace'. Also remove
1280 redundant `default' block.
1281
e1ab1f9c
JK
12822011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1283
1284 * gdb.python/py-prettyprint.c (struct hint_error): New.
1285 (main): New variable hint_error.
1286 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
1287 "print hint_error".
1288 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
1289 (register_pretty_printers): Register it.
1290
0c2e6019
TT
12912011-04-04 Tom Tromey <tromey@redhat.com>
1292
1293 * gdb.cp/maint.exp (test_help): Update.
1294 (test_namespace): Likewise.
1295
af57139d
JB
12962011-04-01 Joel Brobecker <brobecker@adacore.com>
1297
1298 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
1299 * gdb.ada/arrayptr.exp: Add new tests.
1300
956a9fb9
JB
13012011-04-01 Joel Brobecker <brobecker@adacore.com>
1302
1303 * gdb.ada/mi_catch_ex: New testcase.
1304
d0c4d642
PA
13052011-04-01 Pedro Alves <pedro@codesourcery.com>
1306
1307 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
1308 base::overload(void) method without specifying "const".
1309
18819fa6
UW
13102011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
1311
1312 * gdb.arch/thumb-singlestep.S: New file.
1313 * gdb.arch/thumb-singlestep.exp: Likewise.
1314
a4c8e806
TT
13152011-03-31 Tom Tromey <tromey@redhat.com>
1316
1317 * gdb.python/py-prettyprint.py (exception_flag): New global.
1318 (NoStringContainerPrinter._iterator.next): Check it.
1319 * gdb.python/py-prettyprint.c (main): New variable nstype2.
1320 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
1321
53832f31
TT
13222011-03-29 Tom Tromey <tromey@redhat.com>
1323
1324 * gdb.cp/anon-struct.cc: New file.
1325 * gdb.cp/anon-struct.exp: New file.
1326
e4620230
JK
13272011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1328
1329 Test STT_GNU_IFUNC support.
1330 * gdb.base/gnu-ifunc-lib.c: New file.
1331 * gdb.base/gnu-ifunc.c: New file.
1332 * gdb.base/gnu-ifunc.exp: New file.
1333
d0fb5eae
JK
13342011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1335
1336 Support a ring of related breakpoints.
1337 * gdb.base/watchpoint-delete.c: New file.
1338 * gdb.base/watchpoint-delete.exp: New file.
1339
20106cfb
JK
13402011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1341
1342 * gdb.ada/arrayparam.exp (print first after function call): Use
1343 explicit package name. Add a comment
1344 (print lasta after function call): Rename ...
1345 (print last after function call): ... it and use explicit package
1346 name.
1347 (print length after function call): Use explicit package name.
1348 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
1349 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
1350 (multiple matches for symbol i): Rename ...
1351 (multiple matches for symbol integervar): ... it.
1352 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
1353 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
1354
e7ab5e63
AB
13552011-03-25 Andrew Burgess <aburgess@broadcom.com>
1356
1357 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
1358 environment variable to make grep output more predictable. Move
1359 all the environment setup into gdb_init so it's done once per test
1360 case rather than each time we start gdb.
1361
9ef07c8c
TT
13622011-03-24 Tom Tromey <tromey@redhat.com>
1363
1364 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
1365 test.
1366
dd90784c
JK
13672011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1368
1369 * gdb.dwarf2/dw2-entry-value-main.c: New file.
1370 * gdb.dwarf2/dw2-entry-value.S: New file.
1371 * gdb.dwarf2/dw2-entry-value.exp: New file.
1372
05775840
PM
13732011-03-22 Phil Muldoon <pmuldoon@redhat.com>
1374
1375 PR python/12183
1376
1377 * gdb.python/py-function.exp: Add GdbError tests.
1378
8661b11b
PA
13792011-03-18 Pedro Alves <pedro@codesourcery.com>
1380
1381 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
1382 (reglocal_test_func, statlocal_test_func): New functions.
1383 (globals_test_func): Call new functions.
1384 * gdb.trace/unavailable.exp (gdb_collect_args_test)
1385 (gdb_collect_locals_test): New procedure.
1386 (gdb_trace_collection_test): Call new procedures.
1387
0fdb4f18
PA
13882011-03-18 Pedro Alves <pedro@codesourcery.com>
1389
1390 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
1391 (test_register, test_register_unavailable): New procedures.
1392 (gdb_unavailable_registers_test): New procedure.
1393 (gdb_trace_collection_test): Call it.
1394
99c3dc11
PM
13952011-03-18 Phil Muldoon <pmuldoon@redhat.com>
1396
1397 PR python/12149
1398
1399 * gdb.python/python.exp: Add gdb.write tests.
1400
29703da4
PM
14012010-03-17 Phil Muldoon <pmuldoon@redhat.com>
1402
1403 * gdb.python/Makefile.in: Add py-objfile.
1404 * gdb.python/py-objfile.exp: New file.
1405 * gdb.python/py-objfile.c: New file.
1406 * gdb.python/py-block.exp: Add is_valid tests.
1407 * gdb.python/py-inferior.exp: Ditto.
1408 * gdb.python/py-infthread.exp: Ditto.
1409 * gdb.python/py-symbol.exp: Ditto.
1410 * gdb.python/py-symtab.exp: Ditto.
1411
598997c8
KS
14122011-03-16 Keith Seitz <keiths@redhat.com>
1413
1414 PR c++/12273
1415 * gdb.cp/cmpd-minsyms.exp: New test.
1416 * gdb.cp/cmpd-minsyms.cc: New file.
1417
1418 PR c++/11734
1419 * gdb.cp/ovsrch.exp: New test.
1420 * gdb.cp/ovsrch.h: New file.
1421 * gdb.cp/ovsrch1.cc: New file.
1422 * gdb.cp/ovsrch2.cc: New file.
1423 * gdb.cp/ovsrch3.cc: New file.
1424 * gdb.cp/ovsrch4.cc: New file.
1425
c91513d8
PP
14262011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1427
1428 PR gdb/12528
1429 * gdb.base/Makefile.in: Adjust EXECUTABLES.
1430 * gdb.base/break-on-linker-gcd-function.exp: New test.
1431 * gdb.base/break-on-linker-gcd-function.cc: New file.
1432
7470fc63
AT
14332011-03-15 Andreas Tobler <andreast@fgznet.ch>
1434
1435 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
1436
959e7469
PM
14372011-03-15 Phil Muldoon <pmuldoon@redhat.com>
1438
1439 * lib/gdb.exp (gdb_unload): Add another termination case.
1440
9373cf26
JK
14412011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1442
1443 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
1444 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
1445 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
1446 Provide a stub byte there.
1447 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
1448 DW_AT_entry_pc.
1449 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
1450
24e9cda0
UW
14512011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
1452
1453 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
1454 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
1455 "generic ABI, auto".
1456 (altivec_abi_tests): Accept vectors returned by reference.
1457
7371cf6d
PM
14582010-03-14 Phil Muldoon <pmuldoon@redhat.com>
1459
1460 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
1461
ce77046a
UW
14622011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
1463
1464 * gdb.python/py-section-script.exp: Skip test if no Python support.
1465
176400c3
UW
14662011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
1467
1468 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
1469
ecec24e6
PM
14702011-03-10 Phil Muldoon <pmuldoon@redhat.com>
1471
1472 * gdb.python/py-parameter.exp: Update tests to the new Python
1473 parameter API. Add "no documentation" test. Add deprecated API
1474 backward compatibility test.
1475
5dbdd470
TT
14762011-03-09 Tom Tromey <tromey@redhat.com>
1477
1478 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
1479 gdb_continue_to_end.
1480
b66e66ee
MK
14812011-03-09 Mark Kettenis <kettenis@gnu.org>
1482
1483 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
1484 tabs.
1485
eceb0c5f
TT
14862011-03-09 Tom Tromey <tromey@redhat.com>
1487
1488 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
1489 parentheses.
1490 (gdb_continue_to_end): Add "allow_extra" parameter. Use
1491 $command.
1492 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
1493 argument to gdb_continue_to_end.
1494 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
1495 argument to gdb_continue_to_end.
1496 * gdb.cp/annota3.exp: Fix regex.
1497 * gdb.cp/annota2.exp: Fix regex.
1498 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
1499 gdb_continue_to_end.
1500 * gdb.base/call-signal-resume.exp: Revert earlier patch.
1501 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
1502 gdb_continue_to_end.
1503
63154eca
PA
15042011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1505
1506 * gdb.server/ext-run.exp
1507 (load new file without any gdbserver inferior): New test.
1508
967d1f9b
TT
15092011-03-07 Tom Tromey <tromey@redhat.com>
1510
1511 * Makefile.in (TAGS): Rewrite.
1512
d68dcbb9
JK
15132011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1514
1515 * gdb.trace/report.exp (12.1: trace report #1): New match for the
1516 initial commands echo. New match for `Found trace'. Anchor all the
1517 other matches. Anchor and match for `No trace frame found' the final
1518 match.
1519
6bf58e63
TT
15202011-03-07 Tom Tromey <tromey@redhat.com>
1521
1522 * Makefile.in (TAGS): New target.
1523
fda326dd
TT
15242011-03-07 Tom Tromey <tromey@redhat.com>
1525
1526 * lib/opencl.exp (skip_opencl_tests): Update for exit message
1527 change.
1528 * lib/mi-support.exp (mi_gdb_test): Update for exit message
1529 change.
1530 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
1531 exit message change.
1532 (skip_altivec_tests): Update for exit message change.
1533 (skip_vsx_tests): Likewise.
1534 (gdb_continue_to_end): Likewise. Add 'command' argument.
1535 * lib/cell.exp (skip_cell_tests): Update for exit message change.
1536 * gdb.threads/tls.exp: Update for exit message change.
1537 * gdb.threads/thread-unwindonsignal.exp: Use
1538 gdb_continue_to_end.
1539 * gdb.threads/step.exp (step_it): Update for exit message change.
1540 (continue_all): Likewise.
1541 * gdb.threads/print-threads.exp (test_all_threads): Update for
1542 exit message change.
1543 * gdb.threads/interrupted-hand-call.exp: Use
1544 gdb_continue_to_end.
1545 * gdb.threads/execl.exp: Use gdb_continue_to_end.
1546 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
1547 gdb_continue_to_end.
1548 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
1549 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
1550 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
1551 * gdb.cp/method.exp: Update for exit message change.
1552 * gdb.cp/mb-templates.exp: Update for exit message change.
1553 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
1554 * gdb.cp/annota3.exp: Update for exit message change.
1555 * gdb.cp/annota2.exp: Update for exit message change.
1556 * gdb.cell/fork.exp: Use gdb_continue_to_end.
1557 * gdb.base/term.exp: Update for exit message change.
1558 * gdb.base/step-test.exp (test_i): Update for exit message change.
1559 * gdb.base/sigstep.exp (advance): Update for exit message change.
1560 (advancei): Likewise.
1561 * gdb.base/siginfo.exp: Update for exit message change.
1562 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
1563 * gdb.base/reread.exp: Use gdb_continue_to_end.
1564 * gdb.base/langs.exp: Use gdb_continue_to_end.
1565 * gdb.base/interrupt.exp: Update for exit message change.
1566 * gdb.base/gdb1555.exp: Update for exit message change.
1567 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
1568 * gdb.base/ending-run.exp: Update for exit message change.
1569 * gdb.base/chng-syms.exp: Update for exit message change.
1570 * gdb.base/checkpoint.exp: Update for exit message change.
1571 * gdb.base/catch-syscall.exp (check_for_program_end): Use
1572 gdb_continue_to_end.
1573 (test_catch_syscall_with_wrong_args): Likewise.
1574 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
1575 * gdb.base/break-interp.exp (test_ld): Update for exit message
1576 change.
1577 * gdb.base/bang.exp: Update for exit message change.
1578 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
1579 (do_call_attach_tests): Likewise.
1580 * gdb.base/a2-run.exp: Update for exit message change.
1581 * gdb.arch/ppc-dfp.exp: Update for exit message change.
1582 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
1583 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
1584
dd19bd70
JK
15852011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1586
1587 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
1588
30e62689
TT
15892011-03-03 Tom Tromey <tromey@redhat.com>
1590
1591 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
1592 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
1593 * gdb.hp/gdb.aCC/configure.ac: Remove.
1594 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
1595 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
1596 * gdb.hp/gdb.base-hp/configure.ac: Remove.
1597 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
1598 * gdb.hp/gdb.compat/configure (Makefile): Remove.
1599 * gdb.hp/gdb.compat/configure.ac: Remove.
1600 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
1601 * gdb.hp/gdb.defects/configure (Makefile): Remove.
1602 * gdb.hp/gdb.defects/configure.ac: Remove.
1603 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
1604 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
1605 * gdb.hp/gdb.objdbg/configure.ac: Remove.
1606 * gdb.hp/configure.ac: Remove.
1607 * gdb.hp/configure: Remove.
1608 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
1609 substitution.
1610 (Makefile): Remove rule.
1611 * gdb.cell/configure.ac: Remove.
1612 * gdb.cell/configure: Remove.
1613 * gdb.stabs/Makefile.in (Makefile): Remove.
1614 (distclean): Don't remove config.status or config.log.
1615 * gdb.stabs/configure (Makefile): Remove.
1616 * gdb.stabs/configure.ac: Remove.
1617 * configure: Rebuild.
1618 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
1619 Remove stabs- and cell-specific logic. Test for existence of
1620 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
1621 subdirectories, gdb.cell, and and gdb.stabs.
1622 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
1623
c171f854
JB
16242011-03-03 Joel Brobecker <brobecker@adacore.com>
1625
1626 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
1627 end of buffer.
1628
9a5193cb
JB
16292011-03-02 Joel Brobecker <brobecker@adacore.com>
1630
1631 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
1632 gdb_test when running a test where we expected no output back.
1633
9bb4c1bb
MS
16342011-02-28 Michael Snyder <msnyder@vmware.com>
1635
1636 * gdb.cp/overload.cc: Change initializer value to integer.
1637
3bd0f5ef
MS
16382011-02-27 Michael Snyder <msnyder@vmware.com>
1639
1640 * gdb.multi/base.exp: Add test for remove-inferiors.
1641
2279eaad
JB
16422011-02-26 Joel Brobecker <brobecker@adacore.com>
1643
1644 * gdb.python/py-frame.exp: Simplify the initialization phase
1645 using prepare_for_testing.
1646
c82c0b55
MS
16472011-02-25 Michael Snyder <msnyder@vmware.com>
1648
1649 * gdb.multi/base.exp: Add tests for info inferiors with args.
1650
1d94651b
JK
16512011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1652
1653 * gdb.dwarf2/dw2-ranges.S: Rename to ...
1654 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
1655 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
1656 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
1657 asmfile3. Comment the STABS (#3) file compilation. Compile
1658 everything through assembler. Provide KFAIL for symtab/12497.
1659 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
1660 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
1661 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
1662 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
1663
3bd0f5ef
MS
16642011-02-24 Michael Snyder <msnyder@vmware.com>
1665
1666 * gdb.base/break.exp: Add tests for delete breakpoints using
1667 convenience variables and value history references.
1668
12c1418e
MS
16692011-02-24 Michael Snyder <msnyder@vmware.com>
1670
1671 * gdb.base/break.exp: Remove debugging 'printf' accidentally
1672 left behind in previous check-in.
1673
e5a67952
MS
16742011-02-23 Michael Snyder <msnyder@vmware.com>
1675
1676 * gdb.base/break.exp: Add tests for "info break" with arguments.
1677 * gdb.trace/infotrace.exp: Update patterns for error and help.
1678 * gdb.base/completion.exp: Update pattern.
1679 * gdb.base/ena-dis-br.exp: Update pattern.
1680 * gdb.base/help.exp: Update patterns.
1681
16822011-02-23 Michael Snyder <msnyder@vmware.com>
fbcb778d
MS
1683
1684 * gdb.base/memattr.exp: New test.
1685 * gdb.base/memattr.c: Test load for memattr.exp.
1686
6e6fbe60
DE
16872011-02-22 Doug Evans <dje@google.com>
1688
1689 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
1690
1d41d745
MS
16912011-02-22 Michael Snyder <msnyder@vmware.com>
1692
1693 * Makefile.in: Make more clean.
1694 * gdb.ada/Makefile.in: Ditto.
1695 * gdb.arch/Makefile.in: Ditto.
1696 * gdb.asm/Makefile.in: Ditto.
1697 * gdb.base/Makefile.in: Ditto.
1698 * gdb.cp/Makefile.in: Ditto.
1699 * gdb.dwarf2/Makefile.in: Ditto.
1700 * gdb.java/Makefile.in: Ditto.
1701 * gdb.mi/Makefile.in: Ditto.
1702 * gdb.modula2/Makefile.in: Ditto.
1703 * gdb.python/Makefile.in: Ditto.
1704 * gdb.server/Makefile.in: Ditto.
1705 * gdb.stabs/Makefile.in: Ditto.
1706 * gdb.threads/Makefile.in: Ditto.
1707 * gdb.trace/Makefile.in: Ditto.
1708
79ba84ca
MS
17092011-02-22 Michael Snyder <msnyder@vmware.com>
1710
df46027d 1711 * gdb.threads/thread-find.exp: Add tests for bad input to
79ba84ca
MS
1712 info threads.
1713
b9b35694
JB
17142011-02-22 Joel Brobecker <brobecker@adacore.com>
1715
1716 * gdb.python/py-breakpoint.exp: Fix the expected output of
1717 one of the "maint info breakpoints" tests to accept the output
1718 generated on platforms that do not have hardware watchpoints.
1719
8bfb830f
JB
17202011-02-22 Joel Brobecker <brobecker@adacore.com>
1721
1722 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
1723 clean_restart. Be a little stricter in the expected output
1724 for one of the tests. Fix a typo in one of the comments.
1725
c45f3c54
JB
17262011-02-22 Joel Brobecker <brobecker@adacore.com>
1727
1728 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
1729 Delete variable binfile, no longer use. Add or modify test
1730 comments to make them unique.
1731
b97c863c
MS
17322011-02-21 Michael Snyder <msnyder@vmware.com>
1733
1734 * Makefile.in: Update for make clean.
1735 * gdb.ada/Makefile.in: Ditto.
1736 * gdb.arch/Makefile.in: Ditto.
1737 * gdb.asm/Makefile.in: Ditto.
1738 * gdb.base/Makefile.in: Ditto.
1739 * gdb.cp/Makefile.in: Ditto.
1740 * gdb.dwarf2/Makefile.in: Ditto.
1741 * gdb.java/Makefile.in: Ditto.
1742 * gdb.mi/Makefile.in: Ditto.
1743 * gdb.modula2/Makefile.in: Ditto.
1744 * gdb.python/Makefile.in: Ditto.
1745 * gdb.server/Makefile.in: Ditto.
1746 * gdb.stabs/Makefile.in: Ditto.
1747 * gdb.threads/Makefile.in: Ditto.
1748 * gdb.trace/Makefile.in: Ditto.
1749
aea5b279
MS
17502011-02-21 Michael Snyder <msnyder@vmware.com>
1751
1752 * gdb.threads/thread-find.exp: Update patterns for changes in
1753 output of "info threads" command.
1754
e3039479
UW
17552011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1756 Ulrich Weigand <uweigand@de.ibm.com>
1757
1758 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
1759 (skip_hw_watchpoint_tests): Likewise.
1760 (skip_hw_watchpoint_multi_tests): Likewise.
1761
b800ec70
UW
17622011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
1763
1764 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
1765 (skip_hw_watchpoint_tests): Likewise.
1766 (skip_hw_watchpoint_multi_tests): Likewise.
1767 (skip_hw_watchpoint_access_tests): Likewise.
1768
1769 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
1770 * gdb.base/pr11022.exp: Likewise.
1771 * gdb.base/watch-read.exp: Likewise.
1772 * gdb.base/watch_thread_num.exp: Likewise.
1773 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
1774 * gdb.base/watchpoint-hw.exp: Likewise.
1775 * gdb.base/watchpoint.exp: Likewise.
1776 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
1777 * gdb.threads/watchthreads-reorder.exp: Likewise.
1778 * gdb.threads/watchthreads.exp: Likewise.
1779 * gdb.threads/watchthreads2.exp: Likewise.
1780
91033e37
JB
17812011-02-21 Joel Brobecker <brobecker@adacore.com>
1782
1783 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
1784 the debugger is unable to find the array bounds.
1785
eeaafae2
JK
17862011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1787
1788 * gdb.cp/typedef-operator.exp: New file.
1789 * gdb.cp/typedef-operator.cc: New file.
1790
e338d953
MS
17912011-02-17 Michael Snyder <msnyder@vmware.com>
1792
1793 * gdb.threads/thread-find.exp: Fix regular expressions.
1794
e67ad678
JB
17952011-02-17 Joel Brobecker <brobecker@adacore.com>
1796
1797 * gdb.ada/packed_array: Expand testcase to test printing of
1798 unconstrained packed array.
1799
93084bca
JB
18002011-02-17 Joel Brobecker <brobecker@adacore.com>
1801
1802 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
1803
a0c78a73
PA
18042011-02-16 Pedro Alves <pedro@codesourcery.com>
1805
f65d5553 1806 * gdb.trace/collection.c (globalarr3): New global.
a0c78a73
PA
1807 (main): Initialize it before collecting, and and clear it
1808 afterwards.
f65d5553
PA
1809 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
1810 collecting with '{type} addr', where the addr expression is not an
1811 rvalue.
a0c78a73 1812
3dfcbbd2
KW
18132011-02-16 Ken Werner <ken.werner@de.ibm.com>
1814
1815 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
1816 a bool variable. Expect correct OpenCL names for vector types. Use the
1817 uc3 variable name instead of referring to the uchar3 built-in type.
1818 Escape the asterisk at the half pointer test.
1819
08807d5a
PA
18202011-02-16 Pedro Alves <pedro@codesourcery.com>
1821
f65d5553 1822 * gdb.trace/collection.c (globalarr2): New global.
08807d5a
PA
1823 (main): Initialize it before collecting, and and clear it
1824 afterwards.
f65d5553
PA
1825 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
1826 collecting overlapping memory ranges.
08807d5a 1827
60f98dde
MS
18282011-02-15 Michael Snyder <msnyder@vmware.com>
1829
1830 * gdb.base/default.exp: Add tests for thread commands.
1831 * gdb.base/help.exp: Add tests for thread commands.
1832 * gdb.threads/thread-find.exp: New test for thread find command.
1833
648cd113
KW
18342011-02-15 Ken Werner <ken.werner@de.ibm.com>
1835
1836 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
1837
494e194e
YQ
18382011-02-15 Yao Qi <yao@codesourcery.com>
1839
1840 PR tdep/12352
1841 * gdb.arch/arm-disp-step.S : New test for str instruction.
1842 * gdb.arch/arm-disp-step.exp : Likewise.
1843
d9492458
TJB
18442011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
1845
1846 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
1847 "vector_register2_vr" test strings. Test the extended floating
1848 point registers (F32~F63).
1849 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
1850 IBM XL C compiler. Make the test program use a register provided
1851 by the compiler for the lxvd2x instruction.
1852
8af8e3bc
PA
18532011-02-14 Pedro Alves <pedro@codesourcery.com>
1854
1855 * gdb.trace/unavailable.cc (class Base, class Middle, class
1856 Derived): New types.
1857 (derived_unavail, derived_partial, derived_whole): New globals.
1858 (virtual_partial): New global.
1859 (virtualp): Point at virtual_partial.
1860 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
1861 related to unavailable vptr.
1862
1b28d0b3
PA
18632011-02-14 Pedro Alves <pedro@codesourcery.com>
1864
1865 * gdb.trace/unavailable.cc (a, b, c): New globals.
1866 (main): Set and clear them.
1867 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
1868 `a' and `c', and check that `b' isn't collected, although `a' and
1869 `c' are.
1870
ec0a52e1
PA
18712011-02-14 Pedro Alves <pedro@codesourcery.com>
1872
1873 * gdb.trace/unavailable.cc (struct Virtual): New.
1874 (virtualp): New global pointer.
1875 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
1876 printing a pointer to an object whose type has a vtable, with
1877 print object on.
1878
24e6bcee
PA
18792011-02-14 Pedro Alves <pedro@codesourcery.com>
1880
1881 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
1882 value repeat handles unavailableness.
1883
39d37385
PA
18842011-02-14 Pedro Alves <pedro@codesourcery.com>
1885
1886 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
1887 tests for building arrays from unavailable values, subscripting
1888 non-memory rvalue unvailable arrays, and accessing fields or
1889 baseclasses of non-lazy unavailable values,
1890 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
1891 struct types.
1892 (g_smallstruct, g_smallstruct_b): New globals.
1893
06d72e16
PA
18942011-02-14 Pedro Alves <pedro@codesourcery.com>
1895
1896 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
1897
bc9a5551
JK
18982011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1899
1900 Fix const/volatile qualifiers of C++ types, PR c++/12328.
1901 * gdb.cp/overload-const.exp: New file.
1902 * gdb.cp/overload-const.cc: New file.
1903
54fcddd0
UW
19042011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
1905
1906 * gdb.opencl/callfuncs.cl: New file.
1907 * gdb.opencl/callfuncs.exp: New test.
1908 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
1909
d6dafb7c
UW
19102011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
1911
1912 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
1913 when computing result.
1914 * gdb.arch/altivec-abi.exp: Update expected results.
1915
a449c2d8
TJB
19162011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
1917
1918 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
1919 * gdb.base/jit.exp: Likewise.
1920 * gdb.base/pie-execl.exp: Likewise.
1921 * gdb.base/solib-nodir.exp: Likewise.
1922 * gdb.base/solib-overlap.exp: Likewise.
1923
764880b7
PA
19242011-02-07 Pedro Alves <pedro@codesourcery.com>
1925
1926 * gdb.trace/collection.c (global_pieces): New.
1927 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
1928 New procedure.
1929 (gdb_trace_collection_test): Call it.
1930
505500db
SW
19312011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
1932
1933 * gdb.python/py-evthreads.c: New file.
1934 * gdb.python/py-evthreads.exp: New file.
1935 * gdb.python/py-events.py: New file.
1936 * gdb.python/py-events.exp: New file.
1937 * gdb.python/py-events.c: New file.
1938
385203ed
DD
19392011-02-04 David Daney <ddaney@caviumnetworks.com>
1940
1941 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
1942
9011945e
AB
19432011-02-03 Andrew Burgess <aburgess@broadcom.com>
1944
1945 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
1946 gdb.base/disasm-end-cu.exp: New test for disassembling over the
1947 boundary between two compilation units.
1948
580688f3
PA
19492011-02-02 Pedro Alves <pedro@codesourcery.com>
1950
1951 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
1952 (Virtual): New structs.
1953 (virtual_o, virtual_middle_b): New globals.
1954 * gdb.cp/virtbase.exp: New tests.
1955
d3f0f853
PP
19562011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
1957
1958 * gdb.base/jit.exp: New file.
1959 * gdb.base/jit-main.c: New file.
1960 * gdb.base/jit-solib.c: New file.
1961
b2030fb5
UW
19622011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
1963
1964 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
1965 proceed to initial kernel entry point.
1966 * gdb.opencl/datatypes.exp: Likewise.
1967 * gdb.opencl/operators.exp: Likewise.
1968 * gdb.opencl/vec_comps.exp: Likewise.
1969
2db19d1e
SW
19702011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
1971
1972 * gdb.cp/nsnested.cc: New.
1973 * gdb.cp/nsnested.exp: New.
1974 * gdb.cp/nsnoimports.exp: New.
1975 * gdb.cp/nsnoimports.cc: New.
1976
6b0c4c1f
JB
19772011-01-31 Joel Brobecker <brobecker@adacore.com>
1978
1979 * gdb.base/interact.exp: Add extra tests that verify that
1980 the value of the interactive-mode setting does not change
1981 after the script is sourced.
1982
80b23b6a
JK
19832011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1984
1985 * gdb.cp/noparam.exp: New file.
1986 * gdb.cp/noparam.cc: New file.
1987
ffd5ec24
PA
19882011-01-28 Pedro Alves <pedro@codesourcery.com>
1989
1990 * gdb.trace/tfile.exp: Test that with no traceframe selected,
1991 there's no stack or registers.
1992
a81766d8
TT
19932011-01-26 Tom Tromey <tromey@redhat.com>
1994
1995 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
1996 space before string output. Add test for "set print pretty off"
1997 case.
1998
585fdaa1
PA
19992011-01-25 Pedro Alves <pedro@codesourcery.com>
2000
2001 * gdb.base/frame-args.exp: Adjust.
2002 * gdb.dwarf2/dw2-noloc.exp: Adjust.
2003 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
2004 * gdb.dwarf2/pieces.exp: Adjust.
2005 * gdb.opt/clobbered-registers-O2.exp: Adjust.
2006 * gdb.opt/inline-locals.exp: Adjust.
2007 * gdb.threads/fork-child-threads.exp: Adjust.
2008
d468832a
KW
20092011-01-25 Ken Werner <ken.werner@de.ibm.com>
2010
2011 * gdb.opencl/convs_casts.cl: Move program scope variables into the
2012 OpenCL kernel function. Add a comment as marker. Add address space
2013 qualifiers for the remaining program scope variables.
2014 * gdb.opencl/datatypes.cl: Likewise.
2015 * gdb.opencl/operators.cl: Likewise.
2016 * gdb.opencl/vec_comps.cl: Likewise.
2017 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
2018 Add breakpoint at the marker comment.
2019 * gdb.opencl/datatypes.exp: Likewise.
2020 * gdb.opencl/operators.exp: Likewise.
2021 * gdb.opencl/vec_comps.exp: Likewise.
2022
490f124f
PA
20232011-01-24 Pedro Alves <pedro@codesourcery.com>
2024
2025 * gdb.base/printcmds.c (some_struct): New struct and instance.
2026 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
2027 procedure.
2028 <global scope>: Call it.
2029
6da78614
KW
20302011-01-21 Ken Werner <ken.werner@de.ibm.com>
2031
2032 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
2033 argument to the gdb_compile_opencl_hostapp call.
2034
ec64c9aa
YQ
20352011-01-19 Yao Qi <yao@codesourcery.com>
2036
2037 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
2038 positve list.
2039
810cfdbb
YQ
20402011-01-19 Yao Qi <yao@codesourcery.com>
2041
2042 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
2043 canonical form.
2044 Remove "xscale-*-*"
2045 * gdb.xml/tdesc-regs.exp: Likewise.
2046 * gdb.python/py-section-script.exp: Replace ARM target triplet
2047 with canonical form.
2048 Match arm*-*-symbianelf*.
2049 * gdb.base/dup-sect.exp: Likewise.
2050 * lib/dwarf.exp: New.
2051 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
2052 dwarf2_support.
2053 * gdb.dwarf2/dup-psym.exp: Likewise.
2054 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
2055 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2056 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
2057 * gdb.dwarf2/dw2-basic.exp: Likewise.
2058 * gdb.dwarf2/dw2-compressed.exp: Likewise.
2059 * gdb.dwarf2/dw2-const.exp: Likewise.
2060 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
2061 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
2062 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2063 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
2064 * gdb.dwarf2/dw2-filename.exp: Likewise.
2065 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2066 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
2067 * gdb.dwarf2/dw2-intercu.exp: Likewise.
2068 * gdb.dwarf2/dw2-intermix.exp: Likewise.
2069 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
2070 * gdb.dwarf2/dw2-noloc.exp: Likewise.
2071 * gdb.dwarf2/dw2-op-call.exp: Likewise.
2072 * gdb.dwarf2/dw2-producer.exp: Likewise.
2073 * gdb.dwarf2/dw2-ranges.exp: Likewise.
2074 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
2075 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
2076 * gdb.dwarf2/dw2-strp.exp: Likewise.
2077 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
2078 * gdb.dwarf2/implptr.exp: Likewise.
2079 * gdb.dwarf2/mac-fileno.exp: Likewise.
2080 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
2081 * gdb.dwarf2/pieces.exp: Likewise.
2082 * gdb.dwarf2/pr11465.exp: Likewise.
2083 * gdb.dwarf2/valop.exp: Likewise.
2084 * gdb.dwarf2/watch-notconst.exp: Likewise.
2085 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
2086
4694da01
TT
20872011-01-19 Tom Tromey <tromey@redhat.com>
2088
2089 * gdb.python/py-infthread.exp: Add thread tests.
2090
b075872c
JB
20912011-01-14 Joel Brobecker <brobecker@adacore.com>
2092
2093 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
2094
2c3e6e24
JB
20952011-01-14 Joel Brobecker <brobecker@adacore.com>
2096
2097 * gdb.ada/widewide: New testcase.
2098
de8fa76c
JB
20992011-01-13 Joel Brobecker <brobecker@adacore.com>
2100
2101 * gdb.base/interact.exp: New testcase.
2102
1b05df00
TT
21032011-01-12 Tom Tromey <tromey@redhat.com>
2104
2105 * gdb.mi/gdb2549.exp: Update for error message changes.
2106 * gdb.mi/mi-cli.exp: Likewise.
2107 * gdb.mi/mi-disassemble.exp: Likewise.
2108 * gdb.mi/mi-pthreads.exp: Likewise.
2109 * gdb.mi/mi-regs.exp: Likewise.
2110 * gdb.mi/mi-stack.exp: Likewise.
2111 * gdb.mi/mi-var-block.exp: Likewise.
2112 * gdb.mi/mi-var-cmd.exp: Likewise.
2113 * gdb.mi/mi2-cli.exp: Likewise.
2114 * gdb.mi/mi2-disassemble.exp: Likewise.
2115 * gdb.mi/mi2-pthreads.exp: Likewise.
2116 * gdb.mi/mi2-regs.exp: Likewise.
2117 * gdb.mi/mi2-stack.exp: Likewise.
2118 * gdb.mi/mi2-var-block.exp: Likewise.
2119 * gdb.mi/mi2-var-cmd.exp: Likewise.
2120
c2ff108b
JK
21212011-01-12 Andrew Burgess <aburgess@broadcom.com>
2122 Jan Kratochvil <jan.kratochvil@redhat.com>
2123
2124 PR fortran/11104 and DWARF unbound arrays detection.
2125 * gdb.fortran/multi-dim.exp: New file.
2126 * gdb.fortran/multi-dim.f90: New file.
2127
b716877b
AB
21282011-01-12 Andrew Burgess <aburgess@broadcom.com>
2129
2130 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
2131 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
2132 add new tests for opcode dumping.
2133
6c162d5e
TT
21342011-01-11 Tom Tromey <tromey@redhat.com>
2135
2136 * gdb.python/py-infthread.exp: Load gdb-python.exp.
2137
77b06cd7
TJB
21382010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
2139
2140 Convert hardware watchpoints to use breakpoint_ops.
2141 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
2142 type is not supported.
2143 * gdb.base/foll-fork.exp: Likewise.
2144 * gdb.base/foll-vfork.exp: Likewise.
2145
f39a75d0
PM
21462011-01-10 Phil Muldoon <pmuldoon@redhat.com>
2147
2148 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
2149 Use load_lib gdb-python.exp.
2150 * gdb.python/python.exp: Ditto.
2151 * gdb.python/py-function.exp: Ditto.
2152
fc529d80
AS
21532011-01-09 Andreas Schwab <schwab@linux-m68k.org>
2154
2155 * gdb.threads/tls.exp ("info address me"): Fix expected output.
2156
fb03cb59
JK
21572011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2158
2159 * configure: Regenerate.
2160
d8e22779
TT
21612011-01-06 Tom Tromey <tromey@redhat.com>
2162
2163 * gdb.python/py-frame.exp: Test gdb.newest_frame.
2164
09050809
JB
21652011-01-06 Joel Brobecker <brobecker@adacore.com>
2166
fc529d80
AS
2167 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
2168 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
2169 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
2170 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
2171 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
2172 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
2173 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
2174 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
2175 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
2176 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
2177 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
2178 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
2179 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
2180 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
2181 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
2182 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
2183 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
2184 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
2185 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
2186 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
2187 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
2188 gdb.ada/uninitialized_vars.exp,
2189 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
2190 Simplify by using clean_restart.
09050809 2191
8ed5dd9e
JB
21922011-01-06 Joel Brobecker <brobecker@adacore.com>
2193
2194 Add marker to be used as anchor for inserting breakpoints.
2195 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
2196 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
2197 Likewise.
2198
2199 Remove uses of gdb_start_cmd.
2200 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
2201 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
2202
2203 Do not run testcase if testing with GDBserver.
2204 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
2205 if testing with GDBserver.
2206
368a124f
JB
22072011-01-06 Joel Brobecker <brobecker@adacore.com>
2208
2209 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
2210 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
2211 copyright header.
2212
44944448
JB
22132011-01-05 Joel Brobecker <brobecker@adacore.com>
2214
2215 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
2216 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
2217 testsuite/gdb.fortran/complex.f,
2218 testsuite/gdb.fortran/derived-type.f90,
2219 testsuite/gdb.fortran/library-module-lib.f90,
2220 testsuite/gdb.fortran/library-module-main.f90,
2221 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
2222 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
2223 Copyright year update.
2224
31886ea6
JB
22252011-01-05 Joel Brobecker <brobecker@adacore.com>
2226
2227 * gdb.base/langs1.f: Add copyright header.
2228
ebedcab5
JK
22292011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2230
2231 * gdb.base/morestack.exp: New file.
2232 * gdb.base/morestack.c: New file.
2233
de1eb2f9
JK
22342011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2235
2236 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
2237
9e87a409
JB
22382010-12-29 Joel Brobecker <brobecker@adacore.com>
2239
2240 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
2241 * gdb.ada/arrayptr.exp: Add test printing that new variable.
2242
720d1a40
JB
22432010-12-29 Joel Brobecker <brobecker@adacore.com>
2244
2245 * gdb.ada/lang_switch.exp: Correct expected parameter value.
2246
a283af87
AS
22472010-12-25 Andreas Schwab <schwab@linux-m68k.org>
2248
5d3d9cba
AS
2249 * gdb.threads/tls.exp: Fix typo.
2250
a283af87
AS
2251 * gdb.threads/thread-specific.exp (get_thread_list): Update.
2252 * gdb.threads/execl.exp: Update.
2253
2a20745c
YQ
22542010-12-23 Yao Qi <yao@codesourcery.com>
2255
2256 * gdb.arch/arm-disp-step.exp: New.
2257 * gdb.arch/arm-disp-step.S: New.
2258
a7658b96
TT
22592010-12-21 Tom Tromey <tromey@redhat.com>
2260
2261 * gdb.threads/execl.exp: Update.
2262 * gdb.threads/linux-dp.exp: Update.
2263 * gdb.threads/manythreads.exp: Update.
2264 * gdb.threads/tls.exp: Update.
2265
5b79abe7
TT
22662010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2267
2268 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
2269 (NextOverThrowDerivates) <resumebpt>: New.
2270 (resumebpt_test): New.
2271 (main): Call resumebpt_test.
2272 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
2273
0914bcdb
SS
22742010-12-12 Stan Shebs <stan@codesourcery.com>
2275
2276 * gdb.trace/tsv.exp: Test print command on trace state variables.
2277
305aeedc
TT
22782010-12-09 Tom Tromey <tromey@redhat.com>
2279
2280 * gdb.base/interp.exp: Add regression test.
2281
186c406b
TT
22822010-12-09 Tom Tromey <tromey@redhat.com>
2283
2284 * gdb.java/jnpe.java: New file.
2285 * gdb.java/jnpe.exp: New file.
2286 * gdb.cp/nextoverthrow.exp: New file.
2287 * gdb.cp/nextoverthrow.cc: New file.
2288
aae1c79a
DE
22892010-12-07 Doug Evans <dje@google.com>
2290
2291 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
2292 of data-directory.
2293 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
2294 updated.
2295 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
2296
60f98dde 22972010-11-29 Michael Snyder <msnyder@vmware.com>
d426f7b4
MS
2298
2299 * gdb.base/callfuncs.exp: Test for skip_float_tests.
2300 * gdb.base/call-sc.exp: Ditto.
2301 * gdb.base/finish.exp: Ditto.
2302 * gdb.base/return.exp: Ditto.
2303 * gdb.base/return2.exp: Ditto.
2304
5fa290c1
DE
23052010-11-30 Doug Evans <dje@google.com>
2306
2307 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
2308 (gdb_expect_list): Fix spelling errors in comments.
2309 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
2310 send_gdb/gdb_expect_list where applicable.
2311 * gdb.base/call-ar-st.exp: Ditto.
2312 * gdb.base/funcargs.exp: Ditto.
2313 * gdb.base/gcore.exp: Ditto.
2314 * gdb.base/page.exp: Ditto.
2315 * gdb.base/sigaltstack.exp: Ditto.
2316 * gdb.base/siginfo.exp: Ditto.
2317 * gdb.base/sigstep.exp: Ditto.
2318 * gdb.base/trace-commands.exp: Ditto.
2319
4e04c971
DE
23202010-11-29 Doug Evans <dje@google.com>
2321
2322 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
2323 printer-name;subprinter-name.
2324
8cf6f0b1
TT
23252010-11-29 Tom Tromey <tromey@redhat.com>
2326
2327 * gdb.dwarf2/implptr.exp: New file.
2328 * gdb.dwarf2/implptr.c: New file.
2329 * gdb.dwarf2/implptr.S: New file.
2330
94b6973e
PM
23312010-11-29 Phil Muldoon <pmuldoon@redhat.com>
2332
fc529d80 2333 PR python/12199
94b6973e
PM
2334
2335 * gdb.python/py-breakpoint.exp: Test the delete method.
2336
8358c15c
JK
23372010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2338
2339 Fix step_resume_breakpoint unsaved during an infcall.
2340 * gdb.base/step-resume-infcall.exp: New file.
2341 * gdb.base/step-resume-infcall.c: New file.
2342
f6df29bc
TJB
23432010-11-24 Edjunior Machado <emachado@br.ibm.com>
2344
2345 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
2346
f2b5a5cf
TJB
23472010-11-24 Edjunior Machado <emachado@br.ibm.com>
2348
2349 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
2350 on ppc64's symbols; "finish" and "return" commands must accept to
2351 show the caller line again as well as the line after.
2352 * gdb.asm/powerpc64.inc: New file.
2353
6b0ecdc2
DE
23542010-11-23 Doug Evans <dje@google.com>
2355
2356 * lib/gdb.exp (gdb_test_sequence): New function.
2357 (gdb_expect_list): Add verbose -log call for each pattern.
2358 * gdb.base/signals.exp (test_handle_all_print): Call it.
2359 Reduce timeout increment from 6 minutes to 1 minute.
2360 * gdb.server/ext-run.exp: Call it.
2361
ea976c60
PM
23622010-11-23 Phil Muldoon <pmuldoon@redhat.com>
2363
f2b5a5cf 2364 PR python/12212
ea976c60
PM
2365
2366 * gdb.python/python.exp: Check that selected_thread raises an
2367 error when no inferior is loaded.
2368
c0efa795
JK
23692010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2370
2371 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
2372 * gdb.dwarf2/dw2-stack-boundary.S: New file.
2373
ec3aa567
JK
23742010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2375
2376 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
2377 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
2378
d8249011
DE
23792010-11-18 Doug Evans <dje@google.com>
2380
2381 * gdb.server/ext-run.exp: Fix intermittent failures.
2382
d4eba7d1
NF
23832010-11-12 Nathan Froyd <froydnj@codesourcery.com>
2384
2385 * gdb.stabs/gdb11479.exp: Use runto_main.
2386
b04c2f88
NF
23872010-11-12 Nathan Froyd <froydnj@codesourcery.com>
2388
2389 * gdb.base/break-entry.exp: Skip if using a stub.
2390
ae9d7ce4
NF
23912010-11-12 Nathan Froyd <froydnj@codesourcery.com>
2392
2393 * gdb.python/py-inferior.exp: Pack values in target endianness.
2394
621c8364
TT
23952010-11-12 Tom Tromey <tromey@redhat.com>
2396
2397 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
2398 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
2399 MemoryError.
2400 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
2401 type.
2402 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
2403 MemoryError.
2404 (test_subscript_regression): Update exception type.
2405
84f4c1fe
PM
24062010-11-11 Phil Muldoon <pmuldoon@redhat.com>
2407
2408 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
2409 breakpoint tests.
2410
a1442452
PA
24112010-11-09 Pedro Alves <pedro@codesourcery.com>
2412
2413 * gdb.base/watchpoint.exp: Test "watch -location" with an
2414 innacessible location.
2415
efd11a33
JK
24162010-11-09 Edjunior Machado <emachado@br.ibm.com>
2417 Luis Machado <luisgpm@br.ibm.com>
2418
2419 * gdb.base/maint.exp: Expect "." prefix.
2420 * gdb.base/nodebug.exp: Expect "." Likewise.
2421 * gdb.base/sepsymtab.exp: Expect "." Likewise.
2422 * gdb.base/watchpoint-cond-gone.exp: Likewise.
2423 * gdb.base/watchpoint.exp: Expect a software watch to be created for
2424 POWER server processors.
2425
aa00efb5
JK
24262010-11-08 Edjunior Machado <emachado@br.ibm.com>
2427 Luis Machado <luisgpm@br.ibm.com>
2428
2429 * gdb.base/break-entry.exp: convert entry point for
2430 ppc64 and expect leading `.' on ppc64's symbols
2431
99e7ae30
DE
24322010-11-05 Doug Evans <dje@google.com>
2433
2434 * gdb.base/help.exp: Update expected output.
b521dba8
DE
2435 * gdb.python/py-param.exp: Delete, contents moved to ...
2436 * gdb.python/py-parameter.exp: ... here. New file.
2437 Add test for gdb.parameter ("directories").
99e7ae30 2438
f4b8a18d
KW
24392010-11-05 Ken Werner <ken.werner@de.ibm.com>
2440
2441 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
2442 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
2443 * configure: Regenerate.
2444 * gdb.opencl/Makefile.in: New File.
2445 * gdb.opencl/datatypes.exp: Likewise.
2446 * gdb.opencl/datatypes.cl: Likewise.
2447 * gdb.opencl/operators.exp: Likewise.
2448 * gdb.opencl/operators.cl: Likewise.
2449 * gdb.opencl/vec_comps.exp: Likewise.
2450 * gdb.opencl/vec_comps.cl: Likewise.
2451 * gdb.opencl/convs_casts.exp: Likewise.
2452 * gdb.opencl/convs_casts.cl: Likewise.
2453 * lib/opencl.exp: Likewise.
2454 * lib/opencl_hostapp.c: Likewise.
2455 * lib/opencl_kernel.cl: Likewise.
2456 * lib/cl_util.c: Likewise.
2457 * lib/cl_util.c: Likewise.
2458 * gdb.base/default.exp (set language): Add "opencl" to the list of
2459 languages.
2460
a9d5ef47
SW
24612010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
2462
2463 * gdb.cp/overload.exp: Added test for inheritance overload.
2464 * gdb.cp/overload.cc: Ditto.
2465 * gdb.cp/oranking.exp: Removed releveant kfails.
2466
03eb1c79
JK
24672010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2468 Joel Brobecker <brobecker@adacore.com>
2469
2470 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
2471 check test_compiler_info.
2472
dbc98a8b
KW
24732010-11-03 Ken Werner <ken.werner@de.ibm.com>
2474
2475 * gdb.base/gnu_vector.exp: Adjust expect messages.
2476
120bd360
KW
24772010-11-03 Ken Werner <ken.werner@de.ibm.com>
2478
2479 * gdb.base/gnu_vector.exp: Add unary operator tests.
2480
c37f7098
KW
24812010-11-03 Ken Werner <ken.werner@de.ibm.com>
2482
2483 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
2484
7b51bc51
DE
24852010-11-02 Doug Evans <dje@google.com>
2486
2487 * gdb.python/py-pp-maint.c: New file.
2488 * gdb.python/py-pp-maint.exp: New file.
2489 * gdb.python/py-pp-maint.py: New file.
2490
50c97f38
TT
24912010-11-02 Tom Tromey <tromey@redhat.com>
2492
2493 * gdb.base/default.exp: Remove "scheme" from language list.
2494
a289b8f6
JK
24952010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2496
2497 Revert:
2498 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2499 * gdb.threads/sigstep-threads.exp: New file.
2500 * gdb.threads/sigstep-threads.c: New file.
2501
cd017491
MS
25022010-10-20 Michael Snyder <msnyder@vmware.com>
2503
2504 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
2505
8e6a5956
UW
25062010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
2507
2508 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
2509 Skip test completely if gdb,no_hardware_watchpoints.
2510
2c04da0d
UW
25112010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
2512
2513 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
2514 strict, but do not check for any particular function name within libc.
2515
79afc5ef
SW
25162010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
2517
2518 * gdb.cp/smartp.exp: New test.
2519 * gdb.cp/smartp.cc : New test.
2520
026ffab7
SW
25212010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
2522
2523 * gdb.cp/converts.exp: Test pointer to bool conversion.
2524 Test pointer to long conversion.
2525 * gdb.cp/oranking.exp: Removed relevant kfail.
2526
3a772aa4
TT
25272010-10-18 Tom Tromey <tromey@redhat.com>
2528
2529 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
2530 argument to lazy_string.
2531 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
2532 (pp_ls.to_string): Use it.
2533 * gdb.python/py-prettyprint.c (main): Move declarations to top.
2534 Add "estring2" local.
2535
5fc3827b
JK
25362010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2537
2538 Fix s390x compatibility.
2539 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
2540 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
2541
8aeb23f3
JK
25422010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2543
2544 * gdb.threads/sigstep-threads.exp: New file.
2545 * gdb.threads/sigstep-threads.c: New file.
2546
c1e56572
JK
25472010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2548
2549 * gdb.base/pie-execl.exp: New file.
2550 * gdb.base/pie-execl.c: New file.
2551
92163a10
JK
25522010-10-13 Doug Evans <dje@google.com>
2553 Jan Kratochvil <jan.kratochvil@redhat.com>
2554
2555 PR exp/12117
2556 * gdb.cp/ptype-cv-cp.cc: New file.
2557 * gdb.cp/ptype-cv-cp.exp: New file.
2558
7062b0a0
SW
25592010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
2560
2561 * gdb.cp/converts.cc: New test program.
2562 * gdb.cp/converts.exp: New test.
2563 * gdb.cp/overload.exp: Added test for void* vs int*.
2564 * gdb.cp/overload.exp: Ditto.
2565 * gdb.cp/oranking.exp: Removed related kfail.
2566
0e3509db
DE
25672010-10-13 Doug Evans <dje@google.com>
2568
2569 * lib/gdb-python.exp (gdb_check_python_config): New function.
2570 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
2571 * gdb.python/lib-types.cc: New file.
2572 * gdb.python/lib-types.exp: New file.
2573
8dc78533
JK
25742010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2575
2576 * gdb.python/py-error.exp: New file.
2577 * gdb.python/py-error.py: New file.
2578
93c17e06
JK
25792010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2580
2581 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
2582 gdb_test_multiple.
2583
d8b34041
JK
25842010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2585
2586 * gdb.base/break-interp.exp: Use ldlags for linking flags.
2587 * gdb.base/prelink.exp: Likewise.
2588 * gdb.base/solib-nodir.exp: Likewise.
2589 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
2590 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
2591 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
2592
e0cc584e
UW
25932010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
2594
2595 * break-interp.exp (test_ld): Use two separate gdb_expect statements
2596 for the "info files" test to avoid timeouts on slow machines.
2597
cfc353b1
JK
25982010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2599
2600 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
2601 (main): Make openlib dummy call.
2602
d3d7896d
JK
26032010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2604
2605 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
2606 * break-interp.exp (reach): Move the core body ...
2607 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
2608 (test_ld): Provide always real argument, even to the linker. Replace
2609 dl_main by _dl_debug_state.
2610
5e533c94
JK
26112010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2612
2613 Fix results of prelinked PIEs on ppc*.
2614 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
2615 Accept also DISPLACEMENT "PRESENT".
2616 (main): Replace "ZERO" displacements by "PRESENT".
2617
33540610
SW
26182010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
2619
2620 * gdb.cp/oranking.exp: New test.
2621 * gdb.cp/oranking.cc: New test program.
2622
3bdf2bbd
KW
26232010-10-08 Ken Werner <ken.werner@de.ibm.com>
2624
2625 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
2626 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
2627
2f608a3a
KW
26282010-10-06 Ken Werner <ken.werner@de.ibm.com>
2629
2630 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
2631 lush, lynx) New constant.
2632 * gdb.base/constvars.exp: Test const array types.
2633 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
2634
aa2e2d8d
DE
26352010-10-06 Doug Evans <dje@google.com>
2636
2637 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
2638 of syscall staging area.
2639
2844d6b5
KW
26402010-10-06 Ken Werner <ken.werner@de.ibm.com>
2641
2642 * gdb.base/gnu_vector.c: Add variable c4.
2643 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
2644 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
2645
7d8ac8bb
MR
26462010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
2647
2648 * gdb.arch/altivec-abi.exp: Fix a typo.
2649
84a02e58
MR
26502010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
2651
2652 * lib/mi-support.exp (thread_selected_re): Correct pattern used
2653 to match a thread ID.
2654
b18e6318
JK
26552010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2656
2657 Fix s390x testcase compatibility.
2658 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
2659
a2c09bd0
DE
26602010-10-01 Doug Evans <dje@google.com>
2661
2662 * lib/gdb-python.exp: New file.
2663 * gdb.python/py-block.exp: Use it.
2664 * gdb.python/py-breakpoint.exp: Ditto.
2665 * gdb.python/py-frame.exp: Ditto.
2666 * gdb.python/py-inferior.exp: Ditto.
2667 * gdb.python/py-param.exp: Ditto.
2668 * gdb.python/py-prettyprint.exp: Ditto.
2669 * gdb.python/py-shared.exp: Ditto.
2670 * gdb.python/py-symbol.exp: Ditto.
2671 * gdb.python/py-symtab.exp: Ditto.
2672 * gdb.python/py-type.exp: Ditto.
2673 * gdb.python/py-value.exp: Ditto.
2674 * gdb.python/python.exp: Ditto.
2675
38f12cfc
TT
26762010-09-30 Tom Tromey <tromey@redhat.com>
2677
2678 * gdb.base/anon.exp: New file.
2679 * gdb.base/anon.c: New file.
2680
9ae8282d
TT
26812010-09-30 Tom Tromey <tromey@redhat.com>
2682
2683 * gdb.base/completion.exp: Test completion through anonymous
2684 union.
2685 * gdb.base/break1.c (struct some_struct): Add anonymous union.
2686
e9e07ba6
JK
26872010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2688
2689 Fix printing parameters of inlined functions.
2690 * gdb.dwarf2/dw2-inline-param.exp: New file.
2691 * gdb.dwarf2/dw2-inline-param-main.c: New file.
2692 * gdb.dwarf2/dw2-inline-param.S: New file.
2693
cd2effb2
JK
26942010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2695
2696 PR corefiles/12071.
2697 * gdb.base/corefile.exp (quit with a process, no question: load core)
2698 (quit with a core file): New tests.
2699
bceffbf3
JK
27002010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2701
2702 Fix GDB crash on inferior calls with self-referencing classes.
2703 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
2704 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
2705 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
2706
1736ad11
JK
27072010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2708
2709 Fix lost siginfo_t for inferior calls.
2710 * gdb.base/siginfo-infcall.exp: New file.
2711 * gdb.base/siginfo-infcall.c: New file.
2712
a176ad92
JB
27132010-09-22 Joel Brobecker <brobecker@adacore.com>
2714
2715 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
2716
c2b0a229
JK
27172010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2718
2719 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
2720 New test.
2721 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
2722
e8ae22d1
JB
27232010-09-22 Joel Brobecker <brobecker@adacore.com>
2724
2725 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
2726 type of our const type.
2727
ec322823
SW
27282010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
2729
2730 * gdb.cp/pr12028.cc: New.
2731 * gdb.cp/pr12028.exp: New.
2732
72929c62
JB
27332010-09-22 Joel Brobecker <brobecker@adacore.com>
2734
2735 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
2736
875b4ff5 27372010-09-16 Phil Muldoon <pmuldoon@redhat.com>
fc529d80 2738 Jan Kratochvil <jan.kratochvil@redhat.com>
875b4ff5
PM
2739
2740 PR mi/11407
2741 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
2742 * gdb.mi/dw2-ref-missing-frame-main.c New File.
2743 * gdb.mi/dw2-ref-missing-frame.S New File.
2744 * gdb.mi/dw2-ref-missing-frame.exp New File.
2745
7155d578
TT
27462010-09-14 Tom Tromey <tromey@redhat.com>
2747
2748 PR symtab/8399:
2749 * gdb.threads/tls.exp: Remove kfail. Update expected output.
2750
515ed532
TT
27512010-09-14 Tom Tromey <tromey@redhat.com>
2752
2753 PR exp/11803:
2754 * gdb.threads/tls.exp: Use C++.
2755 (check_thread_local): Use K::another_thread_local.
2756 * gdb.threads/tls.c (class K): New.
2757 (another_thread_local): Now a member of K.
2758 (spin): Update. No longer K&R C.
2759
450ca57c
SW
27602010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
2761
2762 * gdb.cp/koenig.cc: created class for testing member lookup.
2763 * gdb.cp/koenig.exp: Added test for member lookup.
2764
dbd492a3
JK
27652010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2766
2767 Fix false FAILs on sourcetree topdir directory containing "kill".
2768 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
2769 source line matching regexp.
2770
8d4d924b
JK
27712010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2772
2773 * gdb.python/python.exp (set height 0, collect help from uiout)
2774 (verify help to uiout): New tests.
2775
8e64f2a0
JK
27762010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2777
2778 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
2779 is_lp64_target to check 64bit target.
2780
4569eed2
JK
27812010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2782
2783 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
2784 (test_ld) <powerpc64-*>: New.
2785
5e1617b1
DJ
27862010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
2787
2788 * gdb.cp/templates.exp (test_template_args): Allow "struct".
2789
c767944b
DJ
27902010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
2791
2792 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
2793 (FunctionArg::method): New function.
2794 (empty, arg): New variables.
2795 (main): Call arg.method.
2796 * gdb.cp/templates.exp (test_template_args): New function.
2797 (do_tests): Call it.
2798
27d3a3fc
UW
27992010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
2800
2801 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
2802 of "next" to proceed over pthread_exit call.
2803
55b7ce7f
UW
28042010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
2805
2806 * gdb.base/maint.exp: Avoid wildcards against potentially very long
2807 "maint print statistics" output to prevent expect timeouts.
2808
809df446
JK
28092010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2810
2811 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
2812 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2813 (test_float_rejected): ... here.
2814 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
2815 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2816 (test_float_rejected): ... here.
2817 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
2818 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2819 (test_float_rejected): ... here.
2820 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
2821 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2822 (test_float_rejected): ... here.
2823
8464be76
DJ
28242010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
2825
2826 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
2827 before disabling hardware watchpoints.
2828 (test_inaccessible_watchpoint): Check that hardware watchpoints
2829 are used. Test for watchpoints on a constant address.
2830
14dba4b4
JK
28312010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2832
2833 * gdb.base/ui-redirect.exp: New file.
2834
3f3540e1 28352010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
fc529d80 2836 Joel Brobecker <brobecker@adacore.com>
3f3540e1
JB
2837
2838 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
2839
0f254bb7
DE
28402010-08-31 Doug Evans <dje@google.com>
2841
2842 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
2843
03f17ccf
TT
28442010-08-30 Tom Tromey <tromey@redhat.com>
2845
2846 PR python/11792:
2847 * gdb.python/py-value.exp (test_subscript_regression): Add
2848 dynamic_type test.
2849
640617ad
DJ
28502010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
2851
2852 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
2853 instead of running to main. Do not test the main function.
2854 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
2855 Add new main.
2856
2ed91d1b
PA
28572010-08-26 Pedro Alves <pedro@codesourcery.com>
2858
2859 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
2860 one test.
2861
673bfd45
DE
28622010-08-24 Doug Evans <dje@google.com>
2863
2864 PR symtab/11942
2865 * gdb.dwarf2/dw4-sig-types.cc: New file.
2866 * gdb.dwarf2/dw4-sig-types.h: New file.
2867 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
2868 * gdb.dwarf2/dw4-sig-types.exp: New file.
2869
f9ffd4bb
TT
28702010-08-23 Tom Tromey <tromey@redhat.com>
2871
2872 PR python/11145:
2873 * gdb.python/py-value.c (Base, Derived): New types.
2874 (base): New global.
2875 * gdb.python/py-value.exp (test_subscript_regression): Add
2876 dynamic_cast test.
2877
d839c8a4
TT
28782010-08-23 Tom Tromey <tromey@redhat.com>
2879
2880 PR python/10676:
2881 * gdb.python/py-type.exp (test_fields): Add tests for type
2882 equality.
2883
702c2711
TT
28842010-08-23 Tom Tromey <tromey@redhat.com>
2885
2886 PR python/11915:
2887 * gdb.python/py-type.exp (test_fields): Add tests for array.
2888
832bafd3
KS
28892010-08-23 Keith Seitz <keiths@redhat.com>
2890
2891 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
2892 have any children. Create a new abbrev for it.
2893 Add missing terminal sequence to .debug_abbrev.
2894
c37bf528
KS
28952010-08-20 Keith Seitz <keiths@redhat.com>
2896
2897 PR symtab/11465:
2898 * gdb.dwarf2/pr11465.exp: New test.
2899 * gdb.dwarf2/pr11465.S: New file.
2900 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
2901 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
2902
4572cbac
TJB
29032010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
2904
2905 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
2906 registers. Update data sets with the new v2_double element in the
2907 VSX register union. Add vector_register3_vr data set for the AltiVec
2908 registers. Use gdb_test_no_output instead of send_gdb.
2909
e7fbb131
PA
29102010-08-19 Pedro Alves <pedro@codesourcery.com>
2911
2912 * gdb.python/py-shared.exp: New file, factored out from
2913 python.exp.
2914 * gdb.python/py-shared.c: New file.
2915 * gdb.python/py-shared-sl.c: New file.
2916 * gdb.python/python-1.c: New file.
2917 * gdb.python/python-sl.c: Delete.
2918 * gdb.python/python.c: Mention python-1.c.
2919 * gdb.python/python.exp: Move shared library tests to
2920 py-shared.exp.
2921 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
2922 (MISCELLANEOUS): New.
2923 (clean mostlyclean): Also remove $MISCELLANEOUS.
2924
d30f5e1f
DE
29252010-08-19 Doug Evans <dje@google.com>
2926
2927 PR exp/11926
2928 * gdb.base/printcmds.exp (test_float_accepted): New function.
2929 Move existing float tests there. Add tests for floats with suffixes.
2930 (test_float_rejected): New function.
2931 * gdb.java/jv-print.exp (test_float_accepted): New function.
2932 (test_float_rejected): New function.
2933 * gdb.objc/print.exp: New file.
2934 * gdb.pascal/print.exp: New file.
2935 * lib/objc.exp: New file.
2936
7b3fd859
PM
29372010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
2938
2939 * gdb.base/default.exp (info set): Avoid full buffer error and force
2940 reading up to final gdb prompt.
2941 (show): Likewise.
2942
c92817ce
TT
29432010-08-18 Tom Tromey <tromey@redhat.com>
2944
2945 PR symtab/11919:
2946 * gdb.base/completion.exp: Add test.
2947
f1208f9e
DE
29482010-08-18 Doug Evans <dje@google.com>
2949
2950 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
2951 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
2952 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
2953 Simplify, early exit if runto_main fails.
2954 * gdb.fortran/exprs.exp: load_lib fortran.exp.
2955 (set_lang_fortran): Moved to lib/fortran.exp.
2956 * gdb.fortran/types.exp: load_lib fortran.exp.
2957 (set_lang_fortran): Moved to lib/fortran.exp.
2958 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
2959 * gdb.java/jprint.exp (set_lang_java): Ditto.
2960 * gdb.java/jv-exp.exp: load_lib java.exp.
2961 If set_lang_java fails, issue a warning instead of failure to be
2962 consistent with other set_lang_foo uses.
2963 (set_lang_java): Moved to lib/java.exp.
2964 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
2965 If set_lang_java fails, issue a warning instead of failure to be
2966 consistent with other set_lang_foo uses.
2967 * gdb.pascal/types.exp: load_lib pascal.exp.
2968 (set_lang_pascal): Moved to lib/pascal.exp.
2969 * lib/fortran.exp: New file.
2970 * lib/java.exp (set_lang_java): New function.
2971 * lib/pascal.exp (set_lang_pascal): New function.
2972
2f06b485
YQ
29732010-08-18 Yao Qi <yao@codesourcery.com
2974
2975 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
2976 func_nofb_start and func_loopfb_start, so that address of functions
2977 is equal to these labels on Thumb.
2978
96e25403
YQ
29792010-08-18 Yao Qi <yao@codesourcery.com>
2980
2981 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
2982 to reflect latest c source file.
2983
36e6adc4
JK
29842010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2985
2986 * gdb.cp/infcall-dlopen.exp: New file.
2987 * gdb.cp/infcall-dlopen.cc: New file.
2988 * gdb.cp/infcall-dlopen-lib.cc: New file.
2989
f431efe5
PA
29902010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2991 Pedro Alves <pedro@codesourcery.com>
2992
2993 PR breakpoints/11371
2994
2995 * gdb.base/watch-cond-infcall.exp: New file.
2996 * gdb.base/watch-cond-infcall.c: New file.
2997
06a64a0b
TT
29982010-08-16 Tom Tromey <tromey@redhat.com>
2999
3000 * gdb.base/help.exp: Update.
3001 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
3002 watchpoint.
3003 (test_watch_location): New proc.
3004 (test_watchpoint_in_big_blob): Delete watchpoint.
3005 * gdb.base/watchpoint.c (func5): New function.
3006 (main): Call it.
3007
70ebf4ed
DE
30082010-08-16 Doug Evans <dje@google.com>
3009
3010 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
3011
ca5c20b6
PM
30122010-08-11 Phil Muldoon <pmuldoon@redhat.com>
3013
3014 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
3015 tests.
3016
7346b668
KW
30172010-08-11 Ken Werner <ken.werner@de.ibm.com>
3018
3019 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
3020 * gdb.base/gnu_vector.c: New File.
3021 * gdb.base/gnu_vector.exp: Likewise.
3022
cb2e07a6
PM
30232010-08-11 Phil Muldoon <pmuldoon@redhat.com>
3024
3025 * gdb.python/python.c: New File.
3026 * gdb.python/python-sl.c: New File.
3027 * gdb.python/python.exp: Test solib_address and decode_line
3028 * functions.
3029
5da1313b
JK
30302010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3031
3032 * gdb.python/python.exp (show height, set height 10)
3033 (verify pagination beforehand, verify pagination beforehand: q)
3034 (gdb.execute does not page, verify pagination afterwards)
3035 (verify pagination afterwards: q): New.
3036
49c3ccf7
DE
30372010-08-02 Doug Evans <dje@google.com>
3038
3039 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
3040 because of an older gcc, change test2
3041 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
3042 to unsupported.
3043
42c0c4f1
KH
30442010-07-30 Kazu Hirata <kazu@codesourcery.com>
3045
3046 * gdb.base/break-always.exp: Do not expect full paths to file
3047 names.
3048 * gdb.base/commands.exp: Likewise.
3049
d3765805
DE
30502010-07-30 Doug Evans <dje@google.com>
3051
c98ee71b
DE
3052 * gdb.cp/temargs.exp: For new tests that require newer gccs,
3053 xfail them when run with older gccs.
3054
fd961404
DE
3055 * lib/gdb.exp (build_executable): Forward "c++" option to
3056 get_compiler_info.
3057
999adef4
DE
3058 * gdb.python/py-type.exp (test_template): Mark as xfail tests
3059 "python print ttype.template_argument(1)" and
3060 "python print isinstance(ttype.template_argument(1), gdb.Value)"
3061 if using gcc 4.4 or earlier.
3062
d3765805
DE
3063 * gdb.base/valgrind-db-attach.exp: Use unique test name for
3064 attach-to-debugger handling.
3065
1276c759
JK
30662010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3067
3068 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
3069 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
3070 (main): Use copyreloc.
3071 * gdb.base/prelink.exp (split debug of executable)
3072 (.dynbss vs. .bss address shift): New tests.
3073
88caa9b9
PA
30742010-07-29 Pedro Alves <pedro@codesourcery.com>
3075
3076 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
3077 in gdb_test_multiple.
3078
c6f2ac43
PA
30792010-07-29 Pedro Alves <pedro@codesourcery.com>
3080
3081 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
3082 environment.
3083
326fd672
TT
30842010-07-28 Tom Tromey <tromey@redhat.com>
3085
3086 PR python/11060:
3087 * gdb.python/py-type.c (Temargs): New template.
3088 (temvar): New variable.
3089 * gdb.python/py-type.exp (test_template): New proc.
3090
3ce3b1ba
PA
30912010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
3092
3093 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
3094 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
3095
34eaf542
TT
30962010-07-28 Tom Tromey <tromey@redhat.com>
3097
3098 PR c++/9946:
3099 * gdb.cp/temargs.exp: New file.
3100 * gdb.cp/temargs.cc: New file.
3101
d41b819e
JK
31022010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3103
3104 * gdb.base/help.exp (help disassemble): Update the content.
3105
26ab7092
JK
31062010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3107
3108 * gdb.threads/ia64-sigill.exp: New file.
3109 * gdb.threads/ia64-sigill.c: New file.
3110
5283e9e1
TT
31112010-07-27 Tom Tromey <tromey@redhat.com>
3112
3113 * gdb.opt/inline-cmds.c (ATTR): New define.
3114 (func1): Use it.
3115 (func2): Likewise.
3116 (func3): Likewise.
3117 (outer_inline1): Likewise.
3118 (outer_inline2): Likewise.
3119 * gdb.opt/inline-bt.c (ATTR): New define.
3120 (func1): Use it.
3121 (func2): Likewise.
3122 * gdb.opt/inline-locals.c (ATTR): New define.
3123 (func1): Use it.
3124 (func2): Likewise.
3125
e992ef73
TT
31262010-07-27 Tom Tromey <tromey@redhat.com>
3127
3128 * gdb.stabs/gdb11479.c (hack): New function.
3129 (test): Use it.
3130 (test2): Use it.
3131 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
3132 (int32_search_buf, int64_search_buf): No longer static.
3133 (x): Remove.
3134 * gdb.base/relocate.c (hack): New function.
3135
5374244e
PM
31362010-07-27 Phil Muldoon <pmuldoon@redhat.com>
3137
3138 * gdb.python/py-value.exp (test_inferior_function_call): New function.
3139 * gdb.python/py-value.c (func1): New function.
3140 (func2): Likewise.
3141
a99aee83
CV
31422010-07-26 Corinna Vinschen <vinschen@redhat.com>
3143
3144 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
3145 as not to clash with .data section.
3146
a04ba985
JG
31472010-07-26 Jerome Guitton <guitton@adacore.com>
3148
3149 * gdb.base/code_elim.exp: New file.
3150 * gdb.base/code_elim1.c: New file.
3151 * gdb.base/code_elim2.c: New file.
3152
23bd0f7c
PA
31532010-07-21 Pedro Alves <pedro@codesourcery.com>
3154
3155 PR symtab/11827
3156
3157 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
3158 (some_volatile_enum): New variable.
3159 * gdb.base/printcmds.exp (test_print_enums): New.
3160 <top level>: Call it.
3161
883df6dd
SW
31622010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
3163
3164 * gdb.cp/fpointer.cc: New test.
3165 * gdb.cp/fpointer.exp: New test.
3166
569b05a5
JK
31672010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3168
3169 * gdb.base/solib-nodir.exp: New file.
3170 * lib/gdb.exp (runto): New case for a GDB internal error.
3171
51d7d803
JK
31722010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3173 Ulrich Weigand <uweigand@de.ibm.com>
3174 Tom Tromey <tromey@redhat.com>
3175
3176 * gdb.base/charset-malloc.c: New file.
3177 * gdb.base/charset.c (malloc_stub): New prototype.
3178 (main): Call it instead of malloc itself.
3179 * gdb.base/charset.exp: Use only prepare_for_testing.
3180 (binfile): Remove the variable.
3181
c0edd9ed
JK
31822010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3183
3184 Make core files the process_stratum.
3185 * gdb.base/corefile.exp (run: load core again)
3186 (run: sanity check we see the core file, run: with core)
3187 (run: core file is cleared, attach: load core again)
3188 (attach: sanity check we see the core file, attach: with core)
3189 (attach: core file is cleared): New tests.
3190 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
3191
3cbaedff
KW
31922010-07-14 Ken Werner <ken.werner@de.ibm.com>
3193
3194 * gdb.arch/altivec-abi.exp: New tests.
3195
91158a56
TT
31962010-07-13 Tom Tromey <tromey@redhat.com>
3197
3198 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
3199 (main): Use it.
3200 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
3201
0f5238ed
TT
32022010-07-13 Tom Tromey <tromey@redhat.com>
3203
3204 * gdb.base/label.exp: New file.
3205 * gdb.base/label.c: New file.
3206
add265ae
L
32072010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
3208 H.J. Lu <hongjiu.lu@intel.com>
3209
3210 * lib/gdb.exp (is_ilp32_target): New.
3211 (is_lp64_target): Likewise.
3212
3213 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
3214 target.
3215 * gdb.arch/amd64-disp-step.exp: Likewise.
3216 * gdb.arch/amd64-dword.exp: Likewise.
3217 * gdb.arch/amd64-i386-address.exp: Likewise.
3218 * gdb.arch/amd64-word.exp: Likewise.
889bf7c5 3219
add265ae
L
3220 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
3221 target.
3222 * gdb.arch/i386-bp_permanent.exp: Likewise.
3223 * gdb.arch/i386-byte.exp: Likewise.
3224 * gdb.arch/i386-disp-step.exp: Likewise.
3225 * gdb.arch/i386-gnu-cfi.exp: Likewise.
3226 * gdb.arch/i386-prologue.exp: Likewise.
3227 * gdb.arch/i386-size-overlap.exp: Likewise.
3228 * gdb.arch/i386-size.exp: Likewise.
3229 * gdb.arch/i386-sse.exp: Likewise.
3230 * gdb.arch/i386-unwind.exp: Likewise.
3231 * gdb.arch/i386-word.exp: Likewise.
3232
3233 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
3234 test only when building 64-bit executables. Do not hard-code
3235 -m64 option.
3236
2dfb8c17
DE
32372010-07-07 Doug Evans <dje@google.com>
3238
3239 * lib/gdb.exp (gdb_test_list_exact): New function.
3240 * gdb.base/default.exp (show convenience): Call it, add tests for
3241 $_sdata = void, $_thread = 0.
3242
4e5799b6
JK
32432010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3244 Joel Brobecker <brobecker@adacore.com>
3245
3246 Fix re-run of PIE executable, PR shlibs/11776.
3247 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
3248 Remove $displacement_main to match the solib-svr4.c change. New "kill"
3249 and re-"run" of the inferior.
3250
1a219cc7
JK
32512010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3252 Joel Brobecker <brobecker@adacore.com>
3253
3254 Cope with missing /usr/sbin/prelink.
3255 * lib/prelink-support.exp (prelink_no):
3256 <result == 1 && $output is "no such file or directory">: New.
3257 (prelink_yes): Likewise. Return on failed prelink_no.
3258
5e3b36f8
JK
32592010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3260 Joel Brobecker <brobecker@adacore.com>
3261
3262 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
3263 build_executable by build_executable_own_libs. Replace "prelink -R"
3264 execution by a call of prelink_yes. Comment why "prelink -r" needs no
3265 change.
3266 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
3267 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
3268 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
3269 Replace build_executable by build_executable_own_libs's function
3270 build_executable_own_libs.
3271 (prelinkNO): Create new stub to call prelink_no.
3272 (prelinkYES): Create new stub to call prelink_yes.
3273 (test_attach): Rename calls of copy to file_copy.
3274 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
3275 (copy): Move to ...
3276 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
3277 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
3278 * gdb.base/prelink.exp: Disable testcase also for is_remote and
3279 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
3280 special flags by gdb_compile_shlib. Replace second gdb_compile by
3281 build_executable_own_libs. Replace "prelink -R" execution by a call of
3282 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
3283 a second call of prelink_yes. Replace restart commands by
3284 clean_restart.
3285 (prelink): Rename to ...
3286 (seen displacement message): ... this test. Extend its expectation
3287 strictness.
3288
86e4bafc
JK
32892010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3290
3291 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
3292 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
3293 displacement message exactly once.
3294
3cd07d20
JK
32952010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3296 Joel Brobecker <brobecker@adacore.com>
3297
3298 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
3299 its restore after the <$relink_args != ""> loop. new comment.
3300
0a1e94c7
JK
33012010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3302 Joel Brobecker <brobecker@adacore.com>
3303
3304 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
3305 code for it. New variable relink_args.
3306 (prelinkYES): Call prelinkNO.
3307 (test_attach): Accept new parameter relink_args. Re-prelink the binary
3308 in such case. Move the core code to ...
3309 (test_attach_gdb): ... a new function. Send GDB command "file".
3310 Extend expected "Attaching to " string.
3311
2f70bcfb
TT
33122010-07-02 Tom Tromey <tromey@redhat.com>
3313
3314 * gdb.base/bitops.exp: Remove extraneous "pass".
3315
a17ac5b0
TT
33162010-07-02 Ken Werner <ken.werner@de.ibm.com>
3317
3318 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
3319
dc10affe
PA
33202010-07-01 Pedro Alves <pedro@codesourcery.com>
3321
d41c0fc8
PA
3322 * gdb.base/help.exp: Adjust expected output.
3323
33242010-07-01 Pedro Alves <pedro@codesourcery.com>
3325
3326 * gdb.base/help.exp: Adjust expected output.
dc10affe 3327
0a600c36
JK
33282010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3329
3330 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
3331 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
3332 c++/11702.
3333
37cc8bfe
JK
33342010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3335 Doug Evans <dje@google.com>
3336
3337 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
3338 add .dynamic entry'.
3339
254e6b9e
DE
33402010-06-29 Doug Evans <dje@google.com>
3341
3342 Test PR c++/11702.
3343 * gdb.cp/m-static.exp: Add testcase.
3344 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
3345
595939de 33462010-06-28 Phil Muldoon <pmuldoon@redhat.com>
889bf7c5
PA
3347 Tom Tromey <tromey@redhat.com>
3348 Thiago Jung Bauermann <bauerman@br.ibm.com>
595939de
PM
3349
3350 * gdb.python/py-inferior.c: New File.
3351 * gdb.python/py-infthread.c: New File.
3352 * gdb.python/py-inferior.exp: New File.
3353 * gdb.python/py-infthread.exp: New File.
3354
98751a41
JK
33552010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3356
3357 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
3358 (ptype ::C::OtherFileClass typedefs): New.
3359 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
3360 (C::OtherFileClass::cOtherFileClassVar2): New.
3361 (C::OtherFileClass::cOtherFileClassVar_use): Use also
3362 cOtherFileClassVar2.
3363 (C::cOtherFileType2, C::cOtherFileVar2): New.
3364 (C::cOtherFileVar_use): use also cOtherFileVar2.
3365 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
3366
41f62f39
JK
33672010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3368
3369 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
3370 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
3371 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
3372 (print ::C::cOtherFileVar)
3373 (whatis C::OtherFileClass::cOtherFileClassType)
3374 (whatis ::C::OtherFileClass::cOtherFileClassType)
3375 (print C::OtherFileClass::cOtherFileClassVar)
3376 (print ::cOtherFileClassVar)
3377 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
3378 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
3379 trailing content.
3380 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
3381 (C::OtherFileClass::cOtherFileClassVar)
3382 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
3383 (C::cOtherFileVar, C::cOtherFileVar_use): New.
3384
af53d231
JK
33852010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3386
3387 Test PR c++/11703 and PR gdb/1448.
3388 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
3389 gdb/1448.
3390
9655fd1a
JK
33912010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3392
3393 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
3394 (main) <rtti_data>: New.
3395 * gdb.cp/virtbase.exp (print rtti_data): New.
3396
824cc8dd
JK
33972010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3398 Joel Brobecker <brobecker@adacore.com>
3399
3400 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
3401
6036c742
JK
34022010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3403
3404 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
3405
de6a0421
DE
34062010-06-28 Doug Evans <dje@google.com>
3407
3408 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
3409
b2dae948
DE
34102010-06-27 Doug Evans <dje@google.com>
3411
3412 * gdb.cp/m-static.exp: Update expected test output.
3413
0f3bb72e
PH
34142010-06-25 Paul Hilfinger <hilfinger@adacore.com>
3415
889bf7c5
PA
3416 * gdb.gdb/selftest.exp: Adjust expected message for
3417 capturing start-up runtime.
0f3bb72e 3418
bc9f0842
TT
34192010-06-25 Tom Tromey <tromey@redhat.com>
3420
3421 PR python/10808:
3422 * gdb.python/python.exp: Add new tests.
3423
099ef718
SW
34242010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
3425
3426 * gdb.cp/operator.cc: Created an import loop.
3427 * gdb.cp/operator.exp: Added testcase for import loop.
3428
5868a632
JK
34292010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3430
3431 Test PR python/11407.
3432 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
3433 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
3434 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
3435 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
3436 executable_nofb and executable_fb. New variables srcsfile, objsfile,
3437 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
3438 binfile. Call gdb_compile with clean_restart twice.
3439 (func_nofb print, func_nofb backtrace, func_loopfb print)
3440 (func_loopfb backtrace): New.
3441
af76db58
JK
34422010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3443
3444 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
3445 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
3446 by a hand made one.
3447 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
3448 i?86 requirement. Remove variables srcfile and binfile. New variable
3449 sources, executable_nofb and executable_fb. Call prepare_for_testing.
3450
f2c7657e
UW
34512010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3452
3453 * gdb.cell/dwarfaddr.exp: New file.
3454 * gdb.cell/dwarfaddr.S: New file.
3455
628fe4e4
JK
34562010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3457
3458 Test PR 9436.
3459 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
3460
f1421989
HZ
34612010-06-24 Hui Zhu <teawater@gmail.com>
3462
3463 * gdb.base/eval.exp: New file.
3464
d03285ec
UW
34652010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3466
3467 * gdb.cell/fork.exp: New file.
3468 * gdb.cell/fork.c: Likewise.
3469 * gdb.cell/fork-spu.c: Likewise.
3470
41b2c92d
PM
34712010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
3472
3473 * lib/gdb.exp (banned_variables_traced): New global variable.
3474 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
3475 (gdb_init): Use `trace add variable' instead of obsolete
3476 `trace variable'.
3477
d5bc977f
DE
34782010-06-21 Doug Evans <dje@google.com>
3479
3480 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
3481
d2ed6730
UW
34822010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3483
3484 * gdb.arch/spu-ls.exp: New file.
3485 * gdb.arch/spu-ls.c: Likewise.
3486
6aed2dbc
SS
34872010-06-18 Stan Shebs <stan@codesourcery.com>
3488
3489 * gdb.threads/thread-specific.exp: Add tests of $_thread.
3490
e0756905
UW
34912010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3492
3493 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
3494 * gdb.base/watch-cond.exp: Likewise.
3495 * gdb.python/py-breakpoint.exp: Likewise.
3496
d8053d4d
PA
34972010-06-18 Pedro Alves <pedro@codesourcery.com>
3498
3499 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
3500 clean_restart, make sure every test has a distinct message, and
3501 that messages don't include the executable' full path.
3502
81ce510c
DE
35032010-06-17 Doug Evans <dje@google.com>
3504
3505 * gdb.arch/i386-size.exp: Updated expected output for
3506 DISASSEMBLY_OMIT_FNAME.
3507
65d79d4b
SDJ
35082010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3509 Sergio Durigan Junior <sergiodj@redhat.com>
3510
3511 * gdb.base/watch-notconst.c: New file.
3512 * gdb.base/watch-notconst.S: New file.
3513 * gdb.base/watch-notconst2.c: New file.
3514 * gdb.base/watch-notconst2.S: New file.
3515 * gdb.base/watch-notconst.exp: New file.
3516 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
3517 (func4): Add operations on `global_ptr_ptr'.
3518 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
3519 routine to test watchpoints created with a constant expression.
3520 (test_inaccessible_watchpoint): Include tests for watchpoints
3521 created with a constant expression.
3522
df0f4836
KB
35232010-06-14 Kevin Buettner <kevinb@redhat.com>
3524
3525 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
3526 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
3527 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
3528 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
3529 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
3530 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
3531 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
3532 of `_start'.
3533
b769def5
UW
35342010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3535
3536 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
3537 not supported on the target.
3538 * gdb.mi/mi-nonstop-exit.exp: Likewise.
3539 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
3540 * gdb.mi/mi-nsintrall.exp: Likewise.
3541 * gdb.mi/mi-nsmoribund.exp: Likewise.
3542 * gdb.mi/mi-nsthrexec.exp: Likewise.
3543
d914c394
SS
35442010-06-11 Stan Shebs <stan@codesourcery.com>
3545
3546 * gdb.base/permissions.exp: New file.
3547
35482010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
3549
3550 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
3551 does not support ELF executable class.
3552
f3ce5b9c
UW
35532010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3554
3555 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
3556
8e46892c
JK
35572010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3558
3559 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
3560 (runto): Catch "The target does not support running in non-stop mode.".
3561
6cc55c64
MS
35622010-06-11 Michael Snyder <msnyder@vmware.com>
3563
3564 * gdb.base/setshow.exp (set language asm): Don't use
3565 gdb_test_no_output, fails on some targets.
3566
caddefa4
UW
35672010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3568
3569 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
3570 * gdb.cp/pr9167.exp: Likewise.
3571
468b1aa7
UW
35722010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3573
3574 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
3575
5c3552dc
UW
35762010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3577
3578 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
3579
02e6fe6a
UW
35802010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3581
3582 * gdb.base/charset.c (main): Make sure malloc gets linked in.
3583
0e03807e
TT
35842010-06-11 Tom Tromey <tromey@redhat.com>
3585
3586 PR gdb/9977, PR exp/11636::
3587 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
3588 (pieces_test_f6): Update expected output.
3589
2bdf28a0
JK
35902010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3591
3592 * gdb.base/moribund-step.exp: New.
3593
f6978de9
MS
35942010-06-08 Michael Snyder <msnyder@vmware.com>
3595
3596 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
889bf7c5 3597 * gdb.ada/boolean_expr.exp:
f6978de9
MS
3598 * gdb.ada/frame_args.exp: Ditto.
3599 * gdb.ada/lang_switch.exp: Ditto.
3600 * gdb.ada/ptype_arith_binop.exp: Ditto.
3601 * gdb.ada/ref_param.exp: Ditto.
3602 * gdb.ada/type_coercion.exp:Ditto.
3603
3604 * gdb.asm/asm-source.exp: Ditto.
3605
3606 * gdb.base/attach.exp: Ditto.
3607 * gdb.base/bitfields2.exp: Ditto.
3608 * gdb.base/call-signal-resume.exp: Ditto.
3609 * gdb.base/callfuncs.exp: Ditto.
3610 * gdb.base/commands.exp: Ditto.
3611 * gdb.base/dbx.exp: Ditto.
3612 * gdb.base/default.exp: Ditto.
3613 * gdb.base/dump.exp: Ditto.
3614 * gdb.base/exprs.exp: Ditto.
3615 * gdb.base/freebpcmd.exp: Ditto.
3616 * gdb.base/interrupt.exp: Ditto.
3617 * gdb.base/list.exp: Ditto.
3618 * gdb.base/long_long.exp: Ditto.
3619 * gdb.base/maint.exp: Ditto.
3620 * gdb.base/ptype.exp: Ditto.
3621 * gdb.base/return.exp: Ditto.
3622 * gdb.base/setshow.exp: Ditto.
3623 * gdb.base/sigbpt.exp: Ditto.
3624 * gdb.base/sigrepeat.exp: Ditto.
3625
3626 * gdb.cp/classes.exp: Ditto.
3627
3628 * gdb.dwarf2/dw2-restore.exp: Ditto.
3629
3630 * gdb.gdb/selftest.exp: Ditto.
3631
3632 * gdb.multi/base.exp: Ditto.
3633 * gdb.multi/bkpt-multi-exec.exp: Ditto.
3634
3635 * gdb.python/py-block.exp: Ditto.
3636 * gdb.python/py-prettyprint.exp: Ditto.
3637 * gdb.python/py-template.exp: Ditto.
3638
3639 * gdb.server/ext-attach.exp: Ditto.
3640 * gdb.server/ext-run.exp: Ditto.
3641 * gdb.server/server-mon.exp: Ditto.
3642
3643 * gdb.threads/fork-thread-pending.exp: Ditto.
3644 * gdb.threads/hand-call-in-threads.exp: Ditto.
3645 * gdb.threads/interrupted-hand-call.exp: Ditto.
3646 * gdb.threads/linux-dp.exp: Ditto.
3647 * gdb.threads/manythreads.exp: Ditto.
3648 * gdb.threads/print-threads.exp: Ditto.
3649 * gdb.threads/pthreads.exp: Ditto.
3650 * gdb.threads/schedlock.exp: Ditto.
3651 * gdb.threads/thread-unwindonsignal.exp: Ditto.
3652 * gdb.threads/threadapply.exp: Ditto.
3653
de7ff789
MS
36542010-06-08 Michael Snyder <msnyder@vmware.com>
3655
889bf7c5 3656 * gdb.ada/exec_changed.exp:
de7ff789
MS
3657 Use ".*" instead of "" as wildcard regexp.
3658
3659 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
3660 * gdb.base/call-ar-st.exp: Ditto.
3661 * gdb.base/checkpoint.exp: Ditto.
3662 * gdb.base/default.exp: Ditto.
3663 * gdb.base/dump.exp: Ditto.
3664 * gdb.base/ending-run.exp: Ditto.
3665 * gdb.base/fileio.exp: Ditto.
3666 * gdb.base/miscexprs.exp: Ditto.
3667 * gdb.base/pointers.exp: Ditto.
3668 * gdb.base/readline.exp: Ditto.
3669 * gdb.base/reread.exp: Ditto.
3670 * gdb.base/restore.exp: Ditto.
3671 * gdb.base/shlib-call.exp: Ditto.
3672 * gdb.base/valgrind-db-attach.exp: Ditto.
3673 * gdb.base/volatile.exp: Ditto.
3674 * gdb.base/watchpoints.exp: Ditto.
3675
3676 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
3677
3678 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
3679 * gdb.python/py-value.exp: Ditto.
3680
3681 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
3682 * gdb.trace/circ.exp: Ditto.
3683 * gdb.trace/collection.exp: Ditto.
3684 * gdb.trace/packetlen.exp: Ditto.
3685 * gdb.trace/passc-dyn.exp: Ditto.
3686 * gdb.trace/report.exp: Ditto.
3687 * gdb.trace/tfile.exp: Ditto.
3688 * gdb.trace/tfind.exp: Ditto.
3689 * gdb.trace/while-dyn.exp: Ditto.
3690
3bebe2f2
JK
36912010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3692
3693 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
3694
5c631832
JK
36952010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3696
3697 Test PR 10640.
3698 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
3699
4c3376c8
SW
37002010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
3701
3702 * gdb.cp/koenig.exp: Test for ADL operators.
3703 * gdb.cp/koenig.cc: Added ADL operators.
3704 * gdb.cp/operator.exp: New test.
3705 * gdb.cp/operator.cc: New test.
3706
dc226d5a
MS
37072010-06-04 Michael Snyder <msnyder@vmware.com>
3708
dfb88a23
MS
3709 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
3710 * gdb.base/pending.exp: Ditto.
f7ae76b3 3711
dc226d5a
MS
3712 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
3713
967cf477
DE
37142010-06-04 Doug Evans <dje@google.com>
3715
3716 * gdb.python/py-prettyprint.exp: Add new test for enabled and
3717 disabled printers.
3718 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
3719 (enable_lookup_function): New function.
3720
eb801841
TT
37212010-06-04 Tom Tromey <tromey@redhat.com>
3722
3723 * gdb.python/py-value.exp (test_value_hash): Don't test equality
3724 of hash and id.
3725
38979823
JK
37262010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3727
3728 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
3729 newline.
3730 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
3731 (empty verbose non-noisy clear, empty verbose noisy clear)
3732 (empty non-verbose noisy clear): Likewise.
3733
35ec993f
MS
37342010-06-03 Michael Snyder <msnyder@vmware.com>
3735
3736 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
3737 * gdb.base/display.exp: Ditto.
3738 * gdb.base/find.exp: Ditto.
3739 * gdb.base/ifelse.exp: Ditto.
3740 * gdb.base/multi-forks.exp: Ditto.
3741 * gdb.base/recurse.exp: Ditto.
3742 * gdb.base/setshow.exp: Ditto.
3743 * gdb.base/value-double-free.exp: Ditto.
3744 * gdb.base/watch-vfork.exp: Ditto.
3745 * gdb.base/watch_thread_num.exp: Ditto.
3746 * gdb.base/watchpoint-solib.exp: Ditto.
3747 * gdb.base/watchpoint.exp: Ditto.
3748 * gdb.base/watchpoints.exp: Ditto.
3749
3750 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
3751 * gdb.cp/overload.exp: Ditto.
3752 * gdb.cp/virtfunc.exp: Ditto.
3753
3754 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
3755
889bf7c5 3756 * gdb.reverse/watch-precsave.exp:
35ec993f
MS
3757 Replace gdb_test with gdb_test_no_output.
3758
889bf7c5 3759 * gdb.threads/attach-into-signal.exp:
35ec993f
MS
3760 Replace gdb_test with gdb_test_no_output.
3761 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
3762 * gdb.threads/watchthreads.exp: Ditto.
3763 * gdb.threads/watchthreads2.exp: Ditto.
3764
3765 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
3766 * gdb.trace/tfind.exp: Ditto.
3767
c22decce
JB
37682010-06-03 Joel Brobecker <brobecker@adacore.com>
3769
3770 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
3771 successful test if message is the empty string.
3772
fd5700c7
JK
37732010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3774
3775 * gdb.fortran/module.exp (stopped language detection): New test.
3776
f55ee35c
JK
37772010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3778
3779 Support DW_TAG_module as separate namespaces.
3780 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
3781 gdb.fortran/library-module-lib.f90: New.
3782 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
3783 (print i): Remove.
3784 (continue to breakpoint: i-is-1, print var_i value 1)
3785 (continue to breakpoint: i-is-2, print var_i value 2)
3786 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
3787 (print var_d, print var_i value 14, ptype modmany, complete `modm)
3788 (complete `modmany, complete `modmany`, complete `modmany`var)
3789 (show language, setting breakpoint at module): New tests.
3790 * gdb.fortran/module.f90 (module mod): Remove.
3791 (module mod1, module mod2, module modmany, subroutine sub1)
3792 (subroutine sub2, program module): New.
3793
b8e8282f
JK
37942010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3795
3796 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
3797 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
3798 * gdb.cp/anon-union.exp (pass): Rename to ...
3799 (print z 2): ... here.
b8e8282f 3800
019ebafc
MS
38012010-06-02 Michael Snyder <msnyder@vmware.com>
3802
e68d8fd4
MS
3803 * gdb.trace/actions.exp: Use gdb_test_no_output.
3804 * gdb.trace/circ.exp: Ditto.
3805 * gdb.trace/packetlen.exp: Ditto.
3806 * gdb.trace/save-trace.exp: Ditto.
3807 * gdb.trace/tracecmd.exp: Ditto.
3808 * gdb.trace/tsv.exp: Ditto.
3809
12b5d08a
MS
3810 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
3811 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
3812 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
3813 * gdb.threads/manythreads.exp: Ditto.
3814 * gdb.threads/print-threads.exp: Ditto.
3815 * gdb.threads/pthreads.exp: Ditto.
3816 * gdb.threads/schedlock.exp: Ditto.
3817 * gdb.threads/staticthreads.exp: Ditto.
3818 * gdb.threads/thread-specific.exp: Ditto.
3819 * gdb.threads/thread-unwindonsignal.exp: Ditto.
3820 * gdb.threads/threadapply.exp: Ditto.
3821 * gdb.threads/watchthreads.exp: Ditto.
3822 * gdb.threads/watchthreads2.exp: Ditto.
3823
89493308
MS
3824 * gdb.python/py-block.exp: Use gdb_test_no_output.
3825 * gdb.python/py-prettyprint.exp: Ditto.
3826 * gdb.python/py-template.exp: Ditto.
3827 * gdb.python/py-value.exp: Ditto.
3828
3829 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
3830 * gdb.reverse/watch-reverse.exp: Ditto.
3831
3832 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
3833 * gdb.server/ext-run.exp: Ditto.
3834
019ebafc
MS
3835 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
3836 * gdb.dwarf2/dw2-compressed.exp: Ditto.
3837 * gdb.dwarf2/dw2-intercu.exp: Ditto.
3838 * gdb.dwarf2/dw2-intermix.exp: Ditto.
3839 * gdb.dwarf2/dw2-producer.exp: Ditto.
3840 * gdb.dwarf2/mac-fileno.exp: Ditto.
3841
3842 * gdb.gdb/observer.exp: Use gdb_test_no_output.
3843 * gdb.gdb/selftest.exp: Ditto.
3844
3845 * gdb.multi/base.exp: Use gdb_test_no_output.
3846
3847 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
3848
3e0ca3a5
JK
38492010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3850
3851 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
3852
9db70545
MS
38532010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
3854
a8d52276
MS
3855 * gdb.cp/class2.exp: Use gdb_test_no_output.
3856 * gdb.cp/classes.exp: Ditto.
3857 * gdb.cp/extern-c.exp: Ditto.
3858 * gdb.cp/inherit.exp: Ditto.
3859 * gdb.cp/maint.exp: Ditto.
3860 * gdb.cp/mb-inline.exp: Ditto.
3861 * gdb.cp/mb-templates.exp: Ditto.
3862 * gdb.cp/method2.exp: Ditto.
3863 * gdb.cp/misc.exp: Ditto.
3864 * gdb.cp/ovldbreak.exp: Ditto.
3865 * gdb.cp/punctuator.exp: Ditto.
3866 * gdb.cp/templates.exp: Ditto.
3867 * gdb.cp/virtbase.exp: Ditto.
3868
889bf7c5 3869 * gdb.threads/attach-stopped.exp:
9db70545 3870 Replace uses of send_gdb / gdb_expect.
889bf7c5 3871 * gdb.threads/attachstop-mt.exp:
9db70545 3872 Replace uses of send_gdb / gdb_expect.
889bf7c5 3873 * gdb.threads/gcore-thread.exp:
9db70545 3874 Replace uses of send_gdb / gdb_expect.
889bf7c5 3875 * gdb.threads/hand-call-in-threads.exp:
9db70545
MS
3876 Replace uses of send_gdb / gdb_expect.
3877 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 3878 * gdb.threads/print-threads.exp:
9db70545
MS
3879 Replace uses of send_gdb / gdb_expect.
3880 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
3881 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
3882 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
3883
3884 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
3885 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
3886 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
3887 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
3888 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
3889 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
3890 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
3891 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
3892 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
3893 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
3894 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
3895
359cc68c
JK
38962010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3897
3898 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
3899
7d3fe98e
SW
39002010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
3901
3902 * gdb.cp/koenig.exp: Added new test case.
3903 * gdb.cp/koenig.cc: Ditto.
3904
27d3a1a2
MS
39052010-06-01 Michael Snyder <msnyder@vmware.com>
3906
3907 * gdb.base/arithmet.exp: Use gdb_test_no_output.
3908 * gdb.base/arrayidx.exp: Ditto.
3909 * gdb.base/attach.exp: Ditto.
3910 * gdb.base/auxv.exp: Ditto.
3911 * gdb.base/bigcre.exp: Ditto.
3912 * gdb.base/break-always.exp: Ditto.
3913 * gdb.base/break-interp.exp: Ditto.
3914 * gdb.base/break.exp: Ditto.
3915 * gdb.base/breakpoint-shadow.exp: Ditto.
3916 * gdb.base/call-ar-st.exp: Ditto.
3917 * gdb.base/call-sc.exp: Ditto.
3918 * gdb.base/call-signal-resume.exp: Ditto.
3919 * gdb.base/callfuncs.exp: Ditto.
3920 * gdb.base/catch-syscall.exp: Ditto.
3921 * gdb.base/charset.exp: Ditto.
3922 * gdb.base/code-expr.exp: Ditto.
3923 * gdb.base/commands.exp: Ditto.
3924 * gdb.base/cond-expr.exp: Ditto.
3925 * gdb.base/condbreak.exp: Ditto.
3926 * gdb.base/cursal.exp: Ditto.
3927 * gdb.base/cvexpr.exp: Ditto.
3928 * gdb.base/default.exp: Ditto.
3929 * gdb.base/del.exp: Ditto.
3930 * gdb.base/detach.exp: Ditto.
3931 * gdb.base/display.exp: Ditto.
3932 * gdb.base/ena-dis-br.exp: Ditto.
3933 * gdb.base/eval-skip.exp: Ditto.
3934 * gdb.base/foll-fork.exp: Ditto.
3935 * gdb.base/foll-vfork.exp: Ditto.
3936 * gdb.base/frame-args.exp: Ditto.
3937 * gdb.base/funcargs.exp: Ditto.
3938 * gdb.base/gcore-buffer-overflow.exp: Ditto.
3939 * gdb.base/gdbvars.exp: Ditto.
3940 * gdb.base/help.exp: Ditto.
3941 * gdb.base/ifelse.exp: Ditto.
3942 * gdb.base/included.exp: Ditto.
3943 * gdb.base/list.exp: Ditto.
3944 * gdb.base/macscp.exp: Ditto.
3945 * gdb.base/maint.exp: Ditto.
3946 * gdb.base/multi-fork.exp: Ditto.
3947 * gdb.base/overlays.exp: Ditto.
3948 * gdb.base/page.exp: Ditto.
3949 * gdb.base/pending.exp: Ditto.
3950 * gdb.base/pointers.exp: Ditto.
3951 * gdb.base/pr11022.exp: Ditto.
3952 * gdb.base/prelink.exp: Ditto.
3953 * gdb.base/printcmds.exp: Ditto.
3954 * gdb.base/psymtab.exp: Ditto.
3955 * gdb.base/randomize.exp: Ditto.
3956 * gdb.base/relational.exp: Ditto.
3957 * gdb.base/relocate.exp: Ditto.
3958 * gdb.base/remote.exp: Ditto.
3959 * gdb.base/sepdebug.exp: Ditto.
3960 * gdb.base/set-lang-auto.exp: Ditto.
3961 * gdb.base/setshow.exp: Ditto.
3962 * gdb.base/setvar.exp: Ditto.
3963 * gdb.base/signals.exp: Ditto.
3964 * gdb.base/signull.exp: Ditto.
3965 * gdb.base/sigstep.exp: Ditto.
3966 * gdb.base/sizeof.exp: Ditto.
3967 * gdb.base/solib-disc.exp: Ditto.
3968 * gdb.base/store.exp: Ditto.
3969 * gdb.base/structs.exp: Ditto.
3970 * gdb.base/structs2.exp: Ditto.
3971 * gdb.base/subst.exp: Ditto.
3972 * gdb.base/term.exp: Ditto.
3973 * gdb.base/trace-commands.exp: Ditto.
3974 * gdb.base/unwindonsignal.exp: Ditto.
3975 * gdb.base/valgrind-db-attach.exp: Ditto.
3976 * gdb.base/varargs.exp: Ditto.
3977 * gdb.base/watch-cond.exp: Ditto.
3978 * gdb.base/watch_thread_num.exp: Ditto.
3979 * gdb.base/watchpoint-cond-gone.exp: Ditto.
3980 * gdb.base/watchpoint.exp: Ditto.
3981 * gdb.base/whatis-exp.exp: Ditto.
3982
f8d3bf8f
MS
39832010-06-01 Michael Snyder <msnyder@vmware.com>
3984
3985 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
3986 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
3987 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
3988 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
3989 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
3990 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
3991 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
3992 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
3993 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
3994 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
3995 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
3996 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
3997 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
3998 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
3999 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
4000
3f9e0d32
JK
40012010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4002
4003 * gdb.base/commands.exp (begin commands on watch): Remove excessive
4004 trailing newline.
4005 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
4006 * gdb.java/jmisc.exp (p *args\n): Rename to ...
4007 (p *args): ... here and remove excessive trailing newline.
4008
f629457d
JB
40092010-05-31 Joel Brobecker <brobecker@adacore.com>
4010
4011 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
4012
09eef106
JK
40132010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
4014
4015 Accept the new Linux kernel "t (tracing stop)" string.
4016 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
4017 Update comment.
4018 (state_wait) <T (tracing stop)>: New.
4019 (main): Update the state_wait expect string.
4020
94f31136
PA
40212010-05-28 Pedro Alves <pedro@codesourcery.com>
4022
4023 * limits.c, limits.exp: Delete files.
4024 * Makefile.in (clean mostlyclean): Adjust.
4025 * tracecmd.exp: Adjust.
4026
096554ab
JK
40272010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4028
4029 * gdb.base/tui-layout.exp: New.
4030
27d3a1a2 40312010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50 4032
889bf7c5 4033 * gdb.reverse/break-precsave.exp:
bcd2dc50 4034 Replace uses of send_gdb / gdb_expect.
889bf7c5 4035 * gdb.reverse/break-reverse.exp:
bcd2dc50 4036 Replace uses of send_gdb / gdb_expect.
889bf7c5 4037 * gdb.reverse/consecutive-precsave.exp:
bcd2dc50 4038 Replace uses of send_gdb / gdb_expect.
889bf7c5 4039 * gdb.reverse/consecutive-reverse.exp:
bcd2dc50 4040 Replace uses of send_gdb / gdb_expect.
889bf7c5 4041 * gdb.reverse/finish-precsave.exp:
bcd2dc50 4042 Replace uses of send_gdb / gdb_expect.
889bf7c5 4043 * gdb.reverse/finish-reverse.exp:
bcd2dc50 4044 Replace uses of send_gdb / gdb_expect.
889bf7c5 4045 * gdb.reverse/i386-precsave.exp:
bcd2dc50 4046 Replace uses of send_gdb / gdb_expect.
889bf7c5 4047 * gdb.reverse/i386-reverse.exp:
bcd2dc50 4048 Replace uses of send_gdb / gdb_expect.
889bf7c5 4049 * gdb.reverse/i386-sse-reverse.exp:
bcd2dc50 4050 Replace uses of send_gdb / gdb_expect.
889bf7c5 4051 * gdb.reverse/i387-env-reverse.exp:
bcd2dc50 4052 Replace uses of send_gdb / gdb_expect.
889bf7c5 4053 * gdb.reverse/i387-stack-reverse.exp:
bcd2dc50 4054 Replace uses of send_gdb / gdb_expect.
889bf7c5 4055 * gdb.reverse/machinestate-precsave.exp:
bcd2dc50 4056 Replace uses of send_gdb / gdb_expect.
889bf7c5 4057 * gdb.reverse/machinestate.exp:
bcd2dc50 4058 Replace uses of send_gdb / gdb_expect.
889bf7c5 4059 * gdb.reverse/sigall-precsave.exp:
bcd2dc50 4060 Replace uses of send_gdb / gdb_expect.
889bf7c5 4061 * gdb.reverse/sigall-reverse.exp:
bcd2dc50 4062 Replace uses of send_gdb / gdb_expect.
889bf7c5 4063 * gdb.reverse/solib-precsave.exp:
bcd2dc50 4064 Replace uses of send_gdb / gdb_expect.
889bf7c5 4065 * gdb.reverse/solib-reverse.exp:
bcd2dc50 4066 Replace uses of send_gdb / gdb_expect.
889bf7c5 4067 * gdb.reverse/step-precsave.exp:
bcd2dc50 4068 Replace uses of send_gdb / gdb_expect.
889bf7c5 4069 * gdb.reverse/step-reverse.exp:
bcd2dc50 4070 Replace uses of send_gdb / gdb_expect.
889bf7c5 4071 * gdb.reverse/until-precsave.exp:
bcd2dc50 4072 Replace uses of send_gdb / gdb_expect.
889bf7c5 4073 * gdb.reverse/until-reverse.exp:
bcd2dc50 4074 Replace uses of send_gdb / gdb_expect.
889bf7c5 4075 * gdb.reverse/watch-precsave.exp:
bcd2dc50 4076 Replace uses of send_gdb / gdb_expect.
889bf7c5 4077 * gdb.reverse/watch-reverse.exp:
bcd2dc50
MS
4078 Replace uses of send_gdb / gdb_expect.
4079
3def43e0
JK
40802010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4081
4082 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
4083 excessive newline.
4084
27d3a1a2 40852010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
4086
4087 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
4088 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
4089 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
4090 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
4091 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
4092 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
4093 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
4094 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
4095 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
4096 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
4097 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
4098 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
4099 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
4100 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
4101 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
4102 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
4103 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
4104 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
4105 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 4106
27d3a1a2 41072010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 4108
22454424
MS
4109 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
4110 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
4111
4112 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
4113 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
4114 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
4115
889bf7c5 4116 * gdb.reverse/consecutive-reverse.exp:
22454424 4117 Replace uses of send_gdb / gdb_expect.
889bf7c5 4118 * gdb.reverse/consecutive-precsave.exp:
22454424
MS
4119 Replace uses of send_gdb / gdb_expect.
4120
4121 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
4122 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
4123 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 4124 * gdb.mi/mi-ns-stale-regcache.exp:
22454424
MS
4125 Replace uses of send_gdb / gdb_expect.
4126 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
4127 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
4128 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
4129 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
4130 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
4131 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
4132 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
4133 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
4134 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
4135
41362010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 4137
22454424 4138 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 4139
22454424 4140 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 4141
22454424
MS
4142 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
4143 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
4144 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
4145 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
4146 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
4147 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
4148 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
4149 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
4150 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 4151
6e5f2c59
TT
41522010-05-25 Tom Tromey <tromey@redhat.com>
4153
4154 * gdb.base/macscp.exp: Add missing space after setup_kfail.
4155
bbc8b958
TT
41562010-05-25 Tom Tromey <tromey@redhat.com>
4157
4158 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
4159 argument order.
4160 * gdb.base/macscp.exp: Fix setup_kfail argument order.
4161 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
4162 order.
4163 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
4164 order.
4165 * gdb.base/call-sc.exp (setup_kfails): Remove.
4166 (setup_compiler_kfails): Remove.
4167 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
4168 argument order.
4169 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
4170 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
4171 (advancei): Fix setup_kfail argument order.
4172 * gdb.base/radix.exp: Fix setup_kfail argument order.
4173 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
4174 order.
4175 * gdb.base/structs.exp (setup_kfails): Remove.
4176 (setup_compiler_kfails): Fix setup_kfail argument order.
4177 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
4178 order.
4179 * gdb.java/jmain.exp: Fix setup_kfail argument order.
4180 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
4181 setup_kfail argument order.
4182 * gdb.cp/overload.exp: Fix setup_kfail argument order.
4183
83d1babf
TT
41842010-05-25 Tom Tromey <tromey@redhat.com>
4185
4186 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
4187
6acb16a2
MS
41882010-05-25 Michael Snyder <msnyder@vmware.com>
4189
4190 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
4191 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
4192 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
4193 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
4194 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
4195 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
4196 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
4197 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
4198 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
4199 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
4200 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
4201 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
4202 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
4203 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
4204 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
4205 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
4206 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
4207 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
4208 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
4209 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
4210 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
4211 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
4212 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
4213 * gdb.base/default.exp: Replace send_gdb with gdb_test.
4214 * gdb.base/define.exp: Replace send_gdb with gdb_test.
4215 * gdb.base/display.exp: Replace send_gdb with gdb_test.
4216 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
4217 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
4218 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
4219 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
4220 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
4221 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
4222 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
4223 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
4224 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
4225 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
4226 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
4227 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
4228 * gdb.base/help.exp: Replace send_gdb with gdb_test.
4229 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
4230 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
4231 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
4232 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
4233 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
4234 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
4235 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
4236 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 4237 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
4238
42392010-05-25 Doug Evans <dje@google.com>
4240
4241 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
4242 gdb.string_to_argv.
ad3986f0 4243
d3b1e874
TT
42442010-05-21 Tom Tromey <tromey@redhat.com>
4245
4246 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
4247 Call it.
4248 * gdb.dwarf2/pieces.S: Update.
4249 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
4250
cb826367
TT
42512010-05-21 Tom Tromey <tromey@redhat.com>
4252
4253 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
4254 Call it.
4255 * gdb.dwarf2/pieces.c (struct C): New.
4256 (f6): New function.
4257 * gdb.dwarf2/pieces.S: Replace.
4258
74de6778
TT
42592010-05-21 Tom Tromey <tromey@redhat.com>
4260
4261 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
4262 Call it.
4263
afd74c5f
TT
42642010-05-21 Tom Tromey <tromey@redhat.com>
4265
4266 * gdb.dwarf2.pieces.exp: New file.
4267 * gdb.dwarf2.pieces.S: New file.
4268 * gdb.dwarf2.pieces.c: New file.
4269
a7b75dfd 42702010-05-20 Pedro Alves <pedro@codesourcery.com>
889bf7c5 4271 Joel Brobecker <brobecker@adacore.com>
a7b75dfd
JB
4272
4273 * lib/gdb.exp (gdb_test_no_output): New function.
4274 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
4275 when testing commands that should produce no output.
4276
c81c812a
JB
42772010-05-17 Joel Brobecker <brobecker@adacore.com>
4278
4279 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
4280 parameter that we want to watch being a constant.
4281
0cce5bd9
JB
42822010-05-17 Joel Brobecker <brobecker@adacore.com>
4283
4284 * gdb.ada/cond_lang: New testcase.
4285
47050449
JB
42862010-05-17 Joel Brobecker <brobecker@adacore.com>
4287
4288 * lib/gdb.exp (banned_variables): New variable/constant.
4289 (gdb_init): Add write trace on variables listed in banned_variables.
4290 (gdb_finish): Remove write traces on variables listed in
4291 banned_variables.
4292
77c01586
JB
42932010-05-17 Joel Brobecker <brobecker@adacore.com>
4294
4295 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
4296 * gdb.cp/koenig.exp: Likewise.
4297
88d4aea7
PM
42982010-05-14 Phil Muldoon <pmuldoon@redhat.com>
4299
889bf7c5 4300 PR python/11482
88d4aea7
PM
4301
4302 * gdb.python/py-value.exp (test_value_hash): New function.
4303
f5a010c0
PM
43042010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
4305
4306 PR exp/11530.
4307 * gdb.base/gdb11530.c: New file.
4308 * gdb.base/gdb11530.exp: New file.
4309
8ef4892f
JK
43102010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4311
4312 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
4313 * gdb.dwarf2/dw2-modula2-self-type.S: New.
4314
7322dca9
SW
43152010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
4316
4317 * gdb.cp/koenig.exp: New test.
4318 * gdb.cp/koenig.cc: New test program.
4319
02e7ea18
JB
43202010-05-05 Joel Brobecker <brobecker@adacore.com>
4321
4322 Remove the use of prms_id and bug_id throughout the testsuite.
4323
e1c34c5d
PM
43242010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
4325
4326 PR exp/11349.
4327 * testsuite/gdb.cp/ref-types.exp: Add test to examine
4328 use a reference local variable.
4329
8e1d0c49
JK
43302010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4331
4332 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
4333 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
4334 variable different_dir. Move debugfile into a full directory pathname
4335 under DIFFERENT_DIR.
4336 * lib/gdb.exp (separate_debug_filename): Remove.
4337 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
4338 variable debug_dir and mkdir of it. Update function comments.
4339
e66408ed
PA
43402010-04-29 Pedro Alves <pedro@codesourcery.com>
4341
4342 PR gdb/11557
4343
4344 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
4345 files.
4346
d7b32ed3
PM
43472010-04-29 Phil Muldoon <pmuldoon@redhat.com>
4348
889bf7c5 4349 * gdb.python/py-param.exp: New File.
d7b32ed3 4350
6aecb9c2
JB
43512010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
4352
4353 * gdb.base/default.exp: Fix "set language" test.
4354
bdf92a1c
PM
43552010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
4356
4357 PR breakpoints/11531.
4358 * gdb.base/gdb11531.c: New file.
4359 * gdb.base/gdb11531.exp: New file.
4360
3f172e24
TT
43612010-04-26 Tom Tromey <tromey@redhat.com>
4362
4363 * gdb.base/completion.exp: Add tests for completion and deprecated
4364 commands.
4365
64af4c92
JK
43662010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4367
4368 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
4369 (print /x char_array): Escape curly brackets.
4370
492928e4
JK
43712010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4372
4373 Fix deadlock on looped list of loaded shared objects.
4374 * gdb.base/solib-corrupted.exp: New.
4375
66d09542
DE
43762010-04-23 Doug Evans <dje@google.com>
4377
4378 * gdb.python/py-section-script.c: New file.
4379 * gdb.python/py-section-script.exp: New file.
4380 * gdb.python/py-section-script.py: New file.
4381
8bd10a10
CM
43822010-04-20 Chris Moller <cmoller@redhat.com>
4383
4384 PR 10179
4385
4386 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
4387 * gdb.base/pr10179-a.c:
4388 * gdb.base/pr10179-b.c:
4389 * gdb.base/pr10179.exp: New files.
4390
c0201579
JK
43912010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4392
4393 Fix crashes on dangling display expressions.
4394 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
4395 is SEP.
4396 (lib_flags): Remove the "debug" keyword.
4397 (libsepdebug): New variable for iterating new loop.
4398 (save_pf_prefix): New variable wrapping the loop.
4399 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
4400 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
4401
793b0ff8
PM
44022010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
4403
4404 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
4405
097f51f7
PM
44062010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
4407
4408 PR stabs/11479.
4409 * gdb.stabs/gdb11479.exp: New file.
4410 * gdb.stabs/gdb11479.c: New file.
4411
9a22f0d0
PM
44122010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
4413
4414 * gdb.base/charset.c (Strin16, String32): New variables.
4415 * gdb.base/charset.exp (gdb_test): Test correct display
4416 of 16 or 32 bit strings.
4417
44182010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
4419
4420 PR 9167
4421 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
4422 * gdb.cp/pr9167.cc: New file.
4423 * gdb.cp/pr9167.exp: New file.
4424
4425
6e354e5e
PM
44262010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
4427
4428 PR pascal/11492.
4429 * gdb.pascal/gdb11492.pas: New file.
4430 * gdb.pascal/gdb11492.exp: New file.
4431
be942545
JB
44322010-04-20 Joel Brobecker <brobecker@adacore.com>
4433
1667e6e3 4434 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 4435
0c3acc09
JB
44362010-04-20 Joel Brobecker <brobecker@adacore.com>
4437
4438 * gdb.ada/dyn_loc: New testcase.
4439
ec31cde5
CM
44402010-04-20 Chris Moller <cmoller@redhat.com>
4441
4442 PR 10867
889bf7c5 4443
ec31cde5
CM
4444 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
4445 * gdb.cp/pr10687.cc: New file.
4446 * gdb.cp/pr10687.exp: New file.
4447
4448
ce4b0682
SDJ
44492010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4450 Sergio Durigan Junior <sergiodj@redhat.com>
4451
4452 * gdb.fortran/logical.exp: New testcase.
4453 * gdb.fortran/logical.f90: New file.
4454
3436961f
DE
44552010-04-19 Doug Evans <dje@google.com>
4456
4457 * gdb.base/help.exp (help source): Update expected output.
4458
4d836c09
JK
44592010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4460
4461 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
4462 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
4463 gdb_exit and return.
4464 (executable): New variable.
4465 (binfile): Use it.
4466
6149aea9
PA
44672010-04-19 Pedro Alves <pedro@codesourcery.com>
4468
4469 PR breakpoints/8554.
4470
4471 * gdb.trace/save-trace.exp: Adjust.
4472
ed41462c
L
44732010-04-17 H.J. Lu <hongjiu.lu@intel.com>
4474
4475 PR corefiles/11511
4476 * gdb.arch/system-gcore.exp: New.
4477 * gdb.arch/gcore.c: Likewise.
4478
3f7b2faa
DE
44792010-04-15 Doug Evans <dje@google.com>
4480
fa33c3cd
DE
4481 * gdb.python/py-progspace.c: New file.
4482 * gdb.python/py-progspace.exp: New file.
4483
3f7b2faa
DE
4484 * gdb.base/source.exp: Add tests for "source -s".
4485
79f283fe
PM
44862010-04-14 Phil Muldoon <pmuldoon@redhat.com>
4487
4488 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
4489 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
4490 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
4491 * gdb.python/py-mi.exp: New test for to_string returning None.
4492
fc8eb08a
PM
44932010-04-12 Phil Muldoon <pmuldoon@redhat.com>
4494
4495 * gdb.python/py-breakpoint.c: Make result global.
4496
26e197f6
JK
44972010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4498
4499 Fix non-GNU make compatibility.
4500 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
4501
adc36818
PM
45022010-04-09 Phil Muldoon <pmuldoon@redhat.com>
4503
4504 * gdb.python/py-breakpoint.exp: New File.
4505 * gdb.python/py-breakpoint.C: Ditto.
4506
64e17368
SS
45072010-04-08 Stan Shebs <stan@codesourcery.com>
4508
4509 * gdb.trace/actions.exp: Clear default-collect.
4510 * gdb.trace/save-trace.exp: Clear default-collect.
4511
fff5cc64
PM
45122010-04-08 Phil Muldoon <pmuldoon@redhat.com>
4513
4514 * gdb.python/py-value: Add null string variable.
4515 (test_lazy_string): Test zero length, NULL address lazy
4516 strings.
4517
a055a187
L
45182010-04-07 H.J. Lu <hongjiu.lu@intel.com>
4519
4520 * gdb.arch/i386-avx.c: New.
4521 * gdb.arch/i386-avx.exp: Likewise.
4522
4523 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
4524
96e39866
DE
45252010-04-06 Doug Evans <dje@google.com>
4526
4527 * gdb.base/source-test.gdb: New file.
4528 * gdb.base/source.exp: Test source -v.
4529
5984a431
UW
45302010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4531
4532 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
4533
ec8a089a
PM
45342010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
4535
4536 * gdb.stabs/aout.sed: Convert all backslash to double backslash
4537 within one line, unless it is followed by a double quote.
4538 * gdb.stabs/hppa.sed: Idem.
4539 * gdb.stabs/weird.def: Add char and String constants
889bf7c5
PA
4540 * gdb.stabs/weird.exp: Check for correct parsing of
4541 char and string constants.
ec8a089a
PM
4542 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
4543 in .stabs to .stabx substitution.
4544
fce3c1f0
SS
45452010-04-05 Stan Shebs <stan@codesourcery.com>
4546
4547 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
4548 constant global.
4549 * gdb.trace/tfile.exp: Try to print them.
4550
d77f58be
SS
45512010-04-04 Stan Shebs <stan@codesourcery.com>
4552
4553 * gdb.base/completion.exp: Update for new "info watchpoints".
4554 * gdb.base/default.exp: Ditto.
4555 * gdb.base/help.exp: Ditto.
4556 * gdb.base/watchpoint.exp: Ditto.
4557 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
889bf7c5 4558
af54718e
SS
45592010-04-04 Stan Shebs <stan@codesourcery.com>
4560
4561 * gdb.trace/tfile.exp: Sharpen tfind test.
4562
74d1f91e
JK
45632010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4564
4565 * gdb.base/break-entry.exp: New.
4566
eb8e76db 45672010-04-02 Hui Zhu <teawater@gmail.com>
889bf7c5 4568 Michael Snyder <msnyder@vmware.com>
eb8e76db
HZ
4569
4570 * gdb.reverse/i386-sse-reverse.exp: New file.
4571 * gdb.reverse/i386-sse-reverse.c: New file.
4572
bf65cad8
PA
45732010-04-02 Pedro Alves <pedro@codesourcery.com>
4574
4575 * gdb.trace/tfind.exp: Adjust expected disassembly output.
4576
fff87407
SS
45772010-04-01 Stan Shebs <stan@codesourcery.com>
4578
4579 * gdb.trace/actions.exp: Tweak expected output.
4580 * gdb.trace/while-stepping.exp: Tweak expected output.
4581
fe01d668
L
45822010-04-01 H.J. Lu <hongjiu.lu@intel.com>
4583
4584 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
4585
86b17b60
PA
45862010-04-01 Pedro Alves <pedro@codesourcery.com>
4587
4588 * gdb.base/commands.exp: Adjust.
4589 * gdb.cp/extern-c.exp: Adjust.
4590
2c58c0a9
PA
45912010-04-01 Pedro Alves <pedro@codesourcery.com>
4592
4593 * gdb.trace/collection.c (local_test_func): Define a local struct,
4594 and instanciate it.
4595
0db9b91c
PA
45962010-04-01 Pedro Alves <pedro@codesourcery.com>
4597
4598 * gdb.trace/collection.exp (gdb_collect_args_test)
4599 (gdb_collect_argarray_test): XFAIL the tests that assume the
4600 argarray argument's elements are collected.
4601
8072405b
JK
46022010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
4603
4604 * gdb.dwarf2/dw2-bad-parameter-type.exp,
4605 gdb.dwarf2/dw2-bad-parameter-type.S: New.
4606
8bf6485c
SS
46072010-03-31 Stan Shebs <stan@codesourcery.com>
4608
4609 * gdb.trace/save-trace.exp: Test save/restore of default-collect
4610 and tracepoint conditionals.
4611 (gdb_verify_tracepoints): Delete unused return.
4612
fd7f724a
KS
46132010-03-26 Keith Seitz <keiths@redhat.com>
4614
4615 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
4616 appear in the output before main.
4617 Remove KFAIL for gdb/2215 aka bz 9320.
4618
8d9e7719
DE
46192010-03-30 Doug Evans <dje@google.com>
4620
0906dd0b
DE
4621 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
4622 by dejagnu.
4623 * gdb.arch/amd64-dword.exp: Ditto.
4624
8d9e7719
DE
4625 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
4626 match.
4627 (break printf): Ditto.
4628
1da644f0
SW
46292010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
4630
4631 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
4632 gcc < 4.4.
4633 * gdb.cp/shadow.exp: Ditto.
4634
a8121990
PA
46352010-03-29 Pedro Alves <pedro@codesourcery.com>
4636
4637 * gdb.trace/collection.exp (run_trace_experiment): Make sure
4638 "tstart" is silent.
4639
6e79d367
PA
46402010-03-29 Pedro Alves <pedro@codesourcery.com>
4641
4642 * gdb.trace/collection.exp (executable): New.
4643 (binfile): Use it.
4644 (fpreg, spreg, pcreg): New.
4645 (test_register): Use gdb_test_multiple. Pass /x to print.
4646 (prepare_for_trace_test): New.
4647 (run_trace_experiment): Use "continue", not gdb_run_cmd.
4648 (gdb_collect_args_test, gdb_collect_argstruct_test)
4649 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
4650 prepare_for_trace_test.
4651 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
4652 fpreg, spreg and pcreg.
4653 (gdb_collect_expression_test, gdb_collect_globals_test): Use
4654 prepare_for_trace_test.
4655 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
4656 try to detect tracing support here. Don't set breakpoints at
4657 `begin' or `end' here.
4658 <global scope>: Use clean_restart. Run to main before checking
4659 for tracing support. Check for for tracing support here.
4660
09248348
JK
46612010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4662
4663 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
4664 " as $displacement" to "seen displacement message".
4665
d350db38
PA
46662010-03-28 Pedro Alves <pedro@codesourcery.com>
4667
4668 * gdb.trace/while-dyn.exp (executable): New variable.
4669 (binfile): Use it.
4670 (test_while_stepping): New function. Move most tests here. Call
4671 it once for each of the while-stepping, stepping and ws aliases.
4672
907af001
UW
46732010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4674
4675 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
4676 that do not provide the tagless_struct type name at all.
4677 (test_print_anon_union): Do not check value of uninitialized
4678 union member. Do not use cp_test_ptype_class, so we can accept
4679 "long" as well as "long int".
4680
610197fd
PA
46812010-03-26 Pedro Alves <pedro@codesourcery.com>
4682
4683 * gdb.trace/tfile.c (tohex, bin2hex): New.
4684 (write_error_trace_file): Hexify error description.
4685
6c28cbf2
SS
46862010-03-25 Stan Shebs <stan@codesourcery.com>
4687
4688 * gdb.trace/tfile.c: Generate an additional trace file, improve
4689 portability.
4690 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
4691 files in a better way.
4692
e62b8c7e
KS
46932010-03-25 Keith Seitz <keiths@redhat.com>
4694
4695 * gdb.java/jprint.exp: XFAIL printing of static class members
4696 because of GCC debuginfo problem.
4697
82ccf5a5
JK
46982010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4699
4700 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
4701
293e2f9e
DJ
47022010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
4703
4704 * gdb.base/completion.exp: Allow long instead of long int.
4705 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
4706 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
4707 variable p.
4708 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
4709 * gdb.base/pointers.exp: Allow long instead of long int.
4710 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
4711 * gdb.base/step-line.exp: Allow a directory before the source file name.
4712
95a42b64
TT
47132010-03-24 Tom Tromey <tromey@redhat.com>
4714
4715 PR breakpoints/9352:
4716 * gdb.base/default.exp: Update.
4717 * gdb.base/commands.exp: Update.
4718 * gdb.cp/extern-c.exp: Test setting commands on multiple
4719 breakpoints at once.
4720
2390201f
DJ
47212010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
4722
4723 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
4724 if gdb,nosignals.
4725 * gdb.base/watchpoints.c: Do not include unnecessary headers.
4726 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
4727 exited".
4728
8c9a6790
SS
47292010-03-24 Stan Shebs <stan@codesourcery.com>
4730
4731 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
4732
a6c727b2
DJ
47332010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
4734
4735 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
4736 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
4737 argument. Handle "short" and "long".
4738 (Top level): Pass overprototyped output for old_fptr and xptr.
4739
4dfd5423
PA
47402010-03-23 Pedro Alves <pedro@codesourcery.com>
4741
4742 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
4743 format strings and add casts to avoid compiler warnings.
4744
47452010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
4746
4747 * lib/trace-support.exp (gdb_trace_setactions):
4748 Don't expect whitespace after ">" prompt.
4749 * gdb.trace/actions.exp: Adjust for output changes.
4750 * gdb.trace/while-stepping.exp: Likewise.
4751
c847d045
JK
47522010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4753
4754 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
4755 and r157645).
4756
5f717f1d
JK
47572010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4758
4759 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
4760 New.
4761
7d6d51d5
DJ
47622010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
4763
4764 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
4765 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
4766
3b11a015
SS
47672010-03-19 Stan Shebs <stan@codesourcery.com>
4768
4769 * gdb.trace/ax.exp: New file.
4770
d7d158ed
DE
47712010-03-19 Doug Evans <dje@google.com>
4772
6bb85cd1
DE
4773 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
4774 output from gcc.
4775
d7d158ed
DE
4776 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
4777 named /usr/sbin/prelink<foo>.
4778
4daf5ac0
SS
47792010-03-18 Stan Shebs <stan@codesourcery.com>
4780
4781 * gdb.trace/circ.exp: Test circular-trace-buffer.
4782 * gdb.trace/tfile.exp: Update tstatus test.
4783
e8d05480
JB
47842010-03-18 Joel Brobecker <brobecker@adacore.com>
4785
4786 * gdb.dwarf2/dw2-anonymous-func.S: New file.
4787 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
4788
441b986a
UW
47892010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4790
4791 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
4792
4247603b
PA
47932010-03-18 Pedro Alves <pedro@codesourcery.com>
4794
4795 * gdb.base/default.exp: Adjust the expected output of the finish
4796 and until commands when the inferior is not being run.
4797
13387711
SW
47982010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
4799
4800 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
4801 * gdb.cp/nsusing.exp: Ditto.
4802
6e31430b
TT
48032010-03-15 Tom Tromey <tromey@redhat.com>
4804
4805 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
4806 * gdb.cp/userdef.cc (operator==): New function.
4807 (main): New locals mem1, mem2.
4808
e2d69cb5
JZ
48092010-03-15 Jie Zhang <jie@codesourcery.com>
4810
4811 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
4812 Declare and use new loadtimeout variable.
4813
f572f0a9
DJ
48142010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
4815
4816 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
4817 Use gdb_load later.
4818
51f4c0b0
PA
48192010-03-14 Pedro Alves <pedro@codesourcery.com>
4820
4821 * gdb.base/solib-disc.c (main): Make format of fprintf a string
4822 literal. Add missing endlines to prints to stderr.
4823
1c809c68
TT
48242010-03-12 Tom Tromey <tromey@redhat.com>
4825
4826 PR c++/9708:
4827 * gdb.cp/m-static.exp: Add regression test.
4828 * gdb.cp/m-static.cc (method): New method.
4829 (main): Call it.
4830
00ae8fef
SW
48312010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
4832
4833 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
4834 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
4835
759f0f0b
PA
48362010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
4837
21e24d21
PA
4838 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
4839
48402010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
4841
759f0f0b
PA
4842 * lib/gdb.exp (skip_stl_tests): New.
4843 (gdb_compile): Symbian needs -ldl.
4844 (shlib_target_file): New.
4845 (shlib_symbol_file): New.
4846 (gdb_load_shlibs): Use shlib_target_file.
4847 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
4848 * gdb.cp/exception.exp: Use skip_stl_tests.
4849 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
4850 * gdb.cp/try_catch.exp: Use skip_stl_tests.
4851 * gdb.cp/mb-templates.exp: Ditto.
4852 * gdb.base/commands.exp: Relax regexes.
4853 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
4854 shlib_target_file and shlib_symbol_file.
4855 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
4856 sections.
4857 * gdb.base/ending-run.exp: Accept E32Main for symbian.
4858 * gdb.base/solib-disc.exp: Use
4859 shlib_target_file and shlib_symbol_file.
4860 * gdb.base/unload.exp: Don't skip on symbian. Use
4861 shlib_target_file and shlib_symbol_file.
4862 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
4863
6a8f2671 48642010-03-12 Pedro Alves <pedro@codesourcery.com>
889bf7c5 4865
6a8f2671
PA
4866 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
4867 * gdb.trace/report.exp: Adjust for x86 and x86_64.
4868 Issue a tfind end before looking for a tracepoint frame.
4869 * gdb.trace/tfind.exp: Adjust tstatus output.
4870 Adjust disassembly output.
4871 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
4872
ccf26247
JK
48732010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4874
4875 * gdb.base/break-interp.exp: Create new displacement parameter value
4876 for the test_ld calls.
4877 (reach): New parameter displacement, verify its content. New push of
4878 pf_prefix "reach-$func:". Import global expect_out.
4879 (test_core): New parameter displacement, verify its content. New push
4880 of pf_prefix "core:". New command "set verbose on". Import global
4881 expect_out.
4882 (test_attach): New parameter displacement, verify its content. New
4883 push of pf_prefix "attach:". New command "set verbose on". Import
4884 global expect_out.
4885 (test_ld): New parameter displacement, pass it to the reach, test_core
4886 and test_attach calls and verify its content in the "ld.so exit" test.
4887 * gdb.base/prelink.exp: Remove gdb_exit and final return.
4888 (prelink): Update expected text, use gdb_test.
4889
e469c7fb
DE
48902010-03-10 Doug Evans <dje@google.com>
4891
4892 * gdb.base/checkpoint.exp: Fix comment.
4893 Lengthen timeout while doing >600 checkpoints test.
4894 Rename duplicate "kill all one" test to keep test names unique.
4895
60e1c644
PA
48962010-03-10 Pedro Alves <pedro@codesourcery.com>
4897
4898 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
4899
cec808ec
KS
49002010-03-08 Keith Seitz <keiths@redhat.com>
4901
889bf7c5
PA
4902 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
4903 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
4904 (dm_type_long): New function.
4905 (dm_type_unsigned_short): New function.
4906 (dm_type_unsigned_long): New function.
4907 (myint): New typedef.
4908 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
4909 long, unsigned shor and long, operator char*, and typedef.
4910 (test_lookup_operator_functions): Add operator char* test.
4911 (test_paddr_operator_functions): Likewise.
4912 (test_paddr_overloaded_functions): Use probe values for
4913 short, long, and unsigned short and long.
4914 (test_paddr_hairy_functions): If the demangler probe detected
4915 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
4916 demangler.
4917 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
4918 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
4919 and "print null_pmf".
4920 Add test "ptype a.*pmf".
4921 * gdb.cp/overload.exp: Allow optional "int" to appear with
4922 "short" and "long".
4923 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
4924 long expect value for men_overload1arg.
4925 Allow "int" to appear with "short" and "long".
4926 When testing "info break", add argument for main (void).
4927 Also allow "int" to appear with "short" and "long".
4928 Ditto with "unsigned" and "long long".
cec808ec
KS
4929 * gdb.java/jmain.exp: Do not enclose methods names in single
4930 quotes.
4931 * gdb.java/jmisc.exp: Likewise.
4932 * gdb.java/jprint.exp: Likewise.
4933 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
4934
4935 From Jan Kratochvil <jan.kratochvil@redhat.com>:
4936 * gdb.cp/exception.exp (backtrace after first throw)
4937 (backtrace after second throw): Allow a namespace before __cxa_throw.
4938 (backtrace after first catch, backtrace after second catch): Allow
4939 a namespace before __cxa_begin_catch.
4940
4941 * gdb.cp/cpexprs.exp: New file.
4942 * gdb.cp/cpexprs.cc: New file.
4943
4944 From Daniel Jacobowitz <dan@codesourcery.com>
4945 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
4946 to use string_to_regexp.
4947 (ctor, dtor): New functions. Use them to match constructor
4948 and destructor function types.
4949 (Top level): Use runto_main.
4950
f870a310
TT
49512010-03-05 Tom Tromey <tromey@redhat.com>
4952
4953 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
4954 gdb.target_charset.
4955 (pp_ns.to_string): Likewise.
4956
0c199f28
KS
49572010-03-04 Keith Seitz <keiths@redhat.com>
4958
4959 * gdb.cp/overload.exp: Test that the filename portion of a linespec
4960 can be quoted. Test that both the filename and function/line
4961 portions can be quoted at the same time.
4962
c7437ca6
PA
49632010-03-04 Pedro Alves <pedro@codesourcery.com>
4964
4965 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
4966
b111b805
DE
49672010-03-03 Doug Evans <dje@google.com>
4968
24486cb7
DE
4969 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
4970 libc contains libpthread.
4971
b111b805
DE
4972 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
4973 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
4974 of gdb_compile. Add another pattern to match android backtrace.
4975
a0e0ef55
TT
49762010-03-03 Tom Tromey <tromey@redhat.com>
4977
4978 PR gdb/11345:
4979 * gdb.base/printcmds.exp (test_printf): Add test.
4980
1ba53b71
L
49812010-03-02 H.J. Lu <hongjiu.lu@intel.com>
4982
4983 * gdb.arch/amd64-byte.exp: New.
4984 * gdb.arch/amd64-dword.exp: Likewise.
4985 * gdb.arch/amd64-pseudo.c: Likewise.
4986 * gdb.arch/amd64-word.exp: Likewise.
4987 * gdb.arch/i386-byte.exp: Likewise.
4988 * gdb.arch/i386-pseudo.c: Likewise.
4989 * gdb.arch/i386-word.exp: Likewise.
4990
f5dff777
DJ
49912010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
4992
4993 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
4994 types. Add structreg, bitfields, and flags registers.
4995 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
4996 registers.
4997
90884b2b
L
49982010-03-01 H.J. Lu <hongjiu.lu@intel.com>
4999
5000 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
5001 (load_description): Set architecture if defined.
5002
dc00d89f
PM
50032010-02-28 Phil Muldoon <pmuldoon@redhat.com>
5004
5005 * gdb.python/py-frame.exp: Add read_var block tests.
5006 * gdb.python/py-frame.c (block): New function.
5007
0e095b7e
JK
50082010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5009 Daniel Jacobowitz <dan@codesourcery.com>
5010
5011 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
5012
624f1a65
DM
50132010-02-25 David S. Miller <davem@davemloft.net>
5014
5015 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
5016 fix logic for setting all_syscalls_numbers.
5017
f3e9a817
PM
50182010-02-24 Phil Muldoon <pmuldoon@redhat.com>
5019
5020 * Makefile.in: Add py-block and py-symbol.
5021 * gdb.python/py-symbol.exp: New File.
5022 * gdb.python/py-symtab.exp: New File.
5023 * gdb.python/py-block.exp: New File.
5024 * gdb.python/py-symbol.c: New File.
5025 * gdb.python/py-block.c: New File.
5026
f6bbabf0
PM
50272010-02-24 Phil Muldoon <pmuldoon@redhat.com>
5028
5029 PR python/11314
5030 * lib/gdb.exp (skip_python_tests): New function.
5031 * gdb.python/py-cmd.exp: Use skip_python_tests.
5032 * gdb.python/py-frame.exp: Likewise.
5033 * gdb.python/py-function.exp: Likewise.
5034 * gdb.python/py-prettyprint.exp: Likewise.
5035 * gdb.python/py-template.exp: Likewise.
5036 * gdb.python/py-type.exp: Likewise.
5037 * gdb.python/py-value.exp: Likewise.
5038
85d721b8
PA
50392010-02-22 Pedro Alves <pedro@codesourcery.com>
5040
5041 PR9605
5042
5043 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
5044
48e32051
TT
50452010-02-19 Tom Tromey <tromey@redhat.com>
5046
5047 PR c++/8693, PR c++/9496:
5048 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
5049 regression tests.
5050
ac9c0048
JK
50512010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5052
5053 Fix compatibility with m68k as.
5054 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
5055 Use only /* comments */.
5056
57bb97a4
UW
50572010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5058
5059 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
5060 * configure: Regenerate.
5061
7d1bf85c
DJ
50622010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
5063
5064 * gdb.python/py-type.exp: Check for Python support.
5065
061b5285
PA
50662010-02-17 Pedro Alves <pedro@codesourcery.com>
5067
5068 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
5069 `regsub' syntax available.
5070
f8a8bc2c
PA
50712010-02-17 Pedro Alves <pedro@codesourcery.com>
5072
5073 * gdb.base/shmain.c (main): Remove printf call.
5074 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
5075 * gdb.base/unload.c (main): Make format of fprintf a string
5076 literal. Add missing endlines to prints to stderr.
5077 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
5078
6f451e5e
TT
50792010-02-17 Tom Tromey <tromey@redhat.com>
5080
5081 * gdb.java/jprint.java (jprint.props): New field.
5082 * gdb.java/jprint.exp (set_lang_java): Add regression test.
5083
12d79008
PA
50842010-02-17 Pedro Alves <pedro@codesourcery.com>
5085
ef801a0e 5086 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
5087 available.
5088
d252f7e5
DJ
50892010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
5090
5091 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
5092 creation to support remote host testing.
5093
67bdab6c
DJ
50942010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
5095
5096 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
5097 Recognize "command not found".
5098
bb391223
DJ
50992010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
5100
5101 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
5102 single-stepping.
5103
70362913
DJ
51042010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
5105
5106 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
5107 if arguments are not supported.
5108
493f3c00
DJ
51092010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
5110
5111 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
5112 be const or non-const.
5113
8034c749
DJ
51142010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
5115
5116 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
5117 mi_send_resuming_command to send -exec-continue.
5118
791dfb64
DJ
51192010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
5120
5121 * gdb.base/list.exp (test_list_filename_and_function): Add test
5122 with single quotes.
5123 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
5124 matching.
5125 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
5126 Add KFAIL'd tests for PR gdb/11289.
5127
7c5fe868
DJ
51282010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
5129
5130 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
5131
fdc498b8
DJ
51322010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
5133
5134 * gdb.base/comp-dir/subdir/dummy.txt: New file.
5135 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
5136 a temporary directory.
5137
b519e2a6
DJ
51382010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
5139
5140 * gdb.base/charset.exp: Use a single regular expression to match
5141 show host-charset and show target-charset output.
5142
74164c56
JK
51432010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5144
5145 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
5146 "Illegal process-id" expect string more exact.
5147 (attach to digits-starting nonsense is prohibited): New.
5148
701ed6dc
JK
51492010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5150
5151 * gdb.base/prelink.exp (set verbose on): New.
5152
889bf7c5 51532010-02-12 Tomas Holmberg <th@virtutech.com>
fa19b4e5
MS
5154
5155 * mi-reverse.exp: New file. Test for reverse option to the
5156 following MI commands: exec-continue, exec-finish, exec-next,
5157 exec-step, exec-next-instruction, exec-step-instruction.
889bf7c5 5158
dadf0e9c
JB
51592010-02-09 Joel Brobecker <brobecker@adacore.com>
5160
5161 * gdb.ada/ptype_tagged_param: New testcase.
5162
714f19d5
TT
51632010-02-08 Tom Tromey <tromey@redhat.com>
5164
5165 PR c++/8017:
5166 * gdb.cp/overload.exp: Add tests.
5167 * gdb.cp/overload.cc (struct K): New.
5168 (namespace N): New.
5169 (main): Call new functions.
5170 (K::staticoverload): Define.
5171
889bf7c5 51722010-02-08 Chris Moller <moller@mollerware.com>
83b10087
CM
5173
5174 PR gdb/10728
5175 * gdb.cp/pr10728-x.h: New file.
5176 * gdb.cp/pr10728-x.cc: New file.
5177 * gdb.cp/pr10728-y.cc: New file.
5178 * gdb.cp/pr10728.exp: New file.
5179 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
5180
889bf7c5 51812010-02-08 Chris Moller <moller@mollerware.com>
99903ae3
CM
5182
5183 PR gdb/9067
5184 * gdb.cp/pr9067.exp: New
5185 * gdb.cp/pr9067.cc: New
5186 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
5187
7b356089
JB
51882010-02-08 Joel Brobecker <brobecker@adacore.com>
5189
5190 * lib/gdb.exp (gdb_test_timeout): New global variable.
5191 Set it to timeout if not already set.
5192 (gdb_init): Reset the value of timeout to gdb_test_timeout.
5193
1be00882
DE
51942010-02-05 Doug Evans <dje@google.com>
5195
5196 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
5197 user.
5198
82856980
SW
51992010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
5200
5201 PR c++/7935:
5202 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
5203
1a334831
TT
52042010-02-04 Tom Tromey <tromey@redhat.com>
5205
5206 * gdb.cp/virtbase.exp: Make test case names unique.
5207
9c3c02fd
TT
52082010-02-02 Tom Tromey <tromey@redhat.com>
5209
5210 * gdb.cp/virtbase.exp: Add regression tests.
5211 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
5212 (main): Instantiate RHC.
5213
0cc2414c
TT
52142010-02-02 Tom Tromey <tromey@redhat.com>
5215
5216 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
5217 type-printing change.
5218
edf3d5f3
TT
52192010-02-02 Tom Tromey <tromey@redhat.com>
5220
5221 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
5222 * gdb.cp/virtbase.cc: New file.
5223 * gdb.cp/virtbase.exp: New file.
5224 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
5225
e4b7f41c
JK
52262010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5227
5228 PR libc/11214:
5229 * gdb.threads/current-lwp-dead.c: Include features.h.
5230 (HAS_NOMMU): New.
5231 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
5232
b381ea14
JK
52332010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5234
5235 * gdb.base/symbol-without-target_section.exp,
5236 gdb.base/symbol-without-target_section.c: New.
5237
c593ac0e
DJ
52382010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
5239
5240 * gdb.base/bigcore.exp: Reset increased timeout.
5241 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
5242
db25f29d
DJ
52432010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
5244
5245 * gdb.base/gcore.exp (capture_command_output): Use
5246 gdb_test_multiple.
5247
f9d67f43
DJ
52482010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
5249
5250 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
5251 * gdb.arch/thumb2-it.exp (test_it_break): New function.
5252 (Top level): Call it.
5253
177321bd
DJ
52542010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
5255
5256 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
5257
97f2ed50
DJ
52582010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
5259
5260 * gdb.base/call-strs.exp, gdb.base/default.exp,
5261 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
5262 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
5263 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
5264 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
5265 gdb.base/watchpoint-solib.exp: Save and restore timeout.
5266 * gdb.base/ending-run.exp: Correct restore of timeout.
5267 * gdb.base/page.exp: Remove unnecessary timeout setting.
5268
e4e2711a
JB
52692010-01-29 Joel Brobecker <brobecker@adacore.com>
5270
5271 * gdb.ada/rec_return: New testcase.
5272
ba581dc1
JB
52732010-01-29 Joel Brobecker <brobecker@adacore.com>
5274
5275 * gdb.ada/call_pn: New testcase.
5276
4ea95be9
DJ
52772010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
5278
5279 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
5280 (Top level): Use it to resume.
5281 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
5282 the Thumb mode displaced stepping error as unsupported.
5283
df83a9bf
SW
52842010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
5285
889bf7c5
PA
5286 * gdb.cp/nsusing.exp: Added more tests.
5287 * gdb.cp/nsrecurs.exp: Ditto.
5288 * gdb.cp/nsusing.cc: Added test functions.
5289 * gdb.cp/nsrecurs.cc: Ditto.
df83a9bf 5290
40b27cdc
JK
52912010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5292
5293 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
5294 absolute directory pathnames in gdb.sum file.
5295
de958931
SW
52962010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
5297
5298 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
5299 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
5300
708ead4e
TT
53012010-01-26 Tom Tromey <tromey@redhat.com>
5302
5303 PR exp/7643:
5304 * gdb.base/printcmds.exp (test_print_string_constants): Remove
5305 setup_kfail.
5306
b14e635e
SW
53072010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
5308
5309 * gdb.cp/nsrecurs.exp: New test.
5310 * gdb.cp/nsrecurs.cc: New test program.
5311 * gdb.cp/nsstress.exp: New test.
5312 * gdb.cp/nsstress.cc: New test program.
5313 * gdb.cp/nsdecl.exp: New test.
5314 * gdb.cp/nsdecl.cc: New test program.
5315
8540c487
SW
53162010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
5317
5318 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
5319 imported into file scope.
5320 Marked test as xfail.
5321 * gdb.cp/namespace-using.cc (marker5): New function.
5322 * gdb.cp/shadow.exp: New test.
5323 * gdb.cp/shadow.cc: New test program.
5324 * gdb.cp/nsimport.exp: New test.
5325 * gdb.cp/nsimport.cc: New test program.
5326
421d5d99
TT
53272010-01-25 Tom Tromey <tromey@redhat.com>
5328
5329 PR gdb/11049:
5330 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
5331 with "set print null-stop on".
5332
691f8dc1
JK
53332010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5334
5335 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
5336 Adjust it for DISASSEMBLY_OMIT_FNAME.
5337
0b92b5bb
TT
53382010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5339
5340 PR symtab/11199:
5341 * gdb.dwarf2/member-ptr-forwardref.exp,
5342 gdb.dwarf2/member-ptr-forwardref.S: New.
5343
23787403
JK
53442010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5345
5346 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
5347 (thread1_func): Protect thread1_tid with thread1_tid_cond by
5348 thread1_tid_mutex. Remove gdbstop_mutex handling.
5349 (thread2_func): Protect thread2_tid with thread2_tid_cond by
5350 thread2_tid_mutex. Remove gdbstop_mutex handling.
5351 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
5352 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
5353 pthread_cond_wait conditionalizations by while loops.
5354
b966cb8a
TT
53552010-01-20 Tom Tromey <tromey@redhat.com>
5356
5357 PR backtrace/10770:
5358 * gdb.dwarf2/pr10770.exp: New file.
5359 * gdb.dwarf2/pr10770.c: New file.
5360 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
5361
fcae584b
VP
53622010-01-20 Vladimir Prus <vladimir@codesourcery.com>
5363
5364 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
5365 that target was removed, and the test always runs native anyway.
5366
a0f49112
JK
53672010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5368
5369 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
5370 gdb.base/watchpoint-cond-gone-stripped.c: New.
5371
ceeb3d5a
TT
53722010-01-19 Tom Tromey <tromey@redhat.com>
5373
5374 PR c++/8000:
5375 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
5376 existing tests.
5377 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
5378 (main): Use AAA::SomeEnum.
5379
dd322c54
JK
53802010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5381
5382 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
5383 (test_ignore_count): Declare line_callme_body global.
5384 (run to breakpoint with ignore count): Use line_callme_body.
5385 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
5386 (set line_main_hello, set line_main_return): Reindent.
5387 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
5388 New.
5389 (continue to callee4): Use line_callee4_body.
5390 (check *stopped from CLI command): Use line_callee4_next.
5391 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
5392 (set line_main_hello, set line_main_return): Reindent.
5393 (set line_callee4_head, set line_callee4_body): New.
5394 (continue to callee4): Use line_callee4_body.
5395
4e8f195d
TT
53962010-01-18 Tom Tromey <tromey@redhat.com>
5397
5398 PR c++/9680:
5399 * gdb.cp/casts.cc: Add new classes and variables.
5400 * gdb.cp/casts.exp: Test new operators.
5401
9e14a9ba
JB
54022010-01-18 Tom Tromey <tromey@redhat.com>
5403 Thiago Jung Bauermann <bauerman@br.ibm.com>
5404
5405 * gdb.python/source2.py: New file.
5406 * gdb.python/source1: New file.
5407 * gdb.python/python.exp: Test "source" command.
5408
00bf0b85
SS
54092010-01-15 Stan Shebs <stan@codesourcery.com>
5410
5411 * gdb.trace/tfile.c: New file.
5412 * gdb.trace/tfile.exp: New file.
889bf7c5 5413
55235ad7
JK
54142010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5415
5416 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
5417
9f2982ff
JK
54182010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5419
5420 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
5421
bbfba9ed
JK
54222010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5423
5424 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
5425 (libfunc): New parameter action. Implement also selectable "sleep".
5426 * gdb.base/break-interp-main.c: Include assert.h.
5427 (libfunc): New parameter action.
5428 (main): New parameters argc and argv. Assert argc. Pass argv.
5429 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
5430 (test_attach): New proc.
5431 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
5432 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
5433
61f0d762
JK
54342010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5435
5436 * gdb.base/break-interp.exp (test_core): New proc.
5437 (test_ld): Call it.
5438
06a6f270
JK
54392010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5440
5441 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
5442 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
5443 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
5444 and gdb_compile_shlib. Use new -Wl compiler options.
5445 (dl bt, main bt): New tests.
5446
51bee8e9
JK
54472010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5448
5449 Support PIEs with no symfile_objfile.
5450 * gdb.base/break-interp.exp: New argument at the test_ld calls.
5451 (test_ld): New parameter trynosym.
5452 (test_ld <$trynosym>): New block.
5453
b8040f19
JK
54542010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5455
5456 * gdb.base/break-interp.exp: New file.
5457
be759fcf
PM
54582010-01-13 Phil Muldoon <pmuldoon@redhat.com>
5459
5460 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
5461 * gdb.python/py-prettyprint.py (pp_ls): New printer.
5462 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
5463 test.
5464 * gdb.python/py-prettyprint.c: Define lazystring test structure.
5465 * gdb.python/py-mi.exp: Add lazy string test.
5466
dc146f7c
VP
54672010-01-13 Vladimir Prus <vladimir@codesourcery.com>
5468
5469 * lib/mi-support.exp (mi_check_thread_states): Handle
5470 core number in thread listing.
5471
b4ba55a1
JB
54722010-01-12 Joel Brobecker <brobecker@adacore.com>
5473
5474 * gdb.base/maint.exp: Adjust the expected output for the
5475 "maint print type" test. Use gdb_test_multiple instead of
5476 gdb_sent/gdb_expect.
5477
08e24bd4
DE
54782010-01-11 Doug Evans <dje@google.com>
5479
6496a609
DE
5480 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
5481 from gdbserver_download. All callers updated.
5482
08e24bd4
DE
5483 * gdb.server/ext-run.exp: "info os processes" requires xml support.
5484
b5cfddf5
JK
54852010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5486
5487 Implement binary numbers parsing.
5488 * gdb.base/printcmds.exp (test_integer_literals_accepted)
5489 (test_integer_literals_rejected): New binary tests.
5490
3725885a
RW
54912010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5492
5493 * gdb.cell/configure: Regenerate.
5494
37aeb5df
JK
54952010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5496
5497 * gdb.base/corefile.exp: Move the core finding block out and call it as
5498 core_find, new variable $corefile, replace corefile by $corefile and
5499 [file tail $corefile] for usage vs. test names resp.
5500 * lib/gdb.exp (core_find): Move it as a new function here. New
5501 parameter binfile and deletefiles. New variable $destcore. Pre-delete
5502 $destcore. Return "" on error.
5503
d521f563
JK
55042010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5505
5506 Workaround PR binutils/10802.
5507 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
5508 (twice).
5509
28f24826
DJ
55102010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
5511
5512 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
5513
2de75e71
JB
55142010-01-08 Joel Brobecker <brobecker@adacore.com>
5515
5516 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
5517 call, to avoid interruption.
5518
fe00719b 55192010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
5520
5521 * gdb.stabs/weird.def (args93): New.
5522
d0ef5df8
DE
55232010-01-07 Doug Evans <dje@google.com>
5524
5525 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
5526
3a08d52f
TT
55272010-01-07 Tom Tromey <tromey@redhat.com>
5528
5529 * gdb.base/source.exp: Use correct line number.
5530
7a697b8d
SS
55312010-01-05 Stan Shebs <stan@codesourcery.com>
5532
5533 * gdb.trace/tracecmd.exp: Test ftrace.
5534
7803799a
UW
55352010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5536
5537 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
5538
c54eabfa
JK
55392010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5540
5541 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
5542 "uint_for_mi_testing".
5543
02e7ef19
JB
55442010-01-01 Joel Brobecker <brobecker@adacore.com>
5545
5546 Test indented comment in file being sourced.
5547 * gdb.base/commands.exp: Test indented comment in file being sourced.
5548
abd775ce
JB
55492010-01-01 Joel Brobecker <brobecker@adacore.com>
5550
5551 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
5552 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
5553 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
5554 notice.
5555
79b55b82
JB
55562010-01-01 Joel Brobecker <brobecker@adacore.com>
5557
5558 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
5559 notice.
5560
8997583e
JK
55612010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5562
5563 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
5564 missing $after_stopped and comma (,) expectation.
5565
6da95a67
SS
55662009-12-31 Stan Shebs <stan@codesourcery.com>
5567
5568 * gdb.trace/actions.exp: Test teval action.
889bf7c5 5569
218d2fc6
TJB
55702009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
5571
5572 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
5573 (top level): Call test_watchpoint_in_big_blob.
5574 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
5575 watchpoints.
5576 (func3): Write to buf.
5577
236f1d4d
SS
55782009-12-29 Stan Shebs <stan@codesourcery.com>
5579
5580 * gdb.trace/actions.exp: Test default-collect.
889bf7c5 5581
f61e138d
SS
55822009-12-28 Stan Shebs <stan@codesourcery.com>
5583
5584 * gdb.trace/tsv.exp: New file.
5585 * gdb.base/completion.exp: Update ambiguous info output.
889bf7c5 5586
0219b378
DJ
55872009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
5588
5589 * gdb.base/find.c (main): Reference search buffers.
5590 * gdb.base/included.c (main): Reference integer.
5591 * gdb.base/ptype.c (charfoo): Declare.
5592 (intfoo): Call charfoo.
5593 * gdb.base/scope0.c (useitp): New function.
5594 (usestatics): Use useitp.
5595 (useit): Add a type for val.
5596 * gdb.base/scope1.c (useit1): Take a pointer argument.
5597 (usestatics1): Update calls to useit1.
5598 * gdb.cp/call-c.cc: Declare foo.
5599 (main): Call foo.
5600 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
5601 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
5602 (main): Call C::ensureRefs and ensureOtherRefs.
5603 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
5604 variables.
5605 (ensureOtherRefs): New function.
5606 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
5607 * gdb.cp/templates.cc (main): Call t5i.value.
5608
3f78692f
JK
56092009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5610
5611 Fix compatibility with G++-4.5.
5612 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
5613 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
5614 (uncaught return): Remove.
5615
429374b8
JK
56162009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5617 Phil Muldoon <pmuldoon@redhat.com>
5618
5619 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
5620 (bp_location13, bp_location14, bp_location17, bp_location18)
5621 (marker3_proto, marker4_proto): New variables.
5622 (breakpoint info): Update output.
5623 (run until breakpoint at marker3, run until breakpoint at marker4): New
5624 tests.
5625
859825b8
JK
56262009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5627
5628 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
5629 Replace the printf call of Y by provided "y-set-1" label. New block
5630 for the second shared library.
5631 * gdb.base/unload.exp: Compile also the second library, call
5632 gdb_load_shlibs also for it. Use now gdb_breakpoint.
5633 (single pending breakpoint info): Rename to ...
5634 (pending breakpoint info before run): ... this extended test.
5635 (libfile2, libname2, libsrcfile2, libsrc2)
5636 (lib_sl2): New variables.
5637 (exec_opts): Set also SHLIB_NAME2.
5638 (pending breakpoint info on first run at shrfunc1)
5639 (pending breakpoint info on second run at shrfunc1)
5640 (pending breakpoint info on second run at shrfunc2)
5641 (print y from libfile, print y from libfile2): New tests.
5642 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
5643 * gdb.base/unloadshr2.c: New.
5644
e6a386cd
HZ
56452009-12-22 Hui Zhu <teawater@gmail.com>
5646
5647 * gdb.reverse/sigall-reverse.exp: Adjust.
5648
9e19b45e
VP
56492009-12-21 Vladimir Prus <vladimir@codesourcery.com>
5650
5651 PR gdb/10884
5652
5653 * gdb.mi/var-cmd.c (do_bitfield_tests): New
5654 (main): Call do_bitfield_tests.
aacf5b1e 5655 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 5656
d53a7b30
JB
56572009-12-20 Joel Brobecker <brobecker@adacore.com>
5658
5659 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
5660 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
5661 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
5662 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
5663 gdb.modula2/unbounded1.c: Update copyright header.
5664
191ca0a1
CM
56652009-12-10 Chris Moller <moller@mollerware.com>
5666
5667 PR gdb/9399
5668 * gdb.cp/virtfunc2.exp: New tests
5669 * gdb.cp/virtfunc2.cc: New tests
5670 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
5671
0fa6cf1b
MS
56722009-12-10 Oza Pawandeep (paawan1982@yahoo.com
5673
5674 * gdb.reverse/i387-env-reverse.c: New file.
5675 * gdb.reverse/i387-env-reverse.exp: New file.
5676 * gdb.reverse/i387-stack-reverse.c: New file.
5677 * gdb.reverse/i387-stack-reverse.exp: New file.
5678
361ae042
PM
56792009-12-08 Phil Muldoon <pmuldoon@redhat.com>
5680
5681 * gdb.python/py-type.exp (test_range): New test.
5682
bfd31e71
PM
56832009-12-03 Phil Muldoon <pmuldoon@redhat.com>
5684
5685 PR python/10805
5686
5687 * gdb.python/py-type.exp: New file.
5688 * gdb.python/py-type.c: New file.
5689 * Makefile.in: Add py-type.
5690
57a1d736
TT
56912009-12-03 Tom Tromey <tromey@redhat.com>
5692
5693 * gdb.python/py-value.exp (test_parse_and_eval): New
5694 function.
5695
1f3b5d1b
PP
56962009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
5697
5698 PR gdb/11022
5699
5700 * gdb.base/pr11022.exp: New test.
889bf7c5
PA
5701 * gdb.base/pr11022.c: New test.
5702
8b7dbdc9
JK
57032009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5704
5705 Fix spurious false FAILs.
5706 * gdb.base/structs.c (chartest): New.
5707 (main): Fill-in chartest.
5708 * gdb.base/structs.exp (anychar_re, first): New.
5709 (start_structs_test): Import global anychar_re and first.
5710 New gdb_test call "set print elements 300; ${testfile}"
5711 (start_structs_test <$first>): New block.
5712 (any): Import global anychar_re. New variable ac. Use ${ac}.
5713
6a53b2ec
JK
57142009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5715
5716 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
5717
d7167b4c
JK
57182009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5719
5720 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
5721 Force $srcfile file.
5722 * gdb.base/foll-fork.c (callee): Comment out the printf call.
5723
b1798462
UW
57242009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5725
5726 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
5727 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
5728 * gdb.threads/watchthreads-reorder.exp: Likewise.
5729
b6199126
DJ
57302009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
5731
5732 PR gdb/8704
5733
5734 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
5735 "if", and "thread". Correct matching in the previous test.
5736
b22a0510
DJ
57372009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
5738
5739 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
5740
930636d2
MS
57412009-11-23 Michael Snyder <msnyder@vmware.com>
5742
5743 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
5744 * gdb.reverse-watch-precsave.exp: Ditto.
5745
21a0512e
PP
57462009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
5747
5748 * gdb.asm/asm-source.exp: Adjust.
5749 * gdb.base/help.exp: Adjust.
889bf7c5 5750
fc30d5e0
PA
57512009-11-22 Pedro Alves <pedro@codesourcery.com>
5752
5753 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
5754 (do_syscall_tests_without_xml): Set data-directory to
5755 /the/path/to/nowhere.
5756
f6bc2008
PA
57572009-11-21 Pedro Alves <pedro@codesourcery.com>
5758
5759 * gdb.threads/local-watch-wrong-thread.c,
5760 gdb.threads/local-watch-wrong-thread.exp: New files.
5761
8c2fb5de
PA
57622009-11-21 Pedro Alves <pedro@codesourcery.com>
5763
5764 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
5765 assume new `regsub' syntax available.
5766
ebec9a0f
PA
57672009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5768
a79d3c27
JK
5769 * gdb.base/watchpoint-hw-hit-once.exp,
5770 gdb.base/watchpoint-hw-hit-once.c: New.
5771
57722009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5773
5774 * gdb.threads/watchthreads-reorder.exp,
5775 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 5776
276a961b
MK
57772009-11-17 Nathan Sidwell <nathan@codesourcery.com>
5778
5779 * gdb.xml/tdesc-regs.exp: Use for m68k.
5780
4867c1fb
PA
57812009-11-15 Pedro Alves <pedro@codesourcery.com>
5782
5783 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
5784
f6838f81
DJ
57852009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5786
5787 * lib/gdb.exp (current_target_name): New procedure.
5788 (gdb_wrapper_target): New variable.
5789 (gdb_wrapper_init): Set gdb_wrapper_target.
5790 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
5791 wrapper.
5792
4ac4dd3f
DJ
57932009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5794
5795 * gdb.base/remote.exp: Delete the slowest load test.
5796 Do not load with fixed packet sizes.
5797
a7881759
DJ
57982009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5799
5800 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
5801
97a5b505
DJ
58022009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5803
5804 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
5805 srcfile when setting a breakpoint.
5806
d3e1fc54
DJ
58072009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
5808
5809 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
5810 macros.
5811
7cbcbded
DJ
58122009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5813
5814 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
5815 to be in memory.
5816 * gdb.base/display.c (force_mem): New.
5817 (do_loops): Use it. Add breakpoint comments.
5818 (do_vars): Add a breakpoint comment.
5819 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
5820 line numbers.
5821
bdea3a92
NF
58222009-11-13 Nathan Froyd <froydnj@codesourcery.com>
5823
5824 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
5825 instead of a bare "run".
5826
269f82e5
PP
58272009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
5828
5829 * gdb.python/py-prettyprint.exp: Adjust.
889bf7c5 5830
a69b7d9d
DJ
58312009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5832
5833 * lib/cell.exp (skip_cell_tests): Clean up test files before
5834 returning.
5835
b598bfda
DJ
58362009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5837
5838 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
5839 and the breakpoint menu. Do not call perror if a prompt is seen.
5840 Consume the following GDB prompt.
5841 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
5842 * gdb.cp/namespace.exp: Use gdb_test.
5843 * gdb.cp/templates.exp: Use gdb_test.
5844 (test_template_breakpoints): Use gdb_test_multiple.
5845
87728fa0
DJ
58462009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5847
5848 * gdb.base/break1.c (struct some_struct, values): Move earlier.
5849 (marker4): Reference values.
5850
b67c692f
DJ
58512009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5852
5853 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
5854 is missing.
5855
f0df251a
DJ
58562009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5857
5858 * gdb.base/break.c (need_malloc): New.
5859 * gdb.base/constvars.c (main): Reference crass and crisp.
5860 * gdb.base/gdb1821.c (main): Reference bar.
5861 * gdb.cp/gdb1355.cc (main): Reference s1.
5862 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
5863 (main): Call them.
5864 * gdb.cp/hang2.cc (dummy2): Define.
5865 * gdb.cp/hang3.cc (dummy3): Define.
5866 * gdb.cp/m-data.cc (main): Reference shadow.
5867
bdf7534a
NF
58682009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5869 Nathan Froyd <froydnj@codesourcery.com>
5870
5871 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
5872 remote host.
5873
f24fce77
NF
58742009-11-12 Nathan Froyd <froydnj@codesourcery.com>
5875
5876 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
5877 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
5878 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5879 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5880 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5881 * gdb.dwarf2/dw2-producer.exp: Likewise.
5882 * gdb.dwarf2/mac-fileno.exp: Likewise.
5883 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
5884 py-prettyprint.py to the remote host.
5885 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
5886
40f0318e
KS
58872009-11-11 Keith Seitz <keiths@redhat.com>
5888
5889 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
5890 use it instead of "Foo".
5891 * gdb.cp/classes.exp (do_tests): Add a test to access
5892 a method through a typedef'd class name.
5893
f3d9f7fb
NF
58942009-11-11 Nathan Froyd <froydnj@codesourcery.com>
5895
5896 * gdb.base/long_long.exp: Permit leading zeros on floating-point
5897 exponents.
5898 * gdb.base/pointers.exp: Likewise.
5899 * gdb.cp/ref-types.exp: Likewise.
5900
a4216f37
KS
59012009-11-11 Keith Seitz <keiths@redhat.com>
5902
5903 * gdb.cp/cplusfuncs.cc (class foo): Add operators
5904 new[] and delete[].
5905 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
5906 "void".
5907 (probe_demangler): Remove all single-quoting of
5908 method and variable names.
5909 (info_func_regexp): Remove the word "void" from any
5910 occurrence of "(void)".
5911 (print_addr_2): Remove all single-quoting of
5912 method names.
5913 (print_addr_2_kfail): Likewise.
5914 (print_addr): Single-quote C function names before
5915 passing to print_addr_2.
5916 (test_paddr_operator_functions): Remove single-quoting
5917 for method names.
5918 Add tests for operator new[] and operator delete[].
5919
9b14d7aa
JK
59202009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5921
5922 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
5923
85feb311
KS
59242009-11-09 Keith Seitz <keiths@redhat.com>
5925
5926 * gdb.cp/overload.exp: Add tests for resolving overloaded
5927 methods in expression parsing/evaluation.
5928
fa335448
DJ
59292009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
5930
5931 * lib/gdb.exp (default_gdb_version): Use --version instead of
5932 --command.
5933
ec3c07fc
NS
59342009-11-10 Nathan Sidwell <nathan@codesourcery.com>
5935
5936 * lib/gdb.exp (gdb_compile_test): New.
5937 (skip_ada_tests, skip_java_tests): New.
5938 (gdb_compile): Use gdb_compile_test for f77.
5939 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
5940 * lib/java.exp (compile_java_from_source): Remove runtests check,
5941 use gdb_compile_test to record result.
5942 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
5943 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
5944 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
5945 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
5946 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
5947 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
5948 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
5949 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
5950 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
5951 adjust gdb_compile invocations.
5952
b8b4e42b
JK
59532009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5954
5955 * Makefile.in (abs_builddir): New.
5956 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
5957 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
5958 `$(abs_builddir)/site.exp'.
5959
f8b7eaf3
DJ
59602009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
5961
5962 * config/m68k-emc.exp, lib/emc-support.exp,
5963 gdb.trace/gdb_c_test.c: Delete.
5964 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
5965 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
5966 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
5967 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
5968 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
5969 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
5970 casing for m68k-*-elf.
5971
c4187697
NS
59722009-11-03 Pedro Alves <pedro@codesourcery.com>
5973
5974 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
5975 * gdb.arch/i386-prologue.exp: Likewise.
5976 * gdb.arch/i386-unwind.exp: Likewise.
5977
db16b772
DJ
59782009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
5979
5980 * lib/gdb.exp (gdb_expect): Fix timeout typo.
5981
bcf71277
DJ
59822009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
5983
5984 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
5985
0105cee2
DJ
59862009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
5987
5988 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
5989
24ddea62
JK
59902009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5991
5992 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
5993
287ccc17
JK
59942009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5995
5996 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
5997 * gdb.base/sepdebug2.c: New file.
5998
08bca259 59992009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
6000
6001 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
6002 the modified warnings for catch syscall. Verify if GDB was compiled
6003 with support for lib expat, and choose which tests to run depending
6004 on this.
6005
5d4e2b76
VP
60062009-10-30 Vladimir Prus <vladimir@codesourcery.com>
6007
6008 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
6009 that composite commands are parsed OK. And also test
6010 that breakpoint commands do work.
6011
240e538a
MS
60122009-10-23 Michael Snyder <msnyder@vmware.com>
6013
6014 gdb.reverse/consecutive-precsave.exp: Change expect pattern
6015 to allow for new disassembly style.
6016
9c419145
PP
60172009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
6018
6019 * gdb.asm/asm-source.exp: Adjust.
889bf7c5 6020
02506ff1
MS
60212009-10-22 Michael Snyder <msnyder@vmware.com>
6022
6023 * gdb.reverse/break-precsave.exp: New test.
6024 * gdb.reverse/consecutive-precsave.exp: Ditto.
6025 * gdb.reverse/finish-precsave.exp: Ditto.
6026 * gdb.reverse/i386-precsave.exp: Ditto.
6027 * gdb.reverse/machinestate-precsave.exp: Ditto.
6028 * gdb.reverse/sigall-precsave.exp: Ditto.
6029 * gdb.reverse/solilb-precsave.exp: Ditto.
6030 * gdb.reverse/step-precsave.exp: Ditto.
6031 * gdb.reverse/until-precsave.exp: Ditto.
6032 * gdb.reverse/watch-precsave.exp: Ditto.
6033
4cf866a3
MS
60342009-10-22 Michael Snyder <msnyder@vmware.com>
6035
6036 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
6037 for gdb_expect. Adjust one test's expect strings for the new
6038 format of disassemble.
6039 * gdb.reverse/finish-reverse.exp: Delete 'return'.
6040 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
6041 gdb_test_multiple.
6042 * gdb.reverse/step-reverse.exp: Delete 'return'.
6043 * gdb.reverse/until-reverse.exp: Delete blank lines.
6044 * gdb.reverse/watch-reverse.exp: Delete blank lines.
6045
2b28d209
PP
60462009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
6047
6048 * gdb.base/consecutive.exp: Adjust.
6049 * gdb.base/display.exp: Likewise.
6050 * gdb.base/pc-fp.exp: Likewise.
6051 * gdb.base/sigbpt.exp: Likewise.
889bf7c5 6052
33b9c32b
MS
60532009-10-19 Michael Snyder <msnyder@vmware.com>
6054
6055 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
6056 * gdb.reverse/finish-reverse.c: Ditto.
6057 * gdb.reverse/sigall-reverse.c: Ditto.
6058 * gdb.reverse/solib-reverse.c: Ditto.
6059 * gdb.reverse/step-reverse.c: Ditto.
6060 * gdb.reverse/watch-reverse.c: Ditto.
6061
6c95b8df
PA
60622009-10-19 Pedro Alves <pedro@codesourcery.com>
6063 Stan Shebs <stan@codesourcery.com>
6064
6065 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
6066 * gdb.base/foll-exec.exp: Adjust to expect a process id before
6067 "Executing new program".
6068 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
6069 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
6070 left listed after having been killed.
6071 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
6072 * gdb.base/maint.exp: Adjust test.
6073
6074 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
6075 * gdb.multi/Makefile.in: New.
6076 * gdb.multi/base.exp: New.
6077 * gdb.multi/goodbye.c: New.
6078 * gdb.multi/hangout.c: New.
6079 * gdb.multi/hello.c: New.
6080 * gdb.multi/bkpt-multi-exec.c: New.
6081 * gdb.multi/bkpt-multi-exec.exp: New.
6082 * gdb.multi/crashme.c: New.
6083
279017b7
TG
60842009-10-13 Tristan Gingold <gingold@adacore.com>
6085
6086 * gdb.base/sepdebug.exp: Check debug info are found.
6087
0413d738
PA
60882009-10-08 Pedro Alves <pedro@codesourcery.com>
6089
6090 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
6091 bits.
6092
c628eecc
JK
60932009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6094
6095 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
6096
38af1bfe
JB
60972009-10-07 Joel Brobecker <brobecker@adacore.com>
6098
6099 * gdb.base/watchpoints.c: Add copyright header. Reformat one
6100 of the comments.
6101
2b0adecd
PM
61022009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
6103
6104 * gdb.base/annota1.exp: Remove obsolete match_max increase.
6105 * gdb.base/annota3.exp: Idem.
6106 * gdb.base/maint.exp: Idem.
6107
8d417781
PM
61082009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
6109
889bf7c5 6110 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8d417781
PM
6111 to default.
6112
bb61102d
PM
61132009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
6114
889bf7c5 6115 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
bb61102d
PM
6116 mingw and cygwin targets.
6117
ace5c364
PM
61182009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
6119 Pedro Alves <pedro@codesourcery.com>
6120
889bf7c5 6121 * lib/gdb.exp (gdb_compile): Avoid adding
ace5c364
PM
6122 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
6123
c2d494a0
PM
61242009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
6125
e1b52ce2
PM
6126 * gdb.base/shr1.c: Use %p in format string.
6127 * gdb.base/unload.c: Avoid warning in fprintf.
6128 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 6129
209f53f5
PM
61302009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
6131
6132 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
6133 long type.
6134 (test_unlink): Correct printf string.
6135 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
6136 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
6137
8172766a
JK
61382009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6139
6140 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
6141 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
6142 * gdb.arch/ia64-breakpoint-shadow.S: New file.
6143
0f73703c
UW
61442009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6145
6146 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
6147 * gdb.objc/nondebug.exp: Likewise.
6148
b32306ca
UW
61492009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6150
6151 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
6152 target_info setting.
6153
6154 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
6155 that detect new threads during "info threads".
6156
0057022f
UW
61572009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6158
6159 * gdb.threads/manythreads.c (main): Increase thread stack size
6160 to 2*PTHREAD_STACK_MIN.
6161 * gdb.threads/multi-create.c (main): Likewise.
6162 (create_function): Likewise.
6163
f29c0325
UW
61642009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6165
6166 * gdb.base/dump.exp: Pass difference of pointer types instead
6167 of integer types as offset to restore in intarr3.srec case.
6168
fcb34849
UW
61692009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6170
6171 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
6172
d5142e3b
UW
61732009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6174
6175 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
6176
087b74b2 61772009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
889bf7c5 6178
087b74b2
PM
6179 New test for two watchpoints, with disabling of
6180 the first inserted.
6181 * testsuite/gdb.base/watchpoints.c: New file.
6182 * testsuite/gdb.base/watchpoints.exp: New file.
6183
96c07c5b
TT
61842009-09-25 Tom Tromey <tromey@redhat.com>
6185
6186 * gdb.base/charset.exp: Test utf-16 strings with Python.
6187
b8899f2b
TT
61882009-09-25 Tom Tromey <tromey@redhat.com>
6189
6190 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
6191 UCS-4.
6192 * gdb.base/charset.c (utf_32_string): Rename.
6193 (init_utf32): Rename.
6194 (main): Update.
6195
329719ec
TT
61962009-09-22 Tom Tromey <tromey@redhat.com>
6197
6198 * gdb.python/py-function.exp: Add regression tests.
6199
11ef0d76
KS
62002009-09-21 Keith Seitz <keiths@redhat.com>
6201
6202 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
6203 with invalid operator.
6204
3fe8f3b3
KS
62052009-09-21 Keith Seitz <keiths@redhat.com>
6206
6207 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
6208 and destructor using typedef name of class.
6209 * gdb.cp/classes.cc (class Base1): Add a destructor.
6210 (base1): New typedef.
6211 (use_methods): Instanitate an object of type base1.
6212 * gdb.cp/templates.exp (test_template_typedef): New procedure.
6213 (do_tests): Call test_template_typedef.
6214 * gdb.cp/templates.cc (Baz::~Baz): New method.
6215 (intBazOne): New typedef.
6216 (main): Instantiate intBazOne.
6217
7a9fe101
PM
62182009-09-21 Phil Muldoon <pmuldoon@redhat.com>
6219
6220 PR python/10633
6221
6222 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
6223 Function.
6224 (run_lang_tests): Add print elements test.
6225
2e4d963f
PM
62262009-09-21 Phil Muldoon <pmuldoon@redhat.com>
6227
6228 * gdb.python/py-value.exp (test_subscript_regression): New
6229 function. Test for invalid subscripts.
6230 * gdb.python/py-value.c (main): Add test array, and pointer to it.
6231 (ptr_ref): New function.
6232
ec7e75e7
PP
62332009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
6234
6235 * gdb.base/default.exp: Fix "show convenience".
6236
0cc7d26f
TT
62372009-09-15 Tom Tromey <tromey@redhat.com>
6238
6239 * lib/mi-support.exp (mi_create_varobj): Update.
6240 (mi_create_floating_varobj): Likewise.
6241 (mi_create_dynamic_varobj): New proc.
6242 (mi_varobj_update): Update.
6243 (mi_varobj_update_with_type_change): Likewise.
6244 (mi_varobj_update_kv_helper): New proc.
6245 (mi_varobj_update_dynamic_helper): Rewrite.
6246 (mi_varobj_update_dynamic): New proc.
6247 (mi_list_varobj_children): Update.
6248 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
6249 * gdb.python/python-prettyprint.py (pp_outer): New class.
6250 (pp_nullstr): Likewise.
6251 (lookup_function): Register new printers.
6252 * gdb.python/python-prettyprint.c (struct substruct): New type.
6253 (struct outerstruct): Likewise.
6254 (substruct_test): New function.
6255 (struct nullstr): New type.
6256 (string_1, string_2): New globals.
6257 (main): Add new tests.
6258 * gdb.python/python-mi.exp: Added regression tests.
6259 * gdb.mi/mi2-var-display.exp: Update.
6260 * gdb.mi/mi2-var-cmd.exp: Update.
6261 * gdb.mi/mi2-var-child.exp: Update.
6262 * gdb.mi/mi2-var-block.exp: Update.
6263 * gdb.mi/mi-var-invalidate.exp: Update.
6264 * gdb.mi/mi-var-display.exp: Update.
6265 * gdb.mi/mi-var-cmd.exp: Update.
6266 * gdb.mi/mi-var-child.exp: Update.
6267 * gdb.mi/mi-var-block.exp: Update.
6268 * gdb.mi/mi-break.exp: Update.
6269 * gdb.mi/gdb701.exp: Update.
6270
a96d9b2e
SDJ
62712009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
6272
6273 * Makefile.in: Inclusion of catch-syscall object.
6274 * gdb.base/catch-syscall.c: New file.
6275 * gdb.base/catch-syscall.exp: New file.
6276
b43b923a
MS
62772009-09-12 Michael Snyder <msnyder@vmware.com>
6278
6279 * gdb.reverse/step-reverse.exp: Explicitly check for targets
6280 that can support reverse debuggnig.
6281
cec03d70
TT
62822009-09-11 Tom Tromey <tromey@redhat.com>
6283
6284 * gdb.dwarf2/valop.S: New file.
6285 * gdb.dwarf2/valop.exp: New file.
6286
e23bb3fc
MK
62872009-09-11 Mark Kettenis <kettenis@gnu.org>
6288
6289 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
6290
37c3696d
DE
62912009-09-10 Doug Evans <dje@google.com>
6292
6293 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
6294 Add $gdb_prompt to second breakpoint regexp.
6295
5172aecb
JB
62962009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
6297
6298 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
6299 names, add missing ones.
6300 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
6301 * gdb.python/py-frame.c: Rename from python-frame.c.
6302 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
6303 testfile name.
6304 * gdb.python/py-function.exp: Rename from python-function.exp.
6305 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
6306 testfile name.
6307 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
6308 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
6309 Adjust testfile name.
6310 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
6311 * gdb.python/py-template.cc: Rename from python-template.cc.
6312 * gdb.python/py-template.exp: Rename from python-template.exp.
6313 Adjust testfile name.
6314 * gdb.python/py-value.c: Rename from python-value.c.
6315 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
6316 testfile name.
6317
b554e4bd
JK
63182009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6319
6320 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
6321 $bpt2address.
6322 (Second breakpoint address is valid on ia64)
6323 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
6324
9a68ae16
JM
63252009-09-03 Joseph Myers <joseph@codesourcery.com>
6326
6327 * gdb.base/ending-run.exp: Restrict regular expression matching
6328 line number to require closing brace following.
6329
146b9145
DE
63302009-09-03 Doug Evans <dje@google.com>
6331
6332 * gdb.base/store.exp (check_set): Fix typo in expected value message.
6333
787d21e1
TT
63342009-09-02 Tom Tromey <tromey@redhat.com>
6335
6336 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
6337
e7802207
TT
63382009-09-02 Tom Tromey <tromey@redhat.com>
6339
6340 * gdb.dwarf2/callframecfa.exp: New file.
6341 * gdb.dwarf2/callframecfa.S: New file.
6342
817aadd2
JK
63432009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6344
6345 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
6346 gdb.base/solib-overlap-main.c: New.
6347
4a76eae5
DJ
63482009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
6349
6350 PR gdb/10565
6351
6352 * gdb.base/bitfields.c (struct container, container): New.
6353 (main): Initialize it and call break5.
6354 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
6355
d4b96c9a
JK
63562009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6357
6358 Support constant DW_AT_data_member_location by GCC PR debug/40659.
6359 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
6360
4e22772d
JK
63612009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6362
6363 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
6364
2efab443
MS
63652009-08-26 Michael Snyder <msnyder@vmware.com>
6366
6367 * gdb.base/i386-reverse.c: New file.
6368 * gdb.base/i386-reverse.exp: New file.
6369 * gdb.base/Makefile.in: Add new files to be removed.
6370
07ab73a0
JM
63712009-08-26 Joseph Myers <joseph@codesourcery.com>
6372
6373 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
6374 environment-pwd for remote host.
6375 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
6376
676accff
KS
63772009-08-24 Keith Seitz <keiths@redhat.com>
6378
6379 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
6380 Add two new C++ completer tests which limit the output to a
889bf7c5 6381 given class.
676accff 6382
f9f7ad22
MS
63832009-08-24 Michael Snyder <msnyder@vmware.com>
6384
6385 * gdb.base/del.exp: Fix typo in comment.
6386 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
6387
81ecdfbb
RW
63882009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6389
6390 * configure: Regenerate.
6391 * gdb.hp/configure: Likewise.
6392 * gdb.hp/gdb.aCC/configure: Likewise.
6393 * gdb.hp/gdb.base-hp/configure: Likewise.
6394 * gdb.hp/gdb.compat/configure: Likewise.
6395 * gdb.hp/gdb.defects/configure: Likewise.
6396 * gdb.hp/gdb.objdbg/configure: Likewise.
6397 * gdb.stabs/configure: Likewise.
6398
cab0c772
UW
63992009-08-19 Doug Evans <dje@google.com>
6400
6401 * gdb.base/gdbvars.c: New file.
6402 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
6403
b8fa0bfa
PA
64042009-08-14 Pedro Alves <pedro@codesourcery.com>
6405
6406 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
6407 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
6408
b84aa90a
PA
64092009-08-13 Pedro Alves <pedro@codesourcery.com>
6410
6411 * gdb.base/default.exp: Adjust "set language test": it's now an
6412 enum command. Larger help string moved to "help set language".
6413 * gdb.base/help.exp: Adjust "help set language" expected output,
6414 now lists all known languages.
6415
0d8f9b2c
NF
64162009-08-11 Nathan Froyd <froydnj@codesourcery.com>
6417
6418 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
6419 all frame arguments.
6420 * gdb.arch/altivec-regs.exp: Likewise.
6421
bda180e0
TT
64222009-08-07 Tom Tromey <tromey@redhat.com>
6423
6424 * gdb.base/setshow.exp: Add tests for changes to set language, set
6425 check range, and set check type.
6426
48cb2d85
VP
64272009-08-03 Vladimir Prus <vladimir@codesourcery.com>
6428
6429 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
6430 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
889bf7c5 6431 Call it.
48cb2d85 6432
1ea34204
UW
64332009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6434
6435 * configure.ac: Run gdb.cell tests when appropriate.
6436 * configure: Regenerate.
6437 * lib/cell.exp: New file.
6438 * gdb.cell: New directory.
6439 * gdb.cell/configure.ac: New file.
6440 * gdb.cell/configure: New file.
6441 * gdb.cell/Makefile.in: New file.
6442 * gdb.cell/arch.exp: New file.
6443 * gdb.cell/break.c: New file.
6444 * gdb.cell/break.exp: New file.
6445 * gdb.cell/break-spu.c: New file.
6446 * gdb.cell/bt.c: New file.
6447 * gdb.cell/bt2-spu.c: New file.
6448 * gdb.cell/bt-spu.c: New file.
6449 * gdb.cell/bt.exp: New file.
6450 * gdb.cell/coremaker.c: New file.
6451 * gdb.cell/coremaker-spu.c: New file.
6452 * gdb.cell/core.exp: New file.
6453 * gdb.cell/gcore.exp: New file.
6454 * gdb.cell/data.c: New file.
6455 * gdb.cell/data.exp: New file.
6456 * gdb.cell/data-spu.c: New file.
6457 * gdb.cell/ea-cache.exp: New file.
6458 * gdb.cell/ea-cache.c: New file.
6459 * gdb.cell/ea-cache-spu.c: New file.
6460 * gdb.cell/ea-standalone.c: New file.
6461 * gdb.cell/ea-standalone.exp: New file.
6462 * gdb.cell/ea-test.c: New file.
6463 * gdb.cell/ea-test.exp: New file.
6464 * gdb.cell/f-regs.exp: New file.
6465 * gdb.cell/mem-access.c: New file.
6466 * gdb.cell/mem-access.exp: New file.
6467 * gdb.cell/mem-access-spu.c: New file.
6468 * gdb.cell/ptype.exp: New file.
6469 * gdb.cell/registers.exp: New file.
6470 * gdb.cell/size.c: New file.
6471 * gdb.cell/sizeof.exp: New file.
6472 * gdb.cell/size-spu.c: New file.
6473 * gdb.cell/solib.exp: New file.
6474 * gdb.cell/solib-symbol.exp: New file.
6475
85e747d2
UW
64762009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6477
6478 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
6479
58d6951d
DJ
64802009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
6481
6482 * gdb.base/float.exp: Handle VFP registers.
6483
6e0a4f15
MS
64842009-07-14 Michael Snyder <msnyder@vmware.com>
6485
dcd5da87
MS
6486 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
6487 to bring gdb to the beginning of the calling line.
6488
6e0a4f15
MS
6489 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
6490 confusing the i386 epilogue unwinder.
6491
782b2b07
SS
64922009-07-14 Stan Shebs <stan@codesourcery.com>
6493
6494 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
6495
f662c3bc
MS
64962009-07-14 Michael Snyder <msnyder@vmware.com>
6497
6498 * gdb.reverse/step-reverse.exp (stepi into function call):
6499 Call instruction may not be first instruction in the line.
6500 (reverse stepi from a function call): Used wrong line number.
6501
8f313923
JK
65022009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6503
6504 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
6505
4662c76e
JK
65062009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6507
6508 Fix gdb.base/macscp.exp when using custom inputrc.
6509 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
6510 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
6511 env(TERM) set.
6512 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
6513 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
6514
aa81e255
JK
65152009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6516
6517 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
6518 * gdb.base/annota1.exp (thread_test): Import global $testfile.
6519 Change the compilation target to match the testcase name.
6520 * gdb.base/sect-cmd.exp: Change the compilation target to match the
6521 testcase name.
6522 * a2-run.exp: Use for setup prepare_for_testing. Change the
6523 compilation target to match the testcase name.
6524 * gdb.base/commands.exp: Likewise.
6525 * gdb.base/finish.exp: Likewise.
6526 * gdb.base/float.exp: Likewise.
6527 * gdb.base/info-target.exp: Likewise.
6528 * gdb.base/relational.exp: Likewise.
6529 * gdb.base/term.exp: Likewise.
6530 * gdb.base/until.exp: Likewise.
6531 * gdb.base/volatile.exp: Likewise.
6532 * gdb.base/whatis-exp.exp: Likewise.
6533
4c93b1d7
HZ
65342009-07-11 Hui Zhu <teawater@gmail.com>
6535
6536 * gdb.base/help.exp (disassemble): Update expected help text.
6537
812f7342
TT
65382009-07-09 Tom Tromey <tromey@redhat.com>
6539
6540 * lib/gdb.exp: Handle TRANSCRIPT.
6541 (remote_spawn, remote_close, send_gdb): New procs.
6542
fbb8f299
PM
65432009-07-10 Phil Muldoon <pmuldoon@redhat.com>
6544
6545 * gdb.python/python-prettyprint.c: Add counted null string
6546 structure.
6547 * gdb.python/python-prettyprint.exp: Print null string. Test for
6548 embedded nulls.
6549 * gdb.python/python-prettyprint.py (pp_ns): New Function.
6550 * gdb.python/python-value.exp (test_value_in_inferior): Add
6551 variable length string fetch tests.
6552 * gdb.python/python-value.c (main): Add strings for string fetch tests.
6553
c0ac0ec7
JK
65542009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6555
6556 * gdb.base/dump.exp (inaccessible memory is reported): New test.
6557
30b66ecc
TT
65582009-07-07 Tom Tromey <tromey@redhat.com>
6559
6560 * gdb.base/call-rt-st.exp: Update for change to escape output.
6561 * gdb.base/callfuncs.exp: Likewise.
6562 * gdb.base/charset.exp: Likewise.
6563 * gdb.base/constvars.exp: Likewise.
6564 * gdb.base/long_long.exp: Likewise.
6565 * gdb.base/pointers.exp: Likewise.
6566 * gdb.base/printcmds.exp: Likewise.
6567 * gdb.base/setvar.exp: Likewise.
6568 * gdb.base/store.exp: Likewise.
6569 * gdb.cp/ref-types.exp: Likewise.
6570 * gdb.mi/mi-var-child.exp: Likewise.
6571 * gdb.mi/mi-var-display.exp: Likewise.
6572 * gdb.mi/mi2-var-display.exp: Likewise.
6573 * gdb.base/charset.exp: Test octal escape sequence length.
6574 Update for change to escape output.
6575
187c4a2b
JK
65762009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6577
6578 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
6579
d80a43f9
DJ
65802009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
6581
6582 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
6583
047427a8
JK
65842009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6585
6586 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
6587 gdbserver increasing $portnum if "Can't bind address" has been seen.
6588
8b5a0f4f
PA
65892009-07-05 Pedro Alves <pedro@codesourcery.com>
6590
6591 * gdb.base/ending-run.exp: Add "step out of main" pattern for
6592 mingw32ce.
6593
7d93ba58
PA
65942009-07-05 Pedro Alves <pedro@codesourcery.com>
6595
6596 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
6597 VFP format.
6598
2277426b
PA
65992009-07-02 Pedro Alves <pedro@codesourcery.com>
6600
6601 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
6602 linux. Adjust to use "inferior", "info inferiors", "detach
6603 inferior" and "kill inferior" instead of "restart", "info fork",
6604 "detach fork" and "delete fork".
6605 * gdb.base/ending-run.exp: Spell out "info".
6606 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
6607 the "kill" command.
6608
5af949e3
UW
66092009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6610
6611 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
6612 change to prefix TLS offset in hex with 0x.
6613
5d3729b5
UW
66142009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6615
6616 * gdb.base/default.exp: Update test case for "x" changes.
6617
af589bd0
TG
66182009-07-01 Tristan Gingold <gingold@adacore.com>
6619
6620 * gdb.base/bigcore.exp: Make darwin untested.
6621
40974f91
JK
66222009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6623
6624 * gdb.base/completion.exp (directory completion): Create the directory.
6625 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
6626 escapeuniquesub.
6627 (directory completion 2): Expect now ${escapeuniquesub}.
6628 (Glob remaining of directory test): Remove one excessive newline.
6629 Expect the real output.
6630
59dd3af6
JK
66312009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6632
6633 Fix `make check//%' target after `make check' has been ran.
6634 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
6635 a mkdir call.
6636 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
6637 (%/.dir): Remove.
6638
f4e164aa
JK
66392009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6640
6641 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
6642 the expected result record.
6643
69af2122
JK
66442009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6645
6646 Remove racy FAILs relying just on the timeouts.
6647 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
6648 (annotation_level 2): Remove racy FAILs.
6649
2fd481e1
PP
66502009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
6651
6652 gdb/10275
889bf7c5
PA
6653 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
6654
c38f313d
DJ
66552009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
6656
6657 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
6658
8b777f02
VP
66592009-06-30 Vladimir Prus <vladimir@codesourcery.com>
6660
6661 * gdb.mi/mi-stack.exp: Testing symbolic options
6662 to -stack-list-locals and -stack-list-arguments.
6663
00c7eacf
JK
66642009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6665
6666 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
6667
6bc80edc
TT
66682009-06-29 Tom Tromey <tromey@redhat.com>
6669
6670 * dg-extract-results.sh: New file.
6671 * Makefile.in (FORCE_PARALLEL): New variable.
6672 (CHECK_TARGET): New conditional variable.
6673 (check): Use CHECK_TARGET.
6674 (DO_RUNTEST): New variable.
6675 (check-single): New target.
6676 (TEST_DIRS): New variable.
6677 (TEST_TARGETS): Likewise.
6678 (check-parallel): New target.
6679 (check-gdb.%): New pattern.
6680 (BASE1_FILES): New variable.
6681 (BASE2_FILES): Likewise.
6682 (check-gdb.base%): New pattern.
6683 (%/.dir): New pattern.
6684 * configure: Rebuild.
6685 * aclocal.m4 (AM_CONDITIONAL): New defun.
6686 * configure.ac: Check whether user is using GNU make.
6687 (GMAKE): New conditional.
6688
794684b6
SW
66892009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
6690
6691 * gdb.cp/namespace-nested-import.cc: New test.
6692 * gdb.cp/namespace-nested-import.exp: New test.
6693
edb3359d
DJ
66942009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
6695
6696 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
6697 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
6698 * gdb.opt/Makefile.in (EXECUTABLES): Update.
6699 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
6700 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
6701 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
6702 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
6703 gdb.opt/inline-markers.c: New files.
6704 * lib/gdb.exp (skip_inline_frame_tests): New function.
6705 (skip_inline_var_tests): New function.
6706
cf657a0c
AS
67072009-06-27 Andreas Schwab <schwab@linux-m68k.org>
6708
6709 * gdb.cp/exception.exp: Don't require $hex before inner frame in
6710 backtrace.
6711
28d41a99
MS
67122009-06-27 Michael Snyder <msnyder@vmware.com>
6713
6714 * gdb.reverse: New directory.
6715 * gdb.reverse/break-reverse.c: New test.
6716 * gdb.reverse/break-reverse.exp: New test.
6717 * gdb.reverse/consecutive-reverse.c: New test.
6718 * gdb.reverse/consecutive-reverse.exp: New test.
6719 * gdb.reverse/finish-reverse.c: New test.
6720 * gdb.reverse/finish-reverse.exp: New test.
6721 * gdb.reverse/machinestate.c: New test.
6722 * gdb.reverse/ms1.c: New test.
6723 * gdb.reverse/machinestate.exp: New test.
6724 * gdb.reverse/Makefile.in: New file.
6725 * gdb.reverse/shr2.c: New test.
6726 * gdb.reverse/solib-reverse.c: New test.
6727 * gdb.reverse/solib-reverse.exp: New test.
6728 * gdb.reverse/step-reverse.c: New test.
6729 * gdb.reverse/step-reverse.exp: New test.
6730 * gdb.reverse/until-reverse.c: New test.
6731 * gdb.reverse/ur1.c: New test.
6732 * gdb.reverse/until-reverse.exp: New test.
6733 * gdb.reverse/watch-reverse.c: New test.
6734 * gdb.reverse/watch-reverse.exp: New test.
6735 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
6736 * configure: Regenerate.
6737
fe3c8b0d
DE
67382009-06-26 Doug Evans <dje@google.com>
6739
6740 * gdb.base/psymtab.exp: Turn off pending breakpoints.
6741
3a72a602
PM
67422009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
6743
6744 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
6745 windows problem for 'file delete $binfile'.
6746
27aa8d6a
SW
67472009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
6748
6749 * gdb.cp/namespace-using.exp: New test.
6750 * gdb.cp/namespace-using.cc: New test.
6751
8ac055f8
JB
67522009-05-20 Joel Brobecker <brobecker@adacore.com>
6753
6754 * gdb.ada/variant_record_packed_array: New testcase.
6755
85e306ed
TT
67562009-06-23 Tom Tromey <tromey@redhat.com>
6757
6758 * gdb.base/charset.exp (test_combination): Regression test.
6759 * gdb.base/charset.c (my_wchar_t): New typedef.
6760 (myvar): New global.
6761 (main): Set myvar.
6762
56643c5e
PM
67632009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
6764
6765 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
6766 target.
6767
1fac167a
UW
67682009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6769
6770 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
6771
7ccb0be9
UW
67722009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6773
6774 * gdb.mi/gdb680.exp: Update test for error message.
6775
568d6575
UW
67762009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6777
6778 * gdb.base/annota1.exp: Allow multiple occurrences of the
6779 frames-invalid annotation.
6780 * gdb.cp/annota2.exp: Likewise.
6781
7cd1089b
PM
67822009-06-15 Phil Muldoon <pmuldoon@redhat.com>
6783
6784 * gdb.cp/gdb2495.cc: New file.
6785 * gdb.cp/gdb2495.exp: New file.
6786
72c63395
JK
67872009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6788
6789 Report error on GDB crash during runto.
6790 * lib/gdb.exp (runto <eof>): New.
6791
3788363d
DJ
67922009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
6793
6794 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
6795 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
6796 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
6797 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
6798 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
6799 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
6800 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
6801 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
6802 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
6803 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
6804 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
6805 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
6806 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
6807 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
6808 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
6809 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
6810 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
6811 gdb.server/server-mon.exp, gdb.server/server-run.exp,
6812 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
6813 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
6814 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
6815 gdb.trace/passcount.exp, gdb.trace/report.exp,
6816 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
6817 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
6818 gdb.trace/while-stepping.exp: Use a unique name for the compiled
6819 executable.
6820
17592de3
PA
68212009-06-07 Pedro Alves <pedro@codesourcery.com>
6822
6823 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
6824 defined before referencing it.
6825
701e355d
DE
68262009-06-03 Doug Evans <dje@google.com>
6827
6828 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
6829 * gdb.arch/i386-see.c: Ditto.
6830
f2292c65
PM
68312009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
6832
6833 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
6834 (check_macro): Return 1 if undefined.
6835 If first test fails, check if macro debug information is available,
6836 and report unsupported test if no macro information is found.
6837
5a437975
DE
68382009-05-29 Doug Evans <dje@google.com>
6839
6840 * gdb.threads/hand-call-in-threads.exp: New.
6841 * gdb.threads/hand-call-in-threads.c: New.
6842
c141c696
MS
68432009-05-29 Michael Snyder <msnyder@vmware.com>
6844
6845 * gdb.base/break-always.exp: Change "1" to "on".
6846 Add confirmation check.
6847
b3444185
PA
68482009-05-28 Pedro Alves <pedro@codesourcery.com>
6849
6850 * gdb.threads/threxit-hop-specific.c: New.
6851 * gdb.threads/threxit-hop-specific.exp: New.
6852 * gdb.threads/thread-execl.c: New.
6853 * gdb.threads/thread-execl.exp: New.
6854
b6313243
TT
68552009-05-27 Tom Tromey <tromey@redhat.com>
6856 Thiago Jung Bauermann <bauerman@br.ibm.com>
6857
6858 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
6859 (mi_child_regexp): Likewise.
6860 (mi_list_varobj_children_range): Likewise.
6861 (mi_get_features): Likewise.
6862 (mi_list_varobj_children): Rewrite.
6863 * gdb.python/python-mi.exp: New file.
6864
a6bac58e
TT
68652009-05-27 Tom Tromey <tromey@redhat.com>
6866 Thiago Jung Bauermann <bauerman@br.ibm.com>
6867 Phil Muldoon <pmuldoon@redhat.com>
6868 Paul Pluzhnikov <ppluzhnikov@google.com>
6869
6870 * gdb.python/python-prettyprint.exp: New file.
6871 * gdb.python/python-prettyprint.c: New file.
6872 * gdb.python/python-prettyprint.py: New file.
6873 * gdb.base/display.exp: print/r is now valid.
6874
2c74e833
TT
68752009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
6876 Tom Tromey <tromey@redhat.com>
6877 Pedro Alves <pedro@codesourcery.com>
6878 Paul Pluzhnikov <ppluzhnikov@google.com>
6879
6880 * gdb.python/python-template.exp: New file.
6881 * gdb.python/python-template.cc: New file.
6882 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
6883 tests.
6884 * gdb.python/python-value.exp (py_objfile_tests): New proc.
6885 Call it.
6886 (test_value_after_death): New proc.
6887 * gdb.python/python-value.c (PTR): New typedef.
6888 (main): New variable 'x'.
6889
89c73ade
TT
68902009-05-27 Tom Tromey <tromey@redhat.com>
6891
6892 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
6893 tests.
6894 * gdb.python/python-value.exp (py_objfile_tests): New proc.
6895 Call it.
6896
a75724bc
PA
68972009-05-27 Pedro Alves <pedro@codesourcery.com>
6898
6899 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
6900
e58b0e63
PA
69012009-05-24 Pedro Alves <pedro@codesourcery.com>
6902
6903 * gdb.threads/fork-thread-pending.c: New.
6904 * gdb.threads/fork-thread-pending.exp: New.
6905
4ac36638
JK
69062009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6907
6908 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
6909 * gdb.dwarf2/dw2-strp.S (a_string2): New.
6910
889bf7c5 69112009-05-18 Jon Beniston <jon@beniston.com>
c28c63d8 6912
889bf7c5 6913 * gdb.asm/asm-source.exp: Add lm32 target.
c28c63d8 6914
b242c3c2
PA
69152009-05-17 Pedro Alves <pedro@codesourcery.com>
6916
6917 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
6918 `gdb_get_line_number'. Call `callee' in both parent and child.
6919 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
6920 `gdb_get_line_number' instead of hardcoding line numbers.
6921 (catch_fork_unpatch_child): New procedure to test detaching
6922 breakpoints from child fork.
6923 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
6924 hardcoding line numbers.
6925 (do_fork_tests): Run `catch_fork_unpatch_child'.
6926
ee342b23
VP
69272009-05-17 Vladimir Prus <vladimir@codesourcery.com>
6928
6929 * gdb.mi/mi-cmd-var.exp: Check that when varobj
6930 of structure type enters or leaves the scope, it
6931 is reported by -var-update.
6932
e2009e98
DE
69332009-05-11 Doug Evans <dje@sebabeach.org>
6934
6935 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
fc529d80 6936 * gdb.threads/pending-step.c (main): Fix off-by-one error.
e2009e98
DE
6937 * gdb.threads/schedlock.c (main): Fix off-by-one error.
6938
00903456
JK
69392009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6940
6941 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
6942
dc621c35
DE
69432009-04-30 Doug Evans <dje@google.com>
6944
6945 * gdb.threads/watchthreads2.exp: New testcase.
6946 * gdb.threads/watchthreads2.c: New testcase.
6947
9ab4e744
DE
69482009-04-29 Doug Evans <dje@google.com>
6949
6950 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
6951 * gdb.cp/mb-ctor.cc: Ditto.
6952 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
6953 * gdb.cp/mb-inline.h (multi_line_foo): New function.
6954 * gdb.cp/mb-inline1.cc: Call it.
6955 * gdb.cp/mb-inline2.cc: Ditto.
6956 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
6957 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
6958
484086b7
JK
69592009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6960
6961 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
6962 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
6963 Replace all uses of `decimal' by `nonzero'.
6964 (info macro FROM_COMMANDLINE): New test.
6965
379a77b5
TT
69662009-04-27 Tom Tromey <tromey@redhat.com>
6967
6968 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
6969
b92b73c2
DE
69702009-04-27 Doug Evans <dje@google.com>
6971
6972 * gdb.threads/watchthreads.c (main): Initialize args before starting
6973 the threads. Plus formatting cleanup.
6974 * gdb.threads/watchthreads.exp: Avoid errant failures due to
6975 biased scheduling of one thread.
6976
945a118d
JG
69772009-04-27 Jerome Guitton <guitton@adacore.com>
6978
6979 * gdb.cp/templates.cc (GetMax): New template.
6980 (main): Declare two instances of GetMax.
6981 * gdb.cp/templates.exp: Add new test.
6982
d389af10
JK
69832009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6984
6985 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
6986
e7f86de9
JM
69872009-04-22 Joseph Myers <joseph@codesourcery.com>
6988
6989 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
6990
334cc82d
TT
69912009-04-15 Tom Tromey <tromey@redhat.com>
6992
6993 * gdb.base/charset.exp: Add regression test.
6994
d12672cc
JB
69952009-04-14 Joel Brobecker <brobecker@adacore.com>
6996
6997 * gdb.base/exe-lock.exp: New testcase.
6998
18e8c3bc
TT
69992009-04-13 Tom Tromey <tromey@redhat.com>
7000
7001 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
7002 operator on Frame.
7003
5ecd5cbe
UW
70042009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7005
7006 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
7007 * gdb.server/ext-attach.exp: Likewise.
7008
7309f756
VP
70092009-04-03 Vladimir Prus <vladimir@codesourcery.com>
7010
7011 Eliminate some sleep usage.
7012
889bf7c5
PA
7013 * gdb.mi/basics.c (do_nothing): New.
7014 (main): Use do_nothing instead of printf, so that
7015 not to introduce race condition between output of
7016 inferiour and output of gdb. Do not use sleep as it
7017 is not generally available on embedded targets.
7309f756 7018
f4b95f6f
PA
70192009-04-02 Pedro Alves <pedro@codesourcery.com>
7020
7021 * gdb.server/ext-attach.exp: Expect an optional process id after
7022 "Detached from remote process".
7023
de40b933
JK
70242009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7025
7026 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
7027 gdb.dwarf2/dw2-unresolved.exp: New.
7028
2ae101a4
PA
70292009-04-02 Pedro Alves <pedro@codesourcery.com>
7030
7031 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
7032 mi_run_to_main.
7033
56a8e183
PA
70342009-04-02 Pedro Alves <pedro@codesourcery.com>
7035
7036 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
7037 mi_run_to_main. Skip thread exit test on remote targets.
7038 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
7039 mi_run_to_main.
7040 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
7041 mi_run_to_main.
7042 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
7043 when expecting ^connected. Detect when the target doesn't support
7044 non-stop mode.
7045 (mi_run_cmd): Detect if non-stop mode was requested by isn't
7046 supported. Return -1 on error, 0 on success.
7047 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
7048 (mi_runto): Return mi_runto_helper's result explicitly.
7049
c35fafde
PA
70502009-04-01 Pedro Alves <pedro@codesourcery.com>
7051
7052 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
7053
f8a8dce6
JB
70542009-04-01 Tom Tromey <tromey@redhat.com>
7055
7056 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
7057 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
7058 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
7059 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
7060
71c25dea
TT
70612009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
7062 Jan Kratochvil <jan.kratochvil@redhat.com>
7063
7064 PR gdb/931
7065 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
7066 output.
7067 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
7068 for gdb/931.
7069 * dw2-strp.S (DW_AT_language): Change to C++.
7070 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
7071
02d9a9ce
JB
70722009-03-31 Joel Brobecker <brobecker@adacore.com>
7073
7074 * gdb.ada/tasks: New testcase.
7075
1042e4c0
SS
70762009-03-30 Stan Shebs <stan@codesourcery.com>
7077
7078 * gdb.trace/actions.exp: Update to match new info trace format.
7079 * gdb.trace/deltrace.exp: Ditto.
7080 * gdb.trace/infotrace.exp: Ditto.
7081 * gdb.trace/passcount.exp: Ditto.
7082 * gdb.trace/save-trace.exp: Ditto.
7083 * gdb.trace/while-stepping.exp: Ditto.
7084 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
7085
f8f6f20b
TJB
70862009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
7087
7088 * gdb.python/python-frame.c: New file.
7089 * gdb.python/python-frame.exp: New file.
7090
c0c6f777
TJB
70912009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
7092
7093 * gdb.python/python-value.exp: Add tests for the address
7094 attribute.
7095
3cb51905
AS
70962009-03-29 Andreas Schwab <schwab@linux-m68k.org>
7097
7098 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
7099
88fc996f
DE
71002009-03-26 Doug Evans <dje@google.com>
7101
7102 * gdb.mi/mi-nonstop-exit.exp: New file.
7103 * gdb.mi/non-stop-exit.c: New file.
7104
56ef84b1
TT
71052009-03-26 Tom Tromey <tromey@redhat.com>
7106
7107 Update for change to prologue skipping:
7108 * gdb.mi/mi2-simplerun.exp: Update.
7109 * gdb.mi/mi2-break.exp: Update.
7110 * gdb.mi/mi-simplerun.exp: Update.
7111 * gdb.mi/mi-break.exp: Update.
7112 * gdb.base/ending-run.exp: Update.
7113
def2b000
TJB
71142009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
7115
7116 * gdb.python/python-value.exp (test_value_in_inferior): Test
7117 gdb.Value.is_optimized_out attribute.
7118
442ddf59
JK
71192009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7120
7121 * gdb.dwarf2/dw2-noloc-main.c: New file.
7122 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
7123 (.text): Remove.
7124 (.data): New.
7125 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
7126 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
7127 (DW_TAG_subprogram func_cu1, noloc): Remove.
7128 (main): New.
7129 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
7130 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
7131 (file_symbols): New procedure.
7132
a8df5de4
TT
71332009-03-25 Tom Tromey <tromey@redhat.com>
7134
7135 * gdb.base/charset.exp (valid_target_charset): New proc.
7136 Use it to skip tests on invalid charsets.
7137
cc1d7add
PM
71382009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
7139
7140 * gdb.base/completion.exp: Add a test for directory completion.
7141
bcd5727b
JK
71422009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7143
7144 Fix a racy FAIL.
7145 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
7146 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
7147
cc924cad
TJB
71482009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
7149
7150 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
7151 * gdb.python/python-function.exp: Add test for function returning
7152 a GDB value.
7153
bc3b79fd
TJB
71542009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
7155
7156 * gdb.python/python-function.exp: New file.
7157
6c7a06a3
TT
71582009-03-20 Tom Tromey <tromey@redhat.com>
7159
7160 * gdb.base/store.exp: Update for change to escape output.
7161 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
7162 to escape output.
7163 * gdb.base/pointers.exp: Update for change to escape output.
7164 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
7165 to escape output.
7166 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
7167 escape output.
7168 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
7169 to escape output.
7170 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
7171 escape output.
7172 * gdb.base/setvar.exp: Update for change to escape output.
7173 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
7174 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
7175 to escape output.
7176 (test_print_string_constants): Likewise.
7177 * gdb.base/charset.exp (valid_host_charset): Check size of
7178 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
7179 cases. Handle "auto"-related output.
7180 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
7181 (uvar, Uvar): New globals.
7182
c31af87b
JG
71832009-03-19 Jerome Guitton <guitton@adacore.com>
7184
7185 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
7186 deltas.
7187 * gdb.ada/fixed_points.exp: Ditto.
7188
51272cf2
PA
71892009-03-18 Pedro Alves <pedro@codesourcery.com>
7190
7191 * return-nodebug.c: Don't include stdio.h.
7192 (init): Delete.
7193 (func): Delete definition and provide extern declaration.
7194 (t): New.
7195 (main): Don't call printf. Call func and store its result in t.
7196 * return-nodebug1.c: New.
7197 * return-nodebug.exp: Don't expect stdio output. Instead, print
7198 the global variable t. Drop printf formatters and cast types from
7199 foreach loop. Don't use prepare_for_testing. Compile
7200 return-nodebug.c and return-nodebug1.c in separate steps. Don't
7201 define FORMAT or CAST.
7202
d24948ac
PP
72032009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7204
7205 * gdb.base/solib-display.exp: Disable test for remote targers.
7206
61ff14c6
JK
72072009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7208
7209 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
7210
cb4dce93
JK
72112009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7212
7213 Fix a racy FAIL.
7214 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
7215 code from `follow parent, print pids'.
7216 (`follow child, print pids', `follow parent, print pids'): Call it.
7217 Replace `gdb_test "break..."' by gdb_breakpoint.
7218
f7c60c5e
VP
72192009-03-13 Vladimir Prus <vladimir@codesourcery.com>
7220
7221 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 7222 sync and async modes.
f7c60c5e 7223
383ace49
JB
72242009-03-12 Joel Brobecker <brobecker@adacore.com>
7225
7226 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
7227 that was checked in by mistake. Remove loading of ada.exp, since
7228 this is not necessary in this case.
7229
4ce102af
JB
72302009-03-12 Joel Brobecker <brobecker@adacore.com>
7231
7232 * gdb.ada/ptype_arith_binop.exp: New testcase.
7233
529a2aef
JB
72342009-03-12 Joel Brobecker <brobecker@adacore.com>
7235
7236 * gdb.ada/mod_from_name: New testcase.
7237
8a38181c
JB
72382009-03-12 Joel Brobecker <brobecker@adacore.com>
7239
7240 * gdb.ada/tick_last_segv: New testcase.
7241
11436dee
VP
72422009-03-12 Vladimir Prus <vladimir@codesourcery.com>
7243
61ff14c6 7244 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 7245
1f31650a
VP
72462009-03-12 Vladimir Prus <vladimir@codesourcery.com>
7247
61ff14c6
JK
7248 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
7249 include the token in ^running and frame info in *stopped.
1f31650a 7250
a3247a22
PP
72512009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7252
7253 * solib-display.exp: New file.
7254 * solib-display-main.c: New file.
7255 * solib-display-lib.c: New file.
61ff14c6 7256
aae64587
PA
72572009-03-05 Pedro Alves <pedro@codesourcery.com>
7258
7259 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
7260
44aabfbc
JK
72612009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7262
7263 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
7264 (list_and_check_macro): Use more specific test name.
7265 (next to definition): Make the test names unique.
7266
c087fcd3
PM
72672009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
7268
7269 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 7270
c86cf029
VP
72712009-02-17 Vladimir Prus <vladimir@codesourcery.com>
7272
7273 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
7274 notifications.
7275 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
7276 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
7277 * lib/mi-support.exp (library_loaded_re): New.
7278 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
7279
3ea85240
VP
72802009-02-17 Vladimir Prus <vladimir@codesourcery.com>
7281
7282 * gdb.gdb/observer.exp: Use test_notification observer, not
7283 normal_stop, everywhere.
7284 (test_normal_stop_notifications): Rename to...
7285 (test_notifications): ...this.
7286 (test_observer_normal_stop): Rename to...
7287 (test_observer): ...this.
7288
1903f0e6
DE
72892009-02-16 Doug Evans <dje@google.com>
7290
7291 * gdb.arch/amd64-disp-step.S (test_int3): New test.
7292 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
7293 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
7294 (test_prefixed_syscall,test_int3): New tests.
7295 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
7296 (test_prefixed_syscall,test_int3): New tests.
7297
1d33d6ba
VP
72982009-02-14 Vladimir Prus <vladimir@codesourcery.com>
7299
3cb51905
AS
7300 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
7301 (mi_expect_interrupt): Likewise.
7302 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
7303 response.
1d33d6ba 7304
faafb047
PM
73052009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
7306
7307 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
7308 * gdb.base/pc-fp.exp (get_valueofx): Remove.
7309 Replace calls to get_valueofx by get_hexadecimal_valueof.
7310
417e16e2
PM
73112009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
7312
7313 * lib/gdb.exp (get_valueof): Accept anything as a return value.
7314 (get_integer_valueof): New procedure.
7315 (get_sizeof): Use new get_integer_value_of.
7316 * gdb.base/sizeof.exp: Replace all uses of get_valueof
7317 by get_integer_valueof.
7318
7065b901
TT
73192009-02-13 Tom Tromey <tromey@redhat.com>
7320
7321 * gdb.base/remote.exp (get_sizeof): Remove.
7322 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
7323 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
7324 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
7325 * lib/gdb.exp (get_valueof): Move from long_long.exp.
7326 (get_sizeof): Likewise.
7327
5d7cb8df
JK
73282009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7329
7330 PR fortran/9806
7331 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
7332
b2febfff
PP
73332009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7334
7335 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
7336
4aa995e1
PA
73372009-02-06 Pedro Alves <pedro@codesourcery.com>
7338
7339 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
7340
d8906c6f
TJB
73412009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
7342
7343 * gdb.python/python-cmd.exp: New file.
7344
ff4ab08d
TG
73452009-02-06 Tristan Gingold <gingold@adacore.com>
7346
7347 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
7348
aacd552b
TG
73492009-02-05 Tristan Gingold <gingold@adacore.com>
7350
7351 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
7352 pointer is dereferenced and use this signal name in regexp.
7353 * gdb.base/signull.exp: Ditto.
7354 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
7355 * gdb.base/signull.c (main): Ditto.
7356
08c637de
TJB
73572009-02-04 Tom Tromey <tromey@redhat.com>
7358 Thiago Jung Bauermann <bauerman@br.ibm.com>
7359
7360 * gdb.python/python-value.exp: Use `gdb.history' instead of
7361 `gdb.value_from_history'.
7362 (test_value_numeric_ops): Add test for conversion of enum constant.
7363 * gdb.python/python-value.c (enum e): New type.
7364 (evalue): New global.
7365 (main): Use argv.
7366
20261af8
JG
73672009-02-04 Jerome Guitton <guitton@adacore.com>
7368
7369 * gdb.ada/uninitialized_vars: New test program.
7370 * gdb.ada/uninitialized_vars.exp: New testcase.
7371
52e44b43
TT
73722009-02-02 Tom Tromey <tromey@redhat.com>
7373
7374 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
7375 * gdb.cp/pr2489.cc: Rename...
7376 * gdb.cp/pr9594.cc: ... to this.
7377
1c71341a
TT
73782009-02-02 Tom Tromey <tromey@redhat.com>
7379
7380 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
7381 * gdb.cp/pr2489.cc: New file.
7382 * gdb.cp/cpcompletion.exp: New file.
7383
a4295225
TT
73842009-02-02 Tom Tromey <tromey@redhat.com>
7385
7386 PR exp/9059:
7387 * gdb.cp/call-c.exp: Add regression test.
7388 * gdb.cp/call-c.cc (FooHandle): New typedef.
7389 (main): New variable 'handle'.
7390
592375cd
VP
73912009-01-30 Vladimir Prus <vladimir@codesourcery.com>
7392
7393 * lib/mi-support.exp (et_mi_thread_list)
7394 (check_mi_and_console_threads): Adjust for current thread in
7395 -thread-list-ids output.
7396
41447f92
VP
73972009-01-30 Vladimir Prus <vladimir@codesourcery.com>
7398
889bf7c5
PA
7399 * gdb.mi/mi-break.exp (test_disabled_creation): New.
7400 Call it.
41447f92 7401
35669430
DE
74022009-01-28 Doug Evans <dje@google.com>
7403
7404 * gdb.arch/amd64-disp-step.S: New file.
7405 * gdb.arch/amd64-disp-step.exp: New file.
7406 * gdb.arch/i386-disp-step.S: New file.
7407 * gdb.arch/i386-disp-step.exp: New file.
7408
09f00d9a
PM
74092009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
7410
7411 * gdb.base/find.exp: Set newline variable
7412 using quotes instead of braces to fix cygwin failures.
7413
1e8fb976
PA
74142009-01-23 Pedro Alves <pedro@codesourcery.com>
7415
7416 * gdb.base/radix.exp: Add tests to ensure that that set
7417 input-radix 0 and set output-radix 0 are really rejected.
7418
da061712
PA
74192009-01-23 Pedro Alves <pedro@codesourcery.com>
7420
7421 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
7422 copyright years.
7423
dd7e2d2b
PA
74242009-01-23 Pedro Alves <pedro@codesourcery.com>
7425
7426 PR gdb/9664:
7427 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
7428
392452f6
PA
74292009-01-22 Pedro Alves <pedro@codesourcery.com>
7430
7431 PR c++/9631:
7432 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
7433
8653e71c
PM
74342009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
7435
7436 * gdb.server/file-transfer.exp: Use EXEEXT variable for
7437 binfile definition to fix Windows OS failure.
7438
a12cc160
DJ
74392009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
7440
7441 PR gdb/9346
7442 * gdb.base/interrupt.c (sigint_handler): New.
7443 (main): Install a SIGINT handler if SIGNALS is defined. Exit
7444 on error.
7445 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
7446 Test "signal SIGINT".
7447
b89667eb
DE
74482009-01-19 Doug Evans <dje@google.com>
7449
7450 * gdb.base/break.exp: Update expected gdb output.
7451 * gdb.base/sepdebug.exp: Ditto.
7452 * gdb.mi/mi-syn-frame.exp: Ditto.
7453 * gdb.mi/mi2-syn-frame.exp: Ditto.
7454 * gdb.base/call-signal-resume.exp: New file.
7455 * gdb.base/call-signals.c: New file.
7456 * gdb.base/unwindonsignal.exp: New file.
7457 * gdb.base/unwindonsignal.c: New file.
7458 * gdb.threads/interrupted-hand-call.exp: New file.
7459 * gdb.threads/interrupted-hand-call.c: New file.
7460 * gdb.threads/thread-unwindonsignal.exp: New file.
7461
adb483fe
DJ
74622009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
7463
7464 * gdb.base/define.exp: Test defining and hooking prefix commands.
7465 * gdb.python/python.exp: Update test for "show user" output.
7466
60023297
JK
74672009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7468
7469 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
7470 now the output exactly, using less wildcards. Expect also the output
7471 of gfortran-4.3. Update for the f-valprint.c modification from
7472 2008-04-22.
7473 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
7474 Remove gdb_test test names where matching the command.
7475
ccc57cf9
PA
74762009-01-01 Pedro Alves <pedro@codesourcery.com>
7477
7478 PR breakpoints/9681:
7479 * gdb.base/watchpoint.exp: Add regression test.
7480
c7a6ca08
PA
74812008-12-31 Pedro Alves <pedro@codesourcery.com>
7482
7483 * gdb.threads/attach-into-signal.exp: Don't use
7484 gdb_suppress_entire_file.
7485 * gdb.threads/attach-stopped.exp: Ditto.
7486 * gdb.threads/attachstop-mt.exp: Ditto.
7487
3a031f65
PA
74882008-12-31 Pedro Alves <pedro@codesourcery.com>
7489
7490 PR gdb/8812:
7491 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
7492
09e6485f
PA
74932008-12-29 Pedro Alves <pedro@codesourcery.com>
7494
7495 PR gdb/7536:
7496 * gdb.base/radix.exp: Add tests to ensure invalid input radices
7497 and unsupported output radices are really rejected.
7498
0cd53049
JK
74992008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7500
7501 * gdb.cp/punctuator.exp: Backslash the '$' signs.
7502
ba163c7e
TT
75032008-12-22 Tom Tromey <tromey@redhat.com>
7504
7505 * gdb.cp/punctuator.exp: New file.
7506
6f4de6c9
JK
75072008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7508
7509 * gdb.base/completion.exp (Completing non-existing component): New test.
7510
0f34d0b4
JK
75112008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7512
7513 Fix for PR gdb/8648.
7514 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
7515 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
7516 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
7517 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
7518
db2ad4c3
JK
75192008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7520
7521 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
7522
bb5ef15e
DP
75232008-12-16 Christophe Lyon <christophe.lyon@st.com>
7524
7525 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
7526 compiler actually generate code at the expected line number.
7527
90142adc
JZ
75282008-12-15 Jie Zhang <jie.zhang@analog.com>
7529
7530 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
7531
fad6eecd
TT
75322008-12-12 Tom Tromey <tromey@redhat.com>
7533
7534 * gdb.base/commands.exp (redefine_hook_test): New proc.
7535 Call it.
7536
17c8aaf5
TT
75372008-12-11 Tom Tromey <tromey@redhat.com>
7538
7539 * gdb.base/macscp.exp: New regression test.
7540
7c8adf68
TT
75412008-12-11 Tom Tromey <tromey@redhat.com>
7542
7543 * gdb.base/macscp.exp: Print "address.addr".
7544 * gdb.base/macscp1.c (struct outer): New struct.
7545 (address): New global.
7546
b05dcbb7
TT
75472008-12-09 Tom Tromey <tromey@redhat.com>
7548
7549 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
7550 Call it.
7551
2d476de1
DE
75522008-12-04 Doug Evans <dje@google.com>
7553
7554 * gdb.server/ext-run.exp: Relax regexp for init program.
7555
87bdc959
TG
75562008-12-03 Tristan Gingold <gingold@adacore.com>
7557
7558 * gdb.base/macscp.exp: Generate an object file during compilation
7559 to work around Darwin dsymutil limitations.
7560
e0740f77
JK
75612008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7562
7563 Test resolving external references to TLS variables.
7564 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
7565 FILE2_THREAD_LOCAL.
7566 (testfile2, srcfile2): New variables.
7567 * gdb.threads/tls.c (file2_thread_local)
7568 (function_referencing_file2_thread_local): New.
7569 * gdb.threads/tls2.c: New file.
7570
67f0aac5
JB
75712008-11-28 Joel Brobecker <brobecker@adacore.com>
7572
7573 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
7574 rather than integer, as integer might not be big enough when
7575 on 64bit targets.
67f0aac5 7576
c332165e
JG
75772008-11-27 Jerome Guitton <guitton@adacore.com>
7578
7579 * gdb.cp/formatted-ref.exp: Add equality test.
7580 * gdb.ada/formatted_ref.exp: Ditto.
7581
fc9b693c
JK
75822008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7583
7584 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
7585 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
7586
a9c64011
AS
75872008-11-20 Andreas Schwab <schwab@suse.de>
7588
7589 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
7590 matching syscall entry point.
7591 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
7592 (tcatch_vfork_then_child_follow): Likewise. Finish through
7593 vfork even if we stopped at the syscall trampoline.
7594
e2fd701e
DE
75952008-11-20 Doug Evans <dje@google.com>
7596
7597 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
7598
69abc51c
TJB
75992008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
7600
7601 * gdb.arch/ppc-dfp.exp: New file.
7602 * gdb.arch/ppc-dfp.c: New file.
7603
c14c28ba
PP
76042008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7605
7606 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 7607
2e74121d
DE
76082008-11-17 Doug Evans <dje@google.com>
7609
7610 * gdb.mi/mi-syn-frame.exp: Update expected output.
7611 * gdb.mi/mi2-syn-frame.exp: Update expected output.
7612
66bb093b
VP
76132008-11-17 Vladimir Prus <vladimir@codesourcery.com>
7614
7615 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
7616 "thread N" results in =thread-selected.
7617 * lib/mi-support (mi_run_cmd, mi_expect_stop)
7618 (mi_send_resuming_command_raw): Be prepared for
7619 =thread-selected.
7620
3d043ef6
VP
76212008-11-17 Vladimir Prus <vladimir@codesourcery.com>
7622
a9c64011
AS
7623 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
7624 * lib/mi-support.exp: Likewise.
3d043ef6 7625
808104c8
JB
76262008-11-16 Joel Brobecker <brobecker@adacore.com>
7627
7628 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
7629 commands from the expected output for "help catch".
7630
00b22944
JB
76312008-11-15 Joel Brobecker <brobecker@adacore.com>
7632
7633 * gdb.ada/int_deref.exp: New testcase.
7634
59669435
TT
76352008-11-14 Nick Roberts <nickrob@snap.net.nz>
7636
7637 * gdb.mi/gdb2549.exp: New file.
7638
de04a248
DE
76392008-11-11 Doug Evans <dje@google.com>
7640
7641 * gdb.base/callexit.exp: New file.
7642 * gdb.base/callexit.c: New file.
7643
6b8ce727
DE
76442008-11-10 Doug Evans <dje@google.com>
7645
7646 * lib/gdb.exp (GDBFLAGS): Move -nx ...
7647 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
7648 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
7649 (default_gdb_start,default_gdb_exit): Ditto.
7650 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
7651 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
7652 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
7653 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
7654 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
7655 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
7656
1b14b8aa
AS
76572008-11-03 Andreas Schwab <schwab@suse.de>
7658
7659 * gdb.base/hashline2.exp: Fix typo.
7660 * gdb.base/hashline3.exp: Likewise.
7661
f3134b88
TT
76622008-10-30 Tom Tromey <tromey@redhat.com>
7663
7664 * gdb.base/pointers.exp: Add test.
7665 * gdb.base/pointers.c (k, S): New typedefs.
7666 (instance): New global.
7667
c2226152
AS
76682008-10-30 Andreas Schwab <schwab@suse.de>
7669
7670 * gdb.base/args.exp: Add tests for newlines.
7671
462f405c
JB
76722008-10-30 Joel Brobecker <brobecker@adacore.com>
7673
7674 gdb.base/foll-exec.exp: Update the expected output of a couple
7675 of "info breakpoints" tests.
7676
79a45b7d
TT
76772008-10-28 Tom Tromey <tromey@redhat.com>
7678
7679 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
7680
adc13a14
PA
76812008-10-24 Pedro Alves <pedro@codesourcery.com>
7682
7683 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
7684 gdb_start_cmd.
7685 Use runto_main before any test that requires execution.
7686
252fbfc8
PA
76872008-10-23 Pedro Alves <pedro@codesourcery.com>
7688
7689 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
7690 instead of SIGINT.
7691
28148e3d
JB
76922008-10-22 Joel Brobecker <brobecker@adacore.com>
7693
7694 * gdb.base/completion.exp: Update expected output following
7695 the addition of the "info tasks" command.
7696
c209f847
TT
76972008-10-22 Tom Tromey <tromey@redhat.com>
7698
7699 * gdb.base/exprs.exp (test_expr): Add test for string
7700 concatenation.
7701
f177e350
PA
77022008-10-19 Pedro Alves <pedro@codesourcery.com>
7703
7704 * configure.ac: Output gdb.python/Makefile.
7705 * configure: Regenerate.
7706 * gdb.python/Makefile.in: New.
7707
cce89356
JB
77082008-10-16 Joel Brobecker <brobecker@adacore.com>
7709
7710 * gdb.base/foll-fork.exp: Adjust the expected output to match
7711 the new description for fork/vfork catchpoints in the "info
7712 breakpoints" output.
7713
176d289d
TJB
77142008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
7715
7716 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
7717
a08702d6
TJB
77182008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
7719
7720 * gdb.python/python-value.c: New file.
7721 * gdb.python/python-value.exp: New file.
7722
1c5cfe86
PA
77232008-10-15 Pedro Alves <pedro@codesourcery.com>
7724
7725 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
7726
5a98ad69
DP
77272008-10-15 Denis Pilat <denis.pilat@st.com>
7728
41702f1b 7729 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 7730
dcb1a1e2
TT
77312008-10-09 Tom Tromey <tromey@redhat.com>
7732
7733 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
7734 'fprintf' and 'stderr'.
7735
9124fe48
JB
77362008-10-07 Joel Brobecker <brobecker@adacore.com>
7737
7738 * gdb.ada/ref_tick_size.exp: New testcase.
7739
45452591
DE
77402008-10-06 Doug Evans <dje@google.com>
7741
7742 * gdb.dwarf2/dw2-cu-size.exp: New file.
7743 * gdb.dwarf2/dw2-cu-size.S: New file.
7744
7745 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
7746 .Ltype_int for clarity.
7747
4fc5b208
PP
77482008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
7749
7750 PR gdb/2384:
7751 * gdb.cp/gdb2384.exp: Extended to test more cases.
7752 * gdb.cp/gdb2384.cc: Likewise.
7753 * gdb.cp/gdb2384-base.h: Likewise.
7754 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 7755
d78df370
JK
77562008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7757
7758 * gdb.base/maint.exp (maint print type): Remove printing
7759 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
7760
9a044a89
TT
77612008-09-30 Tom Tromey <tromey@redhat.com>
7762
7763 * gdb.base/macscp.exp: Add completion tests.
7764 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
7765 (TWENTY_THREE): Likewise.
7766 (FORTY_EIGHT): Likewise.
7767
506800a9
TT
77682008-09-30 Tom Tromey <tromey@redhat.com>
7769
7770 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
7771 everywhere.
7772 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
7773
1a6f01b5
JK
77742008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7775
7776 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
7777 testcase is derived from. Fix racy dependency on an expected PID
7778 number. No longer support the testcase on Linux kernel 2.4.x.
7779
2fae03e8
TT
77802008-09-27 Tom Tromey <tromey@redhat.com>
7781
7782 * gdb.base/macscp.exp: Add tests for stringification, splicing,
7783 and varargs.
7784
1ad15515
PA
77852008-09-22 Pedro Alves <pedro@codesourcery.com>
7786
7787 * lib/mi-support.exp (mi_expect_interrupt): New.
7788 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
7789 from gdb.mi/mi-nonstop.exp.
7790 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
7791 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
7792 lib/mi-support.exp.
7793 Use mi_check_thread_states throughout. Avoid ".*" and do not
7794 require an anchor after -exec-run.
7795
d0b76dc6
DJ
77962008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
7797
7798 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
7799 stop is pending. Avoid ".*" when two stops are pending.
7800 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
7801 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
7802 newlines in fullnames.
7803 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
7804 (mi_expect_stop): Update comments. Only anchor in sync mode.
7805 Do not match newlines.
7806 (mi_send_resuming_command_raw): Always return status.
7807 (mi_get_stop_line): Do not match more than one line by accident.
7808 Only anchor in sync mode.
7809 (mi_run_inline_test): If -exec-next fails, give up.
7810
9990c830
UW
78112008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7812
7813 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
7814 on SPU.
7815
ebcf6f00
JB
78162008-09-10 Joel Brobecker <brobecker@adacore.com>
7817
7818 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
7819
b6db24e5
JB
78202008-09-10 Joel Brobecker <brobecker@adacore.com>
7821
7822 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
7823 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
7824 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
7825 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
7826 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
7827 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
7828 gdb.ada/interface.exp, gdb.ada/null_array.exp,
7829 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
7830 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
7831 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
7832 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
7833 Include the "= " sequence in the expected output of print tests.
7834
2bf448e0
JB
78352008-09-10 Joel Brobecker <brobecker@adacore.com>
7836
7837 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
7838 description for boolean types.
7839
d51fd4c8
PA
78402008-09-09 Pedro Alves <pedro@codesourcery.com>
7841
7842 * gdb.base/hook-stop-continue.c: New.
7843 * gdb.base/hook-stop-continue.exp: New.
7844
694182d2
DJ
78452008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
7846
7847 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
7848
3b8a7fc0
JG
78492008-09-08 Jerome Guitton <guitton@adacore.com>
7850
7851 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
7852 (stack_check_probe_2, stack_check_probe_loop_1)
7853 (stack_check_probe_loop_2): New functions.
7854 (main): Add call to these new functions.
7855 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
7856 functions, check that the breakpoint is inserted at the appropriate
7857 location.
7858 (insert_breakpoint): Slightly refine this procedure so that it can
7859 be called several times in the test.
7860
96cc0ae8
JG
78612008-09-08 Jerome Guitton <guitton@adacore.com>
7862
7863 * gdb.base/stack-checking.c: New file.
7864 * gdb.base/stack-checking.exp: New file.
7865
1f08b409
TJB
78662008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
7867
7868 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
7869 * gdb.arch/altivec-regs.exp: Likewise.
7870 * gdb.arch/vsx-regs.exp: Likewise.
7871
3099e1c4
TJB
78722008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
7873
7874 * gdb.arch/ppc-fp.exp: New file.
7875 * gdb.arch/ppc-fp.c: New file.
7876
cc69bfc1
PP
78772008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7878
7879 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
7880 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 7881
b02a33db
MS
78822008-09-04 Michael Snyder <msnyder@vmware.com>
7883
7884 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
7885 as "at" (for non-debug functions such as _start).
7886
2992cbe0
UW
78872008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7888
7889 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
7890 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
7891 software watchpoints.
7892 * gdb.base/watch_thread_num.exp: Likewise.
7893
514f746b
AR
78942008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
7895
7896 * gdb.arch/i386-bp_permanent.exp: New test.
7897
876cecd0
TT
78982008-08-24 Tom Tromey <tromey@redhat.com>
7899
7900 * gdb.base/maint.exp: Update "maint print type".
7901
80f73d71
VP
79022008-08-21 Vladimir Prus <vladimir@codesourcery.com>
7903
7904 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
7905 support. Adjust the order of "*running" notifications.
7906 * gdb.mi/non-stop.c: Don't cast from int to void* and
7907 back.
7908
d9c78d7d
MK
79092008-08-20 Mark Kettenis <kettenis@gnu.org>
7910
7911 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
7912 expect to find it in the "info frame" output.
7913
97a2d1d3
DJ
79142008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
7915
7916 * gdb.base/interp.exp: Always consume both prompts.
7917
b96e2927
PA
79182008-08-20 Pedro Alves <pedro@codesourcery.com>
7919
7920 * gdb.base/pending.exp: Test pending breakpoints without symbols
7921 loaded.
7922
8cf6e61a
VP
79232008-08-19 Vladimir Prus <vladimir@codesourcery.com>
7924
7925 * lib/mi-support.exp (mi_expect_stop): Produce
7926 more details on failures.
7927 * gdb.mi/mi-nonstop.exp: New.
7928 * gdb.mi/non-stop.c: New.
7929
c6ebd6cf
VP
79302008-08-19 Vladimir Prus <vladimir@codesourcery.com>
7931
a9c64011
AS
7932 * gdb.mi/mi-async.exp: Use 'set target-async'.
7933 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 7934
46a9b8ed
DJ
79352008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
7936
7937 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
7938
44feb3ce
TT
79392008-08-17 Tom Tromey <tromey@redhat.com>
7940
7941 * gdb.base/help.exp (help catch): Rewrite.
7942
311a4e6b
TJB
79432008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
7944
7945 * gdb.base/define.exp: Test indented command documentation.
7946 * gdb.python/python.exp: Test indented multi-line command.
7947
604c2f83
LM
79482008-08-15 Luis Machado <luisgpm@br.ibm.com>
7949
7950 * testsuite/gdb.arch/vsx-regs.c: New source file.
7951 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
7952 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
7953
886a217c
TT
79542008-08-14 Tom Tromey <tromey@redhat.com>
7955
7956 * gdb.base/macscp.exp: Add regression test for "macro define" or
7957 "macro undef" with no arguments.
7958
c814a4f3
PP
79592008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7960
7961 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 7962
12ab8a60
UW
79632008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7964
7965 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
7966
d57a3c85
TJB
79672008-08-06 Tom Tromey <tromey@redhat.com>
7968
7969 * gdb.python/python.exp: New file.
7970
c7b778ff
JK
79712008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7972
7973 Fix for PR gdb/1543.
7974 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
7975 $LOCATION.
7976 (location): New variable.
7977 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
7978 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
7979 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
7980 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
7981 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
7982 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
7983 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
7984 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
7985 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
7986 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
7987 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
7988 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
7989 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
7990 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
7991 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
7992 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
7993 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
7994 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
7995 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
7996 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
7997 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
7998 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
7999 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
8000 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
8001 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
8002 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
8003 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
8004 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
8005 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
8006 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
8007 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
8008 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
8009 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
8010 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
8011 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
8012 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
8013 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
8014 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
8015 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
8016 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
8017 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
8018 gdb.base/type-opaque.exp, gdb.base/until.exp,
8019 gdb.base/value-double-free.c, gdb.base/varargs.exp,
8020 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
8021 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
8022 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
8023 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
8024 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
8025 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
8026 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
8027 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8028 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
8029 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
8030 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
8031 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
8032 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
8033 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
8034 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
8035 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
8036 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
8037 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
8038 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
8039 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
8040 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
8041 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
8042 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
8043 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
8044 gdb.pascal/types.exp, gdb.stabs/weird.exp,
8045 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
8046 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
8047 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
8048 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
8049 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
8050 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
8051 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
8052 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
8053 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
8054 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
8055 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
8056 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
8057 lib/mi-support.exp, lib/trace-support.exp: Remove reference
8058 to bug-gdb@prep.ai.mit.edu .
8059
5e06a3d1
VP
80602008-07-31 Vladimir Prus <vladimir@codesourcery.com>
8061
8062 * lib/mi-support.exp (mi_load_shlibs): New.
8063 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
8064
9d81d21b
VP
80652008-07-30 Vladimir Prus <vladimir@codesourcery.com>
8066
8067 * lib/mi-support.exp (get_mi_thread_list)
8068 (check_mi_and_console_threads): New, moved from ...
8069 * gdb.mi/mi-pthread.exp: ...here.
8070 * gdb.mi/gdb669.exp (get_mi_thread_list)
8071 (check_mi_and_console_threads): Delete.
8072 * gdb.mi/mi2-pthread.exp: Likewise.
8073
bae98fe0
TT
80742008-07-28 Tom Tromey <tromey@redhat.com>
8075
8076 * Makefile.in (just-check): Remove. Move body to...
8077 (check): ... here.
8078
57380f4e
DJ
80792008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
8080
8081 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
8082 Add a test for duplicated SIGINTs.
8083
e09490f1
DJ
80842008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
8085
8086 * gdb.threads/schedlock.exp (get_args): Update to work for any
8087 value of NUM.
8088 (Top level): Report the number of threads that did not resume.
8089
6387b45f
DJ
80902008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
8091
8092 * gdb.dwarf2/dw2-compressed.S: Also define __start.
8093
62f64ff2
DJ
80942008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
8095
8096 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
8097 non-MI prompt.
8098
fa8de41e
TT
80992008-07-26 Tom Tromey <tromey@redhat.com>
8100
8101 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
8102 (function_struct, function_struct_ptr): New globals.
8103 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
8104 function pointer in a struct.
8105
ccb3ac8a
TT
81062008-07-26 Tom Tromey <tromey@redhat.com>
8107
8108 * gdb.base/macscp.exp: Add test for macro lexing bug.
8109
d7d9f01e
TT
81102008-07-18 Tom Tromey <tromey@redhat.com>
8111
8112 * gdb.base/macscp.exp: Add macro tests.
8113
9bf07184
PP
81142008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
8115
8116 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
8117
becf6477
PP
81182008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
8119
8120 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
8121
0709f7d3
PP
81222008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
8123
8124 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 8125
7093c834
PP
81262008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
8127
8128 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 8129
b432ffe3
JK
81302008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8131
8132 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
8133
b1a268e5
VP
81342008-07-12 Vladimir Prus <vladimir@codesourcery.com>
8135
8136 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
8137
e2995f8e
KB
81382008-07-11 Kevin Buettner <kevinb@redhat.com>
8139
8140 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
8141 of regexp to account for changes made to GDB in the printing of
8142 byte vectors.
8143
14032a66
TT
81442008-07-11 Tom Tromey <tromey@redhat.com>
8145
8146 * gdb.base/completion.exp: Add 'help' completion test.
8147
981505ef
JK
81482008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8149
8150 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
8151
10568435
JK
81522008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8153
8154 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
8155
4487aabf
PA
81562008-07-09 Pedro Alves <pedro@codesourcery.com>
8157
8158 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
8159
a4a9b1c4
PA
81602008-07-09 Pedro Alves <pedro@codesourcery.com>
8161
8162 * gdb.base/fullname.exp: Restore pwd if compiling failed.
8163
3c3185ac
JK
81642008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8165
8166 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
8167
7ebd49dc
VP
81682008-06-28 Vladimir Prus <vladimir@codesourcery.com>
8169
8170 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
8171 previous commit. Add a comment.
8172
84e46146
PA
81732008-06-28 Pedro Alves <pedro@codesourcery.com>
8174
8175 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
8176
0f8d4a2f
VP
81772008-06-28 Vladimir Prus <vladimir@codesourcery.com>
8178
8179 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
8180
f747e0ce
PA
81812008-06-27 Pedro Alves <pedro@codesourcery.com>
8182
8183 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
8184 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
8185 compiling an executable, link in an object that forces unbuffered
8186 output.
8187 * lib/set_unbuffered_mode.c: New file.
8188
734a5c36
JK
81892008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8190
8191 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
8192
a2840c35
VP
81932008-06-25 Vladimir Prus <vladimir@codesourcery.com>
8194
a9c64011
AS
8195 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
8196 mi_expect_stop.
8197 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
8198 Demand that *running is output.
8199 (detect_async): Perform checking every time.
8200 (mi_send_resuming_command): Extract everything into...
8201 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
8202 (mi_expect_stop): Don't accept any output before *stopped.
8203
6ae37fef
VP
82042008-06-13 Vladimir Prus <vladimir@codesourcery.com>
8205
8206 Robustify mi-simplerun.
a9c64011
AS
8207 * gdb.mi/basics.c (main): Add a call to sleep.
8208 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
8209 * gdb.mi/mi2-cli.exp: Likewise.
8210 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 8211
b4aa76f0 82122008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
8213
8214 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
8215
e1ac3328
VP
82162008-06-10 Vladimir Prus <vladimir@codesourcery.com>
8217
a9c64011
AS
8218 * gdb.mi/mi-console.exp: Adjust.
8219 * gdb.mi/mi-syn-frame.exp: Adjust.
8220 * gdb.mi/mi2-console.exp: Adjust.
8221 * gdb.mi/mi2-syn-frame.exp: Adjust.
8222 * lib/mi-support.exp (mi_run_cmd): Adjust.
8223 (mi_send_resuming_command): Adjust.
e1ac3328 8224
f7f9a841
VP
82252008-06-10 Vladimir Prus <vladimir@codesourcery.com>
8226
8227 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
8228 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
8229 testing of stopped.
8230 * gdb.mi/mi2-syn-frame.exp: Likewise.
8231 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
8232 (async, detect_async): New.
8233 (mi_expect_stop, mi_continue_to_line): Adjust expectation
8234 depending on if we're running in sync or async mode.
f7f9a841 8235
37cd5d19
TT
82362008-06-09 Tom Tromey <tromey@redhat.com>
8237
8238 * gdb.base/completion.exp: New tests for field name completion
8239 with spaces, and field name completion with '->'.
8240
65d12d83
TT
82412008-06-06 Tom Tromey <tromey@redhat.com>
8242
8243 * gdb.base/break1.c (struct some_struct): New struct.
8244 (values): New global.
8245 * gdb.base/completion.exp: Add field name completion test.
8246
ebfe2e3f
PP
82472008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8248
8249 * gdb.cp/call-c.exp: Test for incorrect handling of reference
8250 to pointer.
8251 * gdb.cp/call-c.cc: Likewise.
8252
bcf6fc3a
NR
82532008-06-06 Nick Roberts <nickrob@snap.net.nz>
8254
8255 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
8256 annotation.
8257
49fd4a42 82582008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 8259 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
8260
8261 * gdb.threads/execl.c, gdb.threads/execl1.c,
8262 gdb.threads/execl.exp: New tests.
a9c64011 8263
8a34ac3f
AR
82642008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
8265 Daniel Jacobowitz <dan@codesourcery.com>
8266
8267 * gdb.cp/exception.exp: Activate test, make it work with pending
8268 catchpoints.
8269
86ae69ef
JK
82702008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8271
8272 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
8273
f7f9ae2c
VP
82742008-05-28 Vladimir Prus <vladimir@codesourcery.com>
8275
a9c64011
AS
8276 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
8277 now printed.
8278 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 8279
2a2d4dc3
AS
82802008-05-27 Andreas Schwab <schwab@suse.de>
8281
8282 * gdb.base/frame-args.exp: Handle arguments that are optimized
8283 out.
8284
5099e4d9
LM
82852008-05-26 Luis Machado <luisgpm@br.ibm.com>
8286
8287 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
8288 quiet for ppc32 and group options into a single variable.
8289
d9c36a91
JB
82902008-05-23 Joel Brobecker <brobecker@adacore.com>
8291
8292 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
8293 of zero-size elements.
8294 * gdb.ada/null_array.exp: Test printing this new array.
8295
103a8671
JK
82962008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8297
8298 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
8299
07a4cc1a 83002008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
8301
8302 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
8303 of the "finish" command.
8304
55f996a7
NR
83052008-05-21 Nick Roberts <nickrob@snap.net.nz>
8306
8307 * gdb.base/annota1.exp: Test for new annotation.
8308
907fc202
UW
83092008-05-16 Pedro Alves <pedro@codesourcery.com>
8310
8311 * gdb.base/fixsection.exp: New file.
8312 * gdb.base/fixsection0.c: New file.
8313 * gdb.base/fixsection1.c: New file.
8314
e8f97270
UW
83152008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8316
8317 * gdb.base/annota1.exp: Accept printf@... in place of printf.
8318 * gdb.base/annota3.exp: Likewise.
8319
ac0bb574
NF
83202008-05-13 Nathan Froyd <froydnj@codesourcery.com>
8321
8322 * gdb.base/watch_thread_num.exp: Don't run tests that require
8323 watchpoints if the target doesn't support them.
8324
6fadd07a
DE
83252008-05-12 Doug Evans <dje@google.com>
8326
8327 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
8328
6e9a4a30
JB
83292008-05-09 Joel Brobecker <brobecker@adacore.com>
8330
8331 * gdb.ada/assign_1.exp: New testcase.
8332
08388c79
DE
83332008-05-09 Doug Evans <dje@google.com>
8334
a3c83fae
DE
8335 * gdb.base/find.exp: New file.
8336 * gdb.base/find.c: New file.
08388c79 8337
bd5ddfe8
DJ
83382008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
8339
8340 * gdb.base/commands.exp (watchpoint_command_test): Handle
8341 gdb,no_hardware_watchpoints.
8342 * gdb.base/float.exp: Allow ARM targets without floating point.
8343 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
8344
b5dd68e2 83452008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 8346 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
8347
8348 * gdb.ada/lang_switch: New test program.
8349 * gdb.ada/lang_switch.exp: New testcase.
8350
382d13d1
DE
83512008-05-05 Doug Evans <dje@google.com>
8352
8353 * gdb.base/help.exp (disassemble): Update expected help text.
8354
9dd789d0
PA
83552008-05-04 Pedro Alves <pedro@codesourcery.com>
8356
8357 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
8358
611c83ae
PA
83592008-05-04 Pedro Alves <pedro@codesourcery.com>
8360
8361 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
8362 different times.
8363
ff013f42
JK
83642008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8365
8366 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
8367 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
8368 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
8369 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
8370
96dff6a2
VP
83712008-05-04 Vladimir Prus <vladimir@codesourcery.com>
8372
8373 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
8374 notification to appear.
8375
55cd6f92
DJ
83762008-05-04 Daniel Jacobowitz <dan@debian.org>
8377
8378 * gdb.base/fullname.c: New file.
8379 * gdb.base/fullname.exp: New file.
8380 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
8381
d705c43c
PA
83822008-05-03 Pedro Alves <pedro@codesourcery.com>
8383
8384 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
8385 expressions with macros.
8386
333222e1
JK
83872008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8388
8389 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
8390
5ac01682
DJ
83912008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
8392
8393 * gdb.base/completion.exp: Handle lack of other symbols beginning
8394 with "a".
8395
8396 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
8397
237fc4c9
PA
83982008-05-02 Jim Blandy <jimb@codesourcery.com>
8399
8400 * gdb.asm/asmsrc1.s: Add scratch space.
8401
ed5e9466
DJ
84022008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8403 Daniel Jacobowitz <dan@codesourcery.com>
8404
8405 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
8406 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
8407 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
8408
b39cc962
DJ
84092007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
8410
8411 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
8412
36d520f5
JB
84132008-05-01 Joel Brobecker <brobecker@adacore.com>
8414
8415 * gdb.base/info-target.exp: New testcase.
8416
8d4e3071
DJ
84172008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
8418
8419 * gdb.cp/hang.exp: Use .cc instead of .C.
8420 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
8421 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
8422
6f3f3097
DJ
84232008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
8424
8425 * gdb.base/gdb1250.exp: Remove perror.
8426 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
8427
5550a914
PA
84282008-04-30 Pedro Alves <pedro@codesourcery.com>
8429
8430 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
8431 .2byte.
8432
d848e687
DJ
84332008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
8434
8435 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
8436 (maybe_kfail): New.
8437
93b5768b
PA
84382008-04-25 Pedro Alves <pedro@codesourcery.com>
8439
8440 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
8441
721c02de
VP
84422008-04-24 Vladimir Prus <vladimir@codesourcery.com>
8443
a9c64011
AS
8444 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
8445 * gdb.mi/mi2-syn-frame.exp: Likewise.
8446 * lib/mi-support.exp: Likewise.
721c02de 8447
74960c60
VP
84482008-04-24 Vladimir Prus <vladimir@codesourcery.com>
8449
8450 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
8451 to specify regexp for the location to stop at.
8452 * gdb.base/break-always.c: New.
8453 * gdb.base/break-always.exp: New.
8454
d24317b4
VP
84552008-04-24 Vladimir Prus <vladimir@codesourcery.com>
8456
8457 * lib/mi-support.exp (mi_runto_helper): Adjust
8458 for the original-location field.
8459 (mi_create_breakpoint, mi_list_breakpoints): New.
8460 * gdb.mi/mi-break.exp: Adjust.
8461 * gdb.mi/mi2-break.exp: Adjust.
8462 * gdb.mi/mi-pending.exp: Adjust.
8463 * gdb.mi/mi-simplerun.exp: Adjust.
8464 * gdb.mi/mi2-simplerun.exp: Adjust.
8465 * gdb.mi/mi-syn-frame.exp: Adjust.
8466 * gdb.mi/mi2-syn-frame.exp: Adjust.
8467 * gdb.mi/mi-until.exp: Adjust.
8468 * gdb.mi/mi2-until.exp: Adjust.
8469 * gdb.mi/mi-var-display.exp: Adjust.
8470 * gdb.mi/mi2-var-display.exp: Adjust.
8471 * gdb.mi/mi-watch.exp: Adjust.
8472 * gdb.mi/mi2-watch.exp: Adjust.
8473
fdc59709 84742008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 8475
a9c64011
AS
8476 * aclocal.m4: Add override.m4.
8477 * configure: Regenerate.
fdc59709 8478
8e91f023
VP
84792008-04-19 Vladimir Prus <vladimir@codesourcery.com>
8480
8481 * gdb.mi/var-cmd.c (do_at_tests): Verify that
8482 '-var-update --all-values' reports new value even the type
8483 of a variable object has changed.
8484
233a11ab
CS
84852008-04-18 Craig Silverstein <csilvers@google.com>
8486
8487 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
8488 files.
d24317b4 8489
9c1137ad
JB
84902008-04-18 Joel Brobecker <brobecker@adacore.com>
8491
8492 * gdb.ada/atomic_enum: New test program.
8493 * gdb.ada/atomic_enum.exp: New testcase.
8494
66d0bbc7
DE
84952008-04-17 Doug Evans <dje@google.com>
8496
8497 * gdb.opt/Makefile.in: Fix whitespace.
8498
100906b0
UW
84992008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
8500
8501 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
8502
4584e32e
DE
85032008-04-17 Doug Evans <dje@google.com>
8504
8505 * gdb.base/hashline1.exp: New testcase.
8506 * gdb.base/hashline2.exp: New testcase.
8507 * gdb.base/hashline2.exp: New testcase.
8508
0a320680
PA
85092008-04-17 Pedro Alves <pedro@codesourcery.com>
8510
8511 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
8512
18ac113b
AR
85132008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
8514
8515 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
8516 temporary breakpoint to match "Temporary breakpoint".
8517 * gdb.base/break.exp (delete_breakpoints): Likewise.
8518 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
8519 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
8520 * gdb.base/display.exp: Likewise.
8521 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
8522 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
8523 * gdb.base/restore.exp (restore_tests): Likewise.
8524 * gdb.base/sepdebug.exp: Likewise.
8525 * gdb.base/watchpoint.exp: Likewise.
8526 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
8527 * gdb.mi/mi-pending.exp: Likewise.
8528 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
8529 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
8530 * gdb.mi/mi-var-cmd.exp: Likewise.
8531 * gdb.mi/mi-var-display.exp: Likewise.
8532 * gdb.mi/mi2-cli.exp: Likewise.
8533 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
8534 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
8535 * gdb.mi/mi2-var-display.exp: Likewise.
8536 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
8537 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
8538 new "disp" field.
a9c64011 8539 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
8540 reason. This is to support fix for PR2424.
8541
add38693
JK
85422008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8543
8544 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
8545
fcacd99f
VP
85462008-04-13 Vladimir Prus <vladimir@codesourcery.com>
8547
8548 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 8549 field. Add more floating varobj tests.
fcacd99f 8550 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
8551 field.
8552 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
8553 (main): Call do_at_tests.
8554 * lib/mi-support.exp (mi_create_floating_varobj)
8555 (mi_varobj_update_with_type_change): New.
fcacd99f 8556
de051565
MK
85572008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
8558
8559 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
8560 option of -var-evaluate-expression.
8561 * gdb.mi/mi2-var-display.exp: Likewise.
8562
dbc52822
VP
85632008-04-07 Vladimir Prus <vladimir@codesourcery.com>
8564
8565 Introduce test setup helpers.
a9c64011
AS
8566 * lib/gdb.exp (build_executable, clean_restart)
8567 (prepare_for_testing): New.
8568 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
8569 * gdb.base/return.exp: Likewise.
8570 * gdb.base/ending-run.exp: Likewise.
dbc52822 8571
473591da
NR
85722008-04-07 Nick Roberts <nickrob@snap.net.nz>
8573
8574 * gdb.mi/mi-async.exp: New test for asynchronous Machine
8575 Interface (MI) responses.
8576
2b2d9e11
VP
85772008-04-06 Vladimir Prus <vladimir@codesourcery.com>
8578
a9c64011
AS
8579 * gdb.cp/breakpoint.cc: New code to test conditions involving
8580 member variables.
8581 * gdb.cp/breakpoint.exp: Test condition involving member
8582 variables.
2b2d9e11 8583
bb378428
VP
85842008-04-05 Vladimir Prus <vladimir@codesourcery.com>
8585
8586 * lib/mi-support.exp (mi_expect_stop): New.
8587 (mi_run_cmd): Change the
8588 token. Use mi_send_resuming_command, use
8589 mi_expect_stop.
8590 (mi_execute_to_helper): Rename to mi_execute_to.
8591 (mi_send_resuming_command): Add more error patterns.
8592 (mi_wait_for_stop): Renamed to...
8593 (mi_get_stop_line): ...this.
8594 (mi_run_inline_test): Adjust.
8595
8596 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
8597 * gdb.mi/mi-console.exp: Likewise.
8598 * gdb.mi/mi-pending.exp: Likewise.
8599 * gdb.mi/mi-simplerun.exp: Likewise.
8600 * gdb.mi/mi-stack.exp: Likewise.
8601 * gdb.mi/mi-stepi.exp: Likewise.
8602 * gdb.mi/mi-syn-frame.exp: Add comment.
8603 * gdb.mi/mi-until.exp: Likewise.
8604 * gdb.mi/mi-var-display.exp: Likewise.
8605 * gdb.mi/mi-watch.exp: Likewise.
8606 * gdb.mi/mi2-cli.exp: Likewise.
8607 * gdb.mi/mi2-console.exp: Likewise.
8608 * gdb.mi/mi2-simplerun.exp: Likewise.
8609 * gdb.mi/mi2-stack.exp: Likewise.
8610 * gdb.mi/mi2-stepi.exp: Likewise.
8611 * gdb.mi/mi2-until.exp: Likewise.
8612 * gdb.mi/mi2-var-display.exp: Likewise.
8613 * gdb.mi/mi2-watch.exp: Likewise.
8614
62172bb9
UW
86152008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8616
8617 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
8618
8619 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
8620
a13e061a
PA
86212008-04-04 Pedro Alves <pedro@codesourcery.com>
8622
8623 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
8624 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
8625 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
8626 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
8627 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
8628 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
8629 expect an mi error duplicated in stderr.
8630
eae06beb
JB
86312008-04-03 Joel Brobecker <brobecker@adacore.com>
8632
8633 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
8634 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
8635 Add a couple of tests that verify the behavior when the new setting
8636 is set to "cancel" and "all".
8637 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
8638 "ask" before we start the testing.
8639
79c6ced6
AR
86402008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
8641
8642 * gdb.cp/casts.cc: Add class reference variables.
8643 * gdb.cp/casts.exp: New test cases for up/down casting references.
8644
6c2d1a6b
MK
86452008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
8646
8647 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
8648 instead of beginning to make an extra test pass.
8649 * gdb.mi/mi2-var-display.exp: Likewise.
8650
55b411d9
MR
86512008-03-31 Maciej W. Rozycki <macro@mips.com>
8652
8653 * gdb.base/break.exp: Mark failures as such. Fix formatting.
8654
c6140da2
MD
86552008-03-31 Markus Deuling <deuling@de.ibm.com>
8656 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8657
8658 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
8659 value. Add xfail for older kernels.
8660
79732189
AR
86612008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
8662
8663 Bring mi-support in line with gdb.exp.
8664 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
8665 (mi_gdb_start): New function.
8666
33c3676e
MR
86672008-03-28 Maciej W. Rozycki <macro@mips.com>
8668
8669 * gdb.mi/mi-var-cmd.exp: Fix a typo.
8670
92e28119
VP
86712008-03-26 Vladimir Prus <vladimir@codesourcery.com>
8672
8673 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
8674 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 8675
9e8e3afe
VP
86762008-03-26 Vladimir Prus <vladimir@codesourcery.com>
8677
8678 * lib/mi-support.exp (mi_create_varobj_checked): New.
8679 (mi_list_varobj_children): Allow to check for a
8680 value.
8681 (mi_list_array_varobj_children): New.
8682
8683 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
8684 and mi_list_varobj_children, as opposed to hardcoding
8685 expected strings.
8686 * gdb.mi/gdb701.exp: Likewise.
8687 * gdb.mi/gdb792.exp: Likewise.
8688 * gdb.mi/mi-var-block.exp: Likewise.
8689 * gdb.mi/mi-var-cmd.exp: Likewise.
8690 * gdb.mi/mi-var-invalidate.exp: Likewise.
8691 * gdb.mi/mi2-var-block.exp: Likewise.
8692 * gdb.mi/mi2-var-child.exp: Likewise.
8693 * gdb.mi/mi2-var-cmd.exp: Likewise.
8694 * gdb.mi/mi2-var-display.exp: Likewise.
8695
9df50351
JK
86962008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8697
8698 Fix random false FAILs on i386.
8699 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
8700
31e5d73a
DJ
87012008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
8702
8703 PR gdb/544
8704 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
8705
12f4afab
DJ
87062008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
8707
8708 PR gdb/544
8709 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
8710
b562a0cb
DJ
87112008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
8712
8713 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
8714 fixed PR gdb/544.
8715
17faa917
DJ
87162008-03-21 Pedro Alves <pedro@codesourcery.com>
8717
8718 * gdb.threads/fork-child-threads.exp: Test next over fork.
8719
6214f497
DJ
87202008-03-21 Chris Demetriou <cgd@google.com>
8721
8722 * gdb.base/break.exp (rbreak junk): New test for rbreak
8723 "Junk at end of arguments" issue.
8724
63092375
DJ
87252008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
8726
8727 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
8728 *& to work on created array elements.
8729 (Top level): Test print $pc with a file. Test string operations
8730 without a target.
8731 * gdb.base/ptype.exp: Do not expect *& to work on created array
8732 elements.
8733
b21991b0
DJ
87342008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
8735
8736 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
8737 gdb.threads/staticthreads.exp: Update exit query.
8738
c4b347c7
SL
87392008-03-07 Sandra Loosemore <sandra@codesourcery.com>
8740
8741 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
8742
fa4727a6
DJ
87432008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
8744
8745 * gdb.base/watchpoint.c (global_ptr, func4): New.
8746 (main): Call func4.
8747 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
8748 (test_inaccessible_watchpoint): New.
8749
2f34202f
MR
87502008-02-29 Maciej W. Rozycki <macro@mips.com>
8751
8752 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
8753 select the largest.
8754
0d6ba1b1
DJ
87552008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
8756
8757 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
8758 frames-invalid annotations.
8759
e691325a
PM
87602008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
8761
a9c64011 8762 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 8763
f85b5ecc
DE
87642008-02-27 Doug Evans <dje@google.com>
8765
8766 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
8767 for bug 1738.
8768 (breakpoint_to_handler_entry): Ditto.
8769
b40e7bf3
JB
87702008-02-27 Joel Brobecker <brobecker@adacore.com>
8771
8772 * gdb.base/ending-run.exp: Use the first line of code inside
8773 function body to test breakpoints.
8774 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
8775 location where the breakpoint is inserted when using the line
8776 where a function is declared. Fix typo in the description of
8777 one of the tests.
8778 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
8779
2faca73a
PM
87802008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
8781
8782 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 8783 tests.
2faca73a 8784
6f439c36
PM
87852008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
8786
8787 * gdb.base/args.exp: avoid same output for tests
8788 with single quotes.
8789
54e52265
VP
87902008-02-26 Vladimir Prus <vladimir@codesourcery.com>
8791
a9c64011
AS
8792 * gdb.base/annota1.exp: Adjust for 'info break'
8793 format changes.
8794 * gdb.base/annota3.exp: Likewise.
8795 * gdb.base/break.exp: Likewise.
8796 * gdb.base/condbreak.exp: Likewise.
8797 * gdb.base/pending.exp: Likewise.
8798 * gdb.base/sepdebug.exp: Likewise.
8799 * gdb.base/unload.exp: Likewise.
8800 * gdb.cp/ovldbreak.exp: Likewise.
8801 * gdb.mi/mi-pending.exp: Likewise.
54e52265 8802
897b09ca
DE
88032008-02-07 Doug Evans <dje@google.com>
8804
8805 * gdb.cp/mb-inline.exp: New.
8806 * gdb.cp/mb-inline.h: New.
8807 * gdb.cp/mb-inline1.cc: New.
8808 * gdb.cp/mb-inline2.cc: New.
8809
b1c32d35
PM
88102008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
8811
8812 * gdb.pascal/floats.pas: New test program.
8813 * gdb.pascal/floats.exp: New testcase.
8814
1a4ca44a
TJB
88152008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
8816
8817 * gdb.base/callfuncs.c (t_float_many_args): New function.
8818 (t_double_many_args): New function.
8819 * gdb.base/callfuncs.exp: Add tests for exceeding float
8820 and double parameters passed through the stack.
8821
439048e8
JB
88222008-02-05 Joel Brobecker <brobecker@adacore.com>
8823
8824 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
8825 gdb.ada/complete/foo.adb: New files.
8826 * gdb.ada/complete.exp: New testcase.
8827
81fe8080
DE
88282008-02-03 Doug Evans <dje@google.com>
8829
301f0ecf
DE
8830 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
8831
81fe8080
DE
8832 * gdb.cp/gdb2384.exp: New file.
8833 * gdb.cp/gdb2384.cc: New file.
8834 * gdb.cp/gdb2384-base.h: New file.
8835 * gdb.cp/gdb2384-base.cc: New file.
8836
4b071aec
DE
88372008-02-02 Doug Evans <dje@google.com>
8838
8839 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
8840
61137ba6
JB
88412007-02-01 Joel Brobecker <brobecker@adacore.com>
8842
8843 * gdb.ada/sym_print_name: New test program.
8844 * gdb.ada/sym_print_name.exp: New testcase.
8845
88462007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
8847
8848 * gdb.ada/nested/hello.adb: New file.
8849 * gdb.ada/nested.exp: New testcase.
8850 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
8851
98deb0da
VP
88522008-02-01 Vladimir Prus <vladimir@codesourcery.com>
8853
8854 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
8855 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
8856 don't cause future evaluations of function to report
8857 creation of internal breakpoints.
98deb0da 8858
723a2275
VP
88592008-02-01 Vladimir Prus <vladimir@codesourcery.com>
8860
8861 * gdb.mi/mi-break.exp (test_error): New.
8862 Call it.
8863
fb546a2f
LM
88642008-01-31 Luis Machado <luisgpm@br.ibm.com>
8865
8866 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
8867 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
8868
2d8fd90a
PM
88692008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
8870
8871 * gdb.pascal/integers.pas: New test program.
8872 * gdb.pascal/integers.exp: New testcase.
8873
a7fa0ded
PM
88742008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
8875
8876 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
8877
5e1a1926
TJB
88782008-01-30 Luis Machado <luisgpm@br.ibm.com>
8879
8880 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
8881 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
8882
8d04f9f0
JB
88832008-01-30 Paul Hilfinger <hilfinger@adacore.com>
8884
8885 * gdb.ada/formatted_ref: New test program.
8886 * gdb.ada/formatted_ref.exp: New testcase.
8887
8888 * gdb.cp/formatted-ref.cc: New file.
8889 * gdb.cp/formatted-ref.exp: New testcase.
8890
ce75a98f
JB
88912008-01-30 Joel Brobecker <brobecker@adacore.com>
8892
8893 * gdb.base/ptype.exp: Add testing of "ptype $pc".
8894
e835f6bf
NR
88952008-01-30 Nick Roberts <nickrob@snap.net.nz>
8896
8897 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
8898 (test_file_list_exec_source_file): Update to new macro-info field.
8899
d118ef87
PH
89002008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
8901
8902 * gdb.ada/exprs: New test program.
8903 * gdb.ada/exprs.exp: New testcase.
8904
7d35ab09
TJB
89052008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
8906
8907 * dfp-test.c (DELTA, DELTA_B): New definitions.
8908 (double_val1, double_val2, double_val3, double_val4, double_val5,
8909 double_val6, double_val7, double_val8, double_val9, double_val10,
8910 double_val11, double_val12, double_val13, double_val14, dec32_val1,
8911 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
8912 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
8913 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
8914 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
8915 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
8916 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
8917 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
8918 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
8919 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
8920 dec128_val16): New global variables.
8921 (decimal_dec128_align): New function.
8922 (decimal_mixed): Likewise.
8923 (decimal_many_args_dec32): Likewise.
8924 (decimal_many_args_dec64): Likewise.
8925 (decimal_many_args_dec128): Likewise.
8926 (decimal_many_args_mixed): Likewise.
8927 * dfp-test.exp: Add tests calling new inferior functions.
8928
2d717e4f
DJ
89292008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
8930
8931 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
8932 gdb.server/ext-run.exp: New files.
8933 * lib/gdbserver-support.exp (gdbserver_download): New.
8934 (gdbserver_start): New. Update gdbserver expected
8935 output.
8936 (gdbserver_spawn): Use them.
8937 (gdbserver_start_extended): New.
8938
e85a822c
DJ
89392008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
8940
8941 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
8942 Run on GNU/Linux.
8943 (do_exec_tests): Check for systems which do not support catchpoints.
8944 Do not match START.
8945 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
8946 Run on GNU/Linux. Enable verbose output.
8947 (check_fork_catchpoints): New.
8948 (explicit_fork_child_follow, catch_fork_child_follow)
8949 (tcatch_fork_parent_follow): Update expected messages.
8950 (do_fork_tests): Use check_fork_catchpoints.
8951 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
8952 Run on GNU/Linux. Enable verbose output.
8953 (check_vfork_catchpoints): New.
8954 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
8955 expected messages.
8956 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
8957
401ea829
JB
89582008-01-29 Jim Blandy <jimb@red-bean.com>
8959
8960 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
8961 host' errors.
8962 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
8963
aceaf3ad
JB
89642008-01-29 Jim Blandy <jimb@red-bean.com>
8965
8966 * gdb.threads/sigthread.c: Use barriers to ensure that
8967 child_thread and child_thread_two are always initialized before we
8968 start to use them.
8969
a5606eee
VP
89702008-01-29 Vladimir Prus <vladimir@codesourcery.com>
8971
8972 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
8973 * gdb.base/watchpoint-solib.c: New.
8974 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 8975
c55a82bb
PM
89762008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
8977
8978 * gdb.base/gdb1056.exp: Add unsigned integer test.
8979
0993fe05
DE
89802008-01-28 Doug Evans <dje@google.com>
8981
8982 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
8983
4fe42e7f
JB
89842008-01-27 Jim Blandy <jimb@codesourcery.com>
8985
c7a69933
JB
8986 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
8987
4fe42e7f
JB
8988 * gdb.base/expand-psymtabs.exp: Doc fix.
8989
5def8285
MK
89902008-01-26 Mark Kettenis <kettenis@gnu.org>
8991
8992 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
8993
5313c911
NR
89942008-01-24 Nick Roberts <nickrob@snap.net.nz>
8995
a9c64011 8996 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
8997 -var-set-format.
8998
93815fbf
VP
89992008-01-23 Chris Demetriou <cgd@google.com>
9000
9001 * gdb.threads/thread_events.c: New testcase source file.
9002 * gdb.threads/thread_events.exp: New testcase expect file.
9003
467a88ee
NR
90042008-01-23 Nick Roberts <nickrob@snap.net.nz>
9005
9006 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
9007
9008 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
9009 -var-set-format.
9010
d8f82aba
DJ
90112008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
9012 Vladimir Prus <vladimir@codesourcery.com>
9013
9014 * gdb.base/float.exp: Allow missing floating point for m68k and
9015 PowerPC.
9016
60c46647
VP
90172008-01-22 Vladimir Prus <vladimir@codesourcery.com>
9018
9019 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
9020 ignore count.
9021 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
9022 * gdb.mi/mi-cli.exp: Adjust.
9023 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 9024
c7dd36a1
PA
90252008-01-17 Pedro Alves <pedro@codesourcery.com>
9026
9027 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
9028 and 'dummy_ptr' integer pointer. Initialize struct_declarations
9029 with dummy_ptr's address.
9030 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
9031 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
9032 all targets.
9033 * gdb.mi/mi2-var-child.exp: Likewise.
9034
39d5313e
JB
90352008-01-09 Joel Brobecker <brobecker@adacore.com>
9036
9037 * gdb.ada/null_array: New test program.
9038 * gdb.ada/null_array.exp: New testcase.
9039
0aea4bf3
LM
90402008-01-09 Luis Machado <luisgpm@br.ibm.com>
9041
9042 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
9043 with required float modifiers.
9044
0b354900
JB
90452008-01-08 Joel Brobecker <brobecker@adacore.com>
9046
9047 * gdb.ada/funcall_param: New test program.
9048 * gdb.ada/funcall_param.exp: New testcase.
9049
cdb7f5d4
JB
90502008-01-08 Joel Brobecker <brobecker@adacore.com>
9051
9052 * gdb.ada/arrayparam: New test program.
9053 * gdb.ada/arrayparam.exp: New testcase.
9054
88e2547f
JB
90552008-01-08 Joel Brobecker <brobecker@adacore.com>
9056
9057 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
9058 landed. Should also fix random failures in the test following it.
9059
f6867ce0
TJB
90602008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
9061
9062 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
9063 for expressions with decimal float values.
9064 (test_dfp_conversions): New function to test casts to and from
9065 decimal float types.
9066 Call test_dfp_conversions.
9067 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
9068 elements.
9069 (main): Initialize ds.float4 and ds.double8 elements.
9070 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
9071 string to new error message.
9072 (d64_set_tests): Likewise.
9073 (d128_set_tests): Likewise.
9074 Add tests for expressions with decimal float variables. Add tests for
9075 conversions to and from decimal float types.
9076
f9c11282
JB
90772008-01-05 Joel Brobecker <brobecker@adacore.com>
9078
9079 * gdb.ada/packed_tagged/comp_bug.adb: New file.
9080 * gdb.ada/packed_tagged.exp: New testcase.
9081
0ecbca72
JB
90822008-01-04 Joel Brobecker <brobecker@adacore.com>
9083
9084 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
9085 gdb.ada/homonym/homonym_main.adb: New files.
9086 * gdb.ada/homonym.exp: New testcase.
9087
c18d3d89
JB
90882008-01-04 Joel Brobecker <brobecker@adacore.com>
9089
9090 * gdb.ada/packed_array.exp: Add testing of references to
9091 a packed array.
9092
ecc7085b
JB
90932008-01-04 Joel Brobecker <brobecker@adacore.com>
9094
9095 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
9096 New files.
9097 * gdb.ada/type_coercion.exp: New testcase.
9098
c474c922
JB
90992008-01-04 Joel Brobecker <brobecker@adacore.com>
9100
9101 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
9102 gdb.ada/tagged/foo.adb: New file.
9103 * gdb.ada/tagged.exp: New testcase.
9104
9005b927
JB
91052008-01-04 Joel Brobecker <brobecker@adacore.com>
9106
9107 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
9108 gdb.ada/ptype_field/foo.adb: New files.
9109 * gdb.ada/ptype_field.exp: New testcase.
9110
1a6aaad8
JB
91112008-01-03 Joel Brobecker <brobecker@adacore.com>
9112
9113 * gdb.ada/print_pc.exp: New testcase.
9114
0ef22f53
JB
91152008-01-03 Joel Brobecker <brobecker@adacore.com>
9116
9117 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
9118 gdb.ada/taft_type/p.adb: New files.
9119 * gdb.ada/taft_type.exp: New testcase.
9120
1689ecf8
JB
91212008-01-03 Joel Brobecker <brobecker@adacore.com>
9122
9123 * gdb.ada/array_bounds/bar.adb: New file.
9124 * gdb.ada/array_bounds.exp: New testcase.
9125
a4d0b9c3
JB
91262008-01-03 Joel Brobecker <brobecker@adacore.com>
9127
9128 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
9129 gdb.ada/arrayptr/foo.adb: New files.
9130 * gdb.ada/arrayptr.exp: New testcase.
9131
a31ace00
JB
91322008-01-03 Joel Brobecker <brobecker@adacore.com>
9133
9134 * gdb.base/set-lang-auto.exp: New testcase.
9135
a97fced3
JB
91362008-01-03 Joel Brobecker <brobecker@adacore.com>
9137
9138 * gdb.ada/fun_addr/foo.adb: New file.
9139 * gdb.ada/fun_addr.exp: New testcase.
9140
ef29ce1a
JK
91412008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9142
9143 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
9144 New files
9145
0fafefe3
JB
91462008-01-02 Joel Brobecker <brobecker@adacore.com>
9147
9148 * array_subscript_addr/p.adb: New file.
a9c64011 9149 * array_subscript_addr.exp: New testcase.
0fafefe3 9150
c4359f8d
JB
91512008-01-02 Joel Brobecker <brobecker@adacore.com>
9152
a9c64011 9153 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
9154 New files.
9155 * gdb.ada/str_cmp_ref.exp: New testcase.
9156
1aa1b15b
JB
91572008-01-01 Joel Brobecker <brobecker@adacore.com>
9158
9159 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
9160 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 9161 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 9162
81c9b2cf
JB
91632008-01-01 Joel Brobecker <brobecker@adacore.com>
9164
9165 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
9166 gdb.ada/ref_param/pck.ads: New files.
9167 * gdb.ada/ref_param.exp: New testcase.
9168
319e4674
JB
91692008-01-01 Joel Brobecker <brobecker@adacore.com>
9170
9171 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
9172 gdb.ada/interface/foo.adb: New files.
9173 * gdb.ada/interface.exp: New testcase.
9174
ef682c56
JB
91752007-12-31 Jim Blandy <jimb@codesourcery.com>
9176
9177 * gdb.base/multi-forks.exp: Consume all output from child
9178 processes before proceeding to next test.
9179
f6f3eb6c
JB
91802007-12-29 Jim Blandy <jimb@codesourcery.com>
9181
9182 * configure: Regenerated.
9183
f652e42f
JB
91842007-12-27 Joel Brobecker <brobecker@adacore.com>
9185
9186 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
9187 gdb.ada/fixed_cmp/fixed.adb: New files.
9188 * gdb.ada/fixed_cmp.exp: New testcase.
9189
6943e596
JB
91902007-12-27 Joel Brobecker <brobecker@adacore.com>
9191
9192 * gdb.ada/boolean_expr.exp: New testcase.
9193
aad9a193
JB
91942007-12-26 Jim Blandy <jimb@codesourcery.com>
9195
9196 * gdb.base/multi-forks.exp: Doc fix.
9197
fb5f3683
JB
91982007-12-26 Joel Brobecker <brobecker@adacore.com>
9199
9200 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
9201 * gdb.ada/char_param.exp: Do not compile our test program with
9202 -gnata, this is unnecessary.
9203 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
9204
384e4a9c
JB
92052007-12-24 Joel Brobecker <brobecker@adacore.com>
9206
9207 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
9208 gdb.ada/print_chars/foo.adb: New files.
9209 * gdb.ada/print_chars.exp: New testcase.
9210
01e044f7
JB
92112007-12-24 Joel Brobecker <brobecker@adacore.com>
9212
9213 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
9214 gdb.ada/char_param/foo.adb: New files.
9215 * gdb.ada/char_param.exp: New testcase.
9216
0ce17860
JB
92172007-12-22 Jim Blandy <jimb@codesourcery.com>
9218
9219 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
9220 hard-coding source line numbers into the test.
9221 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
9222 gdb_get_line_number to find.
9223
919809b9
JB
92242007-12-22 Joel Brobecker <brobecker@adacore.com>
9225
9226 * gdb.base/ptype.c (highest): New struct type.
9227 (the_highest): New variable of that type.
9228 (main): Add dummy assignment to a field of variable the_highest.
9229 * gdb.base/ptype.exp: Test type printing of our new variable.
9230
abc8a88d
PM
92312007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
9232
9233 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 9234 and record first explicitly generated thread number.
abc8a88d
PM
9235 Use that thread number for thread specific watchpoint test.
9236 Add iteration number to repetitive tests.
9237
5158f3e3
CES
92382007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
9239 Jim Blandy <jimb@codesourcery.com>
9240
9241 * gdb.base/expand-psymtabs.c: New testcase
9242 source file.
9243 * gdb.base/expand-psymtabs.exp: New testcase
9244 expect file.
9245
37e4754d
LM
92462007-12-17 Luis Machado <luisgpm@br.ibm.com>
9247
9248 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
9249 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
9250
551e5d04
JB
92512007-12-17 Joel Brobecker <brobecker@adacore.com>
9252
9253 * gdb.ada/frame_args/foo.adb: New file.
9254 * gdb.ada/frame_args/pck.ads: New file.
9255 * gdb.ada/frame_args/pck.adb: New file.
9256 * gdb.ada/frame_args.exp: New testcase.
9257
a05ee097
JB
92582007-12-17 Joel Brobecker <brobecker@adacore.com>
9259
9260 * gdb.base/frame-args.c: New file.
9261 * gdb.base/frame-args.exp: New testcase.
9262
c162e8c9 92632007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 9264 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
9265
9266 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
9267
afe8ab22 92682007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 9269
afe8ab22
VP
9270 * gdb.mi/mi-pending.exp: New.
9271 * gdb.mi/mi-pending.c: New.
9272 * gdb.mi/mi-pendshr.c: New.
9273
dfdfb3ca
JB
92742007-12-06 Jim Blandy <jimb@codesourcery.com>
9275
9276 * gdb.base/default.exp: Update expected output for 'info catch'.
9277
b7fca990
JK
92782007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9279
9280 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
9281 must be set to binary.
9282
6a1afc1e
PA
92832007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
9284
9285 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
9286
a6b151f1
DJ
92872007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
9288
9289 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
9290 gdb.mi/mi-file-transfer.exp: New.
9291
43039443
JK
92922007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9293
9294 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
9295
0ef2251b
MR
92962007-11-22 Maciej W. Rozycki <macro@mips.com>
9297
9298 * gdb.trace/backtrace.exp: Fix a typo.
9299 * gdb.trace/circ.exp: Likewise.
9300 * gdb.trace/collection.exp: Likewise.
9301 * gdb.trace/limits.exp: Likewise.
9302 * gdb.trace/report.exp: Likewise.
9303 * gdb.trace/tfind.exp: Likewise.
9304 * gdb.trace/while-dyn.exp: Likewise.
9305
5443631e
NR
93062007-11-21 Nick Roberts <nickrob@snap.net.nz>
9307
9308 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
9309 objects of pointers that can't be dereferenced are now
9310 "noneditable".
9311
a4ce5b0d
UW
93122007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9313
9314 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
9315 (target_cpu): Remove.
9316
d6e956e5
VP
93172007-10-15 Vladimir Prus <vladimir@codesourcery.com>
9318
9319 * gdb.base/ending-run.exp: Expect the list of cleared
9320 breakpoint to come in natural order, not the reversed one.
a9c64011 9321
214270ab
VP
93222007-11-07 Vladimir Prus <vladimir@codesourcery.com>
9323
9324 * gdb.mi/mi-var-child.c (do_child_deletion): New.
9325 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 9326
1a619819
LM
93272007-11-05 Luis Machado <luisgpm@br.ibm.com>
9328
9329 * gdb.base/printcmds.exp: New function
9330 test_printf_with_dfp.
9331
5b01a6fa
DE
93322007-11-02 Doug Evans <dje@google.com>
9333
9334 * gdb.disasm/t01_mov.s: Remove carriage returns.
9335 * gdb.disasm/t02_mova.s: Ditto.
9336 * gdb.disasm/t03_add.s: Ditto.
9337 * gdb.disasm/t04_sub.s: Ditto.
9338 * gdb.disasm/t05_cmp.s: Ditto.
9339 * gdb.disasm/t06_ari2.s: Ditto.
9340 * gdb.disasm/t07_ari3.s: Ditto.
9341 * gdb.disasm/t08_or.s: Ditto.
9342 * gdb.disasm/t09_xor.s: Ditto.
9343 * gdb.disasm/t10_and.s: Ditto.
9344 * gdb.disasm/t11_logs.s: Ditto.
9345 * gdb.disasm/t12_bit.s: Ditto.
9346 * gdb.disasm/t13_otr.s: Ditto.
9347
ec33ab7f
JK
93482007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9349
9350 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
9351
ae0d01ff
UW
93522007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9353
9354 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
9355 provide DFP support.
9356
55eddb0f
DJ
93572007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
9358
9359 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
9360 Test "set powerpc vector-abi". Skip auto-detection tests for old
9361 toolchains.
9362
7020f05c
PA
93632007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
9364
9365 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
9366 with [string compare].
9367
84bc3db9
PA
93682007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
9369
9370 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
9371 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
9372
5876dc88
LM
93732007-10-25 Luis Machado <luisgpm@br.ibm.com>
9374
9375 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
9376 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
9377 * gdb.opt/Makefile.in: New makefile.
9378 * Makefile.in: Create new directory "gdb.opt".
9379 * configure.ac: Add "gdb.opt" directory.
9380 * configure: Regenerated.
a9c64011 9381
c3ea9a14
DE
93822007-10-25 Doug Evans <dje@google.com>
9383
9384 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
9385 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
9386
a9c64011 93872007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
9388 Thiago Jung Bauermann <bauerman@br.ibm.com>
9389
9390 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
9391 Floating Point expressions.
9392 * gdb.base/dfp-test.exp: new file adding tests for Decimal
9393 Floating Point variables.
9394 * gdb.base/dfp-test.c: new file containing program with Decimal
9395 Floating variables, used by gdb.base/dfp-test.exp.
9396
62a24a2b
DJ
93972007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
9398
9399 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
9400
e7b1eae6
UW
94012007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9402
9403 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
9404 compiling test case with GCC.
9405 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
9406
c641edcc
UW
94072007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9408
9409 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
9410 format changes.
9411
5e5ebfe6
MS
94122007-10-18 Michael Snyder <msnyder@specifix.com>
9413
9414 * gdb.base/dbx.exp: Add missing "-re " operator.
9415
e831e7b6
GM
94162007-10-16 Gaius Mulley <gaius@glam.ac.uk>
9417
9418 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
9419 * configure.ac: Removed trailing spaces after backslash.
9420 * gdb.modula2: New directory.
9421 * gdb.modula2/Makefile.in: New file.
9422 * gdb.modula2/unbounded-array.exp: New file.
9423 * gdb.modula2/unbounded1.c: New file.
9424
7cc46491
DJ
94252007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
9426
9427 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
9428
94292007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
9430
9431 * gdb.base/sigstep.c (main): Add checks for
9432 return values for setitimer call.
9433 Call setitimer again with itimer = ITIMER_REAL
9434 if first call to setitimer fails.
9435
e91528f0
KH
94362007-10-11 Kazu Hirata <kazu@codesourcery.com>
9437
9438 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
9439 of $timeout.
9440
2ec9a4f8
DJ
94412007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
9442
9443 * gdb.server/server-run.exp: Test for dynamic linker symbols.
9444
94452007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
9446
9447 * lib/gdb.exp (gdb_run_cmd): Move comment outside
9448 of gdb_expect call, to avoid interruption.
9449
64b2fa04
PA
94502007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
9451
9452 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
9453 (v_unsigned_long_long, v_long_long_array)
9454 (v_signed_long_long_array, v_unsigned_long_long_array)
9455 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
9456 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
9457 [!NO_LONG_LONG]: New.
9458 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
9459 v_long_long_member.
9460
9461 (v_long_long_func, v_signed_long_long_func)
9462 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
9463 (main) [!NO_LONG_LONG]: Initialize long long variants.
9464
9465 * gdb.base/whatis.exp: If board file requests no_long_long, build
9466 test with NO_LONG_LONG defined. Test long long, signed long long,
9467 and unsigned long long variants but only if board file doesn't
9468 disable it.
9469
a912286e 94702007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 9471 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
9472
9473 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
9474 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
9475 * configure: Regenerated.
9476 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
9477 gdb.pascal/types.exp, lib/pascal.exp: New files.
9478
471ba8c9
DJ
94792007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
9480
9481 * gdb.cp/classes.exp (do_tests): Always step to the line after the
9482 call.
9483 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
9484 to return to the call.
9485 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
9486 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
9487 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
9488 * gdb.mi/mi-until.exp (test_until): Likewise.
9489 * gdb.mi/mi2-until.exp (test_until): Likewise.
9490
fef8a650
DJ
94912007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
9492
9493 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
9494 two-char array.
9495 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
9496
d983da9c
DJ
94972007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
9498
9499 * gdb.threads/watchthreads.c (thread_function): Sleep between
9500 iterations.
9501 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
9502 at once for S/390. Generate matching fails and passes.
9503
17f62551
VP
95042007-09-27 Vladimir Prus <vladimir@codesourcery.com>
9505
9506 * gdb.mi/var-cmd.c (do_children_tests): Initialize
9507 the 'struct_declarations' variable to zeros.
a9c64011 9508
ed0616c6
VP
95092007-09-24 Vladimir Prus <vladimir@codesourcery.com>
9510
9511 * gdb.cp/mb-ctor.cc: New.
9512 * gdb.cp/mb-ctor.exp: New.
9513 * gdb.cp/mb-templates.cc: New.
9514 * gdb.cp/mb-templates.exp: New.
9515
41f1b697
DJ
95162007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
9517
9518 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
9519
3f213f78
PA
95202007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
9521
9522 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
9523 targets.
9524 * configure: Regenerate.
9525
0d381245 95262007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 9527
0d381245
VP
9528 * gdb.base/annota1.exp: Adjust for 'info break'
9529 format changes.
9530 * gdb.base/annota3.exp: Likewise.
9531 * gdb.base/break.exp: Likewise.
9532 * gdb.base/condbreak.exp: Likewise.
9533 * gdb.base/pending.exp: Likewise.
9534 * gdb.base/sepdebug.exp: Likewise.
9535 * gdb.base/unload.exp: Likewise.
9536 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 9537
fe3f5fa8
VP
95382007-09-22 Vladimir Prus <vladimir@codesourcery.com>
9539
9540 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
9541 messages.
9542 * gdb.base/chng-syms.exp: Likewise.
9543 * gdb.base/unload.exp: Likewise.
a9c64011 9544
a75cf6c0
DJ
95452007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
9546
9547 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
9548
18ecae38
DJ
95492007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
9550
9551 * schedlock.c (NUM): Change to 1.
9552 (main): Use args[0] for the main thread.
9553 * schedlock.exp: Only expect two threads. Only issue one pass or fail
9554 regardless of the number of threads.
9555
5509918f
MR
95562007-09-14 Maciej W. Rozycki <macro@mips.com>
9557
4a543daf
MR
9558 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
9559 type down.
9560 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
9561 test.
9562 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
9563 watchpoint type down.
9564 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
9565 test.
9566
95672007-09-14 Maciej W. Rozycki <macro@mips.com>
9568
5509918f
MR
9569 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
9570 Move all the tests here and run them twice, once using software
9571 watchpoints and once using hardware watchpoints.
9572 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
9573
40b53987
DJ
95742007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
9575
9576 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
9577 test.
9578
695e2681
MK
95792007-09-10 Mark Kettenis <kettenis@gnu.org>
9580
8b3fc8d8
MK
9581 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
9582 build-id.
9583
695e2681
MK
9584 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
9585 know about $ORIGIN. Calculate output dir from $dest instead of
9586 using ${objdir}/{$subdir}.
9587
58d69f29
MK
95882007-09-09 Mark Kettenis <kettenis@gnu.org>
9589
9590 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
9591 gcore, before continuing with the test.
9592
3e347599
DJ
95932007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
9594
9595 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
9596 * gdb.mi/mi-watch.exp: Likewise.
9597
ea37ba09
DJ
95982007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
9599 Jim Blandy <jimb@codesourcery.com>
9600
9601 * gdb.arch/i386-sse.exp: Do not expect character constants.
9602 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
9603 * gdb.base/display.exp: Allow print/s.
9604 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
9605 and unsigned char array changes.
9606
2025a643
DJ
96072007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
9608
9609 * gdb.base/display.exp: Add tests for printf %p.
9610
26669a27
PA
96112007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
9612
9613 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
9614 the dll name to unicode.
9615
c8f021f8
JK
96162007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9617
9618 * gdb.base/default.exp (show version): Update the version text.
9619 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
9620
4cf31eea
JK
96212007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9622
9623 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
9624 New files.
9625
4935890f
JK
96262007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9627
9628 * lib/gdb.exp (build_id_debug_filename_get): New function.
9629 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
9630 Remove the generate DEBUG file for the future testcase runs.
9631 New testcase for the NT_GNU_BUILD_ID retrieval.
9632 Move the final testing step to ...
9633 (test_different_dir): ... a new function.
9634 New parameter XFAIL to XFAIL all the tests performed.
9635 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
9636 New parameter TYPE to PF_PREFIX all the tests performed.
9637
02142340
VP
96382007-08-31 Vladimir Prus <vladimir@codesourcery.com>
9639
9640 * gdb.mi/mi-var-cp.cc (path_expression): New
9641 function.
9642 * gdb.mi/mi-var-cp.exp: Run path exression tests.
9643
36acd84e
UW
96442007-08-27 Markus Deuling <deuling@de.ibm.com>
9645
9646 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
9647 to fit into SPU Local Store memory.
9648
a896d121
JB
96492007-08-23 Joel Brobecker <brobecker@adacore.com>
9650
9651 * gdb.base/default.exp: Adjust the expected output of "info
9652 warranty" after the switch to GPLv3.
9653
7b433602
JB
96542007-08-23 Joel Brobecker <brobecker@adacore.com>
9655
9656 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
9657 to 30000 (from 20000).
9658
e22f8b7c
JB
96592007-08-23 Joel Brobecker <brobecker@adacore.com>
9660
9661 Switch the license of all .exp files to GPLv3.
9662 Switch the license of all .f and .f90 files to GPLv3.
9663 Switch the license of all .s and .S files to GPLv3.
9664
5a0e3bd0
JB
96652007-08-23 Joel Brobecker <brobecker@adacore.com>
9666
9667 * configure.ac: Switch license to GPLv3.
9668
cc00619d
JB
96692007-08-23 Joel Brobecker <brobecker@adacore.com>
9670
9671 Switch the licensing to GPLv3 for all .ads and .adb files.
9672
8d26208a
DJ
96732007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
9674
9675 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
9676 and t_int_double.
9677 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
9678
4fcb9948
JB
96792007-08-17 Joel Brobecker <brobecker@adacore.com>
9680
9681 * gdb.base/step-line.c: Switch license to GPL version 3, and
9682 update copyright year.
9683 * gdb.base/step-line.inp: Likewise.
9684
b9c34f67
JB
96852007-08-17 Joel Brobecker <brobecker@adacore.com>
9686
9687 * gdb.base/gdb1555.exp: Make expected output immune to formatting
9688 changes inside gdb1555.c.
9689 * gdb.base/pending.exp: Likewise.
9690
2cc17678
DJ
96912007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
9692
9693 * config/default.exp: New file.
9694
e48883f7
DJ
96952007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
9696
9697 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
9698 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
9699
1ab80e5b
MR
97002007-07-30 Maciej W. Rozycki <macro@mips.com>
9701
9702 * gdb.base/dump.exp: Force the correct endianness for binary
9703 formats not carrying this information.
9704
aba471f5
DJ
97052007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9706
9707 * gdb.threads/staticthreads.exp: Match .*sem_post.
9708
d4e07204
DJ
97092007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9710
9711 * gdb.base/readline.exp (operate_and_get_next): Match the final
9712 prompt.
9713
2b97317d
KB
97142007-07-23 Kevin Buettner <kevinb@redhat.com>
9715
9716 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
9717 to restarting SID.
9718
44efa07a
KB
97192007-07-18 Kevin Buettner <kevinb@redhat.com>
9720
9721 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
9722 prior to `gdb_start'.
9723
7b5ebade
KB
97242007-07-18 Kevin Buettner <kevinb@redhat.com>
9725
9726 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
9727 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
9728 Remove call to gdb_unload.
9729
255e7678
DJ
97302007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
9731 Daniel Jacobowitz <dan@codesourcery.com>
9732
9733 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
9734 for __WIN32__.
9735 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
9736 * gdb.base/unload.exp: Use shared library test routines.
9737
3a40aaa0
UW
97382007-07-03 Markus Deuling <deuling@de.ibm.com>
9739
9740 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
9741 * gdb.base/solib-symbol-lib.c: Likewise.
9742 * gdb.base/solib-symbol-main.c: Likewise.
9743
b0f4b84b
DJ
97442007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
9745
9746 * config/gdbserver.exp (gdb_reconnect): New.
9747 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
9748 gdb.base/solib-disc.exp: New files.
9749 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
9750 remote debugging".
9751 (gdb_compile): Add shlib_load flag.
9752 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
9753 port.
9754 (gdbserver_reconnect): New.
9755
1b05479a
DJ
97562007-07-01 Nick Roberts <nickrob@snap.net.nz>
9757 Daniel Jacobowitz <dan@codesourcery.com>
9758
9759 * gdb.base/annota3.exp: Test for if construct.
9760
86f78eb2
DJ
97612007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
9762
9763 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
9764
6a2eb474 97652007-06-21 Chris Dearman <chris@mips.com>
a9c64011 9766 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
9767
9768 * gdb.base/display.exp: Allow a newline after display/i.
9769 * gdb.base/pc-fp.exp: Likewise.
9770 * gdb.base/sigbpt.exp: Likewise.
9771
f8b73d13
DJ
97722007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
9773
9774 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
9775 required features to be included.
9776
4339e69e
DJ
97772007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
9778
9779 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
9780 in info threads output.
9781
23d964e7
UW
97822007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9783 Markus Deuling <deuling@de.ibm.com>
9784
9785 * gdb.arch/spu-info.exp: New testcase.
9786 * gdb.arch/spu-info.c: New file.
9787
fd20f75b
DJ
97882007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
9789
9790 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
9791 tpcs_offset. Restore lr after the call.
9792 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
9793
2226f861
DJ
97942007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
9795
9796 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
9797 (gdbserver_run): Kill any running gdbserver.
9798 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
9799
d12371a9
MR
98002007-05-17 Maciej W. Rozycki <macro@mips.com>
9801
9802 * gdb.base/sigbpt.exp: Preset segv_addr.
9803
93f02886
DJ
98042007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
9805
9806 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
9807 (gdb_compile_shlib): Likewise.
9808 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
9809 (default_gdb_init): Clear cleanfiles.
9810 (gdb_finish): Delete recorded cleanfiles.
9811 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
9812
9813 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
9814 Do not use isnative.
9815 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
9816 gdb.base/so-impl-ld.exp: Likewise.
9817 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
9818 * gdb.base/unload.exp: Likewise. Do not pass empty option to
9819 gdb_compile.
9820
b04e06d7
VP
98212007-05-15 Vladimir Prus <vladimir@codesourcery.com>
9822
9823 * config/unknown.exp: Remove.
9824
069ed931
UW
98252007-05-15 Markus Deuling <deuling@de.ibm.com>
9826
9827 * gdb.base/info-proc.exp: Check is_remote.
9828
09db0d03
UW
98292007-05-14 Markus Deuling <deuling@de.ibm.com>
9830
9831 * gdb.base/gcore.exp: Initialize variable core_supported.
9832
af2cbe8c
DJ
98332007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
9834
9835 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
9836
027c0295
DJ
98372007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
9838
9839 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
9840 * gdb.threads/print-threads.exp (test_all_threads): Allow
9841 negative and hexadecimal thread IDs.
9842
dc5000e7
DJ
98432007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
9844
9845 * gdb.java/jprint.java (public): Avoid invalid call to static
9846 method.
9847
2e74ed18
DP
98482007-05-14 Denis Pilat <denis.pilat@st.com>
9849
9850 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
9851 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
9852 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
9853 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
9854 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
9855
83547f02
UW
98562007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9857
9858 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 9859 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
9860 this mode.
9861 * gdb.base/ovlymgr.c: Provide stubs for spu target.
9862 * gdb.base/spu.ld: New file.
9863
b18be20d
DJ
98642007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
9865
9866 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
9867
be444858
DJ
98682007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
9869
9870 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
9871
b1d53152
DJ
98722007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
9873
9874 * gdb.java/jmain.exp: Handle demangled names with and without method
9875 signatures.
9876
d084b331
DJ
98772007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
9878
9879 * gdb.mi/mi-syn-frame.c (main, foo, bar)
9880 (have_a_very_merry_interrupt): Remove calls to puts.
9881 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
9882 inferior output.
9883 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
9884 test names.
9885
db9d7fc5
DJ
98862007-04-29 Markus Deuling <deuling@de.ibm.com>
9887 Daniel Jacobowitz <dan@codesourcery.com>
9888
9889 * gdb.base/auxv.exp (core_works): Also check is_remote.
9890 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
9891
ef783a7d 98922007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 9893
ef783a7d
VP
9894 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
9895 message, not the undefined 'module' variable.
9896 * gdb.base/siginfo.exp: Likewise.
9897 * gdb.base/sigstep.exp: Likewise.
9898 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
9899 serialport.
9900 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
9901
b7b73cae
CV
99022007-04-25 Corinna Vinschen <vinschen@redhat.com>
9903
9904 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
9905 target sim fails. Return 0 otherwise.
9906 (gdb_load): Return prematurely if gdb_target_sim fails.
9907
7d90fdfa
DP
99082007-04-16 Denis Pilat <denis.pilat@st.com>
9909
9910 * gdb.base/setshow.exp: Reset height after having set it to 100.
9911
5d3e9c85
DP
99122007-04-16 Denis Pilat <denis.pilat@st.com>
9913
9914 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
9915
18e75969
DP
99162007-04-16 Denis Pilat <denis.pilat@st.com>
9917
9918 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
9919
25d5ea92
VP
99202007-04-14 Vladimir Prus <vladimir@codesourcery.com>
9921
9922 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
9923 tests. Run the frozen varobjs test.
9924 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 9925 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 9926
0b49cb80
JK
99272007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9928
9929 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
9930 gdb.base/type-opaque.exp: New files.
9931
a73bafbc 99322007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
9933
9934 * gdb.mi/mi-var-child.c
a73bafbc
VP
9935 (do_children_tests): User char[2] instead of
9936 char so that automatic printing of pointers to char
9937 don't give unpredicable result.
9938 * gdb.mi/var-cmd.c (do_locals_test): Initialize
9939 local variables.
9940 * gdb.mi/mi-var-child.exp: Step to right line
9941 of do_children_tests.
9942 * gdb.mi/mi2-var-child.exp: Likewise.
9943 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 9944 do_locals_tests.
a73bafbc
VP
9945 (do_children_tests): User char[2] instead of
9946 char so that automatic printing of pointers to char
a9c64011 9947 don't give unpredicable result.
a73bafbc 9948 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 9949 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
9950 Pass test name to mi_wait_for_stop.
9951
7ce59000
DJ
99522007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9953
9954 * gdb.asm/asm-source.exp: Remove d10v case.
9955 * lib/gdb.exp (skip_cplus_tests): Likewise.
9956 * gdb.asm/d10v.inc: Deleted.
9957
20389057
DJ
99582007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9959
9960 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
9961
8807d78b
DJ
99622007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9963
9964 * config/netware.exp: Delete file.
9965
aa3edb8e
JB
99662007-03-29 Joel Brobecker <brobecker@adacore.com>
9967
9968 * gdb.dwarf2/dw2-noloc.S: New file.
9969 * gdb.dwarf2/dw2-noloc.exp: New file.
9970
297561ac
PA
99712007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
9972
9973 * gdb.cp/method2.cc: New test.
9974 * gdb.cp/method2.exp: New test.
9975 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
9976
1f81bd39
DJ
99772007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
9978
9979 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
9980
9453113a
DJ
99812007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
9982
9983 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
9984
b741e217
DJ
99852007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
9986
9987 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
9988 (gdb_load): Delete, replace with...
9989 (gdb_reload): ...this.
9990 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
9991 * gdb.server/server-mon.exp: Likewise.
9992 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
9993 (gdb_start_cmd): New.
9994 (gdb_file_cmd): Save the last loaded file.
9995 (gdb_reload): New.
9996 (gdb_gnu_strip_debug): Use transform.
9997 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
9998 support here. Use new $last_loaded_file. Check mtime.
9999 (gdb_target_cmd): Handle ObjC failure case.
10000 (infer_host_exec): Delete.
10001 (gdbserver_load): Rename to...
10002 (gdbserver_run): ...this. Simplify.
10003 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
10004 (mi_gdb_load): Move most contents to a new function...
10005 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
10006 (mi_run_cmd): Use mi_gdb_target_load.
10007 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
10008 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
10009 Use gdb_run_cmd.
10010 * gdb.base/charsign.exp: Remove incorrect comment.
10011 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
10012 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
10013 gdb.base/start.exp: Use gdb_start_cmd.
10014
446ab585 100152007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 10016 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
10017
10018 * gdb.base/sigbpt.exp: Fix the message when skipping test.
10019 * gdb.base/signull.exp: Similarly.
10020
bbb88ebf
UW
100212007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10022
10023 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
10024 messages available to test cases (like chng-sym.exp).
10025
cb8c4a99
AS
100262007-03-14 Andreas Schwab <schwab@suse.de>
10027
10028 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
10029 format changes.
10030
4e463ff5
DJ
100312007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
10032
10033 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
10034 (optimized_1): New.
10035 (main): Call optimized_1.
10036 (gdb2029): Correct typos. Call gdb2029_marker.
10037 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
10038 for gdb2029.
10039
b6db2c47
MK
100402007-03-12 Mark Kettenis <kettenis@gnu.org>
10041
10042 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
10043 as tabs. Remove redundant test pattern.
10044
70ed3737
UW
100452007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10046
10047 * gdb.base/long_long.exp: Accept optional symbol name in <...>
10048 for /a format output.
10049
47b67b60
DJ
100502007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
10051
10052 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
10053 collect output incrementally.
10054
b8953b0e
UW
100552007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10056
10057 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
10058 for -var-create lpcharacter test.
10059 * gdb.mi/mi2-var-cmd.exp: Likewise.
10060
7acd5c40
UW
100612007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10062
10063 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
10064 pass on targets where address zero is readable.
10065
9c6759c1
UW
100662007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10067
10068 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
10069 just a single architecture.
10070
a2f1aeb4
UW
100712007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10072
10073 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
10074 (fetch_all_registers): New function, uses gdb_test_multiple and
10075 exp_continue to fetch inferior output line-by-line.
10076 Replace all uses of do_get_all_registers by fetch_all_registers.
10077
46579ac2
UW
100782007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10079
10080 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
10081 in target_info.
10082
fc133f24
MS
100832007-03-02 Michael Snyder <michael.snyder@palmsource.com>
10084
a9c64011 10085 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
10086 consistancy; add a default (timeout) case.
10087
7646a51d
MS
100882007-03-02 Michael Snyder <michael.snyder@palmsource.com>
10089
10090 * gdb.base/watchpoint.exp: Fix truncated comment.
10091
dcfff61f
MS
100922007-03-02 Michael Snyder <michael.snyder@palmsource.com>
10093
10094 * Makefile.in: Remove spurious single-quotes from sed command.
10095
664e3ee9
DJ
100962007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
10097
10098 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
10099 func.
10100 * gdb.mi/mi2-var-cmd.exp: Likewise.
10101
d7cc6f2f
JB
101022007-02-27 Joel Brobecker <brobecker@adacore.com>
10103
a9c64011
AS
10104 * gdb.dwarf2/dw2-producer.S: New file.
10105 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
10106
101072007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
10108
10109 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
10110 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
10111 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
10112 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
10113 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
10114 Revert tests to use mi_gdb_test and include value field in output
10115 of -var-create.
10116
93d42b30
DJ
101172007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
10118
10119 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
10120
c499ed39
DJ
101212007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
10122
10123 * gdb.base/maint.exp: Remove full paths from test names.
10124 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
10125 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
10126
9836f81b
JB
101272007-02-27 Joel Brobecker <brobecker@adacore.com>
10128
10129 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
10130
c74d0ad8
DJ
101312007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
10132
10133 * gdb.server/server-mon.exp: New test.
10134
2711e456
DJ
101352007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
10136
10137 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
10138
ff6f572f
DJ
101392007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
10140
10141 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
10142 register capitalization.
10143
fada3feb
DP
101442007-02-13 Denis Pilat <denis.pilat@st.com>
10145
10146 * gdb.mi/mi-var-invalidate.exp: New file.
10147
fb1e4ffc
DJ
101482007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
10149
10150 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
10151
3da939d7
DJ
101522007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
10153
10154 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
10155
123dc839
DJ
101562007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
10157
10158 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
10159 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
10160
877e3645 101612007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
10162
10163 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
10164 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
10165 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
10166 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
10167 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 10168 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 10169 Update tests to include value field in output of -var-create.
a9c64011 10170
3c0a2960
AS
101712007-02-08 Andreas Schwab <schwab@suse.de>
10172
10173 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
10174
108546a0
DJ
101752007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
10176
10177 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
10178 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
10179
d701dcab
DP
101802007-02-02 Denis Pilat <denis.pilat@st.com>
10181
10182 * gdb.threads/threadapply.exp: check that frame is not changed by
10183 the thread apply all command.
10184
783e3e2f
AS
101852007-01-31 Andreas Schwab <schwab@suse.de>
10186
6d9c3a87
AS
10187 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
10188
3c50d7b9
AS
10189 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
10190 in the dwarf sections.
10191 * gdb.dwarf2/mac-fileno.S: Likewise.
10192
783e3e2f
AS
10193 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
10194 bspstore register on ia64.
10195
78ff580e
AS
101962007-01-29 Andreas Schwab <schwab@suse.de>
10197
cc8e9b12
AS
10198 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
10199 "frame-begin" annotation.
10200
78ff580e
AS
10201 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
10202 number of "frames-invalid" annotations.
10203
704a4f78
DJ
102042007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
10205
10206 * gdb.base/commands.exp: Call if_commands_test.
10207 (gdb_test_no_prompt, if_commands_test): New.
10208
e741bf94
MK
102092007-01-28 Mark Kettenis <kettenis@gnu.org>
10210
10211 * gdb.threads/sigthread.c (NSIGS): Make bigger.
10212
474d0ad3
AS
102132007-01-27 Andreas Schwab <schwab@suse.de>
10214
10215 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
10216 .short/.int/.quad in the dwarf sections.
10217 * gdb.dwarf2/dw2-intercu.S: Likewise.
10218 * gdb.dwarf2/dw2-intermix.S: Likewise.
10219
e784b426
JK
102202007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10221
10222 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
10223 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
10224 array.
e784b426
JK
10225 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
10226 * gdb.base/setvar.exp: Likewise.
10227
37f08e04
AS
102282007-01-26 Andreas Schwab <schwab@suse.de>
10229
9a01813a
AS
10230 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
10231 test.
10232
37f08e04
AS
10233 * gdb.base/multi-forks.exp ("restart $i"): Also match
10234 __kernel_syscall_via_break.
10235
6e2a9270
VP
102362007-01-24 Vladimir Prus <vladimir@codesourcery.com>
10237
10238 * lib/mi-support.exp (mi_delete_varobj): New.
10239 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
10240 testcase.
10241 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
10242 (main): Call the above.
10243 (reference_update_test, base_in_reference_test)
10244 (reference_to_pointer): Delete the created varobjs.
a9c64011 10245
e515b470
DJ
102462007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
10247
10248 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
10249 * configure: Regenerated.
10250 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
10251 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
10252 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
10253 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
10254 * lib/gdb.exp (gdb_skip_xml_test): New function.
10255
08d8bcd7
DJ
102562007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
10257
10258 * gdb.base/sigrepeat.exp: Correct error message.
10259
102602007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
10261 Daniel Jacobowitz <dan@codesourcery.com>
10262
10263 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
10264 gdb.arch/i386-gnu-cfi-asm.S: New files.
10265
97c3f1f3
JK
102662007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10267
10268 * lib/gdb.exp: Abort on missing `site.exp'.
10269
cb1df416
DJ
102702007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10271 Daniel Jacobowitz <dan@codesourcery.com>
10272
10273 * gdb.base/included.c, gdb.base/included.exp,
10274 gdb.base/included.h: New files.
10275
35990120
DJ
102762007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
10277
10278 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
10279 (maximize_rlimit): Reduce limits on 64-bit systems.
10280
6e81a116 102812007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
10282
10283 From Marcus Deuling <deuling@de.ibm.com>:
10284 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
10285 every case.
10286
6c3c41f3
NR
102872007-01-13 Nick Roberts <nickrob@snap.net.nz>
10288
10289 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
10290 (test_path_specification): Use objdir instead of srcdir to always
10291 get an absolute filename.
10292
2f12c312
DJ
102932007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
10294
10295 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
10296
81121995
VP
102972007-01-11 Vladimir Prus <vladimir@codesourcery.com>
10298
10299 * gdb.mi/mi-var-cp.cc (reference_update_tests):
10300 Make sure the variable we're using is in scope.
10301 (reference_to_pointer): Likewise.
10302
4741b737
DJ
103032007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
10304
10305 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
10306 has no debug information.
10307
054410c3
DJ
103082007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
10309
10310 * gdb.base/annota1.exp: Remove extra send_gdb.
10311
818f79f6
DJ
103122007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10313
10314 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
10315
f7a6bb70
DJ
103162007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10317
10318 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
10319
57e66780
DJ
103202007-01-08 Nick Roberts <nickrob@snap.net.nz>
10321 Daniel Jacobowitz <dan@codesourcery.com>
10322
10323 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
10324 lcharacter or linteger change. Correct duplicated test name.
10325 * gdb.mi/mi2-var-cmd.exp: Likewise.
10326
3d799a95
DJ
103272007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
10328
10329 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
10330
103312007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 10332
a9c64011
AS
10333 * gdb.base/nofield.c: New file.
10334 * gdb.base/nofield.exp: New testcase.
51679ba9 10335
eafb94e8
NR
103362007-01-05 Nick Roberts <nickrob@snap.net.nz>
10337
10338 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
10339
10340 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
10341 test.
10342
5e572bb4
DJ
103432007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10344
10345 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
10346
74a44383
DJ
103472007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10348
10349 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
10350 when continuing.
10351
1b572db9
DJ
103522007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
10353
10354 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
10355 Expect ".exe" extension.
10356
381bc39b
DJ
103572007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
10358
10359 * gdb.base/charset.exp: Add explicit filename to break.
10360 * gdb.base/dbx.exp: Add explicit filename to breaks.
10361
2b70e4c6
DJ
103622007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
10363
10364 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
10365 * gdb.mi/mi2-file.exp: Likewise.
10366
303b6f5d
DJ
103672007-01-04 Vladimir Prus <vladimir@codesourcery.com>
10368
10369 Implement specification of MI tests as comments
10370 in C and C++ sources.
10371 * lib/mi-support.exp (mi_autotest_data): New variable.
10372 (mi_autotest_source): New variable.
10373 (count_newlines, mi_prepare_inline_tests)
10374 (mi_get_inline_test, mi_continue_to_line)
10375 (mi_run_inline_test, mi_tbreak)
10376 (mi_send_resuming_command, mi_wait_for_stop): New functions.
10377 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
10378 Run inline tests.
10379 * gdb.mi/mi-var-cp.cc: Define tests here.
10380
23da0d94
VP
103812007-01-04 Vladimir Prus <vladimir@codesourcery.com>
10382
10383 Simplify usage of mi_continue_to.
10384 * lib/mi-support.exp (mi_runto_helper): Renamed
10385 from mi_runto, added new parameter 'run_or_continue'.
10386 (mi_runto): Use mi_runto_helper.
10387 (mi_continue_to): Accept just function name as parameter.
10388 Use mi_runto_helper.
10389 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
10390 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 10391
f9e18282
JB
103922006-01-04 Joel Brobecker <brobecker@adacore.com>
10393
10394 Make this testcase a bit more realistic. The current code
10395 is too simplistic, and allows the compiler to optimize out
10396 some of the entities we need for this testcase.
10397 * gdb.ada/null_record/bar.ads (Void_Star): New type.
10398 (Do_Nothing): Add extra parameter.
10399 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
10400 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
10401 by using a variable of type Void_Star.
10402
fd678c65
JB
104032006-01-04 Joel Brobecker <brobecker@adacore.com>
10404
10405 * gdb.ada/catch_ex/foo.adb: New file.
10406 * gdb.ada/catch_ex.exp: New testcase.
10407
05cfdb42
DJ
104082007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
10409
10410 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
10411 pass --image-base to linker.
10412
2e03ee74
DJ
104132007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10414 Daniel Jacobowitz <dan@codesourcery.com>
10415
10416 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
10417 secondary prompts.
10418
0d5de010
DJ
104192007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
10420
10421 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
10422 output. Test the types of members and member pointers.
10423 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
10424 gdb/2092.
10425 * gdb.cp/member-ptr.exp: Search for a comment instead of a
10426 statement. Enable for GCC. Update expected output for some tests
10427 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
10428 layout.
10429 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
10430 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
10431 (Diamond::vget_base): New.
10432 (main): Add new tests.
10433 * gdb.cp/printmethod.exp: Update expected output for member functions.
10434 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
10435 print pEe->D::vg().
10436
61a771aa
DJ
104372007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
10438
10439 * gdb.threads/tls.exp: Allow stops in sem_post.
10440
2fa63963
DJ
104412006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
10442
10443 * gdb.base/annota1.exp: Allow .*printf in backtraces.
10444 * gdb.base/annota3.exp: Likewise.
10445 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
10446 again (instead of timing out).
10447 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
10448 GCC bug 26475.
10449 * gdb.java/jmisc.exp: Adjust to work with method signatures including
10450 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
10451 test from jmisc1.exp.
10452 * gdb.java/jmisc1.exp: Delete.
10453 * gdb.java/jprint.exp: Adjust to work with method signatures including
10454 return types.
10455 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
10456 * gdb.threads/linux-dp.exp: Don't be confused by program output.
10457 * lib/java.exp (compile_java_from_source): Pass the correct type
10458 to target_compile.
10459
5eefc2b7
JB
104602006-12-31 Joel Brobecker <brobecker@adacore.com>
10461
10462 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
10463 (stack_align_edx): New function.
10464 (stack_align_eax): New function.
10465 (main): Add calls to stack_align_edx and stack_align_eax.
10466 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
10467 Add testing for the cases where the register used during a stack
10468 realignment is edx. Same for eax.
10469
227c54da
DJ
104702006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
10471
10472 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
10473 and generic PE targets.
10474
cab8ac94
JB
104752006-12-29 Joel Brobecker <brobecker@adacore.com>
10476
10477 * gdb.ada/array_return.exp: Update copyright date list.
10478
ba54f318
JB
104792006-12-27 Joel Brobecker <brobecker@adacore.com>
10480
10481 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
10482 (Create_Small_Float_Vector): New function.
10483 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
10484 function body.
10485 * gdb.ada/array_return/p.adb: Use new type and function from
10486 package Pck.
10487 * gdb.ada/array_return.exp: Add a test verifying that GDB is
10488 able to print the value returned by a function returning an
10489 array of float.
10490
6b7a35dd
JB
104912006-12-20 Joel Brobecker <brobecker@adacore.com>
10492
10493 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
10494 The associated tests should be PASSing.
10495
038224f6
VP
104962006-12-08 Vladimir Prus <vladimir@codesourcery.com>
10497
10498 Test for base in references.
10499 * gdb.mi/mi-var-cp.cc: Add test code.
10500 * gdb.mi/mi-var-cp.exp: Test for bases in references.
10501 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
10502 * gdb.mi/mi2-watch.exp: Likewise.
10503 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
10504 (mi_list_varobj_children): New function.
10505
b26ed50d
VP
105062006-12-08 Vladimir Prus <vladimir@codesourcery.com>
10507
10508 * lib/mi-support.exp
10509 (mi_runto): Accept "()" after function name.
10510 (mi_create_varobj): New function.
10511 (mi_varobj_update): New function.
10512 (mi_Check_varobj_value): New function.
10513 * gdb.mi/mi-var-cp.exp: New file.
10514 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 10515
08232497
DJ
105162006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
10517
10518 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
10519 gdb.base/weaklib2.c: New files.
10520
d394c993 105212006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 10522
ac6c2fba
NS
10523 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
10524 info. Adjust test names.
10525
8ec659a0 10526 * gdb.base/break.c (main): Move position of malloc.
d394c993 10527 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 10528
acd65feb
VP
105292006-11-28 Vladimir Prus <vladimir@codesourcery.com>
10530
10531 * gdb.mi/mi-var-cmd.exp: Check -var-update after
10532 assignement of arrays and function pointers.
10533 * gdb.mi/var-cmd.c: Add declaration necessary for above
10534 tests.
10535
f556d5e5
NS
105362006-11-27 Nathan Sidwell <nathan@codesourcery.com>
10537
10538 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
10539
10540 * gdb.threads/linux-dp.exp: Read thread table before and after
10541 creating each philosopher and verify it.
10542
697bc68d
NS
105432006-11-27 Nathan Sidwell <nathan@codesourcery.com>
10544 Paul Brook <paul@codesourcery.com>
10545 Daniel Jacobowitz <dan@codesourcery.com>
10546
10547 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 10548 main to remove duplication. Add start function of the form
697bc68d
NS
10549 '_*start[1-9]*'. Add RVDS start function.
10550
29d73ae4
DJ
105512006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
10552
10553 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
10554
c1d88655
UW
105552006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10556
10557 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
10558 * gdb.asm/spu.inc: New file.
10559 * gdb.base/term.exp: Disable if [target_info exists noargs].
10560 * gdb.gdb/complaints.exp: Disable if ![isnative].
10561 * gdb.gdb/selftest.exp: Likewise.
10562 * gdb.gdb/observer.exp: Likewise.
10563 * gdb.gdb/xfullpath.exp: Likewise.
10564 * gdb.base/attach.exp: Disable on SPU target.
10565 * gdb.cp/bs145503.exp: Likewise.
10566 * gdb.cp/exception.exp: Likewise.
10567 * gdb.cp/userdef.exp: Likewise.
10568
32a13b1a
DJ
105692006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
10570
10571 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
10572
d8295fe9
VP
105732006-11-10 Vladimir Prus <vladimir@codesourcery.com>
10574
10575 * gdb.base/completion.exp: Fix completion tests for
10576 'info' and 'info '.
10577 * gdb.base/help.exp (help_test_raw, test_class_help)
10578 (test_prefix_command_help): Move...
10579 * lib/gdb.exp: Here.
10580 * gdb.base/main.exp: Adjust.
10581 * gdb.cp/maint.exp: Adjust.
10582 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 10583
8c394015
VP
105842006-11-09 Vladimir Prus <vladimir@codesourcery.com>
10585
10586 * gdb.stabs/weird.exp (print_weird_var): Use
10587 gdb_test_multiple instead of gdb_expect.
10588
027fc1bc
VP
105892006-11-09 Vladimir Prus <vladimir@codesourcery.com>
10590
10591 * gdb.base/help.exp (help_test_raw): New.
10592 (test_class_help): New.
10593 (test_prefix_command_help): New.
10594 Adjust testcases.
10595
67609209
FR
105962006-11-09 Christophe Lyon <christophe.lyon@st.com>
10597
10598 * gdb.base/constvars.c (main): Write to crass and crips, so that
10599 they are allocated by the compiler.
10600
f73adfeb
AS
106012006-10-27 Andreas Schwab <schwab@suse.de>
10602
10603 * gdb.base/multi-forks.exp: Use "detach fork" instead of
10604 "detach-fork".
10605
2f83a18e
DJ
106062006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
10607
10608 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
10609 of patterns.
10610
94277a38
DJ
106112006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
10612
10613 * gdb.base/sepdebug.exp: Remove debug format test.
10614 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
10615 Handle no-symtab.
10616 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
10617
5bd2f6e2
DJ
106182006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
10619
10620 * gdb.threads/manythreads.c (thread_function, main): Don't cast
10621 int to pointer or pointer to int.
10622 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
10623
8c008720
DJ
106242006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
10625
10626 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
10627
9e35dae4
DJ
106282006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10629
10630 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
10631
d9639e13
DJ
106322006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
10633
10634 PR c++/2116
10635 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
10636
390a1bd0
JB
106372006-10-06 Joel Brobecker <brobecker@adacore.com>
10638
10639 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
10640 the corresponding bug has been fixed in GDB (PR/2018).
10641
dd920c33
JB
106422006-10-06 Joel Brobecker <brobecker@adacore.com>
10643
10644 * gdb.base/subst.exp: New testcase.
10645
53bbefe9
JB
106462006-10-06 Joel Brobecker <brobecker@adacore.com>
10647
10648 * gdb.ada/array_return/pck.ads: Add copyright notice.
10649 * gdb.ada/array_return/pck.adb: Likewise.
10650 * gdb.ada/array_return/p.adb: Likewise.
10651 * gdb.ada/exec_changed/first.adb: Likewise.
10652 * gdb.ada/exec_changed/second.adb: Likewise.
10653
09851417
JB
106542006-10-06 Joel Brobecker <brobecker@adacore.com>
10655
10656 * gdb.ada/watch_arg/watch.adb: New file.
10657 * gdb.ada/watch_arg.exp: New testcase.
10658
041bf30d
VP
106592006-10-02 Vladimir Prus <vladimir@codesourcery.com>
10660
10661 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 10662 via string_to_regexp.
041bf30d 10663 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 10664
f286fbdd 106652006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
10666
10667 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
10668 Remove unused / obsolete files.
10669
7c07f349
NR
106702006-09-19 Nick Roberts <nickrob@snap.net.nz>
10671
10672 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
10673
cd5ff84a
VP
106742006-09-17 Vladimir Prus <vladimir@codesourcery.com>
10675
10676 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
10677 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 10678 the number of frames.
cd5ff84a 10679
ae018d1a
DJ
106802006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
10681
10682 * gdb.base/args.c (main): Add breakpoint marker.
10683 * gdb.base/args.exp: Use args_test for tests. Add new tests which
10684 really test empty arguments.
10685 (args_load): Delete.
10686 (args_test): New.
10687
b399c549
NR
106882006-09-13 Nick Roberts <nickrob@snap.net.nz>
10689
10690 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
889bf7c5 10691 check for one file.
b399c549 10692
2ab1eb7a
VP
106932006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
10694
10695 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
10696 HIGH_FRAME argument to -stack-list-locals can be larger than
10697 the number of frames.
a9c64011 10698
476308bf
FF
106992006-08-18 Fred Fish <fnf@specifix.com>
10700
10701 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
10702 '$' in front of skip_vmx_tests_saved when setting that.
10703
8625200f
AS
107042006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
10705
10706 * gdb.base/trace-commands.exp: New file.
10707
089ec8f1
DJ
107082006-08-10 Joel Brobecker <brobecker@adacore.com>
10709 Daniel Jacobowitz <dan@codesourcery.com>
10710
10711 * gdb.base/step-bt.exp: Make hexadecimal address optional in
10712 expected output of the backtrace commands.
10713
b60f0898
JB
107142006-08-09 Joel Brobecker <brobecker@adacore.com>
10715
10716 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
10717 untested followed by return combination.
10718 * gdb.arch/altivec-regs.exp: Likewise.
10719 * gdb.arch/e500-abi.exp: Likewise.
10720 * gdb.arch/e500-regs.exp: Likewise.
10721 * gdb.arch/gdb1291.exp: Likewise.
10722 * gdb.arch/gdb1431.exp: Likewise.
10723 * gdb.arch/gdb1558.exp: Likewise.
10724 * gdb.arch/i386-prologue.exp: Likewise.
10725 * gdb.arch/i386-unwind.exp: Likewise.
10726 * gdb.asm/asm-source.exp: Likewise.
10727 * gdb.base/a2-run.exp: Likewise.
10728 * gdb.base/advance.exp: Likewise.
10729 * gdb.base/all-bin.exp: Likewise.
10730 * gdb.base/annota1.exp: Likewise.
10731 * gdb.base/annota3.exp: Likewise.
10732 * gdb.base/args.exp: Likewise.
10733 * gdb.base/arithmet.exp: Likewise.
10734 * gdb.base/assign.exp: Likewise.
10735 * gdb.base/async.exp: Likewise.
10736 * gdb.base/attach.exp: Likewise.
10737 * gdb.base/bang.exp: Likewise.
10738 * gdb.base/bigcore.exp: Likewise.
10739 * gdb.base/bitfields.exp: Likewise.
10740 * gdb.base/bitfields2.exp: Likewise.
10741 * gdb.base/break.exp: Likewise.
10742 * gdb.base/call-sc.exp: Likewise.
10743 * gdb.base/call-strs.exp: Likewise.
10744 * gdb.base/callfuncs.exp: Likewise.
10745 * gdb.base/checkpoint.exp: Likewise.
10746 * gdb.base/chng-syms.exp: Likewise.
10747 * gdb.base/code-expr.exp: Likewise.
10748 * gdb.base/commands.exp: Likewise.
10749 * gdb.base/completion.exp: Likewise.
10750 * gdb.base/cond-expr.exp: Likewise.
10751 * gdb.base/condbreak.exp: Likewise.
10752 * gdb.base/consecutive.exp: Likewise.
10753 * gdb.base/constvars.exp: Likewise.
10754 * gdb.base/corefile.exp: Likewise.
10755 * gdb.base/cvexpr.exp: Likewise.
10756 * gdb.base/dbx.exp: Likewise.
10757 * gdb.base/define.exp: Likewise.
10758 * gdb.base/detach.exp: Likewise.
10759 * gdb.base/display.exp: Likewise.
10760 * gdb.base/dump.exp: Likewise.
10761 * gdb.base/ena-dis-br.exp: Likewise.
10762 * gdb.base/ending-run.exp: Likewise.
10763 * gdb.base/environ.exp: Likewise.
10764 * gdb.base/eval-skip.exp: Likewise.
10765 * gdb.base/exprs.exp: Likewise.
10766 * gdb.base/fileio.exp: Likewise.
10767 * gdb.base/finish.exp: Likewise.
10768 * gdb.base/float.exp: Likewise.
10769 * gdb.base/foll-exec.exp: Likewise.
10770 * gdb.base/foll-fork.exp: Likewise.
10771 * gdb.base/foll-vfork.exp: Likewise.
10772 * gdb.base/freebpcmd.exp: Likewise.
10773 * gdb.base/funcargs.exp: Likewise.
10774 * gdb.base/gcore.exp: Likewise.
10775 * gdb.base/gdb1090.exp: Likewise.
10776 * gdb.base/gdb1250.exp: Likewise.
10777 * gdb.base/huge.exp: Likewise.
10778 * gdb.base/info-proc.exp: Likewise.
10779 * gdb.base/interrupt.exp: Likewise.
10780 * gdb.base/jump.exp: Likewise.
10781 * gdb.base/langs.exp: Likewise.
10782 * gdb.base/lineinc.exp: Likewise.
10783 * gdb.base/list.exp: Likewise.
10784 * gdb.base/logical.exp: Likewise.
10785 * gdb.base/long_long.exp: Likewise.
10786 * gdb.base/macscp.exp: Likewise.
10787 * gdb.base/maint.exp: Likewise.
10788 * gdb.base/mips_pro.exp: Likewise.
10789 * gdb.base/miscexprs.exp: Likewise.
10790 * gdb.base/multi-forks.exp: Likewise.
10791 * gdb.base/opaque.exp: Likewise.
10792 * gdb.base/overlays.exp: Likewise.
10793 * gdb.base/pc-fp.exp: Likewise.
10794 * gdb.base/pointers.exp: Likewise.
10795 * gdb.base/printcmds.exp: Likewise.
10796 * gdb.base/psymtab.exp: Likewise.
10797 * gdb.base/ptype.exp: Likewise.
10798 * gdb.base/recurse.exp: Likewise.
10799 * gdb.base/relational.exp: Likewise.
10800 * gdb.base/relocate.exp: Likewise.
10801 * gdb.base/remote.exp: Likewise.
10802 * gdb.base/reread.exp: Likewise.
10803 * gdb.base/restore.exp: Likewise.
10804 * gdb.base/return.exp: Likewise.
10805 * gdb.base/return2.exp: Likewise.
10806 * gdb.base/scope.exp: Likewise.
10807 * gdb.base/sect-cmd.exp: Likewise.
10808 * gdb.base/sep.exp: Likewise.
10809 * gdb.base/sepdebug.exp: Likewise.
10810 * gdb.base/setshow.exp: Likewise.
10811 * gdb.base/setvar.exp: Likewise.
10812 * gdb.base/sigall.exp: Likewise.
10813 * gdb.base/sigbpt.exp: Likewise.
10814 * gdb.base/signals.exp: Likewise.
10815 * gdb.base/signull.exp: Likewise.
10816 * gdb.base/sizeof.exp: Likewise.
10817 * gdb.base/solib.exp: Likewise.
10818 * gdb.base/step-line.exp: Likewise.
10819 * gdb.base/step-test.exp: Likewise.
10820 * gdb.base/structs.exp: Likewise.
10821 * gdb.base/structs2.exp: Likewise.
10822 * gdb.base/term.exp: Likewise.
10823 * gdb.base/twice.exp: Likewise.
10824 * gdb.base/until.exp: Likewise.
10825 * gdb.base/varargs.exp: Likewise.
10826 * gdb.base/volatile.exp: Likewise.
10827 * gdb.base/watchpoint.exp: Likewise.
10828 * gdb.base/whatis-exp.exp: Likewise.
10829 * gdb.base/whatis.exp: Likewise.
10830 * gdb.cp/ambiguous.exp: Likewise.
10831 * gdb.cp/annota2.exp: Likewise.
10832 * gdb.cp/annota3.exp: Likewise.
10833 * gdb.cp/bool.exp: Likewise.
10834 * gdb.cp/breakpoint.exp: Likewise.
10835 * gdb.cp/casts.exp: Likewise.
10836 * gdb.cp/class2.exp: Likewise.
10837 * gdb.cp/classes.exp: Likewise.
10838 * gdb.cp/cplusfuncs.exp: Likewise.
10839 * gdb.cp/ctti.exp: Likewise.
10840 * gdb.cp/derivation.exp: Likewise.
10841 * gdb.cp/exception.exp: Likewise.
10842 * gdb.cp/gdb1355.exp: Likewise.
10843 * gdb.cp/hang.exp: Likewise.
10844 * gdb.cp/inherit.exp: Likewise.
10845 * gdb.cp/local.exp: Likewise.
10846 * gdb.cp/m-data.exp: Likewise.
10847 * gdb.cp/m-static.exp: Likewise.
10848 * gdb.cp/member-ptr.exp: Likewise.
10849 * gdb.cp/method.exp: Likewise.
10850 * gdb.cp/misc.exp: Likewise.
10851 * gdb.cp/namespace.exp: Likewise.
10852 * gdb.cp/overload.exp: Likewise.
10853 * gdb.cp/ovldbreak.exp: Likewise.
10854 * gdb.cp/pr-1023.exp: Likewise.
10855 * gdb.cp/pr-1210.exp: Likewise.
10856 * gdb.cp/pr-574.exp: Likewise.
10857 * gdb.cp/printmethod.exp: Likewise.
10858 * gdb.cp/psmang.exp: Likewise.
10859 * gdb.cp/ref-params.exp: Likewise.
10860 * gdb.cp/ref-types.exp: Likewise.
10861 * gdb.cp/rtti.exp: Likewise.
10862 * gdb.cp/templates.exp: Likewise.
10863 * gdb.cp/try_catch.exp: Likewise.
10864 * gdb.cp/userdef.exp: Likewise.
10865 * gdb.cp/virtfunc.exp: Likewise.
10866 * gdb.disasm/am33.exp: Likewise.
10867 * gdb.disasm/h8300s.exp: Likewise.
10868 * gdb.disasm/mn10300.exp: Likewise.
10869 * gdb.disasm/sh3.exp: Likewise.
10870 * gdb.disasm/t01_mov.exp: Likewise.
10871 * gdb.disasm/t02_mova.exp: Likewise.
10872 * gdb.disasm/t03_add.exp: Likewise.
10873 * gdb.disasm/t04_sub.exp: Likewise.
10874 * gdb.disasm/t05_cmp.exp: Likewise.
10875 * gdb.disasm/t06_ari2.exp: Likewise.
10876 * gdb.disasm/t07_ari3.exp: Likewise.
10877 * gdb.disasm/t08_or.exp: Likewise.
10878 * gdb.disasm/t09_xor.exp: Likewise.
10879 * gdb.disasm/t10_and.exp: Likewise.
10880 * gdb.disasm/t11_logs.exp: Likewise.
10881 * gdb.disasm/t12_bit.exp: Likewise.
10882 * gdb.disasm/t13_otr.exp: Likewise.
10883 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
10884 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
10885 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
10886 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
10887 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
10888 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
10889 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
10890 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
10891 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
10892 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
10893 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
10894 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
10895 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
10896 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
10897 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
10898 * gdb.mi/gdb701.exp: Likewise.
10899 * gdb.mi/gdb792.exp: Likewise.
10900 * gdb.mi/mi-basics.exp: Likewise.
10901 * gdb.mi/mi-break.exp: Likewise.
10902 * gdb.mi/mi-cli.exp: Likewise.
10903 * gdb.mi/mi-console.exp: Likewise.
10904 * gdb.mi/mi-disassemble.exp: Likewise.
10905 * gdb.mi/mi-eval.exp: Likewise.
10906 * gdb.mi/mi-file.exp: Likewise.
10907 * gdb.mi/mi-read-memory.exp: Likewise.
10908 * gdb.mi/mi-regs.exp: Likewise.
10909 * gdb.mi/mi-return.exp: Likewise.
10910 * gdb.mi/mi-simplerun.exp: Likewise.
10911 * gdb.mi/mi-stack.exp: Likewise.
10912 * gdb.mi/mi-stepi.exp: Likewise.
10913 * gdb.mi/mi-syn-frame.exp: Likewise.
10914 * gdb.mi/mi-until.exp: Likewise.
10915 * gdb.mi/mi-var-block.exp: Likewise.
10916 * gdb.mi/mi-var-child.exp: Likewise.
10917 * gdb.mi/mi-var-cmd.exp: Likewise.
10918 * gdb.mi/mi-var-display.exp: Likewise.
10919 * gdb.mi/mi-watch.exp: Likewise.
10920 * gdb.mi/mi2-basics.exp: Likewise.
10921 * gdb.mi/mi2-break.exp: Likewise.
10922 * gdb.mi/mi2-cli.exp: Likewise.
10923 * gdb.mi/mi2-console.exp: Likewise.
10924 * gdb.mi/mi2-disassemble.exp: Likewise.
10925 * gdb.mi/mi2-eval.exp: Likewise.
10926 * gdb.mi/mi2-file.exp: Likewise.
10927 * gdb.mi/mi2-read-memory.exp: Likewise.
10928 * gdb.mi/mi2-regs.exp: Likewise.
10929 * gdb.mi/mi2-return.exp: Likewise.
10930 * gdb.mi/mi2-simplerun.exp: Likewise.
10931 * gdb.mi/mi2-stack.exp: Likewise.
10932 * gdb.mi/mi2-stepi.exp: Likewise.
10933 * gdb.mi/mi2-syn-frame.exp: Likewise.
10934 * gdb.mi/mi2-until.exp: Likewise.
10935 * gdb.mi/mi2-var-block.exp: Likewise.
10936 * gdb.mi/mi2-var-child.exp: Likewise.
10937 * gdb.mi/mi2-var-cmd.exp: Likewise.
10938 * gdb.mi/mi2-var-display.exp: Likewise.
10939 * gdb.mi/mi2-watch.exp: Likewise.
10940 * gdb.stabs/exclfwd.exp: Likewise.
10941 * gdb.stabs/weird.exp: Likewise.
10942 * gdb.threads/gcore-thread.exp: Likewise.
10943 * gdb.trace/actions.exp: Likewise.
10944 * gdb.trace/backtrace.exp: Likewise.
10945 * gdb.trace/circ.exp: Likewise.
10946 * gdb.trace/collection.exp: Likewise.
10947 * gdb.trace/deltrace.exp: Likewise.
10948 * gdb.trace/infotrace.exp: Likewise.
10949 * gdb.trace/limits.exp: Likewise.
10950 * gdb.trace/packetlen.exp: Likewise.
10951 * gdb.trace/passc-dyn.exp: Likewise.
10952 * gdb.trace/passcount.exp: Likewise.
10953 * gdb.trace/report.exp: Likewise.
10954 * gdb.trace/save-trace.exp: Likewise.
10955 * gdb.trace/tfind.exp: Likewise.
10956 * gdb.trace/tracecmd.exp: Likewise.
10957 * gdb.trace/while-dyn.exp: Likewise.
10958 * gdb.trace/while-stepping.exp: Likewise.
10959
f4b618d1
JB
109602006-08-08 Joel Brobecker <brobecker@adacore.com>
10961
10962 * gdb.base/step-bt.c: New file.
10963 * gdb.base/step-bt.exp: New testcase.
10964
3d00d119
DJ
109652006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
10966
10967 * config/monitor.exp (gdb_load): Remove support for obsolete
10968 download-write-size.
10969 * gdb.base/remote.exp: Likewise. Update all callers of
10970 gdb_timed_load.
10971
017b5bd4
DJ
109722006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
10973
10974 * cursal.exp: Pass binfile to gdb_load.
10975
837c599d
DJ
109762006-08-01 Nathan Sidwell <nathan@codesourcery.com>
10977
10978 * gdb.base/cursal.exp: Add "" to gdb_load call.
10979
8dd4540b
MK
109802006-07-29 Mark Kettenis <kettenis@gnu.org>
10981
10982 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
10983 NetBSD/ELF targets.
10984
ab5c9f60
DJ
109852006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
10986
10987 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
10988 operator*.
10989
4c42eaff
DJ
109902006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
10991
10992 * gdb.base/completion.exp: Update for change in "file" behavior.
10993 * gdb.stabs/weird.exp: Likewise.
10994 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
10995 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
10996
0155cc76
NS
109972006-07-24 Nathan Sidwell <nathan@codesourcery.com>
10998
10999 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
11000 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
11001
16026cd7
AS
110022006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
11003
11004 * gdb.base/default.exp: Update source command error message.
11005 * gdb.base/help.exp: Update 'help source' message.
11006
16963cb6
DJ
110072006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
11008
11009 * gdb.cp/bs15503.exp: Update comment for no longer crashing
11010 test.
11011
6d7fd486
AS
110122006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
11013
11014 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
11015
29e8a844
DJ
110162006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
11017
11018 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
11019
6afcfa39
DJ
110202006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
11021
11022 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
11023
267a692b
MK
110242006-07-17 Mark Kettenis <kettenis@gnu.org>
11025
11026 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
11027 *-*-openbsd* from targets for wich we expect ARM FPA floating
11028 point format.
11029
85d2fec4
NR
110302006-07-17 Nick Roberts <nickrob@snap.net.nz>
11031
11032 * gdb.cp/annota3.exp: Expect frame-begin annotation.
11033
110342006-07-17 Mark Kettenis <kettenis@gnu.org>
11035
11036 * gdb.base/annota3.exp: Expect frame-begin annotation.
11037
85b4c6e8
JB
110382006-07-14 Joel Brobecker <brobecker@adacore.com>
11039
11040 * gdb.base/help.exp: Adjust "help unset" test to accept
11041 any list of unset commands.
11042
fb933624
DJ
110432006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
11044 Daniel Jacobowitz <dan@codesourcery.com>
11045
11046 * gdb.cp/ref-params.exp: New test.
11047 * gdb.cp/ref-params.cc: New source file.
11048 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
11049
1dff4b64
MK
110502006-07-08 Mark Kettenis <kettenis@gnu.org>
11051
11052 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
11053 spaces/tabs in regular expressions since they might not be there.
11054
40d2e0e3
AS
110552006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
11056
11057 * gdb.base/ifelse.exp: New file.
11058
f6c957d2
NS
110592006-07-04 Nathan Sidwell <nathan@codesourcery.com>
11060
11061 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
11062 line.
11063 * gdb.base/huge.exp: Loop over compilation to find a size that
11064 is acceptable.
11065 * gdb.base/remote.exp: Correct expected strings.
11066 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
11067
b9c5a23d
DJ
110682006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
11069
11070 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
11071
9af2e58d
DJ
110722006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
11073
11074 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
11075 native.
11076
30930ca5
DJ
110772006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
11078
11079 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
11080 enable stabs testing.
11081
aa32fa1d
DJ
110822006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
11083
bd4a4c80 11084 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
11085 gdb_test_multiple does.
11086
321fef15
DJ
110872006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
11088
11089 * Makefile.in (host_alias): Remove.
11090 (target_alias): Use @target_noncanonical@.
11091 (site.exp): Don't set host_alias.
11092 * aclocal.m4: Remove contents. Include acx.m4.
11093 * configure: Regenerated.
11094 * configure.ac: Use ACX_NONCANONICAL_TARGET.
11095
e1c2defa
NS
110962006-06-13 Nathan Sidwell <nathan@codesourcery.com>
11097
e63b55d1
NS
11098 * lib/gdb.exp (gdb_load_cmd): New.
11099
5600ea19
NS
11100 * gdb.base/fileio.c: Add system(NULL) test.
11101 * gdb.base/fileio.exp: Check it.
11102
e1c2defa
NS
11103 * gdb.base/break.c: Add 10a breakpoint at }
11104 * gdb.base/break.exp: Add test for breakpoint at }
11105 * gdb.cp/anon-union.cc: Add code at end of function.
11106 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
11107 * gdb.mi/var-cmd.c: Add code at end of function.
11108 * gdb.mi/mi-var-display.exp: Adjust end of next.
11109 * gdb.mi/mi2-var-display.exp: Likewise.
11110 * gdb.base/fileio.c: Add stop function and insert calls at
11111 stopping places.
11112 * gdb.base/fileio.exp: Breakpoint stop function and remove
11113 explicit line number references.
11114
6c0112ec
JB
111152006-05-19 Joel Brobecker <brobecker@adacore.com>
11116
a9c64011
AS
11117 * gdb.base/del.exp (test_delete_alias): New function.
11118 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 11119
154189a4
FF
111202006-05-18 Fred Fish <fnf@specifix.com>
11121
11122 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
11123 required. Check for spurious output after program exits normally.
11124
582e64c2
FF
111252006-05-17 Fred Fish <fnf@specifix.com>
11126
11127 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
11128 gdb_load, so it works in the simulator.
11129
8ef6493a
FF
111302006-05-11 Fred Fish <fnf@specifix.com>
11131
11132 * gdb.base/bang.exp: Ignore unexpected output between the
11133 "program exited normally" and the gdb prompt, as many other
11134 tests do.
11135
692b141c
MK
111362006-05-07 Mark Kettenis <kettenis@gnu.org>
11137
11138 * gdb.base/help.exp: Make "delete checkpoint" part option for
11139 "help d" and "help delete" tests.
11140
540b8a30
UW
111412006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11142
a9c64011 11143 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
11144 expected output in some mi_gdb_test statements.
11145 * gdb.mi/mi2-basics.exp: Likewise.
11146
9b6462d9
JB
111472006-05-05 Joel Brobecker <brobecker@adacore.com>
11148
11149 * gdb.base/del.c: New file.
11150 * gdb.base/del.exp: New testcase.
11151
954de43b
DM
111522006-05-05 David S. Miller <davem@sunset.davemloft.net>
11153
11154 * gdb.base/break.exp: Do not assume a breakpoint on
11155 main will actually be in $srcfile when optimizing.
1303f75e
DM
11156 * gdb.base/savedregs.exp: Do not require that the dummy
11157 frame location match up to a symbol and source file location.
c3242428
DM
11158 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
11159 will get printed without a mi_cmd_data_list_register_values prefix.
11160 (*-data-list-register-*): Correct regular expressions to expect the new
11161 pseudo d? floating point registers.
11162 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 11163
c7e64c9a
DJ
111642006-05-05 Christophe Lyon <christophe.lyon@st.com>
11165
11166 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
11167 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
11168 is allocated by the compiler.
11169 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
11170 anons, e, anone to force their allocation by the compiler.
11171
111722006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
11173
11174 * gdb.base/help.exp: Update expected text for help d and
11175 help delete.
11176
27ce9a6d
MK
111772006-05-02 Mark Kettenis <kettenis@gnu.org>
11178
11179 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
11180 NetBSD/ELF targets.
11181
8608915f
MK
111822006-04-30 Mark Kettenis <kettenis@gnu.org>
11183
11184 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
11185 single-step breakpoint fails; make this a KFAIL on
11186 sparc*-*-openbsd*.
11187 * gdb.base/siginfo.exp: Likewise.
11188 * gdb.base/sigstep.exp (advance, advancei): Likewise.
11189
b8db102d
MS
111902006-04-26 Michael Snyder <msnyder@redhat.com>
11191
11192 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
11193 which may have to consume output from other forks.
11194 Add tests to make sure that "delete fork" succeeded.
11195
c702009a
MS
111962006-04-20 Michael Snyder <msnyder@redhat.com>
11197
11198 * 2006-03-22 Jim Blandy <jimb@redhat.com>
11199 Add support for the Renesas M32C and M16C.
11200
11201 * gdb.asm/asm-source.exp: Add m32c target.
11202 * gdb.asm/m32c.inc: Support for m32c target.
11203
e28493f2
AS
112042006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
11205
11206 * gdb.base/commands.exp (recursive_source_test): New test.
11207
880da185
DM
112082006-04-04 David S. Miller <davem@sunset.davemloft.net>
11209
11210 * gdb.base/float.exp: Add pattern for sparc targets.
11211
61d9b92f
DJ
112122006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
11213
11214 * gdb.base/commands.exp (stray_arg0_test): New test.
11215
bd717df8
PB
112162006-03-30 Paul Brook <paul@codesourcery.com>
11217
11218 * gdb.mi/mi-until.exp: kfail broken until command.
11219 * gdb.mi/mi2-until.exp: Ditto.
11220
ec793d3c
NR
112212006-03-27 Nick Roberts <nickrob@snap.net.nz>
11222
11223 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
11224
831004b7
AO
112252006-03-08 Alexandre Oliva <aoliva@redhat.com>
11226
11227 * gdb.base/prelink.exp: Anchor tested-for regular expression
11228 on gdb prompt.
11229
effe49a0
PB
112302006-03-07 Paul Brook <paul@codesourcery.com>
11231
11232 * gdb.base/assign.exp: Correct fail message.
11233
e5461016
PB
112342006-03-07 Paul Brook <paul@codesourcery.com>
11235
11236 * lib/compiler.c: Extract armcc version number.
11237 * lib/compiler.cc: Ditto.
11238
fc91c6c2
PB
112392006-03-07 Paul Brook <paul@codesourcery.com>
11240
11241 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
11242 additional_flags=-w.
11243 * gdb.arch/altivec-regs.exp: Ditto.
11244 * gdb.arch/e500-abi.exp: Ditto.
11245 * gdb.arch/e500-regs.exp: Ditto.
11246 * gdb.base/all-bin.exp: Ditto.
11247 * gdb.base/annota1.exp: Ditto.
11248 * gdb.base/annota3.exp: Ditto.
11249 * gdb.base/args.exp: Ditto.
11250 * gdb.base/arithmet.exp: Ditto.
11251 * gdb.base/assign.exp: Ditto.
11252 * gdb.base/async.exp: Ditto.
11253 * gdb.base/bang.exp: Ditto.
11254 * gdb.base/break.exp: Ditto.
11255 * gdb.base/call-rt-st.exp: Ditto.
11256 * gdb.base/completion.exp: Ditto.
11257 * gdb.base/cond-expr.exp: Ditto.
11258 * gdb.base/condbreak.exp: Ditto.
11259 * gdb.base/consecutive.exp: Ditto.
11260 * gdb.base/define.exp: Ditto.
11261 * gdb.base/display.exp: Ditto.
11262 * gdb.base/ena-dis-br.exp: Ditto.
11263 * gdb.base/environ.exp: Ditto.
11264 * gdb.base/eval-skip.exp: Ditto.
11265 * gdb.base/info-proc.exp: Ditto.
11266 * gdb.base/jump.exp: Ditto.
11267 * gdb.base/logical.exp: Ditto.
11268 * gdb.base/long_long.exp: Ditto.
11269 * gdb.base/maint.exp: Ditto.
11270 * gdb.base/miscexprs.exp: Ditto.
11271 * gdb.base/pc-fp.exp: Ditto.
11272 * gdb.base/pointers.exp: Ditto.
11273 * gdb.base/relational.exp: Ditto.
11274 * gdb.base/reread.exp: Ditto.
11275 * gdb.base/sect-cmd.exp: Ditto.
11276 * gdb.base/sep.exp: Ditto.
11277 * gdb.base/sepdebug.exp: Ditto.
11278 * gdb.base/until.exp: Ditto.
11279 * gdb.base/whatis-exp.exp: Ditto.
11280 * gdb.cp/annota2.exp: Ditto.
11281 * gdb.cp/annota3.exp: Ditto.
11282 * gdb.trace/actions.exp: Ditto.
11283 * gdb.trace/backtrace.exp: Ditto.
11284 * gdb.trace/circ.exp: Ditto.
11285 * gdb.trace/collection.exp: Ditto.
11286 * gdb.trace/deltrace.exp: Ditto.
11287 * gdb.trace/infotrace.exp: Ditto.
11288 * gdb.trace/limits.exp: Ditto.
11289 * gdb.trace/packetlen.exp: Ditto.
11290 * gdb.trace/passc-dyn.exp: Ditto.
11291 * gdb.trace/passcount.exp: Ditto.
11292 * gdb.trace/report.exp: Ditto.
11293 * gdb.trace/save-trace.exp: Ditto.
11294 * gdb.trace/tfind.exp: Ditto.
11295 * gdb.trace/tracecmd.exp: Ditto.
11296 * gdb.trace/while-dyn.exp: Ditto.
11297 * gdb.trace/while-stepping.exp: Ditto.
11298 * lib/gdb.exp: Ditto.
11299 (gdb_compile): Handle nowarning option.
11300
5f4a23d9
AO
113012006-03-07 Alexandre Oliva <aoliva@redhat.com>
11302
11303 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
11304 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
11305 Rename executable to prelinkt. Don't re-prelink if we didn't
11306 get a core file. Test prelink -u exit status to tell whether
11307 prelinking failed. Use gdb_test_multiple.
11308
9733fc94
DJ
113092006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
11310
11311 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
11312 (do_tests): Call it.
11313
cc10cae3
AO
113142006-02-28 Alexandre Oliva <aoliva@redhat.com>
11315
11316 * gdb.base/prelink.exp: New test.
11317 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
11318
15c46491
WZ
113192006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
11320
11321 * gdb.fortran/derived-type.f90: New file.
11322 * gdb.fortran/derived-type.exp: New testcase.
11323
5c9f7ded
DJ
113242006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
11325
11326 * gdb.base/default.exp: Allow ';' as a directory separator.
11327
5b96932b
AS
113282006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
11329
11330 * gdb.base/help.exp (help add-symbol-file): Update.
11331
1986bccd
AS
113322006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
11333
11334 * gdb.base/help.exp (help load): Update expected results.
11335
a8b7528f
FF
113362006-02-19 Fred Fish <fnf@specifix.com>
11337
11338 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
11339 specifix hex value as part of results.
11340 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 11341
f8261448
FF
113422006-02-16 Fred Fish <fnf@specifix.com>
11343
11344 * gdb.base/whatis.c: Define variables using typedefs char_addr,
11345 ushort_addr, and slong_addr, so the typedefs are not optimized
11346 away.
11347 * gdb.base/whatis.exp: Add tests using type name for struct type,
11348 union type, enum type, and typedef.
a9c64011 11349
31d8bdd2
MK
113502006-02-13 Mark Kettenis <kettenis@gnu.org>
11351
11352 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
11353
34e41e63
JB
113542006-02-13 Jim Blandy <jimb@redhat.com>
11355
11356 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
11357 case where it takes two "next" commands to skip past the init
11358 call.
11359
ac6e4f31
FF
113602006-02-12 Fred Fish <fnf@specifix.com>
11361
11362 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
11363 to handle cases where it takes two "next" commands to skip
11364 past the init call.
11365
2db2d571
JB
113662006-02-07 Joel Brobecker <brobecker@adacore.com>
11367
11368 * gdb.ada/array_return.exp: Mark the last test as expected to fail
11369 on hppa32 targets.
11370
38fcd64c
DJ
113712006-02-06 Vladimir Prus <ghost@cs.msu.su>
11372
11373 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
11374 field.
11375
1315ad46
MK
113762006-01-29 Mark Kettenis <kettenis@gnu.org>
11377
11378 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
11379
5625b943
DJ
113802006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
11381
11382 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
11383 files.
11384
80df1bbe
DJ
113852006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
11386
11387 * gdb.cp/maint.exp: Set complaints to a positive value.
11388
9078e690
DJ
113892006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
11390
11391 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
11392 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
11393 function name.
11394
9c903399
DJ
113952006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
11396
11397 * gdb.base/checkpoint.c: Update copyright notice. Include
11398 <stdlib.h>.
11399
761ae4d6
JB
114002006-01-04 Jim Blandy <jimb@redhat.com>
11401
11402 * gdb.asm/asm-source.exp: Independently provide default values for
11403 asm-flags and debug-flags. Use 'string equal' to do the
11404 comparison, not the implicit expr's '==' operator. Remove
11405 now-unneeded assignments to asm-flags. In h8300 case, place
11406 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
11407
099ac3dd
MS
114082006-01-04 Michael Snyder <msnyder@redhat.com>
11409
11410 * gdb.base/checkpoint.c: New file.
11411 * gdb.base/checkpoint.exp: New file.
11412 * gdb.base/multi-fork.c: New file.
11413 * gdb.base/multi-fork.exp: New file.
11414 * gdb.base/pi.txt: New file (data for checkpoint.c test).
11415
f4d85314
FF
114162006-01-04 Fred Fish <fnf@specifix.com>
11417
11418 * gdb.base/ptype.c (foo): Add typedef.
11419 (intfoo): Add function.
11420 * gdb.base/ptype1.c: New file.
11421 * gdb.base/ptype.exp: Handle compilation and linking with two
11422 source files. Test that proper type for "foo" is found based
11423 on source context rather than first match found in symtabs.
11424
a1b06f35
MK
114252005-12-28 Mark Kettenis <kettenis@gnu.org>
11426
11427 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
11428 * gdb.asm/openbsd.inc: Indent commands.
11429
d082a1e2
MK
114302005-12-26 Mark Kettenis <kettenis@gnu.org>
11431
c65016bd
MK
11432 * gdb.base/freebpcmd.exp: Increase timeout.
11433
d082a1e2
MK
11434 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
11435
d3c32a0e
DJ
114362005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
11437
11438 * gdb.base/default.exp: Update check for "show version".
11439
9fdb1f50
RC
114402005-12-09 Randolph Chung <tausq@debian.org>
11441
11442 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
11443 * gdb.asm/pa64.inc: New file.
11444
5f2c56f7
RC
114452005-12-09 Randolph Chung <tausq@debian.org>
11446
11447 * gdb.asm/common.inc: Indent commands.
11448 * gdb.asm/asmsrc1.s: Likewise.
11449 * gdb.asm/asmsrc2.s: Likewise.
11450
8117349c
RC
114512005-12-09 Randolph Chung <tausq@debian.org>
11452
11453 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
11454 (get_addr_of_sym): Remove duplicate print.
11455 (gen_core): xfail hppa*-*-hpux*, update expected output.
11456 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
11457 * gdb.arch/pa64-nullify.s: New file.
11458
8f07f25a
RC
114592005-12-09 Randolph Chung <tausq@debian.org>
11460
11461 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
11462
55b39184
DJ
114632005-12-07 Christophe Lyon <christophe.lyon@st.com>
11464
11465 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
11466 code generation for these functions.
11467 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
11468 error message.
11469
31e2b00f
AS
114702005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
11471
11472 * gdb.base/help.exp (help b, help br, help bre, help brea)
11473 (help break): Update the expected message.
11474
c3d0b56e
SC
114752005-11-11 Stephane Carrez <stcarrez@nerim.fr>
11476
11477 * gdb.asm/m68hc11.inc: Setup the data section.
11478 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
11479 script for this test.
11480 (m6812-*-*): Likewise.
11481
36ae0ea9
RC
114822005-11-09 Randolph Chung <tausq@debian.org>
11483
11484 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
11485
9d6f42e9
WZ
114862005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
11487
11488 * gdb.base/break.exp: Fix a comment typo.
11489
e2126a14
EZ
114902005-11-03 Jim Blandy <jimb@redhat.com>
11491
a9c64011
AS
11492 Checked in by Elena Zannoni <ezannoni@redhat.com>
11493
889bf7c5 11494 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
e2126a14 11495
e0ac7199
CV
114962005-11-02 Corinna Vinschen <vinschen@redhat.com>
11497
11498 * gdb.arch/gdb1558.c: Include stdio.h.
11499
31d3fb18
MK
115002005-10-31 Mark Kettenis <kettenis@gnu.org>
11501
11502 * gdb.asm/asm-source.exp: Use -e instead of --entry.
11503
e52b687c
MK
115042005-10-31 Mark Kettenis <kettenis@gnu.org>
11505
11506 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
11507
f4711d79
PG
115082005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
11509
a9c64011
AS
11510 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
11511 vscr" tests to better match output.
f4711d79 11512
987a9106
JB
115132005-10-12 Jim Blandy <jimb@redhat.com>
11514
11515 * gdb.base/structs.exp (any): New function.
11516 (test_struct_returns): Don't make any assumptions at all about
11517 what value the function returns when GDB can't set the return
11518 value.
11519
2336bb58
JB
115202005-10-09 Joel Brobecker <brobecker@adacore.com>
11521
11522 * gdb.ada/arrayidx/p.adb: New file.
11523 * gdb.ada/arrayidx.exp: New testcase
11524
115252005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
11526
11527 * gdb.ada/array_return/pck.ads: New file.
11528 * gdb.ada/array_return/pck.adb: New file.
11529 * gdb.ada/array_return/p.adb: New file.
11530 * gdb.ada/array_return.exp: New testcase.
11531
705335ea
JB
115322005-10-03 Joel Brobecker <brobecker@adacore.com>
11533
a9c64011
AS
11534 * gdb.base/arrayidx.c: New file.
11535 * gdb.base/arrayidx.exp: New testcase.
705335ea 11536
11ee9940
NR
115372005-09-29 Nick Roberts <nickrob@snap.net.nz>
11538
11539 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
11540 frames-invalid and breakpoints-invalid are no longer generated
11541 with level 3 so don't expect them in the output.
11542
39fb8e9e
BR
115432005-09-27 Bob Rossi <bob@brasko.net>
11544
a9c64011 11545 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
11546 from test. Escape the | in mi_gdb_test call.
11547 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
11548 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
11549 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
11550 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
11551 expected regex's in mi_gdb_test calls.
11552 * lib/mi-support.exp: Remove arbitrary .* from tests.
11553 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
11554 Fully anchor GDB/MI expected results in mi_gdb_test.
11555 * lib/gdb.exp (string_to_regexp): Escape the ] character.
11556 * gdb.base/sizeof.exp: Remove escape character. Correct test.
11557
2af48f68
PB
115582005-09-26 Paul Brook <paul@codesourcery.com>
11559
11560 * long_long.exp: Exclude eabi targets from arm FPA float format test.
11561
f34502bc
WZ
115622005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
11563
11564 * bfp-test.c: New file.
11565 * bfp-test.exp: New testcase.
11566
ca929517
WZ
115672005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
11568
11569 * gdb.fortran/subarray.exp: New testcase to test the evaluation
11570 of subarray and substring variable.
11571 * gdb.fortran/subarray.f: New source file for the test of subarray
11572 and substring variable evaluation.
11573 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
11574 of string constant.
11575
c761af65
DJ
115762005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
11577
11578 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
11579 copyright dates.
11580
561d7a1d
PG
115812005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
11582
11583 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
11584 powerpc altivec' test with an almost identical 'info vector' test.
11585
b2b64cc9
PG
115862005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
11587
a9c64011
AS
11588 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
11589 vscr" tests to match output.
b2b64cc9 11590
6ac4d15a
PG
115912005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
11592
a9c64011
AS
11593 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
11594 output.
6ac4d15a 11595
40e55bef
BR
115962005-09-11 Bob Rossi <bob@brasko.net>
11597
889bf7c5
PA
11598 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
11599 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
11600 commands that return an MI output command and an asyncronous MI output
11601 command.
40e55bef
BR
11602 * gdb.mi/mi-console.exp: Ditto.
11603
3c7385ec
BR
116042005-09-11 Bob Rossi <bob@brasko.net>
11605
11606 * gdb.mi/mi-var-child.c: Include <string.h>.
11607
a6cd0eb3
DJ
116082005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
11609
11610 * killed.exp: Correct gdb_expect syntax.
11611
2f168eed
CV
116122005-08-09 Corinna Vinschen <vinschen@redhat.com>
11613
11614 * lib/mi-support.exp (mi_gdb_load): Fix typo.
11615
ecd3fd0f
BR
116162005-08-02 Bob Rossi <bob@brasko.net>
11617
11618 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
11619 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
11620 Change tests to inferior-tty-set/show.
11621 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
11622 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
11623 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
11624 inferior. Use mi_gdb_test to get GDB and Inferior output.
11625 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
11626 descriptor.
11627 (mi_inferior_tty_name): Add inferior PTY file name.
11628 (mi_gdb_start): Add INFERIOR_PTY parameter.
11629 (mi_gdb_test): Add IPATTERN parameter.
11630
f1ea48cb 116312005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 11632
f1ea48cb
BR
11633 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
11634 parameter to mi_gdb_test.
11635 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
11636
6e650a67
DJ
116372005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
11638
11639 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
11640 struct_declarations.
11641 * gdb.mi/mi-var-child.exp: Step over the initialization of
11642 struct_declarations.
11643
8be260b6
DJ
116442005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
11645
11646 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
11647 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
11648 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
11649 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
11650 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
11651 file.
11652
4e660f07
NR
116532005-07-27 Nick Roberts <nickrob@snap.net.nz>
11654
11655 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
11656 (do_children_tests): Assign values to the extra elements.
11657
11658 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
11659 them for tests for "-var-update --no-values" and
a9c64011 11660 "-var-update --all-values".
4e660f07
NR
11661 Add test for "-var-list-children --simple-values".
11662
11663 * gdb.mi/basics.c (callee4): Add integer array D[3]...
11664
11665 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
11666 "-stack-list-locals --simple-values" Improve doc strings and
11667 comments.
11668
6bdae935
MK
116692005-07-18 Mark Kettenis <kettenis@gnu.org>
11670
598b7a6f
MK
11671 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
11672 *-*-openbsd*.
11673 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
11674
6bdae935
MK
11675 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
11676 sigaltsatck'.
11677
1323e929 116782005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 11679
1323e929
BR
11680 * gdb.base/default.exp (tty): Changed output of command.
11681 * gdb.base/help.exp (help tty): Ditto.
11682
b1a9c082
MK
116832005-07-12 Mark Kettenis <kettenis@gnu.org>
11684
11685 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
11686
10a844a2
MK
116872005-07-10 Mark Kettenis <kettenis@gnu.org>
11688
11689 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
11690 -stack-select-frame without arguments.
11691 (test_stack_frame_listing): Add test for newly implemented command
11692 -stack-info-frame.
11693
3cb3b8df
BR
116942005-07-06 Bob Rossi <bob@brasko.net>
11695
11696 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
11697 command.
11698 (Copyright): Update copyright.
11699
a0c5fbcf
WZ
117002005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
11701
11702 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
11703 tests to evaluate exponentiation expression.
11704
984971d0
AS
117052005-06-29 Andreas Schwab <schwab@suse.de>
11706
11707 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
11708 main to avoid warnings.
11709
11710 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
11711
fe03833f
NR
117122005-06-20 Nick Roberts <nickrob@snap.net.nz>
11713
11714 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
11715 -stack-select-frame without arguments.
11716 (test_stack_frame_listing): Add test for newly implemented command
11717 -stack-info-frame.
a9c64011 11718
7a55f279
WZ
117192005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
11720
0ffa0ea5
DJ
11721 * gdb.fortran/array-element.f: New file.
11722 * gdb.fortran/array-element.exp: New testcase.
7a55f279 11723
26585198
DJ
117242005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
11725
11726 * gdb.base/bigcore.exp: Correct checks for systems which can
11727 not dump a large core file.
11728
c1bd25fd
DJ
117292005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
11730
11731 * gdb.base/relocate.c: Add a copyright notice.
11732 (dummy): Remove.
11733 * gdb.base/relocate.exp: Test printing the values of variables
11734 from a relocatable file.
11735
589e074d
DJ
117362005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
11737
11738 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
11739 excess MI output after an error.
11740
0915f927
JB
117412005-05-29 Joel Brobecker <brobecker@adacore.com>
11742
11743 * gdb.arch/alpha-step.c: New file.
11744 * gdb.arch/alpha-step.exp: New testcase.
11745
76ff342d
DJ
117462005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
11747 Dennis Brueni <dennis@slickedit.com>
11748
11749 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
11750 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
11751 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
11752 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
11753 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
11754 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
11755 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
11756
96b0c7ac
DJ
117572005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
11758 Wu Zhou <woodzltc@cn.ibm.com>
11759
11760 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
11761 IBM's xlc compiler.
11762 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
11763 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
11764
f21565d2
JB
117652005-05-13 Jim Blandy <jimb@redhat.com>
11766
11767 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
11768 calling gdb_suppress_entire_file.
11769 * gdb.base/charset.exp: Same.
11770 * gdb.base/call-rt-st.exp: Same.
11771
6006a3a1
BR
117722005-05-05 Bob Rossi <bob_rossi@cox.net>
11773
11774 * lib/gdb.exp (fullname_syntax): Added global regex.
11775 (fullname_syntax_POSIX): Ditto.
11776 (fullname_syntax_UNC): Ditto.
11777 (fullname_syntax_DOS_CASE): Ditto.
11778 (fullname_syntax_DOS): Ditto.
11779 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
11780 fullname_syntax variable to scope and use it.
11781 (test_file_list_exec_source_files): Ditto.
11782 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
11783
c3b69c04
DJ
117842005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
11785
11786 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
11787
3c95e6af
PG
117882004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
11789
a9c64011
AS
11790 * lib/gdb.exp (skip_altivec_tests): New function, based on
11791 check_vmx_hw_available from the GCC testsuite.
11792 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
11793 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 11794
78df6c56
JB
117952005-05-02 Jim Blandy <jimb@redhat.com>
11796
11797 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
11798 calling gdb_suppress_entire_file.
11799
1690f9cf
DJ
118002005-04-30 Randolph Chung <tausq@debian.org>
11801
11802 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
11803 Slightly relax "sem_post" name checking.
11804
5ea106f7
PG
118052005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
11806
11807 * gdb.base/unload.exp: Use new shared library infrastructure.
11808
bf7234cf
PG
118092005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
11810
11811 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 11812 infrastructure.
bf7234cf 11813
547b869a
CV
118142005-04-29 Corinna Vinschen <vinschen@redhat.com>
11815
11816 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
11817 * gdb.asm/h8300.inc: New file.
11818
f07e55f0
PG
118192005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
11820
11821 * gdb.base/shlib-call.exp: Change to use new shared library
11822 infrastructure.
11823
3cbba3d1
PG
118242005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
11825
a9c64011
AS
11826 * gdb.base/pending.exp: Change to use new shared library
11827 infrastructure.
3cbba3d1 11828
ed6df200
PG
118292005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
11830
a9c64011
AS
11831 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
11832 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 11833
8c8f4ebe
PG
118342005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
11835
a9c64011
AS
11836 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
11837 shared objects being adjusted and update copyright years.
8c8f4ebe 11838
607fbc54
DJ
118392005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
11840
11841 * ChangeLog: Correct some 2003-01-13 dates.
11842 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
11843 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
11844 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
11845 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
11846 gdb.trace/tfind.exp: Update copyright years.
11847
57bf0e56
DJ
118482005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
11849 Daniel Jacobowitz <dan@codesourcery.com>
11850
11851 * lib/gdb.exp (gdb_compile): Handle shlib=.
11852 (gdb_compile_shlib): New function.
11853
9b593790
PG
118542005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
11855
a9c64011 11856 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 11857
9494c6a5
DJ
118582005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
11859
11860 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
11861 gdb.server.
11862 * configure.ac: Likewise.
11863 * configure: Regenerated.
11864 * gdb.gdbserver/Makefile.in: Moved to...
11865 * gdb.server/Makefile.in: ... here.
11866 * gdb.gdbserver/server.c: Moved to...
11867 * gdb.server/server.c: ... here.
11868 * gdb.gdbserver/server-run.exp: Moved to...
11869 * gdb.server/server-run.exp: ... here.
11870
6f8eac0e
DJ
118712005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
11872
11873 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
11874 * configure.ac: Create gdb.gdbserver/Makefile.
11875 * configure: Regenerated.
11876 * lib/gdbserver-support.exp: New file, derived from
11877 config/gdbserver.exp.
11878 * config/gdbserver.exp: Use gdbserver-support.exp.
11879 * gdb.gdbserver/Makefile.in: New file.
11880 * gdb.gdbserver/server.c: New file.
11881 * gdb.gdbserver/server-run.exp: New file.
11882
6e87504d
PG
118832005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
11884
a9c64011
AS
11885 * lib/gdb.exp (test_compiler_info): Return compiler_info
11886 if no arguments are given.
6e87504d 11887
d1779be4
PG
118882005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
11889
11890 * gdb.arch/altivec-abi.exp: Check for compiler and set
11891 use altivec' flag accordingly.
11892 * gdb.arch/altivec-regs.exp: Likewise.
11893
88750304
DJ
118942005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
11895
11896 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
11897
f3fb768d
AS
118982005-03-27 Andreas Schwab <schwab@suse.de>
11899
11900 * gdb.base/bigcore.c (main): Add missing mode argument in open
11901 call.
11902
7e813ac5
DJ
119032005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
11904
11905 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
11906 downloads.
11907 * config/gdbserver.exp (gdb_load): Likewise.
11908
8e3049aa
PB
119092005-03-14 Paul Brook <paul@codesourcery.com>
11910
11911 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
11912 targets.
11913
a9df7c44
JB
119142005-03-09 Joel Brobecker <brobecker@adacore.com>
11915
11916 * gdb.dwarf2/dup-psym.S: New file.
11917 * gdb.dwarf2/dup-psym.exp: New testcase.
11918
9f0d94e8
JB
119192005-03-09 Joel Brobecker <brobecker@adacore.com>
11920
11921 * gdb.ada/exec_changed/first.adb: New file.
11922 * gdb.ada/exec_changed/second.adb: New file.
11923 * gdb.ada/exec_changed.exp: New testcase.
11924
5f579bc5
NS
119252005-03-08 Nathan Sidwell <nathan@codesourcery.com>
11926
36e9969c
NS
11927 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
11928 (A2): New class.
11929 (main): Test operator+.
11930 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
11931 breakpoint test.
11932
5f579bc5
NS
11933 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
11934 * gdb.base/signull.exp: Disable if gdb,nosignals.
11935 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
11936 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
11937 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
11938 * gdb.mi/mi2-console.exp: Likewise.
11939 * gdb.trace/collection.exp (run_trace_experiment): Consume the
11940 continue output at start.
11941 (gdb_collect_locals_test): Robustify regexp.
11942 * gdb.trace/passc-dyn.exp: Fix comment typo.
11943 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
11944
be46087e
CV
119452005-03-08 Corinna Vinschen <vinschen@redhat.com>
11946
11947 * gdb.asm/asm-source.exp: Add iq2000 case.
11948 * gdb.asm/iq2000.inc: New file.
11949
384e1a61 119502005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 11951
384e1a61
MI
11952 * gdb.base/command.exp: Change hardcoded value to regular expression.
11953 * gdb.base/float.exp: Add powerpc to the list of targets checked.
11954
584b6e9e
DJ
119552005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
11956
11957 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
11958 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
11959 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
11960 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
11961 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
11962
ab5b5d61
MK
119632005-03-05 Mark Kettenis <kettenis@gnu.org>
11964
11965 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
11966 changes.
11967
ae051c1b
PG
119682004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
11969
a9c64011
AS
11970 * lib/compiler.c: Add test for IBM's xlc compiler.
11971 * lib/compiler.cc: Likewise.
ae051c1b 11972
3f0f6ed2
JB
119732004-02-24 Joel Brobecker <brobecker@adacore.com>
11974
11975 * gdb.ada/fixed_points.exp: Create compilation object directory
11976 before running the test.
11977 * gdb.ada/null_record.exp: Likewise.
11978 * gdb.ada/packed_array.exp: Likewise.
11979 * gdb.ada/start.exp: Likewise.
11980
724f452b
JB
119812005-02-15 Joel Brobecker <brobecker@adacore.com>
11982
11983 * gdb.ada/packed_array/pa.adb: New file.
11984 * gdb.ada/packed_array.exp: New testcase.
11985
57f5cdfb 119862005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 11987
1f393151
MK
11988 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
11989 files.
11990
ebdda337
MK
11991 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
11992 on *-*-openbsd*. Correctly match whitespace in regukar
11993 expressions.
11994
cf309262
DJ
119952005-02-10 Daniel Jacobowitz <dan@debian.org>
11996
11997 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
11998 PR exp/1821
11999 * gdb.base/gdb1821.c: New test file.
12000 * gdb.base/gdb1821.exp: New test file.
12001
3be49e7a
JB
120022005-02-09 Joel Brobecker <brobecker@adacore.com>
12003
12004 * gdb.base/start.c: New file.
12005 * gdb.base/start.exp: New testcase.
12006
e292e67d
JB
120072005-02-09 Joel Brobecker <brobecker@adacore.com>
12008
12009 * gdb.ada/start/dummy.adb: New file.
12010 * gdb.ada/start.exp: New testcase.
12011
dbdfa66c
CV
120122005-02-09 Corinna Vinschen <vinschen@redhat.com>
12013
12014 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
12015 for printing symbols and statistics.
12016 Add test for using relative pathnames in "maint print msymbols" test.
12017 Mark "maint info sections DATA" XFAIL on Cygwin.
12018 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
12019 tests.
12020
d7941671
AC
120212005-02-09 Andreas Schwab <schwab@suse.de>
12022
12023 Committed by Andrew Cagney <cagney@gnu.org>
12024 * gdb.base/remotetimeout.exp: New file.
12025
74e5ef44
MK
120262005-02-07 Mark Kettenis <kettenis@gnu.org>
12027
12028 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
12029
464dd14d
JB
120302005-02-03 Joel Brobecker <brobecker@adacore.com>
12031
12032 * gdb.ada/gnat_ada.gpr: New file.
12033 * gdb.ada/gnat_ada.gin: Delete, no longer used.
12034 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
12035 * configure.ac: No longer generate gnat_ada.gpr.
12036 * configure: Regenerate.
12037 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
12038 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
12039 * gdb.ada/null_record/bar.ads: Likewise.
12040 * gdb.ada/null_record/bar.adb: Likewise.
12041 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
12042 * gdb.ada/null_record.exp (testdir): New variable.
12043 (testfile): executable is now in testdir subdirectory.
12044 (srcfile): Use full path to the main compilation unit.
12045 * gdb.ada/fixed_points.exp: Same changes as above.
12046
30d756ae
NR
120472005-02-03 Nick Roberts <nickrob@snap.net.nz>
12048
12049 * gdb.base/interp.exp: New test.
12050
9d799f85
AC
120512005-01-24 Andrew Cagney <cagney@gnu.org>
12052
12053 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
12054
15656118
AC
120552005-01-19 Andrew Cagney <cagney@gnu.org>
12056
a892c31b
AC
12057 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
12058 configure.ac not configure.in.
12059
15656118
AC
12060 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
12061 of powerpc*-*-*.
12062 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 12063 * gdb.base/list.exp (test_list_function)
15656118
AC
12064 (test_list_filename_and_function): Ditto.
12065 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
12066
a7b01baf
AC
120672005-01-16 Andrew Cagney <cagney@gnu.org>
12068
17d92a02
AC
12069 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
12070
a7b01baf
AC
12071 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
12072
bc8332bb
AC
120732005-01-14 Andrew Cagney <cagney@gnu.org>
12074
12075 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
12076 * gdb.mi/mi2-var-cmd.exp: Ditto.
12077
4d074752
CV
120782005-01-10 Corinna Vinschen <vinschen@redhat.com>
12079
12080 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
12081
bec39cab
AC
120822005-01-07 Andrew Cagney <cagney@gnu.org>
12083
12084 * configure.ac: Rename configure.in, require autoconf 2.59.
12085 * configure: Re-generate.
12086 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
12087 * gdb.stabs/configure: Re-generate.
12088 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
12089 * gdb.hp/configure: Re-generate.
12090 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
12091 autoconf 2.59.
12092 * gdb.hp/gdb.objdbg/configure: Re-generate.
12093 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
12094 autoconf 2.59.
12095 * gdb.hp/gdb.defects/configure: Re-generate.
12096 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
12097 autoconf 2.59.
12098 * gdb.hp/gdb.compat/configure: Re-generate.
12099 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
12100 autoconf 2.59.
12101 * gdb.hp/gdb.base-hp/configure: Re-generate.
12102 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
12103 autoconf 2.59.
12104 * gdb.hp/gdb.aCC/configure: Re-generate.
12105
f10b16d4
JB
121062004-12-15 Jim Blandy <jimb@redhat.com>
12107
12108 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
12109 under NPTL when there is debugging info available for libpthread.
12110
fb6e1814
JG
121112004-12-13 Jerome Guitton <guitton@gnat.com>
12112
12113 * gdb.ada/fixed_points.c: New file.
12114 * gdb.ada/fixed_points.exp: New file.
12115
fe46cd3a
RC
121162004-12-03 Randolph Chung <tausq@debian.org>
12117
12118 * gdb.arch/pa-nullify.exp: New file.
12119 * gdb.arch/pa-nullify.s: New file.
12120
8de0841b
RC
121212004-11-30 Randolph Chung <tausq@debian.org>
12122
12123 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
12124 instead of "tbug". Fix regexp to work properly with gdb_test.
12125
c8170782
PH
121262004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
12127
12128 * gdb.base/bitfields2.exp: New test.
12129 * gdb.base/bitfields2.c: New file.
12130
954269c2
RE
121312004-11-28 Richard Earnshaw <rearnsha@arm.com>
12132
12133 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
12134
0107feed
RC
121352004-11-16 Randolph Chung <tausq@debian.org>
12136
12137 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
12138
f073ae8c
DJ
121392004-11-14 Daniel Jacobowitz <dan@debian.org>
12140
12141 * gdb.threads/threadapply.exp: Correct "macro details" test.
12142
19ad59e7
JJ
121432004-11-11 Jeff Johnston <jjohnstn@redhat.com>
12144
12145 * gdb.threads/threadapply.exp: New test.
12146 * gdb.threads/threadapply.c: New file.
12147
9cf0961b
MK
121482004-11-07 Mark Kettenis <kettenis@gnu.org>
12149
12150 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
12151 frames.
12152
c789492a
FL
121532004-11-05 Felix Lee <felix+log1@specifixinc.com>
12154
12155 * gdb.base/cursal.exp: New file.
12156 * gdb.base/cursal.c: New file.
12157
a1e167bb
AC
121582004-11-03 Andrew Cagney <cagney@gnu.org>
12159
12160 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
12161
b7cbf173
MK
121622004-10-30 Mark Kettenis <kettenis@gnu.org>
12163
12164 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
12165 NetBSD/ELF targets.
12166
88f9d34f
JB
121672004-10-29 Joel Brobecker <brobecker@gnat.com>
12168
12169 * gdb.threads/bp_in_thread.c: New file, copied from
12170 pthread_cond_wait.c.
12171 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
12172 file, rather than reusing the .c file from another testcase.
12173
ca7d6a0c
JB
121742004-10-20 Joel Brobecker <brobecker@gnat.com>
12175
12176 * gdb.ada/null_record.exp: Check where we stopped after
12177 sending the start command, instead of where the associated
12178 temporary breakpoint was inserted.
12179
0d863d03
AC
121802004-10-14 Andrew Cagney <cagney@gnu.org>
12181
12182 * gdb.mi/gdb701.c (main): Return 0.
12183
d11e72cb
DJ
121842004-10-13 Daniel Jacobowitz <dan@debian.org>
12185
d40539a4 12186 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 12187
e1923096
JJ
121882004-10-12 Jeff Johnston <jjohnstn@redhat.com>
12189
12190 * gdb.threads/schedlock.c: Add comment markers to use to find
12191 line numbers.
12192 * gdb.threads/schedlock.exp: Adjust regex to handle the new
12193 comments.
12194 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
12195 breakpoint lines.
12196
ec8ba2c9
DJ
121972004-10-12 Daniel Jacobowitz <dan@debian.org>
12198
12199 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
12200
0eb3658b
DJ
122012004-10-12 Daniel Jacobowitz <dan@debian.org>
12202
12203 * configure.in: Add gdb.dwarf2.
12204 * configure: Regenerated.
12205 * Makefile.in: Add gdb.dwarf2.
12206 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
12207 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
12208 gdb.dwarf2/file1.txt: New files.
12209
a271cc33
OF
122102004-10-11 Orjan Friberg <orjanf@axis.com>
12211
a9c64011 12212 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
12213 of "run", since the latter doesn't work with remote targets. Adjust
12214 the breakpoint numbering accordingly.
12215 * gdb.threads/pthread_cond_wait.exp: Ditto.
12216
895ce074
MC
122172004-10-08 Michael Chastain <mec.gnu@mindspring.com>
12218
12219 * gdb.base/overlays.exp: Update copyright years.
12220
6be3092d
KI
122212004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
12222
12223 * gdb.base/overlays.exp: Disable if target is Linux.
12224
e05389b8
FL
122252004-10-06 Felix Lee <felix+log1@specifixinc.com>
12226
12227 * config/gdbserver.exp (gdb_load): Use right filename on remote.
12228
73cb587d
KI
122292004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
12230
12231 * gdb.asm/asm-source.exp: Add m32r-linux target.
12232 * gdb.asm/m32r-linux.inc: New file.
12233
3c0edcdc
AC
122342004-09-24 Andrew Cagney <cagney@redhat.com>
12235 David Anderson <anderson@redhat.com>
12236
12237 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
12238 command fails, assume things will work.
12239 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
12240 (_GNU_SOURCE): Define.
12241 (print_unsigned, print_hex): Change parameter to "long long".
12242 (print_byte_count): New function, use to print byte counts.
12243 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
12244 O_LARGEFILE.
12245 (main): Compute an upper bound on a corefile in max_core_size.
12246 Limit memory chunk size to max_core_size. Limit total memory
12247 allocated to max_core_size.
12248
4bb3667f
AC
122492004-09-23 Andrew Cagney <cagney@gnu.org>
12250
12251 * gdb.base/bigcore.exp: Replace the code that creates a corefile
12252 from a separate process with code that creates a corefile by
12253 making the inferior dump core.
12254
60fe1a51
MK
122552004-09-23 Mark Kettenis <kettenis@gnu.org>
12256
12257 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
12258 block.
12259
8e937346
MC
122602004-09-23 Michael Chastain <mec.gnu@mindspring.com>
12261
12262 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
12263 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
12264 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
12265 Likewise.
12266
7213f6d6
JJ
122672004-09-20 Jeff Johnston <jjohnstn@redhat.com>
12268
12269 * gdb.java/jprint.exp: New test case for java inferior call.
12270 * gdb.java/jprint.java: Ditto.
12271
eac69dca
JB
122722004-09-15 Joel Brobecker <brobecker@gnat.com>
12273
12274 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
12275
22227696
MC
122762004-09-14 Michael Chastain <mec.gnu@mindspring.com>
12277
12278 * gdb.threads/killed.c: Include <stdlib.h>.
12279 * gdb.threads/pthreads.c: Likewise.
12280
7dd403a4
MC
122812004-09-14 Michael Chastain <mec.gnu@mindspring.com>
12282
12283 * gdb.threads/killed.c: Add copyright notice.
12284
33f2d567
JM
122852004-09-10 Jason Molenda (jmolenda@apple.com)
12286
a9c64011
AS
12287 * gdb.base/define.exp: Two new tests to verify zero space chars
12288 after 'if' and 'while' commands in a user-defined command is correctly
12289 parsed.
33f2d567 12290
e05b62ac
AC
122912004-09-08 Andrew Cagney <cagney@gnu.org>
12292
12293 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
12294 delivery test with duplicate at end of file.
12295
9cbe82da
MK
122962004-09-06 Mark Kettenis <kettenis@jive.nl>
12297
12298 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
12299
564803d9
MC
123002004-09-05 Michael Chastain <mec.gnu@mindspring.com>
12301
12302 * config/hppro.exp: Removed.
12303
7c6807ce
MC
123042004-09-05 Michael Chastain <mec.gnu@mindspring.com>
12305
12306 * config/sparclet.exp: Removed.
12307
bf7e26dd
MC
123082004-09-05 Michael Chastain <mec.gnu@mindspring.com>
12309
12310 * config/udi.exp: Removed.
12311
714e341b
MC
123122004-09-02 Michael Chastain <mec.gnu@mindspring.com>
12313
12314 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
12315 of "exp_continue".
12316 (advancei): Likewise.
12317
1236e623
JJ
123182004-09-01 Jeff Johnston <jjohnstn@redhat.com>
12319
12320 * gdb.base/unload.exp: Fix so messages aren't duplicated.
12321
3bdcad15
MI
123222004-09-01 Manoj Iyer <manjo@austin.ibm.com>
12323
228af206 12324 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
12325 to check for nodebug in executable.
12326 * gdb.gdb/observer.exp (setup_test): Likewise.
12327 * gdb.gdb/selftest.exp (test_with_self): Likewise.
12328 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
12329
c72b934c
AC
123302004-09-01 Andrew Cagney <cagney@gnu.org>
12331
12332 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
12333 files.
12334
edd9b715
JJ
123352004-09-01 Jeff Johnston <jjohnstn@redhat.com>
12336
12337 * gdb.base/unload.exp: Fix expected warning message to match
12338 latest format.
12339
fb4ce06b
CV
123402004-09-01 Corinna Vinschen <vinschen@redhat.com>
12341
12342 * gdb.base/call-rt-st.exp: Fix typos.
12343
ce78e7c3
MI
123442004-08-31 Manoj Iyer <manjo@austin.ibm.com>
12345
12346 * gdb.threads/thread_check.exp: New testcase.
12347 * gdb.threads/thread_check.c: New testcase.
12348
2dedb159
AC
123492004-08-31 Andrew Cagney <cagney@gnu.org>
12350
12351 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
12352 (skip_to_handler_entry): New procedures. Test stepping into a
12353 handler when the breakpoint is at the handler's entry point.
12354
68f53502
AC
123552004-08-30 Andrew Cagney <cagney@gnu.org>
12356
12357 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
12358 gdb/1757.
12359
3e3ffd2b
MC
123602004-08-27 Michael Chastain <mec.gnu@mindspring.com>
12361
12362 With code from Manoj Iyer <manjo@austin.ibm.com>:
12363 * lib/gdb.exp (gdb_file_cmd): Return more information in the
12364 return value. Add an arm for "no debugging symbols found".
12365 Change a stray "error" to "perror".
12366 (gdb_run_cmd): Adapt to new return value.
12367 * gdb.base/remote.exp: Adapt to new return value.
12368 * gdb.gdb/complaints.exp: Likewise.
12369 * gdb.gdb/observer.exp: Likewise.
12370 * gdb.gdb/selftest.exp: Likewise.
12371 * gdb.gdb/xfullpath.exp: Likewise.
12372
4b6f5fd2
JB
123732004-08-27 Joel Brobecker <brobecker@gnat.com>
12374
12375 * gdb.threads/bp_in_thread.exp: New testcase.
12376
e5b25496
MC
123772004-08-27 Michael Chastain <mec.gnu@mindspring.com>
12378
12379 Fix PR testsuite/1735.
12380 * gdb.threads/schedlock.c (thread_function): Add a cast
12381 to suppress a gcc warning.
12382 * gdb.threads/thread-specific.c (thread_function): Likewise.
12383
934353d6
MC
123842004-08-26 Michael Chastain <mec.gnu@mindspring.com>
12385
12386 * gdb.base/unload.c: Include <stdlib.h>.
12387
f98a0aef 123882004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 12389
f98a0aef 12390 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
12391 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
12392 synchronized after the "return".
12393
5a2e8882
MC
123942004-08-26 Michael Chastain <mec.gnu@mindspring.com>
12395
12396 * gdb.mi/basics.c: Include <stdio.h>.
12397 * gdb.mi/pthreads.c: Include <stdlib.h>.
12398 * gdb.mi/var-cmd.c: Include <stdlib.h>.
12399
a9640423
MC
124002004-08-26 Michael Chastain <mec.gnu@mindspring.com>
12401
12402 * gdb.threads/schedlock.c: Add copyright notice.
12403
b04e311d
AC
124042004-08-25 Andrew Cagney <cagney@gnu.org>
12405
12406 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
12407 (skip_over_handler, breakpoint_over_hander): New test procedures.
12408 (advance, advancei): Add a proper prefix, do not use
12409 rerun_to_main.
12410 * gdb.base/sigstep.c (main): Change to use an infinite loop.
12411
7c27f15b
MC
124122004-08-24 Michael Chastain <mec.gnu@mindspring.com>
12413
12414 * gdb.mi/basics.c: Add copyright notice.
12415 * gdb.mi/var-cmd.c: Add copyright notice.
12416
fffc87ae
MC
124172004-08-23 Michael Chastain <mec.gnu@mindspring.com>
12418
12419 * lib/gdb.exp: Remove signed_keyword_not_used.
12420 * lib/compiler.c: Likewise.
12421 * lib/compiler.cc: Likewise.
12422
d782e0bf
MC
124232004-08-23 Michael Chastain <mec.gnu@mindspring.com>
12424
12425 * gdb.base/whatis.c: Remove conditional disabling of "signed".
12426 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
12427
96033e83
MC
124282004-08-23 Michael Chastain <mec.gnu@mindspring.com>
12429
12430 * gdb.base/whatis.c: Add copyright notice.
12431
cf38c229
MK
124322004-08-20 Mark Kettenis <kettenis@gnu.org>
12433
12434 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
12435 it to skip the breakpoints encoded in the inline assembly.
12436
f4b49756
MC
124372004-08-20 Michael Chastain <mec.gnu@mindspring.com>
12438
12439 * Makefile.in: Add gdb.fortran.
12440
2f193b69
MC
124412004-08-20 Michael Chastain <mec.gnu@mindspring.com>
12442
12443 * gdb.base/call-sc.exp (test_scalar_returns):
12444 Fix cut-and-paste glitch in "Make fun return now".
12445
89a237cb
MC
124462004-08-17 Michael Chastain <mec.gnu@mindspring.com>
12447
12448 * configure.in: Add gdb.fortran.
12449 * configure: Regenerate.
12450 * gdb.fortran/Makefile.in: New file.
12451 * lib/gdb.exp (skip_fortran_tests): New procedure.
12452
469aff8e
MC
124532004-08-17 Michael Chastain <mec.gnu@mindspring.com>
12454
12455 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
12456 reference to bug-gnu@prep.ai.mit.edu.
12457 * gdb.mi/mi-var-child.exp: Likewise.
12458 * gdb.mi/mi-var-cmd.exp: Likewise.
12459 * gdb.mi/mi-var-display.exp: Likewise.
12460 * gdb.mi/mi2-var-block.exp: Likewise.
12461 * gdb.mi/mi2-var-child.exp: Likewise.
12462 * gdb.mi/mi2-var-cmd.exp: Likewise.
12463 * gdb.mi/mi2-var-display.exp: Likewise.
12464
00b51b9f
MK
124652004-08-15 Mark Kettenis <kettenis@gnu.org>
12466
12467 * gdb.base/unload.c (main): Make local variable msg const.
12468
45f07fef
MC
124692004-08-15 Michael Chastain <mec.gnu@mindspring.com>
12470
12471 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
12472 to bug-gnu@prep.ai.mit.edu.
12473 * gdb.mi/mi-disassemble.exp: Likewise.
12474 * gdb.mi/mi-eval.exp: Likewise.
12475 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
12476 default line number.
12477 * gdb.mi/mi-return.exp: Likewise.
12478 * gdb.mi/mi-simplerun.exp: Likewise.
12479 * gdb.mi/mi-stack.exp: Likewise.
12480 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
12481 number with explicit range test.
12482 * gdb.mi/mi-watch.exp: Likewise.
12483 * gdb.mi/mi2-break.exp: Likewise.
12484 * gdb.mi/mi2-cli.exp: Likewise.
12485 * gdb.mi/mi2-disassemble.exp: Likewise.
12486 * gdb.mi/mi2-eval.exp: Likewise.
12487 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
12488 default line number.
12489 * gdb.mi/mi2-return.exp: Likewise.
12490 * gdb.mi/mi2-simplerun.exp: Likewise.
12491 * gdb.mi/mi2-stack.exp: Likewise.
12492 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
12493 number with explicit range test.
12494 * gdb.mi/mi2-watch.exp: Likewise.
12495
dd8c8ee7
MC
124962004-08-15 Michael Chastain <mec.gnu@mindspring.com>
12497
12498 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
12499 * gdb.cp/m-static.exp: Likewise.
12500 * gdb.cp/rtti.exp: Likewise.
12501
4e838464
MK
125022004-08-14 Mark Kettenis <kettenis@gnu.org>
12503
12504 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
12505
8d8cb839
EZ
125062004-08-14 Eli Zaretskii <eliz@gnu.org>
12507
12508 * ChangeLog: Prefix Local Variables with semi-colons and indent
12509 the reference to older ChangeLog files, to fix fontification in
12510 Emacs.
12511
deea8bb0
MC
125122004-08-13 Michael Chastain <mec.gnu@mindspring.com>
12513
12514 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
12515 * gdb.mi/mi2-break.exp: Likewise.
12516
c3297504
MC
125172004-08-13 Michael Chastain <mec.gnu@mindspring.com>
12518
12519 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
12520
25808999
MC
125212004-08-13 Michael Chastain <mec.gnu@mindspring.com>
12522
12523 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
12524
226a8d71
MC
125252004-08-13 Michael Chastain <mec.gnu@mindspring.com>
12526
12527 * gdb.cp/classes.exp: Remove unused declarations. Just let
12528 test names default instead of providing special names. Remove
12529 extraneous demangler test.
12530
37fdf854
JJ
125312004-08-12 Jeff Johnston <jjohnstn@redhat.com>
12532
12533 * gdb.base/unload.exp: New test for breakpoints in dynamically
12534 loaded libraries.
12535 * gdb.base/unload.c: Ditto.
12536 * gdb.base/unloadshr.c: Ditto.
12537
2d3a7986
MC
125382004-08-12 Michael Chastain <mec.gnu@mindspring.com>
12539
12540 * gdb.cp/classes.exp (test_ptype_class_objects): Call
12541 cp_test_ptype_class.
12542 (test_enums): Likewise.
12543
c72b934c
AC
125442004-08-10 Andrew Cagney <cagney@gnu.org>
12545
12546 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
12547 files.
12548
cc503c8a
AC
125492004-08-10 Andrew Cagney <cagney@gnu.org>
12550
12551 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
12552 init_malloc call.
12553
902f2ccb
MC
125542004-08-10 Michael Chastain <mec.gnu@mindspring.com>
12555
12556 * ChangeLog: Add copyright notice. The notice is copied
12557 from emacs 21.3 top level ChangeLog.
12558
78c90502
MC
125592004-08-09 Michael Chastain <mec.gnu@mindspring.com>
12560
12561 * lib/cp-support.exp: New file.
12562 * lib/cp-support.exp (cp_test_type_class): New function.
12563 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
12564 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
12565 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
12566 cp_test_ptype_class.
12567
88e5ea78
MC
125682004-08-09 Michael Chastain <mec.gnu@mindspring.com>
12569
12570 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
12571 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
12572 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
12573 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
12574 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
12575 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
12576 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
12577 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
12578 gdb.mi/mi2-watch.exp: Update copyright years.
12579
6a89fc9c
MK
125802004-08-09 Mark Kettenis <kettenis@gnu.org>
12581
12582 * gdb.base/sigaltstack.exp: Provide proper anchoring.
12583
1482e0de
MC
125842004-08-09 Michael Chastain <mec.gnu@mindspring.com>
12585
12586 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
12587 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
12588 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
12589 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
12590 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
12591 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
12592 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
12593 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
12594 gdb.mi/mi-watch.exp: Update copyright years.
12595
1a5ce3f3
DJ
125962004-08-08 Daniel Jacobowitz <dan@debian.org>
12597
12598 PR gdb/1738
12599 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
12600 from a breakpoint with a pending signal.
12601
04f6ecf2
DJ
126022004-08-08 Daniel Jacobowitz <dan@debian.org>
12603
12604 PR gdb/1736
12605 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
12606 * gdb.base/sigaltstack.exp (finish_test): Consume output until
12607 the prompt.
12608 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
12609
54d90d35
DJ
126102004-08-08 Daniel Jacobowitz <dan@debian.org>
12611
12612 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
12613
d2f6abb0
DJ
126142004-08-08 Daniel Jacobowitz <dan@debian.org>
12615
12616 PR gdb/1736
12617 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
12618 for i?86-*-linux*.
12619
5598c03d
DJ
126202004-08-08 Daniel Jacobowitz <dan@debian.org>
12621
12622 * gdb.arch/i386-prologue.exp: Compile without debug information.
12623
c6fee705
MC
126242004-08-08 Michael Chastain <mec.gnu@mindspring.com>
12625
12626 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
12627 rather than asking gdb to search.
12628
dd90efdb
MC
126292004-08-05 Michael Chastain <mec.gnu@mindspring.com>
12630
12631 * gdb.base/gcore.c: Include <string.h>.
12632
1e84bec1
MC
126332004-08-05 Michael Chastain <mec.gnu@mindspring.com>
12634
12635 * gdb.base/gcore.c: Add copyright notice.
12636
e425eb2b
MC
126372004-08-05 Michael Chastain <mec.gnu@mindspring.com>
12638
12639 * gdb.base/freebpcmd.c: Include <stdio.h>.
12640 * gdb.base/long_long.c: Include <string.h>.
12641 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
12642 * gdb.base/siginfo.c: Include <string.h>.
12643 * gdb.base/sigstep.c: Include <string.h>.
12644
cb9aaed5
MC
126452004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12646
12647 * gdb.base/complex.c: Include <stdlib.h>.
12648
55944f3d
MC
126492004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12650
12651 * gdb.base/complex.c: Add copyright notice.
12652
7b2953d9
MC
126532004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12654
12655 * gdb.base/charset.c: Include <stdlib.h>.
12656
c9133d23
MC
126572004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12658
12659 * gdb.base/auxv.c: Include <stdlib.h>.
12660
0a8490ad
MC
126612004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12662
12663 * gdb.base/auxv.c: Add copyright notice.
12664
3426d5ec
MC
126652004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12666
12667 * gdb.base/coremaker.c: Add copyright notice.
12668 * gdb.base/coremaker2.c: Add copyright notice.
12669
8da195dd
AC
126702004-08-04 Andrew Cagney <cagney@gnu.org>
12671
12672 * gdb.base/store.exp: Update copyright.
12673 (check_set, up_set, check_struct, up_struct): Add a prefix to test
12674 names, do not import gdb_prompt.
12675
8d394f98
AC
126762004-08-01 Andrew Cagney <cagney@gnu.org>
12677
12678 Fix PR testsuite/1729.
12679 * gdb.base/dump.exp: Add test name to callers of capture_value, do
12680 not use capture_value with value 4.
12681 (capture_value): Add optional test name parameter.
12682 (test_reload_saved_value, test_restore_saved_value): Use $msg as
12683 the prefix, pass to capture_value.
12684
b6702b23
MK
126852004-08-01 Mark Kettenis <kettenis@gnu.org>
12686
12687 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
12688 * gdb.arch/i386-prologue.c (standard): New prototype and function.
12689 (main): Call new function.
12690
c203e0ca
MC
126912004-07-31 Michael Chastain <mec.gnu@mindspring.com>
12692
12693 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
12694
a7995a30
MC
126952004-07-31 Michael Chastain <mec.gnu@mindspring.com>
12696
12697 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
12698
9366563b
MC
126992004-07-31 Michael Chastain <mec.gnu@mindspring.com>
12700
b6eeaf26 12701 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
12702 Accept more values of vtbl pointer. Remove some messages
12703 about "obsolete gcc or gdb".
12704
2fc1f950
MC
127052004-07-30 Michael Chastain <mec.gnu@mindspring.com>
12706
12707 * gdb.cp/classes.exp: Accept more varieties of ptype output.
12708
c724d49b
MC
127092004-07-30 Michael Chastain <mec.gnu@mindspring.com>
12710
12711 * gdb.base/asm-source.exp: Properly convert target board
12712 debug flags from gcc format to binutils format.
12713
736b0fce
MK
127142004-07-28 Mark Kettenis <kettenis@gnu.org>
12715
12716 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
12717 gdb1718". PR backtrace/1718 partially fixed.
12718
5633ea5c
JJ
127192004-07-27 Jeff Johnston <jjohnstn@redhat.com>
12720
12721 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
12722
575eebb1
NC
127232004-07-26 Nick Clifton <nickc@redhat.com>
12724
12725 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
12726 good default value for a specific architecture is available then
12727 set it to that value. Otherwise default to the -gstabs switch.
12728 Remove the -g... switches from the asm-flags variable. Allow the
12729 target board info to override the value if it wants to. Pass the
12730 switch on the assembler command line.
12731
62104619
MK
127322004-07-23 Mark Kettenis <kettenis@gnu.org>
12733
12734 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
12735 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
12736 (main): Call new function.
12737
4a1135b8
MC
127382004-07-22 Michael Chastain <mec.gnu@mindspring.com>
12739
12740 Test for PR exp/1715.
12741 * gdb.base/radix.exp: Refactor common procedures. Make all
12742 test names unique. Change XFAIL to KFAIL.
12743
8a12c1f0
MC
127442004-07-20 Michael Chastain <mec.gnu@mindspring.com>
12745
12746 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
12747 * gdb.ada/gnat_ada.gin: ... to here.
12748 * configure.in: Use gnat_ada.gin.
12749 * configure: Regenerate.
12750
23b451cf
AC
127512004-07-20 Andrew Cagney <cagney@gnu.org>
12752
12753 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
12754 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
12755 XFAILs. Clean up test messages and comments. Check backtraces.
12756 Delete re-sync code.
12757
ab618a02
MC
127582004-07-19 Michael Chastain <mec.gnu@mindspring.com>
12759
12760 Fix PR cli/740.
12761 * gdb.base/annota1.exp: Honor gdb,nosignals.
12762 * gdb.base/annota3.exp: Likewise.
12763
46dad340
MC
127642004-07-19 Michael Chastain <mec.gnu@mindspring.com>
12765
12766 * lib/java.exp: Update copyright notice.
12767
756d8c70
AC
127682004-07-19 Andrew Cagney <cagney@gnu.org>
12769
12770 * gdb.base/selftest.exp: Copy file from here ...
12771 * gdb.gdb/selftest.exp: ... to here.
12772
586027e6
AC
127732004-07-16 Andrew Cagney <cagney@redhat.com>
12774
12775 * lib/insight-support.exp: Delete file.
12776 * lib/java.exp (java_init): Fix copyright.
12777
029d2200
AC
127782004-07-16 Andrew Cagney <cagney@gnu.org>
12779
12780 * gdb.base/restore.c: Append "prologue" to comments marking the a
12781 function's prologue.
12782 * gdb.base/restore.exp: Update copyright, re-indent.
12783 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
12784 callerN" prefix where needed. Update patterns that match a
12785 function's prologue.
12786
653b62c5
MC
127872004-07-16 Michael Chastain <mec.gnu@mindspring.com>
12788
12789 * gdb.base/restore.c: Add copyright notice.
12790
f7d690e5
AC
127912004-07-16 Andrew Cagney <cagney@gnu.org>
12792
12793 * gdb.base/logical.exp: Update copyright.
12794 (evaluate): New procedure. Use to re-implement tests using
12795 several tables.
12796
d629a7cb
MH
127972004-07-14 Martin Hunt <hunt@redhat.com>
12798
12799 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
12800 which fixes some problems where init.tcl was not found.
12801
9c7bb332
AC
128022004-07-13 Andrew Cagney <cagney@gnu.org>
12803
6bf46641
AC
12804 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
12805 (check_sizeof, check_valueof): Do not include the output in the
12806 test name. Use gdb_test.
12807 (get_valueof): Use gdb_test_multiple.
12808
c4ffd4c0
AC
12809 * gdb.base/step-test.exp: Update copyright. Use
12810 gdb_test_multiple. Ensure that test names do not include
12811 architecture dependent output.
12812
ab89363a
AC
12813 * gdb.gdb/observer.exp: Update copyright.
12814 (setup_test): Use gdb_test_multiple.
12815 (attach_first_observer, attach_second_observer)
12816 (attach_third_observer, detach_first_observer)
12817 (detach_second_observer, detach_third_observer)
12818 (reset_counters, check_counters): Make $message a prefix.
12819 (test_normal_stop_notifications): Add "args" parameter - a list of
12820 init functions to be called. Make $message a prefix,
12821 (test_observer_normal_stop): Change the message prefixes so that
12822 they are unique, pass the attach / detach procedures to
12823 test_normal_stop_notifications.
12824
ec58997a
AC
12825 * gdb.base/signull.exp (test_segv): Prefix all tests with
12826 "${name}". Clean up test messages.
12827
b475183b
AC
12828 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
12829
9c7bb332
AC
12830 * gdb.base/ena-dis-br.exp: Update copyright.
12831 (break_at): New function. Replace send_gdb with gdb_test,
12832 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
12833 ignore count, not stopped at bpt", with KFAIL.
12834
2dd95497
CV
128352004-07-13 Corinna Vinschen <vinschen@redhat.com>
12836
12837 * gdb.base/attach.exp: Remove cleanupfile handling.
12838
419e626b
AC
128392004-07-12 Andrew Cagney <cagney@gnu.org>
12840
12841 * gdb.base/annota1.exp: Cleanup corefile test name.
12842 * gdb.base/annota3.exp: Ditto.
12843
8b1b3228
AC
128442004-07-12 Andrew Cagney <cagney@gnu.org>
12845
78650829
AC
12846 * gdb.base/signals.exp: Clean up copyright, re-indent.
12847
8b1b3228
AC
12848 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
12849 gdb_test and gdb_test_multiple.
12850
935c2760
JJ
128512004-07-08 Jeff Johnston <jjohnstn@redhat.com>
12852
12853 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 12854 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
12855 provide line number info for first statement in main.
12856
1544280f
AC
128572004-07-08 Andrew Cagney <cagney@gnu.org>
12858
1279f4ff
AC
12859 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
12860
1544280f
AC
12861 * gdb.base/sigbpt.exp: Make the common part of each test name a
12862 prefix instead of suffix.
12863
bcc82369
BR
128642004-07-07 Bob Rossi <bob_rossi@cox.net>
12865
12866 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
12867 test from test_tbreak_creation_and_listing to
12868 test_file_list_exec_source_file
12869 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
12870 Changed name of test from test_tbreak_creation_and_listing to
12871 test_file_list_exec_source_file
12872
23f4b0aa
JJ
128732004-07-07 Jeff Johnston <jjohnstn@redhat.com>
12874
12875 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
12876 the jmisc() constructor instead of <init>.
12877 * gdb.java/jmisc1.exp: Ditto.
12878
56401cd5
AC
128792004-07-07 Andrew Cagney <cagney@gnu.org>
12880
12881 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
12882 corrupting the PC.
12883
44ae2f6a
MC
128842004-07-06 Michael Chastain <mec.gnu@mindspring.com>
12885
12886 * gdb.cp/templates.exp: Accept whitespace change in demangler
12887 output.
12888
45a83408
AC
128892004-07-06 Andrew Cagney <cagney@gnu.org>
12890
12891 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
12892
d205ad70
MC
128932004-07-02 Michael Chastain <mec.gnu@mindspring.com>
12894
12895 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
12896 * lib/compiler.cc: Likewise.
12897
06ea1a61
MC
128982004-06-30 Michael Chastain <mec.gnu@mindspring.com>
12899
12900 * lib/compiler.cc: Work around string preprocessing problem
12901 with old hp c++ compiler.
12902 * lib/compiler.c: Likewise.
12903
daab1251
CV
129042004-06-29 Corinna Vinschen <vinschen@redhat.com>
12905
12906 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
12907 directives to conditionalize symbol prefixing.
12908 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
12909 additional_flags handling. Add underscore prefix for Cygwin.
12910 * gdb.arch/i386-unwind.c: Use preprocessor directives to
12911 conditionalize symbol prefixing.
12912 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
12913 additional_flags handling. Add underscore prefix for Cygwin.
12914
cc984116
CV
129152004-06-29 Corinna Vinschen <vinschen@redhat.com>
12916
12917 * gdb.base/bigcore.exp: Skip test on Cygwin.
12918
c279b077
MC
129192004-06-28 Michael Chastain <mec.gnu@mindspring.com>
12920
12921 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
12922 formats for "info register". Use gdb_test_multiple. Fix
12923 the "invalid register" test.
12924
0e915747
CV
129252004-06-28 Corinna Vinschen <vinschen@redhat.com>
12926
12927 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
12928 PID for Cygwin. Add Cygwin specific strings to check for in some
12929 tests.
12930 (do_attach_tests): Add a test for user interaction when attaching
12931 to a process with no matching symbol table already loaded.
12932
11422c86
AC
129332004-06-26 Andrew Cagney <cagney@gnu.org>
12934
12935 Test PR java/1567 and PR java/1565.
12936 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
12937 * gdb.java/jmisc2.exp: Delete file.
12938
cefbce26
MC
129392004-06-26 Michael Chastain <mec.gnu@mindspring.com>
12940
12941 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
12942
e19f872c
CV
129432004-06-25 Corinna Vinschen <vinschen@redhat.com>
12944
12945 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
12946 attach process.
12947
d931ba3b
MC
129482004-06-23 Michael Chastain <mec.gnu@mindspring.com>
12949
12950 * gdb.cp/pr-1553.exp: Remove.
12951
aef68c48
MC
129522004-06-22 Michael Chastain <mec.gnu@mindspring.com>
12953
12954 * gdb.cp/pr-1553.cc: Remove.
12955 * gdb.cp/pr-1553.exp: Disable this test.
12956
8d5df71a
JB
129572004-06-20 Jim Blandy <jimb@redhat.com>
12958
a9c64011 12959 Fix PR testsuite/1680.
8d5df71a
JB
12960 * gdb.arch/i386-sse.exp: Properly quote curly braces in
12961 regular expressions.
12962
4ac6f39d
MC
129632004-06-19 Michael Chastain <mec.gnu@mindspring.com>
12964
12965 Fix PR testsuite/1679.
12966 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
12967 Issue an UNSUPPORTED result instead.
12968
1b413552
JB
129692004-06-18 Jim Blandy <jimb@redhat.com>
12970
12971 * gdb.base/charset.exp: Only send a control-C if we see a new
12972 prompt and incomplete command.
12973
6daa6ebd
MC
129742004-06-18 Michael Chastain <mec.gnu@mindspring.com>
12975
12976 * gdb.cp/pr-574.cc: Add copyright notice.
12977
51fa4ae0
JB
129782004-06-17 Jim Blandy <jimb@redhat.com>
12979
12980 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
12981 cases where the regexp has no groups; this grabs random text from
12982 the previous test suite, whatever that was.
12983
8fea26c5
MC
129842004-06-17 Michael Chastain <mec.gnu@mindspring.com>
12985
12986 * gdb.cp/printmethod.cc: Add copyright notice.
12987
1e3aeb41
MC
129882004-06-16 Michael Chastain <mec.gnu@mindspring.com>
12989
12990 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
12991
9d9030bc
AC
129922004-06-16 Andrew Cagney <cagney@gnu.org>
12993
12994 * gdb.base/signull.c: Update copyright. Include <string.h>.
12995 (bowler): Replace data_pointer with data_read
12996 and data_write cases. Add code_descriptor case.
12997 (zero, desc): New array and pointer.
12998 (data, code): Change to simple pointers.
12999 * gdb.base/signull.exp: Fix probe pattern matching a function
13000 descriptor SIGSEGV. Replace data_pointer with data_read and
13001 data_write tests.
13002
acd4ad44
AC
130032004-06-16 Andrew Cagney <cagney@gnu.org>
13004
13005 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
13006
08fd625c
MC
130072004-06-15 Michael Chastain <mec.gnu@mindspring.com>
13008
13009 * gdb.base/long_long.c: Add copyright notice.
13010
1903502c
MC
130112004-06-15 Michael Chastain <mec.gnu@mindspring.com>
13012
13013 * gdb.base/long_long.exp: Remove reference to
13014 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
13015 to gdb_breakpoint and gdb_continue_to_breakpoint.
13016
83313cb1
JB
130172004-06-14 Jim Blandy <jimb@redhat.com>
13018
13019 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
13020 endian case.
13021
1bf404ef
AC
130222004-06-14 Andrew Cagney <cagney@gnu.org>
13023
13024 * gdb.base/gcore.exp (capture_command_output): Delete the always
13025 passing tests containing inferior values.
13026 * gdb.base/ending-run.exp: Do not include the breakpoint address
13027 in the test message. Update copyright.
13028 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
13029 size in the test name, use gdb_test_multiple. Update copyright.
13030
ef220b33
MC
130312004-06-14 Michael Chastain <mec.gnu@mindspring.com>
13032
13033 * gdb.cp/ref-types.cc: Add copyright notice.
13034
4f70a4c9
MC
130352004-06-14 Michael Chastain <mec.gnu@mindspring.com>
13036
13037 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
13038 hp_aCC_compiler.
13039 * lib/compiler.cc: Likewise.
13040 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
13041 'set' commands. Log diagnostics for other lines. Set
13042 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
13043
335928ac
MC
130442004-06-13 Michael Chastain <mec.gnu@mindspring.com>
13045
13046 * gdb.cp/try_catch.cc: Add copyright notice.
13047
2efb12e8
MC
130482004-06-12 Michael Chastain <mec.gnu@mindspring.com>
13049
13050 * gdb.cp/userdef.cc: Add copyright notice.
13051
0bbed51a
MC
130522004-06-11 Michael Chastain <mec.gnu@mindspring.com>
13053
13054 * gdb.cp/virtfunc.cc: Add copyright notice.
13055
e12a46c9
RC
130562004-06-11 Randolph Chung <tausq@debian.org>
13057
13058 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
13059 problem.
13060
338e05af
AC
130612004-06-10 Andrew Cagney <cagney@gnu.org>
13062
13063 * lib/compiler.cc, lib/compiler.c: Append either
13064 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
13065 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
13066 instead of gcc-3-3.
13067
dc3f10cb
AC
130682004-06-09 Andrew Cagney <cagney@gnu.org>
13069
b4d946af
AC
13070 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
13071 gdb/1455, bug is specific to "long long" and "double".
a9c64011 13072
dc3f10cb
AC
13073 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
13074 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
13075 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
13076 fixed.
13077
b5c0bfa2
AC
130782004-06-09 Andrew Cagney <cagney@gnu.org>
13079
13080 * gdb.base/structs.exp (test_struct_returns): Replace
13081 "return_value_unknown" and "finish_value_unknown" by
13082 "return_value_known" and "finish_value_known". Instead of
13083 "return_value_unknown" iff "finish_value_unknown", check
13084 "return_value_known" implies "finish_value_known".
13085
caeb605f
MH
130862004-06-08 Martin Hunt <hunt@redhat.com>
13087
13088 * gdb.base/float.exp: Add pattern for mips targets.
13089
c892bb64
RC
130902004-06-08 Randolph Chung <tausq@debian.org>
13091
13092 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
13093 message for unknown architectures more clear.
13094
48306d3e
JB
130952004-06-08 Joel Brobecker <brobecker@gnat.com>
13096
13097 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
13098 start the execution of the program.
13099
83ecb59f
JB
131002004-06-07 Jim Blandy <jimb@redhat.com>
13101
13102 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
13103 * gdb.arch/i386-cpuid.h: New helper file.
13104
55264cb4
RC
131052004-06-07 Randolph Chung <tausq@debian.org>
13106
13107 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
13108 has started.
13109
23cadb28
RM
131102004-06-04 Roland McGrath <roland@redhat.com>
13111
13112 Fix PR gdb/1647.
13113 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
13114 differently to be robust to output buffering differences.
13115
51d01eda
MC
131162004-06-04 Michael Chastain <mec.gnu@mindspring.com>
13117
13118 * gdb.threads/pthreads.exp: Update copyright years.
13119 (check_control_c): Change asynchronous 'after' to synchronous.
13120
f4fc3b93
RM
131212004-06-04 Roland McGrath <roland@redhat.com>
13122
13123 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
13124 next gdb prompt.
13125
4013522b
MC
131262004-06-02 Michael Chastain <mec.gnu@mindspring.com>
13127
13128 Fix PR gdb/1636.
13129 * gdb.threads/manythreads.exp: Change asynchronous 'after'
13130 calls to synchronous.
13131
7a8f1e6b
JB
131322004-05-26 Jim Blandy <jimb@redhat.com>
13133
13134 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
13135
81bb3443
RC
131362004-05-24 Randolph Chung <tausq@debian.org>
13137
13138 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
13139 * gdb.asm/pa.inc: New file.
13140
8f5a3103
MK
131412004-05-22 Mark Kettenis <kettenis@gnu.org>
13142
13143 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
13144
734b8fe8 131452004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 13146 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
13147
13148 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
13149 GDB prompt.
13150
725603e1
UW
131512004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13152
f4fc3b93 13153 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
13154 setjmp/longjmp. Use sigaction instead of signal.
13155
8b923272 131562004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 13157 Michael Snyder <msnyder@redhat.com>
8b923272
JB
13158
13159 * gdb.threads/pthread_cond_wait.c: New file.
13160 * gdb.threads/pthread_cond_wait.exp: New testcase.
13161
8bfabb04
AC
131622004-05-13 Andrew Cagney <cagney@redhat.com>
13163
13164 * gdb.base/signull.exp, gdb.base/signull.c: New files.
13165 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
13166
42edda50
AC
131672004-05-11 Andrew Cagney <cagney@redhat.com>
13168
13169 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
13170 fixed but revealed gdb/1639.
13171
d303a6c7
AC
131722004-05-10 Andrew Cagney <cagney@redhat.com>
13173
13174 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
13175 func1" and "next to 2nd alarm", kernel bug avoided.
13176
bf08c2a1
DJ
131772004-05-10 Daniel Jacobowitz <dan@debian.org>
13178
13179 PR external/1568
13180 * gdb.base/bigcore.exp: Check the size of the dumped core file.
13181 XFAIL if it is smaller than bytes_allocated.
13182 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
13183 (main): Make chunks_allocated unsigned. Correct comment.
13184
c0586a34
JB
131852004-05-07 Joel Brobecker <brobecker@gnat.com>
13186
13187 * gdb.arch/powerpc-aix-prologue.c: New file.
13188 * gdb.arch/powerpc-aix-prologue.exp: New file.
13189
f2785d12
JB
131902004-05-07 Jim Blandy <jimb@redhat.com>
13191
13192 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
13193 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
13194
bd7f6e30
JB
131952004-05-06 Joel Brobecker <brobecker@gnat.com>
13196
13197 * gdb.base/sep.exp: No longer setup_kfail when the program was
13198 built with dwarf2.
13199
0a5e7efe
JI
132002004-05-05 Jim Ingham <jingham@apple.com>
13201
13202 * gdb.base/pending.exp: Make sure pending breakpoints
13203 preserve the ignore count.
f4fc3b93 13204
a8958849
MK
132052004-04-27 Jerome Guitton <guitton@gnat.com>
13206
13207 * i386-prologue.exp: Add testcase for jump instruction as first
13208 instruction of the real code.
13209 * i386-prologue.c (jump_at_beginning): New function.
13210
7e103f5b
MK
132112004-04-28 Mark Kettenis <kettenis@gnu.org>
13212
13213 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
13214 x86_64-*-*.
13215
5d38b224
MK
132162004-04-28 Mark Kettenis <kettenis@gnu.org>
13217
13218 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
13219 i*86-*-*.
13220
0ef32fd9
MK
132212004-04-25 Mark Kettenis <kettenis@gnu.org>
13222
13223 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
13224 expression that checks the return type.
13225
71d7dd7c
AC
132262004-04-23 Andrew Cagney <cagney@redhat.com>
13227
13228 * gdb.base/call-sc.exp: New test of scalar call/return values.
13229 * gdb.base/call-sc.c: Ditto.
13230
1e9f977e
JJ
132312004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13232
13233 * gdb.threads/manythreads.c: Reduce thread stack size.
13234
899d9e3a
JJ
132352004-04-23 Jeff Johnston <jjohnstn@redhat.com>
13236
13237 * gdb.threads/manythreads.c: Add copyright notice.
13238
61bcae62
AC
132392004-04-23 Andrew Cagney <cagney@redhat.com>
13240
13241 * gdb.base/siginfo.exp: Better handle step out of signal.
13242 * gdb.base/sigstep.exp: Ditto.
13243
7339a42e 132442004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 13245 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
13246
13247 * gdb.threads/manythreads.c: New testcase.
13248 * gdb.threads/manythreads.exp: Ditto.
13249
5c98409b
JB
132502004-04-22 Jim Blandy <jimb@redhat.com>
13251
13252 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
13253 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
13254
3b611f1a
MC
132552004-04-21 Michael Chastain <mec.gnu@mindspring.com>
13256
13257 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
13258
f0fd9238
AC
132592004-04-21 Andrew Cagney <cagney@redhat.com>
13260
13261 * gdb.base/sigstep.c: New file.
13262 * gdb.base/sigstep.exp: New file.
13263
90990674
JB
132642004-04-16 Joel Brobecker <brobecker@gnat.com>
13265
13266 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
13267 call to observer_notify_normal_stop.
13268
78cef34b
AC
132692004-04-15 Andrew Cagney <cagney@redhat.com>
13270
13271 * gdb.base/siginfo.c: New file.
13272 * gdb.base/siginfo.exp: New file.
13273
d2343407
JB
132742004-04-12 J. Brobecker <brobecker@gnat.com>
13275
13276 * gdb.base/sep.exp: Fix typo in comment.
13277
a2dba3c8
JB
132782004-04-12 J. Brobecker <brobecker@gnat.com>
13279
13280 * gdb.base/sep.c: New file.
13281 * gdb.base/sep-proc.c: New file.
13282 * gdb.base/sep.exp: New testcase.
13283
15f7b60e
MK
132842004-04-09 Mark Kettenis <kettenis@gnu.org>
13285
13286 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
13287 support.
13288
44f4de1a
AC
132892004-04-05 Andrew Cagney <cagney@redhat.com>
13290
13291 * gdb.base/sigaltstack.c: New file.
13292 * gdb.base/sigaltstack.exp: New file.
13293
ef04f396
JB
132942004-04-04 Joel Brobecker <brobecker@gnat.com>
13295
13296 * gdb.base/foll-fork.exp: Update the expected output for
13297 "help set follow-fork-mode", to match a change that was made
13298 to the help of this variable on 2004-01-13.
13299
d40d2c92
JB
133002004-04-01 Joel Brobecker <brobecker@gnat.com>
13301
13302 * lib/ada.exp: Add copyright notice.
13303 * bar.ads: Likewise.
13304 * bar.adb: Likewise.
13305 * null_record.adb: Likewise.
13306 * null_record.exp: Likewise.
13307 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
13308
f86ef5a3
JB
133092004-04-01 Joel Brobecker <brobecker@gnat.com>
13310
13311 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
13312 * configure: Regenerate.
13313
414e70e3
JB
133142004-04-01 Joel Brobecker <brobecker@gnat.com>
13315
13316 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
13317 to build the application. Remove the message printed when in
13318 verbose mode, redundant with the UNSUPPORTED message above.
13319
f0aaee49
JB
133202004-03-31 Joel Brobecker <brobecker@gnat.com>
13321
13322 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
13323 * gdb.ada (null_record.exp): New testcase.
13324
ac81cb54
JB
133252004-03-31 Joel Brobecker <brobecker@gnat.com>
13326
13327 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
13328
854af2f7
JB
133292004-03-31 Joel Brobecker <brobecker@gnat.com>
13330
13331 * gdb.ada: New subdirectory.
13332 * gdb.ada/Makefile.in: New file.
13333 * gdb.ada/gnat_ada.gpr.in: New file.
13334
034cb681
JB
133352004-03-31 Joel Brobecker <brobecker@gnat.com>
13336
13337 * lib/ada.exp: New file.
13338
78a1a894
DJ
133392004-03-24 Daniel Jacobowitz <drow@mvista.com>
13340
13341 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
13342 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
13343
4b2b3b3e
AC
133442004-03-22 Andrew Cagney <cagney@redhat.com>
13345
13346 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
13347 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
13348 Problem identified by Ulrich Weigand.
13349
23c73aa3
DC
133502004-03-17 David Carlton <carlton@kealia.com>
13351
13352 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
13353 PR c++/826.
13354
d63a86f8
RM
133552004-03-16 Roland McGrath <roland@redhat.com>
13356
13357 * gdb.base/auxv.exp: New file.
13358 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
13359
0e02aa50
DC
133602004-03-12 David Carlton <carlton@kealia.com>
13361
13362 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
13363 * gdb.cp/pr-1553.cc: Ditto.
13364 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
13365 pass branch.
13366
c20b71be
MC
133672004-03-12 Michael Chastain <mec.gnu@mindspring.com>
13368
13369 * gdb.cp/templates.exp: Accept more template types.
13370
c7414a01
MC
133712004-03-09 Michael Chastain <mec.gnu@mindspring.com>
13372
13373 From Corinna Vinschen with modifications.
13374 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
13375 local variable obj_with_enum.
13376 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
13377 results with obj_with_enum.
13378
ed69573c
MC
133792004-03-09 Michael Chastain <mec.gnu@mindspring.com>
13380
13381 * gdb.cp/classes.cc: New file, copied from misc.cc.
13382 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
13383
28301461
MC
133842004-03-09 Michael Chastain <mec.gnu@mindspring.com>
13385
13386 * gdb.cp/misc.cc: Add copyright notice.
13387
1198ecbe
DC
133882004-03-05 David Carlton <carlton@kealia.com>
13389
13390 * gdb.cp/rtti.exp: Add 'print *obj3' test.
13391 * gdb.cp/rtti.h: Update copyright.
13392 (namespace n2::n3): New.
13393 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
13394 (n2::n3::func3): New.
13395 (main): Call n2::n3::func3.
13396 * gdb.cp/rtti2.cc: Update copyright.
13397 (n2::create3): New.
13398
9e08c470
MK
133992004-03-04 Mark Kettenis <kettenis@gnu.org>
13400
13401 * gdb.asm/openbsd.inc: Fix typo.
13402
4bebc3aa
FF
134032004-03-03 Fred Fish <fnf@redhat.com>
13404
13405 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
13406 "val" instead of unused "size". Update copyright year.
13407
6ea9fb37
DJ
134082004-02-29 Daniel Jacobowitz <drow@mvista.com>
13409
13410 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
13411 to use unsigned char.
13412 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
13413 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
13414
23b23974
DJ
134152004-02-29 Daniel Jacobowitz <drow@mvista.com>
13416
13417 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
13418 line of output.
13419
7574fd53
DJ
134202004-02-28 Daniel Jacobowitz <drow@mvista.com>
13421
13422 * gdb.base/relocate.c (dummy): Initialize.
13423
a195357f
DJ
134242004-02-28 Daniel Jacobowitz <drow@mvista.com>
13425
13426 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
13427 a breakpoint at exit.
13428
72fd54a9
FF
134292004-02-27 Fred Fish <fnf@redhat.com>
13430
13431 * gdb.base/chng-syms.exp: Add expect condition to match failing
13432 case that isn't a timeout.
13433
b9d23137
AC
134342004-02-27 Andrew Cagney <cagney@redhat.com>
13435
13436 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
13437 support.
13438
15d208f6 134392004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 13440
15d208f6
FF
13441 * gdb.arch/gdb1431.c: Remove.
13442 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
13443 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
13444 of "until" incorrectly.
13445
98f9cd2d
JB
134462004-02-26 J. Brobecker <brobecker@gnat.com>
13447
13448 * gdb.cp/class2.cc (empty): New class.
13449 (refer): New function.
13450 (main): Declare an object of type empty and use it.
13451 * gdb.cp/class2.exp: Print the value of an object of type empty.
13452
9b50c11b
JJ
134532004-02-26 Jeff Johnston <jjohnstn@redhat.com>
13454
13455 * gdb.base/langs.exp: Update query string to match the
13456 new nquery format used for pending breakpoints.
13457
0dcd613f
AC
134582004-02-26 Andrew Cagney <cagney@redhat.com>
13459
13460 Fix PR i18n/1570.
13461 * gdb.base/charset.c: Update copyright notice.
13462 (main, init_string): Remove the escape character '\e' tests.
13463 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
13464 * gdb.base/charset.exp (valid_host_charset): Ditto.
13465 * gdb.base/setvar.exp: Ditto.
13466
b8a56647
AC
134672004-02-24 Andrew Cagney <cagney@redhat.com>
13468
90d59e34
AC
13469 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
13470 mmapped data in core file" PASS and FAIL messages consistent.
13471
b8a56647
AC
13472 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
13473 setting a breakpoint. Work around PR java/1565.
13474
9f27c604
JJ
134752004-02-23 Jeff Johnston <jjohnstn@redhat.com>
13476
13477 * lib/gdb.exp (gdb_breakpoint): Update query string to match
13478 new nquery format.
13479 * gdb.base/pending.exp: Ditto.
13480
3224a706
MK
134812004-02-22 Mark Kettenis <kettenis@gnu.org>
13482
13483 * configure.in: Run stabs tests on *BSD.
13484 * configure: Regenerated.
13485
41e0a9ca
MK
134862004-02-21 Mark Kettenis <kettenis@gnu.org>
13487
13488 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
13489
1e1b3428
FF
134902004-02-20 Fred Fish <fnf@redhat.com>
13491
13492 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
13493 blank in test for "returns short", for consistency with other
13494 "returns xxx" tests. Update copyright year.
13495
f9a7572a
FF
134962004-02-19 Fred Fish <fnf@redhat.com>
13497
13498 New testcase for PR breakpoint/1558.
13499 * gdb.arch/gdb1558.exp: New file.
13500 * gdb.arch/gdb1558.c: New file.
13501
b2ce2854
EZ
135022004-02-19 Elena Zannoni <ezannoni@redhat.com>
13503
13504 * gdb.base/nodebug.exp: Fix typo.
13505
e7c9ff01
JB
135062004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13507
13508 Committed by Jim Blandy <jimb@redhat.com>.
13509
62f4b920
JB
13510 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
13511
2db536a1
JB
13512 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
13513
e7c9ff01
JB
13514 * gdb.base/float.exp: Support s390*-*-* targets.
13515
f3205b34
AF
135162004-02-17 Adam Fedor <fedor@gnu.org>
13517
13518 * gdb.base/gdb1555.exp: New file.
13519 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
13520
9d62932d
EZ
135212004-02-17 Elena Zannoni <ezannoni@redhat.com>
13522
13523 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
13524
344c9711
FF
135252004-02-16 Fred Fish <fnf@redhat.com>
13526
13527 * gdb.arch/gdb1291.c: Remove
13528 * gdb.arch/gdb1291.s: New test input file.
13529 * gdb.arch/gdb1291.exp: Expand test to check case that should not
13530 fail. Test for correct result, known incorrect result, other
13531 failures and timeouts.
13532
2d822687
AC
135332004-02-16 Andrew Cagney <cagney@redhat.com>
13534
13535 * gdb.base/bigcore.exp: New file.
13536 * gdb.base/bigcore.c: New file.
13537
dac15b66
AC
135382004-02-13 Andrew Cagney <cagney@redhat.com>
13539
13540 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
13541 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
13542 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
13543 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
13544 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
13545 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
13546 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
13547 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
13548 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
13549 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
13550
6bdfc2c4
JJ
135512004-02-11 Jeff Johnston <jjohnstn@redhat.com>
13552
13553 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
13554 executed is an alloc instruction.
13555
87b3ede8
DC
135562004-02-11 David Carlton <carlton@kealia.com>
13557
13558 * gdb.cp/breakpoint.exp: New.
13559 * gdb.cp/breakpoint.cc: New.
13560
6e19e2bf
MC
135612004-02-11 Michael Chastain <mec.gnu@mindspring.com>
13562
13563 Partial fix for PR gdb/1543.
13564 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
13565 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
13566 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
13567 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
13568 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
13569 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
13570 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
13571 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
13572 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
13573 to bug-gdb@prep.ai.mit.edu .
13574 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
13575 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
13576 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
13577 Likewise.
13578
5c5455dc
AC
135792004-02-10 Andrew Cagney <cagney@redhat.com>
13580
13581 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
13582 using gdb_internal_error_resync.
13583
9cf689d7
DJ
135842004-02-09 Daniel Jacobowitz <drow@mvista.com>
13585
13586 * gdb.threads/thread-specific.exp: Stop early if no threads are
13587 found.
13588
d2dc51db
MC
135892004-02-09 Michael Chastain <mec.gnu@mindspring.com>
13590
13591 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
13592
14b1a056
DJ
135932004-02-08 Daniel Jacobowitz <drow@mvista.com>
13594
13595 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
13596 breakpoints.
13597
83f66e8f
DJ
135982004-02-07 Daniel Jacobowitz <drow@mvista.com>
13599
13600 * config/sim.exp (gdb_load): Handle $arg == "".
13601 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
13602 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
13603
30fc0091
EZ
136042004-02-07 Elena Zannoni <ezannoni@redhat.com>
13605
a9c64011
AS
13606 * gdb.base/maint.exp: Update test to reflect
13607 obstack changes.
30fc0091 13608
4d806929
JJ
136092004-02-04 Jeff Johnston <jjohnstn@redhat.com>
13610
13611 * gdb.base/pendshr.c (pendfunc): New function that calls
13612 pendfunc1.
13613 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
13614
7bfdd688
FF
136152004-02-04 Fred Fish <fnf@redhat.com>
13616
13617 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
13618 function symbols and update copyright years.
13619 * gdb.arch/gdb1291.c: Ditto.
13620
aaa08ee4
MC
136212004-02-03 Michael Chastain <mec.gnu@mindspring.com>
13622
13623 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
13624
dbad7755
MC
136252004-02-03 Michael Chastain <mec.gnu@mindspring.com>
13626
13627 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
13628
ec4646ef
MC
136292004-02-03 Michael Chastain <mec.gnu@mindspring.com>
13630
13631 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
13632
1b802196
FF
136332004-02-02 Fred Fish <fnf@redhat.com>
13634
13635 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
13636 remote targets. Update copyright years.
13637
18fe2033
JJ
136382004-02-02 Jeff Johnston <jjohnstn@redhat.com>
13639
13640 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
13641 support.
13642 * gdb.base/langs.exp: Fix test which attempts to create
13643 breakpoint on non-existent function to handle new pending
13644 support.
13645 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
13646 a breakpoint.
13647 * gdb.base/pending.exp: New test.
13648 * gdb.base/pending.c: New file.
13649 * gdb.base/pendshr.c: Ditto.
13650
8d577d32
DC
136512004-02-02 David Carlton <carlton@kealia.com>
13652
13653 * gdb.cp/overload.exp: Add overloadNamespace tests.
13654 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
13655 (overloadNamespace, XXX): New.
13656 (main): Call XXX::marker2.
13657
3ad13771
FF
136582004-02-01 Fred Fish <fnf@redhat.com>
13659
13660 * gdb.base/dump.exp: Use runto_main instead of "runto main".
13661 * gdb.base/finish.exp: Ditto.
13662 * gdb.base/gcore.exp: Ditto.
13663 * gdb.base/huge.exp: Ditto.
13664 * gdb.base/info-proc.exp: Ditto.
13665 * gdb.base/return2.exp: Ditto.
13666 * gdb.threads/gcore-thread.exp: Ditto.
13667
44c75849
DJ
136682004-02-01 Daniel Jacobowitz <drow@mvista.com>
13669
13670 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
13671
005bc093
MK
136722004-02-01 Mark Kettenis <kettenis@gnu.org>
13673
13674 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
13675 that opening the file succeeds on OpenBSD.
13676
c47cebdb
DJ
136772004-02-01 Daniel Jacobowitz <drow@mvista.com>
13678
13679 * gdb.threads/thread-specific.c: New file.
13680 * gdb.threads/threads-specific.exp: New test script.
13681 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
13682 to expect_out.
13683
5a01311c
MK
136842004-02-01 Mark Kettenis <kettenis@gnu.org>
13685
13686 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
13687 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
13688 only on the "print_small_structs from print_long_arg_list" test.
13689
ce22a4f1
DJ
136902004-02-01 Daniel Jacobowitz <drow@mvista.com>
13691
13692 * gdb.base/completion.exp: Kill a stray backslash.
13693
13694 From Jim Ingham <jingham@apple.com>:
13695 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
13696 agrees with the result from sending a tab.
13697
abbab9d3
DJ
136982004-01-31 Daniel Jacobowitz <drow@mvista.com>
13699
13700 * gdb.base/chng-syms.exp: Remove stray newline.
13701
53904d1e
MK
137022004-01-31 Mark Kettenis <kettenis@gnu.org>
13703
13704 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
13705 *-*-openbsd*.
13706 * gdb.asm/openbsd.inc: New file.
13707
3a4b3aac
MK
137082004-01-30 Mark Kettenis <kettenis@gnu.org>
13709
13710 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
13711 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
13712 *-*solaris2*. Remove commented out default settings for
13713 asm-flags. Replace gdb_compile with target_link.
13714
ebac27b4
MC
137152004-01-29 Michael Chastain <mec.gnu@mindspring.com>
13716
13717 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
13718 for all tests. Remove old hp-ux and cygnus xfail cases.
13719
d8679d84
PH
137202004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
13721
13722 * gdb.base/chng-syms.exp: New file.
13723 * gdb.base/chng-syms.c: New file.
13724
0a55bc22
MC
137252004-01-24 Michael Chastain <mec.gnu@mindspring.com>
13726
13727 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
13728 Provide arms for current output in all my configurations.
13729
94b8e876
MC
137302004-01-24 Michael Chastain <mec.gnu@mindspring.com>
13731
13732 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
13733 * lib/compiler.cc: Likewise.
13734 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
13735 get the right preprocessor. Eval the output directly. Remove
13736 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
13737 hp_f77_compiler and hp_f90_compiler completely.
13738 (gdb_preprocess): Delete.
13739 (get_compiler): Delete.
13740
7cf03d44
MK
137412004-01-24 Mark Kettenis <kettenis@gnu.org>
13742
13743 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
13744 <string.h>.
13745
68b6dce9
NR
137462004-01-24 Nick Roberts <nick@nick.uklinux.net>
13747
13748 * gdb.mi/mi-stack.exp: Update copyright.
13749
b368761e
DC
137502004-01-23 David Carlton <carlton@kealia.com>
13751
13752 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
13753 test for cp_lookup_transparent_type.
13754 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
13755 call them.
13756
f2061b53
DJ
137572004-01-23 Daniel Jacobowitz <drow@mvista.com>
13758
13759 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
13760 after -var-update.
13761
37fc574a
DC
137622004-01-23 David Carlton <carlton@kealia.com>
13763
13764 * gdb.cp/namespace.cc (C::ensureRefs): New.
13765 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
13766
8e94b928
NR
137672004-01-20 Nick Roberts <nick@nick.uklinux.net>
13768
13769 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
13770 case "-stack-list-locals 2".
13771 * gdb.mi/mi-var-child.exp: Test for case
13772 "-var-list-children --all-values NAME".
13773
997b0952
MC
137742004-01-18 Michael Chastain <mec.gnu@mindspring.com>
13775
13776 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
13777
52470da3
MK
137782004-01-18 Mark Kettenis <kettenis@gnu.org>
13779
7049b4b8
MK
13780 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
13781 used with gdb_test_multiple.
13782
52470da3
MK
13783 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
13784 read at address 0. This fixes PR testsuite/1504.
13785
da6012e5
DJ
137862004-01-18 Daniel Jacobowitz <drow@mvista.com>
13787
13788 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
13789 Remove downloading, guessing the host executable, the calls to
13790 gdb_file_cmd and gdb_target_cmd, and "load" support.
13791 (infer_host_exec): New function broken out from gdb_load.
13792 (gdb_load): New wrapper for gdbserver_gdb_load.
13793 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
13794 gdb_target_cmd. Use -target-select.
13795 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
13796 Download binaries to the host. Clear last_mi_remote_file when
13797 we load a new binary.
13798 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
13799 call gdbserver_gdb_load and mi_gdb_target_cmd.
13800
32c70722
MC
138012004-01-17 Michael Chastain <mec.gnu@mindspring.com>
13802
13803 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
13804 type patterns.
13805
b0cecf36
MC
138062004-01-17 Michael Chastain <mec.gnu@mindspring.com>
13807
13808 * gdb.cp/templates.exp: Fix typo in test name of
13809 "print Foo<volatile char*>::foo".
13810
4120d7e6
MC
138112004-01-15 Michael Chastain <mec.gnu@mindspring.com>
13812
13813 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
13814
f679e530
BE
138152004-01-16 Ben Elliston <bje@wasabisystems.com>
13816
13817 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
13818 (clean mostlyclean): Remove empty rm.
13819
091c48f6
MC
138202004-01-15 Michael Chastain <mec.gnu@mindspring.com>
13821
13822 * gdb.base/setvar.exp: Add copyright years.
13823
3e5fc8d2
DC
138242004-01-14 David Carlton <carlton@bactrian.org>
13825
13826 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
13827 PR c++/1511 and update coment.
13828 * gdb.cp/templates.exp: Update patterns to match current output.
13829 If changes involve something other than whitespace, KFAIL
13830 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
13831
63d06c5c
DC
138322004-01-14 David Carlton <carlton@kealia.com>
13833
13834 * gdb.cp/namespace.exp: Add tests involving classes defined within
13835 namespaces.
13836 * gdb.cp/namespace.cc (C::CClass): New.
13837 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
13838
a51dab88
EZ
138392004-01-14 Elena Zannoni <ezannoni@redhat.com>
13840
13841 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
13842 what debug info we have. Print a better message if something goes
13843 wrong while producing the separate debug info file.
13844
a476ccc9
MC
138452004-01-14 Michael Chastain <mec.gnu@mindspring.com>
13846
13847 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
13848
f453692c
MC
138492004-01-14 Michael Chastain <mec.gnu@mindspring.com>
13850
13851 * gdb.base/callfuncs.c: Add copyright notice.
13852
f40063a5
MC
138532004-01-13 Michael Chastain <mec.gnu@mindspring.com>
13854
13855 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
13856 inheritance. PR gdb/1498, PR gcc/13539.
13857
19ac3974
EZ
138582004-01-13 Elena Zannoni <ezannoni@redhat.com>
13859
a9c64011
AS
13860 * gdb.threads/gcore-thread.exp: Prefix name of binary with
13861 test specific name.
13862 * gdb.mi/gdb669.exp: Ditto.
13863 * gdb.mi/mi-pthreads.exp: Ditto.
13864 * gdb.mi/mi1-pthreads.exp: Ditto.
13865 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 13866
56c97c6e
MC
138672004-01-12 Michael Chastain <mec.gnu@mindspring.com>
13868
13869 * gdb.cp/member-ptr.cc: Add copyright notice.
13870
a0644324
MC
138712004-01-12 Michael Chastain <mec.gnu@mindspring.com>
13872
13873 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
13874 some patterns for recent versions of gcc and hpacc. Delete
13875 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
13876 Delete tests that access a NULL pointer-to-member-data. This
13877 script is still disabled for gcc.
13878
32fabe09
EZ
138792004-01-12 Elena Zannoni <ezannoni@redhat.com>
13880
13881 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 13882 escaped correctly.
32fabe09 13883
1f8a6abb
EZ
138842004-01-12 Elena Zannoni <ezannoni@redhat.com>
13885
13886 * gdb.base/sepdebug.exp: New file.
13887 * gdb.base/sepdebug.c: New file.
13888 * lib/gdb.exp (separate_debug_filename): New procedure.
13889 (gdb_gnu_strip_debug): New procedure.
13890
48efe704
AC
138912004-01-12 Andrew Cagney <cagney@redhat.com>
13892
13893 * gdb.mi/ChangeLog: Delete file. Renamed to ...
13894 * gdb.mi/ChangeLog-1999-2003: New file.
13895
a9415475
AC
138962004-01-12 Andrew Cagney <cagney@redhat.com>
13897
13898 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
13899 "Renaming a directory to a non-empty directory returns ENOTEMPTY
13900 or EEXIST", treat EBUSY as an XFAIL.
13901
83b8cf9d
MC
139022004-01-11 Michael Chastain <mec.gnu@mindspring.com>
13903
13904 * gdb.base/scope.exp: Remove obsolete setup_xfail for
13905 hp_cc_compiler.
13906
9939d2a8
MC
139072004-01-10 Michael Chastain <mec.gnu@mindspring.com>
13908
13909 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
13910 decorations.
13911
1ff8cadf
MC
139122004-01-10 Michael Chastain <mec.gnu@mindspring.com>
13913
13914 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
13915 and "(aCC)" decorations. Remove obsolete doco about old
13916 test results.
13917
6fa9022e
MC
139182004-01-09 Michael Chastain <mec.gnu@mindspring.com>
13919
13920 * gdb.cp/exception.exp: Fix typo in doco.
13921
209721fe
MK
139222004-01-09 Mark Kettenis <kettenis@gnu.org>
13923
13924 * gdb.base/gdb1476.exp: Fix typo.
13925
ef11303e
MC
139262004-01-09 Michael Chastain <mec.gnu@mindspring.com>
13927
13928 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
13929 file.
13930
041ab88c
MC
139312004-01-09 Michael Chastain <mec.gnu@mindspring.com>
13932
13933 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
13934 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
13935 Use gdb_compile. Remove restriction on gcc. Add some patterns
13936 for recent version of gdb. Delete second half, which was a copy
13937 of the first half with different build flags. This test is
13938 still disabled because it is still not ready for production.
13939
e36d075a
MC
139402004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13941
13942 * gdb.cp/exception.cc: Add copyright notice.
13943 * gdb.cp/exception.exp: Add a notice that this file is broken
13944 because of line number changes caused by addition of copyright
13945 notice.
13946
42b190ad
MC
139472004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13948
13949 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
13950 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
13951
8f25f06b
MC
139522004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13953
13954 * gdb.cp/classes.exp: Accept gnu abi 2.
13955 * gdb.cp/derivation.exp: Likewise.
13956 * gdb.cp/overload.exp: Likewise.
13957 * gdb.cp/virtfunc.exp: Likewise.
13958
06ded8b8
MC
139592004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13960
13961 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
13962 semicolon after end of function.
13963
77c26ae3
MC
139642004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13965
13966 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
13967 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
13968 boilerplate code for compiling and running the program under
13969 test. Add some string method tests.
13970
20757486
MC
139712004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13972
13973 * gdb.cp/bs15503.cc: Add copyright notice.
13974 * gdb.cp/bs15503.exp: Adjust line number.
13975
0fd3b503
MC
139762004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13977
13978 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
13979 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
13980
10d1bea8
MC
139812004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13982
13983 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
13984 hp_cc_compiler.
13985
2789202a
MC
139862004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13987
13988 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
13989 * gdb.cp/ctti.exp: Use the marker instead of "next".
13990 With gcc, run further before bailing.
13991
b862f14c
MC
139922004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13993
13994 * gdb.cp/cttiadd.cc: Add copyright notice.
13995 * gdb.cp/cttiadd1.cc: Likewise.
13996 * gdb.cp/cttiadd2.cc: Likewise.
13997 * gdb.cp/cttiadd3.cc: Likewise.
13998
96da2469
MC
139992004-01-07 Michael Chastain <mec.gnu@mindspring.com>
14000
14001 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
14002 Use gdb_test, gdb_test_multiple. Use floating-point values that
14003 have exact representations in IEEE-ish formats.
14004
053248ff
MC
140052004-01-07 Michael Chastain <mec.gnu@mindspring.com>
14006
14007 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
14008 compilers. Delete duplicate call to get_compiler_info.
14009 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
14010 * gdb.base/volatile.exp: Likewise.
14011
84acecdd
MK
140122004-01-07 Mark Kettenis <kettenis@gnu.org>
14013
14014 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
14015 memory at address 0.
14016
fe11a27f
MC
140172004-01-07 Michael Chastain <mec.gnu@mindspring.com>
14018
14019 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
14020 to test for hp-ux assembler. Fix copyright years.
14021
60ad077b
AC
140222004-01-07 Andrew Cagney <cagney@redhat.com>
14023
14024 * gdb.base/fileio.c (strerrno): Add "EBUSY".
14025
1c9b8f33
AC
140262004-01-07 Andrew Cagney <cagney@redhat.com>
14027
14028 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
14029 when creating the read-only file. From analysis by Roland McGrath
14030 and Elena Zannoni.
14031
753ccc7a
MC
140322004-01-06 Michael Chastain <mec.gnu@mindspring.com>
14033
14034 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
14035
eca3e36b
MC
140362004-01-06 Michael Chastain <mec.gnu@mindspring.com>
14037
14038 * gdb.base/cvexpr.c: Be type-safe with function pointers and
14039 data pointers.
14040
f8d4bac4
MC
140412004-01-06 Michael Chastain <mec.gnu@mindspring.com>
14042
14043 * gdb.cp/m-static.exp: Compile one source file at a time.
14044 Delete unused call to get_compiler_info.
14045
9b4e0f94
MC
140462004-01-06 Michael Chastain <mec.gnu@mindspring.com>
14047
14048 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
14049 * gdb.base/call-rt-st.exp: Likewise.
14050 * gdb.base/nodebug.exp: Likewise.
14051 * gdb.base/volatile.exp: Likewise.
14052 * gdb.cp/ref-types.exp: Likewise.
14053 * gdb.cp/templates.exp: Likewise.
14054
023c1024
MK
140552004-01-05 Mark Kettenis <kettenis@gnu.org>
14056
14057 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
14058
19703c4a
MC
140592004-01-05 Michael Chastain <mec.gnu@mindspring.com>
14060
14061 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
14062 hppa*-hp-hpux*.
14063
18b67037
MK
140642004-01-04 Mark Kettenis <kettenis@gnu.org>
14065
ba6219c8
MK
14066 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
14067 x86_64-*-*.
14068
18b67037
MK
14069 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
14070 sparc64-*-* and sparc*-solaris2*.
14071
1bfbbb9d
MK
140722004-01-04 Mark Kettenis <kettenis@gnu.org>
14073
14074 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
14075 return ${tests}" test. The ${tests} already mentions the
14076 filename.
14077
06846494
MC
140782004-01-02 Michael Chastain <mec.gnu@mindspring.com>
14079
14080 * gdb.cp/local.exp: Accept gcc abi 2.
14081
3b0cb202
MC
140822004-01-02 Michael Chastain <mec.gnu@mindspring.com>
14083
14084 * gdb.cp/templates.exp: Accept gcc abi 2.
14085
0643ec3f
MC
140862004-01-02 Michael Chastain <mec.gnu@mindspring.com>
14087
14088 * lib/compiler.cc: Remove supports_template_debugging.
14089 * gdb.cp/templates.exp: Do not test supports_template_debugging.
14090
d231d0b1
MC
140912004-01-01 Michael Chastain <mec.gnu@mindspring.com>
14092
14093 * gdb.cp/namespace.exp: Accept gcc abi 2.
14094
44ffb27c
MC
140952004-01-01 Michael Chastain <mec.gnu@mindspring.com>
14096
14097 * gdb.cp/method.exp: Accept gcc abi 2.
14098
184ad485
MC
140992004-01-01 Michael Chastain <mec.gnu@mindspring.com>
14100
14101 * gdb.cp/classes.exp: Generate identical results as old version.
14102 * gdb.cp/derivation.exp: Likewise.
14103 * gdb.cp/overload.exp: Likewise.
14104 * gdb.cp/virtfunc.exp: Likewise.
14105
116f09e7
MC
141062004-01-01 Michael Chastain <mec.gnu@mindspring.com>
14107
14108 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
14109 mysterious bug with sourceware version of expect.
14110
b1379776
MC
141112004-01-01 Michael Chastain <mec.gnu@mindspring.com>
14112
14113 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
14114 current versions of gcc, including gcc abi 2. Remove gratuitous
14115 restart of test program. Use gdb_test_multiple and gdb_test for
14116 all tests. Add patterns to xfail missing "const" in "const char *"
14117 and kfail PR gdb/1155.
14118
6b7a4c0e
MC
141192004-01-01 Michael Chastain <mec.gnu@mindspring.com>
14120
14121 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
14122 current versions of gcc, including gcc abi 2. Remove gratuitous
14123 restart of test program. Use gdb_test_multiple and gdb_test for
14124 all tests. Add patterns to kfail PR gdb/1498.
14125
51615d72
MC
141262003-12-31 Michael Chastain <mec.gnu@mindspring.com>
14127
14128 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
14129 current versions of gcc, including gcc abi 2. Use "breakpoint"
14130 and "continue" instead of restarting the target program. Use
14131 gdb_test_multiple and gdb_test for all tests.
14132
7b79a9d7
MK
141332004-01-01 Mark Kettenis <kettenis@gnu.org>
14134
14135 * gdb.asm/asm-source.exp: Update copyright year. Link statically
14136 for *-*-solaris2*.
14137
1cd3489f
MC
141382003-12-31 Michael Chastain <mec.gnu@mindspring.com>
14139
14140 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
14141 current versions of gcc, including gcc abi 2. Use "breakpoint"
14142 and "continue" instead of restarting the target program several
14143 times. Use gdb_test_multiple and gdb_test for all tests.
14144
850742db
MC
141452003-12-18 Michael Chastain <mec.gnu@mindspring.com>
14146
14147 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
14148 source files.
14149
eb4bbda8
MC
141502003-12-16 Michael Chastain <mec.gnu@mindspring.com>
14151
14152 * gdb.base/environ.exp: Handle compiling test case from multiple
14153 source files.
14154
e42c7771
MC
141552003-12-16 Michael Chastain <mec.gnu@mindspring.com>
14156
14157 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
14158
80e4b428
JB
141592003-12-17 Jim Blandy <jimb@redhat.com>
14160
5f06973a
JB
14161 * gdb.base/freebpcmd.c: Add copyright notice.
14162
80e4b428
JB
14163 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
14164
0ab84fb7
MC
141652003-12-16 Michael Chastain <mec.gnu@mindspring.com>
14166
14167 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
14168
1b3bb3d0
JB
141692003-12-13 Jim Blandy <jimb@redhat.com>
14170
14171 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
14172
3a4c9371
KB
141732003-12-12 Kevin Buettner <kevinb@redhat.com>
14174
14175 * gdb.asm/frv.inc: New file.
14176 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
14177
a1dea79a
FF
141782003-12-09 Fred Fish <fnf@redhat.com>
14179
14180 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
14181 functions to break1.c and leave prototypes behind. Add more
14182 "set breakpoint NN here" comments.
14183 * gdb.base/break1.c: New file.
14184
14185 * gdb.base/break.exp: Handle compiling test case from multiple
14186 source files and change source file references as needed.
14187 * gdb.base/completion.exp: Ditto.
14188 * gdb.base/condbreak.exp: Ditto.
14189 * gdb.base/define.exp: Ditto.
14190 * gdb.base/ena-dis-br.exp: Ditto.
14191 * gdb.base/info-proc.exp: Ditto.
14192 * gdb.base/maint.exp: Ditto.
14193 * gdb.base/until.exp: Ditto.
14194
14195 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
14196 hardcoded line numbers.
14197 * gdb.base/define.exp: Ditto.
14198 * gdb.base/ena-dis-br.exp: Ditto.
14199 * gdb.base/maint.exp: Ditto.
14200 * gdb.base/until.exp: Ditto.
14201
14202 * gdb.base/completion.exp: Use "break1" for completion tests since
14203 "break" is no longer a unique prefix.
14204
5266b69c
AC
142052003-12-06 Andrew Cagney <cagney@redhat.com>
14206
14207 * gdb.base/structs.exp (test_struct_returns): When applicable, set
14208 "return_value_unimplemented". When an unimplemented struct return
14209 architecture, report incorrect values as a KFAIL
14210
374451f0
MC
142112003-12-05 Michael Chastain <mec.gnu@mindspring.com>
14212
14213 * gdb.cp/rtti.exp: Accept new wording of warning from
14214 cp_lookup_rtti_type.
14215
ba9b20a7
MC
142162003-12-05 Michael Chastain <mec.gnu@mindspring.com>
14217
14218 Partial fix for PR testsuite/1456.
14219 * gdb.base/scope.exp (test_at_main): Replace references to
14220 gcc_compiled with calls to test_compiler_info.
14221 (test_at_foo): Likewise.
14222 (test_at_bar): Likewise.
14223
b74b6d0b
MC
142242003-12-04 Michael Chastain <mec.gnu@mindspring.com>
14225
14226 Partial fix for PR testsuite/1456.
14227 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
14228 to test_compiler_info.
14229
ccfa3402
MC
142302003-12-03 Michael Chastain <mec.gnu@mindspring.com>
14231
14232 * gdb.base/so-impl-ld.exp: Update copyright notice.
14233
f6246aba
MC
142342003-12-02 Michael Chastain <mec.gnu@mindspring.com>
14235
14236 Partial fix for PR testsuite/1456.
14237 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
14238 to test_compiler_info.
14239
13ae734a
MC
142402003-11-28 Michael Chastain <mec.gnu@mindspring.com>
14241
14242 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
14243 from current versions of gdb. Clean up regular expressions.
14244 Delete redundant timeout case.
14245
d8e1cdee
MC
142462003-11-28 Michael Chastain <mec.gnu@mindspring.com>
14247
14248 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
14249 from current versions of gdb. Clean up regular expressions.
14250 Delete redundant timeout case.
14251
96457b64
MC
142522003-12-01 Michael Chastain <mec.gnu@mindspring.com>
14253
14254 Partial fix for PR testsuite/1456.
14255 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
14256 gcc_compiled with call to test_compiler_info.
14257
f35309fc
MC
142582003-11-30 Michael Chastain <mec.gnu@mindspring.com>
14259
14260 Partial fix for PR testsuite/1456.
14261 * gdb.base/list.exp (test_list_function): Delete unused declaration
14262 of gcc_compiled.
14263
d7afdf9b
MC
142642003-11-29 Michael Chastain <mec.gnu@mindspring.com>
14265
14266 Partial fix for PR testsuite/1456.
14267 * gdb.base/complex.exp: Replace reference to gcc_compiled with
14268 call to test_compiler_info.
14269
71507b56
MK
142702003-11-29 Mark Kettenis <kettenis@gnu.org>
14271
14272 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
14273 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
14274 it to create the appropriate note.inc.
14275 * gdb.asm/asmsrc1.s: Include "note.inc".
14276 * gdb.asm/netbsd.inc: New file.
14277 * gdb.asm/empty.inc: New file.
14278
f81f93f7
MC
142792003-11-28 Michael Chastain <mec.gnu@mindspring.com>
14280
14281 Partial fix for PR testsuite/1456.
14282 * gdb.base/constvars.exp: Replace references to gcc_compiled with
14283 calls to test_compiler_info.
14284
9a77938e
MC
142852003-11-27 Michael Chastain <mec.gnu@mindspring.com>
14286
14287 Partial fix for PR testsuite/1456.
14288 * gdb.base/volatile.exp: Replace references to gcc_compiled with
14289 calls to test_compiler_info.
14290
e8367dc7
MK
142912003-11-27 Mark Kettenis <kettenis@gnu.org>
14292
14293 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
14294 pattern for the KFAILs.
14295
526c61ee
AF
142962003-11-25 Adam Fedor <fedor@gnu.org>
14297
14298 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
14299 * gdb.objc/objcdecode.m: New file.
14300
28f2d600
AF
143012003-11-25 Adam Fedor <fedor@gnu.org>
14302
14303 * gdb.objc/nondebug.exp: Test for PR objc/1236.
14304 * gdb.objc/nondebug.m: New file.
14305
a3895cee
BE
143062003-11-26 Ben Elliston <bje@wasabisystems.com>
14307
14308 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
14309 NetBSD as it does on FreeBSD. Modelled on a similar change by
14310 Mark Kettenis on 2003-05-30.
14311 (link-flags): Set to "--entry _start" regardless of target.
14312 Special linker flags are to be appended to $link-flags.
14313 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
14314
c9f2c8a3
MC
143152003-11-25 Michael Chastain <mec.gnu@mindspring.com>
14316
14317 * gdb.cp/method.exp: Accept output of new demangler.
14318
15a0587a 143192003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
14320
14321 * gdb/class2.exp: New file.
14322 * gdb/class2.cc: New file.
14323
3c00b570
MC
143242003-11-25 Michael Chastain <mec.gnu@mindspring.com>
14325
14326 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
14327 of new demangler.
14328
7027acc7
MK
143292003-11-23 Mark Kettenis <kettenis@gnu.org>
14330
14331 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
14332 of gdb_test "run".
14333
b0e1598a
MK
143342003-11-23 Mark Kettenis <kettenis@gnu.org>
14335
14336 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
14337 "continue" into "run".
14338
4d9eda44
MC
143392003-11-23 Michael Chastain <mec.gnu@mindspring.com>
14340
14341 Partial fix for PR testsuite/1456.
14342 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
14343 call to test_compiler_info.
14344 * gdb.cp/ctti.exp: Likewise.
14345 * gdb.cp/derivation.exp: Likewise.
14346 * gdb.cp/member-ptr.exp: Likewise.
14347 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
14348 reference to gcc_compiled.
14349
143502003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
14351
14352 Fix PR testsuite/1463.
14353 * gdb.base/structs.exp (start_structs_test): Call
14354 get_debug_format before using the debug format.
14355
d422fe19
AC
143562003-11-22 Andrew Cagney <cagney@redhat.com>
14357
14358 * lib/gdb.exp (gdb_test_multiple): Add simple example.
14359 * gdb.base/structs.exp: Use gdb_test_multiple.
14360
039cf96d
AC
143612003-11-20 Andrew Cagney <cagney@redhat.com>
14362
6882279b
AC
14363 * gdb.base/structs.exp: Handle and recover from internal errors.
14364 Replace "foo${n}" with "foo<n>" in test messages.
14365
e53890ae
AC
14366 * gdb.base/structs.exp: Update copyright. Rewrite.
14367 * gdb.base/structs.c: Update copyright. Rewrite.
14368
2b211c59
AC
14369 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
14370 resync count exceeded.
d63a86f8 14371
039cf96d
AC
14372 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
14373 from the internal error.
14374 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
14375 Original from Jim Blandy.
14376 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 14377
eac98b22
AC
143782003-11-19 Andrew Cagney <cagney@redhat.com>
14379
14380 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
14381 KFAIL.
14382
67455b2a
MK
143832003-11-17 Mark Kettenis <kettenis@gnu.org>
14384
14385 New testcase for PR backtrace/1435.
14386 * gdb.arch/i386-unwind.exp: New file.
14387 * gdb.arch/i386-unwind.c: New file.
14388
853d6e5b
AC
143892003-11-17 Andrew Cagney <cagney@redhat.com>
14390
14391 * lib/gdb.exp (compiler_info): New global.
14392 (test_compiler_info): New function.
14393 (get_compiler_info): Set compiler_info.
14394 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
14395 "compiler_info" to gcc-<major>-<minor>.
14396
38cf6e11
MC
143972003-11-15 Michael Chastain <mec.gnu@mindspring.com>
14398
14399 * gdb.trace/configure: Remove.
14400
a50d3602
EZ
144012003-11-13 Elena Zannoni <ezannoni@redhat.com>
14402
14403 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 14404 breakpoints.
a50d3602
EZ
14405 * gdb.base/break.exp: Remove all references to explicit line
14406 numbers.
14407
d9407aaa
NC
144082003-11-11 Nick Clifton <nickc@redhat.com>
14409
14410 * gdb.base/shreloc.exp: Do not run for targets which do not
14411 support shared objects.
14412
db488fc1
CV
144132003-11-10 Corinna Vinschen <vinschen@redhat.com>
14414
14415 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
14416 Don't run tests if nofileio flag is given.
14417
6a90a18e
EZ
144182003-11-07 Elena Zannoni <ezannoni@redhat.com>
14419
14420 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 14421 as well as 'Watchpoint'.
6a90a18e 14422
0b915e9c
EZ
144232003-11-06 Elena Zannoni <ezannoni@redhat.com>
14424
14425 Reported by Jim Ingham <jingham@apple.com>:
14426 * gdb.base/annota1.exp: Match at least one occurrence of the
14427 signal handler annotation.
14428
d7e4b55f
EZ
144292003-11-06 Elena Zannoni <ezannoni@redhat.com>
14430
a9c64011
AS
14431 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
14432 as well as 'Watchpoint'.
d7e4b55f 14433
2fe4e8d0
MC
144342003-11-05 Michael Chastain <mec@shout.net>
14435
14436 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
14437
6ef88553
KW
144382003-11-03 Kris Warkentin <kewarken@qnx.com>
14439
14440 * gdb.arch/gdb1291.c: New test file.
14441 * gdb.arch/gdb1291.exp: New test script.
14442 * gdb.arch/gdb1431.c: New test file.
14443 * gdb.arch/gdb1431.exp: New test script.
14444
ae7dc4d8
MC
144452003-10-22 Michael Chastain <mec@shout.net>
14446
14447 * gdb.mi/pthreads.c: Add copyright notice.
14448
c39d7427
MC
144492003-10-22 Michael Chastain <mec@shout.net>
14450
14451 * gdb.threads/pthreads.c: Add copyright notice.
14452
8b7d96c1
MC
144532003-10-20 Michael Chastain <mec@shout.net>
14454
14455 * gdb.base/gdb1056.exp: New test script.
14456
d1d69fdd
DJ
144572003-10-13 Daniel Jacobowitz <drow@mvista.com>
14458
14459 * gdb.threads/killed.exp: Use gdb_run_cmd.
14460
7d605576
DJ
144612003-10-13 Daniel Jacobowitz <drow@mvista.com>
14462
14463 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
14464 create a core file.
14465 * gdb.threads/gcore-thread.exp: Likewise.
14466
618ec112
CV
144672003-10-13 Corinna Vinschen <vinschen@redhat.com>
14468
14469 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
14470 type, based on char type.
14471 (struct bit_flags_short_t): New bitfield type, based on short type.
14472 (init_bit_flags_char): New fuction.
14473 (init_bit_flags_short): Ditto.
14474 (print_bit_flags_char): Ditto.
14475 (print_bit_flags_short): Ditto.
14476 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
14477
9367a73c
MC
144782003-10-11 Michael Chastain <mec@shout.net>
14479
14480 * gdb.base/call-rt-st.exp: Update copyright year.
14481
1decf120
KI
144822003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
14483
14484 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
14485 * gdb.disasm/sh3.s: Ditto.
14486
5445b2ae
DJ
144872003-10-07 Daniel Jacobowitz <drow@mvista.com>
14488
14489 * gdb.threads/switch-threads.exp: New test.
14490 * gdb.threads/switch-threads.c: New source file.
14491
aec24853
CV
144922003-10-07 Corinna Vinschen <vinschen@redhat.com>
14493
14494 * gdb.base/ending-run.exp: Add sh specific case.
14495
adc7428d
AC
144962003-10-06 Andrew Cagney <cagney@redhat.com>
14497
14498 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
14499 * gdb.disasm/mn10200.exp: Delete obsolete file.
14500
c9d37158
DJ
145012003-09-29 Daniel Jacobowitz <drow@mvista.com>
14502
14503 * ChangeLog: Correct an entry command.exp -> commands.exp.
14504 * gdb.base/commands.exp (bp_deleted_in_command_test)
14505 (temporary_breakpoint_commands): Check noargs.
14506
79c2c32d
DC
145072003-09-25 David Carlton <carlton@kealia.com>
14508
14509 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
14510 of some print tests, where appropriate. Add tests for C::D::cd,
14511 E::ce, F::cXfX, G::XgX.
14512 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
14513
594e6d67
RE
145142003-09-25 Richard Earnshaw <rearnsha@arm.com>
14515
14516 * lib/java.exp (java_init): Import target_alias before using it.
14517
10f0d451
DC
145182003-09-25 David Carlton <carlton@kealia.com>
14519
14520 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
14521
274bcba0
EZ
145222003-09-23 Elena Zannoni <ezannoni@redhat.com>
14523
d63a86f8 14524 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 14525 weirdness.
274bcba0 14526
cdbf20f7
MC
145272003-09-17 Michael Chastain <mec@shout.net>
14528
14529 * gdb.cp/gdb1355.exp: New file.
14530 * gdb.cp/gdb1355.c: New file.
14531
71e06f80
CV
145322003-09-15 Corinna Vinschen <vinschen@redhat.com>
14533
14534 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
14535 * gdb.asm/sh.inc: New file.
14536
5c4e30ca
DC
145372003-09-11 David Carlton <carlton@kealia.com>
14538
bd45b7af
DC
14539 * gdb.cp/namespace.exp: Add tests for namespace types.
14540 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
14541 (test_namespace): New.
14542
1c199746
EZ
145432003-09-11 Elena Zannoni <ezannoni@redhat.com>
14544
a9c64011 14545 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 14546 * gdb.stabs/weird.exp: Ditto.
1c199746 14547
04ed252f
MC
145482003-09-08 Michael Chastain <mec@shout.net>
14549
14550 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
14551
d8a2d9e7
MC
145522003-09-07 Michael Chastain <mec@shout.net>
14553
14554 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
14555 'parse error'.
14556
161afb24
MK
145572003-09-07 Mark Kettenis <m.kettenis@osp.nl>
14558
14559 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
14560
49f2741a
MC
145612003-08-30 Michael Chastain <mec@shout.net>
14562
14563 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
14564 * gdb.gdb/observer.exp: Ditto.
14565 * gdb.gdb/xfullpath.exp: Ditto.
14566
8afa723e
MK
145672003-08-29 Mark Kettenis <kettenis@gnu.org>
14568
14569 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
14570 *-*-*bsd*.
14571
f31dfe3b
JJ
145722003-08-28 Jeff Johnston <jjohnstn@redhat.com>
14573
14574 * gdb.base/dump.exp: Skip for ia64.
14575
4630e498
JJ
145762003-08-25 Jeff Johnston <jjohnstn@redhat.com>
14577
14578 * gdb.asm/asm-source.exp: Add ia64 support.
14579 * gdb.asm/ia64.inc: New file.
14580
1105b7ef
MC
145812003-08-22 Michael Chastain <mec@shout.net>
14582
14583 * gdb.cp: New directory.
14584 * gdb.cp/*: Copy from gdb.c++/*.
14585 * gdb.c++/*: Remove.
14586 * Makefile.in: Change gdb.c++ to gdb.cp.
14587 * configure.in: Ditto.
14588 * configure: Regnerate.
14589
c945b932
MK
145902003-08-18 Mark Kettenis <kettenis@gnu.org>
14591
14592 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
14593 * gdb.arch/i386-prologue.c (gdb1338): Add function.
14594
2b66634b
DJ
145952003-08-17 Daniel Jacobowitz <drow@mvista.com>
14596
14597 * mi-var-display.exp (-var-list-children weird): Accept function
14598 pointers with argument types.
14599 * mi1-var-display.exp (-var-list-children weird): Likewise.
14600 * mi2-var-display.exp (-var-list-children weird): Likewise.
14601
a356f73b
DJ
146022003-08-17 Daniel Jacobowitz <drow@mvista.com>
14603
14604 * gdb.base/annota3.exp: Add missing newline.
14605
483417b8
MC
146062003-08-06 Michael Chastain <mec@shout.net>
14607
14608 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
14609
c99c59c3
MS
146102003-08-12 Michael Snyder <msnyder@redhat.com>
14611
14612 * gdb.base/float.exp: Add test for SH.
14613
55ed7501
MK
146142003-08-10 Mark Kettenis <kettenis@gnu.org>
14615
14616 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
14617
1a371f2e
EZ
146182003-08-07 Elena Zannoni <ezannoni@redhat.com>
14619
14620 * gdb.base/completion.exp: Remove reduntant completion test
14621 on filename.
14622
e0f353ce
EZ
146232003-08-07 Elena Zannoni <ezannoni@redhat.com>
14624
a9c64011
AS
14625 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
14626 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
14627 gdb.trace/save-trace.exp: Make sure that full pathnames are
14628 escaped correctly.
e0f353ce 14629
5710a1af 146302003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 14631
a9c64011
AS
14632 * configure.in: Don't generate config.h from config.hin.
14633 * configure: Regenerate.
14634 * config.hin: Remove file.
14635 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
14636 * gdb.threads/pthreads.c: Ditto.
5710a1af 14637
dcd81ce9
DJ
146382003-08-07 Daniel Jacobowitz <drow@mvista.com>
14639
14640 From Kei Sakamoto <sakamoto.kei@renesas.com>:
14641 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
14642 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
14643 Replace ld24 with seth/add3.
14644
6009d884
AC
146452003-08-02 Andrew Cagney <cagney@redhat.com>
14646
14647 * gdb.base/annota3.exp: New file.
14648 * gdb.base/annota3.c: New file.
14649 * gdb.c++/annota3.exp: New file.
14650 * gdb.c++/annota3.cc: New file.
14651
51514e06
MC
146522003-07-29 Michael Chastain <mec@shout.net>
14653
14654 * gdb.threads/tls.c (spin): Check errno only if sem_wait
14655 actually failed.
14656 (do_pass): Likewise.
14657 * gdb.threads/tls.exp: Always initialize no_of_threads.
14658
4ee6625b
DJ
146592003-07-27 Daniel Jacobowitz <drow@mvista.com>
14660
14661 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
14662 pattern.
14663 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
14664 * gdb.threads/tls.exp: Recognize one case of the host library not
14665 supporting TLS.
14666
225f2bf6
AC
146672003-07-27 Andrew Cagney <cagney@redhat.com>
14668
14669 * gdb.base/fileio.exp: Use SH when running commands using
14670 remote_exec.
14671
bcb27c9f
DJ
146722003-07-24 Daniel Jacobowitz <drow@mvista.com>
14673
14674 From Kei Sakamoto <sakamoto.kei@renesas.com>:
14675 * gdb.base/relocate.c (dummy): New padding array.
14676
3d67be83
MS
146772003-07-22 Michael Snyder <msnyder@redhat.com>
14678
d63a86f8 14679 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
14680
14681 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
14682 patterns to be more general, accepting old and new output.
14683 Some output chars (such as '+') also must be quoted.
d63a86f8 14684 Some addresses are displayed numerically instead of
3d67be83
MS
14685 symbolically.
14686
57ba3b85
MS
146872003-07-23 Michael Snyder <msnyder@redhat.com>
14688
686d097c
MS
14689 * gdb.base/return2.exp: Don't test long-long return.
14690
57ba3b85
MS
14691 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
14692 * gdb.disasm/t01_mov.exp: Ditto.
14693 * gdb.disasm/t02_mova.s: Ditto.
14694 * gdb.disasm/t02_mova.exp: Ditto.
14695 * gdb.disasm/t03_add.s: Ditto.
14696 * gdb.disasm/t03_add.exp: Ditto.
14697 * gdb.disasm/t04_sub.s: Ditto.
14698 * gdb.disasm/t04_sub.exp: Ditto.
14699 * gdb.disasm/t05_cmp.s: Ditto.
14700 * gdb.disasm/t05_cmp.exp: Ditto.
14701 * gdb.disasm/t06_ari2.s: Ditto.
14702 * gdb.disasm/t06_ari2.exp: Ditto.
14703 * gdb.disasm/t07_ari3.s: Ditto.
14704 * gdb.disasm/t07_ari3.exp: Ditto.
14705 * gdb.disasm/t08_or.s: Ditto.
14706 * gdb.disasm/t08_or.exp: Ditto.
14707 * gdb.disasm/t09_xor.s: Ditto.
14708 * gdb.disasm/t09_xor.exp: Ditto.
14709 * gdb.disasm/t10_and.s: Ditto.
14710 * gdb.disasm/t10_and.exp: Ditto.
14711 * gdb.disasm/t11_logs.s: Ditto.
14712 * gdb.disasm/t11_logs.exp: Ditto.
14713 * gdb.disasm/t12_bit.s: Ditto.
14714 * gdb.disasm/t12_bit.exp: Ditto.
14715 * gdb.disasm/t13_otr.s: Ditto.
14716 * gdb.disasm/t13_otr.exp: Ditto.
14717
e00759ef
EZ
147182003-07-22 Elena Zannoni <ezannoni@redhat.com>
14719
14720 * gdb.threads/tls.exp :Add kfail for 'info address' case.
14721
8bc2021f
EZ
147222003-07-22 Elena Zannoni <ezannoni@redhat.com>
14723
a9c64011
AS
14724 * gdb.threads/tls.c : New file.
14725 * gdb.threads/tls.exp : New file.
14726 * gdb.threads/tls-main.c : New file.
14727 * gdb.threads/tls-shared.c : New file.
14728 * gdb.threads/tls-shared.exp : New file.
8bc2021f 14729
89320c4c
AS
147302003-07-22 Andreas Schwab <schwab@suse.de>
14731
14732 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
14733
180dea7c
AS
147342003-07-20 Andreas Schwab <schwab@suse.de>
14735
14736 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
14737 due to insn reordering.
14738
0714963c
AC
147392003-07-15 Andrew Cagney <cagney@redhat.com>
14740
14741 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
14742
98a23b3f
MC
147432003-07-15 Michael Chastain <mec@shout.net>
14744
14745 * gdb.base/gdb1250.exp: New file.
14746 * gdb.base/gdb1250.c: New file.
14747
27e417a2
ML
147482003-07-09 Michal Ludvig <mludvig@suse.cz>
14749
14750 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
14751 expansion of size_t to 'unsigned long', not only to 'unsigned'.
14752
8bc2021f
EZ
147532003-07-09 Elena Zannoni <ezannoni@redhat.com>
14754
a9c64011
AS
14755 * gdb.threads/tls.c: New file.
14756 * gdb.threads/tls.exp: New file.
14757 * gdb.threads/tls-main.c: New file.
14758 * gdb.threads/tls-shared.c: New file.
14759 * gdb.threads/tls-shared.exp: New file.
8bc2021f 14760
d99968dc
EZ
147612003-07-09 Elena Zannoni <ezannoni@redhat.com>
14762
14763 * gdb.base/annota1.exp: Make sure that we properly escape the
14764 full path of the source file. Xfail more permissive patterns,
d63a86f8 14765 due to a compiler debug info problem.
d99968dc 14766
83876b3b
AS
147672003-07-07 Andreas Schwab <schwab@suse.de>
14768
2705e972
AS
14769 * gdb.asm/m68k.inc: New file.
14770 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
14771
83876b3b
AS
14772 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
14773 arguments"): Also match negative number.
14774
14775 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
14776
3a871b37
DJ
147772003-07-03 Daniel Jacobowitz <drow@mvista.com>
14778
14779 * gdb.base/store.c (charest): New typedef.
14780 (add_char): Rename to add_charest, update.
14781 (wack_char): Rename to wack_charest, update types. Return l + r
14782 to keep r live across the call.
14783 (wack_short, wack_int, wack_long, wack_longest, wack_float)
14784 (wack_double, wack_doublest): Return l + r to keep r live across
14785 the call.
14786 * gdb.base/store.exp: Accomodate store.c changes.
14787
b2a7f303
DC
147882003-06-30 David Carlton <carlton@kealia.com>
14789
14790 * gdb.c++/maint.exp (test_invalid_name): New.
14791 (test_first_component): Add tests for invalid names.
14792
3c6cb4a1
MC
147932003-06-29 Michael Chastain <mec@shout.net>
14794
14795 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
14796 output of '<VTT for class>' for virtual base classes.
14797
f1c2644b
DJ
147982003-06-29 Daniel Jacobowitz <drow@mvista.com>
14799
14800 * gdb.base/completion.exp: Tab-complete "complet" instead of
14801 "compl".
14802 * gdb.base/complex.exp, gdb.base/complex.c: New files.
14803
18080350
DJ
148042003-06-29 Daniel Jacobowitz <drow@mvista.com>
14805
14806 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
14807 * gdb.base/volatile.exp: Likewise.
14808
f56973f8
DJ
148092003-06-29 Daniel Jacobowitz <drow@mvista.com>
14810
14811 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
14812 gdb/1265.
14813
148142003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
14815 Daniel Jacobowitz <drow@mvista.com>
14816
14817 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
14818 initial line count of 'captured_main' from 26 to 32.
14819 (test_with_self): Allow xmalloc call to be interleaved with the
14820 preceding two lines.
14821
e766d4d6
JB
148222003-06-24 Joel Brobecker <brobecker@gnat.com>
14823
14824 * gdb.base/bang.exp: New testcase.
14825
f125c9a4
JB
148262003-06-23 Joel Brobecker <brobecker@gnat.com>
14827
14828 * gdb.base/langs.exp: Add some tests for the "minimal" language
14829 support.
14830
6e25beaf
EZ
148312003-06-23 Elena Zannoni <ezannoni@redhat.com>
14832
14833 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
14834 the testcase.
14835
2f816dda
DJ
148362003-06-22 Daniel Jacobowitz <drow@mvista.com>
14837
14838 * gdb.base/relocate.exp: Test add-symbol-file with a variable
14839 offset.
14840
db5a5748
DJ
148412003-06-22 Daniel Jacobowitz <drow@mvista.com>
14842
14843 * gdb.c++/pr-1210.cc: New file.
14844 * gdb.c++/pr-1210.exp: New file.
14845
1df0c130
DJ
148462003-06-21 Daniel Jacobowitz <drow@mvista.com>
14847
14848 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
14849 000-exec-continue.
14850
a92feac0
MK
148512003-06-15 Mark Kettenis <kettenis@gnu.org>
14852
14853 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
14854 on *-*-*bsd* instead of *-*-freebsd*.
14855
81a58f5b
AC
148562003-06-14 Andrew Cagney <cagney@redhat.com>
14857
14858 * gdb.base/store.exp: Test longest and doublest. Test all
14859 parameters. Weaken return statement match.
14860 * gdb.base/store.c: Add longest and doublest - aka long long and
14861 long double functions. Put all parameters into local register
14862 variables. Use negative values.
14863
b257a0d3
AC
148642003-06-14 Andrew Cagney <cagney@redhat.com>
14865
14866 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
14867 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
14868 exit status.
14869 * gdb.base/fileio.exp: Disable target when nointerrupts and
14870 noinferiorio, instead of limiting it to remote. Use remote_exec
14871 instead of system.
d63a86f8 14872
21c38304
JJ
148732003-06-12 Jeff Johnston <jjohnstn@redhat.com>
14874
14875 * gdb.base/float.exp: Add ia64 support.
14876
1bcdb424
CV
148772003-06-12 Corinna Vinschen <vinschen@redhat.com>
14878
14879 * gdb.base/fileio.exp: Run only on remote targets.
14880
6aeb981f
CV
148812003-06-10 Corinna Vinschen <vinschen@redhat.com>
14882
14883 * gdb.base/fileio.c: New file, testing File-I/O.
14884 * gdb.base/fileio.exp: Ditto.
14885
53df362e
RG
148862003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
14887
14888 * gdb.base/shreloc.exp: New file, check symbol values obtained from
14889 shared objects after relocation at load time (gdb PR/1132).
14890 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 14891 as above, part of the shared object relocation test.
53df362e 14892
ffee1b46
MK
148932003-06-08 Mark Kettenis <kettenis@gnu.org>
14894
b5ca3722
MK
14895 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
14896 fully filled history list.
14897 * gdb.base/gdb_history: New file.
14898
03ed860d
MK
14899 * gdb.base/signals.exp: XFAIL "continue to func1" on
14900 i*86-*-freebsd*.
14901
ffee1b46
MK
14902 * gdb.base/attach.exp: When trying to attach to a nonexistent
14903 process, make it possible to specify the PID based on the target,
14904 and do so for *-*-freebsd*.
14905
d80dbb52
RH
149062003-06-02 Richard Henderson <rth@redhat.com>
14907
14908 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
14909
6dd77b81
RH
149102003-06-02 Richard Henderson <rth@redhat.com>
14911
14912 * gdb.base/selftest.exp: Next over lim_at_start initialization.
14913
f6347e16
RH
149142003-06-02 Richard Henderson <rth@redhat.com>
14915
14916 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
14917
2c161407
DJ
149182003-06-01 Daniel Jacobowitz <drow@mvista.com>
14919
14920 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
14921 of globalvar.
14922
572eb746
MK
149232003-06-01 Mark Kettenis <kettenis@gnu.org>
14924
14925 * gdb.asm/asm-source.exp: Check for memory read errors in
14926 disassembler test on *BSD too.
14927
9e9617a5
RH
149282003-06-01 Richard Henderson <rth@redhat.com>
14929
14930 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
14931 for .frame.
14932 (gdbasm_call): Lose ldgp.
14933 (gdbasm_startup): Add frame information.
14934 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
14935
7b34ad4e
MK
149362003-05-31 Mark Kettenis <kettenis@gnu.org>
14937
14938 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
14939 i?86-*-*.
14940
10059fdf
MK
149412003-05-30 Mark Kettenis <kettenis@gnu.org>
14942
14943 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
14944 FreeBSD.
14945
acf4b816
RH
149462003-05-29 Richard Henderson <rth@redhat.com>
14947
14948 * gdb.asm/alpha.inc: New file.
14949 * gdb.asm/asm-source.exp: Use it.
14950
e9ecd949
JB
149512003-05-29 Jim Blandy <jimb@redhat.com>
14952
14953 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
14954 'core.PID'.
14955
e3e5a4f3
JB
149562003-05-22 Jim Blandy <jimb@redhat.com>
14957
14958 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
14959 backtrace.
d63a86f8 14960
72fe3d25
DC
149612003-05-20 David Carlton <carlton@math.stanford.edu>
14962
14963 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
14964 this time.
14965
58da2eb2
DC
149662003-05-19 David Carlton <carlton@bactrian.org>
14967
14968 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
14969 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
14970
1fcb5155
DC
149712003-05-19 David Carlton <carlton@bactrian.org>
14972
14973 * gdb.c++/namespace.exp: Add namespace scope and anonymous
14974 namespace tests.
14975 Bump copyright date.
14976 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
14977 (main): Call C::D::marker2.
14978 * gdb.c++/namespace1.cc: New file.
14979
85e85163
JJ
149802003-05-14 Jeff Johnston <jjohnstn@redhat.com>
14981
14982 Roland McGrath <roland@redhat.com>
d63a86f8 14983 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
14984 there is no manager thread.
14985
a25fbfec
JJ
149862003-05-08 Jeff Johnston <jjohnstn@redhat.com>
14987
d63a86f8
RM
14988 * gdb.threads/schedlock.exp: Remove assumption that all threads
14989 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
14990 in one of the child threads rather than the main thread.
14991
be375bae
JB
149922003-05-07 Jim Blandy <jimb@redhat.com>
14993
09bf6082
JB
14994 Add support for assembly source testing on the s390x.
14995 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
14996 architecture.
14997 * gdb.asm/s390x.inc: New file.
14998
be375bae
JB
14999 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
15000 succession of 'if' statements.
15001
00905d52
AC
150022003-05-05 Andrew Cagney <cagney@redhat.com>
15003
15004 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
15005
b1e29e33
AC
150062003-05-05 Andrew Cagney <cagney@redhat.com>
15007
15008 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
15009 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
15010
e33d66ec
EZ
150112003-05-02 Elena Zannoni <ezannoni@redhat.com>
15012
15013 * gdb.base/charset.exp: Update based on new behavior of set/show
15014 charset commands.
15015
2b6fd0d8
AC
150162003-05-01 Andrew Cagney <cagney@redhat.com>
15017
15018 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
15019 variable do not give memory errors.
15020
130cacce
AF
150212003-04-30 Adam Fedor <fedor@gnu.org>
15022
15023 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
15024 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
15025 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
15026 gdb.objc/basicclass.m: : New files
15027
15028 * lib/gdb.exp (gdb_compile_objc): New procedure.
15029
bea71854
DJ
150302003-04-27 Daniel Jacobowitz <drow@mvista.com>
15031
15032 * gdb.base/signals.exp: Make backtrace tests more specific.
15033
0f20eeea
DC
150342003-04-23 David Carlton <carlton@bactrian.org>
15035
15036 * gdb.c++/maint.exp (test_first_component): Add tests for
15037 'operator' in more locations.
15038
c8c4d8dc
KB
150392003-04-16 Kevin Buettner <kevinb@redhat.com>
15040
15041 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
15042
3fe60e3c
EZ
150432003-04-16 Elena Zannoni <ezannoni@redhat.com>
15044
15045 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 15046 func marke' instead. Update test name.
3fe60e3c 15047
9219021c
DC
150482003-04-15 David Carlton <carlton@math.stanford.edu>
15049
15050 * gdb.c++/maint.exp: New file.
15051
5dd55bdd
EZ
150522003-04-14 Elena Zannoni <ezannoni@redhat.com>
15053
15054 * gdb.threads/schedlock.c: Change type of thread function argument
15055 to long, to avoid warnings on 64-bit platforms.
15056
00890572
EZ
150572003-04-14 Elena Zannoni <ezannoni@redhat.com>
15058
a9c64011
AS
15059 * gdb.base/attach.exp: Add new message from ptrace in case of
15060 attaching to nonexistent process.
d63a86f8 15061
93201743
JB
150622003-04-11 Jim Blandy <jimb@redhat.com>
15063
15064 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
15065 gdb.c++/userdef.cc: Place comments on the lines to which the
15066 marker function might return.
15067 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
15068 gdb.c++/userdef.exp: Look for those comments to check that we've
15069 returned to the right place, instead of checking line numbers.
15070
2a11c64d
EZ
150712003-04-11 Elena Zannoni <ezannoni@redhat.com>
15072
a9c64011
AS
15073 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
15074 match on sourcefile name, instead of directory name.
2a11c64d 15075
68ab8fc5
EZ
150762003-04-10 Elena Zannoni <ezannoni@redhat.com>
15077
d63a86f8 15078 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
15079 working directory name.
15080
5624293a
JB
150812003-04-09 Jim Blandy <jimb@redhat.com>
15082
15083 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
15084 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
15085 after an inferior function call, report the failure, but allow the
15086 test to continue.
15087
f1f02ee4
SC
150882003-04-05 Stephane Carrez <stcarrez@nerim.fr>
15089
15090 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
15091 with -DPROTOTYPES.
15092
6eb79af0
SC
150932003-04-05 Stephane Carrez <stcarrez@nerim.fr>
15094
15095 * gdb.base/break.exp: Revert last patch.
15096
8dfb4cf0
SC
150972003-04-04 Stephane Carrez <stcarrez@nerim.fr>
15098
15099 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
15100 with -DPROTOTYPES.
15101
ed4c619a
AC
151022003-04-02 Andrew Cagney <cagney@redhat.com>
15103
15104 * gdb.base/callfuncs.exp: Make "print add" messages unique.
15105 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
15106 matching directories by the name breakpoint.
15107 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
15108 Make "continue to marker1" consistent.
15109 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
15110 message consistent.
15111 * lib/gdb.exp: Put "the program is no longer running", and "the
15112 program exited" in parenthesis.
15113 * lib/mi-support.exp: Ditto.
d63a86f8 15114
4e35d5f0 151152003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 15116
4e35d5f0
BR
15117 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
15118
71900fe8
AC
151192003-03-29 Andrew Cagney <cagney@redhat.com>
15120
15121 * gdb.base/sizeof.c (main): Print the value of '\377'.
15122 * gdb.base/sizeof.exp: Check the sign of '\377'.
15123
c0655a16
MC
151242003-03-27 Michael Chastain <mec@shout.net>
15125
15126 * gdb.base/gdb1090.exp: New file.
15127 * gdb.base/gdb1090.cc: New file.
15128
5b2a3989
JB
151292003-03-27 J. Brobecker <brobecker@gnat.com>
15130
15131 * gdb.gdb/observer.exp: New regression test.
15132
79876890
MC
151332003-03-27 Michael Chastain <mec@shout.net>
15134
15135 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
15136 * gdb.base/ptype.exp: Likewise.
15137
6eac95e3
CV
151382003-03-27 Corinna Vinschen <vinschen@redhat.com>
15139
15140 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
15141
e8c71839
MC
151422003-03-26 Michael Chastain <mec@shout.net>
15143
15144 * gdb.base/ptype.exp: Actually use some typedef'd types.
15145
71b10041
SC
151462003-03-21 Stephane Carrez <stcarrez@nerim.fr>
15147
15148 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
15149 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
15150
2512cf80
CV
151512003-03-20 Corinna Vinschen <vinschen@redhat.com>
15152
15153 * gdb.base/default.exp: Fix regular expression.
15154
0d195a4f
CV
151552003-03-20 Corinna Vinschen <vinschen@redhat.com>
15156
15157 * gdb.base/args.exp: Fix regular expression.
15158
8a2dbca8
CV
151592003-03-20 Corinna Vinschen <vinschen@redhat.com>
15160
15161 * gdb.base/help.exp: Allow Win32 child process.
15162
bf028682
CV
151632003-03-20 Corinna Vinschen <vinschen@redhat.com>
15164
15165 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
15166 when stepping out of main().
15167
182dbe85
CV
151682003-03-20 Corinna Vinschen <vinschen@redhat.com>
15169
15170 * gdb.base/default.exp: Check for win32 specific message when calling
15171 "run" without executable.
15172
d67a6ba5
CV
151732003-03-20 Corinna Vinschen <vinschen@redhat.com>
15174
15175 * gdb.base/args.exp: Expect .exe in output.
15176
a955b5bb
CV
151772003-03-20 Corinna Vinschen <vinschen@redhat.com>
15178
15179 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
15180 Cygwin native.
15181
bf6bad4b
AC
151822003-03-17 Andrew Cagney <cagney@redhat.com>
15183
15184 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
15185 vector registes.
15186 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
15187 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
15188
293e9a31
DC
151892003-03-17 David Carlton <carlton@math.stanford.edu>
15190
15191 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
15192 test, for PR breakpoints/38.
15193 Call test_watchpoint_and_breakpoint.
15194 * gdb.base/watchpoint.c (func3): New function.
15195 (main): Call func3.
15196
5330f2db
DC
151972003-03-04 David Carlton <carlton@math.stanford.edu>
15198
15199 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
15200 Garply<Garply<char> >:: garply".
15201 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
15202 with respect to PR c++/1111; note also PR c++/1113.
15203 (test_template_breakpoints): KFAIL "constructor breakpoint" with
15204 respect to PR c++/1062.
15205 KFAIL "destructor breakpoint" with respect to PR c++/1112.
15206
6ece72da
DC
152072003-03-03 David Carlton <carlton@math.stanford.edu>
15208
15209 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
15210 with respect to PR c++/57.
15211 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
15212 c++/826.
15213 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
15214 respect to PR c++/57.
15215
85ca1584
DC
152162003-03-03 David Carlton <carlton@math.stanford.edu>
15217
15218 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
15219 respect to PR c++/33 into FAILs.
15220
98e9c5b8
MC
152212003-03-03 Michael Chastain <mec@shout.net>
15222
7bedbf27
MC
15223 * configure.in: Update copyright years.
15224
152252003-03-03 Michael Chastain <mec@shout.net>
15226
15227 * Makefile.in: Update copyright years.
98e9c5b8 15228
f683e100
DC
152292003-02-28 David Carlton <carlton@math.stanford.edu>
15230
15231 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
15232 print class instead of struct and/or superfluous protection
15233 specifiers, as long as the resulting output is equivalent to the
15234 source code.
15235 Delete FIXME from end of messages on tests that don't need
15236 fixing.
15237
a9e0cf2c
DC
152382003-02-28 David Carlton <carlton@math.stanford.edu>
15239
15240 * gdb.c++/templates.exp (do_tests): Allow const in the two
15241 Foo<volatile char *>::foo tests.
15242
e8d359df
MS
152432003-02-27 Michael Snyder <msnyder@redhat.com>
15244
d63a86f8 15245 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
15246 will be consistant.
15247
0b71dc91
DC
152482003-02-26 David Carlton <carlton@math.stanford.edu>
15249
15250 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
15251 char *>::foo" test with respect to PR c++/33. Create a new test
15252 which is identical to that one except that it doesn't put the
15253 space between the "char" and the "*"; KFAIL it, too.
15254
dd14ab43
DC
152552003-02-26 David Carlton <carlton@math.stanford.edu>
15256
15257 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
15258 template types into either PASSes or KFAILs (corresponding to PR
15259 c++/57). Tweak indentation. Update copyright.
15260
1146c7f1
SC
152612003-02-23 Stephane Carrez <stcarrez@nerim.fr>
15262
15263 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
15264
74641dfb
MC
152652003-02-13 Michael Chastain <mec@shout.net>
15266
15267 * gdb.base/exprs.exp: Remove i960 remnants.
15268 * gdb.base/funcargs.exp: Likewise.
15269 * gdb.base/list.exp: Likewise.
15270 * gdb.base/ptype.exp: Likewise.
15271
559cd2d0
DC
152722003-02-14 David Carlton <carlton@math.stanford.edu>
15273
15274 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
15275 pEe->D::vg()" from XFAIL to KFAIL.
15276
c4f90d87
JM
152772003-02-13 Jason Molenda (jmolenda@apple.com)
15278
15279 * gdb.base/maint.exp: Update maint print statistics regexp to include
15280 new entries.
15281
cbc4d97c
MC
152822003-02-13 Michael Chastain <mec@shout.net>
15283
15284 * gdb.c++/inherit.exp: Remove call to get_debug_format.
15285
40f235b7
MC
152862003-02-12 Michael Chastain <mec@shout.net>
15287
15288 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
15289 * gdb.c++/inherit.exp: Likewise.
15290 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
15291 * gdb.c++/templates.exp: Likewise.
15292 * gdb.c++/virtfunc.exp: Likewise.
15293
c56716b0
JM
152942003-02-06 Jason Molenda (jason-cl@molenda.com)
15295
15296 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
15297 why the code is written that way.
15298
070afcf8
MC
152992003-02-05 Michael Chastain <mec@shout.net>
15300
15301 * gdb.base/dump.exp: Add missing copyright line.
15302
5d0331e5
JM
153032003-02-05 Jason Molenda (jason-cl@molenda.com)
15304
f7ae6d3e 15305 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
15306 at the beginning so the breakpoint doesn't get set on the loop.
15307
92851186
MC
153082003-02-05 Michael Chastain <mec@shout.net>
15309
15310 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
15311 output for configurations with gcc 2.95.3.
15312
cbf1e085
AC
153132003-02-05 Keith Seitz <keiths@redhat.com>
15314 Andrew Cagney <ac131313@redhat.com>
15315
15316 * gdb.mi/mi-cli.exp: New file.
d63a86f8 15317
29518e1e
MC
153182003-02-04 Michael Chastain <mec@shout.net>
15319
15320 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
15321 Call perror and then continue.
15322
5af1d5f3
MC
153232003-02-03 Michael Chastain <mec@shout.net>
15324
15325 * gdb.c++/pr-1023.cc: New file.
15326 * gdb.c++/pr-1023.exp: New file.
15327
6b549786
JB
153282003-02-05 Jim Blandy <jimb@redhat.com>
15329
15330 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
15331 it's local to foobar. Check for it there, and check that it's not
15332 present in main.
15333 * gdb.c++/local.cc (marker2): New function.
15334 (foobar): Call marker1.
15335 (main): Call marker2 instead of marker1.
15336
67f16606
AC
153372003-02-04 Andrew Cagney <ac131313@redhat.com>
15338
15339 * gdb.disasm/mn10200.exp: Obsolete file.
15340 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
15341 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
15342 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
15343
1c5cb38e
DC
153442003-02-04 David Carlton <carlton@math.stanford.edu>
15345
15346 * gdb.c++/overload.exp: Test intToChar(1).
15347 * gdb.c++/overload.cc (intToChar): New.
15348 (main): Call intToChar.
15349
d1fe6965
DC
153502003-02-03 David Carlton <carlton@math.stanford.edu>
15351
15352 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
15353 'might_kfail' arg.
15354 KFAIL some of the continue_to_bp_overloaded calls, according to
15355 PR c++/1025.
15356
9ba61c5d
MC
153572003-02-01 Michael Chastain <mec@shout.net>
15358
15359 * gdb.base/advance.c (marker1): New marker function.
15360 * gdb.base/advance.exp: When the 'advance' command lands on the
15361 return breakpoint, it can legitimately stop on either the
15362 current line or the next line. Accommodate both outcomes.
15363 * gdb.base/until.exp: Likewise.
15364
e7494ffb
AC
153652003-02-02 Andrew Cagney <ac131313@redhat.com>
15366
15367 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
15368 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
15369 now a list, not a tuple.
15370 * gdb.mi/mi-var-display.exp: Ditto.
15371 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 15372
075559bc
AC
153732003-02-01 Andrew Cagney <ac131313@redhat.com>
15374
15375 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
15376 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
15377 stack backtraces.
15378 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 15379
2bd4c7b1
MK
153802003-02-01 Mark Kettenis <kettenis@gnu.org>
15381
15382 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
15383 gdb.mi/mi1-pthreads.exp: Return instead of calling
15384 gdb_suppress_entire_file.
15385
eabd8992
MS
153862003-02-01 Mark Salter <msalter@redhat.com>
15387
15388 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
15389
71469e2f
MS
153902003-01-31 Mark Salter <msalter@redhat.com>
15391
15392 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
15393 Support empty arg.
15394
38a94d44
MC
153952003-01-30 Michael Chastain <mec@shout.net>
15396
15397 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
15398 This was a workaround for a UTF-8 bug in readline 4.3. The bug
15399 has been fixed in gdb/readline on 2003-01-09.
15400
19ea9e73
MS
154012003-01-29 Michael Snyder <msnyder@redhat.com>
15402
e8d359df
MS
15403 * gdb.base/maint.exp: Allow for leading underscore in symbol.
15404 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
15405 * gdb.base/args.exp: Skip if target does not support args passing.
15406
2307bd6a
DJ
154072003-01-22 Daniel Jacobowitz <drow@mvista.com>
15408
19ea9e73 15409 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
15410 gdb_test. Accept a list of expect arguments as the third
15411 parameter.
15412 (gdb_test): Use it.
15413
f2dd3617
EZ
154142003-01-20 Elena Zannoni <ezannoni@redhat.com>
15415
15416 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
15417 allow for different test tree configurations. Update some
15418 tescases accordingly.
15419 * gdb.arch/altivec-regs.exp: Ditto.
15420 * gdb.asm/asm-source.exp: Ditto.
15421 * gdb.base/advance.exp: Ditto.
15422 * gdb.base/display.exp: Ditto.
d63a86f8 15423 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
15424 * gdb.base/mips_pro.exp: Ditto.
15425 * gdb.base/overlays.exp: Ditto.
15426 * gdb.base/relocate.exp: Ditto.
15427 * gdb.base/setshow.exp: Ditto.
15428 * gdb.base/step-line.exp: Ditto.
15429 * gdb.base/step-test.exp: Ditto.
15430 * gdb.base/until.exp: Ditto.
15431 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
15432
c71cdefd
DC
154332003-01-17 David Carlton <carlton@math.stanford.edu>
15434
15435 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
15436 corresponding to PR c++/945.
15437 Update copyright.
15438
fdba05d7
DC
154392003-01-17 David Carlton <carlton@math.stanford.edu>
15440
15441 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
15442 corresponding to PR c++/68.
15443
154442003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
15445
15446 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
15447 (test_paddr_hairy_functions): Call print_addr_2_kfail for
15448 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
15449
c362c33a
EZ
154502003-01-15 Elena Zannoni <ezannoni@redhat.com>
15451
0fbc361c
EZ
15452 * gdb.base/break.exp: Fix change of default location, because of
15453 removal of until tests.
15454 * gdb.base/help.exp: Update test for new 'until' help message.
15455 Add test for help on 'advance'.
a9c64011 15456 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 15457
dabf8a35
MK
154582003-01-15 Mark Kettenis <kettenis@gnu.org>
15459
15460 * gdb.base/default.exp: Adapt "info float" test for recent changes
15461 to that command. Add test for "info vector".
15462 * gdb.base/float.exp: New file. Add test for "info float" that
15463 resembles the old test in gdb.base/default.exp.
15464
a1769aca
DC
154652003-01-15 David Carlton <carlton@math.stanford.edu>
15466
15467 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
15468
82025e13
EZ
154692003-01-15 Elena Zannoni <ezannoni@redhat.com>
15470
15471 * gdb.base/break.exp: Move the tests of until command from here...
15472 * gdb.base/until.exp: ... to here. New file. Add other tests.
15473 * gdb.base/advance.c: New file.
15474 * gdb.base/advance.exp: New file.
15475
8f9ab801
EZ
154762003-01-14 Elena Zannoni <ezannoni@redhat.com>
15477
a9c64011
AS
15478 * gdb.base/args.c: New file.
15479 * gdb.base/args.exp: New file.
8f9ab801 15480
9ae66589
DJ
154812003-01-14 Daniel Jacobowitz <drow@mvista.com>
15482
15483 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
15484
8d77e5c3
DJ
154852003-01-14 Daniel Jacobowitz <drow@mvista.com>
15486
15487 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
15488
12d2f0a1
DJ
154892003-01-14 Daniel Jacobowitz <drow@mvista.com>
15490
15491 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
15492 dates.
15493
6ca37014
DJ
154942003-01-13 Daniel Jacobowitz <drow@mvista.com>
15495
15496 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
15497
b0023472
DJ
154982003-01-13 Daniel Jacobowitz <drow@mvista.com>
15499
15500 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
15501 (ptype &*"foo").
15502 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
15503
607fbc54 155042003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
15505
15506 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
15507 * gdb.mi/mi1-console.exp: Likewise.
15508
607fbc54 155092003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
15510
15511 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
15512 * gdb.mi/mi1-console.exp: Likewise.
15513
a1fb14a2
DJ
155142003-01-13 Daniel Jacobowitz <drow@mvista.com>
15515
15516 * gdb.c++/overload.exp: Remove some fixed XFAILs.
15517
c4cf40b7
DJ
155182003-01-09 Daniel Jacobowitz <drow@mvista.com>
15519
15520 * gdb.base/detach.exp: New test.
15521
696d5a5b
DJ
155222003-01-09 Daniel Jacobowitz <drow@mvista.com>
15523
15524 * Makefile.in (ALL_SUBDIRS): New variable.
15525 (subdirs, clean, distclean): Use it.
15526 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
15527 regenerating Makefile, since it is generated from the top level.
15528 * gdb.asm/Makefile.in: Likewise.
15529 * gdb.base/Makefile.in: Likewise.
15530 * gdb.c++/Makefile.in: Likewise.
15531 * gdb.disasm/Makefile.in: Likewise.
15532 * gdb.java/Makefile.in: Likewise.
15533 * gdb.mi/Makefile.in: Likewise.
15534 * gdb.threads/Makefile.in: Likewise.
15535 * gdb.trace/Makefile.in: Likewise.
15536
754533e4
DC
155372003-01-09 David Carlton <carlton@math.stanford.edu>
15538
15539 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
15540 Add copyright year 2003.
15541
d8b3e9ee
MC
155422003-01-06 Michael Chastain <mec@shout.net>
15543
15544 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
15545 When selecting a thread, 'line' and 'file' are optional.
15546 * gdb.mi/mi1-pthreads.exp: Likewise.
15547
8e9e0fe6
AS
155482003-01-06 Andreas Schwab <schwab@suse.de>
15549
15550 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
15551 failures.
15552
b5ab8ff3
DJ
155532003-01-04 Daniel Jacobowitz <drow@mvista.com>
15554
15555 Fix PR gdb/844
15556 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
15557 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
15558
15559 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
15560 instead of calling gdb_suppress_entire_file.
15561 * gdb.threads/print-threads.exp: Likewise.
15562 * gdb.threads/schedlock.exp: Likewise.
15563
15564 * gdb.threads/killed.exp: Return instead of calling
15565 gdb_suppress_entire_file.
15566 * gdb.threads/linux-dp.exp: Likewise.
15567 * gdb.threads/pthreads.exp: Likewise.
15568
1e698235
DJ
155692003-01-04 Daniel Jacobowitz <drow@mvista.com>
15570
15571 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
15572 stabs.
15573 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
15574 * gdb.base/whatis.exp: Always allow (void) after function names.
15575
147ff08c
DJ
155762003-01-04 Daniel Jacobowitz <drow@mvista.com>
15577
15578 * gdb.c++/casts.exp: Correct regexp.
15579
dc62bfc2
MK
155802003-01-04 Mark Kettenis <kettenis@gnu.org>
15581
15582 * configure.in: Call AC_CONFIG_HEADER. Don't call
15583 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
15584 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
15585 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
15586 aforementioned directories in the AC_OUPUT call.
15587 * config.hin: New file.
15588 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
15589 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
15590 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
15591 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
15592 pass -I$objdir instead of -I$objdir/$subdir in compilation.
15593 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
15594 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
15595 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
15596 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
15597 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
15598 gdb.threads/configure.in, gdb.threads/configure,
15599 gdb.threads/config.in, gdb.trace/configure.in,
15600 gdb.trace/configure: Removed.
15601
77afa639
MC
156022003-01-03 Michael Chastain <mec@shout.net>
15603
15604 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
15605 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
15606
7634bb6e
DJ
156072003-01-03 Daniel Jacobowitz <drow@mvista.com>
15608
15609 * gdb.base/store.exp: Fix regular expressions.
15610
b39c905e
MK
156112002-12-28 Mark Kettenis <kettenis@gnu.org>
15612
15613 * configure.in: Rewrite.
15614 * configure: Regenerated.
15615
0a8551dd
DC
156162003-01-03 David Carlton <carlton@math.stanford.edu>
15617
15618 * gdb.base/psymtab.exp: New file.
15619 * gdb.base/psymtab1.c: Ditto.
15620 * gdb.base/psymtab2.c: Ditto.
15621
c60b7188
AF
156222002-12-23 Adam Fedor <fedor@gnu.org>
15623
15624 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
15625
ee73db83
DC
156262002-12-23 David Carlton <carlton@math.stanford.edu>
15627
15628 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
15629 and current_directory initialization.
15630
d6c1774e
JB
156312002-12-22 Jim Blandy <jimb@redhat.com>
15632
f0a847b8
JB
15633 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
15634 rather than as part of the output file name.
15635
d6c1774e
JB
15636 * gdb.base/attach.exp: There's no need to copy the test program to
15637 /tmp; that was only ever necessary on HP/UX, and this test is
15638 entirely disabled there anyway.
15639
f0708dbb
JB
156402002-12-21 Jim Blandy <jimb@redhat.com>
15641
4c2acfea
JB
15642 * gdb.c++/psmang.exp: Doc fix.
15643
f0708dbb
JB
15644 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
15645 test.
15646
9579e000
DC
156472002-12-20 David Carlton <carlton@math.stanford.edu>
15648
15649 * gdb.c++/annota2.exp: KFAIL annotate-quit.
15650
d1810171
MC
156512002-12-18 Michael Chastain <mec@shout.net>
15652
15653 * gdb.c++/annota2.exp: Add copyright year 2002.
15654
76565097
DC
156552002-12-17 David Carlton <carlton@math.stanford.edu>
15656
15657 * gdb.c++/try_catch.cc: Add marker comments.
15658 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
15659 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
15660 * gdb.c++/m-static.cc: Ditto.
15661 * gdb.c++/m-static1.cc: Ditto.
15662 * gdb.c++/try_catch.cc: Ditto.
15663
da81390b
JJ
156642002-12-16 Jeff Johnston <jjohnstn@redhat.com>
15665
15666 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
15667 to see whether we are using the new -environment-directory
15668 command which resets via -r or the old version of the command
15669 which may prompt the user. Part of fix for gdb/741.
15670
b304d130
AC
156712002-12-13 Andrew Cagney <ac131313@redhat.com>
15672
15673 * gdb.fortran/types.exp: Update obsolete comment.
15674 * gdb.fortran/exprs.exp: Ditto.
15675 * lib/gdb.exp: Delete obsolete code.
15676 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
15677 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
15678 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
15679 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
15680 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
15681 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
15682 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
15683 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
15684 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
15685 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
15686 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
15687 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
15688 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
15689 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
15690 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
15691 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
15692 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
15693 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
15694 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
15695 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
15696 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
15697 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
15698 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
15699 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
15700 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
15701 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
15702 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
15703 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
15704 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
15705 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
15706 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
15707 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
15708 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
15709 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
15710 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
15711 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
15712 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
15713
a23b6e6a
DC
157142002-12-11 David Carlton <carlton@math.stanford.edu>
15715
15716 * gdb.c++/m-data.exp: Add test for members that shadow global
15717 variables: see PR gdb/804.
15718 * gdb.c++/m-data.cc: Ditto.
15719
6604731b
DJ
157202002-12-10 Daniel Jacobowitz <drow@mvista.com>
15721
15722 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
15723
de46ecd7
DC
157242002-12-06 David Carlton <carlton@math.stanford.edu>
15725
15726 * gdb.base/store.c: Don't declare functions static.
15727
27e829d0
AC
157282002-12-04 Andrew Cagney <ac131313@redhat.com>
15729
15730 * gdb.base/store.exp, gdb.base/store.c: New files.
15731
92806416
DJ
157322002-12-03 Daniel Jacobowitz <drow@mvista.com>
15733
15734 * gdb.base/selftest.exp: Update for current gdb.
15735
3bcbaac5
DJ
157362002-12-03 Daniel Jacobowitz <drow@mvista.com>
15737
15738 * gdb.base/maint.exp: Only dump symbols from one source file
15739 or objfile.
15740
f4f00b1f
DJ
157412002-12-03 Daniel Jacobowitz <drow@mvista.com>
15742
15743 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
15744 function call.
15745
f1c8a949
JB
157462002-11-25 Jim Blandy <jimb@redhat.com>
15747
15748 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
15749 function appearing in error message.
15750
9e297a97
DJ
157512002-11-21 Daniel Jacobowitz <drow@mvista.com>
15752
15753 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
15754
1f312e79
JJ
157552002-11-08 Jeff Johnston <jjohnstn@redhat.com>
15756
d63a86f8
RM
15757 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
15758 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
15759 should be in mi console format. This is part of fix for PR gdb/604.
15760
83c31e7d
FN
157612002-09-18 Fernando Nasser <fnasser@redhat.com>
15762
15763 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
15764 which explicitly prints the zero offset as "+0".
15765
322b3f65
DJ
157662002-10-22 Daniel Jacobowitz <drow@mvista.com>
15767
15768 * gdb.threads/schedlock.c (args): Make unsigned.
15769
157702002-10-21 Daniel Jacobowitz <drow@mvista.com>
15771
15772 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
15773 numbers. Allow "foo2|selected stack frame".
15774 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
15775 * gdb.asm/asmsrc2.s: Likewise.
15776 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
15777 comments.
15778 * gdb.asm/mips.inc: New file.
15779
5e2fe5b8
AF
157802002-10-18 Adam Fedor <fedor@gnu.org>
15781
15782 * gdb.base/default.exp: Update expected output to include 'ObjC'.
15783 * gdb.base/help.exp: Likewise.
15784
abe1a5d0
KB
157852002-10-17 Kevin Buettner <kevinb@redhat.com>
15786
15787 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
15788 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
15789
10abb1d4
JB
157902002-10-02 Jim Blandy <jimb@redhat.com>
15791
15792 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
15793
1f609b42
AC
157942002-10-01 Andrew Cagney <ac131313@redhat.com>
15795
15796 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
15797 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
15798 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
15799 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
15800 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
15801 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
15802 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
15803
0aee02e4
AC
158042002-09-29 Andrew Cagney <ac131313@redhat.com>
15805
15806 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
15807 * mi0-disassemble.exp, mi0-eval.exp: Delete.
15808 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
15809 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
15810 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
15811 * mi0-var-block.exp, mi0-var-child.exp: Delete.
15812 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 15813
6fde09ad
KB
158142002-09-27 Kevin Buettner <kevinb@redhat.com>
15815
15816 * gdb.base/annota1.exp (info break): Make directory components of
15817 path optional since not all compilers emit this debug information.
15818
889bf7c5
PA
15819 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
15820 step ends up stepping out of the function instead of stopping on
15821 the epilogue.
6fde09ad 15822
9e8aab75
KS
158232002-09-26 Keith Seitz <keiths@redhat.com>
15824
15825 * lib/insight-support.exp (gdbtk_start): Figure out where
15826 the insight executable is based on where gdb is. Use this
15827 executable to start insight instead of gdb.
15828
e36180d7
AC
158292002-09-25 Andrew Cagney <cagney@redhat.com>
15830
15831 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
15832
9dd34b2b
AC
158332002-09-24 Andrew Cagney <ac131313@redhat.com>
15834
15835 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
15836 test_isolated_complaints.
15837 (test_empty_complaint): New function.
15838 (test_empty_complaints): New function. Check no output when no
15839 complaints.
d63a86f8 15840
dea97812
KB
158412002-09-19 Jim Blandy <jimb@redhat.com>
15842
a9c64011 15843 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 15844
54951bd7
AC
158452002-09-19 Andrew Cagney <ac131313@redhat.com>
15846
15847 * gdb.gdb/complaints.exp: New file.
15848
dec43320
AC
158492002-09-18 Andrew Cagney <ac131313@redhat.com>
15850
15851 * gdb.base/maint.exp: Check `help maint internal-warning'.
15852
e70d6e3f
DC
158532002-09-18 David Carlton <carlton@math.stanford.edu>
15854
15855 * gdb.c++/m-static.exp: Remove breakpoints depending on line
15856 numbers, and replace them by a single breakpoint after the
15857 constructors are all finished.
15858 Add test 4.
15859 * gdb.c++/m-static.cc: Add test 4.
15860 * gdb.c++/m-static.h: New file.
15861 * gdb.c++/m-static1.cc: New file.
15862
15863 * gdb.c++/printmethod.exp: New file.
15864 * gdb.c++/printmethod.cc: New file.
15865
15866 * gdb.c++/pr-574.exp: New file.
15867 * gdb.c++/pr-574.cc: New file.
15868
afb5c968
CV
158692002-09-18 Corinna Vinschen <vinschen@redhat.com>
15870
15871 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
15872 embedded targets which never actually exit.
15873
31e45dee
FN
158742002-09-18 Fernando Nasser <fnasser@redhat.com>
15875
15876 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
15877 "don't step after run" as unresolved or unsupported, instead of xfail.
15878
a283c5a1
CV
158792002-09-18 Corinna Vinschen <vinschen@redhat.com>
15880
15881 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
15882 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
15883 Add newline to expected string in "step out of main (status wrapper)"
15884 case.
15885
11350d2a
CV
158862002-09-18 Corinna Vinschen <vinschen@redhat.com>
15887
15888 * lib/gdb.exp (rerun_to_main): Allow restarting application.
15889 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
15890
0deec7d6
TT
158912002-09-17 Tom Tromey <tromey@redhat.com>
15892
15893 * gdb.base/printcmds.exp (test_print_string_constants): Expect
15894 \000, not \0, in double-quoted string.
15895
b2b4a1b5
CV
158962002-09-14 Corinna Vinschen <vinschen@redhat.com>
15897
c9d37158 15898 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
15899 string after running the commands execution on breakpoint tests.
15900
1c56143a
CV
159012002-09-13 Corinna Vinschen <vinschen@redhat.com>
15902
15903 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
15904
37f8da45
JB
159052002-09-12 Joel Brobecker <brobecker@gnat.com>
15906
15907 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
15908
08b468e0
KS
159092002-09-10 Keith Seitz <keiths@redhat.com>
15910
15911 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
15912 runto proc.
15913 (mi_run_to_main): Use mi_runto.
15914 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
15915
dc360f58
KS
159162002-09-10 Keith Seitz <keiths@redhat.com>
15917
15918 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
15919 regexp for stopping at main. Could have multiple event notifications.
15920 Don't assume that main was declared with no parameters.
15921 (mi_next): Use mi_step_to.
15922 (mi_step): Use mi_next_to.
15923
ce3abcfb
CV
159242002-09-09 Corinna Vinschen <vinschen@redhat.com>
15925
15926 * gdb.base/default.exp: Fix expected string in `info float' test.
15927
d1f5b980
BE
159282002-09-09 Ben Elliston <bje@redhat.com>
15929
15930 * config/mips.exp: Update comments.
15931 * config/mips-idt.exp: Likewise.
15932 * config/nind.exp: Likewise.
15933 * config/slite.exp: Likewise.
15934 * config/sparclet.exp: Likewise.
15935 * config/udi.exp: Likewise.
15936 * config/vx.exp: Likewise.
15937 * config/vxworks29k.exp: Likewise.
15938
2f71430b
JB
159392002-09-05 Jim Blandy <jimb@redhat.com>
15940
15941 * gdb.threads/killed.exp: Fix test failure message.
15942
7ddebc7e
KS
159432002-09-04 Keith Seitz <keiths@redhat.com>
15944
15945 * lib/mi-support.exp: Update copyright.
15946 (mi_gdb_test): Increase the priority of the expected pattern
15947 so that it matches gdb_test.
15948
0ae67eb3
KS
159492002-09-03 Keith Seitz <keiths@redhat.com>
15950
15951 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
15952 Use integer comparison instead of string comparison for testing
15953 whether binary was built.
15954
38fc42c8
JB
159552002-09-03 Jim Blandy <jimb@redhat.com>
15956
15957 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
15958
b6ff0e81
JB
159592002-08-29 Jim Blandy <jimb@redhat.com>
15960
15961 * gdb.threads/pthreads.exp: Move the portable thread compilation
15962 code into a function in lib/gdb.exp, and call that from here.
15963 * lib/gdb.exp (gdb_compile_pthreads): New function.
15964
07c98896
KS
159652002-08-29 Keith Seitz <keiths@redhat.com>
15966
15967 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
15968 expect_out so that callers can get at it.
15969
0312286c
DJ
159702002-08-23 Daniel Jacobowitz <drow@mvista.com>
15971
15972 * gdb.threads/print-threads.c: New file.
15973 * gdb.threads/print-threads.exp: New file.
15974 * gdb.threads/schedlock.c: New file.
15975 * gdb.threads/schedlock.exp: New file.
15976
dd039bc4
EZ
159772002-08-22 Elena Zannoni <ezannoni@redhat.com>
15978
a9c64011
AS
15979 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
15980 not altivec.c.
dd039bc4 15981
1f36144c
MK
159822002-08-17 Mark Kettenis <kettenis@gnu.org>
15983
15984 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
15985 targets. The problem should be fixed now.
15986
16057ec7 159872002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
15988
15989 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
15990 2002-07-24 change that removes final dots from error messages.
15991
3c1499ad
TT
159922002-08-13 Tom Tromey <tromey@redhat.com>
15993
15994 * gdb.base/readline.exp: New file.
15995
a20ce2c3
AC
159962002-08-01 Andrew Cagney <ac131313@redhat.com>
15997
15998 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
15999 supress message.
16000
db034ac5
AC
160012002-08-01 Andrew Cagney <cagney@redhat.com>
16002
16003 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
16004 CHILL_FOR_TARGET and CHILL_LIB.
16005 * configure.in (configdirs): Remove gdb.chill.
16006 * configure: Regenerate.
16007 * lib/gdb.exp: Obsolete references to chill.
16008 * gdb.fortran/types.exp: Ditto.
16009 * gdb.fortran/exprs.exp: Ditto.
16010
3e000b18
KB
160112002-07-30 Kevin Buettner <kevinb@redhat.com>
16012
16013 * gdb.base/shlib-call.exp (additional_flags): Conditionally
16014 set Irix-specific compile and link flags.
16015
28f4966b
KB
160162002-07-29 Kevin Buettner <kevinb@redhat.com>
16017
16018 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
16019 source files. The ``-o'' option doesn't work with the ``-E'' option
16020 when using the Irix compiler.
16021
46c0d5a6
DJ
160222002-07-19 Daniel Jacobowitz <drow@mvista.com>
16023
16024 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
16025 Improve support for reusing an exec file. Copy exec file
16026 to target, and run gdbserver on the target instead of on the host.
16027
eecf4bed
JB
160282002-07-18 Jim Blandy <jimb@redhat.com>
16029
0f815cdf
JB
16030 * gdb.base/ending-run.exp: Don't expect to see the program end in
16031 some orderly fashion when we're running on a real stand-alone
16032 board.
16033
eecf4bed
JB
16034 * gdb.base/interrupt.exp: Correct logic for skipping tests on
16035 targets that don't support interrupts.
16036
52d309e4
JB
160372002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
16038
16039 * gdb.base/attach.exp: Add patterns to match output from /proc-based
16040 systems.
16041 Move comments in expect statements to inside the actions, so that they
16042 don't get matched against.
16043
ff683d9e
MK
160442002-07-10 Mark Kettenis <kettenis@gnu.org>
16045
16046 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
16047 function when asleep" test.
16048
b5356753
AC
160492002-07-10 Andrew Cagney <ac131313@redhat.com>
16050
16051 * gdb.base/page.exp: Rewrite to handle problems with very long
16052 `info set' output. Update copyright.
16053
6aa4d13a
AC
160542002-06-26 Andrew Cagney <ac131313@redhat.com>
16055
16056 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
16057 gdb.threads-hp.
16058 * gdb.hp/configure: Regenerate.
16059 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
16060 * gdb.hp/gdb.threads-hp/configure: Delete file.
16061 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
16062
8cf8c2b8
AC
160632002-06-22 Andrew Cagney <ac131313@redhat.com>
16064
16065 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
16066 setlocale, bindtextdomain and textdomain.
16067
6827a8f8
JB
160682002-06-11 Jim Blandy <jimb@redhat.com>
16069
919d772c
JB
16070 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
16071 preprocessor macro information is present.
16072
6827a8f8
JB
16073 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
16074 tests.
16075
c15b0d21
MS
160762002-06-06 Michael Snyder <msnyder@redhat.com>
16077
c5984d70
MS
16078 * gdb.base/overlays.exp: Record addresses of overlay
16079 functions in TCL variables rather than in GDB variables,
16080 to avoid having GDB convert them to pointers (with loss
16081 of information).
16082
d63a86f8 16083 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 16084 default linker script changes.
c15b0d21
MS
16085 * gdb.base/long_long.exp: Add check for sizeof (long double).
16086
be26fe0d
ML
160872002-06-06 Michal Ludvig <mludvig@suse.cz>
16088
16089 * gdb.asm/asm-source.exp: Add x86-64 target.
16090 * gdb.asm/x86_64.inc: New.
d63a86f8 16091
258093ca 160922002-05-30 Michael Chastain <mec@shout.net>
258093ca 16093
4b3153f1 16094 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
16095 * gdb.c++/m-static.cc: New file.
16096 * gdb.c++/m-static.exp: New file.
16097
241264c6
MS
160982002-05-28 Michael Snyder <msnyder@redhat.com>
16099
16100 * gdb.base/call-ar-st.exp: Allow for reduced floating point
16101 precision.
16102
9bba8c8f 161032002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 16104
4b3153f1 16105 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
16106 * gdb.c++/m-data.cc: New file.
16107 * gdb.c++/m-data.exp: New file.
16108
161092002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 16110
4b3153f1 16111 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 16112 * gdb.c++/try_catch.cc: New file.
d63a86f8 16113 * gdb.c++/try_catch.exp: New file.
9bba8c8f 16114
def1b996
MC
161152002-05-27 Michael Chastain <mec@shout.net>
16116
16117 * gdb.c++/local.exp: Accept more nested types in output.
16118
522ba268
MC
161192002-05-26 Michael Chastain <mec@shout.net>
16120
16121 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
16122
277254ba
MS
161232002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
16124
16125 * lib/gdb.exp (gdb_wrapper_init): Just because
16126 gdb_wrapper_file exists, this does not mean that the file
16127 should not be rebuilt. That is what gdb_wrapper_initialized
16128 is for.
16129 (default_gdb_init): Reset gdb_wrapper_initialized.
16130
b61a8733
MS
161312002-05-23 Michael Snyder <msnyder@redhat.com>
16132
d63a86f8 16133 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
16134 the precision of the floating point test results.
16135 * gdb.base/call-rt-st.exp: Ditto.
16136
b61a8733
MS
16137 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
16138 * gdb.base/call-rt-st.exp: Ditto.
16139
56f6e910
MC
161402002-05-19 Michael Chastain <mec@shout.net>
16141
16142 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
16143
ad0b0016
EZ
161442002-05-19 Elena Zannoni <ezannoni@redhat.com>
16145
a9c64011
AS
16146 * configure.in (configdirs): Add gdb.arch.
16147 * configure: Regenerate.
ad0b0016 16148
f617d2b6
JB
161492002-05-17 Jim Blandy <jimb@redhat.com>
16150
16151 * gdb.base/completion.exp: Recognize the more detailed error
16152 messages produced by the macro expander's lexical analyzer.
16153
eac2a696
EZ
161542002-05-14 Elena Zannoni <ezannoni@redhat.com>
16155
a9c64011
AS
16156 * gdb.arch/altivec-abi.c: New file.
16157 * gdb.arch/altivec-abi.exp: New file.
16158 * gdb.arch/altivec-regs.c: New file.
16159 * gdb.arch/altivec-regs.exp: New file.
eac2a696 16160
2fdde8f8
DJ
161612002-05-14 Daniel Jacobowitz <drow@mvista.com>
16162
16163 * gdb.base/maint.exp (maint print type): Update for new type
16164 structure.
d63a86f8 16165
e31f1a7c
EZ
161662002-05-14 Elena Zannoni <ezannoni@redhat.com>
16167
16168 * gdb.arch: New directory.
16169 * gdb.arch/configure.in: New file.
16170 * gdb.arch/configure: New file.
16171 * gdb.arch/Makefile.in: New file.
16172
db589741
CV
161732002-05-13 Corinna Vinschen <vinschen@redhat.com>
16174
16175 * gdb.asm/asm-source.exp: Add v850 as supported target.
16176 * gdb.asm/v850.inc: New file.
16177
8ce2a7dc
DJ
161782002-05-13 Daniel Jacobowitz <drow@mvista.com>
16179
16180 * gdb.c++/annota2.exp (annotate-quit): Add comment.
16181
df763c7f
DJ
161822002-05-12 Daniel Jacobowitz <drow@mvista.com>
16183
16184 * gdb.base/break.exp: Check 'break "marker2"'.
16185
377daeed
MS
161862002-05-10 Michael Snyder <msnyder@redhat.com>
16187
16188 * gdb.base/long_long.exp: Fix typo.
16189
c4b7bc2b
JB
161902002-05-10 Jim Blandy <jimb@redhat.com>
16191
ecac9a4e
JB
16192 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
16193 a bug.
16194
c4b7bc2b
JB
16195 * gdb.base/printcmds.exp (test_integer_literals_rejected):
16196 Recognize more detailed error message produced by the macro
16197 expander's lexical analyzer.
16198 * lib/gdb.exp (test_print_reject): Same.
16199
e71019a1
MK
162002002-05-09 Mark Kettenis <kettenis@gnu.org>
16201
16202 * gdb.c++/method.exp: Fix typo.
16203
fedfc8e6
MS
162042002-05-08 Michael Snyder <msnyder@redhat.com>
16205
166a1957
MS
16206 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
16207 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 16208 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
16209 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
16210 Add iftarget clause for strongarm.
d63a86f8 16211
f1c47eb2
MS
162122002-05-06 Michael Snyder <msnyder@redhat.com>
16213
cb9a9d3e
MS
16214 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
16215 (gdb_continue_to_end): Accept output from status wrapper.
16216 * gdb.base/ending-run.exp: Add case for output from status wrapper.
16217 Clean up fail messages to match pass messages.
16218
f1c47eb2
MS
16219 Enable the "needs_status_wrapper" testsuite feature.
16220 * lib/gdb.exp (gdb_wrapper_init): New procedure.
16221 (gdb_compile): Conditionally call gdb_wrapper_init.
16222 * gdb.base/a2-run.exp: Recognize output from status wrapper.
16223 * gdb.c++/method.exp: Recognize output from status wrapper.
16224
6079c749
BE
162252002-05-06 Ben Elliston <bje@redhat.com>
16226From Graydon Hoare <graydon@redhat.com>
16227
16228 * config/sid.exp: Include support for "rawsid" protocol.
16229
188baff3
JB
162302002-05-03 Jim Blandy <jimb@redhat.com>
16231
16232 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
16233 * gdb.c++/hang3.C: New file.
16234
b9c07f0f
AC
162352002-05-04 Andrew Cagney <ac131313@redhat.com>
16236
16237 * gdb.base/default.exp: Remove obsolete code.
16238 * gdb.c++/misc.exp: Ditto. Update copyright.
16239 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
16240 * gdb.base/whatis.exp: Ditto. Update copyright.
16241 * gdb.base/scope.exp: Ditto. Update copyright.
16242 * gdb.base/ptype.exp: Ditto. Update copyright.
16243 * gdb.base/printcmds.exp: Ditto. Update copyright.
16244 * gdb.base/opaque.exp: Ditto. Update copyright.
16245 * gdb.base/list.exp: Ditto.
16246 * gdb.base/funcargs.exp: Ditto. Update copyright.
16247 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
16248 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
16249 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
16250 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
16251 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
16252 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
16253
5c7a0397
MS
162542002-05-02 Michael Snyder <msnyder@redhat.com>
16255
d6dcc264 16256 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
16257 * gdb.base/long_long.exp: Add xscale target.
16258 * gdb.base/default.exp: Add xscale target.
16259
eb7f1c48
JB
162602002-05-01 Jim Blandy <jimb@redhat.com>
16261
16262 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
16263 gdb.c++/hang.exp: New test.
16264
a6befae8
FF
162652002-05-01 Fred Fish <fnf@redhat.com>
16266
16267 * gdb.base/completion.exp: Handle completions of "./Make" for
16268 more than one completion possibility, as is the case when we
16269 build and test in the source tree.
16270
0a310277
AG
162712002-04-29 Anthony Green <green@redhat.com>
16272
16273 * gdb.java/jmisc1.exp: New file.
16274 * gdb.java/jmisc2.exp: New file.
16275
6ff9af88
DJ
162762002-04-24 Daniel Jacobowitz <drow@mvista.com>
16277
16278 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
16279
96b3d632
EZ
162802002-04-23 Elena Zannoni <ezannoni@redhat.com>
16281
16282 * gdb.base/help.exp: Change 'help status' to allow for target
16283 dependent output differences.
16284
5019bb54
MC
162852002-04-22 Michael Chastain <mec@shout.net>
16286
16287 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
16288
a805a116
MC
162892002-04-22 Michael Chastain <mec@shout.net>
16290
16291 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
16292
a1706bfd
DM
162932002-04-17 David S. Miller <davem@redhat.com>
16294
16295 * gdb.asm/sparc64.inc: New file.
16296 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
16297
a73a20a2
EZ
162982002-04-19 Elena Zannoni <ezannoni@redhat.com>
16299
16300 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
16301 instruction file directly into the build tree. Clean up at end of
16302 test.
16303
ba678339
DM
163042002-04-18 David S. Miller <davem@redhat.com>
16305
16306 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
16307 handle 64-bit platforms correctly.
16308 * gdb.base/maint.exp: Likewise.
16309
b03399da
KB
163102002-04-18 Kevin Buettner <kevinb@redhat.com>
16311
16312 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
16313 ``-fpic'' when compiling files comprising a shared library, but
16314 it does need additional linker flags in order to find shared
16315 libraries at run time.
16316
e2004992
KB
163172002-04-18 Kevin Buettner <kevinb@redhat.com>
16318
16319 * gdb.base/cvexpr.c (use): New function.
16320 (main): Invoke use() on all global variables to prevent
16321 some linkers from deleting these otherwise unused symbols.
16322
d8937120
MC
163232002-04-17 Michael Chastain <mec@shout.net>
16324From David S. Miller <davem@redhat.com>
16325
16326 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
16327 handle 64-bit platforms correctly.
16328
ffd61a58
MS
163292002-04-12 Michael Snyder <msnyder@redhat.com>
16330From Jim Blandy <jimb@redhat.com>
a9c64011 16331 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
16332 script can handle this instead.
16333 * gdb.base/bar.c (barx): Same.
16334 * gdb.base/baz.c (bazx): Same.
16335 * gdb.base/grbx.c (grbxx): Same.
16336
16337 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
16338 manager doesn't automatically unmap overlays unnecessarily.
16339
6b8426a6
MH
163402002-04-10 Martin M. Hunt <hunt@redhat.com>
16341
16342 * gdb.base/ending-run.exp: Fix pattern for Mips targets
16343 stepping out of main.
16344
34af4875
MC
163452002-04-09 Michael Chastain <mec@shout.net>
16346
16347 * gdb.c++/local.cc (main): Move call to marker1() inside nested
16348 scope so that the nested scope tests will make sense.
16349 * gdb.c++/local.exp: Write patterns that actually work with gcc
16350 (the HP patterns "were never known to work with gcc").
16351 Keep the old aCC patterns too.
16352
2d1676a0
DJ
163532002-04-09 Daniel Jacobowitz <drow@mvista.com>
16354
16355 * gdb.base/attach.exp: Correct target board test.
16356
3a63e3f9
MC
163572002-04-08 Michael Chastain <mec@shout.net>
16358
16359 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
16360 in a const method. Add some xfail and fail cases for configurations
16361 that do not emit the "const ...".
16362
f18dabd2
MC
163632002-04-07 Michael Chastain <mec@shout.net>
16364
16365 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
16366 Accept "A * const" and "const A * const" as type of "this".
16367 Fix spelling of getFunky throughout. Make messages uniform.
16368
0fcddd82
EZ
163692002-04-07 Elena Zannoni <ezannoni@redhat.com>
16370
a9c64011 16371 Work around for PR gdb/285:
0fcddd82
EZ
16372 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
16373
16a8534a
EZ
163742002-04-07 Elena Zannoni <ezannoni@redhat.com>
16375
16376 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
16377 instructions file at run time instead of configure time.
16378 Sometimes we run the test in a directory that is not the one we
16379 configured in.
16380 * gdb.asm/configure.in: Delete creation of symlink.
16381 * gdb.asm/configure: Regenerate.
16382
24181d81
JB
163832002-04-05 J. Brobecker <brobecker@gnat.com>
16384
16385 * gdb.gdb/xfullpath.exp: New test, to exercise the new
16386 xfullpath () function.
16387
7cdb7107
DJ
163882002-04-04 Daniel Jacobowitz <drow@mvista.com>
16389
16390 * gdb.asm/Makefile.in: Correct dependencies.
16391
16392 * gdb.asm/powerpc.inc: New file.
16393 * gdb.asm/asm-source.exp: Add PowerPC.
16394 * gdb.asm/configure.in: Likewise.
16395 * gdb.asm/configure: Regenerated.
16396
a7d17088
DJ
163972002-04-04 Daniel Jacobowitz <drow@mvista.com>
16398
16399 * gdb.base/relocate.exp: New file.
16400 * gdb.base/relocate.c: New file.
16401
cd721503
FF
164022002-04-04 Fred Fish <fnf@redhat.com>
16403
16404 * gdb.base/step-test.exp: Update comment regarding stopping in
16405 memcpy/bcopy calls inserted as part of the compiler runtime.
16406
b22ad7a7
MS
164072002-04-04 Michael Snyder <msnyder@redhat.com>
16408
16409 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
16410
5f279fa6
DJ
164112002-04-03 Daniel Jacobowitz <drow@mvista.com>
16412
16413 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
16414 (gdb_expect): Remove $notransfer hack.
16415
dd0fd3ce
DJ
164162002-04-02 Daniel Jacobowitz <drow@mvista.com>
16417
16418 * gdb.c++/classes.exp ("calling method for small class"): Match
16419 updated register output.
16420
1e50cda1
DJ
164212002-03-30 Daniel Jacobowitz <drow@mvista.com>
16422
16423 Fix PR gdb/452
16424 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
16425 when finished. Make gdb_file_cmd send "exec-file" when
16426 appropriate.
16427
24015922
DJ
164282002-03-30 Daniel Jacobowitz <drow@mvista.com>
16429
16430 * gdb.base/attach.exp: Remove extra setup_xfail.
16431
dd7dfd64
MS
164322002-03-26 Michael Snyder <msnyder@redhat.com>
16433
16434 * gdb.base/default.exp: Add tests for dump, append, and restore.
16435 * gdb.base/help.exp: Add tests for dump, append, and restore.
16436 * gdb.base/dump.exp: New file, test dump, append and restore.
16437 * gdb.base/dump.c: New file.
16438
48b2f8d7
MS
164392002-03-27 Michael Snyder <msnyder@redhat.com>
16440
d63a86f8 16441 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
16442 clean-ups in help messages.
16443
05b4d525
FF
164442002-03-26 Fred Fish <fnf@redhat.com>
16445
16446 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
16447 have debugging info for those functions and the compiler uses them
16448 internally to copy structs around.
16449
d7679631
FF
164502002-03-26 Fred Fish <fnf@redhat.com>
16451
16452 * gdb.base/list.exp: Revert the change made yesterday and add note
16453 about why we don't list the default lines for remote targets.
16454
523ac3f9
MS
164552002-03-25 Michael Snyder <msnyder@redhat.com>
16456
16457 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
16458
754b2b8d
FF
164592002-03-25 Fred Fish <fnf@redhat.com>
16460
16461 * gdb.base/list.exp: This test works on remote targets so remove
16462 the short circuit for remote targets. Update copyright.
16463
33c3e192
FF
164642002-03-25 Fred Fish <fnf@redhat.com>
16465
16466 * gdb.base/attach.exp: Fix logic error that was suppressing this
16467 test for all non hppa*-*-hpux* targets, instead of the hp target.
16468 Move comments closer to the suppression point. Also now need to
16469 check that we are running natively.
16470
d43e73ee
MS
164712002-03-22 Michael Snyder <msnyder@redhat.com>
16472
882c8f02
MS
16473 * gdb.base/default.exp: Add test for gcore. Update copyright.
16474 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 16475
04c12f60
FF
164762002-03-06 Fred Fish <fnf@redhat.com>
16477
16478 * gdb.base/funcargs.c: Remove extraneous ';' character.
16479 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
16480
b43df995
MC
164812002-03-04 Michael Chastain <mec@shout.net>
16482
16483 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
16484 accommodate gcc v3 function signature.
16485 * gdb.mi/mi0-var-cmd-exp: Ditto.
16486
92362027
AC
164872002-02-24 Andrew Cagney <ac131313@redhat.com>
16488
16489 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
16490 ``GNU/Linux'' or ``Linux kernel''
16491 * testsuite/gdb.threads/pthreads.c: Ditto.
16492
258ad32d
MC
164932002-02-24 Michael Chastain <mec@shout.net>
16494
16495 * gdb.threads/pthreads.c (thread1): Add a return statement.
16496 (thread2): Likewise.
16497 (foo): Likewise.
16498
04c3b3d4
MC
164992002-02-23 Michael Chastain <mec@shout.net>
16500
16501 * gdb.threads/linux-dp.c (philosopher): Add a return statement
16502 to placate gcc.
16503
5a2a0a20
MC
165042002-02-23 Michael Chastain <mec@shout.net>
16505
16506 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
16507 test "ptype bint". The test passes on all my stabs configurations.
16508
a640f7fc
JB
165092002-02-21 Jim Blandy <jimb@redhat.com>
16510
27924826
JB
16511 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
16512 filename at a time, and watch for the ones we want to see.
16513
a640f7fc
JB
16514 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
16515 types of pointers to prototyped functions.
16516
edcc8c75
AC
165172002-02-20 Andrew Cagney <ac131313@redhat.com>
16518
16519 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
16520 signed, unsigned and straight char.
16521 (padding_char, padding_short, padding_int, padding_long,
16522 padding_long_long, padding_float, padding_double,
16523 padding_long_double): New global variables.
16524 (fill, fill_structs): New functions.
16525
16526 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
16527 for correctly sized writes. Update copyright.
16528 (get_valueof): New procedure.
16529 (get_sizeof): Call get_valueof.
16530 (check_valueof): New procedure.
16531 (check_padding): New procedure.
16532
ac57ea44
MC
165332002-02-20 Michael Chastain <mec@shout.net>
16534
16535 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
16536 to setup_xfail. Document some of the remaining calls.
16537
7a10c941
MC
165382002-02-18 Michael Chastain <mec@shout.net>
16539
16540 * gdb.c++/userdef.exp: Update copyright year.
16541
fb8acdcc
DJ
165422002-02-18 Daniel Jacobowitz <drow@mvista.com>
16543
16544 * gdb.c++/userdef.exp: Test overloaded operators properly.
16545 Remove xfails.
16546
fda6ae12
MS
165472002-02-14 Michael Snyder <msnyder@redhat.com>
16548
16549 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
16550
676a0442
DJ
165512002-02-14 Daniel Jacobowitz <drow@mvista.com>
16552
16553 * gdb.base/a2-run.exp: Check for a remote target properly.
16554 * gdb.base/annota1.exp: Likewise.
16555 * gdb.base/list.exp: Likewise.
16556 * gdb.base/reread.exp: Likewise.
16557 * gdb.base/scope.exp: Likewise.
16558 * gdb.base/shlib-call.exp: Likewise.
16559 * gdb.base/term.exp: Likewise.
16560 * gdb.c++/annota2.exp: Likewise.
16561
78b4f468
RE
165622002-02-13 Richard Earnshaw <rearnsha@arm.com>
16563
16564 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
16565
9a81ba51
MC
165662002-02-10 Michael Chastain <mec@shout.net>
16567
16568 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
16569 (call_after_alloca): Ditto.
16570
004af6c7
DJ
165712002-02-10 Daniel Jacobowitz <drow@mvista.com>
16572
16573 * gdb.base/ending-run.exp: Guard "cont" test with
16574 gdb_skip_stdio_test.
16575
37225f62
JB
165762002-02-06 Jim Blandy <jimb@redhat.com>
16577
16578 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
16579 from here...
16580 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
16581 To here. Disable this test on non-HP platforms. Add big comment.
16582
fe6fdd96
MS
165832002-02-04 Michael Snyder <msnyder@redhat.com>
16584
16585 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
16586 other than d10v and m32r.
16587
036fad3f
RE
165882002-02-02 Richard Earnshaw <rearnsha@arm.com>
16589
16590 * gdb.base/default.exp: Rewrite test patterns to reduce time
16591 taken to match them.
16592
7148ab62
DJ
165932002-01-30 Daniel Jacobowitz <drow@mvista.com>
16594
16595 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
16596 Allow a start function above main.
16597 * gdb.threads/linux-dp.exp: Fix copyright date.
16598
396cc255
DJ
165992002-01-30 Daniel Jacobowitz <drow@mvista.com>
16600
a9c64011
AS
16601 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
16602 (check_philosopher_stack): Check for manager thread before checking
16603 for a just-starting thread.
396cc255 16604
f038d31b
DJ
166052002-01-30 Daniel Jacobowitz <drow@mvista.com>
16606
16607 From Neil Booth <neil@daikokuya.demon.co.uk>:
16608 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
16609 warnings.
16610
b3ff9d9a
FF
166112002-01-21 Fred Fish <fnf@redhat.com>
16612
16613 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
16614 not caller.
16615
39ad761d
JB
166162002-01-21 Jim Blandy <jimb@redhat.com>
16617
16618 * gdb.base/reread.exp: Check that GDB properly re-reads the
16619 executable file when it changes while no inferior is running.
16620
aaf320fa
FF
166212002-01-21 Fred Fish <fnf@redhat.com>
16622
a9c64011
AS
16623 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
16624 optionally accept the "shlib events" variation.
aaf320fa 16625
808a31f5
JB
166262002-01-21 Jim Blandy <jimb@redhat.com>
16627
16628 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
16629 call `fflush' after every `printf', so that the output is produced
16630 at predictable points, regardless of whatever buffering does (or
16631 doesn't) take place.
16632 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
16633 at different points.
16634
4420d5e2
DJ
166352002-01-20 Daniel Jacobowitz <drow@mvista.com>
16636
16637 * gdb.c++/inherit.exp: Update copyright years.
16638 * gdb.c++/method.exp: Likewise.
16639
3e36a0f4
DJ
166402002-01-20 Daniel Jacobowitz <drow@mvista.com>
16641
16642 * gdb.c++/classes.exp: Update for improved v3 support and skipping
16643 artificial methods/arguments.
16644 * gdb.c++/derivation.exp: Likewise.
16645 * gdb.c++/inherit.exp: Likewise.
16646 * gdb.c++/method.exp: Likewise.
16647 * gdb.c++/virtfunc.exp: Likewise.
16648
b4ceaee6
AC
166492002-01-18 Andrew Cagney <ac131313@redhat.com>
16650
16651 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
16652 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
16653 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
16654 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
16655 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
16656 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
16657
ecace851
JB
166582002-01-17 Jim Blandy <jimb@redhat.com>
16659
16660 * gdb.asm/asm-source.exp (info symbol): Take another shot at
16661 anchoring the pattern matching the entry point symbol's name.
16662
375fc983
AC
166632002-01-17 Andrew Cagney <ac131313@redhat.com>
16664
16665 * gdb.base/maint.exp: Update ``maint internal-error'' to match
16666 continue/quit query. Update copyright.
16667
fe6fdd96
MS
166682002-01-14 Michael Snyder <msnyder@redhat.com>
16669
16670 * gdb.base/gcore.exp: Remove extra debugging output.
16671
e017c81f
DJ
166722002-01-13 Daniel Jacobowitz <drow@mvista.com>
16673
16674 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
16675 for slightly dubious v2 mangled string.
16676
37ab3bf8
DJ
166772002-01-13 Daniel Jacobowitz <drow@mvista.com>
16678
16679 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
16680
1bc05c3a 166812002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 16682
1bc05c3a 16683 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 16684
1bc05c3a
JM
16685 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
16686 constructors.
16687 * gdb.c++/derivation.exp: Likewise.
16688 * gdb.c++/templates.exp: Likewise.
16689 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 16690
1bc05c3a
JM
166912002-01-10 Michael Snyder <msnyder@redhat.com>
16692
16693 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 16694
a911c360
MS
166952002-01-08 Michael Snyder <msnyder@redhat.com>
16696
16697 * gdb.base/gcore.exp: New test for generate-core-file command.
16698 * gdb.base/gcore.c: Testcase for above.
16699 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
16700
ea2119ec
JM
167012002-01-08 Jason Merrill <jason@redhat.com>
16702
16703 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
16704
68203136
FF
167052002-01-07 Fred Fish <fnf@redhat.com>
16706
16707 * gdb.c++/overload.exp: Remove unconditional xfails for:
16708 print foo_instance1.overloadargs(1)
16709 print foo_instance1.overloadargs(1, 2)
16710 print foo_instance1.overloadargs(1, 2, 3)
16711 print foo_instance1.overloadargs(1, 2, 3, 4)
16712 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
16713 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
16714 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
16715 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
16716 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
16717 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
16718 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
16719 print foo_instance1.overload1arg()
16720 print foo_instance1.overload1arg((char)arg2)
16721 print foo_instance1.overload1arg((signed char)arg3)
16722 print foo_instance1.overload1arg((unsigned char)arg4)
16723 print foo_instance1.overload1arg((int)arg7)
16724 print foo_instance1.overload1arg((unsigned int)arg8)
16725 print foo_instance1.overload1arg((float)arg11)
16726 print foo_instance1.overload1arg((double)arg12)
d63a86f8 16727
21b9b5b1
MS
167282002-01-07 Michael Snyder <msnyder@redhat.com>
16729
16730 * gdb.base/huge.exp: New test. Print a very large target data object.
16731 (skip_huge_test): New test variable. Define if you want to skip this
16732 test. The test reads an 8 megabyte data object from the target, so it
16733 might be very time consuming on remote targets with a slow connection.
16734 * gdb.base/huge.c: New file. Test case for above.
16735
725f922e
FF
167362002-01-07 Fred Fish <fnf@redhat.com>
16737
16738 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
16739 g_instance.bfoo, and g_instance.cfoo.
16740
889bf7c5 167412002-01-07 Jeffrey A Law <law@redhat.com>
634d57ec 16742
889bf7c5
PA
16743 * gdb.base/break.c (multi_line_if_conditional): New function.
16744 (multi_ilne_while_conditional): Likewise.
16745 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
16746 IF or WHILE condition puts the breakpoint at the start of
16747 the condition.
f286b2c3 16748
634d57ec
JL
16749 * gdb.base/selftest.exp (backtrace through signal handler): Remove
16750 hppa*-*-hpux* expected failure.
16751 * gdb.base/structs.exp (do_function_calls): Similarly.
16752
16753 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
16754 watchpoints.
16755
9fbfe2dc
AC
167562002-01-06 Andrew Cagney <ac131313@redhat.com>
16757
16758 Fix PR gdb/66.
16759 * gdb.base/structs.exp: Replace skip for a29k with skip for
16760 gdb,cannot_call_functions.
16761 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
16762 * gdb.base/callfuncs.exp: Ditto.
16763 * gdb.base/call-rt-st.exp: Ditto.
16764 * gdb.base/call-strs.exp: Ditto.
16765 * gdb.base/callfwmall.exp: Ditto.
16766 * gdb.base/scope.exp: Obsolete xfail a29k.
16767 * gdb.c++/misc.exp: Ditto.
16768 * gdb.c++/cplusfuncs.exp: Ditto.
16769 * gdb.base/ptype.exp: Ditto.
16770 * gdb.base/printcmds.exp: Ditto.
16771 * gdb.base/opaque.exp: Ditto.
16772 * gdb.base/list.exp: Ditto.
16773 * gdb.base/funcargs.exp: Ditto.
16774 * gdb.base/default.exp: Ditto.
16775
8ddad156
MS
167762002-01-04 Michael Snyder <msnyder@redhat.com>
16777
ca4976a6 16778 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
16779 * gdb.base/maint.exp: Add tests for maint info sections options.
16780
1b074332
JL
16781Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
16782
16783 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
16784
7d159115
CV
167852001-12-20 Corinna Vinschen <vinschen@redhat.com>
16786
16787 * gdb.asm/arm.inc: New file.
16788 * gdb.asm/asm-source.exp: Add arm targets.
16789 * gdb.asm/configure.in: Ditto.
16790 * gdb.asm/configure: Recreated from configure.in.
16791
8fb87725
JL
16792Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
16793
afabe08c
JL
16794 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
16795 with HP's compiler.
16796 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
16797 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
16798 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
16799 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
16800
16801 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
16802 either HP's compilers or GCC.
16803
db521deb
JL
16804 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
16805 a SIGBUS or SIGSEGV.
16806
16807 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
16808
16809 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
16810 can be compiled with either HP's compiler or GCC.
16811
cfa88ab7
JL
16812 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
16813 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
16814 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
16815
ca344dff
JL
16816 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
16817 to match current gdb output. Update due to using auto-solib-limit
16818 for limiting instead of overloading auto-solib-add.
16819 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
16820 test program.
16821
3f3c6e55 16822 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
16823 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
16824 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
16825 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
16826 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
16827 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
16828 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
16829 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
16830 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
16831 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
16832 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
16833 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
16834 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 16835
8fb87725
JL
16836 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
16837 a SIGTRAP to the inferior.
16838
cf599fa7
CV
168392001-12-19 Corinna Vinschen <vinschen@redhat.com>
16840
16841 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
16842 Substitute call to target_link by call to gdb_compile.
16843
2cd045cd
JL
16844Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
16845
a9c64011
AS
16846 * gdb.base/break.exp: Fix HP specific search string when testing
16847 backtracing in a called function.
2cd045cd 16848
a9c64011
AS
16849 * gdb.base/constvars.exp: Only set lang to C++ if we're
16850 compiling the test with HP's compilers.
16851 * gdb.base/volatile.exp: Similarly.
2cd045cd 16852
99ebe9ac
JB
168532001-12-19 Jim Blandy <jimb@redhat.com>
16854
16855 * gdb.base/printcmds.exp: Expect the null character to be printed
16856 as '\0', and the '\013' to be printed as '\v'.
16857 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
16858 * gdb.base/setvar.exp: Same.
16859
b9891b29
JB
168602001-12-17 Jim Blandy <jimb@redhat.com>
16861
0eba65ab
JB
16862 * gdb.base/completion.exp: Rather than completing very long
16863 filenames, which can make the readline library produce output we
16864 don't recognize, cd to the directory first, and then complete
16865 using nice, short relative paths.
16866
6970b5b1
JB
16867 * gdb.base/completion.exp: On some systems, there is, in fact, a
16868 variable named `b' in scope, since GDB treats all static
a9c64011
AS
16869 variables as being in scope. So use `no_var_named_this'
16870 instead of `b'.
6970b5b1 16871
b9891b29 16872 * gdb.base/corefile.exp: Recognize the message saying that GDB
889bf7c5 16873 can't find the core file's registers as a failure.
b9891b29 16874
e6ccd35f
JSC
168752001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
16876
a9c64011
AS
16877 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
16878 test expect string more specific.
e6ccd35f 16879
105ba819
CV
168802001-12-13 Corinna Vinschen <vinschen@redhat.com>
16881
16882 * gdb.asm/asm-source.exp: Add support for xstormy16.
16883 * gdb.asm/configure.in: Ditto.
16884 * gdb.asm/configure: Rebuild.
16885 * gdb.asm/xstormy16.inc: New file.
16886
e9e79dd9
FF
168872001-12-10 Fred Fish <fnf@redhat.com>
16888
16889 * gdb.base/maint.exp: Update to match changes in type dumping code.
16890
347dc97d
JB
168912001-12-10 Jim Blandy <jimb@redhat.com>
16892
16893 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
889bf7c5
PA
16894 matching the entry point symbol's name at the beginning of the
16895 line.
347dc97d 16896
5178b9d6
DJ
168972001-12-07 Daniel Jacobowitz <drow@mvista.com>
16898
16899 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
16900 gdb.c++/inherit.exp, gdb.c++/method.exp,
16901 gdb.c++/namespace.exp, gdb.c++/templates.exp,
16902 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
16903 and class layout support.
16904
af890c52
DJ
169052001-12-07 Daniel Jacobowitz <drow@mvista.com>
16906
16907 * gdb.c++/classes.exp: Add test for static member function.
16908 * gdb.c++/misc.cc: Add class with static member function.
16909
7a345fb3
JB
169102001-12-07 Jim Blandy <jimb@redhat.com>
16911
f2e54a80 16912 If GDB says it can't find the struct the function returned, report
8032bf31
JB
16913 those tests as `unsupported'.
16914 * gdb.base/call-rt-st.exp (print_struct_call): New function.
16915 Rewrite subsequent tests to use it.
16916
16917 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
16918 those tests as `unsupported'.
16919 * gdb.base/structs.exp (call_struct_func): New function.
16920 (do_function_calls): Use call_struct_func to call the functions
16921 returning structs.
16922
0bc69509
JB
16923 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
16924 whether functions are prototyped or not, so we can't possibly pass
16925 arguments to t_float_values2 properly.
16926
7a345fb3
JB
16927 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
16928 value of `timeout' for targets other than the mips*tx39-*.
16929
edb6ede1
MS
169302001-12-06 Michael Snyder <msnyder@redhat.com>
16931
d63a86f8 16932 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
16933 and detect whether the start symbol has a leading underscore.
16934
2d842f13
JB
169352001-12-04 Jim Blandy <jimb@redhat.com>
16936
16937 * gdb.base/completion.exp: Clarify indentation.
16938
68550daf
JB
169392001-12-03 Jim Blandy <jimb@redhat.com>
16940
16941 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
16942 variables on the S/390, not `.word'.
16943
cd5195a8
JB
169442001-11-30 Jim Blandy <jimb@redhat.com>
16945
16946 Add assembly-source tests for s390-ibm-linux.
16947 * gdb.asm/s390.inc: New file.
16948 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
16949 the S/390 architecture.
a9c64011 16950 * gdb.asm/configure: Regenerated.
cd5195a8 16951
ca9efc90
MS
169522001-11-30 Michael Snyder <msnyder@redhat.com>
16953
16954 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
16955 next, info source, info sources, info line, global and static
16956 variables, and static functions.
16957 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
16958 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
16959 * gdb.asm/asmsrc1.s: Add a static function and some variables.
16960 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
16961 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
16962 (gdbasm_leave): Restore frame pointer.
16963 (gdbasm_startup): Copy stack set-up from crt0.S.
16964
d0e66976
FN
169652001-11-26 Fernando Nasser <fnasser@redhat.com>
16966
16967 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
16968 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
16969 to a local (non-static) variable. Copy tstruct.a to a static buffer
16970 and return a pointer to that buffer.
16971 * gdb.base/callfwmall.c (t_structs_a): Ditto.
16972
e2334072
MK
169732001-11-24 Mark Kettenis <kettenis@gnu.org>
16974
16975 * gdb.asm/configure.in: Fix recognition of ix86 target.
16976 * gdb.asm/configure: Regenerate.
16977
756caa3d
MS
169782001-11-21 Michael Snyder <msnyder@redhat.com>
16979
16980 * gdb.asm/sparc.inc: New file.
16981 * gdb.asm/asm-source.exp: Recognize sparc target.
16982 * gdb.asm/configure.in: Recognize sparc target.
16983 * gdb.asm/configure: Regenerate.
d63a86f8 16984
9a4d72d5
MS
169852001-11-21 Michael Snyder <msnyder@redhat.com>
16986
16987 * gdb.asm/m32r.inc: New file.
16988 * gdb.asm/asm-source.exp: Recognize m32r target.
16989 * gdb.asm/configure.in: Recognize m32r target.
16990 * gdb.asm/configure: Regenerate.
16991
a773d1cd
MS
169922001-11-20 Michael Snyder <msnyder@redhat.com>
16993
017ac23d
MS
16994 * gdb.asm/i386.inc: New file.
16995 * gdb.asm/asm-source.exp: Recognize ix86 target.
16996 * gdb.asm/configure.in: Recognize ix86 target.
16997 * gdb.asm/configure: Regenerate.
16998
a773d1cd
MS
16999 * gdb.c++/namespace.exp: Fix quotes in output messages.
17000
bb632afb
MS
170012001-11-14 Michael Snyder <msnyder@redhat.com>
17002
25d559ca 17003 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
17004 qualifier in a type cast expression, to designate an address
17005 in the instruction space (Harvard architecture).
17006
4749e309
MS
170072001-11-13 Michael Snyder <msnyder@redhat.com>
17008
17009 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
17010 Tests for expressions using 'const' and 'volatile'.
17011
25050984
CV
170122001-11-13 Corinna Vinschen <vinschen@redhat.com>
17013
17014 * gdb.asm/asm-sources.exp: Allow defining linker flags.
17015
1902c51f
DJ
170162001-11-12 Daniel Jacobowitz <drow@mvista.com>
17017
17018 * lib/mi-support.exp (mi_run_to_helper): Move comments
17019 outside of gdb_expect.
17020
dcf95b47
DJ
170212001-11-11 Daniel Jacobowitz <drow@mvista.com>
17022
17023 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
17024 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
17025 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
17026 mi0_run_to): New functions.
17027 * gdb.mi/mi-simplerun.exp: Use them.
17028 * gdb.mi/mi0-simplerun.exp: Likewise.
17029 * gdb.mi/mi-var-cmd.exp: Likewise.
17030 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 17031
45b074e1
AC
170322001-11-10 Andrew Cagney <ac131313@redhat.com>
17033
17034 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
17035 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
17036
bf50d346
AC
170372001-11-09 Andrew Cagney <ac131313@redhat.com>
17038
17039 * gdb.base/restore.exp: Include $expected value in restored test
17040 message.
17041
9383332c
AC
170422001-11-09 Andrew Cagney <ac131313@redhat.com>
17043
17044 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
17045 implemented.
17046
db62520a
MS
170472001-11-08 Michael Snyder <msnyder@redhat.com>
17048
17049 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
17050 Add pass/fail message for stop at breakpoint in call dummy function.
17051
b5703437
MS
170522001-11-07 Michael Snyder <msnyder@redhat.com>
17053
d63a86f8
RM
17054 * gdb.c++/templates.exp (test_template_breakpoints):
17055 If we get an overload menu, but it does not match what
760f6330 17056 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
17057 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
17058 making the whitespace optional. Argument for "new" may be
17059 "unsigned" as well as "unsigned int/long".
d63a86f8 17060 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
17061 making the whitespace optional. Also replace "(void) with
17062 "((void|)), making the keyword "void" optional.
d63a86f8 17063 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
17064 making the whitespace optional. Also replace "(void) with
17065 "((void|)), making the keyword "void" optional.
3bf40917
MS
17066 * gdb.base/callfuncs.c (t_float_values): This function must
17067 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 17068 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
17069 can be tested against both cases. Usually one case involves
17070 promotion of float to double, while the other does not.
17071 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
17072 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
17073 includes a stack frame for "start".
17074
c8ab4e6d
JB
170752001-11-05 Jim Blandy <jimb@redhat.com>
17076
17077 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
17078 pointers are 32 bits long, and that offsets of relocs are always
17079 stored in the data (REL-style), and not in the reloc entry itself
17080 (RELA-style).
17081 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
17082 stabs.
17083
3f08ced9
MS
170842001-11-01 Michael Snyder <msnyder@redhat.com>
17085
17086 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
17087 and regular expression operators by using quoting.
17088
cbfa24cd
MS
170892001-10-31 Michael Snyder <msnyder@redhat.com>
17090
17091 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
17092 depending on what the symbol table contains.
17093 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
17094 the output of the ptype command. Similarly, accept both "const &"
17095 and "const&".
17096
aaa68313
CV
170972001-10-31 Corinna Vinschen <vinschen@redhat.com>
17098
17099 * gdb.base/miscexprs.c (main): Add usage of preprocessor
17100 symbol `STORAGE' to allow to choose the storage class of
17101 the local datastructures.
17102 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
17103 compiler directive.
17104
91740388
MS
171052001-10-30 Michael Snyder <msnyder@redhat.com>
17106
17107 * gdb.base/jump.exp: Allow it to run for all targets.
17108
1b7c05e7
CV
171092001-10-29 Corinna Vinschen <vinschen@redhat.com>
17110
17111 * gdb.base/call-ar-st.c (print_double_array): Match for loop
17112 with new double_array size.
17113 (main): Change storage class of all local variables to static.
17114 Reduce size of double_array to 9.
17115 * gdb.base/call-ar-st.exp: Increase timeout value.
17116 Change expected output for double array to match new size in
17117 call-ar-st.c.
17118
36a22261
CV
171192001-10-29 Corinna Vinschen <vinschen@redhat.com>
17120
17121 * gdb.base/ending-run.exp: Create identical output when passing
17122 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 17123 Stormy16 target.
36a22261 17124
92b8ae91
MK
171252001-10-28 Mark Kettenis <kettenis@gnu.org>
17126
17127 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
17128 that we catch the expected failure under Linux/x86.
17129
cb135b83
OF
171302001-10-29 Orjan Friberg <orjanf@axis.com>
17131
17132 * gdb.base/setvar.exp: Escape curly braces.
17133 * gdb.stabs/weird.exp: Ditto.
17134
6884aa54
DJ
171352001-10-27 Daniel Jacobowitz <drow@mvista.com>
17136
17137 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
17138 * gdm.mi/mi0-hack-cli.exp: Likewise.
17139
0398c9aa
AC
171402001-10-25 Andrew Cagney <ac131313@redhat.com>
17141
17142 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
17143 messages.
17144
d20bf2e8
AC
171452001-10-21 Andrew Cagney <ac131313@redhat.com>
17146
17147 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
17148 checking MI enabled.
17149
03dd63aa
CV
171502001-10-09 Corinna Vinschen <vinschen@redhat.com>
17151
17152 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
17153
1d9d99f3
FCE
171542001-10-04 Frank Ch. Eigler <fche@redhat.com>
17155
17156 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
17157 if gdb child process crashes, just signal an error.
17158
838ae6c4
JB
171592001-10-02 Jim Blandy <jimb@redhat.com>
17160
17161 * lib/gdb.exp (test_xfail_format): Simplify.
17162
17163 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
17164 front of the variable name `format'. Simplify `if'.
17165
8f0cbc1c
DJ
171662001-10-01 Daniel Jacobowitz <drow@mvista.com>
17167
17168 * gdb.threads/pthreads.exp: Wait for output and delay
17169 before sending ^C.
17170
1f08dafd
DJ
171712001-10-01 Daniel Jacobowitz <drow@mvista.com>
17172
17173 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
17174 some incorrect output instead of timing out.
17175 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
17176
674f90ff
CV
171772001-09-28 Corinna Vinschen <vinschen@redhat.com>
17178
17179 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
17180 check to allow additional `int'.
17181
9b284272
DJ
171822001-09-27 Daniel Jacobowitz <drow@mvista.com>
17183
17184 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
17185 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
17186
b55a4771
MS
171872001-09-27 Michael Snyder <msnyder@redhat.com>
17188
17189 * lib/gdb.exp (test_debug_format): New proc.
17190 (setup_xfail_format): Use new proc test_debug_format.
17191 * gdb.base/constvars.exp (local_compiler_xfail_check): New
17192 proc; use new service proc test_debug_format.
17193 Replace all other "gcc_compiled" tests with this test.
17194 * gdb.base/volatile.exp (local_compiler_xfail_check): New
17195 proc; use new service proc test_debug_format.
17196 Replace all other "gcc_compiled" tests with this test.
17197
171982001-09-27 Michael Snyder <msnyder@redhat.com>
17199
17200 * gdb.base/cvexpr.exp: New file.
17201 * gdb.base/cvexpr.c: New file
17202 Test for expressions using const and volatile keywords.
17203
4e6667ac
CV
172042001-09-26 Corinna Vinschen <vinschen@redhat.com>
17205
17206 * gdb.base/constvars.exp: Check for different orders of keywords
17207 and additional "int" strings in output.
17208
4f337972
AC
172092001-09-22 Andrew Cagney <ac131313@redhat.com>
17210
17211 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
17212 responses from "help maint".
17213
2015650d
FCE
172142001-09-19 Frank Ch. Eigler <fche@redhat.com>
17215
17216 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
17217 to localhost:NNN instead of :NNN, in case Xvfb is listening
17218 only on TCP.
17219
f3bcedc1
CV
172202001-09-19 Corinna Vinschen <vinschen@redhat.com>
17221
17222 * gdb.base/recurse.exp: When checking leaving the watchpoint
17223 scope, recognize when gdb is in function's epilogue and pass.
17224
6b819c92
KS
172252001-09-18 Keith Seitz <keiths@redhat.com>
17226
17227 * lib/insight-support.exp (_gdbtk_export_target_info): Add
17228 support for running tests against sid targets.
17229 (gdbtk_done): Ditto.
17230
a10c9419
CV
172312001-09-18 Corinna Vinschen <vinschen@redhat.com>
17232
17233 * gdb.base/ending-run.c (main): Set stdout buffersize
17234 to the same reasonable value for any target.
17235 * gdb.base/ending-run.exp: Add a regular expression
17236 to make testsuite happy on Sanyo Stormy16 target.
17237
739d0d99
CV
172382001-09-17 Corinna Vinschen <vinschen@redhat.com>
17239
17240 * gdb.base/display.c (do_loops): Add float variable `f'.
17241 Increment f in loop.
17242 * gdb.base/display.exp: Increment timeout by 60 seconds.
17243 Change float display test to use variable `f'.
17244
1b8947f0
JB
172452001-09-17 Jim Blandy <jimb@redhat.com>
17246
17247 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
17248 overflowing the limited breakpoint tables on some ROM monitors
17249 (like the ROM68K).
17250
9890ac81
FCE
172512001-09-15 Frank Ch. Eigler <fche@redhat.com>
17252
17253 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
17254 the "-ac" (disable access control) flag.
17255
6db765ea
JH
172562001-08-30 Jeff Holcomb <jeffh@redhat.com>
17257
17258 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
17259 ints.
17260
4c32cc04
KS
172612001-08-30 Keith Seitz <keiths@redhat.com>
17262
17263 * lib/gdb.exp: Move all insight-related functionality into
17264 separate file.
17265 * lib/insight-support.exp: New file.
17266
8d6e6f81
FCE
172672001-08-29 Frank Ch. Eigler <fche@redhat.com>
17268
17269 * config/sid.exp (sid_start): Never set sid verbosity; disable
17270 expect_background {} that consumed its stdout; tolerate </dev/null.
17271 Attempt to set endianness override in "sid" protocol mode. Cleanup.
17272
6a90e1d0
AC
172732001-08-18 Andrew Cagney <ac131313@redhat.com>
17274
17275 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
17276 CLI jump command to start it.
17277 (mi_run_to_main): Fail immediatly when unexpected output.
17278
1759b3c3
AC
172792001-08-18 Andrew Cagney <ac131313@redhat.com>
17280
17281 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
17282 beginning of function. Fix PR gdb/191.
17283
61d11d80
FCE
172842001-08-16 Frank Ch. Eigler <fche@redhat.com>
17285
17286 * config/sid.exp (sid_start): Don't warn if we cannot figure out
17287 what to force sid endianness to.
17288
942a4df2
KS
172892001-08-15 Keith Seitz <keiths@redhat.com>
17290
17291 * lib/gdb.exp (gdbtk_start): Don't set environment
17292 variables for TCL_LIBRARY and friends. Insight will
17293 now figure these out for itself.
17294
0521c418
MS
172952001-08-02 Michael Snyder <msnyder@redhat.com>
17296
17297 * gdb.base/completion.exp: Remove the symbol "a64l" from
17298 the expect string; this is target-specific, and not related
17299 to what is being tested.
17300
74a9a58a
DB
173012001-08-02 Dave Brolley <brolley@redhat.com>
17302
17303 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
17304
c70819fa
MS
173052001-07-25 Michael Snyder <msnyder@redhat.com>
17306
c2b8fa57
MS
17307 * gdb.base/consecutive.exp: New file. Test stepping over
17308 breakpoints on consecutive instructions.
17309 * gdb.base/consecutive.c: New file.
17310
c70819fa
MS
17311 * gdb.base/call-rt-st.exp: Use double-backslash to quote
17312 curly braces in regular expressions.
17313
2b1a1355
MS
173142001-07-25 Michael Snyder <msnyder@redhat.com>
17315
17316 * gdb.base/ending-run.exp: Accept "Program exited normally" as
17317 legitimate output from stepping out of main.
17318
413eca6f
KS
173192001-07-22 Keith Seitz <keiths@redhat.com>
17320
17321 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
17322 the empty string, do not run the tests.
17323
7e5a9322
SC
173242001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
17325
17326 * gdb.base/long_long.exp: Detect size of pointer. Take into
17327 account 2-byte pointers when testing for p/a results.
17328
de58f10f
SC
173292001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
17330
d63a86f8 17331 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
17332 and defined to 1K for m68hc11.
17333 (random_data): Reduce table to 1K for embedded platforms (68hc11).
17334 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
17335 (sizeof_random_data): New variable to tell the size of the data table;
17336 don't test past this size; always run to main.
17337
d6f5fea1
SC
173382001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
17339
17340 * gdb.base/return2.exp: return of long long and double fails for
17341 68HC11; don't execute these tests on that platform.
17342 * gdb.base/return.exp: Return of a double fails for 68hc11.
17343
c477543d
SC
173442001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
17345
17346 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
17347 tests that print a float.
17348 * call-rt-st.exp: Likewise.
17349
63cf1c79
MK
173502001-07-12 Mark Kettenis <kettenis@gnu.org>
17351
17352 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
17353 running this test on Linux.
17354
112f9ab5
MC
173552001-06-24 Michael Chastain <chastain@redhat.com>
17356
17357 * gdb.base/arithmet.exp: Remove some tests to make all test names
17358 unique.
17359
4970cb0f
MS
173602001-07-03 Michael Snyder <msnyder@redhat.com>
17361
17362 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
17363 the output of the ptype command.
17364
d85da69f
MS
173652001-07-02 Michael Snyder <msnyder@redhat.com>
17366
4c8a82de
MS
17367 * gdb.base/completion.exp: Don't assume that break.c is the only
17368 source file that may contain functions named "marker".
d85da69f
MS
17369 * gdb.base/corefile.exp: Quote the curly braces in regexp.
17370
8afc772b
AC
173712001-06-28 Andrew Cagney <ac131313@redhat.com>
17372
17373 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
17374 of files to delete.
17375
17376 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
17377 * gdb.disasm/h8300s.exp: New file.
17378 gdb.disasm/h8300s.s: Likewise.
17379
cff22675
AC
173802001-06-27 Andrew Cagney <ac131313@redhat.com>
17381
17382 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
17383 empty breakpoint tables.
17384
68c81b54
AC
173852001-06-25 Andrew Cagney <ac131313@redhat.com>
17386
17387 * lib/mi-support.exp: Update args=... part of stop-reason
17388 patterns. Accept either a list or a tuple.
17389
2dd62704
AC
173902001-06-23 Andrew Cagney <ac131313@redhat.com>
17391
17392 * lib/mi-support.exp: Remove local emacs variable defining
17393 change-log-default-name.
17394
b4127474
MC
173952001-06-22 Michael Chastain <chastain@redhat.com>
17396
17397 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
17398 This is operationally compatible with the previous version.
17399
8dbfb380
JB
174002001-06-13 Jim Blandy <jimb@redhat.com>
17401
17402 * lib/gdb.exp (gdb_test): Doc fix.
17403
f2d8c86d
MC
174042001-06-10 Michael Chastain <chastain@redhat.com>
17405
17406 * gdb.base/exprs.exp: Remove a duplicate test.
17407
81564d34
JB
174082001-06-06 Jim Blandy <jimb@redhat.com>
17409
17410 * gdb.base/return2.exp (main): Use values to test float and double
17411 returns that are not NaN's, to avoid being confused by IEEE
17412 comparison rules.
17413
da55addb
MS
174142001-06-04 Michael Snyder <msnyder@redhat.com>
17415
17416 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 17417 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
17418 rather than wait for 12 more tests to time out.
17419
42c65987
JB
174202001-06-06 Jim Blandy <jimb@redhat.com>
17421
b18bced9 17422 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 17423 Don't forget to match the GDB prompt.
b18bced9 17424
42c65987
JB
17425 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
17426
5b41e5f0
JB
174272001-06-04 Jim Blandy <jimb@redhat.com>
17428
17429 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
17430 command.
17431
015e046f
KB
174322001-05-31 Kevin Buettner <kevinb@redhat.com>
17433
17434 * gdb.base/annota1.exp (info break): Match four or more spaces
17435 after "Address".
17436
fb1ffbbe
MC
174372001-05-31 Michael Chastain <chastain@redhat.com>
17438
17439 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
17440 (dm_type_int_star): Likewise.
17441 (dm_type_long_star): Likewise.
17442 (dm_type_void_star): Likewise.
17443
5ea2a32c
KB
174442001-05-29 Kevin Buettner <kevinb@redhat.com>
17445
17446 * gdb.base/completion.exp (INPUTRC): Set this environment variable
17447 to a known value in order to get consistent results regardless
17448 of the setting of INPUTRC or the presence or contents of .inputrc.
17449
ae23c492
MS
174502001-05-24 Michael Snyder <msnyder@redhat.com>
17451
ac55707e
MS
17452 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
17453 Don't require that the main thread and the manager thread are the
17454 first in the list.
17455
ae23c492
MS
17456 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
17457 debugging. If test fails, issue an "unsupported" not a "fail".
17458
400071f1
JB
174592001-05-24 Jim Blandy <jimb@redhat.com>
17460
17461 Don't assume that short is shorter than int.
17462 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
17463 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 17464 this isn't true.
400071f1
JB
17465 ("print unsigned char == (~0)"): Add test that verifies that ~0,
17466 an int, is not equal to ~0 stored in an unsigned char. This tests
17467 the same thing that the previous test meant to, but works on
17468 16-bit machines, too.
17469 ("print unsigned char != (~0)"): Same test, complemented.
17470
0816a3e5
MS
174712001-05-24 Michael Snyder <msnyder@redhat.com>
17472
17473 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 17474 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
17475 and prevents dejagnu getting out of step.
17476
f6dc23a9
KB
174772001-05-23 Kevin Buettner <kevinb@redhat.com>
17478
17479 * gdb.base/finish.exp (finish_void): Revise pattern for
17480 stopping on the call statement to not permit stopping at
17481 the start of the instructions comprising the call sequence.
17482
7dbd117d
MC
174832001-05-19 Michael Chastain <chastain@redhat.com>
17484
17485 * gdb.base/callfuncs.exp: Make all test names unique.
17486 * gdb.base/commands.exp: Make all test names unique.
17487 * gdb.base/condbreak.exp: Make all test names unique.
17488 * gdb.base/dbx.exp: Make all test names unique.
17489 * gdb.base/default.exp: Make all test names unique.
17490 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
17491 and TIMEOUT messages to their corresponding PASS message.
17492 * gdb.base/ending-run.exp: Make all test names unique.
17493 * gdb.base/long_long.exp: Remove duplicate test.
17494
6b0b0a9e
KB
174952001-05-21 Kevin Buettner <kevinb@redhat.com>
17496
17497 * gdb.base/finish.exp (finish_void): Allow "finish" command to
17498 stop on the call statement as well as the statement after the
17499 call.
17500
2caa35cb
MS
175012001-05-21 Michael Snyder <msnyder@redhat.com>
17502
17503 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
17504
40713331
EZ
175052001-05-10 Elena Zannoni <ezannoni@redhat.com>
17506
a9c64011
AS
17507 * gdb.base/completion.exp: Revamp test. Make it execute on all
17508 platforms.
40713331 17509
c2c1be8d
EZ
175102001-05-10 Elena Zannoni <ezannoni@redhat.com>
17511
a9c64011
AS
17512 * config/gdbserver.exp (gdb_load): Handle the case
17513 in which the arguments to gdbserver are given in the
17514 baseboard configuration file.
17515 Also handle the case in which the server needs to do a
17516 load.
2c9cd303 17517
9671de48
KS
175182001-05-07 Keith Seitz <keiths@cygnus.com>
17519
a9c64011
AS
17520 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
17521 set up the display for testing.
17522 (gdbtk_start): Convert all paths to paths that tcl will like.
17523 Export target information to environment.
17524 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
17525 necessary.
17526 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
17527 (to_tcl_path): New proc to convert a given pathname into
17528 a path acceptible as an argument to a tcl command.
17529 (_gdbtk_export_target_info): New proc to export target info
17530 into the environment for gdbtk testing.
17531 (gdbtk_done): New proc to signal end-of-test.
9671de48 17532
5a360f47
JB
175332001-05-06 Jim Blandy <jimb@redhat.com>
17534
17535 * restore.c: Make the code of caller0 correspond to its comment.
17536
66c756c6
MS
175372001-05-03 Michael Snyder <msnyder@redhat.com>
17538
17539 * config/sid.exp (gdb_target_sid): Check for error messages.
17540 On error or timeout, don't make expect exit (which will terminate
17541 all subsequent tests); instead just make gdb exit.
d63a86f8 17542 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
17543 return a negative value.
17544
a966fde5
JB
175452001-04-24 Jim Blandy <jimb@redhat.com>
17546
851c18e0
JB
17547 * gdb.c++/templates.exp: If we see the prompt for the overload
17548 list, but we haven't recognized any of the longer patterns,
17549 arrange for this test to fail, not hang.
17550
a966fde5
JB
17551 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
17552 variations.
17553
db144853
MC
175542001-04-22 Michael Chastain <chastain@redhat.com>
17555
17556 * gdb.c++/local.exp: Use the 'runto' library function.
17557 * gdb.c++/namespace.exp: Likewise.
17558 * gdb.c++/overload.exp: Likewise.
17559
3207ec21
KB
175602001-03-26 Kevin Buettner <kevinb@redhat.com>
17561
17562 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
17563 * gdb.base/step-line.exp: New file. Test step/next in presence of
17564 #line directives.
17565 * gdb.base/step-line.c: New file. Test program for the above.
17566 * gdb.base/step-line.inp: New file. We pretend that this file has
17567 been transformed by some other tool into step-line.c.
17568
13b57657
JB
175692001-03-21 Jim Blandy <jimb@redhat.com>
17570
17571 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
17572 unmangled operator names.
17573
754cbe1c
JB
175742001-03-20 Jim Blandy <jimb@redhat.com>
17575
17576 * gdb.threads/linux-dp.exp: Recognize an additional message
17577 generated by GDB when it doesn't understand how to debug threads
17578 on the target system.
17579
177495c9
AC
175802001-03-19 Andrew Cagney <ac131313@redhat.com>
17581
17582 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
17583
f266096b
MC
175842001-03-12 Michael Chastain <chastain@redhat.com>
17585
17586 * gdb.c++/derivation.exp: Use the 'runto' library function.
17587
cac3c2ff
MC
175882001-03-12 Michael Chastain <chastain@redhat.com>
17589
17590 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
17591
b6c11a24
MC
175922001-02-24 Michael Chastain <chastain@redhat.com>
17593
17594 * gdb.c++/ref-types.exp: Change handwritten code to library
17595 function 'runto'.
17596
6bae5bce
OF
175972001-03-16 Orjan Friberg <orjanf@axis.com>
17598
17599 * gdb.base/signals.exp: Set count to 0 explicitly.
17600
0015fd9a
MS
176012001-03-15 Mark Salter <msalter@redhat.com>
17602
17603 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
17604 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
17605 (gdb_load): Add support for additional target_info: gdb_download_size
17606 and gdb_load_timeout.
0015fd9a 17607
fc33412a
DT
17608Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
17609
17610 * gdb.base/annota1.exp: Move test of isnative to earlier in the
889bf7c5
PA
17611 file -- to prevent failing when the compile fails but we have no
17612 intention of running the tests anyway.
fc33412a
DT
17613
17614 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
17615 tests if set.
17616
17617 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
889bf7c5 17618 integers.
fc33412a
DT
17619
17620 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
17621 * gdb.c++/namespace.exp: Ditto.
17622
115f06de
OF
176232001-03-07 Orjan Friberg <orjanf@axis.com>
17624
17625 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
17626 * gdb.base/pointers.exp: Relax pattern match of decimals.
17627
b6ba6518
KB
176282001-03-06 Kevin Buettner <kevinb@redhat.com>
17629
17630 * Makefile.in, config/abug.exp, config/cfdbug.exp,
17631 config/cpu32bug.exp, config/dve.exp, config/est.exp,
17632 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
17633 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
17634 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
17635 config/sh.exp, config/sid.exp, config/slite.exp,
17636 config/sparclet.exp, config/udi.exp, config/unknown.exp,
17637 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
17638 config/vxworks.exp, config/vxworks29k.exp,
17639 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
17640 gdb.base/all-bin.exp, gdb.base/annota1.exp,
17641 gdb.base/arithmet.exp, gdb.base/assign.exp,
17642 gdb.base/async.exp, gdb.base/attach.exp,
17643 gdb.base/bitfields.exp, gdb.base/bitops.exp,
17644 gdb.base/break.exp, gdb.base/call-ar-st.exp,
17645 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
17646 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
17647 gdb.base/commands.exp, gdb.base/completion.exp,
17648 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
17649 gdb.base/constvars.exp, gdb.base/corefile.exp,
17650 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
17651 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
17652 gdb.base/ending-run.exp, gdb.base/environ.exp,
17653 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
17654 gdb.base/finish.exp, gdb.base/foll-exec.exp,
17655 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
17656 gdb.base/funcargs.exp, gdb.base/help.exp,
17657 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
17658 gdb.base/logical.exp, gdb.base/long_long.exp,
17659 gdb.base/maint.exp, gdb.base/mips_pro.exp,
17660 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
17661 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
17662 gdb.base/pointers.exp, gdb.base/printcmds.exp,
17663 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
17664 gdb.base/regs.exp, gdb.base/relational.exp,
17665 gdb.base/remote.exp, gdb.base/reread.exp,
17666 gdb.base/restore.exp, gdb.base/return2.exp,
17667 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
17668 gdb.base/selftest.exp, gdb.base/setshow.exp,
17669 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
17670 gdb.base/sigall.exp, gdb.base/signals.exp,
17671 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
17672 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
17673 gdb.base/step-test.exp, gdb.base/structs.c,
17674 gdb.base/structs.exp, gdb.base/structs2.exp,
17675 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
17676 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
17677 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
17678 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
17679 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
17680 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
17681 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
17682 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
17683 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
17684 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
17685 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
17686 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
17687 gdb.fortran/types.exp, gdb.java/jmisc.exp,
17688 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
17689 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
17690 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
17691 gdb.trace/circ.exp, gdb.trace/collection.exp,
17692 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
17693 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
17694 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
17695 gdb.trace/report.exp, gdb.trace/save-trace.exp,
17696 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
17697 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
17698 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
17699 notices.
17700
dc96c6c7 177012001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
17702
17703 * gdb.base/varargs.c (find_max_double): Fix printf format string:
17704 first arg is int not float.
17705
dc96c6c7 177062001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
17707
17708 * gdb.base/reread.exp: Unsupported for non-native targets;
17709 doesn't work for remote debugging.
17710
9b0c4aeb
FN
177112001-02-19 Fernando Nasser <fnasser@redhat.com>
17712
17713 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
17714 * gdb.base/ending-run.exp: Properly handle the BSP state when
17715 stepping past the end of main.
9b0c4aeb 17716
02aa71d5
MC
177172001-02-19 John Moore <jmoore@redhat.com>
17718
17719 * gdb.base/commands.exp (infrun_breakpoint_command_test):
17720 Converted HPUX fix for non-expected items following multiple
17721 step commands into general solution for all platforms.
17722
1fa449a4
MC
177232001-02-18 Michael Chastain <chastain@redhat.com>
17724
17725 * gdb.c++/classes.exp (do_tests): Change runto statements
17726 from "runto 'foo(void)'" to "runto 'foo'". This makes the
17727 statements demangler agnostic.
17728 * gdb.c++/virtfunc.exp (do_tests): Likewise.
17729 (gdb_virtfunc_restart): Likewise.
17730
b2f9ec70
MC
177312001-02-14 Michael Chastain <chastain@redhat.com>
17732
17733 * gdb.c++/inherit.exp (do_tests): Change runto statements
17734 from "runto 'foo(void)'" to "runto 'foo'". This makes the
17735 statements demangler agnostic.
17736
cf74b8ca
AC
17737Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
17738
17739 * gdb.threads/pthreads.exp: Unify pass/fail messages for
889bf7c5
PA
17740 ``continue to bkpt at common_routine in thread 2'' and ``stopped
17741 before calling common_routine 15 times'' tests.
cf74b8ca 17742
99f78f56
MC
177432001-02-11 Michael Chastain <chastain@redhat.com>
17744
17745 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
17746 Helps the test script figure out which demangler is in use.
17747 (dm_type_foo_ref): Ditto.
17748 (dm_type_int_star): Ditto.
17749 (dm_type_long_star): Ditto.
17750 (dm_type_unsigned_int): Ditto.
17751 (dm_type_void): Ditto.
17752 (dm_type_void_star): Ditto.
99707966 17753 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
17754 Probe the gdb demangler and set variables to accommodate
17755 formatting differences.
17756 (info_func_regexp): New function. Same as info_func, but
17757 matches against a regexp.
17758 (info_func): Match against a literal string.
17759 (print_addr_2): New function. Match against a literal string,
17760 which can be different from the input to gdb.
17761 (print_addr): Simply call print_addr_2 with the same argument twice.
17762 (test_lookup_operator_functions): Use demangler formatting variables.
17763 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
17764 the tests in the same order as the C++ class declaration.
17765 (test_paddr_operator_functions): Ditto.
17766 (test_paddr_overloaded_functions): Ditto.
17767 (test_paddr_hairy_functions): Use demangler formatting variables.
17768 Add reference to gdb/19 for related tests.
17769 (do_tests): Call probe_demangler.
17770
1de8f023
KB
177712001-01-30 Kevin Buettner <kevinb@redhat.com>
17772
17773 * gdb.c++/templates.cc (printf): Remove unused function definition.
17774
ca3f91ed
MS
177752001-01-26 Felix Lee <flee@redhat.com>
17776
17777 * sid.exp (sid_exit): Pass host, not target, to remote_close.
17778
177792001-01-25 matthew green <mrg@redhat.com>
17780
17781 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
17782 up sid.
17783 (sid_exit): Call `remote_pop_conn' after GDB is gone.
17784
177852001-01-25 matthew green <mrg@redhat.com>
17786
17787 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 17788 Deprecate $sid_spawn_id.
ca3f91ed
MS
17789 (sid_exit): Remove code necessary only for `spawn.'
17790
177912001-01-25 matthew green <mrg@redhat.com>
17792
17793 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
17794
fb18ec4a
MC
177952001-01-28 Michael Chastain <chastain@redhat.com>
17796
17797 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
17798 to call when tests fail. It takes gdb out of the overloaded
17799 function choice menu back to the main prompt, so that the test
17800 program stays synchronized.
17801 (set_bp_overloaded): New proc to collect all the common
17802 code for setting a breakpoint on an overloaded name. Calls
17803 take_gdb_out_of_choice_menu when needed.
17804 (menu_overload1arg): New variable to collect the repeated
17805 instances of the expected menu for an overloaded name. Change
17806 the regular expression to handle changes in g++ type encoding:
17807 "void" can be either "void" or "", and "unsigned int" can be
17808 either "unsigned int" or "unsigned".
17809 (continue_to_bp_overloaded): Change regular expressions to handle
17810 changes in g++ type encoding.
17811 (no proc): Call take_gdb_out_of_choice_menu when needed.
17812 Remove redundant calls to "info break". Accept either "canceled"
17813 or "cancelled". Change regular expressions in "info break"
17814 calls to handle changes in g++ type encoding. Give all tests
17815 unique strings.
17816
9c646a6e
BE
178172001-01-17 Ben Elliston <bje@redhat.com>
17818
17819 * config/sid.exp: New file.
17820
9549d9c1
AC
17821Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
17822
17823 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
17824
dc96c6c7 178252000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
17826
17827 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
17828 Add a RE to accept a non-ascii char if one is ever presented.
17829
b4df4f68
FN
178302000-12-20 Fernando Nasser <fnasser@redhat.com>
17831
297dd0fd 17832 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 17833
dc96c6c7 178342000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 17835
d63a86f8 17836 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
17837 in regexp. One '\' does not suffice on Linux.
17838
4a7bddb6
MC
178392000-12-09 Michael Chastain <chastain@redhat.com>
17840
17841 * gdb.base/break.exp (test_clear_command): Use a marker function
17842 rather than 'main' for the test function. Also move this
17843 test to an execution point where the marker function names are
17844 guaranteed to be bound to functions. (Executing tests after a
17845 'finish' from main runs into name conflicts with local names
17846 in __libc_start_main).
17847
dc96c6c7 178482000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
17849
17850 * gdb.base/finish.exp: New test for gdb's "finish" command.
17851 * gdb.base/return2.exp: New test for gdb's "return" command.
17852 * gdb.base/return2.c: New source file for above.
17853
dc96c6c7 178542000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
17855
17856 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
17857 * gdb.base/miscexprs.exp: Ditto.
17858 * gdb.base/pointers.exp: Ditto.
17859 * gdb.c++/derivation.exp: Ditto.
17860 * gdb.c++/local.exp: Ditto.
17861 * gdb.c++/namespace.exp: Ditto.
17862 * gdb.c++/overload.exp: Ditto.
17863 * gdb.c++/ref-types.exp: Ditto.
17864
dc96c6c7 178652000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
17866
17867 * gdb.base/constvars.exp: Test result of "up" command.
17868 * gdb.base/miscexprs.exp: Ditto.
17869 * gdb.base/pointers.exp: Ditto.
17870 * gdb.base/scope.exp: Ditto.
17871 * gdb.c++/derivation.exp: Ditto.
17872 * gdb.c++/local.exp: Ditto.
17873 * gdb.c++/namespace.exp: Ditto.
17874 * gdb.c++/overload.exp: Ditto.
17875 * gdb.c++/ref-types.exp: Ditto.
17876
44097287
FN
178772000-11-22 Michael Chastain <chastain@redhat.com>
17878
17879 * mips_pro.exp: Accept either "middle -> top -> main" or
17880 "middle -> main" in the backtrace, because gcc can optimize
17881 tail calls to jumps. Remove setup_xfail for the hppa case.
17882 Add a comment with the original warning messages from PR 3016,
17883 which was filed in 1993, to preserve them for posterity.
17884
9d2e1bab
ND
178852000-11-17 Nick Duffek <nsd@redhat.com>
17886
17887 * lib/gdb.exp (gdb_test): Override timeout with board info.
17888
1aca8eb7
ND
178892000-11-17 Nick Duffek <nsd@redhat.com>
17890
17891 * gdb.base/display.exp: Don't kill running stub. Add "again" to
17892 the second kill and detach messages.
17893
93076499
ND
178942000-11-17 Nick Duffek <nsd@redhat.com>
17895
17896 * configure.in: Add AC_EXEEXT.
17897 * configure: Regenerate.
17898 * Makefile.in (just-check): Export EXEEXT.
17899 * lib/gdb.exp ($EXEEXT): Import from environment.
17900 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
17901 expect "maint dump-me" on Cygwin.
17902 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
17903 $EXEEXT.
17904
30e87cd3
ND
179052000-11-17 Nick Duffek <nsd@redhat.com>
17906
17907 * gdb.base/break.exp: Test backtrace and finish from called
17908 function on all platforms, not just HP-UX.
17909
dc96c6c7 179102000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
17911
17912 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
17913 code from gdb_target_monitor, so it can be used independantly
17914 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 17915
dc96c6c7 179162000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
17917
17918 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
17919 * gdb.base/corefile.exp: Expect the message "Program is being
17920 debugged already" when we send the "corefile" command, since
17921 the preceeding gdb_load may have connected gdb to a remote target.
17922 * gdb.base/display.exp: Disable hardware watchpoints if new
17923 board info variable "no_hardware_watchpoints" is true.
17924 Replace single-letter commands with more readable ones.
17925 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
17926 if new board info variable "no_hardware_watchpoints" is true.
17927 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
17928 to see if stdio (printf) testing is possible.
17929 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
17930 board info variable "no_hardware_watchpoints" is true. Use new
17931 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
17932
39124dea
FN
179332000-11-13 Fernando Nasser <fnasser@redhat.com>
17934
17935 From Orjan Friberg <orjanf@axis.com>:
17936 * gdb.base/printcmds.exp: Escape curly braces followed by a number
17937 in array print pattern match.
17938
a9e2e984
FN
179392000-11-09 Fernando Nasser <fnasser@redhat.com>
17940
17941 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
17942 spelling "cancelled" to U.S. spelling "canceled" to match changes
17943 made to gdb.
17944 * gdb.c++/ovldbreak.exp: Ditto.
17945
c7db355b
PS
179462000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
17947
17948 * gdb.base/callfuncs.c (main): Moved to end of file, call
17949 t_double_values to initialize the FPU before inferior calls are made.
17950 * gdb.base/callfuncs.exp: Test for register preservation after calling
17951 inferior functions. Add tests for continuining, finishing and
17952 returning from a stop in a call dummy.
17953
dc96c6c7 179542000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
17955
17956 * gdb.base/commands.exp: Break up long lines, and re-indent.
17957
dc96c6c7 179582000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
17959
17960 * config/gdbserver.exp: Rewritten from the ground up, to make it
17961 compatible with the current dejagnu tree, and to make it work with
17962 the new "gdbserver" in libremote.
17963
dc96c6c7 179642000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
17965
17966 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
17967 * gdb.base/varargs.exp: Skip entire test if no printf support.
17968 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
17969 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
17970
dc96c6c7 179712000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
17972
17973 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
17974 no floating point support.
17975 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
17976 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
17977 * gdb.base/call-rt-st.exp: Ditto.
17978 * gdb.base/call-strs.exp: Ditto.
17979
bac5fc66
JG
179802000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
17981
17982 * gdb.base/sizeof.c: include <stdio.h>.
17983
17984 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
17985 'finish', otherwise uncaptured gdb_prompt would potentially
17986 throw remaining test points out of sync.
bac5fc66 17987
b22a6027
SB
179882000-07-26 Scott Bambrough <scottb@netwinder.org>
17989
17990 * gdb.base/recurse.exp: Run tests for all targets.
17991 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
17992 gnu-oldld case on ARM.
17993 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
17994 for ARM targets.
d63a86f8 17995
d8231941
AG
17996Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
17997
17998 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
17999 * gdb.java/configure: Rebuild.
18000
8caabe69
AG
18001Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
18002
18003 * gdb.java/jv-exp.exp: New file.
18004
9d273ca3
AG
18005Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
18006
18007 * configure: Rebuilt.
18008 * configure.in (configdirs): Add gdb.java.
18009 * gdb.java/jmisc.java: New file.
18010 * gdb.java/jmisc.exp: New file.
18011 * gdb.java/Makefile.in: New file.
18012 * gdb.java/configure: Rebuilt.
18013 * gdb.java/configure.in: New file.
18014 * lib/java.exp: New file.
18015
4f823a66
AC
18016Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
18017
18018 * gdb.base/exprs.exp: Test casts to a pointer including over and
889bf7c5 18019 underflow.
4f823a66 18020
2391e11d
AC
18021Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
18022
18023 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
889bf7c5 18024 and the compilers sizes.
2391e11d 18025
54602222
ND
180262000-07-09 Nick Duffek <nsd@redhat.com>
18027
18028 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
18029 (use_methods): New function.
18030 (main): Call use_methods().
18031 * gdb.c++/classes.exp (test_method_param_class): New procedure.
18032 (do_tests): Call test_method_param_class.
18033
2bec0572
ND
180342000-07-09 Nick Duffek <nsd@redhat.com>
18035
18036 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
18037 spelling.
18038 (test_enums): New procedure. Move enum tests from end of script
18039 to here. Set breakpoint on function name instead of line number.
18040 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
18041 (enums2): New marker function.
18042 (enums1): New function.
18043 (main): Call enums1(). Move enum tests to enums1().
18044
78492fde
AC
18045Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
18046
18047 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
889bf7c5 18048 compile/link program. Update line numbers.
78492fde
AC
18049 * gdb.asm/d10v.inc: Define ``startup''.
18050 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 18051
49a2cef8
AC
18052Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
18053
18054 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
18055
3e6c8688
EZ
180562000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18057
18058 * gdb.base/maint.exp: Add 'maint print architecture' item to output
889bf7c5 18059 of 'help maint print' command.
3e6c8688 18060
9ff5cbe9
AC
18061Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
18062
18063 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
889bf7c5 18064 they use gdb_expect_list.
9ff5cbe9 18065
17c579bd
AC
18066Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
18067
18068 * gdb.base/commands.exp: Use ``set remote
889bf7c5
PA
18069 memory-read-packet-size'' instead of ``set endian big'' to test
18070 long commands.
17c579bd 18071
e6d71bf3
DB
180722000-06-03 Daniel Berlin <dan@cgsoftware.com>
18073
18074 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 18075 g++, and stop skipping them.
e6d71bf3
DB
18076
18077 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
18078 work under g++.
18079
d63a86f8 18080 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
18081 initialization.
18082
dc96c6c7 180832000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
18084
18085 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
18086 the regular expression: accept an (almost) arbitrary sequence of
18087 "frames-invalid" and "breakpoints-invalid" messages both before
18088 and after the "starting" message.
18089
dc96c6c7 180902000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
18091
18092 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 18093
dc96c6c7 180942000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
18095
18096 * gdb.base/annota1.exp (annotate-signal-handler-caller):
18097 Relax the regular expression a little, make it pass on Solaris 8.
18098
8216cda9
KB
180992000-05-12 Kevin Buettner <kevinb@redhat.com>
18100
18101 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 18102 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
18103 Instead, it is permissible for gdb to stop on the line of the
18104 call itself.
18105
1a570b2f
MS
181062000-05-12 Michael Snyder <msnyder@.cygnus.com>
18107
18108 * gdb.base/break.exp (bp on small function, optimized file):
18109 Add a second pass pattern. The behavior differs here between stabs
18110 and dwarf for one-line functions. Stabs preserves two line symbols
18111 (one before the prologue and one after) with the same line number,
18112 but dwarf regards these as duplicates and discards one of them.
18113 Therefore the address after the prologue (where the breakpoint is)
18114 has no exactly matching line symbol, and GDB reports the breakpoint
18115 as if it were in the middle of a line rather than at the beginning.
18116
dc96c6c7 181172000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 18118
d63a86f8 18119 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
18120 rather than "send_gdb" (for consistancy).
18121
7d418785
AC
18122Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
18123
18124 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
18125 * gdb.c++/templates.cc: Properly check for GCC version number.
18126 * lib/compiler.cc: Likewise
18127
dc96c6c7 181282000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 18129
d63a86f8 18130 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
18131 gdb may not stop at the first line of main, due to code motion.
18132
dc96c6c7 181332000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
18134
18135 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
18136 This test depends on parsing the printf output from the target.
18137 Since the sparclet stub doesn't do stdio, this will never work.
18138 * gdb.base/call-rt-st.exp: ditto.
18139 * gdb.base/call-strs: ditto.
18140
dc96c6c7 181412000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
18142
18143 * gdb.base/miscexprs.exp: make sizeof long array test portable.
18144
18145 * gdb.base/ending-run.exp: After connecting to a remote target,
18146 but before running, the target will appear to be in a random
18147 location. Specify both a file and a line for breakpoints.
18148 Also, the function that calls main may be called 'init'
18149 rather than 'start'.
18150
a5a51225
EZ
181512000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18152
18153 * gdb.base/help.exp: Update output for add-symbol-file command.
18154
7930cc7c
FN
181552000-04-10 Fernando Nasser <fnasser@cygnus.com>
18156
18157 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
18158 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
18159
23e37ab1
C
181602000-04-07 J.T. Conklin <jtc@redback.com>
18161
e93c542c
C
18162 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
18163
23e37ab1
C
18164 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
18165
591b8fa3
PDM
18166Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
18167
18168 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
889bf7c5 18169 values that can be represented exactly.
591b8fa3
PDM
18170 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
18171 above change, and to not check against the directory part of the source
18172 file name.
18173 (step into print_long_arg_list): Likewise.
18174 (print print_small_structs from print_long_arg_list): Likewise.
18175 (print print_long_arg_list): Likewise.
18176
7a495180
EZ
181772000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18178
30b53638 18179 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 18180
beb998c6
AC
18181Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
18182
18183 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
18184
1c689132
DB
181852000-03-25 Daniel Berlin <dan@cgsoftware.com>
18186
18187 * gdb.base/commands.exp (deprecated_command_test): Add test for
18188 deprecate with no arguments.
18189
c1790a9d
JL
181902000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
18191
18192 * gdb.base/break.exp: Add new test for setting breakpoints on
18193 optimized code so we can test breakpoints work even when function
18194 prologues may be optimized away
18195
003ba290
FN
181962000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
18197
18198 From David Whedon <dwhedon@gordian.com>
a9c64011 18199 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 18200
6837a0a2
DB
182012000-03-22 Daniel Berlin <dan@cgsoftware.com>
18202
18203 * gdb.base/help.exp: Added test for new apropos command.
18204
b9593231
KB
182052000-03-21 Kevin Buettner <kevinb@redhat.com>
18206
18207 * gdb.base/pointers.c (usevar): New function.
18208 (main): Make sure that global variables v_int_pointer2, rptr,
18209 and y are all referenced someplace in the program by calling
18210 usevar() on them. [Some linkers delete symbols which are
18211 never referenced. The space remains, but there's no way to
18212 get a (symbolic) handle on the variable from the debugger.]
18213
751a959b
EZ
182142000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18215
18216 * gdb.base/printcmds.c: Add typedeffed arrays.
18217
18218 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
889bf7c5 18219 procedure to test arrays that are typedef'd.
751a959b 18220
73a93a32
JI
182212000-03-13 James Ingham <jingham@leda.cygnus.com>
18222
18223 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 18224 the library directories.
73a93a32 18225
fb40c209
AC
18226Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
18227
18228 * configure.in (configdirs): Add sub directory gdb.mi.
18229 * configure: Re-generate.
18230
18231 * gdb.mi: New directory.
d63a86f8 18232
ee4dd2c9
AC
182332000-02-25 Scott Bambrough <scottb@netwinder.org>
18234
18235 * gdb.base/long_long.exp: Correct test suite failure when printing
889bf7c5 18236 a long long value as a double on ARM platforms.
ee4dd2c9 18237
70f0cc22
JB
182382000-02-16 Jim Blandy <jimb@redhat.com>
18239
18240 * gdb.base/break.exp ("breakpoint line number"): Make sure the
18241 default source file is set properly before running this test.
18242
853819b8
EZ
182432000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18244
18245 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
889bf7c5 18246 gdbtk/library directory, not in gdbtcl2.
853819b8 18247
dfcd3bfb
JM
182482000-02-04 Jim Blandy <jimb@redhat.com>
18249
18250 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
18251 backslash from regexp pattern.
18252
18253 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
18254 procedure. Use it to run all the "continue to bp overloaded"
18255 tests. Note that this changes the names of the tests slightly.
18256 If the breakpoint hit message includes a hex PC value, because
18257 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
18258 from the real source code, still consider that a pass.
18259
18260 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
18261 XFAIL here if the breakpoint message contains a hex address. Note
18262 similar change on 1999-11-02.
18263
18264 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
18265
18266 * gdb.base/ptype.exp: Establish a default source file before
18267 calling get_debug_format.
18268
182692000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
18270
18271 * gdb.base/watchpoint.exp: Remove duplication of test messages.
18272
8b93c638
JM
182732000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
18274
18275 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
18276 of successive stepi commands -- while in the prologue we should see
18277 the function entry bracket.
18278
182792000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
18280
18281 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
18282 reach __change_mode() when stepping through the end of main().
18283
c5394b80
JM
182842000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
18285
18286 * gdb.base/default.exp: Fix expected pattern.
18287 * gdb.base/help.exp: Same.
18288
0d06e24b
JM
182892000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18290
18291 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
889bf7c5 18292 Don't use xfail's because that affects only the following test.
d63a86f8 18293
0d06e24b 18294 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
889bf7c5 18295 solaris or linux.
0d06e24b
JM
18296
18297 * gdb.base/selftest.exp: Update to reflect changes to main.c.
18298
dc96c6c7 182992000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 18300
d63a86f8 18301 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
18302 "A syntax error" rather than "A parse error". Accept both.
18303
183042000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
18305
18306 * gdb.base/default.exp: Remove OS dependent string from "target
18307 remote" test.
18308 * gdb.base/help.exp: Same for "help target remote" test.
18309
c3f6f71d
JM
183102000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18311
18312 From Jim Kingdon <kingdon@redhat.com>:
18313
18314 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
889bf7c5
PA
18315 prompt (cleanup rather than necessity, but still might keep output
18316 from spilling to next test).
c3f6f71d
JM
18317
183182000-01-02 Fred Fish <fnf@cygnus.com>
18319
18320 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
18321 AIX, which defines them in <sys/types.h>.
18322
ed9a39eb 183231999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 18324
ed9a39eb 18325 * gdb.base/default.exp: Match arm* etc instead of arm in "info
889bf7c5 18326 float" test.
ed9a39eb
JM
18327
183281999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 18329
ed9a39eb 18330 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
18331
18332 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
18333 outermost frame disallowed".
18334
183351999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
18336
18337 * gdb.base/setvar.exp: New tests for setting the value of a struct
18338 with a constant list.
18339
183401999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
18341
18342 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
18343 require the user to type a cast before setting the value of a struct.
18344
de57eccd
JM
183451999-12-06 Jim Blandy <jimb@cygnus.com>
18346
18347 * gdb.base/default.exp: Expect the new 'info float' command on
18348 all i386 platforms.
18349
18350 * gdb.threads/linux-dp.exp: Expand our ability to recognize
18351 LinuxThreads libraries that don't support debugging.
18352
c2d11a7d
JM
18353Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
18354
18355 * gdb.base/remote.c: Fill the buffer with truely random data.
889bf7c5
PA
18356 Change the buffer type to ``unsigned char'' to simplify size
18357 arithmetic.
c2d11a7d
JM
18358
18359 * gdb.base/remote.exp: Reduce download numbers by one. Typical
889bf7c5
PA
18360 stub only handles 400-1 byte packets. Verify that the download
18361 worked.
c2d11a7d
JM
18362
183631999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
18364
18365 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
18366 tests, using UNRESOLVED for the untested cases. Also, does not wait
18367 for a timeout if the prompt was received before a recognizable pattern.
18368
183691999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
18370
18371 * lib/gdb.exp (gdb_expect_list): Fix spelling.
18372
183731999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18374
18375 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
889bf7c5 18376 watchpoints.
c2d11a7d
JM
18377
183781999-11-24 Jason Merrill <jason@casey.cygnus.com>
18379
18380 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
18381
18382 * gdb.c++/local.exp: Be more flexible in recognizing local class
18383 name mangling. Don't allow horribly truncated method names.
18384 * gdb.c++/derivation.exp: Expect protected inheritance.
18385 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
18386 * gdb.c++/virtfunc.exp: Likewise.
18387 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
18388 when printing a nested enum.
18389
183901999-11-22 Jim Blandy <jimb@cygnus.com>
18391
18392 * gdb.base/step-test.exp: Properly await GDB's response to setting
18393 a breakpoint on the call to large_struct_by_value.
18394
18395 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
18396 just because we have debug info for the `start' function.
18397
183981999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
18399
18400 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
18401 "Unknown signal" messages, which indicate (on LinuxThreads) that
18402 GDB doesn't know how to debug threads on this system. This is
18403 better than hanging while philosopher 0 dumps chatter into gdb.log.
18404
184051999-11-18 Tom Tromey <tromey@cygnus.com>
18406
18407 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
18408
184091999-11-18 Fred Fish <fnf@cygnus.com>
18410
18411 * gdb.base/coremaker2.c: Add sample program for generating
18412 cores that is more self contained than coremaker.c. Eventually
18413 I'll add more code to this and tie it into the testsuite.
18414
4ce44c66
JM
184151999-11-12 Stan Shebs <shebs@andros.cygnus.com>
18416
18417 * gdb.base/dollar.exp: Remove, now in gdb.hp.
18418
184191999-11-10 Jimmy Guo <guo@cup.hp.com>
18420
18421 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
889bf7c5 18422 from $srcdir/lib/.
4ce44c66 18423 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
889bf7c5 18424 and gdb.c++/.
4ce44c66
JM
18425
18426 * gdb.c++/derivation.exp: remove redundant get compiler info code.
18427
d63a86f8 18428 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
18429 'continue with watch' test point.
18430
184311999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
18432
18433 Merged from p2linux-990323-branch:
d63a86f8 18434
4ce44c66
JM
18435 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
18436
11cf8741
JM
18437Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
18438
18439 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
889bf7c5 18440 {limit,fixed}''. Test ``set download-write-size''.
11cf8741
JM
18441
18442Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
18443
18444 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
889bf7c5 18445 gdb_expect_list.
11cf8741
JM
18446
18447Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
18448
18449 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
18450
184511999-11-03 Mark Salter <msalter@cygnus.com>
18452
18453 * gdb.base/break.exp: Fix "stub continue" pattern.
18454
184551999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
18456
18457 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
18458
184591999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
18460
18461 * gdb.base/display.exp ("finish"): Add timeout clause.
18462
18463 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
18464 plain prompt clause, so this doesn't have to time out in order to
18465 fail.
18466
18467 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
889bf7c5 18468 breakpoint hit messages include an address.
11cf8741
JM
18469
18470 * gdb.base/display.exp: Don't forget to escape parens in regular
18471 expressions. Unix regexp notatation sucks.
18472
184731999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18474
18475 * gdb.base/annota1.exp: Test for annotate-signalled: change output
889bf7c5 18476 order for 'signalled' message.
11cf8741 18477
5c44784c
JM
184781999-11-01 Stan Shebs <shebs@andros.cygnus.com>
18479
18480 From Jimmy Guo <guo@cup.hp.com>:
18481 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
18482 * gdb.base/annota1.c: Add code for tests to work with.
18483
184841999-10-26 Frank Ch. Eigler <fche@cygnus.com>
18485
18486 * gdb.base/remote.exp: New test for remote downloading settings.
18487 * gdb.base/remote.c: New file with large .data.
18488
917317f4
JM
184891999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
18490
18491 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
18492 for LinuxThreads support, merged from the Code Fusion branch.
18493
18494Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
18495
18496 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
889bf7c5
PA
18497 containing exp_continue into a while within an expect. Don't
18498 attempt a start more than three times. Check return value from
18499 gdb_load.
d63a86f8 18500
2df3850c
JM
18501Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
18502
18503 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
889bf7c5 18504 a pass case.
2df3850c 18505
2acceee2
JM
185061999-10-01 Kevin Buettner <kevinb@cygnus.com>
18507
18508 * gdb.base/break.c (main): Added a statement that we can step
18509 off of.
18510 * gdb.base/break.exp: Added tests for setting a breakpoint
18511 at an offset and stepping onto a breakpoint.
18512
185131999-10-01 Fred Fish <fnf@cygnus.com>
18514
d63a86f8 18515 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
18516 gdb output.
18517
c2c6d25f
JM
185181999-09-18 Jim Blandy <jimb@cris.red-bean.com>
18519
18520 * gdb.base/break.exp: Code locations are in hex, don't forget!
18521 (For HP-UX.)
18522
185231999-09-17 Stan Shebs <shebs@andros.cygnus.com>
18524
18525 * condbreak.exp: Use break.c as test program.
18526 * condbreak.c: Remove, redundant with break.c.
18527
185281999-09-15 Stan Shebs <shebs@andros.cygnus.com>
18529
18530 * config/monitor.exp (gdb_target_monitor): Disable X- and
889bf7c5 18531 Z-packets if the target needs it.
c2c6d25f
JM
18532
185331999-09-13 James Ingham <jingham@leda.cygnus.com>
18534
18535 * gdb.c++/overload.exp: Added tests for listing overloaded
18536 functions with function pointers in the arg, explicitly calling
18537 out the version you want.
18538
cff3e48b
JM
185391999-09-09 Stan Shebs <shebs@andros.cygnus.com>
18540
18541 * long_long.exp: Add variations of test cases that work for
18542 targets with 16-bit ints and 32-bit doubles.
18543
d4f3574e
SS
185441999-09-08 Stan Shebs <shebs@andros.cygnus.com>
18545
18546 * break.c (main): Compare a possibly-uninitialized argc with an
18547 unlikely value that fits in 16 bits.
18548
185491999-09-07 Stan Shebs <shebs@andros.cygnus.com>
18550
18551 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
18552 0xfeeb, don't want negative numbers if ints are 16 bits.
18553
18554 * lib/gdb.exp (skip_cplus_tests): New proc.
18555 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
889bf7c5
PA
18556 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
18557 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
18558 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
18559 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
18560 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
18561 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
18562 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
d4f3574e
SS
18563
18564 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
18565
18566Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
18567
18568 * gdb.base/corefile.exp (up): Allow a parameter to appear
18569 in the frame that we're going up to.
18570
18571 From Jim Blandy <jimb@cygnus.com>:
18572
18573 * gdb.base/default.exp (info float): Expect some output now.
18574
18575 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
18576 returning floating-point values to fail on the x86.
18577 * gdb.base/callfwmall.exp (do_function_calls): Same.
18578
18579 * gdb.base/list.exp (test_listsize): Correct expectations for
18580 listing line 1 with listsize 2. Also, listing a single line
18581 works now, as does listing three lines. [Kevin's note: There
18582 were a number of other cases fixed too where the expectations
18583 differed...]
18584
185851999-09-02 Stan Shebs <shebs@andros.cygnus.com>
18586
18587 * gdb.base/selftest.exp: Add case for when version prints as
18588 constant string instead of char pointer.
18589
104c1213
JM
185901999-08-25 Stan Shebs <shebs@andros.cygnus.com>
18591
18592 * gdb.base/ending-run.exp: Add Solaris case for what happens when
889bf7c5 18593 stepping out of main.
104c1213
JM
18594
18595 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
18596 G++ used.
18597
18598 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
889bf7c5 18599 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
104c1213
JM
18600
18601 * gdb.c++/ovldbreak.exp: Update match string in test that
18602 includes a warning of multiple breakpoints.
18603
186041999-08-24 Stan Shebs <shebs@andros.cygnus.com>
18605
18606 * gdb.base/display.exp: Improve precision of step-after-finish
18607 added yesterday.
18608
18609 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
889bf7c5 18610 test.
104c1213
JM
18611
18612 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
18613 configs when using G++, not just hppa*.
18614
186151999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18616
18617 * gdb.base/async.c: New file.
18618 * gdb.base/async.exp: New file.
18619
18620Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
18621
18622 * gdb.base/break.exp: Tweak PA specific tests to properly handle
18623 PA64.
18624
53a5351d
JM
18625Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
18626
104c1213
JM
18627 * gdb.base/display.exp: "finish" can leave us mid-line on many
18628 targets, deal with it. Add a small constant to main, instead of
18629 1000 since main+1000 may not be a valid address in the target.
18630
53a5351d
JM
18631 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
18632 on hpux11.
18633
18634 * gdb.base/attach.exp: Handle another hpux11 error message variant
18635 when attaching to a process that does not exist.
18636
186371999-08-19 J.T. Conklin <jtc@redback.com>
18638
18639 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
889bf7c5 18640 characters in 'continue to 1241' test.
53a5351d
JM
18641
186421999-08-17 Stan Shebs <shebs@andros.cygnus.com>
18643
18644 * gdb.base/call-ar-st.exp: Add a shorter match case for the
18645 stop in print_long_arg_list, define and use a whitespace
18646 variable in print_small_structs test, add an XFAIL for Solaris.
18647 * gdb.base/dbx.exp: XFAIL func commands until somebody is
18648 interested enough to fix.
18649
7be570e7
JM
186501999-08-13 Keith Seitz <keiths@cygnus.com>
18651
18652 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
18653 (dbx_gdb_load): Remove. Use gdb_load instead, since that
18654 proc knows about targets other than the natives.
18655 (test_assign): Use "gdb_run_cmd" to "run" the target.
18656 Check that we've actually hit the breakpoint at main.
18657 When we attempt to assign a value to a local variable, check
18658 that the variable is in the current scope, i.e., don't use
18659 a test with an empty result.
18660
18661Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
18662
18663 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
889bf7c5 18664 command.
7be570e7
JM
18665
186661999-08-09 Stan Shebs <shebs@andros.cygnus.com>
18667
18668 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18669 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
18670 gdb.compat, gdb.threads-hp.
18671 gdb.hp/configure, gdb.hp/configure.in: New files.
18672 gdb.hp/Makefile.in: Recurse into new subdirs.
18673 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
18674 gdb.hp/gdb.objdbg: New directory, tests for debugging info
18675 in object files.
18676 gdb.hp/tools: New directory, aux tools for HP-specific tests.
18677
96baa820
JM
186781999-08-05 Stan Shebs <shebs@andros.cygnus.com>
18679
18680 * gdb.base/display.exp: Help expect by putting a newline in the
889bf7c5 18681 funky printf, remove a bogus p/a test.
96baa820
JM
18682
186831999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18684
18685 * gdb.base/display.exp: Make sure that when we say 'run', we are
889bf7c5
PA
18686 connected to the target. This is necessary when running not
18687 natively.
96baa820
JM
18688
186891999-08-03 Stan Shebs <shebs@andros.cygnus.com>
18690
18691 * gdb.base/step-test.exp: Removed some extraneous messages.
18692
18693 * gdb.base/long_long.exp: Don't run memory examination tests
18694 on little-endian targets (they will need a different set of
18695 results to match).
18696
186971999-08-02 Stan Shebs <shebs@andros.cygnus.com>
18698
18699 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
18700 until somebody decides to fix GDB.
18701
18702 * gdb.base/long_long.c: Stop compiler complaint by specifying long
889bf7c5 18703 constant as "ULL".
96baa820
JM
18704 * gdb.base/long_long.exp: Loosen x/c test, add partial result
18705 matches for a couple x/2 commands.
18706
a0b3c4fd
JM
187071999-07-30 Stan Shebs <shebs@andros.cygnus.com>
18708
18709 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
18710 by merging in ref-types2 tests.
18711 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
18712
18713 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18714 * gdb.c++/Makefile.in: Add standard actions.
18715 (EXECUTABLES): Rename from PROGS, update list.
18716 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
18717 from gdb.hp.
18718 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
18719 foo and bar locals.
18720 * gdb.c++/anon-union.exp: Fix tests to match.
18721 * gdb.c++/classes.exp: Run if HP compiler used, add extra
18722 expect matches to handle output variations.
18723 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
18724 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
889bf7c5 18725 output, add HP alternatives for new and delete prints.
a0b3c4fd 18726 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
889bf7c5 18727 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
a0b3c4fd
JM
18728 * gdb.c++/demangle.exp: Use $style when reporting failure.
18729 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
18730 * gdb.c++/inherit.exp: Run if HP compiler used, add some
18731 match alternatives.
18732 * gdb.c++/local.exp: Add match alternatives or xfails for HP
889bf7c5 18733 compilers.
a0b3c4fd
JM
18734 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
18735 * gdb.c++/method.exp: Add match alternatives.
18736 * gdb.c++/misc.cc: Add bool types.
18737 * gdb.c++/misc.exp: Add tests for bool types.
18738 * gdb.c++/overload.exp: Add xfails.
18739 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
18740 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
18741 add some more template parameter tests (only for HP currently).
18742 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
18743 * gdb.c++/virtfunc.cc: Add return type and value for main.
18744 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
18745 match alternatives.
d63a86f8 18746
a0b3c4fd
JM
187471999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18748
18749 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
18750
187511999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
18752
18753 * gdb.base/signals.exp: Don't expect getting a backtrace from
18754 within a signal handler to fail on Linux.
18755
187561999-07-29 Stan Shebs <shebs@andros.cygnus.com>
18757
18758 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18759 * lib/gdb.exp: Remove some gratuitious semicolons.
18760 (delete_breakpoints): Increase timeout.
18761 (gdb_expect): Add -notransfer option.
18762 (gdb_test): Use -notransfer option.
18763 (get_compiler_info): Add f77 case.
18764 (get_compiler): New proc, split out from gdb_preprocess, add f77
889bf7c5 18765 case.
a0b3c4fd
JM
18766 (gdb_preprocess): Call get_compiler.
18767
18768 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
18769 * gdb.base/attach.exp, gdb.base/display.exp,
889bf7c5
PA
18770 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
18771 gdb.base/long_long.exp, gdb.base/printcmds.exp,
18772 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
18773 third arg to gdb_test.
a0b3c4fd
JM
18774 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
18775 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
889bf7c5 18776 HP-UX xfails, add others.
a0b3c4fd
JM
18777 * gdb.base/completion.exp: Reflect name change of self-test.
18778 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
889bf7c5
PA
18779 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
18780 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
18781 HP failure number.
a0b3c4fd
JM
18782 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
18783 useless HP-UX 10.30 references.
18784 * gdb.base/maint.exp: Loosen matches.
18785 * gdb.base/pointers.c (main): Declare more_code.
18786 * gdb.base/pointers.exp: Match on output of a `next'.
18787 * gdb.base/structs.c: Add prototypes.
18788 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
18789 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
18790
187911999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18792
18793 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
889bf7c5 18794 command.
a0b3c4fd
JM
18795
187961999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18797
18798 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
18799 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
18800
18801 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
18802 debug info. Deal with lack of signal hanlder info in stack.
18803
a9c64011 18804 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
18805 * gdb.base/annota1.exp: If printf has debug info, deal with it.
18806
5a2468f5
JM
188071999-07-19 Stan Shebs <shebs@andros.cygnus.com>
18808
18809 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
889bf7c5 18810 gdb.base/foll-vfork.exp: Don't run for crosses.
5a2468f5 18811
adf40b2e
JM
18812Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
18813
18814 * gdb.base/configure.in: Check for gdbvars.exp instead of
889bf7c5 18815 a1-selftest.exp.
adf40b2e
JM
18816 * gdb.base/configure: Re-generate.
18817
188181999-07-12 Stan Shebs <shebs@andros.cygnus.com>
18819
18820 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
18821 in trying to run first and name is too long.
18822
18823 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
18824 pointers2.c and pointers2.exp, respectively.
18825 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
18826 doschk happier.
18827
43e526b9
JM
188281999-07-08 Stan Shebs <shebs@andros.cygnus.com>
18829
18830 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
18831 callfuncs2.c and callfuncs2.exp.
18832
18833 * gdb.base/list.exp: Remove mistaken xfails.
18834 * gdb.base/list0.h: Add optional prototypes.
18835
9846de1b
JM
18836Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
18837
a9c64011 18838 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
889bf7c5 18839 calling malloc.
a9c64011
AS
18840 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
18841 * ptype.exp: Move test for get_debug_format to before its first
889bf7c5 18842 use.
9846de1b
JM
18843
188441999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18845
18846 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
18847 * gdb.base/annota2.cc, annota2.exp: Move from here.
18848 * gdb.c++/annota2.cc, annota2.exp: To here.
18849 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
18850
43ff13b4
JM
18851Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
18852
18853 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
889bf7c5 18854 a consistent format.
43ff13b4 18855
085dd6e6
JM
188561999-06-25 Stan Shebs <shebs@andros.cygnus.com>
18857
18858 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18859 * lib/gdb.exp (get_compiler_info): Add detection for assorted
18860 HP compilers, also set the globals $true and $false.
18861
18862 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
889bf7c5
PA
18863 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
18864 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
18865 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
18866 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
18867 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
18868 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
18869 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
18870 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
18871 whatis.c} Add C++ compatible function definitions and return
18872 types, add includes for library functions.
085dd6e6
JM
18873 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
18874 * gdb.base/step-test.c (myglob): Rename from glob.
18875 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
889bf7c5
PA
18876 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
18877 files, move here from gdb.hp.
085dd6e6 18878 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
889bf7c5
PA
18879 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
18880 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
18881 Adjust line numbers in regexps.
085dd6e6
JM
18882
18883 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
18884 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
18885 instead of 0/1.
18886
18887 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
18888 foll-vfork.exp: New files, move here from gdb.hp.
18889 * gdb.base/page.exp: New file, test of pagination command.
18890
18891 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
18892 recursion test.
18893 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
18894
18895 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
889bf7c5 18896 gdb.base/solib.exp: Fix compiler invocation process.
085dd6e6
JM
18897
18898 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
889bf7c5 18899 HP-UX 11, turn off overload resolution explicitly.
085dd6e6 18900 * gdb.base/commands.exp: Set argument list explicitly, add
889bf7c5 18901 watchpoint test.
085dd6e6
JM
18902 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
18903 them work.
18904 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
18905 expressions properly.
18906 * gdb.base/corefile.exp: Loosen the match slightly.
18907 * gdb.base/default.exp: Allow "Error accessing memory" message
18908 also.
18909 * gdb.base/display.exp: Skip over x/0 j if PA64.
18910 * gdb.base/funcargs.exp: Add xfails for HP-UX.
18911 * gdb.base/interrupt.exp: Ditto.
18912 * gdb.base/langs.exp: Add symbolic matches governed by compiler
18913 in use.
18914 * gdb.base/list.exp: Add xfails for HP-UX.
18915 * gdb.base/long_long.exp: Refine some of the numeric matches.
18916 * gdb.base/mips_pro.exp: Xfail on HP-UX.
18917 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
18918 * gdb.base/nodebug.exp: Succeed on more varieties of output.
18919 * gdb.base/opaque.exp: Remove some HP-UX xfails.
18920 * gdb.base/ptype.exp: Succeed on more varieties of output.
18921 * gdb.base/scope.exp: Add xfails for HP-UX.
18922 * gdb.base/sect-cmd.exp: Add more cases.
18923 * gdb.base/setvar.exp: Add xfails for HP-UX.
18924 * gdb.base/shlib-call.exp: Loosen some matches slightly.
18925 * gdb.base/signals.exp: Match on void symbolically.
18926 * gdb.base/step-test.exp: Add case for PA64.
18927 * gdb.base/term.exp: Add exit and restart.
18928 * gdb.base/twice.exp: Clean up after self.
18929 * gdb.base/varargs.exp: Disable overload resolution explicitly.
18930 * gdb.base/whatis.exp: Allow more ways to pass tests.
18931
18932 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
889bf7c5 18933 no longer useful.
085dd6e6
JM
18934
18935Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
18936
18937 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
889bf7c5 18938 list of patterns.
085dd6e6 18939 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
889bf7c5
PA
18940 print_double_array(double_array)", "continuing to breakpoint
18941 1018", "print print_double_array(array_d)" and "continuing to
18942 1034" tests.
d63a86f8 18943
085dd6e6
JM
189441999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
18945
a9c64011 18946 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
18947
189481999-06-24 Stan Shebs <shebs@andros.cygnus.com>
18949
18950 * config/mt-*: Remove, these haven't been used since 1996.
18951
189521999-06-22 Stan Shebs <shebs@andros.cygnus.com>
18953
18954 * gdb.base/call-strs.c, gdb.base/ending-run.c,
889bf7c5 18955 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
085dd6e6
JM
18956 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
18957
9e0b60a8
JM
189581999-06-18 Stan Shebs <shebs@andros.cygnus.com>
18959
18960 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
18961 simpler match case for the ptype of the big class.
18962
189631999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18964
18965 * gdb.exp: Fix test for gdb_prompt existence.
18966
189671999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18968
18969 * gdb.exp (gdb_test): Add fail after calls to perror.
18970
189711999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18972
18973 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
18974
189751999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18976
18977 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
18978
0f71a2f6
JM
18979Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
18980
18981 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
889bf7c5 18982 malloc() is linked in.
0f71a2f6
JM
18983
189841999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
18985
18986 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
18987 step at end.
18988
18989 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
18990
189911999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
18992
18993 * gdb.java/jv-print.exp: New file. (Our first Java test!)
18994
cce74817
JM
18995Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
18996
18997 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
18998 * gdb.base/mips_pro.exp: Likewise.
18999
190001999-06-02 Keith Seitz <keiths@cygnus.com>
19001
19002 * gdb.c++/templates.cc: Change all "new" operators to throw
19003 an exception.
19004 * gdb.c++/cplusfuncs.cc: Likewise.
19005
19006 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
19007
19008Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
19009
19010 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
19011 * gdb.base/ending-run.exp: When stepping out of main, accept a
19012 step into an arbitrary assembler file.
cce74817 19013
392a587b
JM
190141999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19015
d63a86f8 19016 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 19017 "breakpoint-invalid" to be printed.
d63a86f8 19018 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
19019 number of "frames-invalid" and "breakpoint-invalid" to be printed.
19020 * gdb.base/annota2.cc: Initialize a.x to 0.
19021
9e086581
JM
190221999-05-17 Keith Seitz <keiths@cygnus.com>
19023
19024 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
19025 when "skip_float_tests" set.
19026 Ditto for "print print_double_array(array_d)", "print print_small_structs",
19027 "print print_ten_doubles", and "step into print_long_arg_list".
19028 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
19029 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
19030 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
19031 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
19032 "skip_float_tests" is set.
19033 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
19034 when "skip_float_tests" set.
d63a86f8 19035
cd0fc7c3
SS
190361999-05-06 Keith Seitz <keiths@cygnus.com>
19037
19038 * gdb.base/annota2.cc: Include stdio.h.
19039
19040Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
19041
19042 * gdb.base/crossload.exp: Remove, this has been disabled ever
19043 since BFD stopped including all targets, and cross-GDB gets
19044 plenty of testing anyway.
19045 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
889bf7c5
PA
19046 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
19047 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
cd0fc7c3
SS
19048 * gdb.base/README: Remove, was doc for this.
19049 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
889bf7c5 19050 needed.
cd0fc7c3 19051
b83266a0
SS
190521999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19053
19054 * gdb.base/call-ar-st.exp: Fix one regular expression in test
19055 output.
19056
19057 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
19058 * gdb.base/annota2.exp: New file. More annotation tests.
19059 * gdb.base/annota1.c: New file. Source file for annota1.exp.
19060 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
19061
190621999-04-23 Angela Marie Thomas <angela@cygnus.com>
19063
19064 * config/cfdbug.exp: New file.
19065
7a292a7a
SS
190661999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
19067
19068 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
19069 Marcus Daniel's and Dale Hawkins's demangler crashes.
19070
19071 * gdb.c++/demangle.exp (test_gnu_style_demangling,
889bf7c5
PA
19072 test_lucid_style_demangling, test_arm_style_demangling,
19073 test_hp_style_demangling): Try Tom Tromey's core-dumping
19074 identifier under each demangling style.
7a292a7a
SS
19075
190761999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
19077
19078 * gdb.c++/demangle.exp: Include the current demangling style
19079 in all test names.
19080 (current_demangling_style): New global variable.
19081 (set_demangling_style, test_demangling_core, test_demangling,
19082 test_demangling_exact): New functions.
19083 (test_gnu_style_demangling, test_lucid_style_demangling,
19084 test_arm_style_demangling, test_hp_style_demangling): Use those,
19085 instead of calling gdb_test and gdb_test_exact directly.
19086 (catch_demangling_errors): New function, which reports errors
19087 signalled by the demangling test functions in an orderly way.
19088 (do_tests): Use catch_demangling_errors.
19089
190901999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
19091
19092 * gdb.base/signals.exp (test_handle_all_print): Use () for
889bf7c5 19093 grouping in expressions, not {}.
7a292a7a
SS
19094
19095 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
889bf7c5 19096 initialized yet.
7a292a7a
SS
19097
190981999-04-01 Stan Shebs <shebs@andros.cygnus.com>
19099
19100 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
19101 are listed.
19102
191031999-03-26 Stan Shebs <shebs@andros.cygnus.com>
19104
19105 * gdb.stabs/weird.exp: Test for CC being defined before
19106 looking at its value.
19107
191081999-03-25 Stan Shebs <shebs@andros.cygnus.com>
19109
19110 * gdb.base/call-ar-st.exp: Remove stray '#'.
19111 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
19112 "short int" and "long int".
19113 * gdb.c++/overload.cc: Cast the string added in the previous
889bf7c5 19114 change, to mollify finicky HP compiler.
7a292a7a
SS
19115 * gdb.hp/reg-test.exp (testfile): Fix file name.
19116 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 19117
7a292a7a
SS
19118 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
19119 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
19120 alternate form of enum ptype.
19121
c906108c
SS
191221999-03-23 Stan Shebs <shebs@andros.cygnus.com>
19123
7a292a7a
SS
19124 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
19125 * gdb.hp/*.exp: Change all to run compiler probe only after
889bf7c5
PA
19126 passing skip_hp_tests, so as not to waste time on guaranteed
19127 failure.
7a292a7a 19128
c906108c
SS
19129 * gdb.c++/overload.cc: Pass string instead of char addr, always
19130 init ccpfoo.
19131 * gdb.c++/templates.cc: Fix syntax error.
19132
7a292a7a
SS
19133Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19134
19135 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 19136 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
19137 command.
19138
191391999-03-18 James Ingham <jingham@cygnus.com>
19140
19141 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
19142
19143 * gdb.c++/method.exp: It was testing an uninitialized int on the
19144 stack and assuming it was positive.
19145
19146 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
19147
19148 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 19149 keep it from killing the rest of the tests.
7a292a7a
SS
19150 Use gdb_continue_to_end.
19151
19152 * gdb.base/sigall.exp: use gdb_continue_to_end.
19153
19154 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
19155
19156 * gdb.base/display.exp: use runto_main, not run.
19157
d63a86f8
RM
19158 * gdb.base/default.exp: Check for the current error message in the
19159 r abbreviation test.
7a292a7a
SS
19160 Add strongarm to the targets that know info float.
19161
d63a86f8 19162 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
19163 run which doesn't work with monitors.
19164
19165 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
19166
19167 * gdb.base/break.exp: use the gdb_continue_to_end proc.
19168
19169 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
19170 program. Traps the case (in Cygmon) when the program never really
19171 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
19172 more places, so I used my name. Sorry Mark...
19173
19174 * config/monitor.exp (gdb_target_monitor): added another
19175 target_info parameter: remotebinarydownload. This will set the
19176 remotebinarydownload flag if this is causing some boards trouble.
19177
191781999-03-18 Mark Salter <msalter@cygnus.com>
19179
19180 * lib/gdb.exp (continue_to_exit): New function.
19181
19182 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
19183 * gdb.base/ending-run.exp: Ditto.
19184 * gdb.base/step-test.exp: Ditto.
19185
191861999-03-16 Stan Shebs <shebs@andros.cygnus.com>
19187
19188 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
19189 (suggested by Art Haas <ahaas@neosoft.com>).
19190
191911999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
19192
889bf7c5 19193 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7a292a7a
SS
19194
19195Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
19196
19197 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
889bf7c5 19198 descriptions of types (short unsigned int vs unsigned short, etc).
7a292a7a
SS
19199
192001999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
19201
19202 * gdb.base/call-strs.exp: Don't assume that `step' will step over
19203 a call to strlen; sometimes we do have sources.
19204
192051999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
19206
19207 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
889bf7c5 19208 character, so GDB won't print garbage after its end.
d63a86f8 19209
c906108c
SS
19210 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
19211 breakpoint there instead. Sometimes GCC emits memcpy to handle
19212 the large structures being passed by value, so we step into that
19213 instead of sum_array_print, which obscures what we're really testing.
19214 * gdb.base/step-test.exp: However, we do want a test that notices
889bf7c5
PA
19215 the bizarre steps into memcpy, so do that here. Add check for
19216 stepping into function calls that pass large structures by value.
19217 ("Is that a noun clause, or are you just happy to see me?")
c906108c
SS
19218 Remove all references to specific line numbers.
19219 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
19220 New type and function.
19221 (main): Call large_struct_by_value, passing it a large struct by value.
19222 * lib/gdb.exp (gdb_get_line_number): New function.
19223
19224 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
19225 more portable.
19226
7a292a7a
SS
192271999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
19228
c906108c
SS
19229 * lib/gdb.exp: Doc fixes.
19230
7a292a7a
SS
192311999-03-05 Nick Clifton <nickc@cygnus.com>
19232
d63a86f8 19233 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
19234
192351999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
19236
c906108c 19237 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
889bf7c5
PA
19238 commands. They're not germane to this test, and they don't work
19239 that way on remote targets.
c906108c 19240
3fc11d3e
JM
192411999-03-01 James Ingham <jingham@cygnus.com>
19242
19243 * Changelog entries merged over from gdb development branch.
19244
3fc11d3e
JM
19245 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
19246
19247 * lib/gdb.exp (gdbtk_analyze_results): Generic function
19248 for outputting results of test run.
19249
2d4a1622 19250 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
19251
19252 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 19253
7a292a7a
SS
192541999-02-25 Felix Lee <flee@cygnus.com>
19255
19256 * lib/gdb.exp (debug_format): initialize
19257
c906108c
SS
192581999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
19259
19260 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
19261 * gdb.base/call-rt-st.c: Ditto.
19262
c906108c
SS
192631999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
19264
19265 * gdb.threads/pthreads.exp (horiz): New variable.
19266 (test_startup): Fix regexps that capture thread numbers.
19267
192681999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
19269
19270 * gdb.base/smoke.exp: Disambiguate two test case names (both
19271 called ``print'').
19272
19273Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
19274
19275 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
889bf7c5 19276 compilation.
c906108c
SS
19277
192781999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
19279
19280 * gdb.base/miscexprs.exp: Change patterns to match GDB's
19281 actual output formatting.
19282 * gdb.base/smoke.exp: GDB removes leading 0's.
19283 * gdb.base/volatile.exp: Don't check type of remuneration;
19284 that variable is no longer defined in constvars.c.
19285 * gdb.base/step-test.c (main): Exit with explicit exit code.
19286 * gdb.base/step-test.exp: Remove two nexti checks--they are
19287 not portable.
19288
192891999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
19290
19291 * gdb.base/help.exp ("help delete display"): Fix test to match
19292 gdb's output.
19293
19294 * gdb.base/long_long.c (known_types): Initialize values to zero.
19295 * gdb.base/long_long.exp: Step one more line
19296 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
19297 leading zeros. Explicitly ask for hex formatting. Use
19298 unique test case names.
c906108c
SS
19299
19300Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19301
d63a86f8 19302 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
19303
19304 * gdb.c++/method.exp: Add missing close brace.
19305
193061999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
19307
19308 * gdb.base/maint.exp: Use 'set height 0' to disable page
19309 prompting, not 'set height 400'.
19310
19311 Fix a bunch of timeouts.
19312 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
19313 four separate tests, so expect doesn't take forever to match a ton
19314 of text against a regexp with lots of .* forms.
19315 ("maint print psymbols", "maint print symbols"): Make some of
19316 these greps more selective, so that expect doesn't try to wade
19317 through huge piles of output and time out.
19318
19319 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
19320
19321 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
889bf7c5
PA
19322 tests: one which doesn't expect shlib events to be reported, and
19323 another which does, but is XFAIL for all platforms other than
19324 HP/UX.
c906108c
SS
19325
19326 * gdb.base/break.exp: Teach the test suite that the `catch
19327 fork', `catch vfork', and `catch exec' commands produce error
19328 messages on platforms that don't provide these features.
19329
19330Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
19331
19332 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
889bf7c5
PA
19333 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
19334 (shortening names from solib_threshold.exp etc), won't run on
19335 anything but HP-UX for the foreseeable future.
c906108c 19336 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
889bf7c5 19337 reflect move.
c906108c
SS
19338
19339Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
19340
19341 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
889bf7c5 19342 gdb.trace/Makefile.in (clean): Remove all test executables.
c906108c
SS
19343
19344Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
19345
19346 * gdb.base/shlib-call.exp: add test cases to verify that gdb
19347 successfully re-sets breakpoints in shared libraries.
19348 * gdb.base/shmain.c (main): return 0, don't fall off the end.
19349
19350Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19351
d63a86f8
RM
19352 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
19353 and compiled w/o GCC.
c906108c
SS
19354
19355 * gdb.hp/watch-cmd.exp: ditto.
19356
19357 * gdb.hp/watch-hp.exp: ditto.
19358
19359 * gdb.hp/xdb1.exp: ditto.
19360
19361 * gdb.hp/xdb2.exp: ditto.
19362
19363 * gdb.hp/dbx.exp: ditto.
19364
19365Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
19366
19367 * constvars.c: Remove C++-isms.
19368 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
889bf7c5 19369 with GCC.
c906108c
SS
19370
19371Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
19372
19373 The following changes are part of the HP merge.
19374
19375 * gdb.base/break.exp: new tests to verify that catchpoints for
19376 fork, vfork, and exec don't trigger inappropriately.
19377
19378 * gdb.base/opaque.exp: compile one file at a time, then link.
19379
19380 * gdb.base/signals.exp: be more restrictive about which hppa
19381 systems receive a setup_xfail. new tests.
19382
19383 * gdb.base/solib_threshold.build: new file.
19384 * gdb.base/solib_threshold.exp: new file.
19385 * gdb.base/solib_threshold.link_opts: new file.
19386 * gdb.base/solib_threshold.mk: new file.
19387 * gdb.base/gen_solib_threshold.c: new file.
19388
19389 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
19390 tests. New tests for enums inside classes.
19391
19392 * gdb.c++/compiler.cc: indicate support of template debugging.
19393
19394 * gdb.c++/demangle.exp: run hp style demangling tests.
19395
19396 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
19397 tests.
19398
19399 * gdb.c++/misc.cc: changes to support new tests.
19400
19401 * gdb.c++/templates.cc: changes to support HP's compiler; changes
19402 to support new tests.
19403
19404 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
19405 gcc, then skip these tests.
19406
19407Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
19408
19409 The following files are part of the HP merge; some had longer
19410 names at HP, but have been renamed to be no more than 14
19411 characters in length.
19412
19413 * gdb.hp/ambiguous.cc: new file.
19414 * gdb.hp/ambiguous.exp: new file.
19415 * gdb.hp/attach.exp: new file.
19416 * gdb.hp/attach2.exp: new file.
19417 * gdb.hp/classes-hp.exp: new file.
19418 * gdb.hp/ctti.exp: new file.
19419 * gdb.hp/ctti-add.cc: new file.
19420 * gdb.hp/ctti-add1.cc: new file.
19421 * gdb.hp/ctti-add2.cc: new file.
19422 * gdb.hp/ctti-add3.cc: new file.
19423 * gdb.hp/dbx.exp: new file.
19424 * gdb.hp/exception.cc: new file.
19425 * gdb.hp/exception.exp: new file.
19426 * gdb.hp/foll-exec.c: new file.
19427 * gdb.hp/foll-exec.exp: new file.
19428 * gdb.hp/foll-fork.c: new file.
19429 * gdb.hp/foll-fork.exp: new file.
19430 * gdb.hp/foll-vfork.c: new file.
19431 * gdb.hp/foll-vfork.exp: new file.
19432 * gdb.hp/inherit-hp.exp: new file.
19433 * gdb.hp/more-steps.exp: new file.
19434 * gdb.hp/namespace.cc: new file.
19435 * gdb.hp/namespace.exp: new file.
19436 * gdb.hp/optimize.exp: new file.
19437 * gdb.hp/pxdb.c: new file.
19438 * gdb.hp/pxdb.exp: new file.
19439 * gdb.hp/quicksort.exp: new file.
19440 * gdb.hp/reg-test.exp: new file.
19441 * gdb.hp/reg-test.s: new file.
19442 * gdb.hp/sized-enum.c: new file.
19443 * gdb.hp/sized-enum.exp: new file.
19444 * gdb.hp/start-stop.exp: new file.
19445 * gdb.hp/templ-hp.cc: new file.
19446 * gdb.hp/templ-hp.exp: new file.
19447 * gdb.hp/thr-lib.c: new file.
19448 * gdb.hp/thr-lib.exp: new file.
19449 * gdb.hp/thr-lib.h: new file.
19450 * gdb.hp/thr-liblib.c: new file.
19451 * gdb.hp/virtfun-hp.c: new file.
19452 * gdb.hp/virtfun-hp.exp: new file.
19453 * gdb.hp/watch-cmd.exp: new file.
19454 * gdb.hp/watch-hp.exp: new file.
19455 * gdb.hp/xdb1.exp: new file.
19456 * gdb.hp/xdb2.exp: new file.
19457 * gdb.hp/xdb3.exp: new file.
19458
19459Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
19460
19461 The following files are part of the HP merge; some had longer
19462 names at HP, but have been renamed to be no more than 14
19463 characters in length.
19464
19465 * gdb.base/ss.h: new file.
19466 * gdb.base/call-ar-st.c: new file.
19467 * gdb.base/call-ar-st.exp: new file.
19468 * gdb.base/call-rt-st.c: new file.
19469 * gdb.base/call-rt-st-exp: new file.
19470 * gdb.base/call-strs.exp: new file.
19471 * gdb.base/ena-dis-br.exp: new file.
19472 * gdb.base/environ.exp: new file.
19473 * gdb.base/long_long.exp: new file.
19474 * gdb.base/sect-cmd.exp: new file.
19475 * gdb.base/shlib-cl2.exp: new file.
19476 * gdb.base/smoke.exp: new file.
19477 * gdb.base/so-impl-ld.c: new file.
19478 * gdb.base/so-impl-ld.exp: new file.
19479 * gdb.base/so-indr-cl.c: new file.
19480 * gdb.base/so-indr-cl.exp: new file.
19481 * gdb.base/varargs.exp: new file.
19482 * gdb.base/volatile.exp: new file.
19483 * gdb.base/whatis-exp.exp: new file.
7a292a7a 19484 * gdb.base/display.exp: new file.
c906108c
SS
19485 * gdb.c++/derivation.exp: new file.
19486 * gdb.c++/local.exp: new file.
19487 * gdb.c++/member-ptr.exp: new file.
19488 * gdb.c++/overload.exp: new file.
19489 * gdb.c++/ovldbreak.exp: new file.
19490 * gdb.c++/ref-types.exp: new file.
19491 * gdb.c++/ref-types2.exp: new file.
19492 * gdb.c++/userdef.exp: new file.
d63a86f8 19493
c906108c
SS
19494Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
19495
19496 * gdb.base/default.exp: Reflect wording change in remote.c.
19497
dc96c6c7 19498Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19499
19500 * gdb.base/help.exp: Update to reflect current text.
19501
19502Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
19503
19504 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
19505 they're stack variables and contain garbage.
19506 * gdb.c++/anon-union.exp: new file.
19507
19508 The following changes were made by David Taylor
889bf7c5
PA
19509 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
19510 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
19511 in changes by HP.
c906108c
SS
19512
19513 * gdb.base/bitops.exp: new file.
19514 * gdb.base/default.exp: change expected messages for catch and
19515 info catch tests to reflect HP merge changes.
19516 * gdb.base/enable-disable-break.exp
19517 * gdb.base/ending-run.c: new file.
19518 * gdb.base/long_long.c: new file.
19519 * gdb.base/maint.exp: new file.
19520 * gdb.base/pointers2.exp: new file.
19521 * gdb.base/shlib-call2.exp: new file.
19522 * gdb.base/solib.exp: new file.
19523 * gdb.base/step-test.c: new file.
19524 * gdb.c++/anon-union.cc: new file.
19525 * gdb.c++/local.cc: new file.
19526 * gdb.c++/member-pointer.cc: new file.
19527 * gdb.c++/method.cc: new file.
19528 * gdb.c++/ref-types.cc: new file.
19529 * gdb.c++/ref-types2.cc: new file.
19530 * gdb.c++/userdef.cc: new file.
d63a86f8 19531
c906108c
SS
19532 * gdb.base/scope.exp: compile one file at a time, then link.
19533 * gdb.base/langs.exp: ditto.
19534 * gdb.base/list.exp: ditto.
d63a86f8 19535
c906108c
SS
19536Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
19537
19538 The following changes were made by David Taylor
889bf7c5
PA
19539 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
19540 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
19541 in changes by HP.
d63a86f8 19542
c906108c
SS
19543 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
19544 skip tests. When compiling pass c++ flag to gdb_compile.
19545 * gdb.c++/
d63a86f8 19546
c906108c
SS
19547 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
19548 test for on hppa*-*-hpux*; use args to see if c++ was specified.
19549 (skip_hp_tests): new function.
19550 (gdb_preprocess): new function.
19551
19552 * configure.in (hpdir): decide whether to configure gdb.hp.
19553 * configure: regenerated.
19554
19555 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
19556 to delete on clean.
19557 (EXECUTABLES): update to reflect new additions.
19558 * gdb.base/commands.exp: update message expected.
19559 * gdb.base/default.exp: add copyright notice.
19560 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
19561 * gdb.base/help.exp: update messages to reflect current text.
19562 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
19563 targets for recurse tests.
19564 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
19565 skip this file.
19566
19567 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
19568 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
19569 compilation.
19570 * gdb.c++/misc.exp: ditto.
19571 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
19572 run the tests. tell gdb_compile that it's a c++ compilation.
19573
19574 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 19575
c906108c
SS
19576 * gdb.base/all-bin.exp: new file.
19577 * gdb.base/arithmet.exp: new file.
19578 * gdb.base/assign.exp: new file.
19579 * gdb.base/completion.exp: new file.
19580 * gdb.base/cond-expr.exp: new file.
19581 * gdb.base/condbreak.exp: new file.
19582 * gdb.base/define.exp: new file.
19583 * gdb.base/dollar.exp: new file.
19584 * gdb.base/environment.exp: new file.
19585 * gdb.base/eval-skip.exp: new file.
19586 * gdb.base/jump.exp: new file.
19587 * gdb.base/logical.exp: new file.
19588 * gdb.base/pointers.exp: new file.
19589 * gdb.base/relational.exp: new file.
19590 * gdb.base/section_command.exp: new file.
19591 * gdb.base/whatis-expr.exp: new file.
19592
19593 * gdb.base/all-types.c: new file.
19594 * gdb.base/call-array-struct.c: new file.
19595 * gdb.base/call-return-struct.c: new file.
19596 * gdb.base/call-strings.c: new file.
19597 * gdb.base/callfuncs2.c: new file.
19598 * gdb.base/condbreak.c: new file.
19599 * gdb.base/constvars.c: new file.
19600 * gdb.base/display.c: new file.
19601 * gdb.base/int-type.c: new file.
19602 * gdb.base/jump.c: new file.
19603 * gdb.base/miscexprs.c: new file.
19604 * gdb.base/pointers.c: new file.
19605 * gdb.base/pointers2.c: new file.
19606 * gdb.base/shmain.c: new file.
19607 * gdb.base/shr1.c: new file.
19608 * gdb.base/shr2.c: new file.
19609 * gdb.base/solib.c: new file.
19610 * gdb.base/solib1.c: new file.
19611 * gdb.base/solib2.c: new file.
19612 * gdb.base/varargs.c: new file.
19613 * gdb.c++/derivation.cc: new file.
19614 * gdb.c++/overload.cc: new file.
19615 * gdb.c++/ovldbreak.cc: new file.
19616 * gdb.hp/attach.c: new file.
19617 * gdb.hp/attach2.c: new file.
19618 * gdb.hp/average.c: new file.
19619 * gdb.hp/compiler.c: new file.
19620 * gdb.hp/compiler.cc: new file.
19621 * gdb.hp/execd-program.c: new file.
19622 * gdb.hp/follow-exec.c: new file.
19623 * gdb.hp/follow-fork.c: new file.
19624 * gdb.hp/follow-vfork-and-exec.c: new file.
19625 * gdb.hp/misc-hp.cc: new file.
19626 * gdb.hp/more-steps.c: new file.
19627 * gdb.hp/optimize.c: new file.
19628 * gdb.hp/quicksort.c: new file.
19629 * gdb.hp/run-hp.c: new file.
19630 * gdb.hp/start-stop.c: new file.
19631 * gdb.hp/sum.c: new file.
19632 * gdb.hp/templates-hp.cc: new file.
19633 * gdb.hp/thread-local-in-lib.c: new file.
19634 * gdb.hp/thread-local-in-lib.h: new file.
19635 * gdb.hp/thread-local-in-lib.lib.c: new file.
19636 * gdb.hp/vforked-program.c: new file.
19637 * gdb.hp/virtfunc-hp.cc: new file.
19638 * gdb.hp/watchpoint-hp.c: new file.
19639 * gdb.hp/xdb.c: new file.
19640 * gdb.hp/xdb0.c: new file.
19641 * gdb.hp/xdb0.h: new file.
19642 * gdb.hp/xdb1.c: new file.
19643
19644Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
19645
19646 The following change was made by Edith Epstein
889bf7c5
PA
19647 <eepstein@cygnus.com> as part of a project to merge in changes
19648 originally made by HP; HP did not create ChangeLog entries.
c906108c
SS
19649
19650 * gdb.c++/demangle.exp: changed the expected output for some
19651 ARM-style mangling -- removed second reference to datatype.
889bf7c5 19652 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 19653 T1<char>::~T1<char>(void)
c906108c 19654 becomes,
a9c64011
AS
19655 maint demangle __dt__11T1__pt__2_cFv
19656 T1<char>::~T1(void)
c906108c 19657
889bf7c5 19658 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 19659
c906108c
SS
19660Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
19661
19662 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
19663 * gdb.trace/backtrace.exp: Likewise.
19664 * gdb.trace/circ.exp: Likewise.
19665 * gdb.trace/collection.exp: Likewise.
19666 * gdb.trace/deltrace.exp: Likewise.
19667 * gdb.trace/infotrace.exp: Likewise.
19668 * gdb.trace/limits.exp: Likewise.
19669 * gdb.trace/packetlen.exp: Likewise.
19670 * gdb.trace/passc-dyn.exp: Likewise.
19671 * gdb.trace/passcount.exp: Likewise.
19672 * gdb.trace/report.exp: Likewise.
19673 * gdb.trace/save-trace.exp: Likewise.
19674 * gdb.trace/tfind.exp: Likewise.
19675 * gdb.trace/tracecmd.exp: Likewise.
19676 * gdb.trace/while-dyn.exp: Likewise.
19677 * gdb.trace/while-stepping.exp: Likewise.
19678
196791998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
19680
19681 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
19682
19683Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
19684
19685 From Brendan Kehoe:
19686 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
19687 int return types.
19688
19689Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
19690
19691 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
889bf7c5 19692 remote dos host testing right.
c906108c
SS
19693
19694Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
19695
19696 * gdb.base/corefile.exp: remove some xfails.
19697
19698Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
19699
19700 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
889bf7c5 19701 have different timestamps.
c906108c
SS
19702
19703Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
19704
19705 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
889bf7c5 19706 gdb.base/default.exp: Replace "exec" with "executable".
c906108c
SS
19707
19708Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
19709
19710 * gdb.base/default.exp: Change else if to elseif from previous
889bf7c5 19711 delta.
c906108c
SS
19712
19713Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
19714
19715 * gdb.base/default.exp: Add brace missing from previous delta.
19716
19717Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
19718
19719 * gdb.base/default.exp: Support test for info float for all
19720 varieties of arm toolchain.
19721
dc96c6c7 19722Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19723
19724 * gdb.trace/*.exp: remove "remote_download" command.
19725
dc96c6c7 19726Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19727
19728 * gdb.trace/*.exp: remove -gdwarf from compile.
19729
19730Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
19731
19732 * gdb.trace/configure.in(AC_INIT): typo
19733 * gdb.trace/configure: regenerated
19734
dc96c6c7 19735Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19736
19737 * config/m68k-emc.exp: New file.
19738 * lib/<emc-support.exp trace-support.exp}: New files.
19739 * configure.in: add new test directory gdb.trace.
19740 * gdb.trace/{configure configure.in Makefile.in}: New files.
19741 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
19742 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
19743 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
19744 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
19745 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
19746 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
19747 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 19748
dc96c6c7 19749Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19750
19751 * gdb.c++/classes.exp: Change all regular expressions to match
19752 arbitrary combinations of newline/carriage-return, so that they
19753 will work equally well on Unix and Windows.
19754 * gdb.c++/inherit.exp: ditto.
19755 * gdb.c++/virtfunc.exp: ditto.
19756
197571998-08-11 Dawn Perchik <dawn@cygnus.com>
19758
19759 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
19760
c2d11a7d
JM
19761Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
19762
19763 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
19764 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
19765 to use a0-a3/d0-d3 as needed.
19766
19767Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
19768
19769 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
19770 * gdb.disasm/am33.exp: Corresponding changes.
19771
c906108c
SS
197721998-07-11 Felix Lee <flee@cygnus.com>
19773
19774 * gdb.base/callfuncs.exp: add cmp10 test.
19775 * gdb.base/callfuncs.c (cmp10): new function.
19776
19777Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
19778
d63a86f8 19779 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
19780 into two parts to get around a synchronization problem in expect.
19781
3fc11d3e
JM
19782Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
19783
19784 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
19785
19786 * configure.in: Add options for gdbtk testsuite.
19787
19788 * configure: Regenerate.
19789
19790 * gdb.gdbtk: New directory to hold gdbtk tests.
19791
c906108c
SS
19792Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
19793
19794 * gdb.fortran/types.exp: Escape brackets in expect patterns
19795 for test_float_literal_types_accepted tests.
19796 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
19797 before run test.
19798
c2d11a7d
JM
19799Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
19800
19801 * am33.exp: Just compile, do not link the testcase.
19802 * am33.s: Add ".am33" pseudoop to force am33 mode.
19803
c906108c
SS
198041998-06-25 Felix Lee <flee@cygnus.com>
19805
19806 * gdb.base/setshow.exp: make sure $pc is sane.
19807
19808 * gdb.stabs/weird.exp: split expect patterns properly.
19809
c2d11a7d
JM
19810Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
19811
19812 * gdb.disasm/am33.s: New disassembler testfile for the am33.
19813 * gdb.disasm/am33.exp: Run it.
19814
dc96c6c7 19815Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19816
19817 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
19818 match processing (and eliminate spurious timeouts when running).
19819
dc96c6c7 19820Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19821
19822 * gdb.base/signals.exp (test_handle_all_print): put back Mach
19823 exception test, but conditionalize it on target [mach | gnu].
19824
dc96c6c7 19825Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19826
19827 * gdb.base/overlays.exp: fixup compile line for linker script.
19828
19829Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
19830
19831 * gdb.fortran/types.exp: don't guess at float size.
19832
19833Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
19834
19835 * gdb.base/exprs.exp: delete test that depends on int size.
19836
19837Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
19838
19839 * config/sim.exp: Removed checks for target triplets.
19840 (gdb_target_sim): Use gdb,target_sim_options.
19841
19842Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
19843
19844 * gdb.base/reread.exp: New file.
19845 * gdb.base/reread1.c: New file.
19846 * gdb.base/reread2.c: New file.
19847
19848Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
19849
19850 * config/sim.exp: Use 'target sim -sparclite' when running
19851 SPARClite programs.
19852
19853Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
19854
19855 * gdb.base/structs2.exp: New file.
19856 * gdb.base/structs2.c: New file.
19857
19858Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
19859
19860 * gdb.asm/common.inc: New file.
19861 * gdb.asm/d10v.inc: New file.
19862 * asm-source.exp: Pass -I's to gas to find .inc files.
19863 Update line numbers in expected output.
19864 * asmsrc1.s: Rewrite.
19865 * asmsrc2.s: Rewrite.
19866 * configure.in: Create arch.inc symlink.
19867 * configure: Regenerate.
19868 * Makefile.in (distclean): Delete arch.inc.
19869
19870Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
19871
19872 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
889bf7c5
PA
19873 (t_enum_value2): ditto
19874 (t_enum_value3): ditto
19875 (main): ditto
c906108c
SS
19876Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
19877
19878 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
19879 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
19880 change.
19881 Use gdb_test instead of send_gdb/gdb_expect sequences.
19882
19883Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
19884
19885 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
19886 not void.
19887
19888Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
19889
19890 * gdb.base/branches.c: Code with lots of loops and
889bf7c5
PA
19891 subroutines. Used to test gdbs ability to single step through PC
19892 changes, especially to test mips-tdep.c:mips_next_pc
c906108c
SS
19893
19894Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
19895
19896 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
19897 more rigorous EGCS C++ error checking.
19898
19899Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19900
a9c64011
AS
19901 * gdb.base/help.exp: Clean up `help set args' and `help show args'
19902 tests.
19903 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
19904 function when asleep.
19905 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
19906 for i*86 Linux and SVR4 signal handling problems.
19907 Remove linux xfail for `next to handler in signals_tests_1', fixed
19908 by recent infrun.c change.
19909 Limit backtrace to 10 frames to avoid timeout problems with infinite
19910 stack backtraces.
19911 Adjust expect pattern in `handle all print' test to match Apr 28 1997
19912 target.[ch] change.
c906108c
SS
19913
19914Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
19915
19916 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
19917 for a newline from gdb before continuing.
19918 (default_gdb_exit): Just look for y or n.
19919 (gdb_test): Detect abnormal exit from GDB running on DOS; if
19920 it does, fail the rests of the tests in the file.
19921
19922Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
19923
19924 * config/cygmon.exp: New file.
19925
19926Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
19927
19928 * gdb.base/list.exp: Fix problem with "list default lines around
889bf7c5 19929 main" test on remote targets.
c906108c
SS
19930
19931 * gdb.base/scope.exp: Fix problem with filelocal_bss before
19932 run test on remote targets.
19933
19934Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
19935
19936 * gdb.asm: New directory.
19937 * configure.in: Configure it.
19938 * configure: Regenerate.
19939 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
19940 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
19941
19942Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
19943
19944 * config/mn10300-eval.exp: New file to support MN10300 eval board.
19945
dc96c6c7 19946Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 19947
a9c64011
AS
19948 * gdb.base/overlays (several files): Merge the two overlay
19949 managers into one. Change variables (foox, barx, bazx, grbxx)
19950 back into ints but force them to load in their proper sections.
c906108c
SS
19951
19952Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
19953
19954 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
889bf7c5 19955 on-chip insn memory and IMAP1 to upper 128k.
c906108c
SS
19956 (D10VCopy): Handle memory regions crossing 16k boundaries.
19957 (D10VCopy): Transfer data in 32 bit chunks.
19958
19959Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
19960
19961 * gdb.base/overlays.c (main): Exit normally when result is
889bf7c5 19962 correct.
c906108c
SS
19963
19964 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
889bf7c5 19965 map. Include space for printf in .text segment.
c906108c
SS
19966
19967 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
889bf7c5 19968 updated d10v memory VMA/LMA map.
c906108c 19969 (D10VCopy): Call D10VTranslate.
d63a86f8 19970
c906108c
SS
19971Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
19972
19973 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
19974
19975 * gdb.base/bar.c (barx, bar): Change variable to small array so
889bf7c5
PA
19976 that it won't be put into the .sdata - small data -
19977 section. Update reference.
c906108c
SS
19978 * gdb.base/baz.c (bazx, baz): Ditto.
19979 * gdb.base/foo.c (foox, foo): Ditto.
19980 * gdb.base/grbx.c (grbxx, grbx): Ditto.
19981
19982 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
889bf7c5 19983 to be arrays.
d63a86f8 19984
dc96c6c7 19985Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 19986
a9c64011
AS
19987 * gdb.base/overlays.exp: fix up and get working again.
19988 Add tests for backtraces from an overlay function.
d63a86f8 19989
c906108c
SS
19990Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
19991
19992 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
19993 "calling function with watchpoint enabled".
19994
19995Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
19996
19997 * gdb.base/break.exp (test_next_with_recursion): Remove
889bf7c5 19998 gdb_suppress_tests for d10v-*-*.
c906108c
SS
19999 * lib/gdb.exp (gdb_suppress_tests): Disable this function
20000 pending review of whether it is useful or not.
20001
20002Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
20003
20004 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
20005
20006Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
20007
20008 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
20009 * config/dve.exp: New file to support Densan boards.
20010
20011Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
20012
20013 * gdb.base/interrupt.exp: Document problem of simulators, signals,
889bf7c5 20014 reads and BSD.
c906108c
SS
20015
20016Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
20017
20018 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
20019 response.
20020
20021 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
20022
20023Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
20024
20025 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
889bf7c5 20026 test.
c906108c
SS
20027
20028 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
889bf7c5 20029 target_sizeof_long and target_bigendian_p.
c906108c 20030 (structs_by_value, structs_by_reference): Check values according
889bf7c5 20031 to targets word size and endianess.
d63a86f8 20032
c906108c
SS
20033Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
20034
20035 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
889bf7c5 20036 output.
c906108c
SS
20037
20038Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
20039
20040 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
889bf7c5 20041 Update test of set args help to match source change.
c906108c
SS
20042
20043Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
20044
20045 * gdb.base/default.exp: Expect help system output to be in
20046 alphabetical order.
20047 * gdb.base/help.exp: Ditto.
20048
20049Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
20050
20051 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
20052 "i*86-pc-linux-gnu*".
20053 * gdb.base/interrupt.exp: Ditto.
20054 * gdb.base/corefile.exp: Ditto.
20055
20056 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
889bf7c5 20057 define vxworks when building the testcase.
c906108c
SS
20058
20059 * gdb.base/ptype.exp: Fix testnames to be unique.
20060 * gdb.base/radix.exp: Ditto.
20061 * gdb.base/term.exp: Ditto.
20062 * gdb.base/whatis.exp: Ditto.
20063 * gdb.c++/classes.exp: Ditto.
20064
20065Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
20066
20067 * gdb.base/callfuncs.exp: Fix indentation.
20068
20069 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
20070 suppress_flag has been set.
20071 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
20072 target feature.
20073
20074Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
20075
20076 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
20077 the testcase.
20078
20079 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
889bf7c5 20080 set_debug_traps() and breakpoint().
c906108c
SS
20081 * gdb.c++/misc.cc (main): Ditto.
20082 * gdb.c++/templates.cc (main): Ditto.
20083 * gdb.c++/virtfunc.cc (main): Ditto.
20084
20085Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
20086
20087 * lib/gdb.exp(gdb_step_for_stub): New function.
20088 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
20089 exists, reload the executable and do a "continue" instead of
20090 doing a jump.
20091 (runto_main): Use gdb_step_for_stub.
d63a86f8 20092
c906108c 20093 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
889bf7c5 20094 tests to have unique names.
c906108c
SS
20095 * gdb.base/callfuncs.exp: Ditto.
20096 * gdb.base/commands.exp: Ditto.
20097 * gdb.base/default.exp: Ditto.
20098 * gdb.base/help.exp: Ditto.
20099 * gdb.base/list.exp: Ditto.
20100 * gdb.base/opaque.exp: Ditto.
20101 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
20102 similar tests.
d63a86f8 20103
c906108c
SS
20104 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
20105 * gdb.c++/cplusfuncs.cc: Ditto.
20106 * gdb.c++/virtfunc.cc: Ditto.
20107
20108 * config/monitor.exp: Keep track of the last file we saw, rather
20109 than trying to get the info from gdb.
20110
20111 * gdb.fortran/types.exp: Move comment to previous line.
20112
20113Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
20114
20115 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
889bf7c5 20116 target mode.
c906108c
SS
20117
20118Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
20119
20120 From Bob Manson:
20121 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
889bf7c5 20122 string from GDB when it connects.
c906108c
SS
20123
20124 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
20125
20126Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
20127
20128 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
889bf7c5
PA
20129 if we can't get a debug format from GDB (we may be testing an
20130 older GDB). Use a 10 second timeout when checking for the format.
c906108c
SS
20131
20132 * gdb.stabs/weird.exp: Fix quoting.
20133
20134 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
20135
20136Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
20137
20138 * config/arm-ice.exp: New file.
20139
20140Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
20141
20142 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
889bf7c5 20143 until it has been modified to work with the new testsuite.
c906108c 20144
99707966 20145 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
889bf7c5
PA
20146 testcase won't compile, cause all of the testcases in the file to
20147 fail instead.
c906108c
SS
20148
20149 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
20150 (gdb_clear_suppressed): New procedure.
20151 (gdb_stop_suppressing_tests): Only clear suppress_flag if
20152 it contains a positive value.
20153
20154Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
20155
20156 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
20157
20158 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
20159
20160Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
20161
20162 * lib/gdb.exp (setup_xfail_format): New function.
20163 (get_debug_format): New function to get debug format.
20164 (debug_format): New global variable to hold last value set
20165 by get_debug_format.
20166 * gdb.base/list.exp: Call get_debug_format and expect some
889bf7c5 20167 tests to fail for DWARF 1 and COFF formats.
c906108c
SS
20168 * gdb.c++/ptype.exp: Ditto.
20169 * gdb.c++/classes.exp: Ditto.
20170 * gdb.c++/cplusfuncs.exp: Ditto.
20171 * gdb.c++/inherit.exp: Ditto.
20172 * gdb.c++/templates.exp: Ditto.
20173 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 20174
c906108c
SS
20175Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
20176
20177 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
20178 host doesn't have a currently-open connection.
20179
20180 * config/sparclet.exp: Cleanups and fixes to make it generic for
889bf7c5
PA
20181 any gdb stub target. Handle cases where gdb doesn't respond when
20182 interrupted in a sane fashion.
c906108c
SS
20183
20184 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
889bf7c5 20185 same thing in a totally different way.
c906108c
SS
20186
20187 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
889bf7c5 20188 setting "timeout".
c906108c 20189 (gdb_start): We set the global gdb_prompt variable in
889bf7c5 20190 default_gdb_init now.
c906108c
SS
20191
20192Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
20193
20194 * gdb.base/printcmds.exp: Fix "check for floating addition"
20195 regexp to accept results within approx +/- .01 of exact value.
20196 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
20197
20198Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
20199
20200 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
889bf7c5 20201 properly.
c906108c
SS
20202 (gdb_expect): Add optional timeout parameter, and add timeout
20203 value to various calls.
20204 (gdb_suppress_tests): Only give one warning message per group.
20205
20206Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
20207
20208 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
889bf7c5
PA
20209 global variables. Handle getting a value for $timeout more
20210 gracefully.
c906108c
SS
20211
20212Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
20213
20214 * lib/gdb.exp: Close connection to remote host if gdb doesn't
889bf7c5 20215 initialize.
c906108c 20216 (default_gdb_init): New procedure; allow gdb_init to be overridden
889bf7c5 20217 by a target configuration file.
c906108c
SS
20218 (gdb_expect): Pass the timeout to remote_expect.
20219
20220 * config/monitor.exp(gdb_load): Fix typo in regexp.
20221
20222Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
20223
20224 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
20225
20226Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
20227
20228 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
889bf7c5
PA
20229 here. Call gdb_target_exec before rebooting the target, to make
20230 sure the connection to the target is closed.
c906108c
SS
20231 (gdb_load): Pass the name of the executable to gdb_target_monitor.
20232 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
20233 Also detect "Timeout reading from remote" error.
20234
20235 * config/gdbserver.exp: Pass the executable being loaded to
889bf7c5
PA
20236 gdb_target_monitor. Don't call gdb_file_cmd here; let
20237 gdb_target_monitor do it.
c906108c
SS
20238
20239 * gdb.disasm/hppa.exp: Don't use exec_output.
20240
20241Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
20242
20243 * gdb.base/list.exp: If we're debugging a non-native target,
20244 try to set the pc register to point to the start of the
20245 program before doing the first list command.
20246
20247 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
889bf7c5 20248 test_calls after restarting.
c906108c
SS
20249
20250 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
889bf7c5 20251 reloading.
c906108c
SS
20252
20253 * gdb.base/watchpoint.exp: Fix typo.
20254
20255 * gdb.base/setshow.exp: Check for use_gdb_stub.
20256
20257 * gdb.base/break.exp: Fix continue until exit test for the gdb
889bf7c5 20258 stub case.
c906108c
SS
20259 * gdb.base/langs.exp: Ditto.
20260
20261 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
889bf7c5
PA
20262 gdb_load_offset. If we weren't given a file to load, figure out
20263 what the current file is and use it.
c906108c
SS
20264
20265 * config/i386-bozo.exp: New file.
20266
20267Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
20268
20269 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
20270 feature.
20271
20272 * config/proelf.exp: New entry.
20273
20274Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
20275
20276 * lib/gdb.exp: Remove spurious .* patterns at the beginning
20277 of regexps.
20278
20279 * gdb.base/watchpoint.exp: Don't run the test_stepping
20280 tests if gdb can't call functions on the target.
20281
20282 * gdb.base/setshow.exp: Don't run the set prompt tests if
20283 the board has gdb_prompt set.
20284
20285Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
20286
20287 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
20288 * gdb.base/commands.exp: Likewise.
20289 * gdb.base/setshow.exp: Likewise.
20290
20291Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
20292
20293 * config/monitor.exp(gdb_start): Look for gdb_prompt target
20294 feature.
20295
20296 * config/i960.exp: New file.
20297
20298Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
20299
20300 * gdb.base/funcargs.exp: Check for gdb,short_int target
20301 feature instead of looking for explicit target triplets.
20302
dc96c6c7 20303Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 20304
d63a86f8 20305 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
20306 "p 123DEADBEEF", to check parse_number.
20307 * top.c: change "to enable to enable" to "to enable" in a couple
20308 of help strings.
20309
20310Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
20311
20312 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
20313 on the mn10300.
d63a86f8 20314
c906108c
SS
20315Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
20316
20317 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
20318 where the test executable is run with explicit args.
20319 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
20320
20321Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
20322
20323 * gdb.base/run.c: Use FAKEARGV to build test executable that
20324 does not require a command line arg, since most simulators
20325 don't currently support passing such an arg into the simulated
20326 program.
20327 * gdb.base/commands.exp: Change tests to insert the proper
20328 value as the arg to the first recursive factorial call. Change
20329 compilation line to define FAKEARGV at compile time.
20330
20331Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
20332
20333 * gdb.base/recurse.exp: Enable these tests for the mn10300.
20334 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
20335 function with watchpoint enabled" test.
20336
20337Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
20338
20339 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
889bf7c5 20340 Don't call gdb_test when the command doesn't return to a gdb prompt.
c906108c
SS
20341
20342 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
889bf7c5 20343 "Tests restarted" messages.
c906108c
SS
20344
20345Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
20346
20347 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
20348
dc96c6c7 20349Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20350
20351 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
20352 for INFO SYMBOL; add help tests for OVERLAY commands.
20353 * gdb.base/default.exp: add tests for INFO SYMBOL command;
20354 add tests for OVERLAY commands
20355 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
20356 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
20357 * gdb.base/sigall.c: add usestubs code frag
20358 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 20359
c906108c
SS
20360Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
20361
20362 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
20363 failures.
20364 (gdb_stop_suppressing_tests): Note that tests have restarted.
20365
20366Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
20367
20368 * config/h8300.exp: New file.
20369
20370Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
20371
20372 * gdb.base/setshow.exp: Check for the existence of a
20373 feature, not its value.
20374
20375Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
20376
20377 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
20378
20379 * gdb.base/scope.exp: It's now init0(), not init().
20380
20381 * gdb.base/scope0.c: For now, change init() to be init0().
20382
20383 * config/monitor.exp: Use gdb_serial in preference to serial
20384 or netport.
20385
20386 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
889bf7c5 20387 and it's not already set.
c906108c
SS
20388
20389Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
20390
20391 * gdb.base/setshow.exp: Only test the run command if the target
889bf7c5 20392 isn't using a stub and if it supports argument passing.
c906108c
SS
20393
20394Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
20395
20396 * config/udi.exp(gdb_start): Make sure UDICONF is set
20397 properly before starting gdb.
20398
20399Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
20400
20401 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
20402 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
20403 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
20404
20405Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
20406
20407 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
889bf7c5 20408 specialized code to reboot the board, use remote_reboot instead.
c906108c
SS
20409
20410 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
20411
20412 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
20413
20414 * config/monitor.exp: Make sure we disconnect from the target.
20415 Also, try a reboot/reload cycle instead of failing if the
20416 load fails.
20417
20418Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
20419
20420 * gdb.base/default.exp: Don't set match_max.
20421 * gdb.base/help.exp: Ditto.
20422 * gdb.base/list.exp: Ditto.
20423 * gdb.base/signals.exp: Ditto.
20424
20425 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
20426 set, use remote_ld to download the testcase instead of
20427 the GDB loader.
20428
20429Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
20430
20431 * config/vr5000.exp: New file.
20432
20433 * config/monitor.exp(gdb_target_monitor): Add pattern for
20434 "Ending remote" to detect errors in connecting.
20435
20436 * gdb.base/setshow.exp: Add .* within auto language test.
20437
20438 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
20439 target feature.
20440
20441 * config/monitor.exp(gdb_load): Check for a failure when loading,
889bf7c5 20442 and reboot the board if necessary.
c906108c
SS
20443
20444 * gdb.base/setvar.exp(test_set): Handle multiple prints within
20445 a set of tests. Remove print.* from the patterns being checked.
20446
20447Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
20448
20449 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
20450 refer to gdb_spawn_id.
20451
20452 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
20453 longer used.
20454 * config/sparclet.exp: Ditto.
20455 * config/sparclet-old.exp: Ditto.
20456 * config/slite.exp: Ditto.
20457 * config/sim.exp: Ditto.
20458 * gdb.base/funcargs.exp: Ditto.
20459
20460 * lib/gdb.exp:Remove references to gdb_spawn_id.
20461 (gdb_expect): Move to remote.exp.
20462
20463Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
20464
20465 * config/monitor.exp: Detect the "Couldn't establish connection"
20466 message from GDB.
20467
20468Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
20469
20470 * gdb.base/bitfields.exp: Use runto instead of explicit
20471 gdb_run_cmd/gdb_expect sequences.
20472
20473 * gdb.base/break.exp(text_next_with_recursion): Add match for
20474 gdb_expect call.
20475
20476 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
20477 We also need to handle the "A program is being debugged already"
20478 prompt from gdb. Use gdb_test to set the baud rate.
20479
20480 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
20481 to 20000. Really. I mean it.
20482
20483Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
20484
20485 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
889bf7c5
PA
20486 fails. If suppress_flag is set, skip perror message about not
20487 being able to send to GDB.
c906108c 20488 (send_gdb): If suppress_flag is set, don't try to send commands to
889bf7c5 20489 GDB.
c906108c
SS
20490 (gdb_expect): If suppress_flag is set, always fail immediately.
20491 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
20492 (gdb_init): Call gdb_stop_suppressing_tests.
20493 (default_gdb_exit): Ditto.
20494 (default_gdb_start): Ditto.
20495
20496 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
889bf7c5 20497 gdb_stop_suppressing_tests as appropriate.
c906108c 20498 * gdb.base/break.exp: Ditto.
889bf7c5 20499 * gdb.base/callfuncs.exp: Ditto.
c906108c
SS
20500 * gdb.base/commands.exp: Ditto.
20501 * gdb.base/exprs.exp: Ditto.
889bf7c5 20502 * gdb.base/funcargs.exp: Ditto.
c906108c
SS
20503 * gdb.base/list.exp: Ditto.
20504 * gdb.base/recurse.exp: Ditto.
889bf7c5 20505 * gdb.base/scope.exp: Ditto.
c906108c
SS
20506 * gdb.base/structs.exp: Ditto.
20507 * gdb.c++/inherit.exp: Ditto.
20508
20509Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
20510
20511 * config/vr4300.exp: New file.
20512
99707966 20513 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 20514
99707966 20515 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
20516
20517Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
20518
20519 * lib/gdb.exp(gdb_init): New function.
20520
20521 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
889bf7c5 20522 for each individual variable set.
c906108c
SS
20523
20524 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
20525 name.
20526
20527 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
20528
20529 * gdb.base/scope.exp: Use gdb_test.
20530
20531 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
20532 aborting; the testsuite driver will do that for us (see
20533 gdb_finish). Also, use gdb_test in a few more places.
20534
20535Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
20536
20537 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
20538
20539Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
20540
20541 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
20542 and "add_tests" are not at the same address.
20543
20544Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
20545
20546 * gdb.base/ptype.exp: Use gdb_test.
20547
20548Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
20549
20550 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
20551 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
20552 left in. No longer expect them to fail.
20553
20554 * gdb.stabs/*.mt; Deleted, no longer used.
20555 * gdb.stabs/configure.in: Remove references to target makefile
20556 frags.
20557 * gdb.stabs/configure: Rebuilt.
20558
20559 * gdb.disasm/*.mt: Deleted, no longer used.
20560 * gdb.disasm/configure.in: Remove references to target makefile
20561 frags. Use "sh3.s" as the unique filename for this directory.
20562 * gdb.disasm/configure: Rebuilt.
20563
20564 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
20565 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
20566 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
20567
20568Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
20569
20570 * config/udi.exp: Use mondfe,name instead of remote_host.
20571
20572Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
20573
20574 * gdb.base/watchpoint.exp: Don't expect a failure when calling
20575 a function with a watchpoint enabled on the mn10200.
20576
20577 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
20578 before trying to create it!
20579
20580Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
20581
20582 * config/vx.exp: Use hostname instead of netport.
20583
20584 * config/vxworks.exp: New file.
20585
20586 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
20587
20588 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
889bf7c5 20589 gdb before assuming everything worked. Send a ^C if a timeout
c906108c
SS
20590 occurs.
20591
20592 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
20593 $gdb_spawn_id directly.
20594 (gdb_run_cmd): Try _start as well as start. Use the target feature
20595 gdb,start_symbol as the symbol to start from when jumping.
20596
20597Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
20598
20599 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
20600 redundant) test.
20601
20602 * gdb.base/recurse.exp: Relax final value test for 'b' so that
20603 it doesn't lose for 16bit integer systems.
20604
20605Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
20606
20607 * gdb.fortran/types.exp: If the target doesn't support "double"
20608 data types, then expect "real" types to only be 4 bytes.
20609
20610 * gdb.c++/virtfunc.exp: Expect failure for virtual function
20611 call tests if the target doesn't support inferior function calls.
20612
20613 * gdb.base/printcmds.exp: Allow minor deviation in FP values
20614 in printf tests.
20615
20616Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
20617
20618 * gdb.base/help.exp: Disable "help set", "help show", and
20619 "help support". Simplify regexp for "help stack".
20620
20621 * gdb.base/default.exp: Set match_max to 5000 and the timeout
20622 to 60 seconds. Temporarily set match_max to 15000 around the
20623 "info copying" test.
20624
20625 * gdb.base/nodebug.exp: Don't try to do an inferior function
20626 call if the target doesn't support them.
20627 * gdb.base/printcmds.exp: Likewise.
20628 * gdb.base/setvar.exp: Likewise.
20629 * gdb.base/structs.exp: Likewise.
20630 * gdb.c++/templates.exp: Likewise.
20631 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
20632
20633 * gdb.base/recurse.exp: Enable for the mn10200.
20634
20635 * configure.in: Do configure gdb.stabs directory for *-*-elf
20636 targets.
20637 * configure: Rebuilt.
20638
20639 * gdb.base/break.exp: Check for gdb,noresults before testing
20640 exit status and/or results from the target.
20641 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
20642 * lib/gdb.exp: Remove old (now bogus) initialization of
20643 noinferior, noargs, noresults and nosignals.
20644
20645Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
20646
20647 * config/sh.exp: New file.
20648
20649 * config/slite.exp: Try to connect multiple times to the board
20650 before rebooting. Only send a "monitor run" if need_monitor_run
20651 is set.
20652
20653 * gdb.base/break.exp: Don't do the "stub continue" test if
20654 the target has gdb_stub set.
20655
20656 * gdb.base/callfuncs.exp: Increase the timeout.
20657
20658 * gdb.base/interrupt.exp: Don't even try to compile the testcase
20659 if the target has gdb,noinferiorio set.
20660
20661 * gdb.base/list.exp: Increase match_max to 10000 characters.
20662
20663 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
20664
20665 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
20666 target.
20667
20668 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
20669
20670Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
20671
20672 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
889bf7c5
PA
20673 trying to delete the copy of gdb. Catch the file delete so we
20674 don't die if the delete fails; also, the file should be copied to
20675 the host, not to the build.
c906108c
SS
20676
20677Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
20678
20679 * lib/gdb.exp(gdb_test): Surround the result pattern with
889bf7c5 20680 parenthesis in case it contains multiple regexps separated
c906108c
SS
20681 with |.
20682
20683 * gdb.base/watchpoint.exp: Use gdb_test.
20684 * gdb.base/default.exp: Ditto.
20685
20686Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
20687
99707966 20688 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 20689
c906108c
SS
20690 * gdb.base/scope.exp: Use gdb_test.
20691 * gdb.c++/classes.exp: Ditto.
20692 * gdb.c++/inherit.exp: Ditto.
20693
20694Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
20695
20696 * gdb.base/crossload.exp: Don't use execute_anywhere, use
20697 remote_exec instead.
20698 * gdb.base/corefile.exp: Don't be ridiculous.
20699 * gdb.base/*.c: Add missing stub invocations.
20700
20701Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
20702
20703 * config/slite.exp: Miscellaneous fixes.
20704
20705 * lib/gdb.exp: Fix runto.
20706
20707 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
20708 the target.
20709
20710 * gdb.base/watchpoint.exp: Fix regexp.
20711
20712 * lib/gdb.exp(default_gdb_exit): Add a catch to the
20713 close and wait commands, as the descriptor may now be
20714 invalid. Always call "remote_close host".
20715
20716Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
20717
20718 Major rewrite for testsuite revision.
d63a86f8 20719
c906108c
SS
20720 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
20721 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
20722 instead of relying on spawn_id to always contain a valid
20723 spawn id.
20724 (get_compiler_info): New procedure to build the ${binfile}.ci
20725 file, instead of replicating this in N different places.
20726 (gdb_compile): New procedure.
d63a86f8 20727
c906108c 20728 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
889bf7c5
PA
20729 appropriate arguments) instead of compile. Use gdb_test in a lot
20730 more places. Use send_gdb instead of send. Always run gdb_start
c906108c
SS
20731 at the start of a testcase, as this is no longer done magically.
20732
20733 config/*-gdb.exp: Rename without the -gdb suffix.
20734
20735 config/mips.exp: Use remote_close instead of exit_remote_shell.
20736 config/monitor.exp: Use target_info instead of looking at
20737 baud, timeout, etc.
20738 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
20739
20740Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20741
20742 * gdb.c++/templates.exp (test_ptype_of_templates),
20743 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
20744 Update expect patterns for destructors and assignment operators
20745 to match corresponding c-typeprint.c changes.
20746 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
20747 to destructor breakpoint test, GDB should be able to set the
20748 destructor breakpoint without specifying arguments.
20749
20750Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
20751
20752 * gdb.threads/pthreads.exp: Change result for failure to compile due
20753 to lack of pthreads runtime support from an error to simply an
20754 unsupported test, per dejagnu standards.
20755
20756Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20757
20758 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
20759 where GDB exits to reduce pattern match time.
20760 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
20761
20762 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
20763
dc96c6c7 20764Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20765
20766 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
20767 * gdb.base/default.exp: ditto.
20768 * gdb.base/nodebug.exp: ditto.
20769 * gdb.base/printcmds.exp: ditto.
20770 * gdb.base/ptype.exp: ditto.
20771 * gdb.base/setvar.exp: ditto.
20772 * gdb.base/structs.exp: ditto.
20773 * gdb.base/setshow.c: Guard against uninitialized values of argc.
20774
20775Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
20776
20777 * configure, */configure: Rebuild with autoconf 2.12.
20778
20779Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
20780
20781 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
20782 use new i*86-pc-linux*-gnu quads.
20783 * gdb.base/corefile.exp: Ditto.
20784 * gdb.base/signals.exp: Ditto.
20785 * gdb.base/sigall.exp: Ditto.
20786 * gdb.base/interrupt.exp: Ditto.
20787
20788 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
20789 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
20790 RedHat 4.0.
d63a86f8 20791
c906108c 20792 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
889bf7c5
PA
20793 linux. This allows the test case to at least compile on latest
20794 linux, but still not run due to missing the threads runtime library.
c906108c
SS
20795
20796Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20797
20798 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
20799 directory to search gdb directory. Accept and step over conditional
20800 stack alignment code. Consume $prompt in failure cases.
20801 Reset timeout to $oldtimeout instead of some arbitrary value.
20802 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
20803 timeout problems with infinite stack backtraces.
20804 * gdb.base/ptype.exp (ptype struct link, union tu_link):
20805 Accept function parameters for linkfunc member.
20806
20807Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
20808
20809 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
20810 (CXXFLAGS): Remove, unreferenced.
20811 (B_OPTIONS): Add for -B options and add code to initialize with
889bf7c5
PA
20812 previous -B options and also add -B option to pick up cross compiled
20813 runtime.
c906108c
SS
20814 (TARGET_INCLUDES): Add for -I options and add code to initialize when
20815 doing cross compiles.
20816 (target_alias): Declare global.
20817 (xgcc): Set variable to full path of gcc in build tree. Use findfile
20818 to verify that gcc exists in build tree, and if so set CC to that
20819 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 20820
c906108c
SS
20821Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
20822
20823 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
20824 ptype test for anonymous union. Fixup testcase to match
20825 current gcc debug output.
20826
20827Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
20828
20829 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
20830 force argument to an unsigned long type.
20831
20832Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
20833
20834 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
889bf7c5 20835 tests and anonymous union print/ptype tests.
c906108c
SS
20836 * gdb.base/list.exp (test_forward-search): Increase timeout by
20837 5 minutes for the "search extremely long line" case.
20838 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
20839 completely optional and that the pass/fail messages use the command as
20840 the message if that third arg is a null string.
20841 (gdb_test_exact): Arrange that a null string pattern means match a
20842 null string output rather than any output, which might include random
889bf7c5 20843 errors.
c906108c
SS
20844 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
20845 backtrace test.
20846 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
20847 always failing and failure is now exposed by gdb.exp changes.
20848
20849Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
20850
20851 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
20852 weren't being noted.
20853
20854Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20855
20856 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
20857 * gdb.stabs/weird.exp: Remove v_comb xfails.
20858
dc96c6c7 20859Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20860
20861 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 20862 list.exp scope.exp watchpoint.exp]
c906108c 20863 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 20864
dc96c6c7 20865Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20866
20867 * config/monitor.exp: Increase download timeout to 1000 seconds.
20868
dc96c6c7 20869Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20870
20871 * config/m32r.exp: Increase timeout to 120 seconds.
20872
20873Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
20874
20875 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
20876 and accept older ordering as obsolescent gcc or gdb.
20877 * gdb.c++/templates.exp: Ditto.
20878 * gdb.c++/virtfunc.exp: Ditto.
20879
20880Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
20881
20882 * gdb.base/coremaker.c: Add code to mmap some data so we
20883 can check that it ends up in the core file.
20884 * gdb.base/corefile.exp: Add test to read mmapped data
20885 from core file.
20886
dc96c6c7 20887Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20888
20889 * config/m32r.exp: New file.
20890
20891Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
20892
20893 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
20894 that cflags can contains -gstabs, and work correctly for other tests.
20895
dc96c6c7 20896Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20897
20898 * gdb.base/setshow.exp: New file, tests show and set.
20899 * gdb.base/setshow.c: New file, tests show and set.
20900 * gdb.base/help.exp: Add test for help set|show annotate.
20901 * gdb.base/default.exp: Add test for set|show annotate.
20902
20903Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
20904
20905 * testsuite/gdb.base/break.exp: Make backtrace from factorial
20906 errors unique.
20907 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
20908 explicitly.
20909
20910Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
20911
20912 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
20913 and width commands. This is done elsewhere.
20914 * (gdb_start): Don't call gdb_start_sim here. That's already
20915 done in gdb_load. This fixes lots of failures in default.exp.
20916
20917Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
20918
20919 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
20920 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
20921 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
20922 in the same we we treat other failures (since it may be an expected
889bf7c5 20923 condition), rather than as an error.
c906108c
SS
20924 * gdb.base/signals.exp (test_handle_all_print): Revert back to
20925 old test format.
20926
20927Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
20928
20929 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
20930 (distclean maintainer-clean realclean): No need to remove files
889bf7c5 20931 twice. Nuke the duplicates.
c906108c 20932 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 20933 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
20934 Remove config.h along with other config files.
20935
20936Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
20937
20938 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
20939 "p func1 ()" and note that rests of tests are skipped.
20940 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 20941 setup_xfails for "print func2::coremaker_local".
c906108c
SS
20942 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
20943 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
20944 affected by the previous run test.
20945 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
20946 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
20947 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
20948 "pass int powerset tuple" and "pass modeless int powerset tuple".
20949 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
20950 "real write 4" and "real write 8".
20951 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 20952 setup_xfails for "print vs1 after tuple assign 2",
c906108c
SS
20953 "print \$i after tuple assign 2", and
20954 "print vs2 after tuple assign 2".
20955 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
20956 meaningful error message and return -1 so the caller can
20957 suppress further tests and avoid a cascade of errors.
d63a86f8 20958
c906108c
SS
20959Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
20960
20961 * gdb.base/a1-selftest.exp: Tweak tests to account for new
20962 format for printing version.
20963 * gdb.base/default.exp: Ditto.
20964 * gdb.base/interrupt.exp: Fix problem with cascade of
20965 errors if child process dies while calling a function.
d63a86f8 20966
c906108c
SS
20967Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
20968
20969 * Makefile.in (VPATH): Add
20970 * Makefile.in (Makefile, config.status): Fix rules so things get
20971 remade when necessary.
20972
20973Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
20974
20975 * Makefile.in (just-check): Add path to sibling expect dir
20976 to environment variable specified by RPATH_ENVVAR.
20977
20978Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
20979
20980 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
20981 (just-check): Add shared library paths for libstdc++, tk,
20982 tcl, bfd, and opcodes to the environment variable specified
20983 in RPATH_ENVVAR.
20984 * configure.in: Add support to recognize --enable-shared flag
20985 and generate correct value for RPATH_ENVVAR.
20986 * configure: Regenerated with autoconf.
20987
20988Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
20989
20990 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
889bf7c5 20991 include all osf versions.
c906108c
SS
20992 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
20993 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
20994 when target is linux. When failing to build pthreads test
20995 executable, give more meaningful message.
20996 * gdb.threads/pthreads.c: Hpux also uses old definition of second
20997 arg for pthread_create.
d63a86f8 20998
c906108c
SS
20999Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
21000
21001 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
889bf7c5 21002 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
c906108c 21003 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
889bf7c5 21004 and -lpthreads (everybody else).
c906108c
SS
21005 (test_startup): Fail gracefully if threads are not supported.
21006 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
21007 "p/c array_index("abcdef",2)" when not gcc compiled.
21008 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
21009 "print func2::coremaker_local" when not gcc compiled.
21010 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
21011 "ptype on opaque struct tagname (statically)",
21012 "ptype on opaque struct tagname (dynamically) 1", and
21013 "ptype on opaque struct tagname (dynamically) 2"
21014 for not compiled with gcc.
21015 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
21016 backtrace when compiled with gcc.
d63a86f8 21017 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
21018 than always return success.
21019
21020Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
21021
21022 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
21023
21024Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
21025
21026 * gdb.base/structs.exp: Undo last change.
21027
21028Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
21029
21030 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
21031 encapsulate all the steps/nexts done during self test, starting
21032 at main, and makes them less sensitive to optimization issues.
21033 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
21034 signal handler" test.
21035 * gdb.threads/pthreads.exp: Only run this for native configs.
21036 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
21037 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
21038 tests.
21039 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
21040 for "runto test_calls(void)" test.
d63a86f8 21041
c906108c
SS
21042Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
21043
21044 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
21045 and don't expect address info in breakpoint confirmations.
21046
21047Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
21048
21049 * gdb.base/list.exp (test_forward_search): Increase timeout
21050 temporarily by 60 seconds for searching extremely long line,
889bf7c5 21051 and then reset to old value when done. Increase expect input
c906108c
SS
21052 buffer to 10000.
21053
21054Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
21055
21056 * gdb.base/list.exp (test_forward_search): Fix to handle very
21057 long source line without overflowing expect's input buffer.
21058
21059Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
21060
21061 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
21062 "buffer_full".
21063
21064 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
21065 "buffer_full".
21066
21067 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
21068 "buffer_full".
21069
21070 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
21071 "buffer_full".
21072
21073Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
21074
21075 * configure.in (configdirs): Add gdb.threads.
21076 * configure: Regenerated with autoconf.
21077 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
21078 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
21079 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 21080
c906108c
SS
21081Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
21082
21083 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
21084
21085Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
21086
21087 * gdb.base/signals.exp (test_handle_all_print): Test separately for
21088 each signal's status in the output of "handle all print".
21089 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
21090 the \r\n sequence that immediately precedes the gdb prompt.
21091 * gdb.base/a1-selftest.exp: Save original timeout and restore
21092 after test.
21093
21094Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
21095
21096 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
21097 symbol.
21098
21099Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
21100
21101 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
21102
21103Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
21104
21105 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
21106 timeout by 60 seconds.
21107
21108Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
21109
21110 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
21111 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
21112 error return.
21113
21114Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
21115
21116 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
21117 gdb initialization, also report how long dejagnu waited. Restore
21118 old timeout before doing error return. Temporarily increase timeout
889bf7c5 21119 by 3 minutes to allow for slow startups over heavy NFS use.
c906108c
SS
21120
21121Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
21122
21123 * lib/gdb.exp: Report timeout value for verbosity level 2.
21124 * config/gdbserver.exp: Ditto.
21125 * config/hppro.exp: Ditto.
21126 * config/mips-gdb.exp: Ditto.
21127 * config/monitor.exp: Ditto.
21128 * config/netware.exp: Ditto.
21129 * config/sim-gdb.exp: Ditto.
21130 * config/slite-gdb.exp: Ditto.
21131 * config/udi-gdb.exp: Ditto.
21132 * config/unix-gdb.exp: Ditto.
21133 * config/vx-gdb.exp: Ditto.
21134 * gdb.base/a1-selftest.exp: Ditto.
21135 * gdb.base/a2-run.exp: Ditto.
21136 * gdb.base/break.exp: Ditto.
21137 * gdb.base/corefile.exp: Ditto.
21138 * gdb.base/list.exp: Ditto.
21139 * gdb.base/recurse.exp: Ditto.
21140 * gdb.base/scope.exp: Ditto.
21141 * gdb.base/signals.exp: Ditto.
21142
21143Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
21144
21145 * gdb.threads/Makefile.in (docdir): Removed.
21146
21147Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
21148
21149 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 21150 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 21151 @srcdir@.
d63a86f8 21152 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
21153 autoconf 2.5 or higher.
21154 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
21155
21156Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
21157
21158 * configure: Regenerated.
21159 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
21160 avoid name clashes with SunOS headers.
21161
21162Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
21163
21164 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
21165
21166Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
21167
21168 * gdb.base/callfuncs.exp: Finish last change -- make sure the
21169 prototype information ends up in the compiler info file.
21170
21171Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
21172
21173 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
21174 attempting to regenerate it. Eliminate use of a temporary file
21175 and just generate the info file directly. Source it immediately,
21176 for consistency of use.
21177 * gdb.base/corefile.exp: Ditto
21178 * gdb.base/exprs.exp: Ditto.
21179 * gdb.base/funcargs.exp: Ditto.
21180 * gdb.base/langs.exp: Ditto.
21181 * gdb.base/list.exp: Ditto.
21182 * gdb.base/mips_pro.exp: Ditto.
21183 * gdb.base/nodebug.exp: Ditto.
21184 * gdb.base/opaque.exp: Ditto.
21185 * gdb.base/ptype.exp: Ditto.
21186 * gdb.base/scope.exp: Ditto.
21187 * gdb.base/setvar.exp: Ditto.
21188 * gdb.base/signals.exp: Ditto.
21189 * gdb.base/whatis.exp: Ditto.
21190 * gdb.c++/templates.exp: Ditto.
21191 * gdb.c++/virtfunc.exp: Ditto.
21192 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
889bf7c5 21193 whether or not to add -lstdc++ to the compile command line args.
c906108c
SS
21194
21195Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21196
21197 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
21198 it got fixed by the recent lookup_minimal_symbol_by_pc change.
21199 Increase timeout, a lot of single stepping might be needed if the
21200 target has no hardware watchpoints.
21201
21202Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
21203
21204 * gdb.base/break.exp: Ignore compiler warnings when compiling
21205 break.c.
21206 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
21207 * gdb.base/default.exp: Add h8300 xfails. Handle messages
21208 from remote-sim.
21209 * gdb.base/exprs.exp: Add h8300 xfails.
21210 * gdb.base/funcargs.exp: Likewise.
21211 * gdb.base/nodebug.exp: Likewise.
21212 * gdb.base/printcmds.exp: Likewise.
21213 * gdb.base/ptype.exp: Likewise.
21214 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
21215 h8300 xfails.
d63a86f8 21216 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
21217 on the h8300.
21218 * gdb.base/funcargs.c: Explicitly make last constant argument to
21219 call_after_alloca_subr an unsigned long type.
21220 * gdb.base/return.c: Include stdio.h.
21221
21222Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
21223
21224 * config/abug.exp: New file for the older Motorola Bug monitor
21225 that runs on the mvme13x series VME boards.
21226 * config/monitor.exp: Use the new config array for target settings
21227 if they exist.
21228
21229Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
21230
21231 * sim-gdb.exp: Make the SH simulator allocate less space when
21232 it is targeted.
21233
21234Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
21235
21236 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
21237 test.
21238
21239Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
21240
21241 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
21242 "rs6000-*-*" for "list function in include file" when gcc compiled.
21243 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
21244 for "p ctable1[120]".
21245 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
21246 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
21247 Remove setup_xfail for "rs6000-*-*" for
21248 "print 'scope0.c'::filelocal before run".
21249 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
21250 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
21251 since some compilers don't allow both options to be given
21252 on the same command line. Create object file and move it.
d63a86f8 21253
c906108c
SS
21254Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
21255
21256 * gdb.base/corefile.exp: Always regenerate the core file, since
21257 we always regenerate the coremaker program. Detect special case
21258 where registers cannot be read from core file.
d63a86f8 21259
c906108c
SS
21260Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
21261
21262 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
21263 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
21264 * gdb.c++/templates.exp: Only match on basename of file since
21265 some formats like xcoff don't encode directory information.
21266 * gdb.stabs/weird.exp: Use the right sed script for powerpc
21267 and rs6000 AIX xcoff targets.
21268 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
21269 * configure: Regenerate.
21270 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
21271 here, rather than in distclean.
d63a86f8 21272
c906108c
SS
21273Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
21274
21275 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
21276 defined, and use it to compile the test case with -O2. The
21277 native compilation still uses no optimization.
21278 * gdb.base/mips_pro.c: Remove inline assembly code since
21279 it is compiled PIC by default, which results in assembler
21280 warnings that make the testsuite think the compilation
21281 was unsuccessful.
21282
21283Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
21284
21285 * gdb.c++/misc.exp: Add note to message for
21286 "print s.a for foo struct" that this is a known gcc 2.7.2
21287 and earlier bug.
21288
21289Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
21290
21291 * gdb.base/break.exp: Fix pattern for matching "Delete all
21292 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
21293 setup_xfail for deleting all breakpoints test. Fix various
21294 timeout messages to include "(timeout)".
21295 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
21296 for "p t_float_values2(3.14159,float_val2)".
21297 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
21298 for "continue to call2g" when gcc compiled.
21299 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
21300 "up to foo in langs.exp", "show language at foo in langs.exp",
21301 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
21302 and "show language at fsub in langs.exp".
21303 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
21304 "list line 1 in include file", "list message for lines past EOF",
21305 "list function in include file", "list list0.h:foo", and
21306 "list filename:function; nonexistant function".
21307 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
21308 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
21309 and "ptype t_char_array" to be for native cc only.
d63a86f8 21310
c906108c
SS
21311Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
21312
d63a86f8 21313 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c 21314 setup_xfail for "print coremaker_bss", "print coremaker_ro",
889bf7c5 21315 "print func2::coremaker_local", and "backtrace in corefile.exp".
c906108c
SS
21316
21317Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
21318
21319 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
21320 "bt in signals.exp". This problem only appears when running
21321 the testsuite, and then only intermittently.
21322
21323Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
21324
21325 * gdb.base/return.exp (return_tests): Differentiate between
21326 two tests of continuing.
21327
21328Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
21329
21330 * */Makefile.in (maintainer-clean): Remove config.log.
21331 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
21332 * gdb.c++/Makefile.in (PROGS): Add inherit.
21333 (clean): Remove *.ci.
21334
21335Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
21336
21337 * gdb.c++/misc.cc: Add test code from Mike Stump.
21338 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
21339
21340Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
21341
21342 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
21343 to "alpha-*-osf2*" and add comment.
21344 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
889bf7c5
PA
21345 setup_xfail for "step over execarg initialization" and
21346 "step over corearg initialization".
c906108c
SS
21347 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
21348 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
21349 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
889bf7c5 21350 gcc compiled for "print coremaker_bss", "print coremaker_ro",
c906108c
SS
21351 "print func2::coremaker_local", and "backtrace in corefile.exp".
21352 * gdb.base/signals.exp: Build and source signals.ci.
21353 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
21354 to be for gcc only.
21355 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 21356
c906108c
SS
21357Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21358
21359 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
21360 Feb 3 procfs.c change.
21361
21362Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
21363
21364 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
21365
21366Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
21367
21368 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
21369 from dejagnu's apparent default of 10 seconds, which gives random
21370 results when running the tests over NFS on moderately loaded systems.
21371 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
21372
21373Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
21374
21375 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
21376 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
889bf7c5 21377 result reports.
c906108c
SS
21378
21379Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
21380
21381 * configure.in (CY_AC_PATH_TCLH): Remove.
21382 * configure: Regenerate.
21383
21384Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
21385
21386 * gdb.c++/Makefile.in (clean): Add missing '{'.
21387
21388Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
21389
21390 * lib/gdb.exp: Provide a default value for noinferior.
21391
21392 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
21393 Load libgloss.exp.
21394
21395Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
21396
21397 * gdb.disasm/hppa.exp: Compile directly into an executable, use
21398 the executable, not the .o to run the tests from.
21399
21400Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
21401
21402 * gdb.base/break.exp: Don't test for program exit or exit status
21403 if $noresults if nonzero.
21404 * gdb.base/langs.exp: Likewise.
21405 * gdb.base/watchpoint.exp: Likewise.
21406
21407 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
21408 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
21409 trying to compile the testcase.
21410
21411Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
21412
21413 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
21414 * gdb.base/signals.exp (continue to handler): Likewise.
21415
21416Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
21417
21418 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
21419
21420 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
21421
21422Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
21423
21424 * gdb.base/corefile.exp: Recognize "not found" as failure
21425 when trying to determine if a core file was generated.
21426 If no core file was generate the first time, try again without
21427 the ulimit -c to work around braindamaged shells.
21428
21429Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
21430
21431 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
21432 [] tests with "test" and enclose string in quotes.
21433 * gdb.stabs/configure: Rebuild
d63a86f8 21434
c906108c
SS
21435Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
21436
21437 Changes in sync with expect:
21438 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
21439 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
21440 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
21441 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
21442 argument to AC_REQUIRE.
21443 * configure: Regenerated.
21444
21445Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
21446
21447 * gdb.base/corefile.exp: When generating a core, discard any
21448 error messages about ulimit not found and the "core dumped"
21449 message from the shell that runs the coredumper.
21450
21451Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
21452
21453 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
21454
21455 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
21456 which sed script to run. Expect failure for v_comb test
21457 on PA targets too.
d63a86f8 21458
c906108c
SS
21459Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
21460
21461 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
889bf7c5 21462 "print func2::coremaker_local" and for "backtrace in corefile.exp"
c906108c
SS
21463
21464Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
21465
21466 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
21467 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
889bf7c5 21468 "sparc-sun-solaris*" xfails for "p v_comb".
c906108c
SS
21469 * lib/gdb.exp (default_gdb_start): Fix typo.
21470 * gdb.base/corefile.exp: Allow "Core was generated by ..."
21471 messages to not include the full program name that caused
21472 the core dump since some systems (such as solaris) apparently
21473 truncate this path to about 80 characters.
21474 When generating a core file first try increasing the core file
21475 size limit to unlimited since some systems may default it to
21476 zero, and it is harmless to try it. Move the test for failing
21477 to generate a core file to where it will actually get executed.
21478 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
21479 new gdb result from g++ debug info improvements and make old
21480 pattern obsolescent. Also account for size_t differences
21481 (may be int or long).
21482 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
21483 initialization before function call is placed in the delay slot
21484 and thus appears to be skipped over by commands such as "next".
21485
21486Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
21487
21488 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
21489
21490Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
21491
21492 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
21493 input source file; fix code to compile test to deal with this
21494 convention.
21495 * gdb.c++/*.exp: Likewise.
21496
21497Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
21498
21499 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
21500 "bt in signals.exp".
21501
21502Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
21503
21504 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
21505 "step over execarg initialization" and
889bf7c5 21506 "step over corearg initialization".
c906108c
SS
21507
21508Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
21509
21510 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
21511 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
21512
21513Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
21514
21515 From Rob Savoye (rob@poseidon.cygnus.com)
21516 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
21517 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
889bf7c5
PA
21518 configure.in}, gdb.disasm/{Makefile.in, configure.in},
21519 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
21520 configure.in}: Major reworking for autoconfig.
c906108c
SS
21521 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
21522 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
889bf7c5 21523 New files.
c906108c
SS
21524 * config/unix-gdb.exp: Make GDB global.
21525 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
889bf7c5
PA
21526 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
21527 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
21528 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
21529 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
21530 term.exp, twice.exp, watchpoint.exp, whatis.exp},
c906108c 21531 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
889bf7c5
PA
21532 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
21533 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
21534 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
21535 pr-8136.exp, result.exp, string.exp, tuples.exp},
c906108c 21536 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
889bf7c5
PA
21537 to returns as necessary, arrange for test to compile own testcase
21538 executable.
c906108c 21539 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 21540
c906108c
SS
21541Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
21542
21543 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
889bf7c5 21544 clear_xfail at end of test which might not call either pass or fail.
c906108c
SS
21545 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
21546 "backtrace through signal handler".
21547
21548Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21549
21550 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
21551 continuing from a job control stop signal.
21552 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
21553
21554Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
21555
21556 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
21557 * gdb.base/corefile.exp: Likewise.
21558 * gdb.base/funcargs.exp: Likewise.
21559
21560Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
21561
21562 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
21563 * config/monitor.exp: Add support for setting baud rate.
21564
21565Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
21566
21567 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
21568 i*86-*-linux* xfails for "backtrace through signal handler".
21569 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
21570 "print func2::coremaker_local".
21571 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
889bf7c5 21572 alpha-dec-osf2* xfail for
c906108c
SS
21573 "delete all breakpoints when none".
21574
21575Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
21576
21577 * gdb.base/break.exp: Change test that deletes all breakpoints
21578 when no user breakpoints are installed. A post 4.15 change
21579 causes gdb to no longer prompt in this case.
21580
21581Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
21582
21583 * gdb.base/return.exp (return_tests): Change xfail for test
21584 "correct value returned double test" to stop xfailing at
21585 Solaris 2.5. Apparently the bug has been fixed.
21586
21587Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
21588
21589 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
21590 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
21591
21592Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
21593
21594 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
21595 * gdb.disasm/hppa.s: Corresponding changes.
21596
21597Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
21598
21599 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
21600 makefile fragment.
21601 * config/mt-hpux: Deleted.
21602
21603Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
21604
d63a86f8 21605 * Many files: When warning about suppressed tests due to a
c906108c
SS
21606 nonexistant test binary, avoid incrementing the warning count.
21607
21608Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
21609
21610 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 21611
c906108c
SS
21612Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21613
21614 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
21615 "sparc-*-solaris2*".
21616
21617Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21618
21619 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
21620 Add global and local variables and initialize them.
21621 * gdb.base/corefile.exp: Test correct mapping of corefile sections
21622 by printing variables. Remove rs6000 and powerpc xfails, BFD now
21623 extracts the file name and terminating signal from the core file.
21624 * TODO: Remove note about tests for correct mapping of corefile.
21625 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
21626 from optimizing it away.
21627 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
21628 handles common blocks.
21629
21630Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
21631
21632 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
21633 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
21634
21635Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
21636
21637 * Makefile.in (maintainer-clean): New target, synonym for
21638 realclean.
21639 * gdb.base/Makefile.in (maintainer-clean): Likewise.
21640 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
21641 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
21642 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
21643 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
21644 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
21645
21646Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
21647
21648 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
21649 xfails when not gcc compiled for "print foo::funclocal".
21650 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
21651 "print foo::funclocal at foo",
21652 "print 'scope1.c'::foo::funclocal at foo",
21653 "print foo::funclocal_bss at foo",
21654 "print 'scope1.c'::foo::funclocal_bss at foo",
21655 "print foo::funclocal_ro at foo",
21656 "print 'scope1.c'::foo::funclocal_ro at foo",
21657 "print bar::funclocal at foo" and
21658 "print 'scope1.c'::bar::funclocal at foo".
21659 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
21660 gcc compiled for "print foo::funclocal at bar".
21661 Expand all messages to ensure that they identify that
21662 the test is at bar().
21663 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
21664 gcc compiled for:
21665 "ptype on opaque struct pointer (statically)",
21666 "ptype on opaque struct tagname (statically)",
21667 "ptype on opaque struct pointer (dynamically) 1",
21668 "ptype on opaque struct tagname (dynamically) 1",
21669 "ptype on opaque struct pointer (dynamically) 2" and
21670 "ptype on opaque struct tagname (dynamically) 2
21671 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
21672 gcc compiled for:
21673 "p datalocal"
21674 "whatis datalocal",
21675 "ptype datalocal",
21676 "p bsslocal",
21677 "whatis bsslocal", and
21678 "ptype bsslocal".
21679 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
21680 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
21681 when not gcc compiled.
21682 * gdb.base/funcargs.exp (float_and_integral_args): Add
21683 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
21684 compiled.
21685 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
21686 "backtrace from call6a" when not gcc compiled.
21687 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
21688 "backtrace from call7a" when not gcc compiled.
21689 * gdb.base/callfuncs.exp (do_function_calls):
21690 Add "hppa*-*-hpux*" xfail when not gcc compiled for
21691 "p t_char_array_values(char_array_val2,char_array_val1)",
21692 "p t_char_array_values(char_array_val1,char_array_val2)",
21693 "p t_char_array_values("carray 1","carray 2")",
21694 "p t_char_array_values("carray 1",char_array_val2)",
21695 "p t_char_array_values(char_array_val1,"carray 2")",
21696 "p sum_args(1,{2})",
21697 "p sum_args(2,{2,3})",
21698 "p sum_args(3,{2,3,4})",
21699 "p sum_args(4,{2,3,4,5})"
21700 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
21701 "backtrace in corefile.exp" when not gcc compiled.
21702
21703Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21704
21705 * gdb.base/signals.exp: Rewrite `handle all print' test as
21706 a procedure. Accept blanks or TABs as whitespace, increase
21707 timeout and expect input buffer size for the large output
21708 from the command. Remove "i*86-*-bsdi2.0" xfail.
21709
21710Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21711
21712 * gdb.base/setvar.exp: Add new testcases for truncation when
21713 assigning invalid values to bitfields.
21714
21715Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
21716
d63a86f8 21717 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
21718 mips-sgi-irix* xfail for
21719 "call inferior func with struct - returns char *"
21720 and fix test so that an optional (unsigned char *) cast is
889bf7c5 21721 accepted in the result.
c906108c
SS
21722
21723Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
21724
21725 * gdb.base/funcargs.exp (float_and_integral_args): Remove
21726 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
21727 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
21728 * gdb.base/signals.exp: Remove duplicate "handle all print" test
21729 that accidentally got checked in.
21730
21731Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
21732
d63a86f8 21733 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
21734 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
21735 compiled test.
21736 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
21737 Add mips-sgi-irix5* xfail for not gcc compiled.
21738 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
21739 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
21740 "p top", "whatis top", "p middle", and "whatis middle".
21741 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
21742 "whatis signed char" for not gcc compiled.
21743 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
21744 "set variable signed char=-1 (-1)" and
21745 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
21746 * gdb.base/funcargs.exp (float_and_integral_args):
21747 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
21748 Add mips-sgi-irix* xfail when not gcc compiled for
21749 "continue to call2b".
21750 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
21751 "continue to call2g".
21752 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
21753 "backtrace from call6a"
21754 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
21755 "backtrace from call7k".
21756 Add mips-sgi-irix5* xfail when not gcc compiled for
21757 "backtrace from call7a".
21758 (localvars_after_alloca): Fix gdb_test cmds for
21759 "print * after runto ...".
21760 Remove rs6000-*-* xfails for
21761 "print i after runto localvars_after_alloca" and
21762 "print l after runto localvars_after_alloca"
21763 for all compilers.
21764 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
889bf7c5 21765 when not compiled with gcc, for:
c906108c
SS
21766 "print signed char == (minus)",
21767 "print signed char != (minus)",
21768 "print signed char < (minus)",
21769 "print signed char > (minus)".
21770 * gdb.base/callfuncs.exp (do_function_calls):
21771 Add mips-sgi-irix* xfail, when compiled with native compiler, for
21772 "call inferior func with struct - returns char *".
d63a86f8 21773 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
21774 "correct value returned double test" to include Solaris 2.4.
21775 * gdb.base/funcargs.exp (float_and_integral_args):
21776 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 21777
c906108c
SS
21778Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21779
21780 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
21781 enumeration bitfields if compiling with GNU C.
21782 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
21783 to empty' prompt.
21784
21785Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
21786
21787 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
21788 test for PRO targets.
21789
21790 * gdb.base/funcargs.exp: Avoid ever setting more than 8
21791 breakpoints in the inferior at any given time by making
21792 two groups of breakpoints for call2*, call6* and call7*
21793 tests.
21794
21795Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21796
21797 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
21798 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
21799 from optimizing it away.
21800 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
21801 "call inferior func with struct".
21802
21803Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
21804
21805 * configure.in: Only configure gdb.chill for particular targets.
21806
21807Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
21808
21809 * gdb.base/Makefile.in: Add action to .c.o transformation
21810 rule that generates a .ci file for each .o file and remove
21811 explicit .c.o rules except for callfuncs.o.
21812 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
21813 generates a .ci file for each .o file and remove explicit
21814 .cc.o rules.
21815 (clean): Remove *.tmp *.ci files.
21816 (EXECUTABLES): Remove templ-info.exp.
21817 * gdb.base/compiler.c: New file.
21818 * gdb.c++/compiler.cc: New file
21819 * gdb.base/scope.exp: Source gdb.base/scope.ci.
21820 Change rs6000-*-* xfail for
21821 "print 'scope0.c'::filelocal_ro" and
21822 "print 'scope1.c'::filelocal" and
21823 "print 'scope1.c'::filelocal_bss" and
21824 "print 'scope1.c'::filelocal_ro" and
21825 "print 'scope1.c'::foo::funclocal" and
21826 "print 'scope1.c'::foo::funclocal_ro" and
21827 "print 'scope1.c'::bar::funclocal" and
21828 "print 'scope0.c'::filelocal_ro" and
21829 "print 'scope1.c'::filelocal at foo" and
21830 "print 'scope1.c'::filelocal_bss at foo" and
21831 "print 'scope1.c'::filelocal_ro at foo" and
21832 "print 'scope1.c'::foo::funclocal at foo" and
21833 "print 'scope1.c'::foo::funclocal_bss at foo" and
21834 "print 'scope1.c'::foo::funclocal_ro at foo" and
21835 "print 'scope1.c'::bar::funclocal at foo" and
21836 "print 'scope0.c'::filelocal_ro" and
21837 "print 'scope1.c'::filelocal" and
21838 "print 'scope1.c'::filelocal_bss" and
21839 "print 'scope1.c'::filelocal_ro" and
21840 "print 'scope1.c'::foo::funclocal" and
21841 "print 'scope1.c'::foo::funclocal_bss" and
21842 "print 'scope1.c'::foo::funclocal_ro" and
21843 "print 'scope1.c'::bar::funclocal" and
21844 "print 'scope1.c'::bar::funclocal_bss"
21845 to only be xfail'd when not compiled with gcc.
d63a86f8 21846 Add rs6000-*-* xfail for
c906108c
SS
21847 "print 'scope0.c'::filelocal_bss before run"
21848 when compiled with gcc.
21849 (test_at_main): Add rs6000-*-* xfail for
21850 "print filelocal_ro in test_at_main"
21851 when compiled with gcc.
21852 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
889bf7c5 21853 Add rs6000-*-aix* xfail for
c906108c
SS
21854 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
21855 "ptype t_char_array", not compiled with gcc.
21856 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
21857 xfail for "list foo (in include file)" when gcc compiled.
21858 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
889bf7c5 21859 (integral_args): Add rs6000-*-* xfail for
c906108c
SS
21860 "run to call0a" if not compiled with gcc.
21861 (unsigned_integral_args): Add rs6000-*-* xfail for
21862 "run to call1a" if not compiled with gcc.
21863 (float_and_integral_args): Add rs6000-*-* xfail for
21864 "run to call2a" if not compiled with gcc and for
21865 "continue to call2b" for any compiler.
21866 Add rs6000-*-* xfail to
21867 "print f1 after run to call2a" for gcc compiled.
21868 (discard_and_shuffle): Add rs6000-*-* xfail for
21869 "run to call6a".
21870 (shuffle_round_robin): Add rs6000-*-* xfail for
21871 "backtrace from call7a" if not compiled with gcc.
21872 Add rs6000-*-* xfail for
21873 "backtrace from call7b" if compiled with gcc.
21874 (call_after_alloca): Add rs6000-*-* xfail for
21875 "print c in call_after_alloca" and
21876 "print s in call_after_alloca" and
21877 "backtrace from call_after_alloca_subr"
21878 if not compiled with gcc.
21879 (localvars_in_indirect_call): Add rs6000-*-* xfail for
21880 "print c in localvars_in_indirect_call" and
21881 "print c in localvars_in_indirect_call" and
21882 "backtrace in indirectly called function" and
21883 "stepping into indirectly called function"
21884 if not compiled with gcc.
21885 (localvars_after_alloca): Add rs6000-*-* xfail for
21886 "print c after runto localvars_after_alloca" and
21887 "print s after runto localvars_after_alloca" and
21888 "print i after runto localvars_after_alloca" and
21889 "print l after runto localvars_after_alloca"
21890 for all compilers.
21891 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
21892 than whatis-info.exp.
21893 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
21894 than opaque-info.exp.
21895 Setup rs6000-*-* xfail for
d63a86f8 21896 "ptype on opaque struct pointer (statically)" and
c906108c
SS
21897 "ptype on opaque struct pointer (dynamically)" when
21898 not compiled with gcc.
21899 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
21900 rather than callf-info.exp.
21901 (do_function_calls): Add clear_xfail for rs6000-*-* for
21902 "p t_float_values2(3.14159,float_val2)". Seems to work
21903 fine there, both with xlc and gcc. Need to find out what
21904 it is doing right and fix other platforms.
21905 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
21906 "call inferior func with struct - returns int",
21907 "call inferior func with struct - returns long",
21908 "call inferior func with struct - returns float",
21909 "call inferior func with struct - returns double",
21910 "call inferior func with struct - returns char *",
21911 but only if not gcc compiled (presumes xlc compiled).
21912 Change rs6000-*-* xfails for
21913 "call inferior func with struct - returns char" and
21914 " call inferior func with struct - returns short" to only
21915 xfail if not using gcc.
21916 (clean mostlyclean): Remove *.ci and *.tmp files.
21917 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
21918 than templ-info.exp.
21919 * gdb.base/langs.exp: Source gdb.base/langs.ci.
21920 Add rs6000-*-* xfail for "up to foo in langs.exp"
21921 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
889bf7c5 21922 when not gcc compiled.
d63a86f8 21923
c906108c
SS
21924Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21925
21926 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
21927 * gdb.base/corefile.exp: Likewise.
21928 * gdb.base/list.exp: Likewise.
21929 * gdb.base/scope.exp: Likewise.
21930 * gdb.base/siganls.exp: Likewise.
21931
21932 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
21933 compiler output.
21934 * gdb.base/whatis.exp: Likewise.
21935
21936Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
21937
21938 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
21939 failure (opcode table has been fixed to match reality).
21940
21941Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
21942
21943 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
21944 "call inferior func with struct - returns char",
21945 "call inferior func with struct - returns short"
21946
21947 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
21948 "print 'scope0.c'::filelocal at main",
21949 "print 'scope0.c'::filelocal_bss in test_at_main",
21950 "print 'scope0.c'::filelocal at foo",
21951 "print 'scope0.c'::filelocal_bss in test_at_foo",
21952 "print 'scope0.c'::filelocal at bar",
21953 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 21954
c906108c
SS
21955 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
21956 in source file 1". This bug seems to have been fixed with both
21957 gcc and native cc (was native assembler bug?).
21958
21959Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
21960
21961 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
21962 "backtrace through signal handler" to "i*86-*-sysv4*".
21963 * gdb.base/signals.exp: Add xfail for "'next' behaved as
21964 continue" case. Add "known SVR4 bug" to fail message.
21965 Add "i*86-*-bsdi2.0" xfail for "handle all print".
21966 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
21967 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
21968 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
21969 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
21970 "up to foo in langs.exp", "show language at foo in
21971 langs.exp", "up to cppsub_ in langs.exp", "show
21972 language at cppsub_ in langs.exp", "up to fsub in
21973 langs.exp", and "show language at fsub in langs.exp".
21974 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
21975 "bactrace in corefile.exp".
21976 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
21977 "call inferior function with struct - returns float" and
21978 "call inferior function with struct - returns double".
d63a86f8 21979
c906108c
SS
21980Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
21981
21982 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
21983 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
21984 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
21985 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
21986
21987Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
21988
21989 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
21990 (or overriden) "CHILL" macro rather then bare "gcc".
21991 Also look for ../../gcc/xgcc since that is what we will
21992 actually need, not "Makefile". Remove following assignment
21993 of CHILL to CHILL_FOR_TARGET because that results in
21994 recursive definition.
21995
21996Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
21997
21998 * gdb.base/corefile.exp: Change xfail for backtrace in
21999 corefile.exp from linuxaout to all linux.
22000 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
22001 cases where we miss the breakpoint at the signal handler
22002 for some reason. Setup xfail for linuxoldld/linuxaout and
22003 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
22004 hitting SIGURG breakpoint.
22005 * gdb.base/signals.exp: Setup xfail for "next" acting like
22006 continue to add linuxoldld. Setup xfail for all linux for
22007 "next to handler in signals_tests_1", "backtrace in
22008 signals_tests_1", "continue to func1", "pass SIGUSR1",
22009 and continue to handler".
22010
22011Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
22012
22013 * Update all FSF addresses except those in COPYING* files.
22014
22015Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
22016
22017 * gdb.base/a2-run.exp: Change messages to be more explicit about
22018 the status of args, and quote binfile in results.
22019
22020Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
22021
22022 * gdb.base/callfuncs.exp: Add tests for passing structs to
22023 inferior functions and return various types.
22024 * gdb.base/callfuncs.c: Add functions to receive a struct
22025 and return a member of the struct, in various types.
22026
22027Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22028
22029 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
22030
22031Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
22032
22033 * config/vxworks29k.exp: New file, sources vxworks.exp.
22034
22035Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
22036
22037 * config/gdbremote.exp: New file. Testing framework using
22038 gdbserver.
22039
22040Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
22041
22042 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
22043 "call function when asleep" and "send end of file".
22044 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
22045 for "backtrace in corefile.exp".
22046 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
22047 for "backtrace through signal handler".
22048 * gdb.base/corefile.exp: Make sure we actually generate a core file
22049 before trying the core tests. Some systems allow the user to suppress
22050 generation of core files and default to that (linux for example).
22051 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
22052 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
22053
22054Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
22055
22056 * gdb.threads: New directory with some crude multi-threaded
22057 gdb tests (step.exp and step2.exp).
22058 * config/mt-lynx (STEP_EXECUTABLE): Define.
22059 (THREADFLAGS): Define.
22060
22061Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
22062
22063 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
22064
22065 * gdb.base/signals.exp: Disable whole file for lynx until
22066 further notice.
22067
22068 * gdb.base/signals.exp: xfail test where "next" acts like
22069 "continue" for lynx.
22070
22071 * gdb.base/interrupt.exp: xfail test for calling function while
22072 inferior is asleep for lynx.
22073
22074 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
22075 than one cr-lf after each command.
22076
22077Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22078
22079 * configure.in: Reinstate setting of stabsdirs variable, fix
22080 typo in setting up configdirs for native builds.
22081
22082 * gdb.base/return.exp: Fix typo in return double test.
22083 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
22084 compiler from optimizing them away.
22085
22086Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
22087
22088 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
22089 sequences to be echo'd by gdb when using gdb_test.
22090 * gdb.chill/chexp.exp: Likewise.
22091 * gdb.fortran/exprs.exp: Likewise
22092
22093Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
22094
22095 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
22096 after the inferior gdb has started.
22097
22098 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
22099 after each command.
22100 * gdb.base/funcargs.exp: Likewise.
22101 * gdb.base/gdbvars.exp: Likewise.
22102 * gdb.base/interrupt.exp: Likewise.
22103 * gdb.base/list.exp: Likewise.
22104 * gdb.base/watchpoint.exp: Likewise.
22105 * gdb.c++/demangle.exp: Likewise.
22106 * gdb.c++/inherit.exp: Likewise.
22107 * gdb.chill/chexp.exp: Likewise.
22108 * gdb.fortran/exprs.exp: Likewise.
22109
22110 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
22111 test if we can't handle IO to/from the inferior.
22112
22113 * gdb.c++/misc.exp: Always check for a program already being
22114 started after sending a "run" command to gdb.
22115
22116 * gdb.base/twice.exp: Start with a fresh gdb.
22117
22118 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
22119 only depend on gdb's expression code, not the chill runtime.
22120
22121 * gdb.base/return.c: Put return values into variables so we
22122 can have gdb print them rather than depending on the program
22123 to print them.
22124 * gdb.base/return.exp: Corresponding changes.
22125
22126 * lib/gdb.exp: Provide default value for noinferiorio.
22127 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
22128 the inferior.
22129
22130 * gdb.base/break.exp: Always check for a program already being
22131 started after sending a "run" command to gdb.
22132 (text_next_with_recursion): Don't check the output from the
22133 program's printf statement. Instead just make sure the program
22134 exited.
22135
22136 * gdb.base/commands.exp: Protect tests which need arguments with
22137 $noargs conditionals.
22138
22139Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22140
22141 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
22142 of structure member arrays to match gdb/valops.c:value_addr change.
22143
22144Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
22145
22146 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
22147 cases.
22148
22149Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
22150
22151 * configure.in (configdirs): Remove gdb.chill from default list
22152 of subdirs and then add it back in only if doing a native build.
22153 The current chill compiler does not yet work in any cross build.
22154 * Revert all signal changes from Jul 6.
22155 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
22156 for sh-hms targets, allowing these tests to link, with no other
22157 changes. Testing is suppressed by setting "nosignals" in site.exp.
22158
22159Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
22160
22161 * configure.in (signaldirs): Define and add to configdirs for all
22162 targets except some specific ones that are known to not support signals.
22163 Also clean up formatting.
22164 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
22165 (signals, sigall): Remove rules to build.
22166 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
22167 Moved to new gdb.signals directory.
22168 * gdb.signals: New test directory.
22169 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
22170 signals.c signals.exp}: New or moved files.
22171
22172Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
22173
22174 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
22175
22176Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
22177
22178 * gdb.base/return.exp: Xfail `return double' test failure
22179 on at least Solaris 2.3 and handle future/past versions on
22180 a case by case basis as appropriate. Also update message
22181 to include i*86 failures.
22182
22183Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22184
22185 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
22186
22187 * lib/gdb.exp: Fix comment which erroneously identified
22188 gdb_file_cmd as gdb_load (the 19 May change was in fact to
22189 gdb_file_cmd not gdb_load).
22190 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
22191
22192 * gdb.base/setvar.exp: Make test names consistent between pass and
22193 fail cases. Use gdb_test more.
22194
22195Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22196
22197 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
22198
22199Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22200
22201 * gdb.base/help.exp: Fix expected help string for `show commands'.
22202
22203Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
22204
22205 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
22206
22207 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
22208 of a text section.
22209
22210Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
22211
22212 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
22213 that loop eventually terminates. Fix Connection refused logic so
22214 that testsuite will expire nicely.
22215
22216Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
22217
22218 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
22219 config/rom68k.exp: New tcl glue for the appropriate monitors.
22220 These all just end up calling monitor.exp.
22221 * config/monitor.exp (gdb_target_monitor): Handle `Connection
22222 refused' by retrying. Cleanup some timeout issues.
22223 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
22224 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
22225 callers don't have to set/restore global timeout variable.
22226
22227 * The following set of changes centralizes management of the global
22228 timeout variable. This way, it can be set in one target dependent
22229 place instead of dozens of places scattered throughout the test suite.
22230 If you need to lengthen a timeout, then you should either set timeout
22231 in one of the config/{target}.exp files, or multiply it by a factor.
22232 Setting it to an absolute value is always going to lose for some
22233 targets.
22234 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
22235 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
22236 * gdb.base/funcargs.exp: Don't set timeout.
22237 * gdb.base/list.exp (test_forward_search): Only use local timeout.
22238 * gdb.base/printcmds.exp (test_print_string_constants
22239 test_print_array_constants): Don't set timeout.
22240 * gdb.base/ptype.exp: Don't set timeout.
22241 * gdb.base/recurse.exp: Don't set timeout.
22242 * gdb.base/return.exp: Don't set timeout.
22243 * gdb.base/watchpoint.exp: Don't set timeout.
22244 * gdb.c++/classes.exp (do_tests): Don't set timeout.
22245 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
22246
22247Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
22248
22249 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
22250
22251Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22252
22253 * lib/gdb.exp: Disable chill tests for irix5.
22254
22255Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22256
22257 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
22258 each test pass or fail.
22259
22260Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22261
22262 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
22263 xlc not gcc.
22264
22265Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
22266
22267 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
22268
22269Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
22270
22271 * config/est.exp: Fix copyright and comments. Remove dead code.
22272 Use targetname, serialport and baud variables instead of fixed
22273 constants.
22274 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
22275 * config/cpu32bug.exp: New file to support cpu32bug monitors.
22276
22277Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22278
22279 * gdb.base/watchpoint.exp: Don't run
22280 test_watchpoint_triggered_in_syscall for sunos.
22281
22282Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22283
22284 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
22285 they don't seem to exist. Do include stdio.h.
22286
22287Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22288
22289 * gdb.base/a1-selftest.exp: Add alpha xfail.
22290
22291Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22292
22293 * gdb.base/watchpoint.c (main): Prompt before calling read().
22294 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
22295 Revise accordingly. Remove cruft about sending "123" several
22296 times, until it gets noticed. Clean up the "print buf[0]" stuff
22297 so that it passes or fails, and waits for prompts in the usual way.
22298
22299Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22300
22301 * gdb.base/recurse.exp: Fix comment.
22302
22303 * TODO: Remove item about printing variables in nodebug.exp. Add
22304 item about enabling tests which are only run on some targets.
22305
22306 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
22307 fail, make test names unique, use new gdb_test convention
22308 regarding pattern, use gdb_test more, etc.).
22309
22310 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
22311 fail, make test names unique, etc.).
22312
22313Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22314
22315 * gdb.base/nodebug.c: Change return type of top and middle to
22316 short.
22317 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
22318 are fixed by the recent mdebugread.c changes. Allow `short ()'
22319 as type for top and middle.
22320
22321Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22322
22323 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
22324 nearly as I can tell, the whole thing was an accident in Stu's
22325 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
22326 to replace a send/expect pair with gdb_test, but ended up only
22327 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
22328 of 30 Mar 1995 took care of it, but left this vestigial comment
22329 which I am now nuking.
22330
22331Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22332
22333 * gdb.base/break.exp: Look for different line number for
22334 breakpoint at main depending on usestubs.
22335
22336Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22337
22338 * gdb.base/list.exp: Adjust some alternate expect patterns to
22339 match recent list0.c change. Add alternate expect pattern for
22340 output from `list default lines around main' for optimizing
22341 compilers.
22342
22343Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22344
22345 * lib/gdb.exp: If nosignals is not set, set it to 0.
22346
22347Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
22348
22349 * config/slite-gdb.exp: Responds to load symbol table prompt.
22350 * gdb.base/break.exp: Adjust line number, fix rerun.
22351 * gdb.base/langs0.c: Add #ifdef usestubs.
22352
22353Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
22354
22355 * gdb.base/list.exp: Adjust line contents after adding new lines in
22356 list0.c. Also fix a syntax error.
22357
22358 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
22359 * gdb.base/break.exp: ditto.
22360 * gdb.base/list.exp: ditto.
22361 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
22362 * gdb.base/run.c: ditto.
22363 * gdb.base/list0.c: ditto.
22364 * gdb.base/funcargs.c: ditto.
22365
22366Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
22367
22368 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
22369 $targetname, $serialport and $baud instead of hardwired variables.
22370 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
22371 target doesn't support signals.
22372
22373Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
22374
22375 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
22376
22377Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22378
22379 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
22380 Don't rely on the value of an auto variable before it has been
22381 initialized. Use gdb_test more.
22382
22383Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22384
22385 * lib/gdb.exp (default_gdb_version): A version number must start
22386 with a digit, but other than that contains all characters up to
22387 the first whitespace character.
22388
22389Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22390
22391 * gdb.base/commands.exp (breakpoint_command_test): New tests.
22392
22393Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22394
22395 * gdb.c++/*.exp: Warn if executable does not exist. The original
22396 reason for skipping the warning was that configure.in sometimes
22397 intentionally skipped building the executables but the tcl code
22398 had no way of knowing. That (a) was always bogus with respect to
22399 error handling, (b) is no longer true (right now there is no way
22400 to skip C++ tests).
22401
22402 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
22403
22404Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22405
22406 * gdb.base/list.exp: Add expect patterns for output from
22407 SunPRO compiled executables.
22408 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
22409 types.
22410
22411Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22412
22413 * gdb.base/break.exp (test_next_with_recursion): Accept any line
22414 number (we are already testing that the correct source line text
22415 gets printed).
22416
22417 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
22418 that is what is intended, but something needed to be done to get
22419 sunos4 native working again.
22420
22421 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
22422
22423 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
22424 apparently went with a (very) old xfail.
22425
22426Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
22427
22428 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
22429 runto_main is a proc in gdb.exp that will do 'step' for target use
22430 stubs.
22431 * gdb.base/exprs.exp: ditto.
22432 * gdb.base/interrupt.exp: ditto.
22433 * gdb.base/opaque.exp: ditto.
22434 * gdb.base/printcmds.exp: ditto.
22435 * gdb.base/ptype.exp: ditto.
22436 * gdb.base/scope.exp: ditto.
22437 * gdb.base/setvar.exp: ditto.
22438 * gdb.base/signals.exp: ditto.
22439 * gdb.base/twice.exp: ditto.
22440 * gdb.c++/classes.exp: ditto.
22441 * gdb.c++/inherit.exp: ditto.
22442 * gdb.c++/templates.exp: ditto.
22443 * gdb.base/break.exp: no run and hit main for stubs. Change line
22444 numbers for breakpoints and info breakpoint.
22445 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
22446 breakpoint().
22447 * gdb.base/callfuncs.c: ditto.
22448 * gdb.base/exprs: ditto.
22449 * gdb.base/interrupt.c: ditto.
22450 * gdb.base/opaque0.c: ditto.
22451 * gdb.base/printcmds.c: ditto.
22452 * gdb.base/ptype.c: ditto.
22453 * gdb.base/scope0.c: ditto.
22454 * gdb.base/setvar.c: ditto.
22455 * gdb.base/signals.c: ditto.
22456 * gdb.base/twice.c: ditto.
22457 * gdb.c++/misc.cc: ditto.
22458 * gdb.c++/templates.cc: ditto.
22459
22460Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22461
22462 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
22463
22464 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
22465 somewhere between `read' and `main.c'. I'm pretty sure the
22466 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
22467 and it isn't particularly useful.
22468
22469 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
22470
22471Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22472
22473 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
22474
22475Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
22476
22477 * config/mt-slite: add LIBS and -nostdlib.
22478 * config/slite-gdb.exp: add this new file to support sparclite target.
22479
22480Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
22481
22482 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
22483
22484 * gdb.base/a2-run.exp: Change argument to istarget from
22485 "*-*-vxworks" to "*-*-vxworks*".
22486 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
22487
22488Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
22489
22490 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
22491 will not runto main but do a 'step' to step out of breakpoint().
22492 * config/mt-slite: add -Dusestubs.
22493
22494Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22495
22496 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
22497 instead of just @.
22498
22499 * gdb.base/signals.exp: Add test for "handle all print".
22500 * TODO: Remove "handle all print". Also remove item about
22501 checking copyright date (I don't like the idea of a spurious FAIL
22502 based on when we run the tests).
22503
22504 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
22505 for SunOS4 (reason for failure not investigated). Remove
22506 redundant test for $binfile.
22507
22508 * gdb.base/nodebug.c (array_index): Call malloc.
22509
22510 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
22511
22512Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
22513
22514 * gdb.base/recurse.exp: Update gdb_test invocation to use new
22515 conventions and slightly simplify the matching regexp.
22516
22517Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22518
22519 * gdb.base/break.exp: Update gdb_test invocation to use new
22520 convention.
22521
22522 * lib/gdb.exp: If noargs is not set, set it to 0.
22523
22524 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
22525 tests unique.
22526
22527 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
22528
22529Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22530
22531 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
22532 one argument of type "<non-float parameter>".
22533
22534Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
22535
22536 * config/rom68k.exp: New file to support Motorola IDP board.
22537 * gdb.base/a2-run.exp: Skip this file if noargs is set.
22538 * gdb.base/break.c: Change things around so that this program
22539 doesn't depend upon args. This is necessary to make remote
22540 targets work (in general, they can't take args).
22541 * gdb.base/break.exp: Don't try to send args to program. Don't
22542 expect output. Also, replace lots of code with gdb_test.
22543
22544Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22545
22546 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
22547 printing of '\'' (which is what the comment says we are testing,
22548 even though we were not), not '''.
22549 (test_integer_literals_rejected): Test that printing ''' is an error.
22550
22551 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
22552 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
22553 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
22554 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
22555 Use gdb_test not test_print_accept.
22556 * lib/gdb.exp: Remove test_print_accept.
22557
22558 * gdb.base/signals.exp (signal_tests_1): Make pass message
22559 consistent with fail message.
22560
22561 * gdb.base/whatis.exp: Remove xfails for printing char vs.
22562 unsigned char; the bug (PR 1821) is fixed.
22563
22564 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
22565
22566 * gdb.base/scope.exp (test_at_localscopes): Call pass for
22567 successful tests--makes xfailing them work right.
22568
22569Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22570
22571 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
22572 only \r\n, not .*. The test can pass .* as the last thing in
22573 $pattern if that is what it wants. In addition to providing this
22574 flexibility, this change should speed up pattern matching in cases
22575 where the pattern already ended with .* (there were a number of
22576 them). This change also helps catch bad patterns--in the old
22577 scheme the typo "char \*" instead of "char \\*" would pass. Now
22578 it is caught.
22579 * Many .exp files: Update callers.
22580
22581 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
22582 clearer and does not spuriously match multiple ('s. Likewise for
22583 ) and *.
22584
22585 * gdb.base/nodebug.exp: Test ability to call a function and pass
22586 it a string (even with no debugging info).
22587
22588 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
22589 "p '\'", which is the same as "p ''" once tcl gets done with
22590 quoting, to "p '\\'", which I suspect is what is intended (one
22591 backslash gets sent to GDB).
22592
22593 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
22594
22595Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22596
22597 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
22598 1817) was fixed literally years ago.
22599
22600Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22601
22602 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
22603 test, it causes stepping out of call_after_alloca_subr with
22604 optimizing compilers.
22605 (localvars_in_indirect_call): Consume GDB prompt if `finish'
22606 fails.
22607
22608 * gdb.c++/templates.exp: Source templ-info.exp only if
22609 the templates executable exists.
22610
22611 * gdb.c++/misc.cc (class Contains_static_instance,
22612 class Contains_nested_static_instance),
22613 gdb.c++/classes.exp (test_static_members): Test printing of
22614 a class that contains a static instance of the class.
22615
22616Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22617
22618 * gdb.base/langs2.c (cppsub_): Don't prototype.
22619 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
22620 only, I believe).
22621
22622Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22623
22624 * lib/gdb.exp (skip_chill_tests): New procedure.
22625
22626 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
22627
22628Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
22629
22630 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
22631 each expect pattern. Cuts runtime from 12 to about 4 seconds.
22632
22633Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22634
22635 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
22636
22637 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
22638 disassemble 8, not 16, instructions for part 4.
22639
22640 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
22641 support the latter anymore.
22642
22643 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
22644 -DNO_PROTOTYPES.
22645 * gdb.base/callfuncs.c: Control use of prototypes based on
22646 NO_PROTOTYPES, not __STDC__.
22647 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
22648 t_float_values2 tests if prototypes in use.
22649
22650 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
22651 t_double_values): When checking differences against DELTA, check
22652 that difference is within the range (-DELTA,DELTA), not just
22653 (-infinity,DELTA).
22654
22655Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
22656
22657 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
22658 'file' command firts, then 'target', then 'load', this is due to gdb
22659 target set up.
22660 * config/mips-gdb.exp: Fix a couple regular exp bugs.
22661
22662Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
22663
22664 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
22665 FP load/store variants.
22666 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
22667
22668Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
22669
22670 * gdb.base/term.exp: Do not give a warning if not native, it is
22671 not an abnormal condition.
22672
22673Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
22674
22675 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
22676 t_char_array".
22677
22678Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
22679
22680 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
22681 are getting the version number.
22682
22683 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
22684 if not native, it is not an abnormal condition.
22685
22686Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22687
22688 * lib/gdb.exp: Just use "file exists", rather than undocumented
22689 dejagnu procedure "findfile".
22690
22691Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
22692
22693 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
22694 (LDFLAGS): Set to -Xlinker -Ur.
22695
22696 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
22697 Removed, these values are set by lib/gdb.exp.
22698
22699 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
22700
22701Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
22702
22703 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
22704 of replicating gdb startup code.
22705
22706 * config/mt-vxworks (LDFLAGS): Set to -r.
22707 (CFLAGS_FOR_TARGET): Removed.
22708
22709 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
22710 (gdb) and gdb for vxworks uses (vxgdb).
22711
22712 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
22713 executable is not in the tree and host != target, use sed and
22714 program_transform_name to determine the gdb name used by the
22715 target.
22716
22717 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
22718 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
22719
22720Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22721
22722 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
22723 floats, chars, and shorts where there are ANSI-style function
22724 definitions.
22725
22726 * gdb.base/langs.exp, gdb.base/langs*: New test.
22727 * gdb.base/Makefile.in: Build it.
22728 * TODO: Remove item about checking that C names don't get C++
22729 demangling applied; this test tests it.
22730
22731Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22732
22733 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
22734 went with the const70 xfail. The xfail went away a year ago.
22735
22736 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
22737
22738 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
22739 for hp300.
22740
22741 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
22742
22743 * gdb.base/a1-selftest.exp: Don't run on hp300.
22744
22745Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22746
22747 * Makefile.in (site.exp): Set host_alias and target_alias as well
22748 as host_triplet and target_triplet.
22749
22750Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22751
22752 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
22753
22754 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
22755 places as other ecoff systems).
22756
22757 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
22758 ultrix.
22759
22760Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22761
22762 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
22763 remove them.
22764 * gdb.base/nodebug.exp: Accept "function" in addition to "text
22765 variable and "variable" in addition to "data variable".
22766 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
22767
22768 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
22769 2.
22770 * gdb.base/list1.c (long_line): Add additional statement at start
22771 of function.
22772 * gdb.base/list.exp (test_forward_search): Update line number to
22773 reflect new statement.
22774
22775Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22776
22777 * gdb.base/signals.exp: Reinitialize searched source directories
22778 after gdb_start call.
22779
22780Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
22781
22782 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
22783 * gdb.stabs/Makefile.in: Likewise.
22784
22785 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
22786 change. Instead split the tests into smaller pieces.
22787 * gdb.disasm/hppa.s: Corresponding changes.
22788
22789Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22790
22791 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
22792 Quote ^C when passing it to stty. For some shells ^ is a pipe.
22793
22794 * gdb.base/funcargs.exp: Modify many tests so that every test
22795 either passes or fails. Make some test names unique.
22796
22797Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22798
22799 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
22800 Call stty to set interrupt character.
22801
22802 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
22803 for HP assembler versus GNU assembler based on actual behavior of
22804 $(CC), rather than assuming that $(AS) is always the GNU assembler.
22805
22806 * TODO: Suggest a few more stepping tests.
22807
22808Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
22809
22810 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
22811 restart GDB for h8300 after a continue.
22812 (return): Add pattern to match a29k-udi behavior.
22813 * gdb.base/nodebug.exp: Remove obsolete comment.
22814 * gdb.base/regs.exp: New file, testing of register displays.
22815 * gdb.base/return.exp: Fix typo in reference to $objdir.
22816 * gdb.base/whatis.exp: Always start with a fresh GDB.
22817
22818Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22819
22820 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
22821 higher, these tests generate a lot of output.
22822
22823Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22824
22825 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
22826 code following the catch silently ignored some errors; without the
22827 catch they should be thrown like any other tcl error. Also, the
22828 catch used "" instead of {} which meant all the callers who wanted
22829 to include one of the characters "[]$ had to quote it an extra time.
22830 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
22831 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
22832 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
22833 Remove extra quoting.
22834
22835Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
22836
22837 * gdb.base/commands.exp: Make test names unique; every test either
22838 passes or fails. Update some comments.
22839
22840 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
22841
22842Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22843
22844 The following fixes a FAIL caused by the fact that the alpha stabs
22845 configuration didn't use the ".if alpha" code in weird.def.
22846 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
22847 bit pointer, so the 32 bit version works even on the alpha.
22848 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
22849 Remove the stuff which allowed us to have separate versions for
22850 alpha and everything else.
22851
22852 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
22853 regexp which "info func operator\[\](" is supposed to match. Fix
22854 string to send to GDB. Note that GDB still doesn't work right. Add a
22855 new test for "info func .perator\[\](" which GDB does handle correctly.
22856
22857 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
22858
22859Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22860
22861 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
22862 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
22863 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
22864 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
22865 it makes the tests harder to understand and confuses test-o-matic.
22866 The preferred style is that each test provides a PASS or a FAIL,
22867 and has a unique message (e.g. "continue #54" not just "continue")
22868 which is the same for the pass and the fail.
22869 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
22870 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
22871 to lib/gdb.exp.
22872 * gdb.base/printcmds.exp: Use test_print_accept. Remove
22873 prt_accept which was basically the same thing. Likewise for
22874 test_print_reject and prt_reject.
22875 * lib/gdb.exp (test_print_reject): Add some more error message
22876 patterns to match from the former printcmds.exp (prt_reject).
22877 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
22878 One defect of the passcount stuff is that some of it failed to
22879 report XPASS where appropriate.
22880 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
22881 stuff before and after arg in expected pattern.
22882 (test_paddr_operator_functions): Re-do test without print_addr_of;
22883 this is the only test which seems to want extra stuff there.
22884
22885Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22886
22887 * gdb.base/nodebug.exp: Update new tests to reflect improved
22888 wording of gdb output.
22889
22890 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
22891 and "ptype" work on variables in files compiled without -g.
22892 Replaces commented out "maint print msymbol" tests.
22893
22894Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22895
22896 * gdb.base/setvar.c (dummy): Call malloc.
22897
22898 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
22899 losing with the irix4 sed.
22900
22901 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
22902 ALRM" on irix4.
22903
22904Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22905
22906 * TODO: Remove items about corefile.exp testing new exec-file and
22907 backtrace; both are now done. Add items about printing enums.
22908
22909Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22910
22911 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
22912 "get signal $thissig" test fails.
22913
22914 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
22915
22916Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22917
22918 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
22919 compiler warning with dec alpha compiler.
22920
22921 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
22922 extra \n from gdb_test call (this explains why the prompt test
22923 that I removed yesterday was there).
22924 (user_defined_command_test): Remove extra \n and prompt test.
22925
22926 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
22927 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
22928 doesn't exist.
22929 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
22930 Also remove alpha workaround, which turns out to be because
22931 SIGABRT == SIGLOST.
22932
22933 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
22934
22935 * gdb.base/help.exp: Don't test "help show".
22936
22937Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22938
22939 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
22940 "set print address" is on.
22941 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
22942 pass prompt to gdb_test; gdb_test already looks for the prompt.
22943
22944 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
22945
22946 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
22947 was a vestige of the manual TESTSTRATEGY, and the purpose of it
22948 was to make sure that gdb can read a core file. But (a) the "read
22949 the corefile" part didn't make it to a1-selftest.exp, we just
22950 delete the corefile after creating it, and (b) we test reading
22951 corefiles in corefile.exp anyway. Also, this test left around a
22952 xgdb process on Solaris.
22953
22954 * gdb.base/corefile.exp: Also test backtrace.
22955
22956Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
22957
22958 * gdb.base/commands.exp: Test a simple user defined command with
22959 arguments and if/while statements; verify the full user command is
22960 printed by "show user".
22961
22962 * gdb.base/commands.exp: Test if/while commands as part of a
22963 breakpoint command list; verify they appear in breakpoint
22964 information.
22965
22966Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22967
22968 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
22969 than by dividing by zero.
22970
22971Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
22972
22973 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
22974 performing an inferior call with watchpoints enabled.
22975 * gdb.base/watchpoint.c (main): Delete second unnecessary read
22976 call.
22977
22978Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22979
22980 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
22981 of "file" command.
22982
22983 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
22984 Add additional pattern for when "int operator int(void);" appears
22985 in a different order.
22986
22987Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22988
22989 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
22990
22991 * gdb.base/help.exp: Replace most of docstrings for "info signals"
22992 and "signal" with ".*".
22993
22994Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22995
22996 * TODO: Add note about "handle all nostop".
22997
22998 * gdb.base/{sigall.c, sigall.exp}: New test.
22999 * gdb.base/Makefile.in: Add it.
23000
23001Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
23002
23003 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
23004 when invoking GDB, suppresses any windowing interface.
23005
23006Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
23007
23008 * config/sim-gdb: New file, simulator testing support.
23009
23010Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
23011
23012 * gdb.base/interrupt.exp: Test calling func1 twice.
23013
23014Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
23015
23016 * gdb.base/list.exp (test_forward_search): Set timeout higher
23017 when we'll be getting lots of output from gdb.
23018
23019 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
23020 "init_malloc" to after the expect statement. Run it if that
23021 regexp is taken, but also for two others which happen if source
23022 cannot be found.
23023
23024Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23025
23026 * gdb.base/printcmds.exp: New test, for printing register before
23027 program is running.
23028
23029Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23030
23031 * gdb.base/list.exp: Correct some alternate expect patterns
23032 to reflect changes in list1.c.
23033
23034Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23035
23036 * TODO: Add item regarding large frames.
23037
23038 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
23039
23040 * TODO: Remove item about enabling return.exp; it
23041 is enabled. Suggest a few more "return" tests.
23042
23043Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23044
23045 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
23046 anonymous unions.
23047
23048Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23049
23050 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
23051 and pr-5646.o, so "make" is the same as "make all", not "make
23052 pr-4975.o".
23053
23054Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
23055
23056 * gdb.base/list.exp: Adjust expectations to reflect changes in
23057 list1.c.
23058 (test_forward_search): New test proc.
23059 * gdb.base/list1.c (long_line): New function, has long source line.
23060
23061Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
23062
23063 * gdb.base/a1-selftest.exp: Change initial stepping to know about
23064 additional line of code that was added.
23065
23066Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
23067
23068 * gdb.disasm/hppa.s: Break the large branching tests into smaller
23069 tests so as not to overflow expect's input buffers.
23070 * gdb.disasm/hppa.exp: Corresponding changes.
23071
23072Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23073
23074 Beginnings of template debugging tests.
23075 * gdb.c++/templ-info.cc: New file to test for template
23076 debugging capability of the compiler.
23077 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
23078 templ-info.cc.
23079 * gdb.c++/templates.cc: Add explicit template instantiations
23080 to enable compiling with -fno-implicit-templates. Add destructor
23081 and 'value' method to T5 class for template tests.
23082 * gdb.c++/templates.exp: Add testcases for printing of template
23083 types, setting breakpoints on template methods and calling a
d63a86f8 23084 template method.
c906108c
SS
23085
23086Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
23087
23088 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
23089 branch target since some assemblers (gas-2.5) may emit a
23090 relocation for the branch instead of resolving it in the
23091 assembler.
23092
23093Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23094
23095 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
23096 through signal handler.
23097
23098Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23099
23100 * configure.in (*-*-netware): Use config/mt-netware.
23101
23102 * config/mt-netware: New file.
23103 * config/mt-i386-netware: Removed, separate configs for different
23104 netware architectures are no longer needed now that we have
23105 --with-headers.
23106
23107Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23108
23109 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
23110 by the recent changes to use ANSI C arithmetic conversions.
23111
23112Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23113
23114 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
23115 bug involving using inferior_pid to figure out whether to select a
23116 frame.
23117
23118Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
23119
23120 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
23121 match the current disassembler output.
23122
23123Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
23124
23125 * gdb.fortran/exprs.exp: Expect VOID instead of void.
23126 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
23127 types, expect "int" as type of integer values (for now).
23128
23129Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
23130
23131 * gdb.base/commands.exp: New tests for if/while commands.
23132
23133Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
23134
23135 * lib/gdb.exp (runto): Replace sub-pattern for hex value
23136 by .*, since hex values have different syntax in Chill mode.
23137
23138Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23139
23140 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
23141 linefeed from expect pattern for repeated types with indices > 9.
23142
23143Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
23144
23145 First part of Fortran test suite.
23146 * gdb.fortran: New directory.
23147 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
23148
23149Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23150
23151 * gdb.base/default.exp: Update expect pattern for load command
23152 without arguments.
23153
23154Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
23155
23156 * configure.in: Change i386 to i[345]86.
23157 * gdb.base/configure.in: Likewise.
23158 * gdb.c++/configure.in: Likewise.
23159 * gdb.chill/configure.in: Likewise.
23160
23161Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
23162
23163 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
23164 patterns, since that is not a valid context for comments.
23165
23166Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
23167
23168 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
23169 repeated types and repeated types with indices > 9.
23170
23171Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
23172
23173 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
23174 2417; old bug has been fixed.
23175
23176Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
23177
23178 * gdb.base/interrupt.exp: When trying to wake up the inferior,
23179 send the newline ourselves instead of assuming gdb_test will do
23180 so when passed an empty input string.
23181
23182 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
23183 stabs testcode.
23184
23185Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23186
23187 * lib/gdb.exp (gdb_test): Don't send anything if the first
23188 argument is an empty string. This makes cases where we want to
23189 match output that is already in expect's buffers (for example,
23190 matching a breakpoint after gdb_run_cmd has been called) work
23191 reliably.
23192
23193Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23194
23195 * config/netware.exp: New file.
23196
23197Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23198
23199 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
23200 the -B and -L prefixes so we can find the debugging stub.
23201
23202 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
23203 there and we are using the gcc from the tree.
23204
23205 * gdb.base/types.c: Removed.
23206
23207 * gdb.base/configure.in: Look for makefile fragments in ../config.
23208 Recognize i386-*-netware.
23209 * gdb.c++/configure.in: Likewise.
23210
23211Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23212
23213 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
23214 the correct TCL syntax.
23215
23216Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23217
23218 * gdb.base/opaque.exp: use runto instead of messing around with
23219 breakpoints. Simplify by using gdb_test.
23220
23221 * gdb.base/bitfields.exp: restart between tests on netware targets
23222 because breakpoints aren't relocated after target death. Run
23223 processes to completion.
23224
23225 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
23226
23227Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
23228
23229 * Makefile.in: Remove extra tabs that confuse some versions
23230 of "make". Use the newly built gdb to test with by default,
23231 rather than the first one in the tester's search path.
23232
23233Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
23234
23235 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
23236
23237 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
23238 condition help.
23239
23240Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23241
23242 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
23243
23244 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
23245 running.
23246 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
23247 * gdb.base/funcargs.exp: Likewise.
23248
23249 * gdb.base/bitfields.exp: Simplify by using gdb_test.
23250 * gdb.base/funcargs.exp: Likewise.
23251
23252 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
23253 message is "".
23254
23255Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23256
23257 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
23258 return,signals,twice}.exp: Handle non-existant binaries
23259 consistantly.
23260
23261 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
23262 * gdb.base/Makefile.in: Don't try to generate a core dump, we
23263 might testing a cross development system.
23264
23265Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23266
23267 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
23268 runtest script is relative to ${srcdir}, not ${rootdir}.
23269
23270Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
23271
23272 * gdb.base/signals.exp: Allow for optionality of breakpoint
23273 address.
23274
23275Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23276
23277 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
23278
23279Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23280
23281 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
23282 for size_t definition.
23283 * gdb.c++/templates.cc: Likewise
23284
23285 * config/mt-i386-netware: New file.
23286
23287 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
23288 defined.
23289
23290 * gdb.base/Makefile.in: Added support for systems that name core
23291 files by appending "core" to the program name.
23292 * gdb.base/a1-selftest.exp: Likewise.
23293
23294Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23295
23296 * gdb.base/return.exp: Add comment and message for `return double'
23297 test failure on Sparc Solaris.
23298
23299Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
23300
23301 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
23302
23303Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23304
23305 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
23306 from optimizing them away.
23307 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
23308 patterns to include default constructors and assignment operators,
23309 to match gcc versions beyond 2.5.8. Accept any cplus demangling
23310 character in the output of the virtual base pointer.
23311
23312Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23313
23314 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
23315 expression match in print_addr_of to avoid unintented matches.
23316 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
23317 versions up to 2.5.8.
23318
23319Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23320
23321 * gdb.base/list.exp: Tweak alternate pattern for listing of an
23322 included file to run under newer versions of expect.
23323 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
23324 consecutive >'s in templates to accomodate recent cplus-dem.c change.
23325 Remove xfail for the virtual table of BDDHookV.
23326
23327Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
23328
23329 * lib/gdb.exp (string_to_regexp): Set a default result.
23330 (default_gdb_start): Fix misleading message.
23331
23332Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
23333
23334 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
23335 Remove all CC, etc definitions.
23336 * config/mt-hpux: New file.
23337 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
23338 (CFLAGS, LDFLAGS): Define.
23339 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
23340
23341 * Makefile.in (site.exp): Don't insert host_os, etc.
23342 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
23343 (distclean): Check existence of subdir.
23344 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
23345 * gdb.base/Makefile.in: General cleanup and simplification.
23346 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
23347 to build executables. Use default rule to build .o files.
23348 (EXPECT, RUNTEST, CC): Fix relative pathname.
23349 (site.exp): Don't insert host_os, etc.
23350 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
23351 and/or SIGUSR1 defined.
23352 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
23353 * gdb.c++/Makefile.in: General cleanup and simplification.
23354 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
23355 (CFLAGS): Remove.
23356 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
23357
23358Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
23359
23360 * gdb.base/recurse.exp: Misc changes to get tests running again
23361 after Kung's changes to the watchpoint code.
23362 * gdb.base/watchpoint.exp: Likewise.
23363
23364Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
23365
23366 * lib/gdb.exp (string_to_regexp): Convert {\} also.
23367
23368Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
23369
23370 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
23371 * lib/gdb.exp (default_gdb_start): Define.
23372 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
23373 gdb.base/funcargs.exp, gdb.base/opaque.exp,
23374 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
23375 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
23376 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
23377 Don't call gdb_target_udi in between tests.
23378
23379Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23380
23381 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
23382 (which was basically just a local version of the same thing). In
23383 addition to avoiding duplication, gdb_test_exact is faster.
23384 * lib/gdb.exp (gdb_test_exact): Fix typo.
23385
23386 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
23387 don't give an error.
23388
23389 * gdb.base/term.exp: Call delete_breakpoints before starting.
23390
23391 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
23392 (t10): Add comment.
23393
23394Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
23395
23396 Reorganization of the GDB Test Suite.
23397
23398 * gdb.base: New directory, contains all the basic tests.
23399 * gdb.c++: New directory, tests specific to C++.
23400 * gdb.chill: New directory, tests specific to Chill.
23401 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
23402 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
23403 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
23404 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
23405 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
23406 t30-31 to chill).
23407 * */gdbme.*: Rename to match appropriate expect scripts.
23408 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
23409 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
23410 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
23411 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
23412 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
23413 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
23414 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
23415 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
23416 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
23417 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
23418 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
23419 gdb.c++/virtfunc.cc: New names of C++ files.
23420 * gdb.chill/chillvars.ch: New name of Chill file.
23421 * gdb.base/configure.in, gdb.c++/configure.in,
23422 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
23423 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
23424 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
23425 * configure.in (configdirs): Update to reflect directory changes.
23426 (target_abbrev): No longer define for any configuration.
23427 * Makefile.in: Cosmetic improvements to header comments.
23428
23429Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
23430
23431 Various changes to gdb.t31:
23432
23433 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
23434 * gdbme.ch: Make all key-words and predefineds be upper-case.
23435 * chillvars.exp: Expect key-words and predefinds in upper-case.
23436
23437 * chillvars.exp: Use gdb_test_exact many places.
23438 Change expected output for arrays (which now includes index labels).
23439
23440 * pr-5020.exp, gdme.ch (module PR_5020):
23441 New test, for PR-5020.
23442
23443Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
23444
23445 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
23446 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
23447
23448Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
23449
23450 * Makefile.in: Fix bit-rot in definitions of CHILL,
23451 CHILL_FOR_TARGET and Chill_LIB.
23452 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
23453 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
23454 CHILL, and CHILL_LIB.
23455
23456Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
23457
23458 * Revert the previous changes. Please see Rob's directory
23459 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
23460
23461Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
23462
23463 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
23464 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
23465 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
23466 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
23467 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
23468 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
23469 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
23470 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
23471 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
23472 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
23473 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
23474 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
23475 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
23476 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
23477 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
23478 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
23479 changes from 94Q1.
23480
23481Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
23482
23483 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
23484 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
23485 Rob's new testing fragments.
23486
23487Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
23488
23489 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 23490 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
23491
23492Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
23493
23494 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
23495 version also, match on casted version strings, and match on
23496 gdb startup case where the line numbers might be messed up.
23497
23498Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
23499
23500 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 23501 (CFLAGS): Delete it from here.
c906108c
SS
23502
23503Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
23504
23505 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
23506
23507Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
23508
23509 * Makefile.in (RUNTEST): Default to just "runtest".
23510
23511Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23512
23513 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
23514 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
23515 the code has been restructured.
23516
23517Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23518
23519 * gdb.t00/default.exp (set write): Allow any number of \r and/or
23520 \n, not just one of each.
23521
23522 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
23523 /bin/cc gives a warning if you do.
23524
23525Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
23526
d63a86f8 23527 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
23528 __t10ListS_link1ZUiRCUiPT0
23529
23530Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23531
23532 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
23533 on local variables in recursive functions.
23534
23535 * gdb.t07/Makefile.in: Build the new test.
23536
23537Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23538
23539 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
23540 directly. Instead compare the return values from actual calls.
23541
23542Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
23543
23544 * Makefile.in (check): Set TCL_LIBRARY for runtest.
23545
23546Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23547
23548 * From Peter Schauer with minor modifications.
a9c64011
AS
23549 * gdb.t15/return.exp (return_tests): Handle targets where "return"
23550 stops in mid-line in the caller. Add xfail for returning a float
23551 value on X86 targets.
c906108c
SS
23552
23553Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23554
23555 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
23556 to avoid expect lossage.
23557 (fmem_LRbug_tests): Likewise.
23558 * gdb.disasm/hppa.s: Corresponding changes.
23559
23560 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
23561 conditions to work with latest dejagnu/expect.
23562
23563 * gdb.t15/funcargs.exp (finish from indirect call): No longer
23564 expected to fail on the PA.
23565 (backtrace in call with trampolines): Explicitly require main
23566 to be frame #1 (no trampolines should show up in backtrace).
23567
23568 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
23569 "continue -expect".
23570 * gdb.t06/break.exp: Likewise.
23571 * gdb.t07/watchpoint.exp: Likewise.
23572 * gdb.t13/bitfields.exp: Likewise.
23573 * gdb.t15/{funcargs,return}.exp: Likewise.
23574 * gdb.stabs/weird.exp: Likewise.
23575 * config/{mips,udi}-gdb.exp: Likewise.
23576
23577 * hppa.sed: Enclose comments within a sed command to avoid
23578 losing with the old OSF1 sed.
23579
23580Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23581
23582 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
23583 sequent dynix.
23584 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
23585 * gdb.t15/funcargs.exp: Conditionally step again to really
23586 finish from marker_call_with_trampolines. Handle the case where
23587 the first step from within call_with_trampolines already steps
23588 us back to main.
23589 * gdb.t15/gdbme.c: Add comment to closing brace of
23590 call_with_trampolines for funcargs.exp.
23591
23592Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23593
d63a86f8 23594 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
23595 Fix typo(s).
23596
23597Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23598
23599 * gdb.t07/gdbme.c: More code for watchpoint testing.
23600
23601 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
23602 "Hardware watchpoint" throughout file.
23603 (test_watchpoint_triggered_in_syscall): New test.
23604 (test_complex_watchpoint): New test.
23605
23606Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23607
23608 * gdbme.c (call_with_trampolines): New function to try and step
23609 into. Tests trampoline problems on the PA.
23610
23611 * funcargs.exp (localvars_in_indirect_call): No longer expect
23612 stepping into indirect call to fail on PAs.
23613 (test_stepping_over_trampolines): New test.
23614
23615Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23616
23617 * TODO: Add suggestions for static member function tests, and
23618 completion tests.
23619
23620Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23621
23622 * TODO: Add suggestions for "p/a" tests.
23623
23624 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
23625 (default_gdb_exit): Replace all the hair with sending "quit" to
23626 the process with a simple close.
23627
23628Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23629
23630 * TODO: Add suggestions for shared library tests.
23631
23632Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23633
23634 * TODO: Add suggestions for x/s tests.
23635
23636Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23637
23638 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
23639 "enable once", and "enable breakpoints once" with ".*".
23640
23641Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23642
23643 * TODO: Add suggestions about structure passing tests.
23644
23645Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23646
23647 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
23648 the primary1 test, use work around if __GNUC__ < 2.
23649 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
23650 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
23651 Test for bad output rather than waiting for timeout. Issue
23652 second continue only if first continue failed.
23653
23654Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
23655
23656 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
23657 operator[] test with gdb_test because the old code didn't seem to
23658 be getting the quoting right with the new dejagnu.
23659
23660Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
23661
23662 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
23663 one from the path.
23664 * Makefile.in: Use a fresh expect if there is one, use runtest
23665 from the src tree if there is one.
d63a86f8 23666
c906108c
SS
23667Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
23668
23669 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
23670 next over recursive call. Revise the tests from that point on
23671 (which had been skipped) to match GDB's actual (correct) output.
23672
23673 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
23674 with next over a breakpoint whose condition is false.
23675
23676 * gdb.t00/help.exp: Comment out "help set print" tests just like
23677 (and for same reason as) "help set" test.
23678
23679Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23680
23681 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
23682 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
23683
23684Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23685
23686 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
23687 necessary gdb_target_udi.
23688
23689 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
23690
23691 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
23692 1838 and 2417; they are fixed.
23693
23694 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
23695 gdb.t03/ptype.exp (ptype structure, ptype union):
23696 Remove xfails; the test is looser than when the xfails were added.
23697
23698 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
23699 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
23700
23701 * gdb.t01/run.exp: Only run shell test if isnative.
23702
23703 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
23704 since "run" automatically loads if necessary. Call gdb_target_udi
23705 after the "file" since "file" kills any execution target.
23706
23707 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
23708 GDB. GDB doesn't work that way (not anymore at least) on UDI.
23709 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
23710 argument for UDI.
23711
23712Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
23713
23714 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
23715
23716 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
23717
23718Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23719
23720 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
23721 properly quoting regexps. This makes the second argument to
23722 demangle a fixed string, which matches the callers, instead of a
23723 shell-style pattern which is what the previous implementation
23724 used. Update some of the callers.
23725
23726Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23727
23728 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
23729 (comib_nullified_tests): Fix typo.
23730 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
23731 strings. No longer expected to fail.
23732
23733 * gdb.disasm/hppa.s (addib_tests): Fix typo.
23734 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
23735 strings. No longer expected to fail.
23736
23737 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
23738 string. No longer expected to fail.
23739
23740Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23741
23742 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
23743 No longer expected to fail.
23744
23745 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
23746 string. No longer expected to fail.
23747
23748Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23749
23750 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
23751 only in the names (I probably got most of them). I was even
23752 generous with some which differed in underscores in names, and
23753 probably missed a few, and I *still* was able to remove almost a
23754 third of the file with almost no impact on testsuite coverage.
23755
23756Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23757
23758 * gdb.t00/default.exp: Match udi_attach error message as well as
23759 the one from child_attach.
23760
23761 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
23762
23763 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
23764
23765 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
23766 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
23767
23768 * Move test with enums and partial symbols back to
23769 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
23770 Reverts the change of 26 May 93. Per today's change to
23771 stabs.texinfo, the behavior that weird.exp was expecting was
23772 unreasonable; what is important is that the compiler+gdb get
23773 things right, which happens with a recent gcc. Also fix the test
23774 to deal with native compilers which put out the stab gdb can't
23775 deal with.
23776
23777Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23778
23779 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
23780 in the names. The main thing these accomplish is to slow things down.
23781 Many more such duplicates surely remain.
23782
23783 * gdb.t00/help.exp: Comment out "help support" test just like
23784 (and for same reason as) "help set" test.
23785
23786Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
23787
23788 * gdb.t06/break.exp: Remove setup_xfails for
23789 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
23790 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
23791 about known bug in gcc to include up through 2.5.8.
23792 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
23793 well as "_vb$".
23794 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
23795 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
23796 with latest gcc and gdb.
23797 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
23798 well as "_vb$".
23799
23800Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23801
23802 * configure.in (hppa*-*-*): Also configure and build stabs-only
23803 tests.
23804
23805Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23806
23807 * gdb.t10/hppa.mt: A makefile fragment for the PA.
23808 * gdb.t10/configure.in (hppa*-*-*): Use it.
23809
23810Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23811
23812 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
23813
23814Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23815
23816 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
23817 versions prior to 1.13.5.
23818
23819Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23820
23821 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
23822 the prompt is at the start of a line.
23823
23824Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23825
23826 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
23827 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
23828 in the copr tests now.
23829 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
23830 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
23831 expected to fail.
23832
23833Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
23834
23835 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
23836 gdb.t31/chillvars.exp, lib/gdb.exp:
23837 Tweak to run under either version of expect.
23838 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
23839 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
23840 * gdb.t11/list.exp: Remove extraneous whitespace.
23841
23842Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23843
23844 * gdb.t16/printcmds.exp (test_print_strings): Accept
23845 "(unsigned char *) " before the string.
23846
23847 * TODO: Add notes about printing of fancy types and GDB expressions.
23848
23849Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
23850
23851 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
23852 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 23853 if doing mips-idt-ecoff.
c906108c
SS
23854
23855Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
23856
23857 * Most .exp files: Tweak to run under either version of expect.
23858
23859Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23860
23861 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
23862 xfails; I'm not sure why they are failing, but not because of PR 1806.
23863
23864Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
23865
23866 * config/unix-gdb.exp: Remove gdb_unload cause it's already
23867 defined in lib/gdb.exp.
23868
23869Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23870
23871 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
23872 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
23873 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
23874 have to be typeless.
23875
23876Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23877
23878 * TODO: Add suggestion for copyright year test.
23879
23880Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
23881
23882 * configure.in (*-*-lynxos*): Add stabs tests.
23883
23884Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
23885
23886 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
23887 so insert a tab before any assembler directive in column zero.
23888
23889 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
23890 stores.
23891 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
23892 stores.
23893 (fpu_short_memory_tests): Likewise.
23894
23895Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23896
23897 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
23898 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
23899 .stabs directives in comments.
23900
23901Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23902
23903 * TODO: New file, describing tests we could write.
23904 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
23905
23906Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23907
23908 * gdb.t06/signals.exp: Add kludge to force re-sync.
23909
23910 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
23911 to xgdb instead of gdb, get out of gdb.
23912
23913Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
23914
23915 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
23916 for info.
23917
23918Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
23919
23920 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
23921 * gdb.stabs/configure.in (hppa*-*-*): Use it.
23922 * gdb.stabs/hppa.sed: New sed script for the PA.
23923
23924Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23925
23926 * gdb.stabs: Re-write weird.def and configuration to use sed
23927 instead of cpp. sed is portable and POSIX; cpp is neither.
23928
23929Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23930
23931 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
23932
23933Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23934
23935 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
23936
23937Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23938
23939 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
23940 "_vb$".
23941 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
23942 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
23943
23944Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23945
23946 * lib/gdb.exp: Comment out code which depends on non-existent
23947 `transform' procedure.
23948
23949Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
23950
23951 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
23952 * lib/gdb.exp: Transform tool name.
23953 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
23954 1.1's new error handling system.
23955
23956Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23957
23958 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
23959
23960Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23961
23962 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
23963 They made pattern matching so slow that timeouts happened on
23964 heavily loaded systems. Now any output from "show print" which
23965 gets us back to the GDB prompt is a PASS.
23966
23967Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
23968
23969 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
23970
23971Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23972
23973 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
23974
23975 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
23976 It is not from PR 3220.
23977
23978Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23979
23980 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
23981 just started failing because they depended on the order the
23982 subcommands are presented, or exact docstring text. This kind of
23983 test is a pain and has minimal benefit.
23984
23985Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23986
23987 * gdb.t09/corefile.exp: At end of test, use "core" command with
23988 no arguments.
23989
23990Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
23991
23992 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
23993 17}/Makefile.in: Make it possible to run the testsuite with Sun
23994 make and CC = cross gcc by adding explicit build rules for .o
23995 files.
23996
23997Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23998
23999 * gdb.t15/funcargs.exp: Don't put comments on same line as
24000 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 24001
c906108c
SS
24002Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24003
24004 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
24005
24006Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
24007
24008 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
24009 * gdb.t20/inherit.exp: remove three dumplicate entries.
24010
24011Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24012
24013 * gdb.t06/break.exp: For "next over recursive call", fail on any
24014 incorrect output, not just on "factorial (value=2)".
24015
24016Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24017
24018 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
24019 working now. Add an xfail if accesing a bss variable causes
24020 a memory error if the target is not yet run.
24021
24022Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24023
24024 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
24025 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
24026 name of __st* demangling (2 strings). Did Kung really get the
24027 more than 95 others right without testing them?
24028
24029Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
24030
24031 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
24032
24033Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
24034
24035 * configure.in (configdirs): Add gdb.disasm
24036 * gdb.disasm: New directory for GDB disassembler tests.
24037 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
24038
24039Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24040
24041 * gdb.t00/help.exp: Don't test "help set".
24042
24043 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
24044 from within expect statements. None of these happen anymore and
24045 they cause regressions to be silently unnoticed.
24046
24047 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
24048 messages) about known failures with gcc cygnus-2.4.5-930417.
24049
24050 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
24051 comp-info.exp so it gets built if it doesn't exist.
24052
24053 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
24054 it is no longer used.
24055 * gdb.t13/comp-info.c: Removed.
24056
24057Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
24058
24059 * gdb.t06/signals.exp: Add xfail for sun3.
24060
24061Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24062
24063 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
24064 relevant because ^C doesn't get sent but failure can be reproduced
24065 interactively).
24066
24067Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24068
24069 * gdb.stabs/alpha.mt: New configuration file for alpha.
24070 * gdb.stabs/configure.in: Use it.
24071 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
24072 sharing with alpha.mt, redefine long to word via preprocessor.
24073 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
24074 for alpha.
24075 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
24076 native cc.
24077 * gdb.t00/teststrategy.exp: Change expect string so that we
24078 consume the `(xgdb)' from the command echo and from the gdb prompt.
24079 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
24080 gdb currently compares all values as long, so this failure probably
24081 applies to any configuration where LONGEST is bigger than a target int.
24082 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
24083 with gcc.
24084 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
24085 to handle opaque pointers, gcc is.
24086 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
24087 as first argument. Include <sys/types.h> and change all operator
24088 new definitions to use size_t.
24089 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
24090 now that we use size_t.
24091
24092Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24093
a9c64011 24094 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 24095 a long or float array cast all array members to the same type.
a9c64011 24096 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 24097 with 64 bit longs.
a9c64011 24098 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 24099 on alpha.
a9c64011 24100 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
24101
24102Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24103
24104 * gdb.t24 (demangle.exp): Constructors of templates have names like
24105 vector<int>::vector(int) not vector<int>::vector<int>(int). See
24106 section 14.6 of the ARM.
24107
24108 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
24109 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
24110 accomplish little and slow down the testsuite.
24111
24112 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
24113 Accept spaces various places.
24114
24115Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24116
24117 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
24118 with watchpoint enabled.
24119
24120 * Makefile.in: Remove definition of CC and remove the second
24121 definition of CXX (the "CXX = gcc" one remains). These definitions
24122 were causing backquotes to be expanded within backquotes, which
24123 doesn't work.
24124
24125Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
24126
24127 * gdb.t17/callfuncs.exp: Add "return 0" to end.
24128
24129Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24130
a9c64011
AS
24131 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
24132 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
24133 by mips cc and contains no stabs entries.
24134
24135Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
24136
24137 * config/vx-gdb.exp: Use fake device to load files rather than
24138 NFS.
24139 * lib/gdb.exp: New proc to do "file" command.
24140 * config/unix-gdb.exp: Use new "file" proc.
24141
24142Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
24143
24144 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
24145 Rework board rebooting slightly.
24146 (gdb_exit): Don't exit from the remote shell; there isn't one.
24147 * gdb.stabs/weird.exp: If a program is being debugged already,
24148 kill it.
24149 * gdb.t04/setvar.exp: Stop and restart gdb.
24150 * gdb.t05/expr.exp: Likewise.
24151 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
24152 restart gdb and reload the program.
24153 * gdb.t08/opaque.exp: Likewise.
24154 * gdb.t12/scope.exp: Likewise.
24155 * gdb.t13/bitfields.exp: Likewise.
24156 * gdb.t15/funcargs.exp: Likewise.
24157 * gdb.t20/classes.exp: Likewise.
24158 * gdb.t03/ptype.exp: Increase timeout.
24159 * gdb.t16/printcmds.exp (test_print_string_constants,
24160 test_print_array_constants): Likewise.
24161 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
24162 * gdb.t20/classes.exp (do_tests): Likewise.
24163 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
24164
24165Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
24166
24167 * gdb.stabs: Renamed *wierd* to *weird*.
24168
24169Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
24170
24171 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
24172 for timeout. Add "known gcc 2.4.5 bug" to failure message.
24173
24174Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
24175
24176 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
24177 (do_tests): Remove xfail for whatis on one_var and two_var.
24178
24179Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
24180
24181 * Makefile.in: Made cross building work better by adding
24182 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
24183
24184Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24185
24186 * gdb.t15/{return.c,return.exp,Makefile.in}:
24187 New test, currently commented out.
24188
24189Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
24190
24191 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
24192 still running and removes the leftover named socket so GDb can do
24193 clean restarts.
24194
24195Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
24196
24197 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
24198 console, not GDB.
24199 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
24200 cross testing works better with "make check"
24201 * config/unix-gdb: Use default procedures for exit and version.
24202 * config/vx-gdb.exp: Cleaned up and massaged back to working order
24203 with the newest VxWorks.
24204
24205Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24206
24207 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
24208 old form.
24209
24210 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
24211 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
24212
24213 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
24214
24215 * config/unix-gdb.exp: Remove this version of gdb_exit
24216 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
24217 Rob says he'll look at it when he gets back to testing boards.
24218
24219Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
24220
24221 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
24222 an expected fail for certain ptype commands.
24223
24224 * gdb.t20/classes.exp: Update expected results of "ptype class
24225 Base1" to account for the constructor that now appears in the type.
24226
24227Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
24228
24229 * configure.in (configdirs): Restore gdb.t04, which mysteriously
24230 disappeared from list.
24231 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
24232 "alldone" proc with call to cleanup and exit.
24233 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
24234 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
24235 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
24236 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
24237 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
24238 "alldone" proc with simple returns that suppress remaining
24239 tests. The alldone proc went away many months ago.
24240
24241Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24242
24243 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
24244
24245 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
24246
24247Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24248
24249 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
24250 as vax gdb will display them.
24251
24252Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24253
24254 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
24255 optimizers.
24256
24257 * scope.exp: Change "bad value for localval" messages so each one
24258 is unique.
24259
24260 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
24261 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
24262
24263 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
24264
24265Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24266
24267 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
24268 doesn't exist (due to optimization).
24269
24270Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24271
24272 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
24273 contains \r because the filename is long.
24274
24275 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
24276 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
24277
24278Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24279
24280 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
24281 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
24282 Ultrix.
24283 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
24284 int tests.
24285 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
24286
24287Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
24288
24289 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
24290
24291 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 24292 to match does not match the passing case but still matches the
c906108c
SS
24293 failing case.
24294
24295Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24296
24297 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
24298
24299Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
24300
24301 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
24302 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
24303 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
24304 Remove various versions of gdb_exit.
24305 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
24306 gdb_exit.
24307 * config/unix-gdb.exp: gdb_exit remains here, and should override
24308 the generic version, since it's doing a lot of wierd stuff that
24309 the other versions aren't. FIXME, fold it in, or abandon this
24310 version.
24311
24312Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24313
24314 * gdb.t24/demangle.exp: Add tests for PR 3220.
24315
24316Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24317
24318 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
24319
24320Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
24321
24322 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
24323 "i386-*-*". Works for i486 as well.
24324
24325 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
24326 bug, and expand domain of xfail to all SVR4 systems, since the
24327 actual problem is likely to be in generic SVR4 /proc support.
24328
24329Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24330
24331 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
24332
24333Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
24334
24335 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
24336 xfails for other systems. Match a missing 'Continuing.' as an
24337 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
24338
24339 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
24340 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
24341 Only issue warning for missing executables if -all option is used.
24342
24343 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
24344 file if -all option is used. It's like an unpredictable XFAIL.
24345
24346Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24347
24348 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
24349 for dynamically linked binaries.
24350
24351 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
24352
24353Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24354
24355 * gdb.t20/inherit.exp: Change message for "print tagless struct"
24356 to state that this is a known bug in old versions of g++.
24357
24358Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24359
24360 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
24361 while waiting for `Continuing'.
24362
24363Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
24364
24365 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
24366 in text, data, and bss.
24367 * gdb.t10/nodebug.c: Add local and global test variables for
24368 initialized and uninitialized data.
24369
24370Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24371
24372 * config/unix-gdb.exp (gdb_exit): Add "wait".
24373
24374Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24375
24376 * gdb.t06/signals.exp: xfail the continue from the handler for all
24377 targets.
24378
24379 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
24380 function with watchpoints enabled, the i386 call dummy starts with
24381 a call.
24382
24383 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
24384 386 bsd names its corefiles.
24385
24386Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
24387
24388 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
24389 compilers don't grok it.
24390 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
24391 with small octal ints rather than character constants, which
24392 are signed and might not fit if first promoted to int.
24393
24394Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
24395
24396 * gdb.t09/Makefile.in (clean): Remove corefile.
24397
24398Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24399
24400 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
24401
24402Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24403 and Jim Kingdon (kingdon@cygnus.com)
24404
24405 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
24406 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
24407 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
24408
24409Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24410
24411 * gdb.t17/interrupt.exp: Add xfail for hppa.
24412
24413Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24414
24415 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
24416 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
24417 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
24418 to determine signed-ness of bitfields and use the result to setup
24419 the xfail.
24420 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
24421 * gdb.t15/funcargs.exp: Use them to step until the second indirect
24422 call line is reached if necessary.
24423
24424Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24425
24426 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
24427
24428Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24429
24430 * gdb.t06/break.exp: Also test `clear' command.
24431
24432Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
24433
24434 * gdb.t00/teststrategy.exp: Remove extra quote.
24435
24436 * gdb.t07/watchpoint.exp: Change xfail for calling function with
24437 watchpoint enabled to be for all non-68k machines.
24438
24439 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
24440
24441Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24442
24443 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
24444 targets use aout.mt instead of ecoff.mt as gas understands
24445 standard aout format.
24446
24447Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
24448
24449 * lib/gdb.exp (runto): Don't insist that function we are running to
24450 was compiled with -g.
24451
24452 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
24453
24454 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
24455 to get back into the read system call.
24456 Accept leading newline in case where we woke it up.
24457
24458Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24459
24460 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
24461 to make the stabs test work on ecoff systems using gcc and -with-stabs.
24462 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
24463 enable ecoff configuration.
24464
24465Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24466
24467 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
24468
24469Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24470
24471 * gdb.t16/printcmds.exp: Add another printf test.
24472
24473Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
24474
24475 * configure.in: If configured -with-stabs on any target, add
24476 stabsdirs to configdirs.
24477
24478Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24479
24480 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
24481 fun" so pattern does not match the command itself.
24482
24483Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24484
24485 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
24486
24487Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24488
24489 * gdb.t17/interrupt.exp: Test for more things.
24490
24491Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24492
24493 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
24494 compiler arranges the code and line numbers.
24495
24496 * gdb.t17/interrupt.exp: Don't send \n after ^C.
24497
24498Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24499
24500 * gdb.t00/help.exp: Increase expect input buffer size.
24501
24502Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24503
24504 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
24505
24506 * gdb.t07/watchpoint.exp: Add xfail for hppa.
24507
24508 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
24509
24510 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
24511 [0-9]*, not just [0-9].
24512
24513Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24514
24515 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
24516
24517 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
24518
24519Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24520
24521 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
24522
24523Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24524
24525 * gdb.t06/signals.c: Add xfails for sun3.
24526
24527 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
24528
24529 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
24530 test_stepping tests.
24531
24532Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24533
24534 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
24535
24536 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
24537
24538 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
24539 rather than actually putting it through cpp twice.
24540
24541 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
24542
24543Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
24544
24545 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
24546 no longer needed.
24547
24548Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24549
24550 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
24551
24552 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
24553 C++ features prints as "struct", make it a pass, not an xfail.
24554
24555Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24556
24557 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
24558 Don't require VA to print as "class" rather than "struct".
24559
24560Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
24561
24562 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
24563
24564Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24565
24566 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
24567
24568Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24569
24570 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
24571 order.
24572
24573Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24574
24575 * gdb.t16/printcmds.exp: Add printf tests.
24576
24577 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
24578
24579 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
24580
24581Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
24582
24583 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
24584 pass counts, to counteract any existing or future setup_xfails.
24585
24586Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24587
24588 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
24589 {BEGIN,END}_COMMON for common block instead of STAB.
24590 * gdb.stabs/wierd.exp: Add xfail for rs6000.
24591
24592 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
24593 intp_var should be N_GSYM not N_LSYM.
24594 wierd-aout.S: Use a label for the value of the N_SO.
24595 wierd.def: Remove all backslashes.
24596 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
24597
24598Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24599
24600 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
24601 get the expected next to inheritance3.
24602
24603Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24604
24605 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
24606 now that gcc-2.4 gets it right.
24607
24608Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24609
24610 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
24611
24612 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
24613 generating comp-info.exp which works for cross-compilation.
24614
24615Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
24616
24617 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
24618 "*-*-sysv4.*".
24619
24620Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
24621
24622 * gdb.t01/run.exp: Start with a fresh gdb.
24623 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
24624 SVR4.x.
24625
24626Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
24627
24628 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
24629 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
24630 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
24631 Makefile.in (distclean, realclean): Remove gdbme.c from list of
24632 things to remove.
24633
24634Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
24635
24636 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
24637 test cases from bug reports.
24638
24639Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
24640
24641 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
24642 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
24643 avoid spurious xfails.
24644 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
24645 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
24646 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
24647
24648Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
24649
24650 * gdb.t00/teststrategy.exp: Rework to provide more useful
24651 description of each test, fix problem with systems that define
24652 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
24653 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
24654 results for "next over recursive call" so timeouts aren't taken
24655 by error.
24656
24657Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
24658
24659 * gdb.t12/scope.exp: Test printing of variables before run.
24660
24661 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
24662 printed in wrong order due to sorting.
24663
24664Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
24665
24666 * gdb.t00/teststrategy.exp: Fix expected results for printing
24667 user entered string constant. Is array of char, prints with no
24668 address.
24669
24670 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
24671 commands.
24672 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
24673 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
24674 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
24675 of struct of char arrays.
24676 * gdb.t00/radix.exp: New tests for radix commands.
24677
24678Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
24679
24680 * gdb.t16/printcmd.exp: Print a variable before running program
24681 (with xfail for AIX).
24682
24683Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
24684
24685 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
24686
24687 * gdb.t16/printcmd.exp: Don't print variables before running program.
24688
24689 * gdb.t06/break.exp: Don't require envp argument to main.
24690
24691 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
24692
24693 * gdb.t02/whatis.exp, gdb.t11/list.exp:
24694 Add xfails for rs6000.
24695
24696 * gdb.t02/whatis.exp: Change other tests not to re-test something
24697 we already tested.
24698
24699 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
24700 each type used has a variable of that type.
24701
24702Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
24703
24704 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
24705
24706Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
24707
24708 * configure.in: change srctrigger to be a file, not a directory
24709
24710Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
24711
24712 * configure.in (mips-idt-ecoff*): Added trailing '*'.
24713
24714 * gdb.t11/list.exp: Fixed a couple of typos.
24715
24716Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
24717
24718 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
24719 is fixed and PR is closed.
24720 * gdb.t16 (gdbme.c): Add simple test string variable.
24721 * gdb.t16 (printcmds.exp): Add tests with simple test string
24722 variable, primarily for boundaries on "set print elements".
24723
24724Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
24725
24726 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
24727 Make leading 0's optional and don't expect a tab in the middle
24728 of the number.
24729
24730 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
24731
24732 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
24733 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
24734 don't end command passed to gdb_test with newline.
24735
24736 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
24737 signed keyword away, don't expect signed bitfields to be signed.
24738
24739 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
24740 printing with only as many 1's as are in the field as well as printing
24741 with 32 1's (see comment).
24742
24743Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
24744
24745 * gdb.t00/default.exp: Start with a fresh gdb.
24746 * configure.in (configdirs): Remove gdb.t31 until the chill
24747 compiler works again. It no longer is able to find chillrt0
24748 since it isn't in libchill.a anymore.
24749 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
24750 wierd.o, make more modular.
24751 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
24752 spurious newlines that caused problems.
24753
24754Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24755
24756 * Move test with enums and partial symbols from gdb.t03/ptype.exp
24757 to gdb.stabs/wierd.exp since GCC has worked around the bug.
24758 gdb.stabs/wierd.{exp,def}: Many new tests.
24759
24760 * gdb.t00/default.exp: update info line for new message.
24761
24762 * gdb.t02/{whatis.exp,gdbme.c}:
24763 Test that "char *" doesn't print as "caddr_t".
24764
24765Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24766
24767 * gdb.t00/help.exp: Use .* in place of some help messages which
24768 just changed.
24769 gdb.t00/default.exp: Update "info frame" test for new message.
24770 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
24771 Remove some xfails
24772
24773Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24774
24775 * gdb.t03/{gdbme.c,ptype.exp}:
24776 Add tests for typedef'd struct and union without tags.
24777 Also check "whatis" on a variable of a typedef'd enum without a tag.
24778
24779 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
24780 PRMS 1823; the bug still exists but isn't reproduced by this test
24781 anymore), and remove rs6000 XFAIL (the bug is fixed).
24782
24783 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
24784 duplicated from whatis.exp. For those that are left, accept
24785 "long", "long int", or "int" for long variables (whatis.exp already
24786 has an XFAIL for "int", so no need to fail it here).
24787
24788 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
24789 Deal with GCC's names for types now that GDB uses the compiler's names.
24790
24791 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
24792 setup_xfail's for sunos4. If we #defined the signed keyword away,
24793 don't expect GDB to know that char it is signed.
24794
24795 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
24796
24797Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
24798
24799 * configure.in (configdirs): Add gdb.t24 for C++ tests that
24800 should work on any system, regardless of debugging format.
24801 * gdb.t21/demangle.exp: Move to gdb.t24.
24802 * gdb.t24/demangle.exp: Move from gdb.t21.
24803 * gdb.t24/{Makefile.in, configure.in}: New files.
24804
24805Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24806
24807 * configure.in: Do gdb.stabs and C++ tests only for stabs.
24808 * gdb.stabs: New directory.
24809
24810Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24811
24812 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
24813 not just "Quit anyway?".
24814
24815Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
24816
24817 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
24818 that all setup_xfails are immediately followed by clear_xfails.
24819
24820Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
24821
24822 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
24823 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
24824 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
24825 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
24826 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
24827 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
24828 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
24829 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
24830 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
24831 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
24832 gdb.t31/chillvars.exp, lib/gdb.exp:
24833 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
24834 bug-gdb@prep.ai.mit.edu.
24835
24836Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
24837
24838 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
24839 with 0.0, not integer 0.
24840
24841Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
24842
24843 * gdb.t06/break.exp: Update for "Kill the program" message change.
24844
24845Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
24846
24847 * Makefile.in (GDBFLAGS): Set to -nx.
24848 * Makefile.in (site.exp): Use GDBFLAGS.
24849
24850Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
24851
24852 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
24853 Makefiles.
24854 (check): depend on just-check.
24855 (just-check): added so that tests can be run without a noop
24856 build pass.
24857
24858Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
24859
24860 Switch to using configure's configdirs.
24861 * Makefile.in (Makefile): add configure.in dependency.
24862 (SUBDIRS): removed redundant assignment.
24863 * configure.in: switch subdirs assignment to configdirs.
24864 * gdb.t*/configure.in: new files.
24865
24866Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
24867
24868 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
24869 works.
24870
24871Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
24872
24873 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
24874 in explicit rules. Apparently this is not supported by some makes.
24875
24876Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
24877
24878 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
24879
24880Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24881
24882 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
24883 disappeared.
24884
24885Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
24886
24887 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
24888
24889Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
24890
24891 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
24892 watchpoint problem that is now fixed.
24893 * gdb.t30/chexp.exp: Remove setup_xfail for printing
24894 uninitialized convenience variables.
24895 * gdb.t31/chillvars.exp: Fix expected patterns for printing
24896 structures.
24897
24898Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24899
24900 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
24901 which causes expect to get out of sync with gdb on long output
24902 from help set.
24903 * gdb.t09/corefile.exp: Make expected pattern for core file
24904 failing signal and frame output format less sun specific.
24905
24906Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
24907
24908 * gdb.t31/chillvars.exp: Add and remove initial dummy
24909 breakpoint, so that symbol table is forced in.
24910 (Needed at least on Sunos4, though it seems not SVR4.)
24911 * gdb.t31/chillvars.exp: Update for changed output format.
24912
24913Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
24914
a9c64011 24915 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
24916
24917Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
24918
24919 * Makefile.in: Added --srcdir when invoking runtest, removed the
24920 need for a local config file. (optional now)
24921
24922Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
24923
24924 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
24925 failure count used to force early termination. Add some more
24926 expected failures for gnu style demangling.
24927
24928Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24929
24930 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
24931 pmi variable from gdb.t20/gdbme to get optimized away.
24932 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
24933 Check for written corefile upon timeout _and_ eof.
24934
24935Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24936
24937 * config/unix-gdb.exp: Add missing return 0.
24938
24939Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24940
24941 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
24942 test termination.
24943
24944Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
24945
24946 * configure.in (subdirs): Put back gdb.t17 which mysteriously
24947 disappeared.
24948
24949Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
24950
24951 * gdb.t10/crossload.exp: Disable the i860-elf test until such
24952 time as i860 support works.
24953
d63a86f8 24954 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
24955 "backtrace 100\r" rather than just "backtrace\r", to match last
24956 change.
24957
24958Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
24959
24960 * config/udi-gdb.exp (gdb_exit): Remove close command.
24961 (gdb_target_udi): New procedure to set the UDI target.
24962 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
24963 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
24964 Added waits for prompts after several question responses. Added
24965 some more responses used by a29k-amd-udi-gdb.
24966 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
24967 pass different arguments, restart UDI connection after program
24968 completion.
24969 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
24970 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
24971 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
24972 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
24973 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
24974 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
24975 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
24976 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
24977 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
24978 after program completion.
24979 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
24980 compiled with a SELECT_VECS setting.
24981 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
24982 infinite recursion.
24983
24984 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
24985 Added checks for COFF results, and made them expected failures for
24986 all targets. It would be better to make them expected failures
24987 for COFF targets only.
24988
24989Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
24990
24991 * Makefile.in: add null dvi target, don't bother to recurse
24992 through test directories for info and install-info; rename
24993 $(datadir) to be dejagnu instead of deja-gnu
24994
24995Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
24996
24997 * gdb.t31/gdbme.ch: Re-enable code that previously caused
24998 compiler to coredump.
24999 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
25000 code.
25001
25002Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
25003
25004 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
25005 coredump.
25006 * gdb.t31/chillvars.exp: Comment out tests that depend on that
25007 code.
25008
25009Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
25010
25011 * gdb.t03/ptype.exp: tests for return code from gdb_test.
25012 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
25013 which in a shell. Deletes xgdb when done.
25014 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
25015 Tests the return from the "set height" or "set width" commands.
25016 Added a few return codes where needed.
25017
25018Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
25019
25020 * Makefile.in (SUBDIRS): Add gdb.t17.
25021 * configure.in (subdirs): Add gdb.t17.
25022 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
25023 files to test gdb's calling of functions in the inferior with
25024 the correct arguments and gdb's ability to retrieve any
25025 result returned.
25026
25027Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
25028
25029 * config/unix-gdb.exp (gdb_exit): Remove close commands that
25030 may be called after gdb goes away. Previous versions of expect
25031 needed these to avoid file descriptor leaks, but they cause
25032 errors with the current revision of expect.
25033 * gdb.t00/gdbvars.exp: Use -re on expected output after
25034 setting sevenbit-strings.
25035 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
25036 to set sevenbit-strings consistent across tests.
25037 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
25038 set sevenbit-strings consistent across tests.
25039
25040Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
25041
25042 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
25043 expected output to match current "expect" expectations.
25044
25045Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
25046
25047 * gdb.t00/default.exp: Change expected output for default "source"
25048 command, to match new gdb behavior which requires a filename to
25049 source.
25050
25051Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
25052
25053 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
25054 expected fail for i486-*-* that misses the marker2 function.
25055 * gdb.t10/crossload.exp (bfddefault): Allow successful
25056 recognition of a format to pass even if no symbols are found.
25057 Explicitly catch failures where the format is not recognized
25058 or is ambiguous, and add the reason to the fail message.
25059 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
25060 the cause is and invalid target and add reason to failure message.
25061 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
25062 elf32-i386, elf32-sparc, and elf32-i860.
25063 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
25064 Set up expected failure for 'filename'::variable scope resolution,
25065 which is now apparently broken on all targets.
25066 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
25067 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
25068 gdb.t23/templates.exp: Change failure for missing binfile into
25069 just a warning.
25070 gdb.t21/demangle.exp: Change all cfront references to 'arm'
25071 references.
25072
25073Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
25074
25075 * gdb.t00/default.exp: Add expected output for default "source"
25076 command, to match new gdb behavior.
25077 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
25078
25079Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
25080
25081 * config/*-gdb.exp: returns an error, rather than exiting on
25082 internal errors.
25083
25084Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
25085
25086 * gdb.t03/gdbme.c: Add pointer to struct variable.
25087 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
25088 referencing struct members.
25089
25090Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
25091
25092 * configure.in (mips-idt-ecoff): New target.
25093 * config/mips-gdb.exp: New file for remote board using MIPS remote
25094 debugging protocol.
25095
25096 * Redid configuration scheme. Removed gdb.t*/configure.in.
25097 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
25098 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
25099 distclean targets. Built executables via .o files. Adjusted
25100 tests to account for source files in $(srcdir) rather than
25101 $(objdir).
25102 * lib/gdb.exp (runto): Don't expect () after the function name,
25103 because it may have arguments.
25104
25105Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
25106
25107 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
25108 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
25109 expected failures for mips-idt-* and mips-sgi-*.
25110 * gdb.t00/default.exp (attach): Kill process if requested.
25111 * gdb.t00/help.exp (help target core, help target): Accept a gdb
25112 that does not read core files.
25113 * gdb.t01/run.exp: Removed checks for exit status code.
25114 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
25115 it is linked in.
25116 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
25117 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
25118 appropriate, rather than doing it by hand.
25119 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
25120 execution.
25121 * gdb.t10/crossload.exp: Kill existing program if needed.
25122 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
25123 appropriate, rather than doing it by hand. Always increase
25124 timeout for this test, not just for VxWorks.
25125
25126Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
25127
25128 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
25129 of Chill STRUCT types and STRUCT values.
25130 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
25131 than "char".
25132 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 25133 struct2): New struct definitions and initializations to test
c906108c
SS
25134 simple Chill STRUCT types.
25135
25136Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
25137
25138 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
25139 the null byte at the end of strings.
25140 * gdb.t00/default.exp: Make show version insensitive to copyright
25141 date.
25142 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
25143 to avoid dependencies on target char signedness.
25144 * gdb.t16/printcmds.exp: Update expected results for explicitly
25145 unsigned char.
25146 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
25147 now work.
25148 * gdb.t21/demangle.exp: Add many more patterns for template
25149 demangling, most of them being expected failures.
25150 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
25151 string we are matching for, to match on the whole string.
25152 * gdb.t21/demangle.exp: Add many new test strings to demangle,
25153 and fix a whole bunch that had incorrect expected output but were
25154 passing anyway because of the bug in "proc demangle".
25155 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
25156 type.
25157 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
25158
25159Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
25160
a9c64011
AS
25161 * gdb/testsuite: made modifications to testcases, etc., to allow
25162 them to work properly given the reorganization of deja-gnu and the
25163 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
25164
25165Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
25166
25167 * gdb/testsuite: Initial creation of gdb/testsuite.
25168 Migrated dejagnu testcases and support files for testing nm to
25169 gdb/testsuite from deja-gnu. These files were moved "as is"
25170 with no modifications. This migration is part of a major overhaul
25171 of dejagnu. The modifications to these testcases, etc., which
25172 will allow them to work with the new version of dejagnu will be
25173 made in a future update.
48efe704 25174
8d8cb839 25175 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 25176\f
8d8cb839
EZ
25177;; Local Variables:
25178;; mode: change-log
25179;; left-margin: 8
25180;; fill-column: 74
25181;; version-control: never
25182;; End:
902f2ccb
MC
25183
25184 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
ed6df200 25185 2003, 2004, 2005 Free Software Foundation, Inc.
902f2ccb
MC
25186 Copying and distribution of this file, with or without modification,
25187 are permitted provided the copyright notice and this notice are preserved.
This page took 2.818818 seconds and 4 git commands to generate.