]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
* as.c (main): Define .gasversion. rather than __GAS_VERSION__.
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
9ec72168
JK
12011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2
3 * gdb.cp/namespace-enum.exp (executable): New variable.
4 (binfile): Use ${objdir}/${subdir}/ prefix.
5 Use ${executable} for clean_restart.
6
9c6c53f7
SA
72011-10-11 Sterling Augustine <saugustine@google.com>
8
9 * gdb.cp/Makefile.in: Add namespace-enum test.
10 * gdb.cp/namespace-enum.exp: New file.
11 * gdb.cp/namespace-enum.c: New file.
12 * gdb.cp/namespace-enum-main.c: New file.
13
fac7ceb3
UW
142011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
15
16 * gdb.python/py-shared.exp: Relax filename check to handle remote:
17 sysroot.
18
941b2081
JK
192011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
20
21 Reimplement @entry in input expressions.
22 * gdb.base/exprs.c (v_int_array_init): New variable.
23 * gdb.base/exprs.exp (print v_int_array_init)
24 (print *v_int_array_init@1, print *v_int_array_init@2)
25 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
26 (print v_int_array_init[1]@1): New tests.
27
0344e878
JM
282011-10-10 Joseph Myers <joseph@codesourcery.com>
29
30 * gdb.cp/gdb2495.exp: Do not include directories in filename in
31 expected message.
32
5a56e9c5
DE
332011-10-09 Doug Evans <dje@google.com>
34
35 * gdb.base/alias.exp: Add tests for alias command.
36
2bda9cc5
JK
372011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
38
39 * gdb.arch/amd64-entry-value.s: New file.
40 * gdb.mi/mi2-amd64-entry-value.s: New file.
41
a471c594
JK
422011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
43
44 Display @entry parameter values even for references.
45 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
46 functions.
47 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
48 reference and datap_input.
49 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
50 breakpoints.
51 (continue to breakpoint: entry_reference: reference)
52 (entry_reference: bt at entry)
53 (continue to breakpoint: entry_reference: breakhere_reference)
54 (entry_reference: bt, entry_reference: ptype regparam)
55 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
56 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
57 (entry_reference: p regcopy, entry_reference: p nodataparam)
58 (entry_reference: p nodataparam@entry): New tests.
59
36b11add
JK
602011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
61
62 Support @entry in input expressions.
63 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
64 (entry_stack: p s1@entry, entry_stack: p s2@entry)
65 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
66 (tailcall: p j@entry): New tests.
67 * gdb.cp/koenig.cc (A::entry): New function.
68 (main): Call it.
69 * gdb.cp/koenig.exp (p entry (c)): New test.
70
e18b2753
JK
712011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
72
73 Display @entry parameter values (without references).
74 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
75 (different, validity, invalid): New functions.
76 (main): Call them.
77 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
78 stacktest, breakhere_stacktest, different, breakhere_different,
79 breakhere_validity and breakhere_invalid.
80 (entry: bt): Update for @entry.
81 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
82 (entry_validity: *, entry_invalid: *): Many new tests.
83 * gdb.base/break.exp
84 (run until breakpoint set at small function, optimized file): Accept
85 also the @entry suffix.
86 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
87 * gdb.mi/mi2-amd64-entry-value.c: New files.
88 * gdb.mi/mi2-amd64-entry-value.exp: New files.
89
2d6c5dc2
JK
902011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
91
92 Protect entry values against self tail calls.
93 * gdb.arch/amd64-entry-value.cc (self2, self): New.
94 (main): Call self.
95 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
96 (set debug entry-values 1, self: bt debug entry-values): New tests.
97
111c6489
JK
982011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
99
100 Recognize virtual tail call frames.
101 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
102 (amb_b, amb_a): New.
103 (main): Call a and b.
104 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
105 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
106 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
107 New tests.
108
8e3b41a9
JK
1092011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
110
111 Implement basic support for DW_TAG_GNU_call_site.
112 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
113 * gdb.arch/amd64-entry-value.cc: New file.
114 * gdb.arch/amd64-entry-value.exp: New file.
115
181cebd4
JK
1162011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
117
118 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
119 * gdb.dwarf2/implptr-64bit.S: New file.
120 * gdb.dwarf2/implptr-64bit.exp: New file.
121
741f5e3c
JK
1222011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
123
124 Fix initial language detection with -readnow.
125 * gdb.cp/readnow-language.cc: New file.
126 * gdb.cp/readnow-language.exp: New file.
127
a73d2258
JK
1282011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
129
130 Fix printed anonymous struct name.
131 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
132
af369495
JM
1332011-10-09 Joseph Myers <joseph@codesourcery.com>
134
135 * gdb.base/solib-symbol.exp: Do not include directories in
136 filenames in expected messages.
137
1fa57852
DE
1382011-10-07 Doug Evans <dje@google.com>
139
140 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
141
bd054e06
KP
1422011-10-07 Kevin Pouget <kevin.pouget@st.com>
143
144 Allow Python notification of new object-file loadings.
145 * gdb.python/py-events.exp: Test newobjfile event.
146 * gdb.python/py-events.py: Register newobjfile callback.
147 * gdb.python/py-events.c: Add call to shared library
148 * gdb.python/py-events-shlib.c: New file.
149
8031b6f8
JM
1502011-10-06 Joseph Myers <joseph@codesourcery.com>
151
152 * gdb.base/fixsection.exp: Do not include directories in filename
153 in expected message.
154
7fea6923
PM
1552011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
156
157 Add tests for passing of environment variables to inferior.
158 * gdb.base/testenv.c: New test source.
159 * gdb.base/testenv.exp: New expect test.
160
687f2a88
PK
1612011-10-04 Paul Koning <paul_koning@dell.com>
162
163 * gdb.python/py-value.c (main): Break before return.
164
cb6be26b
KP
1652011-10-04 Kevin Pouget <kevin.pouget@st.com>
166
167 PR python/12691: Add the inferior to Python exited event
168 * gdb.python/py-events.exp: Test the inferior attribute of exited
169 event with a fork.
170 * gdb.python/py-events.py: Print inferior number on exit.
171 * gdb.python/py-events.c: Fork the inferior.
172
fb213700
EBM
1732011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
174
175 * gdb.base/jit.exp: Add testcase name to log message
176
aa2071bd
PK
1772011-10-03 Paul Koning <paul_koning@dell.com>
178 Jan Kratochvil <jan.kratochvil@redhat.com>
179
180 * gdb.python/py-value.exp
181 (python inval = gdb.parse_and_eval('*(int*)0'))
182 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
183 (set argc=2, python print argc_lazy): New tests.
184
dd11a36c
JB
1852011-10-02 Joel Brobecker <brobecker@adacore.com>
186
187 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
188
46f886f1
JK
1892011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
190 Pedro Alves <pedro@codesourcery.com>
191
192 * gdb.python/py-value.exp (test_value_in_inferior): New variable
193 can_read_0, test for it.
194 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
195 (parse_and_eval with memory error): ... here, make it untested if
196 can_read_0.
197
c5cb204f
MP
1982011-09-30 Marek Polacek <mpolacek@redhat.com>
199
200 * gdb.python/python.exp (verify pagination beforehand)
201 (verify pagination afterwards): Fix race by splitting the line.
202
68fb0ec0
JM
2032011-09-29 Joseph Myers <joseph@codesourcery.com>
204
205 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
206 for 64-bit multilibs from i?86-* targets.
207
6aee0d90
MP
2082011-09-29 Marek Polacek <mpolacek@redhat.com>
209
210 * lib/gdb.exp: Fix a typo in one of the comments.
211
e9101ff5
MP
2122011-09-29 Marek Polacek <mpolacek@redhat.com>
213
214 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
215 matching pattern.
216
7a81bdbf
PK
2172011-09-28 Paul Koning <paul_koning@dell.com>
218
219 * gdb.python/py-type.c (enum E): New.
220 * gdb.python/py-type.exp (test_fields): Add tests for Python
221 mapping access to fields.
222 (test_enums): New test for field access on enums.
223
6710bf39
SS
2242011-09-27 Stan Shebs <stan@codesourcery.com>
225
226 * gdb.trace/collection.exp: Test collection of $_ret.
227
b2a6bdeb
AT
2282011-09-22 Andreas Tobler <andreast@fgznet.ch>
229
230 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
231 list of compilation switches for <*-*-freebsd*>.
232
3c9057f3
SS
2332011-09-19 Stan Shebs <stan@codesourcery.com>
234
235 * gdb.trace/tspeed.exp: New file.
236 * gdb.trace/tspeed.c: New file.
237
34518530
YQ
2382011-09-18 Yao Qi <yao@codesourcery.com>
239
240 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
241 instructions.
242 (test_adr_32bit, test_pop_pc): Likewise.
243 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
244 Thumb instructions.
245 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
246 in gdb_test_multiple.
247 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
248
ab254057
YQ
2492011-09-17 Yao Qi <yao@codesourcery.com>
250
251 * lib/gdb.exp (can_single_step_to_signal_handler): New.
252 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
253 support single step to signal handler.
254
9c317b71
YQ
2552011-09-17 Yao Qi <yao@codesourcery.com>
256
257 * gdb.base/disp-step-fork.c: New.
258 * gdb.base/disp-step-syscall.exp: New.
259 * gdb.base/disp-step-vfork.c: New.
260
a8123151
JB
2612011-09-16 Joel Brobecker <brobecker@adacore.com>
262
263 * gdb.ada/tasks.exp: Make the expected output for
264 the `info tasks' tests more resilient to spacing
265 changes.
266
63a9aad8
JK
2672011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
268
269 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
270 (reached breakpoint 2, reached breakpoint 3): Update expected output.
271
2aa48337
KP
2722011-09-15 Kevin Pouget <kevin.pouget@st.com>
273
274 PR Python/12692 Add gdb.selected_inferior() to Python interface.
275 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
276
6839b47f
KP
2772011-04-30 Kevin Pouget <kevin.pouget@st.com>
278
279 Handle multiple breakpoint hits in Python interface:
280 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
281 presence.
282 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
283 breakpoint hits.
284
0935723e
JK
2852011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
286 Jan Kratochvil <jan.kratochvil@redhat.com>
287
288 * gdb.python/py-events.exp: Remove pretty printing comment.
289 * gdb.python/py-evsignal.exp: New file.
290 * gdb.python/py-evthreads.c: Include signal.h.
291 (thread3): Remove variable count3. Remove variable bad and use raise
292 instead.
293 (thread2): Remove variable count2. Move thread3 pthread_create here,
294 merge pthread_join to a single line.
295 (main): Remove variable count1. Merge pthread_join with pthread_create
296 to a single line.
297 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
298 KFAIL python/12966 for gdbserver. Test return value of
299 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
300 gdb_expect by gdb_test and gdb_test_multiple.
301 (thread 2, thread 3): New tests.
302
4801a9a3
PA
3032011-09-12 Matt Rice <ratmice@gmail.com>
304 Pedro Alves <pedro@codesourcery.com>
305
306 PR gdb/13175
307
308 * gdb.base/interp.exp: New tests.
309 * gdb.base/interp.c: New file.
310
24ece742
DE
3112011-09-12 Doug Evans <dje@google.com>
312
313 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
314 * gdb.dwarf2/typeddwarf.exp: Ditto.
315
7f062217
JK
3162011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
317
318 Fix compatibility with x32 arch.
319 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
320 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
321 is_x86_like_target.
322 * testsuite/gdb.trace/collection.exp: Likewise.
323 * testsuite/gdb.trace/report.exp: Likewise.
324 * testsuite/gdb.trace/unavailable.exp: Likewise.
325 * testsuite/gdb.trace/while-dyn.exp: Likewise.
326 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
327 (is_x86_like_target): Check also is_amd64_regs_target.
328
08711b9a
JK
3292011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
330
331 PR breakpoints/12435
332 * gdb.arch/amd64-prologue-xmm.c: New file.
333 * gdb.arch/amd64-prologue-xmm.exp: New file.
334 * gdb.arch/amd64-prologue-xmm.s: New file.
335
b99b5f66
JK
3362011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
337
338 * gdb.dwarf2/dw2-param-error-main.c: New file.
339 * gdb.dwarf2/dw2-param-error.S: New file.
340 * gdb.dwarf2/dw2-param-error.exp: New file.
341
a391a2f6
PA
3422011-09-08 Pedro Alves <pedro@codesourcery.com>
343
344 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
345 inferior's pid and look for a core dump named core.$pid. Use
346 `remote_file' commands on the host instead of hand coding shell
347 commands on the build.
348 * gdb.base/valgrind-db-attach.exp: Kill the program before
349 finishing the test.
350
7d8e6458 3512011-09-02 Matt Rice <ratmice@gmail.com>
352
353 * lib/prompt.exp: New file for testing the first prompt.
354 * gdb.python/py-prompt.exp: Ditto.
355 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
356
68e77c9e
PA
3572011-09-02 Pedro Alves <pedro@codesourcery.com>
358
359 * gdb.threads/gcore-thread.exp: Set the global core_supported to
360 0, before testing gcore.
361
9655e943
JK
3622011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
363
df6dc84d
JK
364 * dw2-ifort-parameter-debug.S: Update copyright year.
365 * dw2-ifort-parameter.c: Update copyright year.
366 * dw2-ifort-parameter.exp: Update copyright year.
367
9655e943
JK
368 * dw2-ifort-parameter-debug.S: New file.
369 * dw2-ifort-parameter.c: New file.
370 * dw2-ifort-parameter.exp: New file.
371
353d1d73
JK
3722011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
373
374 * gdb.base/commands.exp (error_clears_commands_left): New function.
375 (): Call it.
376
5c07461a
JK
3772011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
378
379 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
380 (C): Initialize `a'.
381 * gdb.mi/mi-inheritance-syntax-error.exp
382 (-data-evaluate-expression $path): Expect `a' as 5.
383
0d932b2f
MK
3842011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
385
386 PR mi/11912
387 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
388 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
389 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
390 keyword in output of -var-info-path-expression.
391
bdb54049
JK
3922011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
393
394 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
395 * gdb.trace/collection.exp: Likewise.
396 * gdb.trace/report.exp: Likewise.
397 * gdb.trace/unavailable.exp: Likewise.
398 * gdb.trace/while-dyn.exp: Likewise.
399
59cde39c
KS
4002011-08-18 Keith Seitz <keiths@redhat.com>
401
402 PR c++/12266
403 * gdb.cp/meth-typedefs.cc: New file.
404 * gdb.cp/meth-typedefs.exp: New file.
405
fa3a4f15
PM
4062011-08-17 Phil Muldoon <pmuldoon@redhat.com>
407
408 * gdb.python/python.exp: Add extended-prompt tests.
409
c1049fca
JK
4102011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
411
412 * gdb.arch/i386-dr3-watch.exp
413 (watchpoint on gap1 does not fit debug registers)
414 (delete all watchpoints): Fix racy expect strings.
415
d93f7b5c
YQ
4162011-08-14 Yao Qi <yao@codesourcery.com>
417
418 * gdb.base/maint.exp: set data_section to ".neardata".
419 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
420 * gdb.base/savedregs.exp: Handle SIGILL.
421 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
422 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
423
457e09f0
DE
4242011-08-12 Doug Evans <dje@google.com>
425
426 * gdb.python/py-symbol.exp: Add test for symbol.type.
427
5d0bb2fb
UW
4282011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
429
430 * gdb.threads/pthreads.exp: Enable on non-native configurations.
431 * gdb.mi/mi-pthreads.exp: Likewise.
432 * gdb.mi/mi2-pthreads.exp: Likewise.
433 * gdb.mi/gdb669.exp.exp: Likewise.
434
fcdfa280
PA
4352011-08-09 Pedro Alves <pedro@codesourcery.com>
436
437 * lib/mi-support.exp (detect_async): Rename to...
438 (mi_detect_async): ... this.
439 * gdb.mi/mi-nonstop-exit.exp: Adjust.
440 * gdb.mi/mi-nonstop.exp: Adjust.
441 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
442 * gdb.mi/mi-nsintrall.exp: Adjust.
443 * gdb.mi/mi-nsmoribund.exp: Adjust.
444 * gdb.mi/mi-nsthrexec.exp: Adjust.
445
9d8fa392
PA
4462011-08-09 Pedro Alves <pedro@codesourcery.com>
447
448 * gdb.base/display.c (do_loops): New `p_i' local.
449 * gdb.base/display.exp: Test displaying a variable that is
450 temporarily at a bad address.
451
b6cede78
JK
4522011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
453
454 * gdb.dwarf2/dw2-op-stack-value.S: New file.
455 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
456
67bedb8c
JK
4572011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
458
459 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
3c542bc3
JK
460 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
461 (p fuNC_symtab): Permit also ppc64 leading dot.
67bedb8c 462
af6e93b2
PA
4632011-08-05 Pedro Alves <pedro@codesourcery.com>
464
465 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
466 procedure.
467 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
468
1cf0e11f
YQ
4692011-08-05 Yao Qi <yao@codesourcery.com>
470
471 * gdb.base/callfuncs.exp: Set language after main.
472 * gdb.cp/cplusfuncs.exp: Likewise.
473 * gdb.cp/inherit.exp: Likewise.
474
a1e28cb2
UW
4752011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
476
477 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
478 * gdb.base/watch-vfork.exp: Skip on remote targets.
479
d4f5bbb9
UW
4802011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
481
482 * gdb.threads/thread-find.exp: Support remote targets.
483
724f4f80
UW
4842011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
485
486 * gdb.base/jit.exp: Download solib_binfile to target.
487 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
488 and call dlopen without full path name.
489 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
490 dlopen without full path name.
491
934709f0
PW
4922011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
493
494 * gdb.base/break-always.exp: Complete the test
495 with duplicated breakpoints and enabling/disabling them.
496
c26106c4
TT
4972011-08-02 Tom Tromey <tromey@redhat.com>
498
499 PR gdb/11289:
500 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
501
9300444e 5022011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
fbe12357
PP
503
504 PR gdb/13045
505 * gdb.base/float.exp: Add new test case for PR gdb/13045
506 * gdb.base/float.c: New file.
507
00bd41d6
PM
5082011-07-28 Phil Muldoon <pmuldoon@redhat.com>
509
510 * gdb.python/py-mi.exp: Test printers returning string hint, and
511 also not returning a value.
512 * gdb.python/py-prettyprint.c: Add testcase for above.
513 * gdb.python/py-prettyprint.py: Add test printer for above.
514
d24f74ce
JK
5152011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
516
517 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
518 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
519 (.Ldie30) Add as field "data4".
520 (.Ldie32) Rename field "b" to "shl".
521 (abbrev4) Change for the "data4" field.
522 (abbrev5, abbrev6) Remove.
523 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
524 (p &s.shl): ... here. Add comment.
525 (p &s.data4): New.
526
bb7da2bf
JK
5272011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
528
529 Fix crash on lval_computed values.
530 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
531
11081198
JK
5322011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
533
534 * gdb.base/help.exp (help whatis): Update the expected string.
535
3c6e0cb3
JK
5362011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
537
538 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
539 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
540 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
541 Change the expected string.
542
efa80663
PA
5432011-07-26 Pedro Alves <pedro@codesourcery.com>
544
545 * gdb.base/watchpoint.exp
546 (test_disable_enable_software_watchpoint): New procedure.
547 (top level): Run it.
548
db8e4570
UW
5492011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
550
551 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
552 executable file "${binfile}", C++ version "${binfile}-cxx".
553 * gdb.python/py-prettyprint.exp: Likewise.
554 * gdb.python/py-symbol.exp: Likewise.
555 * gdb.python/py-type.exp: Likewise.
556 * gdb.python/py-value.exp: Likewise.
557 * gdb.python/py-template.exp (test_template_arg): Pass full executable
558 file name instead of just suffix.
559
543305c9
JK
5602011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
561
562 Fix implicit pointer offsets.
563 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
564 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
565 (continue to breakpoint: continue to baz breakpoint for implptr)
566 (sanity check element 0, sanity check element 1)
567 (enter the inlined function, check element 0 for the offset)
568 (check element 1 for the offset)
569 (continue to breakpoint: ignore the second baz breakpoint): New tests.
570 (set foo breakpoint for implptr): Update the breakpoint number.
571
b3215adc
UW
5722011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
573
574 * gdb.python/py-mi.exp: Use different file names for different
575 versions of the executable under test.
576 * gdb.python/py-prettyprint.exp: Likewise.
577 * gdb.python/py-symbol.exp: Likewise.
578 * gdb.python/py-template.exp: Likewise.
579 * gdb.python/py-type.exp: Likewise.
580 * gdb.python/py-value.exp: Likewise.
581
182b9acc
UW
5822011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
583
584 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
585 flag after restarting GDB if necessary.
586
e6052b5d
UW
5872011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
588
589 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
590
1ced966e
PA
5912011-07-22 Pedro Alves <pedro@codesourcery.com>
592
593 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
594 backend doesn't leave used debug registers behind.
595
3543a589
TT
5962011-07-22 Tom Tromey <tromey@redhat.com>
597
598 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
599 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
600 argument.
601 * gdb.dwarf2/typeddwarf-amd64.S: New file.
602
14d15303 6032011-07-21 Matt Rice <ratmice@gmail.com>
604
605 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
606 in mostlyclean rule. Add files ending in .core.
607
9b158ba0 6082011-07-21 Matt Rice <ratmice@gmail.com>
609
610 PR macros/12999
611 * gdb.base/info-macros.c: New test sources.
612 * gdb.base/info-macros.exp: New tests.
613
d17b6f81
PM
6142011-07-21 Phil Muldoon <pmuldoon@redhat.com>
615
616 * gdb.python/python.exp: Add prompt substitution tests.
617
918dd910
JK
6182011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
619
620 Fix crash if referenced CU is aged out.
621 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
622 New.
623 * gdb.dwarf2/implptr.exp: Likewise.
624
0e37a63c
JK
6252011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
626
627 * gdb.dwarf2/implptr.S: Rebuilt.
628 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
629 (bar): Use them for j, k, l.
630 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
631 COMPILE.
632 (print j in implptr:bar): Update for the intp typedef.
633 (print p[0].x in implptr:foo): Use more exact regex.
634
f65cf84c
TT
6352011-07-18 Tom Tromey <tromey@redhat.com>
636
637 * gdb.cp/static-method.exp: Add missing single quote.
638
d5b4a7be
YQ
6392011-07-18 Yao Qi <yao@codesourcery.com>
640
641 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
642 supported.
643 * gdb.mi/mi-nonstop-exit.exp: Likewise.
644 * gdb.mi/mi-nonstop.exp: Likewise.
645 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
646 * gdb.mi/mi-nsintrall.exp: Likewise.
647 * gdb.mi/mi-nsmoribund.exp: Likewise.
648 * gdb.mi/mi-nsthrexec.exp: Likewise.
649 * gdb.python/py-evthreads.exp: Likewise.
650
e9ea2662
JK
6512011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
652
653 Code cleanup.
654 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
655 it. Substitute it instead of test_compiler_info everywhere.
656
ce451573
UW
6572011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
658
659 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
660 remote targets as well.
661
756d88a7
UW
6622011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
663
664 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
665 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
666
31f83dc5
UW
6672011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
668
669 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
670 a remote machine, not the host.
671 (gdb_compile_shlib): Set soname if target is remote.
672
059241a0
PP
6732011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
674
675 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
676
28a0b48c 6772011-07-13 Matt Rice <ratmice@gmail.com>
678
679 * gdb.python/py-objfile-script-gdb.py: Renamed to
680 py-objfile-script-gdb.py.in.
681 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
682 py-objfile-script-gdb.py.
683 * gdb.python/py-objfile-script.exp: Update reference to
684 py-objfile-script-gdb.py.
685
9a771b67
JK
6862011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
687
688 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
689 reference undefined label.
690
04ad99e6
JK
6912011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
692
693 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
694 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
695 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
696 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
697
713389e0
PM
6982011-07-11 Phil Muldoon <pmuldoon@redhat.com>
699
700 PR python/12438
701 * gdb.python/python.exp: Add maint set/show python print-stack
702 deprecated tests. Add set/show python print-backtrace tests.
703
97d146f8
JK
7042011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
705
706 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
707 debug info.
708
facde0e5 7092011-07-06 Matt Rice <ratmice@gmail.com>
710
711 * gdb.python/python.exp: Update filename paths.
712 * gdb.python/py-symtab.exp: Ditto.
713
438640d1
MP
7142011-07-06 Marek Polacek <mpolacek@redhat.com>
715
716 * gdb.python/py-evthreads.exp: Add missing `$'.
717
33a365df
MF
7182011-07-06 Jie Zhang <jie.zhang@analog.com>
719
720 * config/bfin.exp: New file.
721 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
722 * gdb.asm/bfin.inc: New file.
723
8f7ae686
MP
7242011-07-06 Marek Polacek <mpolacek@redhat.com>
725
df46027d 726 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
8f7ae686
MP
727 the whole output.
728
eb2a6f42
TT
7292011-07-05 Tom Tromey <tromey@redhat.com>
730
731 * gdb.java/jprint.java (jprint.hi): New field.
732 * gdb.java/jprint.exp: Print string.
733
177b42fe
TJB
7342011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
735
736 * gdb.base/call-sc.c: Fix typos.
737 * gdb.base/ifelse.exp: Likewise.
738 * gdb.base/structs.c: Likewise.
739
3b2a0cf2
JB
7402011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
741
742 * gdb.base/jit-so.exp: New test.
743 * gdb.base/jit-dlmain.c: New file.
744 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
745
46fc714c
JK
7462011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
747
748 * gdb.cp/m-static.exp: Call get_compiler_info.
e17476d7
JK
749 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
750 * gdb.cp/pr9167.exp (p b): Likewise.
751 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
752 (test value of P in inner_m, test type of Z in inner_m): Call
753 setup_xfail for gcc <= 4.5.
46fc714c 754
418c7cf7
JK
7552011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
756
757 * gdb.cp/paren-type.cc: New files.
758 * gdb.cp/paren-type.exp: New files.
759
3d50dd94
JK
7602011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
761
762 Stop on first linespec terminator instead of eating what we can.
763 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
764 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
765 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
766 (break C::f()): ... this one.
767 (break C::operator()()): New test.
768 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
769 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
770 test.
771
dcf9f4ab
JK
7722011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
773
774 Fall back linespec to minimal symbols.
775 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
776 error message.
777 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
778 * gdb.cp/minsym-fallback-main.cc: New file.
779 * gdb.cp/minsym-fallback.cc: New file.
780 * gdb.cp/minsym-fallback.exp: New file.
781 * gdb.cp/minsym-fallback.h: New file.
782
3f542ed1
JK
7832011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
784
785 * gdb.cp/no-dmgl-verbose.cc: New file.
786 * gdb.cp/no-dmgl-verbose.exp: New file.
787
7882011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
900e11f9
JK
789
790 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
791 __GI_.
792 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
793 (f): New function.
794 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
795 (complete p 'func<short>(): ... here.
796 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
797 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
798 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
799 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
800 Make them KFAIL gcc/49546.
801
00eb2c4a
JB
8022011-07-01 Joel Brobecker <brobecker@adacore.com>
803
804 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
805
85a20c42
JK
8062011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
807
808 Test GCC PR debug/49546.
809 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
810 (test type of F in k3_m, test value of F in k3_m): New.
811 * gdb.cp/temargs.cc (struct S3, struct K3): New.
812 (main): New variable k3. Call k3.k3_m.
813
d2d43431
JB
8142011-07-01 Jean-Charles Delay <delay@adacore.com>
815
816 * gdb.ada/packed_array.exp: Fix expected outout.
817
54ae186f
JB
8182011-07-01 Jean-Charles Delay <delay@adacore.com>
819
820 * gdb.ada/packed_array.exp: fixed expected output.
821
8f17729f
JB
8222011-07-01 Joel Brobecker <brobecker@adacore.com>
823
824 * gdb.ada/same_enum: New testcase.
825
f5aa6869
JB
8262011-07-01 Joel Brobecker <brobecker@adacore.com>
827
828 * gdb.ada/ptr_typedef: New testcase.
829
828292f2
JB
8302011-07-01 Joel Brobecker <brobecker@adacore.com>
831
832 * gdb.ada/arrayptr.exp: Add ptype test.
833
18920c42
JB
8342011-07-01 Joel Brobecker <brobecker@adacore.com>
835
836 * gdb.ada/char_enum: New testcase.
837
3536d9e3 8382011-07-01 Yao Qi <yao@codesourcery.com>
54aeeb99
YQ
839
840 * gdb.base/dump.exp (capture_pointer_with_type): New.
841 Get value from address instead of name.
842 Start GDB once, and do `dump' and `restore'
843 tests together.
844
db863c42
MF
8452011-06-30 Jie Zhang <jie.zhang@analog.com>
846 Mike Frysinger <vapier@gentoo.org>
847
848 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
849 helper functions for getting/setting remotetimeout variable.
850 * lib/gdb.exp (gdb_load): If the target is remote, set
851 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
852 with $loadtimeout. Set $load_ok to 0 before doing the load.
853 Instead of returning, immediately, set $load_ok to 0. Call
854 set_remotetimeout with $oldremotetimeout, and then return if
855 $load_ok is 1.
856
e9e642a8
AB
8572011-06-30 Andrew Burgess <aburgess@broadcom.com>
858
859 * gdb.python/py-template.exp: Don't run this test if the target
860 does not support c++ tests.
861
32019081
JK
8622011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
863
864 Fix non-only rename list for Fortran modules import.
865 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
866 tests.
867 * gdb.fortran/module.f90 (module moduse): New.
868 (program module): use moduse, test var_x, var_y and var_z.
869
0ecee54c
TT
8702011-06-29 Tom Tromey <tromey@redhat.com>
871
872 PR testsuite/12040:
873 * gdb.fortran/array-element.exp: Use f90, not f77.
874 * gdb.fortran/complex.exp: Use f90, not f77.
875 * gdb.fortran/derived-type.exp: Use f90, not f77.
876 * gdb.fortran/library-module.exp: Use f90, not f77.
877 * gdb.fortran/logical.exp: Use f90, not f77.
878 * gdb.fortran/module.exp: Use f90, not f77.
879 * gdb.fortran/multi-dim.exp: Use f90, not f77.
880 * gdb.fortran/subarray.exp: Use f90, not f77.
881
3b2b8fea
TT
8822011-06-29 Tom Tromey <tromey@redhat.com>
883
884 * gdb.fortran/charset.exp: New file.
885 * gdb.fortran/charset.f90: New file.
886
42159ca5
TT
8872011-06-29 Tom Tromey <tromey@redhat.com>
888
889 PR testsuite/12040:
890 * lib/future.exp: New file, mostly extracted from ada.exp.
891 Rewrote compatibility code to use rename.
892 (gdb_find_gfortran): New proc.
893 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
894 gfortran patch.
895 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
896 Move to future.exp.
897 * lib/gdb.exp: Always load future.exp.
898
af69a5ce
YQ
8992011-06-28 Yao Qi <yao@codesourcery.com>
900
901 * gdb.cp/exception.cc: Don't include iostream.
902 (bar): Remove print statement.
903 (catcher): New.
904 (main): Remove print statements. Call function catcher.
905 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
906 Set breakpoint on catcher, and check the value of parameter.
907
ab5c6a72
YQ
9082011-06-23 Yao Qi <yao@codesourcery.com>
909
910 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check breakpoint
911 1.2 is disabled. KFAIL for uclinux.
912
9497469f
MP
9132011-06-23 Marek Polacek <mpolacek@redhat.com>
914
915 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
916 mi_gdb_test.
917
b9132588
MP
9182011-06-23 Marek Polacek <mpolacek@redhat.com>
919
5d197ed0 920 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
b9132588 921
e55595ca
MP
9222011-06-23 Marek Polacek <mpolacek@redhat.com>
923
5d197ed0
MP
924 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
925
9262011-06-23 Marek Polacek <mpolacek@redhat.com>
927
928 * gdb.mi/mi2-basics.exp: Fix races. Honour the
929 `test_exec_and_symbol_mi_operatons' return value.
930 (test_mi_interpreter_selection): Use mi_gdb_test instead of
931 gdb_test_multiple.
932 (test_exec_and_symbol_mi_operatons): Likewise.
933 (test_path_specification): Likewise.
e55595ca 934
be777e08
YQ
9352011-06-23 Yao Qi <yao@codesourcery.com>
936
937 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
938 supported.
939 * lib/gdb.exp (support_displaced_stepping): New.
940
615556d6
YQ
9412011-06-23 Yao Qi <yao@codesourcery.com>
942
943 * gdb.threads/execl.exp: Skip on remote target.
944
833b0ca7
MP
9452011-06-21 Marek Polacek <mpolacek@redhat.com>
946
5d197ed0 947 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
833b0ca7
MP
948 mi_gdb_test.
949
1ee4023a
MP
9502011-06-20 Marek Polacek <mpolacek@redhat.com>
951
5d197ed0 952 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1ee4023a 953
d0b1d624
MP
9542011-06-20 Marek Polacek <mpolacek@redhat.com>
955
5d197ed0 956 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
d0b1d624
MP
957 mi_gdb_test.
958
79aa92c1
MP
9592011-06-20 Marek Polacek <mpolacek@redhat.com>
960
5d197ed0 961 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
79aa92c1 962
5ce5db06
YQ
9632011-06-14 Yao Qi <yao@codesourcery.com>
964
965 gdb/testsuite/
966 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
967
533a737e
JK
9682011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
969
970 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
971
d0e53741
TT
9722011-06-10 Tom Tromey <tromey@redhat.com>
973
974 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
975 Add tests for pointer-to-member-function.
976 * gdb.cp/temargs.cc (S::somefunc): New function.
977 (K2): New class.
978 (main): Instantiate K2; call method.
979
b5916bbd
JB
9802011-06-08 Joel Brobecker <brobecker@adacore.com>
981
982 * gdb.python/py-inferior.c (f2): Make str an array rather
983 than a pointer.
984 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
985
5be4dfca
JK
9862011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
987
988 * gdb.base/async-shell.c: New file.
989 * gdb.base/async-shell.exp: New file.
990
9f47e254
PA
9912011-06-06 Pedro Alves <pedro@codesourcery.com>
992
993 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
994
64b9b334
JB
9952011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
996
997 From Stephen Kitt <steve@sk2.org>
998 * gdb.base/help.exp: Adjust following some spelling corrections
999 in GDB.
1000
dbc0f131
YQ
10012011-06-01 Yao Qi <yao@codesourcery.com>
1002
1003 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
1004
fd336a18
KS
10052010-05-31 Keith Seitz <keiths@redhat.com>
1006
1007 PR c++/12750
1008 * gdb.cp/static-method.cc: New file.
1009 * gdb.cp/static-method.exp: New file.
1010
fa8b9902
KS
10112010-05-31 Keith Seitz <keiths@redhat.com>
1012
1013 PR symtab/12704
1014 * gdb.cp/anon-ns.cc: New file.
1015 * gdb.cp/anon-ns.exp: New file.
1016
0a5b1e09
PA
10172011-05-31 Pedro Alves <pedro@codesourcery.com>
1018
1019 * gdb.arch/i386-dr3-watch.c: New file.
1020 * gdb.arch/i386-dr3-watch.exp: New file.
1021
0578b8d1
YQ
10222011-05-30 Yao Qi <yao@codesourcery.com>
1023
1024 * gdb.base/callfuncs.c (t_structs_fc): New.
1025 (t_structs_dc, t_structs_ldc): New.
1026 (t_double_many_args):
1027 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
1028 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
1029 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
1030 * gdb.base/callfuncs.exp: Call new functions.
1031
6680506e
YQ
10322011-05-30 Yao Qi <yao@codesourcery.com>
1033
ff4d2c60
YQ
1034 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
1035 Call rerun_and_prepare for each test to isolate effects.
1036
10372011-05-30 Yao Qi <yao@codesourcery.com>
1038
1039 * gdb.base/varargs.c (find_max_float_real): New.
1040 (find_max_double_real, find_max_long_double_real): New.
1041 * gdb.base/varargs.exp: Call these new added functions.
6680506e
YQ
1042 * lib/gdb.exp (setup_kfail_for_target): New.
1043
e43ec454
YQ
10442011-05-30 Yao Qi <yao@codesourcery.com>
1045
1046 * gdb.base/funcargs.c (callca, callcb, callcc): New.
1047 (callcd, callce, callcf, callc1a, callc1b): New.
1048 (callc2a, callc2b): New.
1049 * gdb.base/funcargs.exp (complex_args): New.
1050 (complex_integral_args, complex_float_integral_args): New.
1051 * lib/gdb.exp (support_complex_tests): New. Determine
1052 whether to run test cases on _Complex types.
1053
432b4d03
JK
10542011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1055
1056 * gdb.threads/leader-exit.c: New file.
1057 * gdb.threads/leader-exit.exp: New file.
1058
6caf069d
MP
10592011-05-27 Marek Polacek <mpolacek@redhat.com>
1060
9497469f 1061 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
6caf069d 1062
97fce28b
MP
10632011-05-27 Marek Polacek <mpolacek@redhat.com>
1064
1065 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
1066 remove the `supported' variable.
1067 * gdb.mi/mi-nonstop.exp: Likewise.
1068 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1069 * gdb.mi/mi-nsintrall.exp: Likewise.
1070 * gdb.mi/mi-nsmoribund.exp: Likewise.
1071 * gdb.mi/mi-nsthrexec.exp: Likewise.
1072
9da8c2a0
PA
10732011-05-26 Pedro Alves <pedro@codesourcery.com>
1074
1075 * gdb.reverse/finish-reverse-bkpt.exp: New test.
1076
2c03e5be
PA
10772011-05-26 Pedro Alves <pedro@codesourcery.com>
1078
1079 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
1080
2e21250d
KS
10812011-05-24 Keith Seitz <keiths@redhat.com>
1082
1083 PR breakpoint/12803
1084 * gdb.cp/cmpd-minsyms.cc (a): New method.
1085 (b): New method.
1086 (c): New method.
1087 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
1088
cdac0397
PA
10892011-05-24 Pedro Alves <pedro@codesourcery.com>
1090
1091 * gdb.base/commands.exp (watchpoint_command_test): Check that the
1092 watchpoint's command list didn't execute when the watchpoint went
1093 out of scope.
1094
ee5683ab
PM
10952011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
1096
1097 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
1098 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
1099 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
1100 * gdb.arch/i386-gnu-cfi.exp: Likewise.
1101 * gdb.arch/i386-permbkpt.exp: Likewise.
1102 * gdb.arch/i386-prologue.exp: Likewise.
1103 * gdb.arch/i386-size-overlap.exp: Likewise.
1104 * gdb.arch/i386-size.exp: Likewise.
1105 * gdb.arch/i386-unwind.exp: Likewise.
1106 * gdb.reverse/i386-precsave.exp: Likewise.
1107 * gdb.reverse/i386-reverse.exp: Likewise.
1108 * gdb.reverse/i386-sse-reverse.exp: Likewise.
1109 * gdb.reverse/i387-env-reverse.exp: Likewise.
1110 * gdb.reverse/i387-stack-reverse.exp: Likewise.
1111
c91c8c16
PA
11122011-05-24 Pedro Alves <pedro@codesourcery.com>
1113
1114 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
1115 file doesn't error, using MI.
1116
c50491a7
TT
11172011-05-23 Tom Tromey <tromey@redhat.com>
1118
1119 * gdb.base/charset.exp (string_display): Add tests to assign to
1120 arrays.
1121 * gdb.base/charset.c (short_array, int_array, long_array): New.
1122
4a07b7da
PA
11232011-05-20 Pedro Alves <pedro@codesourcery.com>
1124
1125 Cope with async mode.
1126
4a07b7da
PA
1127 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
1128 into gdb_test + mi_expect_stop.
1129
b275f2d2
PA
11302011-05-20 Pedro Alves <pedro@codesourcery.com>
1131
1132 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
1133 (callme): Remove printf call.
1134
eec52c44
PM
11352011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
1136
1137 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
1138 quote pattern to avoid problems with Cygwin/mingw expect versions.
1139 * gdb.base/default.exp (show convenience): Use double
1140 quote pattern for regular expressions.
1141
b3c8eb43
JK
11422011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1143
1144 Fix -readnow for -gdwarf-4 unused type units.
1145 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
1146 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
1147
ed731959
JK
11482011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1149
1150 * gdb.base/kill-after-signal.c: New file.
1151 * gdb.base/kill-after-signal.exp: New file.
1152
3b48433d
PA
11532011-05-16 Pedro Alves <pedro@codesourcery.com>
1154
1155 * gdb.ada/start.exp: Call untested with the correct test filename.
1156 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
1157 test filename. Make the test's binary unique.
1158 * gdb.arch/i386-signal.exp: Call untested with the correct test
1159 filename.
1160 * gdb.arch/i386-size-overlap.exp: Ditto.
1161 * gdb.arch/Makefile.in (EXECUTABLES): Update.
1162 * gdb.base/gcore-buffer-overflow.exp: Ditto.
1163 * gdb.cp/call-c.exp: Ditto.
1164 * gdb.mi/mi-reverse.exp: Call untested with the correct test
1165 filename. Make the test's binary unique.
1166 * gdb.mi/Makefile.in (EXECUTABLES): Update.
1167 * gdb.python/py-mi.exp: Ditto.
1168 * gdb.python/Makefile.in (EXECUTABLES): Update.
1169 * gdb.reverse/i386-precsave.exp: Ditto.
1170 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
1171 test filename.
1172 * gdb.reverse/i387-stack-reverse.exp: Ditto.
1173 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
1174 unique.
1175 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
1176 test filename.
1177 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
1178 * gdb.trace/tfile.exp: Ditto.
1179
ba4a8bdd
YQ
11802011-05-14 Yao Qi <yao@codesourcery.com>
1181
1182 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
1183 type.
1184
dbaefcf7
DE
11852011-05-13 Doug Evans <dje@google.com>
1186
1187 * gdb.python/py-objfile-script.exp: New file.
1188 * gdb.python/py-objfile-script.c: New file.
1189 * gdb.python/py-objfile-script-gdb.py: New file.
1190 * testsuite/gdb.python/py-section-script.exp: Test
1191 "info auto-load-scripts".
1192
9930639c
TT
11932011-05-13 Tom Tromey <tromey@redhat.com>
1194
1195 * gdb.dwarf2/clztest.exp: New file.
1196 * gdb.dwarf2/clztest.c: New file.
1197 * gdb.dwarf2/clztest.S: New file.
1198
05272e11
DE
11992011-05-13 Doug Evans <dje@google.com>
1200
cc63ef9b
DE
1201 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
1202 String16 tests.
05272e11 1203
6edba76f
TT
12042011-05-13 Tom Tromey <tromey@redhat.com>
1205
1206 * lib/gdb.exp (is_x86_like_target): New proc.
1207 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
1208 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
1209 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
1210 -nostdlib to compiler.
1211 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
1212 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
1213 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
1214 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
1215 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
1216
028d0ed5
TJB
12172011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
1218
1219 * gdb.python/py-function.exp: Test setting a value from a function
1220 which executes a command.
1221
8a9b8146
TT
12222011-05-12 Tom Tromey <tromey@redhat.com>
1223
1224 * gdb.dwarf2/typeddwarf.S: New file.
1225 * gdb.dwarf2/typeddwarf.c: New file.
1226 * gdb.dwarf2/typeddwarf.exp: New file.
1227
10483e8e
MP
12282011-05-12 Marek Polacek <mpolacek@redhat.com>
1229
1230 * gdb.mi/mi-basics.exp: Fix races. Honour the
1231 `test_exec_and_symbol_mi_operatons' return value.
1232 (test_mi_interpreter_selection): Use mi_gdb_test instead of
1233 gdb_test_multiple.
1234 (test_exec_and_symbol_mi_operatons): Likewise.
1235 (test_path_specification): Likewise.
1236
faf067f1
JK
12372011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1238
1239 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
1240 (gdb_touch_execfile): Remove catch wrappers. New variable time.
1241 Replace `file copy' and `file rename' by `file mtime'. Twice.
1242
7ff911a3
JK
12432011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1244
1245 * gdb.base/readline-ask.c: New file.
1246 * gdb.base/readline-ask.exp: New file.
1247 * gdb.base/readline-ask.inputrc: New file.
1248
a536c6d7
UW
12492011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
1250
1251 * gdb.cell/bt.exp: Delete breakpoints before running to signal
1252 to avoid race condition.
1253 * gdb.cell/coremaker.c: Use small stack size.
1254 * gdb.cell/ea-standalone.exp: Use file name without path as
1255 argument to c_to.
1256 * gdb.cell/fork.exp: Allow other output when continuing to end.
1257
d472a426
JK
12582011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1259
1260 * gdb.threads/corethreads.c: New file.
1261 * gdb.threads/corethreads.exp: New file.
1262
12632011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
774094b8
JK
1264
1265 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
1266 Try to compile the test using -Wl,-z,norelro first.
1267 (load_core): New variable libthread_db_seen, initialize it.
1268 (zeroed-threads cannot be listed): Protect it by XFAIL on
1269 !$libthread_db_seen.
1270
8be455d7
JK
12712011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1272
1273 PR 12573
1274 * gdb.dwarf2/dw2-skip-prologue.S: New file.
1275 * gdb.dwarf2/dw2-skip-prologue.c: New file.
1276 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
1277
1976171a
JK
12782011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1279
1280 * gdb.cp/psymtab-parameter.cc: New file.
1281 * gdb.cp/psymtab-parameter.exp: New file.
1282
7db6f30f
JK
12832011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1284
1285 Fix a race.
1286 * gdb.cp/static-print-quit.exp (print c): Split to ...
1287 (print c - <return>, print c - q <return>, print c - to quit):
1288 ... these. Make the testfile untested on gdb-7.1.
1289
85161e9e 12902011-5-05 Janis Johnson <janisjo@codesourcery.com>
56744f0a
JJ
1291
1292 * lib/gdb.exp (exec_target_file, exec_symbol_file,
1293 gdb_rename_execfile, gdb_touch_execfile): New.
1294 * gdb.base/reread.exp: Use new procs to handle multiple
1295 exec files.
1296
0c51be18
YQ
12972011-05-05 Yao Qi <yao@codesourcery.com>
1298
1299 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
1300 (test_adr_32bit, test_pop_pc): New.
1301 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
1302 (test_adr_32bit, test_pop_pc): New.
1303
4d393d60
JM
13042011-05-04 Joseph Myers <joseph@codesourcery.com>
1305
1306 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
1307 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
1308 targets.
1309 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
1310 handle targets.
1311
8ffd0459
JK
13122011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1313
1314 * gdb.base/completion.exp (complete help info wat): Rename to ...
1315 (complete 'help info wat'): ... here.
1316 Remove all `-re ".*' and `-re "^.*' redundant regexes.
1317 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
1318
8e28d804
PA
13192011-05-04 Pedro Alves <pedro@codesourcery.com>
1320
1321 * gdb.base/completion.exp: Use gdb_test_multiple instead of
1322 gdb_test and explicit $gdb_prompt/timeout matches.
1323
3eb2ef34
YQ
13242011-05-04 Yao Qi <yao@codesourcery.com>
1325
1326 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
1327 and __thumb2__.
1328
aaaf81a3
MP
13292011-05-03 Marek Polacek <mpolacek@redhat.com>
1330
1331 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
1332 in place of `gdb_test "delete breakpoints"'. This eliminates two
1333 testcases.
1334
c4cbc0df
PA
13352011-05-02 Pedro Alves <pedro@codesourcery.com>
1336
1337 PR testsuite/12649
1338 Fix races.
1339
1340 * gdb.base/completion.exp: Remove all sleep calls. Remove
1341 unnecessary regexs. Don't explicitly expect anything after the
1342 prompt. Eat the prompt if necessary.
1343
b4cbb4a3
EBM
13442011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
1345
1346 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
1347 accept to show the caller line again as well as the line after.
1348
d65aec65
PM
13492011-04-29 Phil Muldoon <pmuldoon@redhat.com>
1350
1351 PR mi/12531
1352
1353 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
1354 compile target.
1355 * gdb.python/py-prettyprint.exp: Add C++ object for
1356 CPLUS_FAKE_CHILD test.
1357
30852783
UW
13582011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
1359
1360 * gdb.base/signest.exp: New file.
1361 * gdb.base/signest.c: Likewise.
1362
c7b1f0d9
JK
13632011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1364
1365 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
1366 thread and breakpoint notifications.
1367
559a7a62
JK
13682011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1369
1370 * gdb.base/fortran-sym-case.c: New file.
1371 * gdb.base/fortran-sym-case.exp: New file.
1372 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
1373 * gdb.dwarf2/dw2-case-insensitive.c: New file.
1374 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
1375
8344e389
JK
13762011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1377
1378 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
1379 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
1380 false #1', `if true else false #2' and `if true else false #3'.
1381
2484c66b
UW
13822011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
1383
1384 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
1385 while delivering signal.
1386
8d3788bd
VP
13872011-04-27 Vladimir Prus <vladimir@codesourcery.com>
1388
1389 MI breakpoint notifications.
1390
1391 * testsuite/gdb.mi/mi-cli.exp: Adust.
1392 * testsuite/gdb.mi/mi2-cli.exp: Adust.
1393 * testsuite/gdb.mi/mi-watch.exp: Adust.
1394 * testsuite/gdb.mi/mi2-watch.exp: Adust.
1395 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
1396 notifications.
1397
3e03848b
JK
13982011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1399
1400 * gdb.base/gdbindex-stabs-dwarf.c: New file.
1401 * gdb.base/gdbindex-stabs.c: New file.
1402 * gdb.base/gdbindex-stabs.exp: New file.
1403
918c9108
YQ
14042011-04-25 Yao Qi <yao@codesourcery.com>
1405
1406 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
1407 with /*...*/.
1408 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
1409
90556b8c
JK
14102011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1411
1412 * gdb.python/py-value.exp (test_objfiles): Name the first test
1413 `py-value in file.filename'.
1414
03f2bd59
JK
14152011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1416
1417 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
1418 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
1419 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
1420 !gdbserver_reconnect_p..
1421 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
1422
7b08b9eb
JK
14232011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1424
1425 * gdb.cp/cpcompletion.exp (complete class methods)
1426 (complete class methods beginning with F): Move them above runto. New
1427 comment about the runto delimiter.
1428
b78974c3
PA
14292011-04-20 Pedro Alves <pedro@codesourcery.com>
1430
1431 * gdb.base/maint.exp: Test that "maint print registers" works
1432 without a running program.
1433
20429c40 14342011-04-20 Marek Polacek <mpolacek@redhat.com>
b78974c3 1435
20429c40
MP
1436 * gdb.base/setshow.exp: Fix racy tests.
1437 ($old_gdb_prompt): New variable.
1438
7a9dd1b2
TT
14392011-04-19 Tom Tromey <tromey@redhat.com>
1440
1441 * gdb.mi/mi-nsmoribund.exp:
1442 * gdb.hp/gdb.objdbg/objdbg01.exp:
1443 * gdb.base/structs.exp (test_struct_returns):
1444 * gdb.base/call-sc.exp (test_scalar_returns):
1445 * gdb.base/bigcore.exp: Remove duplicate words.
1446
02835898
JK
14472011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1448
1449 * gdb.base/break-interp-lib.c (v, vptr): New variables.
1450 * gdb.base/break-interp.exp (test_attach): New comment.
1451
254f582e
JK
14522011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1453
1454 * gdb.threads/gcore-thread.exp ($core0file): New variable.
1455 (clear __stack_user.next, clear stack_used.next)
1456 (save a zeroed-threads corefile): New test.
1457 Call core_load for $core0file.
1458 (zeroed-threads cannot be listed): New test.
1459
4fe85f5c
JK
14602011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1461
1462 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
1463 filename.
1464 ($srcfile): Preserve the original value.
1465 ($testfile): Match it the .exp filename.
1466 ($corefile): New variable. Substitute it around.
1467 Use clean_restart.
1468 ($prev_timeout): Remove.
1469 (load_core): Move core loading into this proc.
1470 Fix restore of $timeout if load_core fails.
1471
63524580
JK
14722011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1473
1474 * gdb.base/eu-strip-infcall.c: New file.
1475 * gdb.base/eu-strip-infcall.exp: New file.
1476
90359a16
JK
14772011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1478
1479 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
1480 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
1481
626e7282
JK
14822011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1483
1484 Fix Python access to inlined frames.
1485 * gdb.python/py-frame-inline.c: New file.
1486 * gdb.python/py-frame-inline.exp: New file.
1487
3363d018
EBM
14882011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
1489
1490 * gdb.base/gdb1090.exp: Change breakpoint location to read the
1491 content of 's24' correctly (avoiding "optimized out").
1492 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
1493
28781456
JK
14942011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1495
1496 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
1497
4a4106ca
TJB
14982011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
1499
1500 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
1501 expect a colon in watch -location output.
1502
d26ccb4f
JK
15032011-04-13 Marek Polacek <mpolacek@redhat.com>
1504
df46027d 1505 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
d26ccb4f
JK
1506 New testcase `expect response to define backtrace'. Also remove
1507 redundant `default' block.
1508
e1ab1f9c
JK
15092011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1510
1511 * gdb.python/py-prettyprint.c (struct hint_error): New.
1512 (main): New variable hint_error.
1513 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
1514 "print hint_error".
1515 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
1516 (register_pretty_printers): Register it.
1517
0c2e6019
TT
15182011-04-04 Tom Tromey <tromey@redhat.com>
1519
1520 * gdb.cp/maint.exp (test_help): Update.
1521 (test_namespace): Likewise.
1522
af57139d
JB
15232011-04-01 Joel Brobecker <brobecker@adacore.com>
1524
1525 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
1526 * gdb.ada/arrayptr.exp: Add new tests.
1527
956a9fb9
JB
15282011-04-01 Joel Brobecker <brobecker@adacore.com>
1529
1530 * gdb.ada/mi_catch_ex: New testcase.
1531
d0c4d642
PA
15322011-04-01 Pedro Alves <pedro@codesourcery.com>
1533
1534 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
1535 base::overload(void) method without specifying "const".
1536
18819fa6
UW
15372011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
1538
1539 * gdb.arch/thumb-singlestep.S: New file.
1540 * gdb.arch/thumb-singlestep.exp: Likewise.
1541
a4c8e806
TT
15422011-03-31 Tom Tromey <tromey@redhat.com>
1543
1544 * gdb.python/py-prettyprint.py (exception_flag): New global.
1545 (NoStringContainerPrinter._iterator.next): Check it.
1546 * gdb.python/py-prettyprint.c (main): New variable nstype2.
1547 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
1548
53832f31
TT
15492011-03-29 Tom Tromey <tromey@redhat.com>
1550
1551 * gdb.cp/anon-struct.cc: New file.
1552 * gdb.cp/anon-struct.exp: New file.
1553
e4620230
JK
15542011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1555
1556 Test STT_GNU_IFUNC support.
1557 * gdb.base/gnu-ifunc-lib.c: New file.
1558 * gdb.base/gnu-ifunc.c: New file.
1559 * gdb.base/gnu-ifunc.exp: New file.
1560
d0fb5eae
JK
15612011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1562
1563 Support a ring of related breakpoints.
1564 * gdb.base/watchpoint-delete.c: New file.
1565 * gdb.base/watchpoint-delete.exp: New file.
1566
20106cfb
JK
15672011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1568
1569 * gdb.ada/arrayparam.exp (print first after function call): Use
1570 explicit package name. Add a comment
1571 (print lasta after function call): Rename ...
1572 (print last after function call): ... it and use explicit package
1573 name.
1574 (print length after function call): Use explicit package name.
1575 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
1576 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
1577 (multiple matches for symbol i): Rename ...
1578 (multiple matches for symbol integervar): ... it.
1579 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
1580 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
1581
e7ab5e63
AB
15822011-03-25 Andrew Burgess <aburgess@broadcom.com>
1583
1584 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
1585 environment variable to make grep output more predictable. Move
1586 all the environment setup into gdb_init so it's done once per test
1587 case rather than each time we start gdb.
1588
9ef07c8c
TT
15892011-03-24 Tom Tromey <tromey@redhat.com>
1590
1591 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
1592 test.
1593
dd90784c
JK
15942011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1595
1596 * gdb.dwarf2/dw2-entry-value-main.c: New file.
1597 * gdb.dwarf2/dw2-entry-value.S: New file.
1598 * gdb.dwarf2/dw2-entry-value.exp: New file.
1599
05775840
PM
16002011-03-22 Phil Muldoon <pmuldoon@redhat.com>
1601
1602 PR python/12183
1603
1604 * gdb.python/py-function.exp: Add GdbError tests.
1605
8661b11b
PA
16062011-03-18 Pedro Alves <pedro@codesourcery.com>
1607
1608 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
1609 (reglocal_test_func, statlocal_test_func): New functions.
1610 (globals_test_func): Call new functions.
1611 * gdb.trace/unavailable.exp (gdb_collect_args_test)
1612 (gdb_collect_locals_test): New procedure.
1613 (gdb_trace_collection_test): Call new procedures.
1614
0fdb4f18
PA
16152011-03-18 Pedro Alves <pedro@codesourcery.com>
1616
1617 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
1618 (test_register, test_register_unavailable): New procedures.
1619 (gdb_unavailable_registers_test): New procedure.
1620 (gdb_trace_collection_test): Call it.
1621
99c3dc11
PM
16222011-03-18 Phil Muldoon <pmuldoon@redhat.com>
1623
1624 PR python/12149
1625
1626 * gdb.python/python.exp: Add gdb.write tests.
1627
29703da4
PM
16282010-03-17 Phil Muldoon <pmuldoon@redhat.com>
1629
1630 * gdb.python/Makefile.in: Add py-objfile.
1631 * gdb.python/py-objfile.exp: New file.
1632 * gdb.python/py-objfile.c: New file.
1633 * gdb.python/py-block.exp: Add is_valid tests.
1634 * gdb.python/py-inferior.exp: Ditto.
1635 * gdb.python/py-infthread.exp: Ditto.
1636 * gdb.python/py-symbol.exp: Ditto.
1637 * gdb.python/py-symtab.exp: Ditto.
1638
598997c8
KS
16392011-03-16 Keith Seitz <keiths@redhat.com>
1640
1641 PR c++/12273
1642 * gdb.cp/cmpd-minsyms.exp: New test.
1643 * gdb.cp/cmpd-minsyms.cc: New file.
1644
1645 PR c++/11734
1646 * gdb.cp/ovsrch.exp: New test.
1647 * gdb.cp/ovsrch.h: New file.
1648 * gdb.cp/ovsrch1.cc: New file.
1649 * gdb.cp/ovsrch2.cc: New file.
1650 * gdb.cp/ovsrch3.cc: New file.
1651 * gdb.cp/ovsrch4.cc: New file.
1652
c91513d8
PP
16532011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1654
1655 PR gdb/12528
1656 * gdb.base/Makefile.in: Adjust EXECUTABLES.
1657 * gdb.base/break-on-linker-gcd-function.exp: New test.
1658 * gdb.base/break-on-linker-gcd-function.cc: New file.
1659
7470fc63
AT
16602011-03-15 Andreas Tobler <andreast@fgznet.ch>
1661
1662 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
1663
959e7469
PM
16642011-03-15 Phil Muldoon <pmuldoon@redhat.com>
1665
1666 * lib/gdb.exp (gdb_unload): Add another termination case.
1667
9373cf26
JK
16682011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1669
1670 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
1671 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
1672 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
1673 Provide a stub byte there.
1674 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
1675 DW_AT_entry_pc.
1676 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
1677
24e9cda0
UW
16782011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
1679
1680 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
1681 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
1682 "generic ABI, auto".
1683 (altivec_abi_tests): Accept vectors returned by reference.
1684
7371cf6d
PM
16852010-03-14 Phil Muldoon <pmuldoon@redhat.com>
1686
1687 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
1688
ce77046a
UW
16892011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
1690
1691 * gdb.python/py-section-script.exp: Skip test if no Python support.
1692
176400c3
UW
16932011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
1694
1695 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
1696
ecec24e6
PM
16972011-03-10 Phil Muldoon <pmuldoon@redhat.com>
1698
1699 * gdb.python/py-parameter.exp: Update tests to the new Python
1700 parameter API. Add "no documentation" test. Add deprecated API
1701 backward compatibility test.
1702
5dbdd470
TT
17032011-03-09 Tom Tromey <tromey@redhat.com>
1704
1705 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
1706 gdb_continue_to_end.
1707
b66e66ee
MK
17082011-03-09 Mark Kettenis <kettenis@gnu.org>
1709
1710 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
1711 tabs.
1712
eceb0c5f
TT
17132011-03-09 Tom Tromey <tromey@redhat.com>
1714
1715 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
1716 parentheses.
1717 (gdb_continue_to_end): Add "allow_extra" parameter. Use
1718 $command.
1719 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
1720 argument to gdb_continue_to_end.
1721 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
1722 argument to gdb_continue_to_end.
1723 * gdb.cp/annota3.exp: Fix regex.
1724 * gdb.cp/annota2.exp: Fix regex.
1725 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
1726 gdb_continue_to_end.
1727 * gdb.base/call-signal-resume.exp: Revert earlier patch.
1728 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
1729 gdb_continue_to_end.
1730
63154eca
PA
17312011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1732
1733 * gdb.server/ext-run.exp
1734 (load new file without any gdbserver inferior): New test.
1735
967d1f9b
TT
17362011-03-07 Tom Tromey <tromey@redhat.com>
1737
1738 * Makefile.in (TAGS): Rewrite.
1739
d68dcbb9
JK
17402011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1741
1742 * gdb.trace/report.exp (12.1: trace report #1): New match for the
1743 initial commands echo. New match for `Found trace'. Anchor all the
1744 other matches. Anchor and match for `No trace frame found' the final
1745 match.
1746
6bf58e63
TT
17472011-03-07 Tom Tromey <tromey@redhat.com>
1748
1749 * Makefile.in (TAGS): New target.
1750
fda326dd
TT
17512011-03-07 Tom Tromey <tromey@redhat.com>
1752
1753 * lib/opencl.exp (skip_opencl_tests): Update for exit message
1754 change.
1755 * lib/mi-support.exp (mi_gdb_test): Update for exit message
1756 change.
1757 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
1758 exit message change.
1759 (skip_altivec_tests): Update for exit message change.
1760 (skip_vsx_tests): Likewise.
1761 (gdb_continue_to_end): Likewise. Add 'command' argument.
1762 * lib/cell.exp (skip_cell_tests): Update for exit message change.
1763 * gdb.threads/tls.exp: Update for exit message change.
1764 * gdb.threads/thread-unwindonsignal.exp: Use
1765 gdb_continue_to_end.
1766 * gdb.threads/step.exp (step_it): Update for exit message change.
1767 (continue_all): Likewise.
1768 * gdb.threads/print-threads.exp (test_all_threads): Update for
1769 exit message change.
1770 * gdb.threads/interrupted-hand-call.exp: Use
1771 gdb_continue_to_end.
1772 * gdb.threads/execl.exp: Use gdb_continue_to_end.
1773 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
1774 gdb_continue_to_end.
1775 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
1776 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
1777 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
1778 * gdb.cp/method.exp: Update for exit message change.
1779 * gdb.cp/mb-templates.exp: Update for exit message change.
1780 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
1781 * gdb.cp/annota3.exp: Update for exit message change.
1782 * gdb.cp/annota2.exp: Update for exit message change.
1783 * gdb.cell/fork.exp: Use gdb_continue_to_end.
1784 * gdb.base/term.exp: Update for exit message change.
1785 * gdb.base/step-test.exp (test_i): Update for exit message change.
1786 * gdb.base/sigstep.exp (advance): Update for exit message change.
1787 (advancei): Likewise.
1788 * gdb.base/siginfo.exp: Update for exit message change.
1789 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
1790 * gdb.base/reread.exp: Use gdb_continue_to_end.
1791 * gdb.base/langs.exp: Use gdb_continue_to_end.
1792 * gdb.base/interrupt.exp: Update for exit message change.
1793 * gdb.base/gdb1555.exp: Update for exit message change.
1794 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
1795 * gdb.base/ending-run.exp: Update for exit message change.
1796 * gdb.base/chng-syms.exp: Update for exit message change.
1797 * gdb.base/checkpoint.exp: Update for exit message change.
1798 * gdb.base/catch-syscall.exp (check_for_program_end): Use
1799 gdb_continue_to_end.
1800 (test_catch_syscall_with_wrong_args): Likewise.
1801 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
1802 * gdb.base/break-interp.exp (test_ld): Update for exit message
1803 change.
1804 * gdb.base/bang.exp: Update for exit message change.
1805 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
1806 (do_call_attach_tests): Likewise.
1807 * gdb.base/a2-run.exp: Update for exit message change.
1808 * gdb.arch/ppc-dfp.exp: Update for exit message change.
1809 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
1810 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
1811
dd19bd70
JK
18122011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1813
1814 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
1815
30e62689
TT
18162011-03-03 Tom Tromey <tromey@redhat.com>
1817
1818 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
1819 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
1820 * gdb.hp/gdb.aCC/configure.ac: Remove.
1821 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
1822 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
1823 * gdb.hp/gdb.base-hp/configure.ac: Remove.
1824 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
1825 * gdb.hp/gdb.compat/configure (Makefile): Remove.
1826 * gdb.hp/gdb.compat/configure.ac: Remove.
1827 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
1828 * gdb.hp/gdb.defects/configure (Makefile): Remove.
1829 * gdb.hp/gdb.defects/configure.ac: Remove.
1830 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
1831 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
1832 * gdb.hp/gdb.objdbg/configure.ac: Remove.
1833 * gdb.hp/configure.ac: Remove.
1834 * gdb.hp/configure: Remove.
1835 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
1836 substitution.
1837 (Makefile): Remove rule.
1838 * gdb.cell/configure.ac: Remove.
1839 * gdb.cell/configure: Remove.
1840 * gdb.stabs/Makefile.in (Makefile): Remove.
1841 (distclean): Don't remove config.status or config.log.
1842 * gdb.stabs/configure (Makefile): Remove.
1843 * gdb.stabs/configure.ac: Remove.
1844 * configure: Rebuild.
1845 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
1846 Remove stabs- and cell-specific logic. Test for existence of
1847 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
1848 subdirectories, gdb.cell, and and gdb.stabs.
1849 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
1850
c171f854
JB
18512011-03-03 Joel Brobecker <brobecker@adacore.com>
1852
1853 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
1854 end of buffer.
1855
9a5193cb
JB
18562011-03-02 Joel Brobecker <brobecker@adacore.com>
1857
1858 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
1859 gdb_test when running a test where we expected no output back.
1860
9bb4c1bb
MS
18612011-02-28 Michael Snyder <msnyder@vmware.com>
1862
1863 * gdb.cp/overload.cc: Change initializer value to integer.
1864
3bd0f5ef
MS
18652011-02-27 Michael Snyder <msnyder@vmware.com>
1866
1867 * gdb.multi/base.exp: Add test for remove-inferiors.
1868
2279eaad
JB
18692011-02-26 Joel Brobecker <brobecker@adacore.com>
1870
1871 * gdb.python/py-frame.exp: Simplify the initialization phase
1872 using prepare_for_testing.
1873
c82c0b55
MS
18742011-02-25 Michael Snyder <msnyder@vmware.com>
1875
1876 * gdb.multi/base.exp: Add tests for info inferiors with args.
1877
1d94651b
JK
18782011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1879
1880 * gdb.dwarf2/dw2-ranges.S: Rename to ...
1881 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
1882 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
1883 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
1884 asmfile3. Comment the STABS (#3) file compilation. Compile
1885 everything through assembler. Provide KFAIL for symtab/12497.
1886 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
1887 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
1888 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
1889 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
1890
3bd0f5ef
MS
18912011-02-24 Michael Snyder <msnyder@vmware.com>
1892
1893 * gdb.base/break.exp: Add tests for delete breakpoints using
1894 convenience variables and value history references.
1895
12c1418e
MS
18962011-02-24 Michael Snyder <msnyder@vmware.com>
1897
1898 * gdb.base/break.exp: Remove debugging 'printf' accidentally
1899 left behind in previous check-in.
1900
e5a67952
MS
19012011-02-23 Michael Snyder <msnyder@vmware.com>
1902
1903 * gdb.base/break.exp: Add tests for "info break" with arguments.
1904 * gdb.trace/infotrace.exp: Update patterns for error and help.
1905 * gdb.base/completion.exp: Update pattern.
1906 * gdb.base/ena-dis-br.exp: Update pattern.
1907 * gdb.base/help.exp: Update patterns.
1908
19092011-02-23 Michael Snyder <msnyder@vmware.com>
fbcb778d
MS
1910
1911 * gdb.base/memattr.exp: New test.
1912 * gdb.base/memattr.c: Test load for memattr.exp.
1913
6e6fbe60
DE
19142011-02-22 Doug Evans <dje@google.com>
1915
1916 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
1917
1d41d745
MS
19182011-02-22 Michael Snyder <msnyder@vmware.com>
1919
1920 * Makefile.in: Make more clean.
1921 * gdb.ada/Makefile.in: Ditto.
1922 * gdb.arch/Makefile.in: Ditto.
1923 * gdb.asm/Makefile.in: Ditto.
1924 * gdb.base/Makefile.in: Ditto.
1925 * gdb.cp/Makefile.in: Ditto.
1926 * gdb.dwarf2/Makefile.in: Ditto.
1927 * gdb.java/Makefile.in: Ditto.
1928 * gdb.mi/Makefile.in: Ditto.
1929 * gdb.modula2/Makefile.in: Ditto.
1930 * gdb.python/Makefile.in: Ditto.
1931 * gdb.server/Makefile.in: Ditto.
1932 * gdb.stabs/Makefile.in: Ditto.
1933 * gdb.threads/Makefile.in: Ditto.
1934 * gdb.trace/Makefile.in: Ditto.
1935
79ba84ca
MS
19362011-02-22 Michael Snyder <msnyder@vmware.com>
1937
df46027d 1938 * gdb.threads/thread-find.exp: Add tests for bad input to
79ba84ca
MS
1939 info threads.
1940
b9b35694
JB
19412011-02-22 Joel Brobecker <brobecker@adacore.com>
1942
1943 * gdb.python/py-breakpoint.exp: Fix the expected output of
1944 one of the "maint info breakpoints" tests to accept the output
1945 generated on platforms that do not have hardware watchpoints.
1946
8bfb830f
JB
19472011-02-22 Joel Brobecker <brobecker@adacore.com>
1948
1949 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
1950 clean_restart. Be a little stricter in the expected output
1951 for one of the tests. Fix a typo in one of the comments.
1952
c45f3c54
JB
19532011-02-22 Joel Brobecker <brobecker@adacore.com>
1954
1955 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
1956 Delete variable binfile, no longer use. Add or modify test
1957 comments to make them unique.
1958
b97c863c
MS
19592011-02-21 Michael Snyder <msnyder@vmware.com>
1960
1961 * Makefile.in: Update for make clean.
1962 * gdb.ada/Makefile.in: Ditto.
1963 * gdb.arch/Makefile.in: Ditto.
1964 * gdb.asm/Makefile.in: Ditto.
1965 * gdb.base/Makefile.in: Ditto.
1966 * gdb.cp/Makefile.in: Ditto.
1967 * gdb.dwarf2/Makefile.in: Ditto.
1968 * gdb.java/Makefile.in: Ditto.
1969 * gdb.mi/Makefile.in: Ditto.
1970 * gdb.modula2/Makefile.in: Ditto.
1971 * gdb.python/Makefile.in: Ditto.
1972 * gdb.server/Makefile.in: Ditto.
1973 * gdb.stabs/Makefile.in: Ditto.
1974 * gdb.threads/Makefile.in: Ditto.
1975 * gdb.trace/Makefile.in: Ditto.
1976
aea5b279
MS
19772011-02-21 Michael Snyder <msnyder@vmware.com>
1978
1979 * gdb.threads/thread-find.exp: Update patterns for changes in
1980 output of "info threads" command.
1981
e3039479
UW
19822011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1983 Ulrich Weigand <uweigand@de.ibm.com>
1984
1985 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
1986 (skip_hw_watchpoint_tests): Likewise.
1987 (skip_hw_watchpoint_multi_tests): Likewise.
1988
b800ec70
UW
19892011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
1990
1991 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
1992 (skip_hw_watchpoint_tests): Likewise.
1993 (skip_hw_watchpoint_multi_tests): Likewise.
1994 (skip_hw_watchpoint_access_tests): Likewise.
1995
1996 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
1997 * gdb.base/pr11022.exp: Likewise.
1998 * gdb.base/watch-read.exp: Likewise.
1999 * gdb.base/watch_thread_num.exp: Likewise.
2000 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
2001 * gdb.base/watchpoint-hw.exp: Likewise.
2002 * gdb.base/watchpoint.exp: Likewise.
2003 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
2004 * gdb.threads/watchthreads-reorder.exp: Likewise.
2005 * gdb.threads/watchthreads.exp: Likewise.
2006 * gdb.threads/watchthreads2.exp: Likewise.
2007
91033e37
JB
20082011-02-21 Joel Brobecker <brobecker@adacore.com>
2009
2010 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
2011 the debugger is unable to find the array bounds.
2012
eeaafae2
JK
20132011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2014
2015 * gdb.cp/typedef-operator.exp: New file.
2016 * gdb.cp/typedef-operator.cc: New file.
2017
e338d953
MS
20182011-02-17 Michael Snyder <msnyder@vmware.com>
2019
2020 * gdb.threads/thread-find.exp: Fix regular expressions.
2021
e67ad678
JB
20222011-02-17 Joel Brobecker <brobecker@adacore.com>
2023
2024 * gdb.ada/packed_array: Expand testcase to test printing of
2025 unconstrained packed array.
2026
93084bca
JB
20272011-02-17 Joel Brobecker <brobecker@adacore.com>
2028
2029 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
2030
a0c78a73
PA
20312011-02-16 Pedro Alves <pedro@codesourcery.com>
2032
f65d5553 2033 * gdb.trace/collection.c (globalarr3): New global.
a0c78a73
PA
2034 (main): Initialize it before collecting, and and clear it
2035 afterwards.
f65d5553
PA
2036 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
2037 collecting with '{type} addr', where the addr expression is not an
2038 rvalue.
a0c78a73 2039
3dfcbbd2
KW
20402011-02-16 Ken Werner <ken.werner@de.ibm.com>
2041
2042 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
2043 a bool variable. Expect correct OpenCL names for vector types. Use the
2044 uc3 variable name instead of referring to the uchar3 built-in type.
2045 Escape the asterisk at the half pointer test.
2046
08807d5a
PA
20472011-02-16 Pedro Alves <pedro@codesourcery.com>
2048
f65d5553 2049 * gdb.trace/collection.c (globalarr2): New global.
08807d5a
PA
2050 (main): Initialize it before collecting, and and clear it
2051 afterwards.
f65d5553
PA
2052 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
2053 collecting overlapping memory ranges.
08807d5a 2054
60f98dde
MS
20552011-02-15 Michael Snyder <msnyder@vmware.com>
2056
2057 * gdb.base/default.exp: Add tests for thread commands.
2058 * gdb.base/help.exp: Add tests for thread commands.
2059 * gdb.threads/thread-find.exp: New test for thread find command.
2060
648cd113
KW
20612011-02-15 Ken Werner <ken.werner@de.ibm.com>
2062
2063 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
2064
494e194e
YQ
20652011-02-15 Yao Qi <yao@codesourcery.com>
2066
2067 PR tdep/12352
2068 * gdb.arch/arm-disp-step.S : New test for str instruction.
2069 * gdb.arch/arm-disp-step.exp : Likewise.
2070
d9492458
TJB
20712011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
2072
2073 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
2074 "vector_register2_vr" test strings. Test the extended floating
2075 point registers (F32~F63).
2076 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
2077 IBM XL C compiler. Make the test program use a register provided
2078 by the compiler for the lxvd2x instruction.
2079
8af8e3bc
PA
20802011-02-14 Pedro Alves <pedro@codesourcery.com>
2081
2082 * gdb.trace/unavailable.cc (class Base, class Middle, class
2083 Derived): New types.
2084 (derived_unavail, derived_partial, derived_whole): New globals.
2085 (virtual_partial): New global.
2086 (virtualp): Point at virtual_partial.
2087 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
2088 related to unavailable vptr.
2089
1b28d0b3
PA
20902011-02-14 Pedro Alves <pedro@codesourcery.com>
2091
2092 * gdb.trace/unavailable.cc (a, b, c): New globals.
2093 (main): Set and clear them.
2094 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
2095 `a' and `c', and check that `b' isn't collected, although `a' and
2096 `c' are.
2097
ec0a52e1
PA
20982011-02-14 Pedro Alves <pedro@codesourcery.com>
2099
2100 * gdb.trace/unavailable.cc (struct Virtual): New.
2101 (virtualp): New global pointer.
2102 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
2103 printing a pointer to an object whose type has a vtable, with
2104 print object on.
2105
24e6bcee
PA
21062011-02-14 Pedro Alves <pedro@codesourcery.com>
2107
2108 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
2109 value repeat handles unavailableness.
2110
39d37385
PA
21112011-02-14 Pedro Alves <pedro@codesourcery.com>
2112
2113 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
2114 tests for building arrays from unavailable values, subscripting
2115 non-memory rvalue unvailable arrays, and accessing fields or
2116 baseclasses of non-lazy unavailable values,
2117 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
2118 struct types.
2119 (g_smallstruct, g_smallstruct_b): New globals.
2120
06d72e16
PA
21212011-02-14 Pedro Alves <pedro@codesourcery.com>
2122
2123 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
2124
bc9a5551
JK
21252011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2126
2127 Fix const/volatile qualifiers of C++ types, PR c++/12328.
2128 * gdb.cp/overload-const.exp: New file.
2129 * gdb.cp/overload-const.cc: New file.
2130
54fcddd0
UW
21312011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
2132
2133 * gdb.opencl/callfuncs.cl: New file.
2134 * gdb.opencl/callfuncs.exp: New test.
2135 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
2136
d6dafb7c
UW
21372011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
2138
2139 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
2140 when computing result.
2141 * gdb.arch/altivec-abi.exp: Update expected results.
2142
a449c2d8
TJB
21432011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
2144
2145 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
2146 * gdb.base/jit.exp: Likewise.
2147 * gdb.base/pie-execl.exp: Likewise.
2148 * gdb.base/solib-nodir.exp: Likewise.
2149 * gdb.base/solib-overlap.exp: Likewise.
2150
764880b7
PA
21512011-02-07 Pedro Alves <pedro@codesourcery.com>
2152
2153 * gdb.trace/collection.c (global_pieces): New.
2154 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
2155 New procedure.
2156 (gdb_trace_collection_test): Call it.
2157
505500db
SW
21582011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
2159
2160 * gdb.python/py-evthreads.c: New file.
2161 * gdb.python/py-evthreads.exp: New file.
2162 * gdb.python/py-events.py: New file.
2163 * gdb.python/py-events.exp: New file.
2164 * gdb.python/py-events.c: New file.
2165
385203ed
DD
21662011-02-04 David Daney <ddaney@caviumnetworks.com>
2167
2168 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
2169
9011945e
AB
21702011-02-03 Andrew Burgess <aburgess@broadcom.com>
2171
2172 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
2173 gdb.base/disasm-end-cu.exp: New test for disassembling over the
2174 boundary between two compilation units.
2175
580688f3
PA
21762011-02-02 Pedro Alves <pedro@codesourcery.com>
2177
2178 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
2179 (Virtual): New structs.
2180 (virtual_o, virtual_middle_b): New globals.
2181 * gdb.cp/virtbase.exp: New tests.
2182
d3f0f853
PP
21832011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
2184
2185 * gdb.base/jit.exp: New file.
2186 * gdb.base/jit-main.c: New file.
2187 * gdb.base/jit-solib.c: New file.
2188
b2030fb5
UW
21892011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
2190
2191 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
2192 proceed to initial kernel entry point.
2193 * gdb.opencl/datatypes.exp: Likewise.
2194 * gdb.opencl/operators.exp: Likewise.
2195 * gdb.opencl/vec_comps.exp: Likewise.
2196
2db19d1e
SW
21972011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
2198
2199 * gdb.cp/nsnested.cc: New.
2200 * gdb.cp/nsnested.exp: New.
2201 * gdb.cp/nsnoimports.exp: New.
2202 * gdb.cp/nsnoimports.cc: New.
2203
6b0c4c1f
JB
22042011-01-31 Joel Brobecker <brobecker@adacore.com>
2205
2206 * gdb.base/interact.exp: Add extra tests that verify that
2207 the value of the interactive-mode setting does not change
2208 after the script is sourced.
2209
80b23b6a
JK
22102011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2211
2212 * gdb.cp/noparam.exp: New file.
2213 * gdb.cp/noparam.cc: New file.
2214
ffd5ec24
PA
22152011-01-28 Pedro Alves <pedro@codesourcery.com>
2216
2217 * gdb.trace/tfile.exp: Test that with no traceframe selected,
2218 there's no stack or registers.
2219
a81766d8
TT
22202011-01-26 Tom Tromey <tromey@redhat.com>
2221
2222 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
2223 space before string output. Add test for "set print pretty off"
2224 case.
2225
585fdaa1
PA
22262011-01-25 Pedro Alves <pedro@codesourcery.com>
2227
2228 * gdb.base/frame-args.exp: Adjust.
2229 * gdb.dwarf2/dw2-noloc.exp: Adjust.
2230 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
2231 * gdb.dwarf2/pieces.exp: Adjust.
2232 * gdb.opt/clobbered-registers-O2.exp: Adjust.
2233 * gdb.opt/inline-locals.exp: Adjust.
2234 * gdb.threads/fork-child-threads.exp: Adjust.
2235
d468832a
KW
22362011-01-25 Ken Werner <ken.werner@de.ibm.com>
2237
2238 * gdb.opencl/convs_casts.cl: Move program scope variables into the
2239 OpenCL kernel function. Add a comment as marker. Add address space
2240 qualifiers for the remaining program scope variables.
2241 * gdb.opencl/datatypes.cl: Likewise.
2242 * gdb.opencl/operators.cl: Likewise.
2243 * gdb.opencl/vec_comps.cl: Likewise.
2244 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
2245 Add breakpoint at the marker comment.
2246 * gdb.opencl/datatypes.exp: Likewise.
2247 * gdb.opencl/operators.exp: Likewise.
2248 * gdb.opencl/vec_comps.exp: Likewise.
2249
490f124f
PA
22502011-01-24 Pedro Alves <pedro@codesourcery.com>
2251
2252 * gdb.base/printcmds.c (some_struct): New struct and instance.
2253 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
2254 procedure.
2255 <global scope>: Call it.
2256
6da78614
KW
22572011-01-21 Ken Werner <ken.werner@de.ibm.com>
2258
2259 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
2260 argument to the gdb_compile_opencl_hostapp call.
2261
ec64c9aa
YQ
22622011-01-19 Yao Qi <yao@codesourcery.com>
2263
2264 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
2265 positve list.
2266
810cfdbb
YQ
22672011-01-19 Yao Qi <yao@codesourcery.com>
2268
2269 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
2270 canonical form.
2271 Remove "xscale-*-*"
2272 * gdb.xml/tdesc-regs.exp: Likewise.
2273 * gdb.python/py-section-script.exp: Replace ARM target triplet
2274 with canonical form.
2275 Match arm*-*-symbianelf*.
2276 * gdb.base/dup-sect.exp: Likewise.
2277 * lib/dwarf.exp: New.
2278 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
2279 dwarf2_support.
2280 * gdb.dwarf2/dup-psym.exp: Likewise.
2281 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
2282 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2283 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
2284 * gdb.dwarf2/dw2-basic.exp: Likewise.
2285 * gdb.dwarf2/dw2-compressed.exp: Likewise.
2286 * gdb.dwarf2/dw2-const.exp: Likewise.
2287 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
2288 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
2289 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2290 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
2291 * gdb.dwarf2/dw2-filename.exp: Likewise.
2292 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2293 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
2294 * gdb.dwarf2/dw2-intercu.exp: Likewise.
2295 * gdb.dwarf2/dw2-intermix.exp: Likewise.
2296 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
2297 * gdb.dwarf2/dw2-noloc.exp: Likewise.
2298 * gdb.dwarf2/dw2-op-call.exp: Likewise.
2299 * gdb.dwarf2/dw2-producer.exp: Likewise.
2300 * gdb.dwarf2/dw2-ranges.exp: Likewise.
2301 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
2302 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
2303 * gdb.dwarf2/dw2-strp.exp: Likewise.
2304 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
2305 * gdb.dwarf2/implptr.exp: Likewise.
2306 * gdb.dwarf2/mac-fileno.exp: Likewise.
2307 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
2308 * gdb.dwarf2/pieces.exp: Likewise.
2309 * gdb.dwarf2/pr11465.exp: Likewise.
2310 * gdb.dwarf2/valop.exp: Likewise.
2311 * gdb.dwarf2/watch-notconst.exp: Likewise.
2312 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
2313
4694da01
TT
23142011-01-19 Tom Tromey <tromey@redhat.com>
2315
2316 * gdb.python/py-infthread.exp: Add thread tests.
2317
b075872c
JB
23182011-01-14 Joel Brobecker <brobecker@adacore.com>
2319
2320 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
2321
2c3e6e24
JB
23222011-01-14 Joel Brobecker <brobecker@adacore.com>
2323
2324 * gdb.ada/widewide: New testcase.
2325
de8fa76c
JB
23262011-01-13 Joel Brobecker <brobecker@adacore.com>
2327
2328 * gdb.base/interact.exp: New testcase.
2329
1b05df00
TT
23302011-01-12 Tom Tromey <tromey@redhat.com>
2331
2332 * gdb.mi/gdb2549.exp: Update for error message changes.
2333 * gdb.mi/mi-cli.exp: Likewise.
2334 * gdb.mi/mi-disassemble.exp: Likewise.
2335 * gdb.mi/mi-pthreads.exp: Likewise.
2336 * gdb.mi/mi-regs.exp: Likewise.
2337 * gdb.mi/mi-stack.exp: Likewise.
2338 * gdb.mi/mi-var-block.exp: Likewise.
2339 * gdb.mi/mi-var-cmd.exp: Likewise.
2340 * gdb.mi/mi2-cli.exp: Likewise.
2341 * gdb.mi/mi2-disassemble.exp: Likewise.
2342 * gdb.mi/mi2-pthreads.exp: Likewise.
2343 * gdb.mi/mi2-regs.exp: Likewise.
2344 * gdb.mi/mi2-stack.exp: Likewise.
2345 * gdb.mi/mi2-var-block.exp: Likewise.
2346 * gdb.mi/mi2-var-cmd.exp: Likewise.
2347
c2ff108b
JK
23482011-01-12 Andrew Burgess <aburgess@broadcom.com>
2349 Jan Kratochvil <jan.kratochvil@redhat.com>
2350
2351 PR fortran/11104 and DWARF unbound arrays detection.
2352 * gdb.fortran/multi-dim.exp: New file.
2353 * gdb.fortran/multi-dim.f90: New file.
2354
b716877b
AB
23552011-01-12 Andrew Burgess <aburgess@broadcom.com>
2356
2357 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
2358 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
2359 add new tests for opcode dumping.
2360
6c162d5e
TT
23612011-01-11 Tom Tromey <tromey@redhat.com>
2362
2363 * gdb.python/py-infthread.exp: Load gdb-python.exp.
2364
77b06cd7
TJB
23652010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
2366
2367 Convert hardware watchpoints to use breakpoint_ops.
2368 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
2369 type is not supported.
2370 * gdb.base/foll-fork.exp: Likewise.
2371 * gdb.base/foll-vfork.exp: Likewise.
2372
f39a75d0
PM
23732011-01-10 Phil Muldoon <pmuldoon@redhat.com>
2374
2375 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
2376 Use load_lib gdb-python.exp.
2377 * gdb.python/python.exp: Ditto.
2378 * gdb.python/py-function.exp: Ditto.
2379
fc529d80
AS
23802011-01-09 Andreas Schwab <schwab@linux-m68k.org>
2381
2382 * gdb.threads/tls.exp ("info address me"): Fix expected output.
2383
fb03cb59
JK
23842011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2385
2386 * configure: Regenerate.
2387
d8e22779
TT
23882011-01-06 Tom Tromey <tromey@redhat.com>
2389
2390 * gdb.python/py-frame.exp: Test gdb.newest_frame.
2391
09050809
JB
23922011-01-06 Joel Brobecker <brobecker@adacore.com>
2393
fc529d80
AS
2394 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
2395 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
2396 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
2397 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
2398 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
2399 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
2400 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
2401 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
2402 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
2403 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
2404 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
2405 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
2406 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
2407 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
2408 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
2409 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
2410 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
2411 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
2412 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
2413 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
2414 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
2415 gdb.ada/uninitialized_vars.exp,
2416 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
2417 Simplify by using clean_restart.
09050809 2418
8ed5dd9e
JB
24192011-01-06 Joel Brobecker <brobecker@adacore.com>
2420
2421 Add marker to be used as anchor for inserting breakpoints.
2422 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
2423 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
2424 Likewise.
2425
2426 Remove uses of gdb_start_cmd.
2427 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
2428 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
2429
2430 Do not run testcase if testing with GDBserver.
2431 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
2432 if testing with GDBserver.
2433
368a124f
JB
24342011-01-06 Joel Brobecker <brobecker@adacore.com>
2435
2436 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
2437 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
2438 copyright header.
2439
44944448
JB
24402011-01-05 Joel Brobecker <brobecker@adacore.com>
2441
2442 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
2443 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
2444 testsuite/gdb.fortran/complex.f,
2445 testsuite/gdb.fortran/derived-type.f90,
2446 testsuite/gdb.fortran/library-module-lib.f90,
2447 testsuite/gdb.fortran/library-module-main.f90,
2448 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
2449 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
2450 Copyright year update.
2451
31886ea6
JB
24522011-01-05 Joel Brobecker <brobecker@adacore.com>
2453
2454 * gdb.base/langs1.f: Add copyright header.
2455
ebedcab5
JK
24562011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2457
2458 * gdb.base/morestack.exp: New file.
2459 * gdb.base/morestack.c: New file.
2460
de1eb2f9
JK
24612011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2462
2463 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
2464
9e87a409
JB
24652010-12-29 Joel Brobecker <brobecker@adacore.com>
2466
2467 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
2468 * gdb.ada/arrayptr.exp: Add test printing that new variable.
2469
720d1a40
JB
24702010-12-29 Joel Brobecker <brobecker@adacore.com>
2471
2472 * gdb.ada/lang_switch.exp: Correct expected parameter value.
2473
a283af87
AS
24742010-12-25 Andreas Schwab <schwab@linux-m68k.org>
2475
5d3d9cba
AS
2476 * gdb.threads/tls.exp: Fix typo.
2477
a283af87
AS
2478 * gdb.threads/thread-specific.exp (get_thread_list): Update.
2479 * gdb.threads/execl.exp: Update.
2480
2a20745c
YQ
24812010-12-23 Yao Qi <yao@codesourcery.com>
2482
2483 * gdb.arch/arm-disp-step.exp: New.
2484 * gdb.arch/arm-disp-step.S: New.
2485
a7658b96
TT
24862010-12-21 Tom Tromey <tromey@redhat.com>
2487
2488 * gdb.threads/execl.exp: Update.
2489 * gdb.threads/linux-dp.exp: Update.
2490 * gdb.threads/manythreads.exp: Update.
2491 * gdb.threads/tls.exp: Update.
2492
5b79abe7
TT
24932010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2494
2495 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
2496 (NextOverThrowDerivates) <resumebpt>: New.
2497 (resumebpt_test): New.
2498 (main): Call resumebpt_test.
2499 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
2500
0914bcdb
SS
25012010-12-12 Stan Shebs <stan@codesourcery.com>
2502
2503 * gdb.trace/tsv.exp: Test print command on trace state variables.
2504
305aeedc
TT
25052010-12-09 Tom Tromey <tromey@redhat.com>
2506
2507 * gdb.base/interp.exp: Add regression test.
2508
186c406b
TT
25092010-12-09 Tom Tromey <tromey@redhat.com>
2510
2511 * gdb.java/jnpe.java: New file.
2512 * gdb.java/jnpe.exp: New file.
2513 * gdb.cp/nextoverthrow.exp: New file.
2514 * gdb.cp/nextoverthrow.cc: New file.
2515
aae1c79a
DE
25162010-12-07 Doug Evans <dje@google.com>
2517
2518 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
2519 of data-directory.
2520 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
2521 updated.
2522 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
2523
60f98dde 25242010-11-29 Michael Snyder <msnyder@vmware.com>
d426f7b4
MS
2525
2526 * gdb.base/callfuncs.exp: Test for skip_float_tests.
2527 * gdb.base/call-sc.exp: Ditto.
2528 * gdb.base/finish.exp: Ditto.
2529 * gdb.base/return.exp: Ditto.
2530 * gdb.base/return2.exp: Ditto.
2531
5fa290c1
DE
25322010-11-30 Doug Evans <dje@google.com>
2533
2534 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
2535 (gdb_expect_list): Fix spelling errors in comments.
2536 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
2537 send_gdb/gdb_expect_list where applicable.
2538 * gdb.base/call-ar-st.exp: Ditto.
2539 * gdb.base/funcargs.exp: Ditto.
2540 * gdb.base/gcore.exp: Ditto.
2541 * gdb.base/page.exp: Ditto.
2542 * gdb.base/sigaltstack.exp: Ditto.
2543 * gdb.base/siginfo.exp: Ditto.
2544 * gdb.base/sigstep.exp: Ditto.
2545 * gdb.base/trace-commands.exp: Ditto.
2546
4e04c971
DE
25472010-11-29 Doug Evans <dje@google.com>
2548
2549 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
2550 printer-name;subprinter-name.
2551
8cf6f0b1
TT
25522010-11-29 Tom Tromey <tromey@redhat.com>
2553
2554 * gdb.dwarf2/implptr.exp: New file.
2555 * gdb.dwarf2/implptr.c: New file.
2556 * gdb.dwarf2/implptr.S: New file.
2557
94b6973e
PM
25582010-11-29 Phil Muldoon <pmuldoon@redhat.com>
2559
fc529d80 2560 PR python/12199
94b6973e
PM
2561
2562 * gdb.python/py-breakpoint.exp: Test the delete method.
2563
8358c15c
JK
25642010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2565
2566 Fix step_resume_breakpoint unsaved during an infcall.
2567 * gdb.base/step-resume-infcall.exp: New file.
2568 * gdb.base/step-resume-infcall.c: New file.
2569
f6df29bc
TJB
25702010-11-24 Edjunior Machado <emachado@br.ibm.com>
2571
2572 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
2573
f2b5a5cf
TJB
25742010-11-24 Edjunior Machado <emachado@br.ibm.com>
2575
2576 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
2577 on ppc64's symbols; "finish" and "return" commands must accept to
2578 show the caller line again as well as the line after.
2579 * gdb.asm/powerpc64.inc: New file.
2580
6b0ecdc2
DE
25812010-11-23 Doug Evans <dje@google.com>
2582
2583 * lib/gdb.exp (gdb_test_sequence): New function.
2584 (gdb_expect_list): Add verbose -log call for each pattern.
2585 * gdb.base/signals.exp (test_handle_all_print): Call it.
2586 Reduce timeout increment from 6 minutes to 1 minute.
2587 * gdb.server/ext-run.exp: Call it.
2588
ea976c60
PM
25892010-11-23 Phil Muldoon <pmuldoon@redhat.com>
2590
f2b5a5cf 2591 PR python/12212
ea976c60
PM
2592
2593 * gdb.python/python.exp: Check that selected_thread raises an
2594 error when no inferior is loaded.
2595
c0efa795
JK
25962010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2597
2598 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
2599 * gdb.dwarf2/dw2-stack-boundary.S: New file.
2600
ec3aa567
JK
26012010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2602
2603 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
2604 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
2605
d8249011
DE
26062010-11-18 Doug Evans <dje@google.com>
2607
2608 * gdb.server/ext-run.exp: Fix intermittent failures.
2609
d4eba7d1
NF
26102010-11-12 Nathan Froyd <froydnj@codesourcery.com>
2611
2612 * gdb.stabs/gdb11479.exp: Use runto_main.
2613
b04c2f88
NF
26142010-11-12 Nathan Froyd <froydnj@codesourcery.com>
2615
2616 * gdb.base/break-entry.exp: Skip if using a stub.
2617
ae9d7ce4
NF
26182010-11-12 Nathan Froyd <froydnj@codesourcery.com>
2619
2620 * gdb.python/py-inferior.exp: Pack values in target endianness.
2621
621c8364
TT
26222010-11-12 Tom Tromey <tromey@redhat.com>
2623
2624 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
2625 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
2626 MemoryError.
2627 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
2628 type.
2629 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
2630 MemoryError.
2631 (test_subscript_regression): Update exception type.
2632
84f4c1fe
PM
26332010-11-11 Phil Muldoon <pmuldoon@redhat.com>
2634
2635 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
2636 breakpoint tests.
2637
a1442452
PA
26382010-11-09 Pedro Alves <pedro@codesourcery.com>
2639
2640 * gdb.base/watchpoint.exp: Test "watch -location" with an
2641 innacessible location.
2642
efd11a33
JK
26432010-11-09 Edjunior Machado <emachado@br.ibm.com>
2644 Luis Machado <luisgpm@br.ibm.com>
2645
2646 * gdb.base/maint.exp: Expect "." prefix.
2647 * gdb.base/nodebug.exp: Expect "." Likewise.
2648 * gdb.base/sepsymtab.exp: Expect "." Likewise.
2649 * gdb.base/watchpoint-cond-gone.exp: Likewise.
2650 * gdb.base/watchpoint.exp: Expect a software watch to be created for
2651 POWER server processors.
2652
aa00efb5
JK
26532010-11-08 Edjunior Machado <emachado@br.ibm.com>
2654 Luis Machado <luisgpm@br.ibm.com>
2655
2656 * gdb.base/break-entry.exp: convert entry point for
2657 ppc64 and expect leading `.' on ppc64's symbols
2658
99e7ae30
DE
26592010-11-05 Doug Evans <dje@google.com>
2660
2661 * gdb.base/help.exp: Update expected output.
b521dba8
DE
2662 * gdb.python/py-param.exp: Delete, contents moved to ...
2663 * gdb.python/py-parameter.exp: ... here. New file.
2664 Add test for gdb.parameter ("directories").
99e7ae30 2665
f4b8a18d
KW
26662010-11-05 Ken Werner <ken.werner@de.ibm.com>
2667
2668 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
2669 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
2670 * configure: Regenerate.
2671 * gdb.opencl/Makefile.in: New File.
2672 * gdb.opencl/datatypes.exp: Likewise.
2673 * gdb.opencl/datatypes.cl: Likewise.
2674 * gdb.opencl/operators.exp: Likewise.
2675 * gdb.opencl/operators.cl: Likewise.
2676 * gdb.opencl/vec_comps.exp: Likewise.
2677 * gdb.opencl/vec_comps.cl: Likewise.
2678 * gdb.opencl/convs_casts.exp: Likewise.
2679 * gdb.opencl/convs_casts.cl: Likewise.
2680 * lib/opencl.exp: Likewise.
2681 * lib/opencl_hostapp.c: Likewise.
2682 * lib/opencl_kernel.cl: Likewise.
2683 * lib/cl_util.c: Likewise.
2684 * lib/cl_util.c: Likewise.
2685 * gdb.base/default.exp (set language): Add "opencl" to the list of
2686 languages.
2687
a9d5ef47
SW
26882010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
2689
2690 * gdb.cp/overload.exp: Added test for inheritance overload.
2691 * gdb.cp/overload.cc: Ditto.
2692 * gdb.cp/oranking.exp: Removed releveant kfails.
2693
03eb1c79
JK
26942010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2695 Joel Brobecker <brobecker@adacore.com>
2696
2697 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
2698 check test_compiler_info.
2699
dbc98a8b
KW
27002010-11-03 Ken Werner <ken.werner@de.ibm.com>
2701
2702 * gdb.base/gnu_vector.exp: Adjust expect messages.
2703
120bd360
KW
27042010-11-03 Ken Werner <ken.werner@de.ibm.com>
2705
2706 * gdb.base/gnu_vector.exp: Add unary operator tests.
2707
c37f7098
KW
27082010-11-03 Ken Werner <ken.werner@de.ibm.com>
2709
2710 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
2711
7b51bc51
DE
27122010-11-02 Doug Evans <dje@google.com>
2713
2714 * gdb.python/py-pp-maint.c: New file.
2715 * gdb.python/py-pp-maint.exp: New file.
2716 * gdb.python/py-pp-maint.py: New file.
2717
50c97f38
TT
27182010-11-02 Tom Tromey <tromey@redhat.com>
2719
2720 * gdb.base/default.exp: Remove "scheme" from language list.
2721
a289b8f6
JK
27222010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2723
2724 Revert:
2725 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2726 * gdb.threads/sigstep-threads.exp: New file.
2727 * gdb.threads/sigstep-threads.c: New file.
2728
cd017491
MS
27292010-10-20 Michael Snyder <msnyder@vmware.com>
2730
2731 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
2732
8e6a5956
UW
27332010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
2734
2735 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
2736 Skip test completely if gdb,no_hardware_watchpoints.
2737
2c04da0d
UW
27382010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
2739
2740 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
2741 strict, but do not check for any particular function name within libc.
2742
79afc5ef
SW
27432010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
2744
2745 * gdb.cp/smartp.exp: New test.
2746 * gdb.cp/smartp.cc : New test.
2747
026ffab7
SW
27482010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
2749
2750 * gdb.cp/converts.exp: Test pointer to bool conversion.
2751 Test pointer to long conversion.
2752 * gdb.cp/oranking.exp: Removed relevant kfail.
2753
3a772aa4
TT
27542010-10-18 Tom Tromey <tromey@redhat.com>
2755
2756 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
2757 argument to lazy_string.
2758 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
2759 (pp_ls.to_string): Use it.
2760 * gdb.python/py-prettyprint.c (main): Move declarations to top.
2761 Add "estring2" local.
2762
5fc3827b
JK
27632010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2764
2765 Fix s390x compatibility.
2766 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
2767 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
2768
8aeb23f3
JK
27692010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2770
2771 * gdb.threads/sigstep-threads.exp: New file.
2772 * gdb.threads/sigstep-threads.c: New file.
2773
c1e56572
JK
27742010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2775
2776 * gdb.base/pie-execl.exp: New file.
2777 * gdb.base/pie-execl.c: New file.
2778
92163a10
JK
27792010-10-13 Doug Evans <dje@google.com>
2780 Jan Kratochvil <jan.kratochvil@redhat.com>
2781
2782 PR exp/12117
2783 * gdb.cp/ptype-cv-cp.cc: New file.
2784 * gdb.cp/ptype-cv-cp.exp: New file.
2785
7062b0a0
SW
27862010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
2787
2788 * gdb.cp/converts.cc: New test program.
2789 * gdb.cp/converts.exp: New test.
2790 * gdb.cp/overload.exp: Added test for void* vs int*.
2791 * gdb.cp/overload.exp: Ditto.
2792 * gdb.cp/oranking.exp: Removed related kfail.
2793
0e3509db
DE
27942010-10-13 Doug Evans <dje@google.com>
2795
2796 * lib/gdb-python.exp (gdb_check_python_config): New function.
2797 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
2798 * gdb.python/lib-types.cc: New file.
2799 * gdb.python/lib-types.exp: New file.
2800
8dc78533
JK
28012010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2802
2803 * gdb.python/py-error.exp: New file.
2804 * gdb.python/py-error.py: New file.
2805
93c17e06
JK
28062010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2807
2808 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
2809 gdb_test_multiple.
2810
d8b34041
JK
28112010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2812
2813 * gdb.base/break-interp.exp: Use ldlags for linking flags.
2814 * gdb.base/prelink.exp: Likewise.
2815 * gdb.base/solib-nodir.exp: Likewise.
2816 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
2817 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
2818 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
2819
e0cc584e
UW
28202010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
2821
2822 * break-interp.exp (test_ld): Use two separate gdb_expect statements
2823 for the "info files" test to avoid timeouts on slow machines.
2824
cfc353b1
JK
28252010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2826
2827 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
2828 (main): Make openlib dummy call.
2829
d3d7896d
JK
28302010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2831
2832 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
2833 * break-interp.exp (reach): Move the core body ...
2834 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
2835 (test_ld): Provide always real argument, even to the linker. Replace
2836 dl_main by _dl_debug_state.
2837
5e533c94
JK
28382010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2839
2840 Fix results of prelinked PIEs on ppc*.
2841 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
2842 Accept also DISPLACEMENT "PRESENT".
2843 (main): Replace "ZERO" displacements by "PRESENT".
2844
33540610
SW
28452010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
2846
2847 * gdb.cp/oranking.exp: New test.
2848 * gdb.cp/oranking.cc: New test program.
2849
3bdf2bbd
KW
28502010-10-08 Ken Werner <ken.werner@de.ibm.com>
2851
2852 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
2853 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
2854
2f608a3a
KW
28552010-10-06 Ken Werner <ken.werner@de.ibm.com>
2856
2857 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
2858 lush, lynx) New constant.
2859 * gdb.base/constvars.exp: Test const array types.
2860 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
2861
aa2e2d8d
DE
28622010-10-06 Doug Evans <dje@google.com>
2863
2864 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
2865 of syscall staging area.
2866
2844d6b5
KW
28672010-10-06 Ken Werner <ken.werner@de.ibm.com>
2868
2869 * gdb.base/gnu_vector.c: Add variable c4.
2870 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
2871 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
2872
7d8ac8bb
MR
28732010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
2874
2875 * gdb.arch/altivec-abi.exp: Fix a typo.
2876
84a02e58
MR
28772010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
2878
2879 * lib/mi-support.exp (thread_selected_re): Correct pattern used
2880 to match a thread ID.
2881
b18e6318
JK
28822010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2883
2884 Fix s390x testcase compatibility.
2885 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
2886
a2c09bd0
DE
28872010-10-01 Doug Evans <dje@google.com>
2888
2889 * lib/gdb-python.exp: New file.
2890 * gdb.python/py-block.exp: Use it.
2891 * gdb.python/py-breakpoint.exp: Ditto.
2892 * gdb.python/py-frame.exp: Ditto.
2893 * gdb.python/py-inferior.exp: Ditto.
2894 * gdb.python/py-param.exp: Ditto.
2895 * gdb.python/py-prettyprint.exp: Ditto.
2896 * gdb.python/py-shared.exp: Ditto.
2897 * gdb.python/py-symbol.exp: Ditto.
2898 * gdb.python/py-symtab.exp: Ditto.
2899 * gdb.python/py-type.exp: Ditto.
2900 * gdb.python/py-value.exp: Ditto.
2901 * gdb.python/python.exp: Ditto.
2902
38f12cfc
TT
29032010-09-30 Tom Tromey <tromey@redhat.com>
2904
2905 * gdb.base/anon.exp: New file.
2906 * gdb.base/anon.c: New file.
2907
9ae8282d
TT
29082010-09-30 Tom Tromey <tromey@redhat.com>
2909
2910 * gdb.base/completion.exp: Test completion through anonymous
2911 union.
2912 * gdb.base/break1.c (struct some_struct): Add anonymous union.
2913
e9e07ba6
JK
29142010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2915
2916 Fix printing parameters of inlined functions.
2917 * gdb.dwarf2/dw2-inline-param.exp: New file.
2918 * gdb.dwarf2/dw2-inline-param-main.c: New file.
2919 * gdb.dwarf2/dw2-inline-param.S: New file.
2920
cd2effb2
JK
29212010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2922
2923 PR corefiles/12071.
2924 * gdb.base/corefile.exp (quit with a process, no question: load core)
2925 (quit with a core file): New tests.
2926
bceffbf3
JK
29272010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2928
2929 Fix GDB crash on inferior calls with self-referencing classes.
2930 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
2931 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
2932 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
2933
1736ad11
JK
29342010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2935
2936 Fix lost siginfo_t for inferior calls.
2937 * gdb.base/siginfo-infcall.exp: New file.
2938 * gdb.base/siginfo-infcall.c: New file.
2939
a176ad92
JB
29402010-09-22 Joel Brobecker <brobecker@adacore.com>
2941
2942 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
2943
c2b0a229
JK
29442010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2945
2946 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
2947 New test.
2948 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
2949
e8ae22d1
JB
29502010-09-22 Joel Brobecker <brobecker@adacore.com>
2951
2952 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
2953 type of our const type.
2954
ec322823
SW
29552010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
2956
2957 * gdb.cp/pr12028.cc: New.
2958 * gdb.cp/pr12028.exp: New.
2959
72929c62
JB
29602010-09-22 Joel Brobecker <brobecker@adacore.com>
2961
2962 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
2963
875b4ff5 29642010-09-16 Phil Muldoon <pmuldoon@redhat.com>
fc529d80 2965 Jan Kratochvil <jan.kratochvil@redhat.com>
875b4ff5
PM
2966
2967 PR mi/11407
2968 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
2969 * gdb.mi/dw2-ref-missing-frame-main.c New File.
2970 * gdb.mi/dw2-ref-missing-frame.S New File.
2971 * gdb.mi/dw2-ref-missing-frame.exp New File.
2972
7155d578
TT
29732010-09-14 Tom Tromey <tromey@redhat.com>
2974
2975 PR symtab/8399:
2976 * gdb.threads/tls.exp: Remove kfail. Update expected output.
2977
515ed532
TT
29782010-09-14 Tom Tromey <tromey@redhat.com>
2979
2980 PR exp/11803:
2981 * gdb.threads/tls.exp: Use C++.
2982 (check_thread_local): Use K::another_thread_local.
2983 * gdb.threads/tls.c (class K): New.
2984 (another_thread_local): Now a member of K.
2985 (spin): Update. No longer K&R C.
2986
450ca57c
SW
29872010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
2988
2989 * gdb.cp/koenig.cc: created class for testing member lookup.
2990 * gdb.cp/koenig.exp: Added test for member lookup.
2991
dbd492a3
JK
29922010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2993
2994 Fix false FAILs on sourcetree topdir directory containing "kill".
2995 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
2996 source line matching regexp.
2997
8d4d924b
JK
29982010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2999
3000 * gdb.python/python.exp (set height 0, collect help from uiout)
3001 (verify help to uiout): New tests.
3002
8e64f2a0
JK
30032010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3004
3005 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
3006 is_lp64_target to check 64bit target.
3007
4569eed2
JK
30082010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3009
3010 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
3011 (test_ld) <powerpc64-*>: New.
3012
5e1617b1
DJ
30132010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
3014
3015 * gdb.cp/templates.exp (test_template_args): Allow "struct".
3016
c767944b
DJ
30172010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
3018
3019 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
3020 (FunctionArg::method): New function.
3021 (empty, arg): New variables.
3022 (main): Call arg.method.
3023 * gdb.cp/templates.exp (test_template_args): New function.
3024 (do_tests): Call it.
3025
27d3a3fc
UW
30262010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
3027
3028 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
3029 of "next" to proceed over pthread_exit call.
3030
55b7ce7f
UW
30312010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
3032
3033 * gdb.base/maint.exp: Avoid wildcards against potentially very long
3034 "maint print statistics" output to prevent expect timeouts.
3035
809df446
JK
30362010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3037
3038 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
3039 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
3040 (test_float_rejected): ... here.
3041 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
3042 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
3043 (test_float_rejected): ... here.
3044 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
3045 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
3046 (test_float_rejected): ... here.
3047 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
3048 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
3049 (test_float_rejected): ... here.
3050
8464be76
DJ
30512010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
3052
3053 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
3054 before disabling hardware watchpoints.
3055 (test_inaccessible_watchpoint): Check that hardware watchpoints
3056 are used. Test for watchpoints on a constant address.
3057
14dba4b4
JK
30582010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3059
3060 * gdb.base/ui-redirect.exp: New file.
3061
3f3540e1 30622010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
fc529d80 3063 Joel Brobecker <brobecker@adacore.com>
3f3540e1
JB
3064
3065 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
3066
0f254bb7
DE
30672010-08-31 Doug Evans <dje@google.com>
3068
3069 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
3070
03f17ccf
TT
30712010-08-30 Tom Tromey <tromey@redhat.com>
3072
3073 PR python/11792:
3074 * gdb.python/py-value.exp (test_subscript_regression): Add
3075 dynamic_type test.
3076
640617ad
DJ
30772010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
3078
3079 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
3080 instead of running to main. Do not test the main function.
3081 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
3082 Add new main.
3083
2ed91d1b
PA
30842010-08-26 Pedro Alves <pedro@codesourcery.com>
3085
3086 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
3087 one test.
3088
673bfd45
DE
30892010-08-24 Doug Evans <dje@google.com>
3090
3091 PR symtab/11942
3092 * gdb.dwarf2/dw4-sig-types.cc: New file.
3093 * gdb.dwarf2/dw4-sig-types.h: New file.
3094 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
3095 * gdb.dwarf2/dw4-sig-types.exp: New file.
3096
f9ffd4bb
TT
30972010-08-23 Tom Tromey <tromey@redhat.com>
3098
3099 PR python/11145:
3100 * gdb.python/py-value.c (Base, Derived): New types.
3101 (base): New global.
3102 * gdb.python/py-value.exp (test_subscript_regression): Add
3103 dynamic_cast test.
3104
d839c8a4
TT
31052010-08-23 Tom Tromey <tromey@redhat.com>
3106
3107 PR python/10676:
3108 * gdb.python/py-type.exp (test_fields): Add tests for type
3109 equality.
3110
702c2711
TT
31112010-08-23 Tom Tromey <tromey@redhat.com>
3112
3113 PR python/11915:
3114 * gdb.python/py-type.exp (test_fields): Add tests for array.
3115
832bafd3
KS
31162010-08-23 Keith Seitz <keiths@redhat.com>
3117
3118 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
3119 have any children. Create a new abbrev for it.
3120 Add missing terminal sequence to .debug_abbrev.
3121
c37bf528
KS
31222010-08-20 Keith Seitz <keiths@redhat.com>
3123
3124 PR symtab/11465:
3125 * gdb.dwarf2/pr11465.exp: New test.
3126 * gdb.dwarf2/pr11465.S: New file.
3127 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
3128 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
3129
4572cbac
TJB
31302010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
3131
3132 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
3133 registers. Update data sets with the new v2_double element in the
3134 VSX register union. Add vector_register3_vr data set for the AltiVec
3135 registers. Use gdb_test_no_output instead of send_gdb.
3136
e7fbb131
PA
31372010-08-19 Pedro Alves <pedro@codesourcery.com>
3138
3139 * gdb.python/py-shared.exp: New file, factored out from
3140 python.exp.
3141 * gdb.python/py-shared.c: New file.
3142 * gdb.python/py-shared-sl.c: New file.
3143 * gdb.python/python-1.c: New file.
3144 * gdb.python/python-sl.c: Delete.
3145 * gdb.python/python.c: Mention python-1.c.
3146 * gdb.python/python.exp: Move shared library tests to
3147 py-shared.exp.
3148 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
3149 (MISCELLANEOUS): New.
3150 (clean mostlyclean): Also remove $MISCELLANEOUS.
3151
d30f5e1f
DE
31522010-08-19 Doug Evans <dje@google.com>
3153
3154 PR exp/11926
3155 * gdb.base/printcmds.exp (test_float_accepted): New function.
3156 Move existing float tests there. Add tests for floats with suffixes.
3157 (test_float_rejected): New function.
3158 * gdb.java/jv-print.exp (test_float_accepted): New function.
3159 (test_float_rejected): New function.
3160 * gdb.objc/print.exp: New file.
3161 * gdb.pascal/print.exp: New file.
3162 * lib/objc.exp: New file.
3163
7b3fd859
PM
31642010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
3165
3166 * gdb.base/default.exp (info set): Avoid full buffer error and force
3167 reading up to final gdb prompt.
3168 (show): Likewise.
3169
c92817ce
TT
31702010-08-18 Tom Tromey <tromey@redhat.com>
3171
3172 PR symtab/11919:
3173 * gdb.base/completion.exp: Add test.
3174
f1208f9e
DE
31752010-08-18 Doug Evans <dje@google.com>
3176
3177 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
3178 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
3179 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
3180 Simplify, early exit if runto_main fails.
3181 * gdb.fortran/exprs.exp: load_lib fortran.exp.
3182 (set_lang_fortran): Moved to lib/fortran.exp.
3183 * gdb.fortran/types.exp: load_lib fortran.exp.
3184 (set_lang_fortran): Moved to lib/fortran.exp.
3185 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
3186 * gdb.java/jprint.exp (set_lang_java): Ditto.
3187 * gdb.java/jv-exp.exp: load_lib java.exp.
3188 If set_lang_java fails, issue a warning instead of failure to be
3189 consistent with other set_lang_foo uses.
3190 (set_lang_java): Moved to lib/java.exp.
3191 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
3192 If set_lang_java fails, issue a warning instead of failure to be
3193 consistent with other set_lang_foo uses.
3194 * gdb.pascal/types.exp: load_lib pascal.exp.
3195 (set_lang_pascal): Moved to lib/pascal.exp.
3196 * lib/fortran.exp: New file.
3197 * lib/java.exp (set_lang_java): New function.
3198 * lib/pascal.exp (set_lang_pascal): New function.
3199
2f06b485
YQ
32002010-08-18 Yao Qi <yao@codesourcery.com
3201
3202 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
3203 func_nofb_start and func_loopfb_start, so that address of functions
3204 is equal to these labels on Thumb.
3205
96e25403
YQ
32062010-08-18 Yao Qi <yao@codesourcery.com>
3207
3208 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
3209 to reflect latest c source file.
3210
36e6adc4
JK
32112010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3212
3213 * gdb.cp/infcall-dlopen.exp: New file.
3214 * gdb.cp/infcall-dlopen.cc: New file.
3215 * gdb.cp/infcall-dlopen-lib.cc: New file.
3216
f431efe5
PA
32172010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3218 Pedro Alves <pedro@codesourcery.com>
3219
3220 PR breakpoints/11371
3221
3222 * gdb.base/watch-cond-infcall.exp: New file.
3223 * gdb.base/watch-cond-infcall.c: New file.
3224
06a64a0b
TT
32252010-08-16 Tom Tromey <tromey@redhat.com>
3226
3227 * gdb.base/help.exp: Update.
3228 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
3229 watchpoint.
3230 (test_watch_location): New proc.
3231 (test_watchpoint_in_big_blob): Delete watchpoint.
3232 * gdb.base/watchpoint.c (func5): New function.
3233 (main): Call it.
3234
70ebf4ed
DE
32352010-08-16 Doug Evans <dje@google.com>
3236
3237 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
3238
ca5c20b6
PM
32392010-08-11 Phil Muldoon <pmuldoon@redhat.com>
3240
3241 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
3242 tests.
3243
7346b668
KW
32442010-08-11 Ken Werner <ken.werner@de.ibm.com>
3245
3246 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
3247 * gdb.base/gnu_vector.c: New File.
3248 * gdb.base/gnu_vector.exp: Likewise.
3249
cb2e07a6
PM
32502010-08-11 Phil Muldoon <pmuldoon@redhat.com>
3251
3252 * gdb.python/python.c: New File.
3253 * gdb.python/python-sl.c: New File.
3254 * gdb.python/python.exp: Test solib_address and decode_line
3255 * functions.
3256
5da1313b
JK
32572010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3258
3259 * gdb.python/python.exp (show height, set height 10)
3260 (verify pagination beforehand, verify pagination beforehand: q)
3261 (gdb.execute does not page, verify pagination afterwards)
3262 (verify pagination afterwards: q): New.
3263
49c3ccf7
DE
32642010-08-02 Doug Evans <dje@google.com>
3265
3266 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
3267 because of an older gcc, change test2
3268 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
3269 to unsupported.
3270
42c0c4f1
KH
32712010-07-30 Kazu Hirata <kazu@codesourcery.com>
3272
3273 * gdb.base/break-always.exp: Do not expect full paths to file
3274 names.
3275 * gdb.base/commands.exp: Likewise.
3276
d3765805
DE
32772010-07-30 Doug Evans <dje@google.com>
3278
c98ee71b
DE
3279 * gdb.cp/temargs.exp: For new tests that require newer gccs,
3280 xfail them when run with older gccs.
3281
fd961404
DE
3282 * lib/gdb.exp (build_executable): Forward "c++" option to
3283 get_compiler_info.
3284
999adef4
DE
3285 * gdb.python/py-type.exp (test_template): Mark as xfail tests
3286 "python print ttype.template_argument(1)" and
3287 "python print isinstance(ttype.template_argument(1), gdb.Value)"
3288 if using gcc 4.4 or earlier.
3289
d3765805
DE
3290 * gdb.base/valgrind-db-attach.exp: Use unique test name for
3291 attach-to-debugger handling.
3292
1276c759
JK
32932010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3294
3295 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
3296 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
3297 (main): Use copyreloc.
3298 * gdb.base/prelink.exp (split debug of executable)
3299 (.dynbss vs. .bss address shift): New tests.
3300
88caa9b9
PA
33012010-07-29 Pedro Alves <pedro@codesourcery.com>
3302
3303 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
3304 in gdb_test_multiple.
3305
c6f2ac43
PA
33062010-07-29 Pedro Alves <pedro@codesourcery.com>
3307
3308 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
3309 environment.
3310
326fd672
TT
33112010-07-28 Tom Tromey <tromey@redhat.com>
3312
3313 PR python/11060:
3314 * gdb.python/py-type.c (Temargs): New template.
3315 (temvar): New variable.
3316 * gdb.python/py-type.exp (test_template): New proc.
3317
3ce3b1ba
PA
33182010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
3319
3320 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
3321 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
3322
34eaf542
TT
33232010-07-28 Tom Tromey <tromey@redhat.com>
3324
3325 PR c++/9946:
3326 * gdb.cp/temargs.exp: New file.
3327 * gdb.cp/temargs.cc: New file.
3328
d41b819e
JK
33292010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3330
3331 * gdb.base/help.exp (help disassemble): Update the content.
3332
26ab7092
JK
33332010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3334
3335 * gdb.threads/ia64-sigill.exp: New file.
3336 * gdb.threads/ia64-sigill.c: New file.
3337
5283e9e1
TT
33382010-07-27 Tom Tromey <tromey@redhat.com>
3339
3340 * gdb.opt/inline-cmds.c (ATTR): New define.
3341 (func1): Use it.
3342 (func2): Likewise.
3343 (func3): Likewise.
3344 (outer_inline1): Likewise.
3345 (outer_inline2): Likewise.
3346 * gdb.opt/inline-bt.c (ATTR): New define.
3347 (func1): Use it.
3348 (func2): Likewise.
3349 * gdb.opt/inline-locals.c (ATTR): New define.
3350 (func1): Use it.
3351 (func2): Likewise.
3352
e992ef73
TT
33532010-07-27 Tom Tromey <tromey@redhat.com>
3354
3355 * gdb.stabs/gdb11479.c (hack): New function.
3356 (test): Use it.
3357 (test2): Use it.
3358 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
3359 (int32_search_buf, int64_search_buf): No longer static.
3360 (x): Remove.
3361 * gdb.base/relocate.c (hack): New function.
3362
5374244e
PM
33632010-07-27 Phil Muldoon <pmuldoon@redhat.com>
3364
3365 * gdb.python/py-value.exp (test_inferior_function_call): New function.
3366 * gdb.python/py-value.c (func1): New function.
3367 (func2): Likewise.
3368
a99aee83
CV
33692010-07-26 Corinna Vinschen <vinschen@redhat.com>
3370
3371 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
3372 as not to clash with .data section.
3373
a04ba985
JG
33742010-07-26 Jerome Guitton <guitton@adacore.com>
3375
3376 * gdb.base/code_elim.exp: New file.
3377 * gdb.base/code_elim1.c: New file.
3378 * gdb.base/code_elim2.c: New file.
3379
23bd0f7c
PA
33802010-07-21 Pedro Alves <pedro@codesourcery.com>
3381
3382 PR symtab/11827
3383
3384 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
3385 (some_volatile_enum): New variable.
3386 * gdb.base/printcmds.exp (test_print_enums): New.
3387 <top level>: Call it.
3388
883df6dd
SW
33892010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
3390
3391 * gdb.cp/fpointer.cc: New test.
3392 * gdb.cp/fpointer.exp: New test.
3393
569b05a5
JK
33942010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3395
3396 * gdb.base/solib-nodir.exp: New file.
3397 * lib/gdb.exp (runto): New case for a GDB internal error.
3398
51d7d803
JK
33992010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3400 Ulrich Weigand <uweigand@de.ibm.com>
3401 Tom Tromey <tromey@redhat.com>
3402
3403 * gdb.base/charset-malloc.c: New file.
3404 * gdb.base/charset.c (malloc_stub): New prototype.
3405 (main): Call it instead of malloc itself.
3406 * gdb.base/charset.exp: Use only prepare_for_testing.
3407 (binfile): Remove the variable.
3408
c0edd9ed
JK
34092010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3410
3411 Make core files the process_stratum.
3412 * gdb.base/corefile.exp (run: load core again)
3413 (run: sanity check we see the core file, run: with core)
3414 (run: core file is cleared, attach: load core again)
3415 (attach: sanity check we see the core file, attach: with core)
3416 (attach: core file is cleared): New tests.
3417 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
3418
3cbaedff
KW
34192010-07-14 Ken Werner <ken.werner@de.ibm.com>
3420
3421 * gdb.arch/altivec-abi.exp: New tests.
3422
91158a56
TT
34232010-07-13 Tom Tromey <tromey@redhat.com>
3424
3425 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
3426 (main): Use it.
3427 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
3428
0f5238ed
TT
34292010-07-13 Tom Tromey <tromey@redhat.com>
3430
3431 * gdb.base/label.exp: New file.
3432 * gdb.base/label.c: New file.
3433
add265ae
L
34342010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
3435 H.J. Lu <hongjiu.lu@intel.com>
3436
3437 * lib/gdb.exp (is_ilp32_target): New.
3438 (is_lp64_target): Likewise.
3439
3440 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
3441 target.
3442 * gdb.arch/amd64-disp-step.exp: Likewise.
3443 * gdb.arch/amd64-dword.exp: Likewise.
3444 * gdb.arch/amd64-i386-address.exp: Likewise.
3445 * gdb.arch/amd64-word.exp: Likewise.
889bf7c5 3446
add265ae
L
3447 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
3448 target.
3449 * gdb.arch/i386-bp_permanent.exp: Likewise.
3450 * gdb.arch/i386-byte.exp: Likewise.
3451 * gdb.arch/i386-disp-step.exp: Likewise.
3452 * gdb.arch/i386-gnu-cfi.exp: Likewise.
3453 * gdb.arch/i386-prologue.exp: Likewise.
3454 * gdb.arch/i386-size-overlap.exp: Likewise.
3455 * gdb.arch/i386-size.exp: Likewise.
3456 * gdb.arch/i386-sse.exp: Likewise.
3457 * gdb.arch/i386-unwind.exp: Likewise.
3458 * gdb.arch/i386-word.exp: Likewise.
3459
3460 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
3461 test only when building 64-bit executables. Do not hard-code
3462 -m64 option.
3463
2dfb8c17
DE
34642010-07-07 Doug Evans <dje@google.com>
3465
3466 * lib/gdb.exp (gdb_test_list_exact): New function.
3467 * gdb.base/default.exp (show convenience): Call it, add tests for
3468 $_sdata = void, $_thread = 0.
3469
4e5799b6
JK
34702010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3471 Joel Brobecker <brobecker@adacore.com>
3472
3473 Fix re-run of PIE executable, PR shlibs/11776.
3474 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
3475 Remove $displacement_main to match the solib-svr4.c change. New "kill"
3476 and re-"run" of the inferior.
3477
1a219cc7
JK
34782010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3479 Joel Brobecker <brobecker@adacore.com>
3480
3481 Cope with missing /usr/sbin/prelink.
3482 * lib/prelink-support.exp (prelink_no):
3483 <result == 1 && $output is "no such file or directory">: New.
3484 (prelink_yes): Likewise. Return on failed prelink_no.
3485
5e3b36f8
JK
34862010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3487 Joel Brobecker <brobecker@adacore.com>
3488
3489 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
3490 build_executable by build_executable_own_libs. Replace "prelink -R"
3491 execution by a call of prelink_yes. Comment why "prelink -r" needs no
3492 change.
3493 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
3494 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
3495 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
3496 Replace build_executable by build_executable_own_libs's function
3497 build_executable_own_libs.
3498 (prelinkNO): Create new stub to call prelink_no.
3499 (prelinkYES): Create new stub to call prelink_yes.
3500 (test_attach): Rename calls of copy to file_copy.
3501 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
3502 (copy): Move to ...
3503 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
3504 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
3505 * gdb.base/prelink.exp: Disable testcase also for is_remote and
3506 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
3507 special flags by gdb_compile_shlib. Replace second gdb_compile by
3508 build_executable_own_libs. Replace "prelink -R" execution by a call of
3509 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
3510 a second call of prelink_yes. Replace restart commands by
3511 clean_restart.
3512 (prelink): Rename to ...
3513 (seen displacement message): ... this test. Extend its expectation
3514 strictness.
3515
86e4bafc
JK
35162010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3517
3518 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
3519 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
3520 displacement message exactly once.
3521
3cd07d20
JK
35222010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3523 Joel Brobecker <brobecker@adacore.com>
3524
3525 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
3526 its restore after the <$relink_args != ""> loop. new comment.
3527
0a1e94c7
JK
35282010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3529 Joel Brobecker <brobecker@adacore.com>
3530
3531 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
3532 code for it. New variable relink_args.
3533 (prelinkYES): Call prelinkNO.
3534 (test_attach): Accept new parameter relink_args. Re-prelink the binary
3535 in such case. Move the core code to ...
3536 (test_attach_gdb): ... a new function. Send GDB command "file".
3537 Extend expected "Attaching to " string.
3538
2f70bcfb
TT
35392010-07-02 Tom Tromey <tromey@redhat.com>
3540
3541 * gdb.base/bitops.exp: Remove extraneous "pass".
3542
a17ac5b0
TT
35432010-07-02 Ken Werner <ken.werner@de.ibm.com>
3544
3545 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
3546
dc10affe
PA
35472010-07-01 Pedro Alves <pedro@codesourcery.com>
3548
d41c0fc8
PA
3549 * gdb.base/help.exp: Adjust expected output.
3550
35512010-07-01 Pedro Alves <pedro@codesourcery.com>
3552
3553 * gdb.base/help.exp: Adjust expected output.
dc10affe 3554
0a600c36
JK
35552010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3556
3557 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
3558 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
3559 c++/11702.
3560
37cc8bfe
JK
35612010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3562 Doug Evans <dje@google.com>
3563
3564 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
3565 add .dynamic entry'.
3566
254e6b9e
DE
35672010-06-29 Doug Evans <dje@google.com>
3568
3569 Test PR c++/11702.
3570 * gdb.cp/m-static.exp: Add testcase.
3571 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
3572
595939de 35732010-06-28 Phil Muldoon <pmuldoon@redhat.com>
889bf7c5
PA
3574 Tom Tromey <tromey@redhat.com>
3575 Thiago Jung Bauermann <bauerman@br.ibm.com>
595939de
PM
3576
3577 * gdb.python/py-inferior.c: New File.
3578 * gdb.python/py-infthread.c: New File.
3579 * gdb.python/py-inferior.exp: New File.
3580 * gdb.python/py-infthread.exp: New File.
3581
98751a41
JK
35822010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3583
3584 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
3585 (ptype ::C::OtherFileClass typedefs): New.
3586 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
3587 (C::OtherFileClass::cOtherFileClassVar2): New.
3588 (C::OtherFileClass::cOtherFileClassVar_use): Use also
3589 cOtherFileClassVar2.
3590 (C::cOtherFileType2, C::cOtherFileVar2): New.
3591 (C::cOtherFileVar_use): use also cOtherFileVar2.
3592 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
3593
41f62f39
JK
35942010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3595
3596 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
3597 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
3598 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
3599 (print ::C::cOtherFileVar)
3600 (whatis C::OtherFileClass::cOtherFileClassType)
3601 (whatis ::C::OtherFileClass::cOtherFileClassType)
3602 (print C::OtherFileClass::cOtherFileClassVar)
3603 (print ::cOtherFileClassVar)
3604 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
3605 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
3606 trailing content.
3607 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
3608 (C::OtherFileClass::cOtherFileClassVar)
3609 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
3610 (C::cOtherFileVar, C::cOtherFileVar_use): New.
3611
af53d231
JK
36122010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3613
3614 Test PR c++/11703 and PR gdb/1448.
3615 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
3616 gdb/1448.
3617
9655fd1a
JK
36182010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3619
3620 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
3621 (main) <rtti_data>: New.
3622 * gdb.cp/virtbase.exp (print rtti_data): New.
3623
824cc8dd
JK
36242010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3625 Joel Brobecker <brobecker@adacore.com>
3626
3627 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
3628
6036c742
JK
36292010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3630
3631 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
3632
de6a0421
DE
36332010-06-28 Doug Evans <dje@google.com>
3634
3635 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
3636
b2dae948
DE
36372010-06-27 Doug Evans <dje@google.com>
3638
3639 * gdb.cp/m-static.exp: Update expected test output.
3640
0f3bb72e
PH
36412010-06-25 Paul Hilfinger <hilfinger@adacore.com>
3642
889bf7c5
PA
3643 * gdb.gdb/selftest.exp: Adjust expected message for
3644 capturing start-up runtime.
0f3bb72e 3645
bc9f0842
TT
36462010-06-25 Tom Tromey <tromey@redhat.com>
3647
3648 PR python/10808:
3649 * gdb.python/python.exp: Add new tests.
3650
099ef718
SW
36512010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
3652
3653 * gdb.cp/operator.cc: Created an import loop.
3654 * gdb.cp/operator.exp: Added testcase for import loop.
3655
5868a632
JK
36562010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3657
3658 Test PR python/11407.
3659 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
3660 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
3661 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
3662 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
3663 executable_nofb and executable_fb. New variables srcsfile, objsfile,
3664 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
3665 binfile. Call gdb_compile with clean_restart twice.
3666 (func_nofb print, func_nofb backtrace, func_loopfb print)
3667 (func_loopfb backtrace): New.
3668
af76db58
JK
36692010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3670
3671 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
3672 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
3673 by a hand made one.
3674 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
3675 i?86 requirement. Remove variables srcfile and binfile. New variable
3676 sources, executable_nofb and executable_fb. Call prepare_for_testing.
3677
f2c7657e
UW
36782010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3679
3680 * gdb.cell/dwarfaddr.exp: New file.
3681 * gdb.cell/dwarfaddr.S: New file.
3682
628fe4e4
JK
36832010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3684
3685 Test PR 9436.
3686 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
3687
f1421989
HZ
36882010-06-24 Hui Zhu <teawater@gmail.com>
3689
3690 * gdb.base/eval.exp: New file.
3691
d03285ec
UW
36922010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3693
3694 * gdb.cell/fork.exp: New file.
3695 * gdb.cell/fork.c: Likewise.
3696 * gdb.cell/fork-spu.c: Likewise.
3697
41b2c92d
PM
36982010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
3699
3700 * lib/gdb.exp (banned_variables_traced): New global variable.
3701 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
3702 (gdb_init): Use `trace add variable' instead of obsolete
3703 `trace variable'.
3704
d5bc977f
DE
37052010-06-21 Doug Evans <dje@google.com>
3706
3707 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
3708
d2ed6730
UW
37092010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3710
3711 * gdb.arch/spu-ls.exp: New file.
3712 * gdb.arch/spu-ls.c: Likewise.
3713
6aed2dbc
SS
37142010-06-18 Stan Shebs <stan@codesourcery.com>
3715
3716 * gdb.threads/thread-specific.exp: Add tests of $_thread.
3717
e0756905
UW
37182010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3719
3720 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
3721 * gdb.base/watch-cond.exp: Likewise.
3722 * gdb.python/py-breakpoint.exp: Likewise.
3723
d8053d4d
PA
37242010-06-18 Pedro Alves <pedro@codesourcery.com>
3725
3726 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
3727 clean_restart, make sure every test has a distinct message, and
3728 that messages don't include the executable' full path.
3729
81ce510c
DE
37302010-06-17 Doug Evans <dje@google.com>
3731
3732 * gdb.arch/i386-size.exp: Updated expected output for
3733 DISASSEMBLY_OMIT_FNAME.
3734
65d79d4b
SDJ
37352010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3736 Sergio Durigan Junior <sergiodj@redhat.com>
3737
3738 * gdb.base/watch-notconst.c: New file.
3739 * gdb.base/watch-notconst.S: New file.
3740 * gdb.base/watch-notconst2.c: New file.
3741 * gdb.base/watch-notconst2.S: New file.
3742 * gdb.base/watch-notconst.exp: New file.
3743 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
3744 (func4): Add operations on `global_ptr_ptr'.
3745 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
3746 routine to test watchpoints created with a constant expression.
3747 (test_inaccessible_watchpoint): Include tests for watchpoints
3748 created with a constant expression.
3749
df0f4836
KB
37502010-06-14 Kevin Buettner <kevinb@redhat.com>
3751
3752 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
3753 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
3754 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
3755 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
3756 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
3757 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
3758 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
3759 of `_start'.
3760
b769def5
UW
37612010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3762
3763 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
3764 not supported on the target.
3765 * gdb.mi/mi-nonstop-exit.exp: Likewise.
3766 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
3767 * gdb.mi/mi-nsintrall.exp: Likewise.
3768 * gdb.mi/mi-nsmoribund.exp: Likewise.
3769 * gdb.mi/mi-nsthrexec.exp: Likewise.
3770
d914c394
SS
37712010-06-11 Stan Shebs <stan@codesourcery.com>
3772
3773 * gdb.base/permissions.exp: New file.
3774
37752010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
3776
3777 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
3778 does not support ELF executable class.
3779
f3ce5b9c
UW
37802010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3781
3782 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
3783
8e46892c
JK
37842010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3785
3786 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
3787 (runto): Catch "The target does not support running in non-stop mode.".
3788
6cc55c64
MS
37892010-06-11 Michael Snyder <msnyder@vmware.com>
3790
3791 * gdb.base/setshow.exp (set language asm): Don't use
3792 gdb_test_no_output, fails on some targets.
3793
caddefa4
UW
37942010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3795
3796 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
3797 * gdb.cp/pr9167.exp: Likewise.
3798
468b1aa7
UW
37992010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3800
3801 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
3802
5c3552dc
UW
38032010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3804
3805 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
3806
02e6fe6a
UW
38072010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3808
3809 * gdb.base/charset.c (main): Make sure malloc gets linked in.
3810
0e03807e
TT
38112010-06-11 Tom Tromey <tromey@redhat.com>
3812
3813 PR gdb/9977, PR exp/11636::
3814 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
3815 (pieces_test_f6): Update expected output.
3816
2bdf28a0
JK
38172010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3818
3819 * gdb.base/moribund-step.exp: New.
3820
f6978de9
MS
38212010-06-08 Michael Snyder <msnyder@vmware.com>
3822
3823 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
889bf7c5 3824 * gdb.ada/boolean_expr.exp:
f6978de9
MS
3825 * gdb.ada/frame_args.exp: Ditto.
3826 * gdb.ada/lang_switch.exp: Ditto.
3827 * gdb.ada/ptype_arith_binop.exp: Ditto.
3828 * gdb.ada/ref_param.exp: Ditto.
3829 * gdb.ada/type_coercion.exp:Ditto.
3830
3831 * gdb.asm/asm-source.exp: Ditto.
3832
3833 * gdb.base/attach.exp: Ditto.
3834 * gdb.base/bitfields2.exp: Ditto.
3835 * gdb.base/call-signal-resume.exp: Ditto.
3836 * gdb.base/callfuncs.exp: Ditto.
3837 * gdb.base/commands.exp: Ditto.
3838 * gdb.base/dbx.exp: Ditto.
3839 * gdb.base/default.exp: Ditto.
3840 * gdb.base/dump.exp: Ditto.
3841 * gdb.base/exprs.exp: Ditto.
3842 * gdb.base/freebpcmd.exp: Ditto.
3843 * gdb.base/interrupt.exp: Ditto.
3844 * gdb.base/list.exp: Ditto.
3845 * gdb.base/long_long.exp: Ditto.
3846 * gdb.base/maint.exp: Ditto.
3847 * gdb.base/ptype.exp: Ditto.
3848 * gdb.base/return.exp: Ditto.
3849 * gdb.base/setshow.exp: Ditto.
3850 * gdb.base/sigbpt.exp: Ditto.
3851 * gdb.base/sigrepeat.exp: Ditto.
3852
3853 * gdb.cp/classes.exp: Ditto.
3854
3855 * gdb.dwarf2/dw2-restore.exp: Ditto.
3856
3857 * gdb.gdb/selftest.exp: Ditto.
3858
3859 * gdb.multi/base.exp: Ditto.
3860 * gdb.multi/bkpt-multi-exec.exp: Ditto.
3861
3862 * gdb.python/py-block.exp: Ditto.
3863 * gdb.python/py-prettyprint.exp: Ditto.
3864 * gdb.python/py-template.exp: Ditto.
3865
3866 * gdb.server/ext-attach.exp: Ditto.
3867 * gdb.server/ext-run.exp: Ditto.
3868 * gdb.server/server-mon.exp: Ditto.
3869
3870 * gdb.threads/fork-thread-pending.exp: Ditto.
3871 * gdb.threads/hand-call-in-threads.exp: Ditto.
3872 * gdb.threads/interrupted-hand-call.exp: Ditto.
3873 * gdb.threads/linux-dp.exp: Ditto.
3874 * gdb.threads/manythreads.exp: Ditto.
3875 * gdb.threads/print-threads.exp: Ditto.
3876 * gdb.threads/pthreads.exp: Ditto.
3877 * gdb.threads/schedlock.exp: Ditto.
3878 * gdb.threads/thread-unwindonsignal.exp: Ditto.
3879 * gdb.threads/threadapply.exp: Ditto.
3880
de7ff789
MS
38812010-06-08 Michael Snyder <msnyder@vmware.com>
3882
889bf7c5 3883 * gdb.ada/exec_changed.exp:
de7ff789
MS
3884 Use ".*" instead of "" as wildcard regexp.
3885
3886 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
3887 * gdb.base/call-ar-st.exp: Ditto.
3888 * gdb.base/checkpoint.exp: Ditto.
3889 * gdb.base/default.exp: Ditto.
3890 * gdb.base/dump.exp: Ditto.
3891 * gdb.base/ending-run.exp: Ditto.
3892 * gdb.base/fileio.exp: Ditto.
3893 * gdb.base/miscexprs.exp: Ditto.
3894 * gdb.base/pointers.exp: Ditto.
3895 * gdb.base/readline.exp: Ditto.
3896 * gdb.base/reread.exp: Ditto.
3897 * gdb.base/restore.exp: Ditto.
3898 * gdb.base/shlib-call.exp: Ditto.
3899 * gdb.base/valgrind-db-attach.exp: Ditto.
3900 * gdb.base/volatile.exp: Ditto.
3901 * gdb.base/watchpoints.exp: Ditto.
3902
3903 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
3904
3905 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
3906 * gdb.python/py-value.exp: Ditto.
3907
3908 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
3909 * gdb.trace/circ.exp: Ditto.
3910 * gdb.trace/collection.exp: Ditto.
3911 * gdb.trace/packetlen.exp: Ditto.
3912 * gdb.trace/passc-dyn.exp: Ditto.
3913 * gdb.trace/report.exp: Ditto.
3914 * gdb.trace/tfile.exp: Ditto.
3915 * gdb.trace/tfind.exp: Ditto.
3916 * gdb.trace/while-dyn.exp: Ditto.
3917
3bebe2f2
JK
39182010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3919
3920 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
3921
5c631832
JK
39222010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3923
3924 Test PR 10640.
3925 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
3926
4c3376c8
SW
39272010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
3928
3929 * gdb.cp/koenig.exp: Test for ADL operators.
3930 * gdb.cp/koenig.cc: Added ADL operators.
3931 * gdb.cp/operator.exp: New test.
3932 * gdb.cp/operator.cc: New test.
3933
dc226d5a
MS
39342010-06-04 Michael Snyder <msnyder@vmware.com>
3935
dfb88a23
MS
3936 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
3937 * gdb.base/pending.exp: Ditto.
f7ae76b3 3938
dc226d5a
MS
3939 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
3940
967cf477
DE
39412010-06-04 Doug Evans <dje@google.com>
3942
3943 * gdb.python/py-prettyprint.exp: Add new test for enabled and
3944 disabled printers.
3945 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
3946 (enable_lookup_function): New function.
3947
eb801841
TT
39482010-06-04 Tom Tromey <tromey@redhat.com>
3949
3950 * gdb.python/py-value.exp (test_value_hash): Don't test equality
3951 of hash and id.
3952
38979823
JK
39532010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3954
3955 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
3956 newline.
3957 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
3958 (empty verbose non-noisy clear, empty verbose noisy clear)
3959 (empty non-verbose noisy clear): Likewise.
3960
35ec993f
MS
39612010-06-03 Michael Snyder <msnyder@vmware.com>
3962
3963 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
3964 * gdb.base/display.exp: Ditto.
3965 * gdb.base/find.exp: Ditto.
3966 * gdb.base/ifelse.exp: Ditto.
3967 * gdb.base/multi-forks.exp: Ditto.
3968 * gdb.base/recurse.exp: Ditto.
3969 * gdb.base/setshow.exp: Ditto.
3970 * gdb.base/value-double-free.exp: Ditto.
3971 * gdb.base/watch-vfork.exp: Ditto.
3972 * gdb.base/watch_thread_num.exp: Ditto.
3973 * gdb.base/watchpoint-solib.exp: Ditto.
3974 * gdb.base/watchpoint.exp: Ditto.
3975 * gdb.base/watchpoints.exp: Ditto.
3976
3977 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
3978 * gdb.cp/overload.exp: Ditto.
3979 * gdb.cp/virtfunc.exp: Ditto.
3980
3981 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
3982
889bf7c5 3983 * gdb.reverse/watch-precsave.exp:
35ec993f
MS
3984 Replace gdb_test with gdb_test_no_output.
3985
889bf7c5 3986 * gdb.threads/attach-into-signal.exp:
35ec993f
MS
3987 Replace gdb_test with gdb_test_no_output.
3988 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
3989 * gdb.threads/watchthreads.exp: Ditto.
3990 * gdb.threads/watchthreads2.exp: Ditto.
3991
3992 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
3993 * gdb.trace/tfind.exp: Ditto.
3994
c22decce
JB
39952010-06-03 Joel Brobecker <brobecker@adacore.com>
3996
3997 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
3998 successful test if message is the empty string.
3999
fd5700c7
JK
40002010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4001
4002 * gdb.fortran/module.exp (stopped language detection): New test.
4003
f55ee35c
JK
40042010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4005
4006 Support DW_TAG_module as separate namespaces.
4007 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
4008 gdb.fortran/library-module-lib.f90: New.
4009 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
4010 (print i): Remove.
4011 (continue to breakpoint: i-is-1, print var_i value 1)
4012 (continue to breakpoint: i-is-2, print var_i value 2)
4013 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
4014 (print var_d, print var_i value 14, ptype modmany, complete `modm)
4015 (complete `modmany, complete `modmany`, complete `modmany`var)
4016 (show language, setting breakpoint at module): New tests.
4017 * gdb.fortran/module.f90 (module mod): Remove.
4018 (module mod1, module mod2, module modmany, subroutine sub1)
4019 (subroutine sub2, program module): New.
4020
b8e8282f
JK
40212010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4022
4023 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
4024 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
4025 * gdb.cp/anon-union.exp (pass): Rename to ...
4026 (print z 2): ... here.
b8e8282f 4027
019ebafc
MS
40282010-06-02 Michael Snyder <msnyder@vmware.com>
4029
e68d8fd4
MS
4030 * gdb.trace/actions.exp: Use gdb_test_no_output.
4031 * gdb.trace/circ.exp: Ditto.
4032 * gdb.trace/packetlen.exp: Ditto.
4033 * gdb.trace/save-trace.exp: Ditto.
4034 * gdb.trace/tracecmd.exp: Ditto.
4035 * gdb.trace/tsv.exp: Ditto.
4036
12b5d08a
MS
4037 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
4038 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
4039 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
4040 * gdb.threads/manythreads.exp: Ditto.
4041 * gdb.threads/print-threads.exp: Ditto.
4042 * gdb.threads/pthreads.exp: Ditto.
4043 * gdb.threads/schedlock.exp: Ditto.
4044 * gdb.threads/staticthreads.exp: Ditto.
4045 * gdb.threads/thread-specific.exp: Ditto.
4046 * gdb.threads/thread-unwindonsignal.exp: Ditto.
4047 * gdb.threads/threadapply.exp: Ditto.
4048 * gdb.threads/watchthreads.exp: Ditto.
4049 * gdb.threads/watchthreads2.exp: Ditto.
4050
89493308
MS
4051 * gdb.python/py-block.exp: Use gdb_test_no_output.
4052 * gdb.python/py-prettyprint.exp: Ditto.
4053 * gdb.python/py-template.exp: Ditto.
4054 * gdb.python/py-value.exp: Ditto.
4055
4056 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
4057 * gdb.reverse/watch-reverse.exp: Ditto.
4058
4059 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
4060 * gdb.server/ext-run.exp: Ditto.
4061
019ebafc
MS
4062 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
4063 * gdb.dwarf2/dw2-compressed.exp: Ditto.
4064 * gdb.dwarf2/dw2-intercu.exp: Ditto.
4065 * gdb.dwarf2/dw2-intermix.exp: Ditto.
4066 * gdb.dwarf2/dw2-producer.exp: Ditto.
4067 * gdb.dwarf2/mac-fileno.exp: Ditto.
4068
4069 * gdb.gdb/observer.exp: Use gdb_test_no_output.
4070 * gdb.gdb/selftest.exp: Ditto.
4071
4072 * gdb.multi/base.exp: Use gdb_test_no_output.
4073
4074 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
4075
3e0ca3a5
JK
40762010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4077
4078 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
4079
9db70545
MS
40802010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
4081
a8d52276
MS
4082 * gdb.cp/class2.exp: Use gdb_test_no_output.
4083 * gdb.cp/classes.exp: Ditto.
4084 * gdb.cp/extern-c.exp: Ditto.
4085 * gdb.cp/inherit.exp: Ditto.
4086 * gdb.cp/maint.exp: Ditto.
4087 * gdb.cp/mb-inline.exp: Ditto.
4088 * gdb.cp/mb-templates.exp: Ditto.
4089 * gdb.cp/method2.exp: Ditto.
4090 * gdb.cp/misc.exp: Ditto.
4091 * gdb.cp/ovldbreak.exp: Ditto.
4092 * gdb.cp/punctuator.exp: Ditto.
4093 * gdb.cp/templates.exp: Ditto.
4094 * gdb.cp/virtbase.exp: Ditto.
4095
889bf7c5 4096 * gdb.threads/attach-stopped.exp:
9db70545 4097 Replace uses of send_gdb / gdb_expect.
889bf7c5 4098 * gdb.threads/attachstop-mt.exp:
9db70545 4099 Replace uses of send_gdb / gdb_expect.
889bf7c5 4100 * gdb.threads/gcore-thread.exp:
9db70545 4101 Replace uses of send_gdb / gdb_expect.
889bf7c5 4102 * gdb.threads/hand-call-in-threads.exp:
9db70545
MS
4103 Replace uses of send_gdb / gdb_expect.
4104 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 4105 * gdb.threads/print-threads.exp:
9db70545
MS
4106 Replace uses of send_gdb / gdb_expect.
4107 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
4108 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
4109 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
4110
4111 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
4112 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
4113 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
4114 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
4115 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
4116 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
4117 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
4118 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
4119 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
4120 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
4121 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
4122
359cc68c
JK
41232010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4124
4125 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
4126
7d3fe98e
SW
41272010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
4128
4129 * gdb.cp/koenig.exp: Added new test case.
4130 * gdb.cp/koenig.cc: Ditto.
4131
27d3a1a2
MS
41322010-06-01 Michael Snyder <msnyder@vmware.com>
4133
4134 * gdb.base/arithmet.exp: Use gdb_test_no_output.
4135 * gdb.base/arrayidx.exp: Ditto.
4136 * gdb.base/attach.exp: Ditto.
4137 * gdb.base/auxv.exp: Ditto.
4138 * gdb.base/bigcre.exp: Ditto.
4139 * gdb.base/break-always.exp: Ditto.
4140 * gdb.base/break-interp.exp: Ditto.
4141 * gdb.base/break.exp: Ditto.
4142 * gdb.base/breakpoint-shadow.exp: Ditto.
4143 * gdb.base/call-ar-st.exp: Ditto.
4144 * gdb.base/call-sc.exp: Ditto.
4145 * gdb.base/call-signal-resume.exp: Ditto.
4146 * gdb.base/callfuncs.exp: Ditto.
4147 * gdb.base/catch-syscall.exp: Ditto.
4148 * gdb.base/charset.exp: Ditto.
4149 * gdb.base/code-expr.exp: Ditto.
4150 * gdb.base/commands.exp: Ditto.
4151 * gdb.base/cond-expr.exp: Ditto.
4152 * gdb.base/condbreak.exp: Ditto.
4153 * gdb.base/cursal.exp: Ditto.
4154 * gdb.base/cvexpr.exp: Ditto.
4155 * gdb.base/default.exp: Ditto.
4156 * gdb.base/del.exp: Ditto.
4157 * gdb.base/detach.exp: Ditto.
4158 * gdb.base/display.exp: Ditto.
4159 * gdb.base/ena-dis-br.exp: Ditto.
4160 * gdb.base/eval-skip.exp: Ditto.
4161 * gdb.base/foll-fork.exp: Ditto.
4162 * gdb.base/foll-vfork.exp: Ditto.
4163 * gdb.base/frame-args.exp: Ditto.
4164 * gdb.base/funcargs.exp: Ditto.
4165 * gdb.base/gcore-buffer-overflow.exp: Ditto.
4166 * gdb.base/gdbvars.exp: Ditto.
4167 * gdb.base/help.exp: Ditto.
4168 * gdb.base/ifelse.exp: Ditto.
4169 * gdb.base/included.exp: Ditto.
4170 * gdb.base/list.exp: Ditto.
4171 * gdb.base/macscp.exp: Ditto.
4172 * gdb.base/maint.exp: Ditto.
4173 * gdb.base/multi-fork.exp: Ditto.
4174 * gdb.base/overlays.exp: Ditto.
4175 * gdb.base/page.exp: Ditto.
4176 * gdb.base/pending.exp: Ditto.
4177 * gdb.base/pointers.exp: Ditto.
4178 * gdb.base/pr11022.exp: Ditto.
4179 * gdb.base/prelink.exp: Ditto.
4180 * gdb.base/printcmds.exp: Ditto.
4181 * gdb.base/psymtab.exp: Ditto.
4182 * gdb.base/randomize.exp: Ditto.
4183 * gdb.base/relational.exp: Ditto.
4184 * gdb.base/relocate.exp: Ditto.
4185 * gdb.base/remote.exp: Ditto.
4186 * gdb.base/sepdebug.exp: Ditto.
4187 * gdb.base/set-lang-auto.exp: Ditto.
4188 * gdb.base/setshow.exp: Ditto.
4189 * gdb.base/setvar.exp: Ditto.
4190 * gdb.base/signals.exp: Ditto.
4191 * gdb.base/signull.exp: Ditto.
4192 * gdb.base/sigstep.exp: Ditto.
4193 * gdb.base/sizeof.exp: Ditto.
4194 * gdb.base/solib-disc.exp: Ditto.
4195 * gdb.base/store.exp: Ditto.
4196 * gdb.base/structs.exp: Ditto.
4197 * gdb.base/structs2.exp: Ditto.
4198 * gdb.base/subst.exp: Ditto.
4199 * gdb.base/term.exp: Ditto.
4200 * gdb.base/trace-commands.exp: Ditto.
4201 * gdb.base/unwindonsignal.exp: Ditto.
4202 * gdb.base/valgrind-db-attach.exp: Ditto.
4203 * gdb.base/varargs.exp: Ditto.
4204 * gdb.base/watch-cond.exp: Ditto.
4205 * gdb.base/watch_thread_num.exp: Ditto.
4206 * gdb.base/watchpoint-cond-gone.exp: Ditto.
4207 * gdb.base/watchpoint.exp: Ditto.
4208 * gdb.base/whatis-exp.exp: Ditto.
4209
f8d3bf8f
MS
42102010-06-01 Michael Snyder <msnyder@vmware.com>
4211
4212 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
4213 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
4214 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
4215 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
4216 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
4217 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
4218 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
4219 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
4220 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
4221 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
4222 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
4223 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
4224 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
4225 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
4226 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
4227
3f9e0d32
JK
42282010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4229
4230 * gdb.base/commands.exp (begin commands on watch): Remove excessive
4231 trailing newline.
4232 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
4233 * gdb.java/jmisc.exp (p *args\n): Rename to ...
4234 (p *args): ... here and remove excessive trailing newline.
4235
f629457d
JB
42362010-05-31 Joel Brobecker <brobecker@adacore.com>
4237
4238 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
4239
09eef106
JK
42402010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
4241
4242 Accept the new Linux kernel "t (tracing stop)" string.
4243 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
4244 Update comment.
4245 (state_wait) <T (tracing stop)>: New.
4246 (main): Update the state_wait expect string.
4247
94f31136
PA
42482010-05-28 Pedro Alves <pedro@codesourcery.com>
4249
4250 * limits.c, limits.exp: Delete files.
4251 * Makefile.in (clean mostlyclean): Adjust.
4252 * tracecmd.exp: Adjust.
4253
096554ab
JK
42542010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4255
4256 * gdb.base/tui-layout.exp: New.
4257
27d3a1a2 42582010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50 4259
889bf7c5 4260 * gdb.reverse/break-precsave.exp:
bcd2dc50 4261 Replace uses of send_gdb / gdb_expect.
889bf7c5 4262 * gdb.reverse/break-reverse.exp:
bcd2dc50 4263 Replace uses of send_gdb / gdb_expect.
889bf7c5 4264 * gdb.reverse/consecutive-precsave.exp:
bcd2dc50 4265 Replace uses of send_gdb / gdb_expect.
889bf7c5 4266 * gdb.reverse/consecutive-reverse.exp:
bcd2dc50 4267 Replace uses of send_gdb / gdb_expect.
889bf7c5 4268 * gdb.reverse/finish-precsave.exp:
bcd2dc50 4269 Replace uses of send_gdb / gdb_expect.
889bf7c5 4270 * gdb.reverse/finish-reverse.exp:
bcd2dc50 4271 Replace uses of send_gdb / gdb_expect.
889bf7c5 4272 * gdb.reverse/i386-precsave.exp:
bcd2dc50 4273 Replace uses of send_gdb / gdb_expect.
889bf7c5 4274 * gdb.reverse/i386-reverse.exp:
bcd2dc50 4275 Replace uses of send_gdb / gdb_expect.
889bf7c5 4276 * gdb.reverse/i386-sse-reverse.exp:
bcd2dc50 4277 Replace uses of send_gdb / gdb_expect.
889bf7c5 4278 * gdb.reverse/i387-env-reverse.exp:
bcd2dc50 4279 Replace uses of send_gdb / gdb_expect.
889bf7c5 4280 * gdb.reverse/i387-stack-reverse.exp:
bcd2dc50 4281 Replace uses of send_gdb / gdb_expect.
889bf7c5 4282 * gdb.reverse/machinestate-precsave.exp:
bcd2dc50 4283 Replace uses of send_gdb / gdb_expect.
889bf7c5 4284 * gdb.reverse/machinestate.exp:
bcd2dc50 4285 Replace uses of send_gdb / gdb_expect.
889bf7c5 4286 * gdb.reverse/sigall-precsave.exp:
bcd2dc50 4287 Replace uses of send_gdb / gdb_expect.
889bf7c5 4288 * gdb.reverse/sigall-reverse.exp:
bcd2dc50 4289 Replace uses of send_gdb / gdb_expect.
889bf7c5 4290 * gdb.reverse/solib-precsave.exp:
bcd2dc50 4291 Replace uses of send_gdb / gdb_expect.
889bf7c5 4292 * gdb.reverse/solib-reverse.exp:
bcd2dc50 4293 Replace uses of send_gdb / gdb_expect.
889bf7c5 4294 * gdb.reverse/step-precsave.exp:
bcd2dc50 4295 Replace uses of send_gdb / gdb_expect.
889bf7c5 4296 * gdb.reverse/step-reverse.exp:
bcd2dc50 4297 Replace uses of send_gdb / gdb_expect.
889bf7c5 4298 * gdb.reverse/until-precsave.exp:
bcd2dc50 4299 Replace uses of send_gdb / gdb_expect.
889bf7c5 4300 * gdb.reverse/until-reverse.exp:
bcd2dc50 4301 Replace uses of send_gdb / gdb_expect.
889bf7c5 4302 * gdb.reverse/watch-precsave.exp:
bcd2dc50 4303 Replace uses of send_gdb / gdb_expect.
889bf7c5 4304 * gdb.reverse/watch-reverse.exp:
bcd2dc50
MS
4305 Replace uses of send_gdb / gdb_expect.
4306
3def43e0
JK
43072010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4308
4309 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
4310 excessive newline.
4311
27d3a1a2 43122010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
4313
4314 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
4315 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
4316 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
4317 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
4318 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
4319 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
4320 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
4321 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
4322 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
4323 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
4324 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
4325 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
4326 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
4327 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
4328 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
4329 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
4330 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
4331 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
4332 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 4333
27d3a1a2 43342010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 4335
22454424
MS
4336 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
4337 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
4338
4339 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
4340 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
4341 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
4342
889bf7c5 4343 * gdb.reverse/consecutive-reverse.exp:
22454424 4344 Replace uses of send_gdb / gdb_expect.
889bf7c5 4345 * gdb.reverse/consecutive-precsave.exp:
22454424
MS
4346 Replace uses of send_gdb / gdb_expect.
4347
4348 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
4349 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
4350 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 4351 * gdb.mi/mi-ns-stale-regcache.exp:
22454424
MS
4352 Replace uses of send_gdb / gdb_expect.
4353 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
4354 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
4355 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
4356 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
4357 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
4358 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
4359 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
4360 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
4361 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
4362
43632010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 4364
22454424 4365 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 4366
22454424 4367 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 4368
22454424
MS
4369 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
4370 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
4371 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
4372 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
4373 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
4374 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
4375 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
4376 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
4377 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 4378
6e5f2c59
TT
43792010-05-25 Tom Tromey <tromey@redhat.com>
4380
4381 * gdb.base/macscp.exp: Add missing space after setup_kfail.
4382
bbc8b958
TT
43832010-05-25 Tom Tromey <tromey@redhat.com>
4384
4385 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
4386 argument order.
4387 * gdb.base/macscp.exp: Fix setup_kfail argument order.
4388 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
4389 order.
4390 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
4391 order.
4392 * gdb.base/call-sc.exp (setup_kfails): Remove.
4393 (setup_compiler_kfails): Remove.
4394 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
4395 argument order.
4396 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
4397 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
4398 (advancei): Fix setup_kfail argument order.
4399 * gdb.base/radix.exp: Fix setup_kfail argument order.
4400 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
4401 order.
4402 * gdb.base/structs.exp (setup_kfails): Remove.
4403 (setup_compiler_kfails): Fix setup_kfail argument order.
4404 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
4405 order.
4406 * gdb.java/jmain.exp: Fix setup_kfail argument order.
4407 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
4408 setup_kfail argument order.
4409 * gdb.cp/overload.exp: Fix setup_kfail argument order.
4410
83d1babf
TT
44112010-05-25 Tom Tromey <tromey@redhat.com>
4412
4413 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
4414
6acb16a2
MS
44152010-05-25 Michael Snyder <msnyder@vmware.com>
4416
4417 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
4418 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
4419 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
4420 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
4421 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
4422 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
4423 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
4424 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
4425 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
4426 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
4427 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
4428 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
4429 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
4430 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
4431 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
4432 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
4433 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
4434 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
4435 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
4436 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
4437 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
4438 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
4439 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
4440 * gdb.base/default.exp: Replace send_gdb with gdb_test.
4441 * gdb.base/define.exp: Replace send_gdb with gdb_test.
4442 * gdb.base/display.exp: Replace send_gdb with gdb_test.
4443 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
4444 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
4445 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
4446 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
4447 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
4448 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
4449 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
4450 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
4451 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
4452 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
4453 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
4454 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
4455 * gdb.base/help.exp: Replace send_gdb with gdb_test.
4456 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
4457 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
4458 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
4459 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
4460 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
4461 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
4462 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
4463 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 4464 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
4465
44662010-05-25 Doug Evans <dje@google.com>
4467
4468 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
4469 gdb.string_to_argv.
ad3986f0 4470
d3b1e874
TT
44712010-05-21 Tom Tromey <tromey@redhat.com>
4472
4473 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
4474 Call it.
4475 * gdb.dwarf2/pieces.S: Update.
4476 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
4477
cb826367
TT
44782010-05-21 Tom Tromey <tromey@redhat.com>
4479
4480 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
4481 Call it.
4482 * gdb.dwarf2/pieces.c (struct C): New.
4483 (f6): New function.
4484 * gdb.dwarf2/pieces.S: Replace.
4485
74de6778
TT
44862010-05-21 Tom Tromey <tromey@redhat.com>
4487
4488 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
4489 Call it.
4490
afd74c5f
TT
44912010-05-21 Tom Tromey <tromey@redhat.com>
4492
4493 * gdb.dwarf2.pieces.exp: New file.
4494 * gdb.dwarf2.pieces.S: New file.
4495 * gdb.dwarf2.pieces.c: New file.
4496
a7b75dfd 44972010-05-20 Pedro Alves <pedro@codesourcery.com>
889bf7c5 4498 Joel Brobecker <brobecker@adacore.com>
a7b75dfd
JB
4499
4500 * lib/gdb.exp (gdb_test_no_output): New function.
4501 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
4502 when testing commands that should produce no output.
4503
c81c812a
JB
45042010-05-17 Joel Brobecker <brobecker@adacore.com>
4505
4506 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
4507 parameter that we want to watch being a constant.
4508
0cce5bd9
JB
45092010-05-17 Joel Brobecker <brobecker@adacore.com>
4510
4511 * gdb.ada/cond_lang: New testcase.
4512
47050449
JB
45132010-05-17 Joel Brobecker <brobecker@adacore.com>
4514
4515 * lib/gdb.exp (banned_variables): New variable/constant.
4516 (gdb_init): Add write trace on variables listed in banned_variables.
4517 (gdb_finish): Remove write traces on variables listed in
4518 banned_variables.
4519
77c01586
JB
45202010-05-17 Joel Brobecker <brobecker@adacore.com>
4521
4522 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
4523 * gdb.cp/koenig.exp: Likewise.
4524
88d4aea7
PM
45252010-05-14 Phil Muldoon <pmuldoon@redhat.com>
4526
889bf7c5 4527 PR python/11482
88d4aea7
PM
4528
4529 * gdb.python/py-value.exp (test_value_hash): New function.
4530
f5a010c0
PM
45312010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
4532
4533 PR exp/11530.
4534 * gdb.base/gdb11530.c: New file.
4535 * gdb.base/gdb11530.exp: New file.
4536
8ef4892f
JK
45372010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4538
4539 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
4540 * gdb.dwarf2/dw2-modula2-self-type.S: New.
4541
7322dca9
SW
45422010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
4543
4544 * gdb.cp/koenig.exp: New test.
4545 * gdb.cp/koenig.cc: New test program.
4546
02e7ea18
JB
45472010-05-05 Joel Brobecker <brobecker@adacore.com>
4548
4549 Remove the use of prms_id and bug_id throughout the testsuite.
4550
e1c34c5d
PM
45512010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
4552
4553 PR exp/11349.
4554 * testsuite/gdb.cp/ref-types.exp: Add test to examine
4555 use a reference local variable.
4556
8e1d0c49
JK
45572010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4558
4559 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
4560 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
4561 variable different_dir. Move debugfile into a full directory pathname
4562 under DIFFERENT_DIR.
4563 * lib/gdb.exp (separate_debug_filename): Remove.
4564 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
4565 variable debug_dir and mkdir of it. Update function comments.
4566
e66408ed
PA
45672010-04-29 Pedro Alves <pedro@codesourcery.com>
4568
4569 PR gdb/11557
4570
4571 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
4572 files.
4573
d7b32ed3
PM
45742010-04-29 Phil Muldoon <pmuldoon@redhat.com>
4575
889bf7c5 4576 * gdb.python/py-param.exp: New File.
d7b32ed3 4577
6aecb9c2
JB
45782010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
4579
4580 * gdb.base/default.exp: Fix "set language" test.
4581
bdf92a1c
PM
45822010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
4583
4584 PR breakpoints/11531.
4585 * gdb.base/gdb11531.c: New file.
4586 * gdb.base/gdb11531.exp: New file.
4587
3f172e24
TT
45882010-04-26 Tom Tromey <tromey@redhat.com>
4589
4590 * gdb.base/completion.exp: Add tests for completion and deprecated
4591 commands.
4592
64af4c92
JK
45932010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4594
4595 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
4596 (print /x char_array): Escape curly brackets.
4597
492928e4
JK
45982010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4599
4600 Fix deadlock on looped list of loaded shared objects.
4601 * gdb.base/solib-corrupted.exp: New.
4602
66d09542
DE
46032010-04-23 Doug Evans <dje@google.com>
4604
4605 * gdb.python/py-section-script.c: New file.
4606 * gdb.python/py-section-script.exp: New file.
4607 * gdb.python/py-section-script.py: New file.
4608
8bd10a10
CM
46092010-04-20 Chris Moller <cmoller@redhat.com>
4610
4611 PR 10179
4612
4613 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
4614 * gdb.base/pr10179-a.c:
4615 * gdb.base/pr10179-b.c:
4616 * gdb.base/pr10179.exp: New files.
4617
c0201579
JK
46182010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4619
4620 Fix crashes on dangling display expressions.
4621 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
4622 is SEP.
4623 (lib_flags): Remove the "debug" keyword.
4624 (libsepdebug): New variable for iterating new loop.
4625 (save_pf_prefix): New variable wrapping the loop.
4626 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
4627 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
4628
793b0ff8
PM
46292010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
4630
4631 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
4632
097f51f7
PM
46332010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
4634
4635 PR stabs/11479.
4636 * gdb.stabs/gdb11479.exp: New file.
4637 * gdb.stabs/gdb11479.c: New file.
4638
9a22f0d0
PM
46392010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
4640
4641 * gdb.base/charset.c (Strin16, String32): New variables.
4642 * gdb.base/charset.exp (gdb_test): Test correct display
4643 of 16 or 32 bit strings.
4644
46452010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
4646
4647 PR 9167
4648 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
4649 * gdb.cp/pr9167.cc: New file.
4650 * gdb.cp/pr9167.exp: New file.
4651
4652
6e354e5e
PM
46532010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
4654
4655 PR pascal/11492.
4656 * gdb.pascal/gdb11492.pas: New file.
4657 * gdb.pascal/gdb11492.exp: New file.
4658
be942545
JB
46592010-04-20 Joel Brobecker <brobecker@adacore.com>
4660
1667e6e3 4661 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 4662
0c3acc09
JB
46632010-04-20 Joel Brobecker <brobecker@adacore.com>
4664
4665 * gdb.ada/dyn_loc: New testcase.
4666
ec31cde5
CM
46672010-04-20 Chris Moller <cmoller@redhat.com>
4668
4669 PR 10867
889bf7c5 4670
ec31cde5
CM
4671 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
4672 * gdb.cp/pr10687.cc: New file.
4673 * gdb.cp/pr10687.exp: New file.
4674
4675
ce4b0682
SDJ
46762010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4677 Sergio Durigan Junior <sergiodj@redhat.com>
4678
4679 * gdb.fortran/logical.exp: New testcase.
4680 * gdb.fortran/logical.f90: New file.
4681
3436961f
DE
46822010-04-19 Doug Evans <dje@google.com>
4683
4684 * gdb.base/help.exp (help source): Update expected output.
4685
4d836c09
JK
46862010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4687
4688 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
4689 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
4690 gdb_exit and return.
4691 (executable): New variable.
4692 (binfile): Use it.
4693
6149aea9
PA
46942010-04-19 Pedro Alves <pedro@codesourcery.com>
4695
4696 PR breakpoints/8554.
4697
4698 * gdb.trace/save-trace.exp: Adjust.
4699
ed41462c
L
47002010-04-17 H.J. Lu <hongjiu.lu@intel.com>
4701
4702 PR corefiles/11511
4703 * gdb.arch/system-gcore.exp: New.
4704 * gdb.arch/gcore.c: Likewise.
4705
3f7b2faa
DE
47062010-04-15 Doug Evans <dje@google.com>
4707
fa33c3cd
DE
4708 * gdb.python/py-progspace.c: New file.
4709 * gdb.python/py-progspace.exp: New file.
4710
3f7b2faa
DE
4711 * gdb.base/source.exp: Add tests for "source -s".
4712
79f283fe
PM
47132010-04-14 Phil Muldoon <pmuldoon@redhat.com>
4714
4715 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
4716 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
4717 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
4718 * gdb.python/py-mi.exp: New test for to_string returning None.
4719
fc8eb08a
PM
47202010-04-12 Phil Muldoon <pmuldoon@redhat.com>
4721
4722 * gdb.python/py-breakpoint.c: Make result global.
4723
26e197f6
JK
47242010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4725
4726 Fix non-GNU make compatibility.
4727 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
4728
adc36818
PM
47292010-04-09 Phil Muldoon <pmuldoon@redhat.com>
4730
4731 * gdb.python/py-breakpoint.exp: New File.
4732 * gdb.python/py-breakpoint.C: Ditto.
4733
64e17368
SS
47342010-04-08 Stan Shebs <stan@codesourcery.com>
4735
4736 * gdb.trace/actions.exp: Clear default-collect.
4737 * gdb.trace/save-trace.exp: Clear default-collect.
4738
fff5cc64
PM
47392010-04-08 Phil Muldoon <pmuldoon@redhat.com>
4740
4741 * gdb.python/py-value: Add null string variable.
4742 (test_lazy_string): Test zero length, NULL address lazy
4743 strings.
4744
a055a187
L
47452010-04-07 H.J. Lu <hongjiu.lu@intel.com>
4746
4747 * gdb.arch/i386-avx.c: New.
4748 * gdb.arch/i386-avx.exp: Likewise.
4749
4750 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
4751
96e39866
DE
47522010-04-06 Doug Evans <dje@google.com>
4753
4754 * gdb.base/source-test.gdb: New file.
4755 * gdb.base/source.exp: Test source -v.
4756
5984a431
UW
47572010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4758
4759 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
4760
ec8a089a
PM
47612010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
4762
4763 * gdb.stabs/aout.sed: Convert all backslash to double backslash
4764 within one line, unless it is followed by a double quote.
4765 * gdb.stabs/hppa.sed: Idem.
4766 * gdb.stabs/weird.def: Add char and String constants
889bf7c5
PA
4767 * gdb.stabs/weird.exp: Check for correct parsing of
4768 char and string constants.
ec8a089a
PM
4769 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
4770 in .stabs to .stabx substitution.
4771
fce3c1f0
SS
47722010-04-05 Stan Shebs <stan@codesourcery.com>
4773
4774 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
4775 constant global.
4776 * gdb.trace/tfile.exp: Try to print them.
4777
d77f58be
SS
47782010-04-04 Stan Shebs <stan@codesourcery.com>
4779
4780 * gdb.base/completion.exp: Update for new "info watchpoints".
4781 * gdb.base/default.exp: Ditto.
4782 * gdb.base/help.exp: Ditto.
4783 * gdb.base/watchpoint.exp: Ditto.
4784 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
889bf7c5 4785
af54718e
SS
47862010-04-04 Stan Shebs <stan@codesourcery.com>
4787
4788 * gdb.trace/tfile.exp: Sharpen tfind test.
4789
74d1f91e
JK
47902010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4791
4792 * gdb.base/break-entry.exp: New.
4793
eb8e76db 47942010-04-02 Hui Zhu <teawater@gmail.com>
889bf7c5 4795 Michael Snyder <msnyder@vmware.com>
eb8e76db
HZ
4796
4797 * gdb.reverse/i386-sse-reverse.exp: New file.
4798 * gdb.reverse/i386-sse-reverse.c: New file.
4799
bf65cad8
PA
48002010-04-02 Pedro Alves <pedro@codesourcery.com>
4801
4802 * gdb.trace/tfind.exp: Adjust expected disassembly output.
4803
fff87407
SS
48042010-04-01 Stan Shebs <stan@codesourcery.com>
4805
4806 * gdb.trace/actions.exp: Tweak expected output.
4807 * gdb.trace/while-stepping.exp: Tweak expected output.
4808
fe01d668
L
48092010-04-01 H.J. Lu <hongjiu.lu@intel.com>
4810
4811 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
4812
86b17b60
PA
48132010-04-01 Pedro Alves <pedro@codesourcery.com>
4814
4815 * gdb.base/commands.exp: Adjust.
4816 * gdb.cp/extern-c.exp: Adjust.
4817
2c58c0a9
PA
48182010-04-01 Pedro Alves <pedro@codesourcery.com>
4819
4820 * gdb.trace/collection.c (local_test_func): Define a local struct,
4821 and instanciate it.
4822
0db9b91c
PA
48232010-04-01 Pedro Alves <pedro@codesourcery.com>
4824
4825 * gdb.trace/collection.exp (gdb_collect_args_test)
4826 (gdb_collect_argarray_test): XFAIL the tests that assume the
4827 argarray argument's elements are collected.
4828
8072405b
JK
48292010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
4830
4831 * gdb.dwarf2/dw2-bad-parameter-type.exp,
4832 gdb.dwarf2/dw2-bad-parameter-type.S: New.
4833
8bf6485c
SS
48342010-03-31 Stan Shebs <stan@codesourcery.com>
4835
4836 * gdb.trace/save-trace.exp: Test save/restore of default-collect
4837 and tracepoint conditionals.
4838 (gdb_verify_tracepoints): Delete unused return.
4839
fd7f724a
KS
48402010-03-26 Keith Seitz <keiths@redhat.com>
4841
4842 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
4843 appear in the output before main.
4844 Remove KFAIL for gdb/2215 aka bz 9320.
4845
8d9e7719
DE
48462010-03-30 Doug Evans <dje@google.com>
4847
0906dd0b
DE
4848 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
4849 by dejagnu.
4850 * gdb.arch/amd64-dword.exp: Ditto.
4851
8d9e7719
DE
4852 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
4853 match.
4854 (break printf): Ditto.
4855
1da644f0
SW
48562010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
4857
4858 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
4859 gcc < 4.4.
4860 * gdb.cp/shadow.exp: Ditto.
4861
a8121990
PA
48622010-03-29 Pedro Alves <pedro@codesourcery.com>
4863
4864 * gdb.trace/collection.exp (run_trace_experiment): Make sure
4865 "tstart" is silent.
4866
6e79d367
PA
48672010-03-29 Pedro Alves <pedro@codesourcery.com>
4868
4869 * gdb.trace/collection.exp (executable): New.
4870 (binfile): Use it.
4871 (fpreg, spreg, pcreg): New.
4872 (test_register): Use gdb_test_multiple. Pass /x to print.
4873 (prepare_for_trace_test): New.
4874 (run_trace_experiment): Use "continue", not gdb_run_cmd.
4875 (gdb_collect_args_test, gdb_collect_argstruct_test)
4876 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
4877 prepare_for_trace_test.
4878 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
4879 fpreg, spreg and pcreg.
4880 (gdb_collect_expression_test, gdb_collect_globals_test): Use
4881 prepare_for_trace_test.
4882 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
4883 try to detect tracing support here. Don't set breakpoints at
4884 `begin' or `end' here.
4885 <global scope>: Use clean_restart. Run to main before checking
4886 for tracing support. Check for for tracing support here.
4887
09248348
JK
48882010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4889
4890 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
4891 " as $displacement" to "seen displacement message".
4892
d350db38
PA
48932010-03-28 Pedro Alves <pedro@codesourcery.com>
4894
4895 * gdb.trace/while-dyn.exp (executable): New variable.
4896 (binfile): Use it.
4897 (test_while_stepping): New function. Move most tests here. Call
4898 it once for each of the while-stepping, stepping and ws aliases.
4899
907af001
UW
49002010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4901
4902 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
4903 that do not provide the tagless_struct type name at all.
4904 (test_print_anon_union): Do not check value of uninitialized
4905 union member. Do not use cp_test_ptype_class, so we can accept
4906 "long" as well as "long int".
4907
610197fd
PA
49082010-03-26 Pedro Alves <pedro@codesourcery.com>
4909
4910 * gdb.trace/tfile.c (tohex, bin2hex): New.
4911 (write_error_trace_file): Hexify error description.
4912
6c28cbf2
SS
49132010-03-25 Stan Shebs <stan@codesourcery.com>
4914
4915 * gdb.trace/tfile.c: Generate an additional trace file, improve
4916 portability.
4917 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
4918 files in a better way.
4919
e62b8c7e
KS
49202010-03-25 Keith Seitz <keiths@redhat.com>
4921
4922 * gdb.java/jprint.exp: XFAIL printing of static class members
4923 because of GCC debuginfo problem.
4924
82ccf5a5
JK
49252010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4926
4927 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
4928
293e2f9e
DJ
49292010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
4930
4931 * gdb.base/completion.exp: Allow long instead of long int.
4932 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
4933 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
4934 variable p.
4935 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
4936 * gdb.base/pointers.exp: Allow long instead of long int.
4937 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
4938 * gdb.base/step-line.exp: Allow a directory before the source file name.
4939
95a42b64
TT
49402010-03-24 Tom Tromey <tromey@redhat.com>
4941
4942 PR breakpoints/9352:
4943 * gdb.base/default.exp: Update.
4944 * gdb.base/commands.exp: Update.
4945 * gdb.cp/extern-c.exp: Test setting commands on multiple
4946 breakpoints at once.
4947
2390201f
DJ
49482010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
4949
4950 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
4951 if gdb,nosignals.
4952 * gdb.base/watchpoints.c: Do not include unnecessary headers.
4953 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
4954 exited".
4955
8c9a6790
SS
49562010-03-24 Stan Shebs <stan@codesourcery.com>
4957
4958 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
4959
a6c727b2
DJ
49602010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
4961
4962 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
4963 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
4964 argument. Handle "short" and "long".
4965 (Top level): Pass overprototyped output for old_fptr and xptr.
4966
4dfd5423
PA
49672010-03-23 Pedro Alves <pedro@codesourcery.com>
4968
4969 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
4970 format strings and add casts to avoid compiler warnings.
4971
49722010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
4973
4974 * lib/trace-support.exp (gdb_trace_setactions):
4975 Don't expect whitespace after ">" prompt.
4976 * gdb.trace/actions.exp: Adjust for output changes.
4977 * gdb.trace/while-stepping.exp: Likewise.
4978
c847d045
JK
49792010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4980
4981 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
4982 and r157645).
4983
5f717f1d
JK
49842010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4985
4986 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
4987 New.
4988
7d6d51d5
DJ
49892010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
4990
4991 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
4992 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
4993
3b11a015
SS
49942010-03-19 Stan Shebs <stan@codesourcery.com>
4995
4996 * gdb.trace/ax.exp: New file.
4997
d7d158ed
DE
49982010-03-19 Doug Evans <dje@google.com>
4999
6bb85cd1
DE
5000 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
5001 output from gcc.
5002
d7d158ed
DE
5003 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
5004 named /usr/sbin/prelink<foo>.
5005
4daf5ac0
SS
50062010-03-18 Stan Shebs <stan@codesourcery.com>
5007
5008 * gdb.trace/circ.exp: Test circular-trace-buffer.
5009 * gdb.trace/tfile.exp: Update tstatus test.
5010
e8d05480
JB
50112010-03-18 Joel Brobecker <brobecker@adacore.com>
5012
5013 * gdb.dwarf2/dw2-anonymous-func.S: New file.
5014 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
5015
441b986a
UW
50162010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5017
5018 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
5019
4247603b
PA
50202010-03-18 Pedro Alves <pedro@codesourcery.com>
5021
5022 * gdb.base/default.exp: Adjust the expected output of the finish
5023 and until commands when the inferior is not being run.
5024
13387711
SW
50252010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
5026
5027 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
5028 * gdb.cp/nsusing.exp: Ditto.
5029
6e31430b
TT
50302010-03-15 Tom Tromey <tromey@redhat.com>
5031
5032 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
5033 * gdb.cp/userdef.cc (operator==): New function.
5034 (main): New locals mem1, mem2.
5035
e2d69cb5
JZ
50362010-03-15 Jie Zhang <jie@codesourcery.com>
5037
5038 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
5039 Declare and use new loadtimeout variable.
5040
f572f0a9
DJ
50412010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
5042
5043 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
5044 Use gdb_load later.
5045
51f4c0b0
PA
50462010-03-14 Pedro Alves <pedro@codesourcery.com>
5047
5048 * gdb.base/solib-disc.c (main): Make format of fprintf a string
5049 literal. Add missing endlines to prints to stderr.
5050
1c809c68
TT
50512010-03-12 Tom Tromey <tromey@redhat.com>
5052
5053 PR c++/9708:
5054 * gdb.cp/m-static.exp: Add regression test.
5055 * gdb.cp/m-static.cc (method): New method.
5056 (main): Call it.
5057
00ae8fef
SW
50582010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
5059
5060 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
5061 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
5062
759f0f0b
PA
50632010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
5064
21e24d21
PA
5065 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
5066
50672010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
5068
759f0f0b
PA
5069 * lib/gdb.exp (skip_stl_tests): New.
5070 (gdb_compile): Symbian needs -ldl.
5071 (shlib_target_file): New.
5072 (shlib_symbol_file): New.
5073 (gdb_load_shlibs): Use shlib_target_file.
5074 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
5075 * gdb.cp/exception.exp: Use skip_stl_tests.
5076 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
5077 * gdb.cp/try_catch.exp: Use skip_stl_tests.
5078 * gdb.cp/mb-templates.exp: Ditto.
5079 * gdb.base/commands.exp: Relax regexes.
5080 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
5081 shlib_target_file and shlib_symbol_file.
5082 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
5083 sections.
5084 * gdb.base/ending-run.exp: Accept E32Main for symbian.
5085 * gdb.base/solib-disc.exp: Use
5086 shlib_target_file and shlib_symbol_file.
5087 * gdb.base/unload.exp: Don't skip on symbian. Use
5088 shlib_target_file and shlib_symbol_file.
5089 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
5090
6a8f2671 50912010-03-12 Pedro Alves <pedro@codesourcery.com>
889bf7c5 5092
6a8f2671
PA
5093 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
5094 * gdb.trace/report.exp: Adjust for x86 and x86_64.
5095 Issue a tfind end before looking for a tracepoint frame.
5096 * gdb.trace/tfind.exp: Adjust tstatus output.
5097 Adjust disassembly output.
5098 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
5099
ccf26247
JK
51002010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5101
5102 * gdb.base/break-interp.exp: Create new displacement parameter value
5103 for the test_ld calls.
5104 (reach): New parameter displacement, verify its content. New push of
5105 pf_prefix "reach-$func:". Import global expect_out.
5106 (test_core): New parameter displacement, verify its content. New push
5107 of pf_prefix "core:". New command "set verbose on". Import global
5108 expect_out.
5109 (test_attach): New parameter displacement, verify its content. New
5110 push of pf_prefix "attach:". New command "set verbose on". Import
5111 global expect_out.
5112 (test_ld): New parameter displacement, pass it to the reach, test_core
5113 and test_attach calls and verify its content in the "ld.so exit" test.
5114 * gdb.base/prelink.exp: Remove gdb_exit and final return.
5115 (prelink): Update expected text, use gdb_test.
5116
e469c7fb
DE
51172010-03-10 Doug Evans <dje@google.com>
5118
5119 * gdb.base/checkpoint.exp: Fix comment.
5120 Lengthen timeout while doing >600 checkpoints test.
5121 Rename duplicate "kill all one" test to keep test names unique.
5122
60e1c644
PA
51232010-03-10 Pedro Alves <pedro@codesourcery.com>
5124
5125 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
5126
cec808ec
KS
51272010-03-08 Keith Seitz <keiths@redhat.com>
5128
889bf7c5
PA
5129 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
5130 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
5131 (dm_type_long): New function.
5132 (dm_type_unsigned_short): New function.
5133 (dm_type_unsigned_long): New function.
5134 (myint): New typedef.
5135 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
5136 long, unsigned shor and long, operator char*, and typedef.
5137 (test_lookup_operator_functions): Add operator char* test.
5138 (test_paddr_operator_functions): Likewise.
5139 (test_paddr_overloaded_functions): Use probe values for
5140 short, long, and unsigned short and long.
5141 (test_paddr_hairy_functions): If the demangler probe detected
5142 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
5143 demangler.
5144 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
5145 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
5146 and "print null_pmf".
5147 Add test "ptype a.*pmf".
5148 * gdb.cp/overload.exp: Allow optional "int" to appear with
5149 "short" and "long".
5150 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
5151 long expect value for men_overload1arg.
5152 Allow "int" to appear with "short" and "long".
5153 When testing "info break", add argument for main (void).
5154 Also allow "int" to appear with "short" and "long".
5155 Ditto with "unsigned" and "long long".
cec808ec
KS
5156 * gdb.java/jmain.exp: Do not enclose methods names in single
5157 quotes.
5158 * gdb.java/jmisc.exp: Likewise.
5159 * gdb.java/jprint.exp: Likewise.
5160 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
5161
5162 From Jan Kratochvil <jan.kratochvil@redhat.com>:
5163 * gdb.cp/exception.exp (backtrace after first throw)
5164 (backtrace after second throw): Allow a namespace before __cxa_throw.
5165 (backtrace after first catch, backtrace after second catch): Allow
5166 a namespace before __cxa_begin_catch.
5167
5168 * gdb.cp/cpexprs.exp: New file.
5169 * gdb.cp/cpexprs.cc: New file.
5170
5171 From Daniel Jacobowitz <dan@codesourcery.com>
5172 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
5173 to use string_to_regexp.
5174 (ctor, dtor): New functions. Use them to match constructor
5175 and destructor function types.
5176 (Top level): Use runto_main.
5177
f870a310
TT
51782010-03-05 Tom Tromey <tromey@redhat.com>
5179
5180 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
5181 gdb.target_charset.
5182 (pp_ns.to_string): Likewise.
5183
0c199f28
KS
51842010-03-04 Keith Seitz <keiths@redhat.com>
5185
5186 * gdb.cp/overload.exp: Test that the filename portion of a linespec
5187 can be quoted. Test that both the filename and function/line
5188 portions can be quoted at the same time.
5189
c7437ca6
PA
51902010-03-04 Pedro Alves <pedro@codesourcery.com>
5191
5192 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
5193
b111b805
DE
51942010-03-03 Doug Evans <dje@google.com>
5195
24486cb7
DE
5196 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
5197 libc contains libpthread.
5198
b111b805
DE
5199 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
5200 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
5201 of gdb_compile. Add another pattern to match android backtrace.
5202
a0e0ef55
TT
52032010-03-03 Tom Tromey <tromey@redhat.com>
5204
5205 PR gdb/11345:
5206 * gdb.base/printcmds.exp (test_printf): Add test.
5207
1ba53b71
L
52082010-03-02 H.J. Lu <hongjiu.lu@intel.com>
5209
5210 * gdb.arch/amd64-byte.exp: New.
5211 * gdb.arch/amd64-dword.exp: Likewise.
5212 * gdb.arch/amd64-pseudo.c: Likewise.
5213 * gdb.arch/amd64-word.exp: Likewise.
5214 * gdb.arch/i386-byte.exp: Likewise.
5215 * gdb.arch/i386-pseudo.c: Likewise.
5216 * gdb.arch/i386-word.exp: Likewise.
5217
f5dff777
DJ
52182010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
5219
5220 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
5221 types. Add structreg, bitfields, and flags registers.
5222 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
5223 registers.
5224
90884b2b
L
52252010-03-01 H.J. Lu <hongjiu.lu@intel.com>
5226
5227 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
5228 (load_description): Set architecture if defined.
5229
dc00d89f
PM
52302010-02-28 Phil Muldoon <pmuldoon@redhat.com>
5231
5232 * gdb.python/py-frame.exp: Add read_var block tests.
5233 * gdb.python/py-frame.c (block): New function.
5234
0e095b7e
JK
52352010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5236 Daniel Jacobowitz <dan@codesourcery.com>
5237
5238 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
5239
624f1a65
DM
52402010-02-25 David S. Miller <davem@davemloft.net>
5241
5242 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
5243 fix logic for setting all_syscalls_numbers.
5244
f3e9a817
PM
52452010-02-24 Phil Muldoon <pmuldoon@redhat.com>
5246
5247 * Makefile.in: Add py-block and py-symbol.
5248 * gdb.python/py-symbol.exp: New File.
5249 * gdb.python/py-symtab.exp: New File.
5250 * gdb.python/py-block.exp: New File.
5251 * gdb.python/py-symbol.c: New File.
5252 * gdb.python/py-block.c: New File.
5253
f6bbabf0
PM
52542010-02-24 Phil Muldoon <pmuldoon@redhat.com>
5255
5256 PR python/11314
5257 * lib/gdb.exp (skip_python_tests): New function.
5258 * gdb.python/py-cmd.exp: Use skip_python_tests.
5259 * gdb.python/py-frame.exp: Likewise.
5260 * gdb.python/py-function.exp: Likewise.
5261 * gdb.python/py-prettyprint.exp: Likewise.
5262 * gdb.python/py-template.exp: Likewise.
5263 * gdb.python/py-type.exp: Likewise.
5264 * gdb.python/py-value.exp: Likewise.
5265
85d721b8
PA
52662010-02-22 Pedro Alves <pedro@codesourcery.com>
5267
5268 PR9605
5269
5270 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
5271
48e32051
TT
52722010-02-19 Tom Tromey <tromey@redhat.com>
5273
5274 PR c++/8693, PR c++/9496:
5275 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
5276 regression tests.
5277
ac9c0048
JK
52782010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5279
5280 Fix compatibility with m68k as.
5281 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
5282 Use only /* comments */.
5283
57bb97a4
UW
52842010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5285
5286 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
5287 * configure: Regenerate.
5288
7d1bf85c
DJ
52892010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
5290
5291 * gdb.python/py-type.exp: Check for Python support.
5292
061b5285
PA
52932010-02-17 Pedro Alves <pedro@codesourcery.com>
5294
5295 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
5296 `regsub' syntax available.
5297
f8a8bc2c
PA
52982010-02-17 Pedro Alves <pedro@codesourcery.com>
5299
5300 * gdb.base/shmain.c (main): Remove printf call.
5301 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
5302 * gdb.base/unload.c (main): Make format of fprintf a string
5303 literal. Add missing endlines to prints to stderr.
5304 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
5305
6f451e5e
TT
53062010-02-17 Tom Tromey <tromey@redhat.com>
5307
5308 * gdb.java/jprint.java (jprint.props): New field.
5309 * gdb.java/jprint.exp (set_lang_java): Add regression test.
5310
12d79008
PA
53112010-02-17 Pedro Alves <pedro@codesourcery.com>
5312
ef801a0e 5313 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
5314 available.
5315
d252f7e5
DJ
53162010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
5317
5318 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
5319 creation to support remote host testing.
5320
67bdab6c
DJ
53212010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
5322
5323 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
5324 Recognize "command not found".
5325
bb391223
DJ
53262010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
5327
5328 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
5329 single-stepping.
5330
70362913
DJ
53312010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
5332
5333 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
5334 if arguments are not supported.
5335
493f3c00
DJ
53362010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
5337
5338 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
5339 be const or non-const.
5340
8034c749
DJ
53412010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
5342
5343 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
5344 mi_send_resuming_command to send -exec-continue.
5345
791dfb64
DJ
53462010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
5347
5348 * gdb.base/list.exp (test_list_filename_and_function): Add test
5349 with single quotes.
5350 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
5351 matching.
5352 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
5353 Add KFAIL'd tests for PR gdb/11289.
5354
7c5fe868
DJ
53552010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
5356
5357 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
5358
fdc498b8
DJ
53592010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
5360
5361 * gdb.base/comp-dir/subdir/dummy.txt: New file.
5362 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
5363 a temporary directory.
5364
b519e2a6
DJ
53652010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
5366
5367 * gdb.base/charset.exp: Use a single regular expression to match
5368 show host-charset and show target-charset output.
5369
74164c56
JK
53702010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5371
5372 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
5373 "Illegal process-id" expect string more exact.
5374 (attach to digits-starting nonsense is prohibited): New.
5375
701ed6dc
JK
53762010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5377
5378 * gdb.base/prelink.exp (set verbose on): New.
5379
889bf7c5 53802010-02-12 Tomas Holmberg <th@virtutech.com>
fa19b4e5
MS
5381
5382 * mi-reverse.exp: New file. Test for reverse option to the
5383 following MI commands: exec-continue, exec-finish, exec-next,
5384 exec-step, exec-next-instruction, exec-step-instruction.
889bf7c5 5385
dadf0e9c
JB
53862010-02-09 Joel Brobecker <brobecker@adacore.com>
5387
5388 * gdb.ada/ptype_tagged_param: New testcase.
5389
714f19d5
TT
53902010-02-08 Tom Tromey <tromey@redhat.com>
5391
5392 PR c++/8017:
5393 * gdb.cp/overload.exp: Add tests.
5394 * gdb.cp/overload.cc (struct K): New.
5395 (namespace N): New.
5396 (main): Call new functions.
5397 (K::staticoverload): Define.
5398
889bf7c5 53992010-02-08 Chris Moller <moller@mollerware.com>
83b10087
CM
5400
5401 PR gdb/10728
5402 * gdb.cp/pr10728-x.h: New file.
5403 * gdb.cp/pr10728-x.cc: New file.
5404 * gdb.cp/pr10728-y.cc: New file.
5405 * gdb.cp/pr10728.exp: New file.
5406 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
5407
889bf7c5 54082010-02-08 Chris Moller <moller@mollerware.com>
99903ae3
CM
5409
5410 PR gdb/9067
5411 * gdb.cp/pr9067.exp: New
5412 * gdb.cp/pr9067.cc: New
5413 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
5414
7b356089
JB
54152010-02-08 Joel Brobecker <brobecker@adacore.com>
5416
5417 * lib/gdb.exp (gdb_test_timeout): New global variable.
5418 Set it to timeout if not already set.
5419 (gdb_init): Reset the value of timeout to gdb_test_timeout.
5420
1be00882
DE
54212010-02-05 Doug Evans <dje@google.com>
5422
5423 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
5424 user.
5425
82856980
SW
54262010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
5427
5428 PR c++/7935:
5429 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
5430
1a334831
TT
54312010-02-04 Tom Tromey <tromey@redhat.com>
5432
5433 * gdb.cp/virtbase.exp: Make test case names unique.
5434
9c3c02fd
TT
54352010-02-02 Tom Tromey <tromey@redhat.com>
5436
5437 * gdb.cp/virtbase.exp: Add regression tests.
5438 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
5439 (main): Instantiate RHC.
5440
0cc2414c
TT
54412010-02-02 Tom Tromey <tromey@redhat.com>
5442
5443 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
5444 type-printing change.
5445
edf3d5f3
TT
54462010-02-02 Tom Tromey <tromey@redhat.com>
5447
5448 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
5449 * gdb.cp/virtbase.cc: New file.
5450 * gdb.cp/virtbase.exp: New file.
5451 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
5452
e4b7f41c
JK
54532010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5454
5455 PR libc/11214:
5456 * gdb.threads/current-lwp-dead.c: Include features.h.
5457 (HAS_NOMMU): New.
5458 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
5459
b381ea14
JK
54602010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5461
5462 * gdb.base/symbol-without-target_section.exp,
5463 gdb.base/symbol-without-target_section.c: New.
5464
c593ac0e
DJ
54652010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
5466
5467 * gdb.base/bigcore.exp: Reset increased timeout.
5468 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
5469
db25f29d
DJ
54702010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
5471
5472 * gdb.base/gcore.exp (capture_command_output): Use
5473 gdb_test_multiple.
5474
f9d67f43
DJ
54752010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
5476
5477 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
5478 * gdb.arch/thumb2-it.exp (test_it_break): New function.
5479 (Top level): Call it.
5480
177321bd
DJ
54812010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
5482
5483 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
5484
97f2ed50
DJ
54852010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
5486
5487 * gdb.base/call-strs.exp, gdb.base/default.exp,
5488 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
5489 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
5490 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
5491 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
5492 gdb.base/watchpoint-solib.exp: Save and restore timeout.
5493 * gdb.base/ending-run.exp: Correct restore of timeout.
5494 * gdb.base/page.exp: Remove unnecessary timeout setting.
5495
e4e2711a
JB
54962010-01-29 Joel Brobecker <brobecker@adacore.com>
5497
5498 * gdb.ada/rec_return: New testcase.
5499
ba581dc1
JB
55002010-01-29 Joel Brobecker <brobecker@adacore.com>
5501
5502 * gdb.ada/call_pn: New testcase.
5503
4ea95be9
DJ
55042010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
5505
5506 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
5507 (Top level): Use it to resume.
5508 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
5509 the Thumb mode displaced stepping error as unsupported.
5510
df83a9bf
SW
55112010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
5512
889bf7c5
PA
5513 * gdb.cp/nsusing.exp: Added more tests.
5514 * gdb.cp/nsrecurs.exp: Ditto.
5515 * gdb.cp/nsusing.cc: Added test functions.
5516 * gdb.cp/nsrecurs.cc: Ditto.
df83a9bf 5517
40b27cdc
JK
55182010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5519
5520 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
5521 absolute directory pathnames in gdb.sum file.
5522
de958931
SW
55232010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
5524
5525 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
5526 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
5527
708ead4e
TT
55282010-01-26 Tom Tromey <tromey@redhat.com>
5529
5530 PR exp/7643:
5531 * gdb.base/printcmds.exp (test_print_string_constants): Remove
5532 setup_kfail.
5533
b14e635e
SW
55342010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
5535
5536 * gdb.cp/nsrecurs.exp: New test.
5537 * gdb.cp/nsrecurs.cc: New test program.
5538 * gdb.cp/nsstress.exp: New test.
5539 * gdb.cp/nsstress.cc: New test program.
5540 * gdb.cp/nsdecl.exp: New test.
5541 * gdb.cp/nsdecl.cc: New test program.
5542
8540c487
SW
55432010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
5544
5545 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
5546 imported into file scope.
5547 Marked test as xfail.
5548 * gdb.cp/namespace-using.cc (marker5): New function.
5549 * gdb.cp/shadow.exp: New test.
5550 * gdb.cp/shadow.cc: New test program.
5551 * gdb.cp/nsimport.exp: New test.
5552 * gdb.cp/nsimport.cc: New test program.
5553
421d5d99
TT
55542010-01-25 Tom Tromey <tromey@redhat.com>
5555
5556 PR gdb/11049:
5557 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
5558 with "set print null-stop on".
5559
691f8dc1
JK
55602010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5561
5562 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
5563 Adjust it for DISASSEMBLY_OMIT_FNAME.
5564
0b92b5bb
TT
55652010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5566
5567 PR symtab/11199:
5568 * gdb.dwarf2/member-ptr-forwardref.exp,
5569 gdb.dwarf2/member-ptr-forwardref.S: New.
5570
23787403
JK
55712010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5572
5573 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
5574 (thread1_func): Protect thread1_tid with thread1_tid_cond by
5575 thread1_tid_mutex. Remove gdbstop_mutex handling.
5576 (thread2_func): Protect thread2_tid with thread2_tid_cond by
5577 thread2_tid_mutex. Remove gdbstop_mutex handling.
5578 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
5579 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
5580 pthread_cond_wait conditionalizations by while loops.
5581
b966cb8a
TT
55822010-01-20 Tom Tromey <tromey@redhat.com>
5583
5584 PR backtrace/10770:
5585 * gdb.dwarf2/pr10770.exp: New file.
5586 * gdb.dwarf2/pr10770.c: New file.
5587 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
5588
fcae584b
VP
55892010-01-20 Vladimir Prus <vladimir@codesourcery.com>
5590
5591 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
5592 that target was removed, and the test always runs native anyway.
5593
a0f49112
JK
55942010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5595
5596 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
5597 gdb.base/watchpoint-cond-gone-stripped.c: New.
5598
ceeb3d5a
TT
55992010-01-19 Tom Tromey <tromey@redhat.com>
5600
5601 PR c++/8000:
5602 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
5603 existing tests.
5604 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
5605 (main): Use AAA::SomeEnum.
5606
dd322c54
JK
56072010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5608
5609 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
5610 (test_ignore_count): Declare line_callme_body global.
5611 (run to breakpoint with ignore count): Use line_callme_body.
5612 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
5613 (set line_main_hello, set line_main_return): Reindent.
5614 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
5615 New.
5616 (continue to callee4): Use line_callee4_body.
5617 (check *stopped from CLI command): Use line_callee4_next.
5618 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
5619 (set line_main_hello, set line_main_return): Reindent.
5620 (set line_callee4_head, set line_callee4_body): New.
5621 (continue to callee4): Use line_callee4_body.
5622
4e8f195d
TT
56232010-01-18 Tom Tromey <tromey@redhat.com>
5624
5625 PR c++/9680:
5626 * gdb.cp/casts.cc: Add new classes and variables.
5627 * gdb.cp/casts.exp: Test new operators.
5628
9e14a9ba
JB
56292010-01-18 Tom Tromey <tromey@redhat.com>
5630 Thiago Jung Bauermann <bauerman@br.ibm.com>
5631
5632 * gdb.python/source2.py: New file.
5633 * gdb.python/source1: New file.
5634 * gdb.python/python.exp: Test "source" command.
5635
00bf0b85
SS
56362010-01-15 Stan Shebs <stan@codesourcery.com>
5637
5638 * gdb.trace/tfile.c: New file.
5639 * gdb.trace/tfile.exp: New file.
889bf7c5 5640
55235ad7
JK
56412010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5642
5643 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
5644
9f2982ff
JK
56452010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5646
5647 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
5648
bbfba9ed
JK
56492010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5650
5651 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
5652 (libfunc): New parameter action. Implement also selectable "sleep".
5653 * gdb.base/break-interp-main.c: Include assert.h.
5654 (libfunc): New parameter action.
5655 (main): New parameters argc and argv. Assert argc. Pass argv.
5656 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
5657 (test_attach): New proc.
5658 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
5659 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
5660
61f0d762
JK
56612010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5662
5663 * gdb.base/break-interp.exp (test_core): New proc.
5664 (test_ld): Call it.
5665
06a6f270
JK
56662010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5667
5668 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
5669 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
5670 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
5671 and gdb_compile_shlib. Use new -Wl compiler options.
5672 (dl bt, main bt): New tests.
5673
51bee8e9
JK
56742010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5675
5676 Support PIEs with no symfile_objfile.
5677 * gdb.base/break-interp.exp: New argument at the test_ld calls.
5678 (test_ld): New parameter trynosym.
5679 (test_ld <$trynosym>): New block.
5680
b8040f19
JK
56812010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5682
5683 * gdb.base/break-interp.exp: New file.
5684
be759fcf
PM
56852010-01-13 Phil Muldoon <pmuldoon@redhat.com>
5686
5687 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
5688 * gdb.python/py-prettyprint.py (pp_ls): New printer.
5689 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
5690 test.
5691 * gdb.python/py-prettyprint.c: Define lazystring test structure.
5692 * gdb.python/py-mi.exp: Add lazy string test.
5693
dc146f7c
VP
56942010-01-13 Vladimir Prus <vladimir@codesourcery.com>
5695
5696 * lib/mi-support.exp (mi_check_thread_states): Handle
5697 core number in thread listing.
5698
b4ba55a1
JB
56992010-01-12 Joel Brobecker <brobecker@adacore.com>
5700
5701 * gdb.base/maint.exp: Adjust the expected output for the
5702 "maint print type" test. Use gdb_test_multiple instead of
5703 gdb_sent/gdb_expect.
5704
08e24bd4
DE
57052010-01-11 Doug Evans <dje@google.com>
5706
6496a609
DE
5707 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
5708 from gdbserver_download. All callers updated.
5709
08e24bd4
DE
5710 * gdb.server/ext-run.exp: "info os processes" requires xml support.
5711
b5cfddf5
JK
57122010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5713
5714 Implement binary numbers parsing.
5715 * gdb.base/printcmds.exp (test_integer_literals_accepted)
5716 (test_integer_literals_rejected): New binary tests.
5717
3725885a
RW
57182010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5719
5720 * gdb.cell/configure: Regenerate.
5721
37aeb5df
JK
57222010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5723
5724 * gdb.base/corefile.exp: Move the core finding block out and call it as
5725 core_find, new variable $corefile, replace corefile by $corefile and
5726 [file tail $corefile] for usage vs. test names resp.
5727 * lib/gdb.exp (core_find): Move it as a new function here. New
5728 parameter binfile and deletefiles. New variable $destcore. Pre-delete
5729 $destcore. Return "" on error.
5730
d521f563
JK
57312010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5732
5733 Workaround PR binutils/10802.
5734 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
5735 (twice).
5736
28f24826
DJ
57372010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
5738
5739 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
5740
2de75e71
JB
57412010-01-08 Joel Brobecker <brobecker@adacore.com>
5742
5743 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
5744 call, to avoid interruption.
5745
fe00719b 57462010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
5747
5748 * gdb.stabs/weird.def (args93): New.
5749
d0ef5df8
DE
57502010-01-07 Doug Evans <dje@google.com>
5751
5752 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
5753
3a08d52f
TT
57542010-01-07 Tom Tromey <tromey@redhat.com>
5755
5756 * gdb.base/source.exp: Use correct line number.
5757
7a697b8d
SS
57582010-01-05 Stan Shebs <stan@codesourcery.com>
5759
5760 * gdb.trace/tracecmd.exp: Test ftrace.
5761
7803799a
UW
57622010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5763
5764 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
5765
c54eabfa
JK
57662010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5767
5768 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
5769 "uint_for_mi_testing".
5770
02e7ef19
JB
57712010-01-01 Joel Brobecker <brobecker@adacore.com>
5772
5773 Test indented comment in file being sourced.
5774 * gdb.base/commands.exp: Test indented comment in file being sourced.
5775
abd775ce
JB
57762010-01-01 Joel Brobecker <brobecker@adacore.com>
5777
5778 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
5779 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
5780 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
5781 notice.
5782
79b55b82
JB
57832010-01-01 Joel Brobecker <brobecker@adacore.com>
5784
5785 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
5786 notice.
5787
8997583e
JK
57882010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5789
5790 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
5791 missing $after_stopped and comma (,) expectation.
5792
6da95a67
SS
57932009-12-31 Stan Shebs <stan@codesourcery.com>
5794
5795 * gdb.trace/actions.exp: Test teval action.
889bf7c5 5796
218d2fc6
TJB
57972009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
5798
5799 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
5800 (top level): Call test_watchpoint_in_big_blob.
5801 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
5802 watchpoints.
5803 (func3): Write to buf.
5804
236f1d4d
SS
58052009-12-29 Stan Shebs <stan@codesourcery.com>
5806
5807 * gdb.trace/actions.exp: Test default-collect.
889bf7c5 5808
f61e138d
SS
58092009-12-28 Stan Shebs <stan@codesourcery.com>
5810
5811 * gdb.trace/tsv.exp: New file.
5812 * gdb.base/completion.exp: Update ambiguous info output.
889bf7c5 5813
0219b378
DJ
58142009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
5815
5816 * gdb.base/find.c (main): Reference search buffers.
5817 * gdb.base/included.c (main): Reference integer.
5818 * gdb.base/ptype.c (charfoo): Declare.
5819 (intfoo): Call charfoo.
5820 * gdb.base/scope0.c (useitp): New function.
5821 (usestatics): Use useitp.
5822 (useit): Add a type for val.
5823 * gdb.base/scope1.c (useit1): Take a pointer argument.
5824 (usestatics1): Update calls to useit1.
5825 * gdb.cp/call-c.cc: Declare foo.
5826 (main): Call foo.
5827 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
5828 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
5829 (main): Call C::ensureRefs and ensureOtherRefs.
5830 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
5831 variables.
5832 (ensureOtherRefs): New function.
5833 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
5834 * gdb.cp/templates.cc (main): Call t5i.value.
5835
3f78692f
JK
58362009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5837
5838 Fix compatibility with G++-4.5.
5839 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
5840 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
5841 (uncaught return): Remove.
5842
429374b8
JK
58432009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5844 Phil Muldoon <pmuldoon@redhat.com>
5845
5846 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
5847 (bp_location13, bp_location14, bp_location17, bp_location18)
5848 (marker3_proto, marker4_proto): New variables.
5849 (breakpoint info): Update output.
5850 (run until breakpoint at marker3, run until breakpoint at marker4): New
5851 tests.
5852
859825b8
JK
58532009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5854
5855 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
5856 Replace the printf call of Y by provided "y-set-1" label. New block
5857 for the second shared library.
5858 * gdb.base/unload.exp: Compile also the second library, call
5859 gdb_load_shlibs also for it. Use now gdb_breakpoint.
5860 (single pending breakpoint info): Rename to ...
5861 (pending breakpoint info before run): ... this extended test.
5862 (libfile2, libname2, libsrcfile2, libsrc2)
5863 (lib_sl2): New variables.
5864 (exec_opts): Set also SHLIB_NAME2.
5865 (pending breakpoint info on first run at shrfunc1)
5866 (pending breakpoint info on second run at shrfunc1)
5867 (pending breakpoint info on second run at shrfunc2)
5868 (print y from libfile, print y from libfile2): New tests.
5869 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
5870 * gdb.base/unloadshr2.c: New.
5871
e6a386cd
HZ
58722009-12-22 Hui Zhu <teawater@gmail.com>
5873
5874 * gdb.reverse/sigall-reverse.exp: Adjust.
5875
9e19b45e
VP
58762009-12-21 Vladimir Prus <vladimir@codesourcery.com>
5877
5878 PR gdb/10884
5879
5880 * gdb.mi/var-cmd.c (do_bitfield_tests): New
5881 (main): Call do_bitfield_tests.
aacf5b1e 5882 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 5883
d53a7b30
JB
58842009-12-20 Joel Brobecker <brobecker@adacore.com>
5885
5886 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
5887 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
5888 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
5889 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
5890 gdb.modula2/unbounded1.c: Update copyright header.
5891
191ca0a1
CM
58922009-12-10 Chris Moller <moller@mollerware.com>
5893
5894 PR gdb/9399
5895 * gdb.cp/virtfunc2.exp: New tests
5896 * gdb.cp/virtfunc2.cc: New tests
5897 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
5898
0fa6cf1b
MS
58992009-12-10 Oza Pawandeep (paawan1982@yahoo.com
5900
5901 * gdb.reverse/i387-env-reverse.c: New file.
5902 * gdb.reverse/i387-env-reverse.exp: New file.
5903 * gdb.reverse/i387-stack-reverse.c: New file.
5904 * gdb.reverse/i387-stack-reverse.exp: New file.
5905
361ae042
PM
59062009-12-08 Phil Muldoon <pmuldoon@redhat.com>
5907
5908 * gdb.python/py-type.exp (test_range): New test.
5909
bfd31e71
PM
59102009-12-03 Phil Muldoon <pmuldoon@redhat.com>
5911
5912 PR python/10805
5913
5914 * gdb.python/py-type.exp: New file.
5915 * gdb.python/py-type.c: New file.
5916 * Makefile.in: Add py-type.
5917
57a1d736
TT
59182009-12-03 Tom Tromey <tromey@redhat.com>
5919
5920 * gdb.python/py-value.exp (test_parse_and_eval): New
5921 function.
5922
1f3b5d1b
PP
59232009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
5924
5925 PR gdb/11022
5926
5927 * gdb.base/pr11022.exp: New test.
889bf7c5
PA
5928 * gdb.base/pr11022.c: New test.
5929
8b7dbdc9
JK
59302009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5931
5932 Fix spurious false FAILs.
5933 * gdb.base/structs.c (chartest): New.
5934 (main): Fill-in chartest.
5935 * gdb.base/structs.exp (anychar_re, first): New.
5936 (start_structs_test): Import global anychar_re and first.
5937 New gdb_test call "set print elements 300; ${testfile}"
5938 (start_structs_test <$first>): New block.
5939 (any): Import global anychar_re. New variable ac. Use ${ac}.
5940
6a53b2ec
JK
59412009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5942
5943 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
5944
d7167b4c
JK
59452009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5946
5947 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
5948 Force $srcfile file.
5949 * gdb.base/foll-fork.c (callee): Comment out the printf call.
5950
b1798462
UW
59512009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5952
5953 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
5954 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
5955 * gdb.threads/watchthreads-reorder.exp: Likewise.
5956
b6199126
DJ
59572009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
5958
5959 PR gdb/8704
5960
5961 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
5962 "if", and "thread". Correct matching in the previous test.
5963
b22a0510
DJ
59642009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
5965
5966 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
5967
930636d2
MS
59682009-11-23 Michael Snyder <msnyder@vmware.com>
5969
5970 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
5971 * gdb.reverse-watch-precsave.exp: Ditto.
5972
21a0512e
PP
59732009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
5974
5975 * gdb.asm/asm-source.exp: Adjust.
5976 * gdb.base/help.exp: Adjust.
889bf7c5 5977
fc30d5e0
PA
59782009-11-22 Pedro Alves <pedro@codesourcery.com>
5979
5980 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
5981 (do_syscall_tests_without_xml): Set data-directory to
5982 /the/path/to/nowhere.
5983
f6bc2008
PA
59842009-11-21 Pedro Alves <pedro@codesourcery.com>
5985
5986 * gdb.threads/local-watch-wrong-thread.c,
5987 gdb.threads/local-watch-wrong-thread.exp: New files.
5988
8c2fb5de
PA
59892009-11-21 Pedro Alves <pedro@codesourcery.com>
5990
5991 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
5992 assume new `regsub' syntax available.
5993
ebec9a0f
PA
59942009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5995
a79d3c27
JK
5996 * gdb.base/watchpoint-hw-hit-once.exp,
5997 gdb.base/watchpoint-hw-hit-once.c: New.
5998
59992009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6000
6001 * gdb.threads/watchthreads-reorder.exp,
6002 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 6003
276a961b
MK
60042009-11-17 Nathan Sidwell <nathan@codesourcery.com>
6005
6006 * gdb.xml/tdesc-regs.exp: Use for m68k.
6007
4867c1fb
PA
60082009-11-15 Pedro Alves <pedro@codesourcery.com>
6009
6010 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
6011
f6838f81
DJ
60122009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
6013
6014 * lib/gdb.exp (current_target_name): New procedure.
6015 (gdb_wrapper_target): New variable.
6016 (gdb_wrapper_init): Set gdb_wrapper_target.
6017 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
6018 wrapper.
6019
4ac4dd3f
DJ
60202009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
6021
6022 * gdb.base/remote.exp: Delete the slowest load test.
6023 Do not load with fixed packet sizes.
6024
a7881759
DJ
60252009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
6026
6027 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
6028
97a5b505
DJ
60292009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
6030
6031 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
6032 srcfile when setting a breakpoint.
6033
d3e1fc54
DJ
60342009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
6035
6036 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
6037 macros.
6038
7cbcbded
DJ
60392009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
6040
6041 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
6042 to be in memory.
6043 * gdb.base/display.c (force_mem): New.
6044 (do_loops): Use it. Add breakpoint comments.
6045 (do_vars): Add a breakpoint comment.
6046 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
6047 line numbers.
6048
bdea3a92
NF
60492009-11-13 Nathan Froyd <froydnj@codesourcery.com>
6050
6051 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
6052 instead of a bare "run".
6053
269f82e5
PP
60542009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6055
6056 * gdb.python/py-prettyprint.exp: Adjust.
889bf7c5 6057
a69b7d9d
DJ
60582009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
6059
6060 * lib/cell.exp (skip_cell_tests): Clean up test files before
6061 returning.
6062
b598bfda
DJ
60632009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
6064
6065 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
6066 and the breakpoint menu. Do not call perror if a prompt is seen.
6067 Consume the following GDB prompt.
6068 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
6069 * gdb.cp/namespace.exp: Use gdb_test.
6070 * gdb.cp/templates.exp: Use gdb_test.
6071 (test_template_breakpoints): Use gdb_test_multiple.
6072
87728fa0
DJ
60732009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
6074
6075 * gdb.base/break1.c (struct some_struct, values): Move earlier.
6076 (marker4): Reference values.
6077
b67c692f
DJ
60782009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
6079
6080 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
6081 is missing.
6082
f0df251a
DJ
60832009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
6084
6085 * gdb.base/break.c (need_malloc): New.
6086 * gdb.base/constvars.c (main): Reference crass and crisp.
6087 * gdb.base/gdb1821.c (main): Reference bar.
6088 * gdb.cp/gdb1355.cc (main): Reference s1.
6089 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
6090 (main): Call them.
6091 * gdb.cp/hang2.cc (dummy2): Define.
6092 * gdb.cp/hang3.cc (dummy3): Define.
6093 * gdb.cp/m-data.cc (main): Reference shadow.
6094
bdf7534a
NF
60952009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
6096 Nathan Froyd <froydnj@codesourcery.com>
6097
6098 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
6099 remote host.
6100
f24fce77
NF
61012009-11-12 Nathan Froyd <froydnj@codesourcery.com>
6102
6103 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
6104 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
6105 * gdb.dwarf2/dw2-compressed.exp: Likewise.
6106 * gdb.dwarf2/dw2-intercu.exp: Likewise.
6107 * gdb.dwarf2/dw2-intermix.exp: Likewise.
6108 * gdb.dwarf2/dw2-producer.exp: Likewise.
6109 * gdb.dwarf2/mac-fileno.exp: Likewise.
6110 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
6111 py-prettyprint.py to the remote host.
6112 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
6113
40f0318e
KS
61142009-11-11 Keith Seitz <keiths@redhat.com>
6115
6116 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
6117 use it instead of "Foo".
6118 * gdb.cp/classes.exp (do_tests): Add a test to access
6119 a method through a typedef'd class name.
6120
f3d9f7fb
NF
61212009-11-11 Nathan Froyd <froydnj@codesourcery.com>
6122
6123 * gdb.base/long_long.exp: Permit leading zeros on floating-point
6124 exponents.
6125 * gdb.base/pointers.exp: Likewise.
6126 * gdb.cp/ref-types.exp: Likewise.
6127
a4216f37
KS
61282009-11-11 Keith Seitz <keiths@redhat.com>
6129
6130 * gdb.cp/cplusfuncs.cc (class foo): Add operators
6131 new[] and delete[].
6132 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
6133 "void".
6134 (probe_demangler): Remove all single-quoting of
6135 method and variable names.
6136 (info_func_regexp): Remove the word "void" from any
6137 occurrence of "(void)".
6138 (print_addr_2): Remove all single-quoting of
6139 method names.
6140 (print_addr_2_kfail): Likewise.
6141 (print_addr): Single-quote C function names before
6142 passing to print_addr_2.
6143 (test_paddr_operator_functions): Remove single-quoting
6144 for method names.
6145 Add tests for operator new[] and operator delete[].
6146
9b14d7aa
JK
61472009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6148
6149 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
6150
85feb311
KS
61512009-11-09 Keith Seitz <keiths@redhat.com>
6152
6153 * gdb.cp/overload.exp: Add tests for resolving overloaded
6154 methods in expression parsing/evaluation.
6155
fa335448
DJ
61562009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
6157
6158 * lib/gdb.exp (default_gdb_version): Use --version instead of
6159 --command.
6160
ec3c07fc
NS
61612009-11-10 Nathan Sidwell <nathan@codesourcery.com>
6162
6163 * lib/gdb.exp (gdb_compile_test): New.
6164 (skip_ada_tests, skip_java_tests): New.
6165 (gdb_compile): Use gdb_compile_test for f77.
6166 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
6167 * lib/java.exp (compile_java_from_source): Remove runtests check,
6168 use gdb_compile_test to record result.
6169 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
6170 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
6171 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
6172 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
6173 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
6174 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
6175 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
6176 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
6177 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
6178 adjust gdb_compile invocations.
6179
b8b4e42b
JK
61802009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6181
6182 * Makefile.in (abs_builddir): New.
6183 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
6184 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
6185 `$(abs_builddir)/site.exp'.
6186
f8b7eaf3
DJ
61872009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
6188
6189 * config/m68k-emc.exp, lib/emc-support.exp,
6190 gdb.trace/gdb_c_test.c: Delete.
6191 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
6192 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
6193 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
6194 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
6195 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
6196 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
6197 casing for m68k-*-elf.
6198
c4187697
NS
61992009-11-03 Pedro Alves <pedro@codesourcery.com>
6200
6201 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
6202 * gdb.arch/i386-prologue.exp: Likewise.
6203 * gdb.arch/i386-unwind.exp: Likewise.
6204
db16b772
DJ
62052009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
6206
6207 * lib/gdb.exp (gdb_expect): Fix timeout typo.
6208
bcf71277
DJ
62092009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
6210
6211 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
6212
0105cee2
DJ
62132009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
6214
6215 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
6216
24ddea62
JK
62172009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6218
6219 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
6220
287ccc17
JK
62212009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6222
6223 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
6224 * gdb.base/sepdebug2.c: New file.
6225
08bca259 62262009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
6227
6228 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
6229 the modified warnings for catch syscall. Verify if GDB was compiled
6230 with support for lib expat, and choose which tests to run depending
6231 on this.
6232
5d4e2b76
VP
62332009-10-30 Vladimir Prus <vladimir@codesourcery.com>
6234
6235 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
6236 that composite commands are parsed OK. And also test
6237 that breakpoint commands do work.
6238
240e538a
MS
62392009-10-23 Michael Snyder <msnyder@vmware.com>
6240
6241 gdb.reverse/consecutive-precsave.exp: Change expect pattern
6242 to allow for new disassembly style.
6243
9c419145
PP
62442009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
6245
6246 * gdb.asm/asm-source.exp: Adjust.
889bf7c5 6247
02506ff1
MS
62482009-10-22 Michael Snyder <msnyder@vmware.com>
6249
6250 * gdb.reverse/break-precsave.exp: New test.
6251 * gdb.reverse/consecutive-precsave.exp: Ditto.
6252 * gdb.reverse/finish-precsave.exp: Ditto.
6253 * gdb.reverse/i386-precsave.exp: Ditto.
6254 * gdb.reverse/machinestate-precsave.exp: Ditto.
6255 * gdb.reverse/sigall-precsave.exp: Ditto.
6256 * gdb.reverse/solilb-precsave.exp: Ditto.
6257 * gdb.reverse/step-precsave.exp: Ditto.
6258 * gdb.reverse/until-precsave.exp: Ditto.
6259 * gdb.reverse/watch-precsave.exp: Ditto.
6260
4cf866a3
MS
62612009-10-22 Michael Snyder <msnyder@vmware.com>
6262
6263 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
6264 for gdb_expect. Adjust one test's expect strings for the new
6265 format of disassemble.
6266 * gdb.reverse/finish-reverse.exp: Delete 'return'.
6267 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
6268 gdb_test_multiple.
6269 * gdb.reverse/step-reverse.exp: Delete 'return'.
6270 * gdb.reverse/until-reverse.exp: Delete blank lines.
6271 * gdb.reverse/watch-reverse.exp: Delete blank lines.
6272
2b28d209
PP
62732009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
6274
6275 * gdb.base/consecutive.exp: Adjust.
6276 * gdb.base/display.exp: Likewise.
6277 * gdb.base/pc-fp.exp: Likewise.
6278 * gdb.base/sigbpt.exp: Likewise.
889bf7c5 6279
33b9c32b
MS
62802009-10-19 Michael Snyder <msnyder@vmware.com>
6281
6282 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
6283 * gdb.reverse/finish-reverse.c: Ditto.
6284 * gdb.reverse/sigall-reverse.c: Ditto.
6285 * gdb.reverse/solib-reverse.c: Ditto.
6286 * gdb.reverse/step-reverse.c: Ditto.
6287 * gdb.reverse/watch-reverse.c: Ditto.
6288
6c95b8df
PA
62892009-10-19 Pedro Alves <pedro@codesourcery.com>
6290 Stan Shebs <stan@codesourcery.com>
6291
6292 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
6293 * gdb.base/foll-exec.exp: Adjust to expect a process id before
6294 "Executing new program".
6295 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
6296 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
6297 left listed after having been killed.
6298 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
6299 * gdb.base/maint.exp: Adjust test.
6300
6301 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
6302 * gdb.multi/Makefile.in: New.
6303 * gdb.multi/base.exp: New.
6304 * gdb.multi/goodbye.c: New.
6305 * gdb.multi/hangout.c: New.
6306 * gdb.multi/hello.c: New.
6307 * gdb.multi/bkpt-multi-exec.c: New.
6308 * gdb.multi/bkpt-multi-exec.exp: New.
6309 * gdb.multi/crashme.c: New.
6310
279017b7
TG
63112009-10-13 Tristan Gingold <gingold@adacore.com>
6312
6313 * gdb.base/sepdebug.exp: Check debug info are found.
6314
0413d738
PA
63152009-10-08 Pedro Alves <pedro@codesourcery.com>
6316
6317 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
6318 bits.
6319
c628eecc
JK
63202009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6321
6322 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
6323
38af1bfe
JB
63242009-10-07 Joel Brobecker <brobecker@adacore.com>
6325
6326 * gdb.base/watchpoints.c: Add copyright header. Reformat one
6327 of the comments.
6328
2b0adecd
PM
63292009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
6330
6331 * gdb.base/annota1.exp: Remove obsolete match_max increase.
6332 * gdb.base/annota3.exp: Idem.
6333 * gdb.base/maint.exp: Idem.
6334
8d417781
PM
63352009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
6336
889bf7c5 6337 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8d417781
PM
6338 to default.
6339
bb61102d
PM
63402009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
6341
889bf7c5 6342 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
bb61102d
PM
6343 mingw and cygwin targets.
6344
ace5c364
PM
63452009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
6346 Pedro Alves <pedro@codesourcery.com>
6347
889bf7c5 6348 * lib/gdb.exp (gdb_compile): Avoid adding
ace5c364
PM
6349 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
6350
c2d494a0
PM
63512009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
6352
e1b52ce2
PM
6353 * gdb.base/shr1.c: Use %p in format string.
6354 * gdb.base/unload.c: Avoid warning in fprintf.
6355 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 6356
209f53f5
PM
63572009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
6358
6359 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
6360 long type.
6361 (test_unlink): Correct printf string.
6362 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
6363 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
6364
8172766a
JK
63652009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6366
6367 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
6368 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
6369 * gdb.arch/ia64-breakpoint-shadow.S: New file.
6370
0f73703c
UW
63712009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6372
6373 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
6374 * gdb.objc/nondebug.exp: Likewise.
6375
b32306ca
UW
63762009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6377
6378 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
6379 target_info setting.
6380
6381 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
6382 that detect new threads during "info threads".
6383
0057022f
UW
63842009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6385
6386 * gdb.threads/manythreads.c (main): Increase thread stack size
6387 to 2*PTHREAD_STACK_MIN.
6388 * gdb.threads/multi-create.c (main): Likewise.
6389 (create_function): Likewise.
6390
f29c0325
UW
63912009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6392
6393 * gdb.base/dump.exp: Pass difference of pointer types instead
6394 of integer types as offset to restore in intarr3.srec case.
6395
fcb34849
UW
63962009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6397
6398 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
6399
d5142e3b
UW
64002009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6401
6402 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
6403
087b74b2 64042009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
889bf7c5 6405
087b74b2
PM
6406 New test for two watchpoints, with disabling of
6407 the first inserted.
6408 * testsuite/gdb.base/watchpoints.c: New file.
6409 * testsuite/gdb.base/watchpoints.exp: New file.
6410
96c07c5b
TT
64112009-09-25 Tom Tromey <tromey@redhat.com>
6412
6413 * gdb.base/charset.exp: Test utf-16 strings with Python.
6414
b8899f2b
TT
64152009-09-25 Tom Tromey <tromey@redhat.com>
6416
6417 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
6418 UCS-4.
6419 * gdb.base/charset.c (utf_32_string): Rename.
6420 (init_utf32): Rename.
6421 (main): Update.
6422
329719ec
TT
64232009-09-22 Tom Tromey <tromey@redhat.com>
6424
6425 * gdb.python/py-function.exp: Add regression tests.
6426
11ef0d76
KS
64272009-09-21 Keith Seitz <keiths@redhat.com>
6428
6429 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
6430 with invalid operator.
6431
3fe8f3b3
KS
64322009-09-21 Keith Seitz <keiths@redhat.com>
6433
6434 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
6435 and destructor using typedef name of class.
6436 * gdb.cp/classes.cc (class Base1): Add a destructor.
6437 (base1): New typedef.
6438 (use_methods): Instanitate an object of type base1.
6439 * gdb.cp/templates.exp (test_template_typedef): New procedure.
6440 (do_tests): Call test_template_typedef.
6441 * gdb.cp/templates.cc (Baz::~Baz): New method.
6442 (intBazOne): New typedef.
6443 (main): Instantiate intBazOne.
6444
7a9fe101
PM
64452009-09-21 Phil Muldoon <pmuldoon@redhat.com>
6446
6447 PR python/10633
6448
6449 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
6450 Function.
6451 (run_lang_tests): Add print elements test.
6452
2e4d963f
PM
64532009-09-21 Phil Muldoon <pmuldoon@redhat.com>
6454
6455 * gdb.python/py-value.exp (test_subscript_regression): New
6456 function. Test for invalid subscripts.
6457 * gdb.python/py-value.c (main): Add test array, and pointer to it.
6458 (ptr_ref): New function.
6459
ec7e75e7
PP
64602009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
6461
6462 * gdb.base/default.exp: Fix "show convenience".
6463
0cc7d26f
TT
64642009-09-15 Tom Tromey <tromey@redhat.com>
6465
6466 * lib/mi-support.exp (mi_create_varobj): Update.
6467 (mi_create_floating_varobj): Likewise.
6468 (mi_create_dynamic_varobj): New proc.
6469 (mi_varobj_update): Update.
6470 (mi_varobj_update_with_type_change): Likewise.
6471 (mi_varobj_update_kv_helper): New proc.
6472 (mi_varobj_update_dynamic_helper): Rewrite.
6473 (mi_varobj_update_dynamic): New proc.
6474 (mi_list_varobj_children): Update.
6475 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
6476 * gdb.python/python-prettyprint.py (pp_outer): New class.
6477 (pp_nullstr): Likewise.
6478 (lookup_function): Register new printers.
6479 * gdb.python/python-prettyprint.c (struct substruct): New type.
6480 (struct outerstruct): Likewise.
6481 (substruct_test): New function.
6482 (struct nullstr): New type.
6483 (string_1, string_2): New globals.
6484 (main): Add new tests.
6485 * gdb.python/python-mi.exp: Added regression tests.
6486 * gdb.mi/mi2-var-display.exp: Update.
6487 * gdb.mi/mi2-var-cmd.exp: Update.
6488 * gdb.mi/mi2-var-child.exp: Update.
6489 * gdb.mi/mi2-var-block.exp: Update.
6490 * gdb.mi/mi-var-invalidate.exp: Update.
6491 * gdb.mi/mi-var-display.exp: Update.
6492 * gdb.mi/mi-var-cmd.exp: Update.
6493 * gdb.mi/mi-var-child.exp: Update.
6494 * gdb.mi/mi-var-block.exp: Update.
6495 * gdb.mi/mi-break.exp: Update.
6496 * gdb.mi/gdb701.exp: Update.
6497
a96d9b2e
SDJ
64982009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
6499
6500 * Makefile.in: Inclusion of catch-syscall object.
6501 * gdb.base/catch-syscall.c: New file.
6502 * gdb.base/catch-syscall.exp: New file.
6503
b43b923a
MS
65042009-09-12 Michael Snyder <msnyder@vmware.com>
6505
6506 * gdb.reverse/step-reverse.exp: Explicitly check for targets
6507 that can support reverse debuggnig.
6508
cec03d70
TT
65092009-09-11 Tom Tromey <tromey@redhat.com>
6510
6511 * gdb.dwarf2/valop.S: New file.
6512 * gdb.dwarf2/valop.exp: New file.
6513
e23bb3fc
MK
65142009-09-11 Mark Kettenis <kettenis@gnu.org>
6515
6516 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
6517
37c3696d
DE
65182009-09-10 Doug Evans <dje@google.com>
6519
6520 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
6521 Add $gdb_prompt to second breakpoint regexp.
6522
5172aecb
JB
65232009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
6524
6525 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
6526 names, add missing ones.
6527 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
6528 * gdb.python/py-frame.c: Rename from python-frame.c.
6529 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
6530 testfile name.
6531 * gdb.python/py-function.exp: Rename from python-function.exp.
6532 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
6533 testfile name.
6534 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
6535 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
6536 Adjust testfile name.
6537 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
6538 * gdb.python/py-template.cc: Rename from python-template.cc.
6539 * gdb.python/py-template.exp: Rename from python-template.exp.
6540 Adjust testfile name.
6541 * gdb.python/py-value.c: Rename from python-value.c.
6542 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
6543 testfile name.
6544
b554e4bd
JK
65452009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6546
6547 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
6548 $bpt2address.
6549 (Second breakpoint address is valid on ia64)
6550 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
6551
9a68ae16
JM
65522009-09-03 Joseph Myers <joseph@codesourcery.com>
6553
6554 * gdb.base/ending-run.exp: Restrict regular expression matching
6555 line number to require closing brace following.
6556
146b9145
DE
65572009-09-03 Doug Evans <dje@google.com>
6558
6559 * gdb.base/store.exp (check_set): Fix typo in expected value message.
6560
787d21e1
TT
65612009-09-02 Tom Tromey <tromey@redhat.com>
6562
6563 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
6564
e7802207
TT
65652009-09-02 Tom Tromey <tromey@redhat.com>
6566
6567 * gdb.dwarf2/callframecfa.exp: New file.
6568 * gdb.dwarf2/callframecfa.S: New file.
6569
817aadd2
JK
65702009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6571
6572 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
6573 gdb.base/solib-overlap-main.c: New.
6574
4a76eae5
DJ
65752009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
6576
6577 PR gdb/10565
6578
6579 * gdb.base/bitfields.c (struct container, container): New.
6580 (main): Initialize it and call break5.
6581 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
6582
d4b96c9a
JK
65832009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6584
6585 Support constant DW_AT_data_member_location by GCC PR debug/40659.
6586 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
6587
4e22772d
JK
65882009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6589
6590 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
6591
2efab443
MS
65922009-08-26 Michael Snyder <msnyder@vmware.com>
6593
6594 * gdb.base/i386-reverse.c: New file.
6595 * gdb.base/i386-reverse.exp: New file.
6596 * gdb.base/Makefile.in: Add new files to be removed.
6597
07ab73a0
JM
65982009-08-26 Joseph Myers <joseph@codesourcery.com>
6599
6600 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
6601 environment-pwd for remote host.
6602 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
6603
676accff
KS
66042009-08-24 Keith Seitz <keiths@redhat.com>
6605
6606 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
6607 Add two new C++ completer tests which limit the output to a
889bf7c5 6608 given class.
676accff 6609
f9f7ad22
MS
66102009-08-24 Michael Snyder <msnyder@vmware.com>
6611
6612 * gdb.base/del.exp: Fix typo in comment.
6613 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
6614
81ecdfbb
RW
66152009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6616
6617 * configure: Regenerate.
6618 * gdb.hp/configure: Likewise.
6619 * gdb.hp/gdb.aCC/configure: Likewise.
6620 * gdb.hp/gdb.base-hp/configure: Likewise.
6621 * gdb.hp/gdb.compat/configure: Likewise.
6622 * gdb.hp/gdb.defects/configure: Likewise.
6623 * gdb.hp/gdb.objdbg/configure: Likewise.
6624 * gdb.stabs/configure: Likewise.
6625
cab0c772
UW
66262009-08-19 Doug Evans <dje@google.com>
6627
6628 * gdb.base/gdbvars.c: New file.
6629 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
6630
b8fa0bfa
PA
66312009-08-14 Pedro Alves <pedro@codesourcery.com>
6632
6633 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
6634 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
6635
b84aa90a
PA
66362009-08-13 Pedro Alves <pedro@codesourcery.com>
6637
6638 * gdb.base/default.exp: Adjust "set language test": it's now an
6639 enum command. Larger help string moved to "help set language".
6640 * gdb.base/help.exp: Adjust "help set language" expected output,
6641 now lists all known languages.
6642
0d8f9b2c
NF
66432009-08-11 Nathan Froyd <froydnj@codesourcery.com>
6644
6645 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
6646 all frame arguments.
6647 * gdb.arch/altivec-regs.exp: Likewise.
6648
bda180e0
TT
66492009-08-07 Tom Tromey <tromey@redhat.com>
6650
6651 * gdb.base/setshow.exp: Add tests for changes to set language, set
6652 check range, and set check type.
6653
48cb2d85
VP
66542009-08-03 Vladimir Prus <vladimir@codesourcery.com>
6655
6656 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
6657 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
889bf7c5 6658 Call it.
48cb2d85 6659
1ea34204
UW
66602009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6661
6662 * configure.ac: Run gdb.cell tests when appropriate.
6663 * configure: Regenerate.
6664 * lib/cell.exp: New file.
6665 * gdb.cell: New directory.
6666 * gdb.cell/configure.ac: New file.
6667 * gdb.cell/configure: New file.
6668 * gdb.cell/Makefile.in: New file.
6669 * gdb.cell/arch.exp: New file.
6670 * gdb.cell/break.c: New file.
6671 * gdb.cell/break.exp: New file.
6672 * gdb.cell/break-spu.c: New file.
6673 * gdb.cell/bt.c: New file.
6674 * gdb.cell/bt2-spu.c: New file.
6675 * gdb.cell/bt-spu.c: New file.
6676 * gdb.cell/bt.exp: New file.
6677 * gdb.cell/coremaker.c: New file.
6678 * gdb.cell/coremaker-spu.c: New file.
6679 * gdb.cell/core.exp: New file.
6680 * gdb.cell/gcore.exp: New file.
6681 * gdb.cell/data.c: New file.
6682 * gdb.cell/data.exp: New file.
6683 * gdb.cell/data-spu.c: New file.
6684 * gdb.cell/ea-cache.exp: New file.
6685 * gdb.cell/ea-cache.c: New file.
6686 * gdb.cell/ea-cache-spu.c: New file.
6687 * gdb.cell/ea-standalone.c: New file.
6688 * gdb.cell/ea-standalone.exp: New file.
6689 * gdb.cell/ea-test.c: New file.
6690 * gdb.cell/ea-test.exp: New file.
6691 * gdb.cell/f-regs.exp: New file.
6692 * gdb.cell/mem-access.c: New file.
6693 * gdb.cell/mem-access.exp: New file.
6694 * gdb.cell/mem-access-spu.c: New file.
6695 * gdb.cell/ptype.exp: New file.
6696 * gdb.cell/registers.exp: New file.
6697 * gdb.cell/size.c: New file.
6698 * gdb.cell/sizeof.exp: New file.
6699 * gdb.cell/size-spu.c: New file.
6700 * gdb.cell/solib.exp: New file.
6701 * gdb.cell/solib-symbol.exp: New file.
6702
85e747d2
UW
67032009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6704
6705 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
6706
58d6951d
DJ
67072009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
6708
6709 * gdb.base/float.exp: Handle VFP registers.
6710
6e0a4f15
MS
67112009-07-14 Michael Snyder <msnyder@vmware.com>
6712
dcd5da87
MS
6713 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
6714 to bring gdb to the beginning of the calling line.
6715
6e0a4f15
MS
6716 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
6717 confusing the i386 epilogue unwinder.
6718
782b2b07
SS
67192009-07-14 Stan Shebs <stan@codesourcery.com>
6720
6721 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
6722
f662c3bc
MS
67232009-07-14 Michael Snyder <msnyder@vmware.com>
6724
6725 * gdb.reverse/step-reverse.exp (stepi into function call):
6726 Call instruction may not be first instruction in the line.
6727 (reverse stepi from a function call): Used wrong line number.
6728
8f313923
JK
67292009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6730
6731 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
6732
4662c76e
JK
67332009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6734
6735 Fix gdb.base/macscp.exp when using custom inputrc.
6736 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
6737 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
6738 env(TERM) set.
6739 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
6740 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
6741
aa81e255
JK
67422009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6743
6744 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
6745 * gdb.base/annota1.exp (thread_test): Import global $testfile.
6746 Change the compilation target to match the testcase name.
6747 * gdb.base/sect-cmd.exp: Change the compilation target to match the
6748 testcase name.
6749 * a2-run.exp: Use for setup prepare_for_testing. Change the
6750 compilation target to match the testcase name.
6751 * gdb.base/commands.exp: Likewise.
6752 * gdb.base/finish.exp: Likewise.
6753 * gdb.base/float.exp: Likewise.
6754 * gdb.base/info-target.exp: Likewise.
6755 * gdb.base/relational.exp: Likewise.
6756 * gdb.base/term.exp: Likewise.
6757 * gdb.base/until.exp: Likewise.
6758 * gdb.base/volatile.exp: Likewise.
6759 * gdb.base/whatis-exp.exp: Likewise.
6760
4c93b1d7
HZ
67612009-07-11 Hui Zhu <teawater@gmail.com>
6762
6763 * gdb.base/help.exp (disassemble): Update expected help text.
6764
812f7342
TT
67652009-07-09 Tom Tromey <tromey@redhat.com>
6766
6767 * lib/gdb.exp: Handle TRANSCRIPT.
6768 (remote_spawn, remote_close, send_gdb): New procs.
6769
fbb8f299
PM
67702009-07-10 Phil Muldoon <pmuldoon@redhat.com>
6771
6772 * gdb.python/python-prettyprint.c: Add counted null string
6773 structure.
6774 * gdb.python/python-prettyprint.exp: Print null string. Test for
6775 embedded nulls.
6776 * gdb.python/python-prettyprint.py (pp_ns): New Function.
6777 * gdb.python/python-value.exp (test_value_in_inferior): Add
6778 variable length string fetch tests.
6779 * gdb.python/python-value.c (main): Add strings for string fetch tests.
6780
c0ac0ec7
JK
67812009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6782
6783 * gdb.base/dump.exp (inaccessible memory is reported): New test.
6784
30b66ecc
TT
67852009-07-07 Tom Tromey <tromey@redhat.com>
6786
6787 * gdb.base/call-rt-st.exp: Update for change to escape output.
6788 * gdb.base/callfuncs.exp: Likewise.
6789 * gdb.base/charset.exp: Likewise.
6790 * gdb.base/constvars.exp: Likewise.
6791 * gdb.base/long_long.exp: Likewise.
6792 * gdb.base/pointers.exp: Likewise.
6793 * gdb.base/printcmds.exp: Likewise.
6794 * gdb.base/setvar.exp: Likewise.
6795 * gdb.base/store.exp: Likewise.
6796 * gdb.cp/ref-types.exp: Likewise.
6797 * gdb.mi/mi-var-child.exp: Likewise.
6798 * gdb.mi/mi-var-display.exp: Likewise.
6799 * gdb.mi/mi2-var-display.exp: Likewise.
6800 * gdb.base/charset.exp: Test octal escape sequence length.
6801 Update for change to escape output.
6802
187c4a2b
JK
68032009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6804
6805 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
6806
d80a43f9
DJ
68072009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
6808
6809 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
6810
047427a8
JK
68112009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6812
6813 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
6814 gdbserver increasing $portnum if "Can't bind address" has been seen.
6815
8b5a0f4f
PA
68162009-07-05 Pedro Alves <pedro@codesourcery.com>
6817
6818 * gdb.base/ending-run.exp: Add "step out of main" pattern for
6819 mingw32ce.
6820
7d93ba58
PA
68212009-07-05 Pedro Alves <pedro@codesourcery.com>
6822
6823 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
6824 VFP format.
6825
2277426b
PA
68262009-07-02 Pedro Alves <pedro@codesourcery.com>
6827
6828 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
6829 linux. Adjust to use "inferior", "info inferiors", "detach
6830 inferior" and "kill inferior" instead of "restart", "info fork",
6831 "detach fork" and "delete fork".
6832 * gdb.base/ending-run.exp: Spell out "info".
6833 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
6834 the "kill" command.
6835
5af949e3
UW
68362009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6837
6838 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
6839 change to prefix TLS offset in hex with 0x.
6840
5d3729b5
UW
68412009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6842
6843 * gdb.base/default.exp: Update test case for "x" changes.
6844
af589bd0
TG
68452009-07-01 Tristan Gingold <gingold@adacore.com>
6846
6847 * gdb.base/bigcore.exp: Make darwin untested.
6848
40974f91
JK
68492009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6850
6851 * gdb.base/completion.exp (directory completion): Create the directory.
6852 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
6853 escapeuniquesub.
6854 (directory completion 2): Expect now ${escapeuniquesub}.
6855 (Glob remaining of directory test): Remove one excessive newline.
6856 Expect the real output.
6857
59dd3af6
JK
68582009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6859
6860 Fix `make check//%' target after `make check' has been ran.
6861 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
6862 a mkdir call.
6863 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
6864 (%/.dir): Remove.
6865
f4e164aa
JK
68662009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6867
6868 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
6869 the expected result record.
6870
69af2122
JK
68712009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6872
6873 Remove racy FAILs relying just on the timeouts.
6874 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
6875 (annotation_level 2): Remove racy FAILs.
6876
2fd481e1
PP
68772009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
6878
6879 gdb/10275
889bf7c5
PA
6880 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
6881
c38f313d
DJ
68822009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
6883
6884 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
6885
8b777f02
VP
68862009-06-30 Vladimir Prus <vladimir@codesourcery.com>
6887
6888 * gdb.mi/mi-stack.exp: Testing symbolic options
6889 to -stack-list-locals and -stack-list-arguments.
6890
00c7eacf
JK
68912009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6892
6893 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
6894
6bc80edc
TT
68952009-06-29 Tom Tromey <tromey@redhat.com>
6896
6897 * dg-extract-results.sh: New file.
6898 * Makefile.in (FORCE_PARALLEL): New variable.
6899 (CHECK_TARGET): New conditional variable.
6900 (check): Use CHECK_TARGET.
6901 (DO_RUNTEST): New variable.
6902 (check-single): New target.
6903 (TEST_DIRS): New variable.
6904 (TEST_TARGETS): Likewise.
6905 (check-parallel): New target.
6906 (check-gdb.%): New pattern.
6907 (BASE1_FILES): New variable.
6908 (BASE2_FILES): Likewise.
6909 (check-gdb.base%): New pattern.
6910 (%/.dir): New pattern.
6911 * configure: Rebuild.
6912 * aclocal.m4 (AM_CONDITIONAL): New defun.
6913 * configure.ac: Check whether user is using GNU make.
6914 (GMAKE): New conditional.
6915
794684b6
SW
69162009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
6917
6918 * gdb.cp/namespace-nested-import.cc: New test.
6919 * gdb.cp/namespace-nested-import.exp: New test.
6920
edb3359d
DJ
69212009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
6922
6923 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
6924 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
6925 * gdb.opt/Makefile.in (EXECUTABLES): Update.
6926 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
6927 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
6928 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
6929 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
6930 gdb.opt/inline-markers.c: New files.
6931 * lib/gdb.exp (skip_inline_frame_tests): New function.
6932 (skip_inline_var_tests): New function.
6933
cf657a0c
AS
69342009-06-27 Andreas Schwab <schwab@linux-m68k.org>
6935
6936 * gdb.cp/exception.exp: Don't require $hex before inner frame in
6937 backtrace.
6938
28d41a99
MS
69392009-06-27 Michael Snyder <msnyder@vmware.com>
6940
6941 * gdb.reverse: New directory.
6942 * gdb.reverse/break-reverse.c: New test.
6943 * gdb.reverse/break-reverse.exp: New test.
6944 * gdb.reverse/consecutive-reverse.c: New test.
6945 * gdb.reverse/consecutive-reverse.exp: New test.
6946 * gdb.reverse/finish-reverse.c: New test.
6947 * gdb.reverse/finish-reverse.exp: New test.
6948 * gdb.reverse/machinestate.c: New test.
6949 * gdb.reverse/ms1.c: New test.
6950 * gdb.reverse/machinestate.exp: New test.
6951 * gdb.reverse/Makefile.in: New file.
6952 * gdb.reverse/shr2.c: New test.
6953 * gdb.reverse/solib-reverse.c: New test.
6954 * gdb.reverse/solib-reverse.exp: New test.
6955 * gdb.reverse/step-reverse.c: New test.
6956 * gdb.reverse/step-reverse.exp: New test.
6957 * gdb.reverse/until-reverse.c: New test.
6958 * gdb.reverse/ur1.c: New test.
6959 * gdb.reverse/until-reverse.exp: New test.
6960 * gdb.reverse/watch-reverse.c: New test.
6961 * gdb.reverse/watch-reverse.exp: New test.
6962 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
6963 * configure: Regenerate.
6964
fe3c8b0d
DE
69652009-06-26 Doug Evans <dje@google.com>
6966
6967 * gdb.base/psymtab.exp: Turn off pending breakpoints.
6968
3a72a602
PM
69692009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
6970
6971 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
6972 windows problem for 'file delete $binfile'.
6973
27aa8d6a
SW
69742009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
6975
6976 * gdb.cp/namespace-using.exp: New test.
6977 * gdb.cp/namespace-using.cc: New test.
6978
8ac055f8
JB
69792009-05-20 Joel Brobecker <brobecker@adacore.com>
6980
6981 * gdb.ada/variant_record_packed_array: New testcase.
6982
85e306ed
TT
69832009-06-23 Tom Tromey <tromey@redhat.com>
6984
6985 * gdb.base/charset.exp (test_combination): Regression test.
6986 * gdb.base/charset.c (my_wchar_t): New typedef.
6987 (myvar): New global.
6988 (main): Set myvar.
6989
56643c5e
PM
69902009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
6991
6992 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
6993 target.
6994
1fac167a
UW
69952009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6996
6997 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
6998
7ccb0be9
UW
69992009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7000
7001 * gdb.mi/gdb680.exp: Update test for error message.
7002
568d6575
UW
70032009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7004
7005 * gdb.base/annota1.exp: Allow multiple occurrences of the
7006 frames-invalid annotation.
7007 * gdb.cp/annota2.exp: Likewise.
7008
7cd1089b
PM
70092009-06-15 Phil Muldoon <pmuldoon@redhat.com>
7010
7011 * gdb.cp/gdb2495.cc: New file.
7012 * gdb.cp/gdb2495.exp: New file.
7013
72c63395
JK
70142009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7015
7016 Report error on GDB crash during runto.
7017 * lib/gdb.exp (runto <eof>): New.
7018
3788363d
DJ
70192009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
7020
7021 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
7022 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
7023 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
7024 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
7025 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
7026 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
7027 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
7028 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
7029 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
7030 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
7031 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
7032 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
7033 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
7034 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
7035 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
7036 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
7037 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
7038 gdb.server/server-mon.exp, gdb.server/server-run.exp,
7039 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
7040 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
7041 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
7042 gdb.trace/passcount.exp, gdb.trace/report.exp,
7043 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
7044 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
7045 gdb.trace/while-stepping.exp: Use a unique name for the compiled
7046 executable.
7047
17592de3
PA
70482009-06-07 Pedro Alves <pedro@codesourcery.com>
7049
7050 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
7051 defined before referencing it.
7052
701e355d
DE
70532009-06-03 Doug Evans <dje@google.com>
7054
7055 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
7056 * gdb.arch/i386-see.c: Ditto.
7057
f2292c65
PM
70582009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
7059
7060 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
7061 (check_macro): Return 1 if undefined.
7062 If first test fails, check if macro debug information is available,
7063 and report unsupported test if no macro information is found.
7064
5a437975
DE
70652009-05-29 Doug Evans <dje@google.com>
7066
7067 * gdb.threads/hand-call-in-threads.exp: New.
7068 * gdb.threads/hand-call-in-threads.c: New.
7069
c141c696
MS
70702009-05-29 Michael Snyder <msnyder@vmware.com>
7071
7072 * gdb.base/break-always.exp: Change "1" to "on".
7073 Add confirmation check.
7074
b3444185
PA
70752009-05-28 Pedro Alves <pedro@codesourcery.com>
7076
7077 * gdb.threads/threxit-hop-specific.c: New.
7078 * gdb.threads/threxit-hop-specific.exp: New.
7079 * gdb.threads/thread-execl.c: New.
7080 * gdb.threads/thread-execl.exp: New.
7081
b6313243
TT
70822009-05-27 Tom Tromey <tromey@redhat.com>
7083 Thiago Jung Bauermann <bauerman@br.ibm.com>
7084
7085 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
7086 (mi_child_regexp): Likewise.
7087 (mi_list_varobj_children_range): Likewise.
7088 (mi_get_features): Likewise.
7089 (mi_list_varobj_children): Rewrite.
7090 * gdb.python/python-mi.exp: New file.
7091
a6bac58e
TT
70922009-05-27 Tom Tromey <tromey@redhat.com>
7093 Thiago Jung Bauermann <bauerman@br.ibm.com>
7094 Phil Muldoon <pmuldoon@redhat.com>
7095 Paul Pluzhnikov <ppluzhnikov@google.com>
7096
7097 * gdb.python/python-prettyprint.exp: New file.
7098 * gdb.python/python-prettyprint.c: New file.
7099 * gdb.python/python-prettyprint.py: New file.
7100 * gdb.base/display.exp: print/r is now valid.
7101
2c74e833
TT
71022009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
7103 Tom Tromey <tromey@redhat.com>
7104 Pedro Alves <pedro@codesourcery.com>
7105 Paul Pluzhnikov <ppluzhnikov@google.com>
7106
7107 * gdb.python/python-template.exp: New file.
7108 * gdb.python/python-template.cc: New file.
7109 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
7110 tests.
7111 * gdb.python/python-value.exp (py_objfile_tests): New proc.
7112 Call it.
7113 (test_value_after_death): New proc.
7114 * gdb.python/python-value.c (PTR): New typedef.
7115 (main): New variable 'x'.
7116
89c73ade
TT
71172009-05-27 Tom Tromey <tromey@redhat.com>
7118
7119 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
7120 tests.
7121 * gdb.python/python-value.exp (py_objfile_tests): New proc.
7122 Call it.
7123
a75724bc
PA
71242009-05-27 Pedro Alves <pedro@codesourcery.com>
7125
7126 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
7127
e58b0e63
PA
71282009-05-24 Pedro Alves <pedro@codesourcery.com>
7129
7130 * gdb.threads/fork-thread-pending.c: New.
7131 * gdb.threads/fork-thread-pending.exp: New.
7132
4ac36638
JK
71332009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7134
7135 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
7136 * gdb.dwarf2/dw2-strp.S (a_string2): New.
7137
889bf7c5 71382009-05-18 Jon Beniston <jon@beniston.com>
c28c63d8 7139
889bf7c5 7140 * gdb.asm/asm-source.exp: Add lm32 target.
c28c63d8 7141
b242c3c2
PA
71422009-05-17 Pedro Alves <pedro@codesourcery.com>
7143
7144 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
7145 `gdb_get_line_number'. Call `callee' in both parent and child.
7146 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
7147 `gdb_get_line_number' instead of hardcoding line numbers.
7148 (catch_fork_unpatch_child): New procedure to test detaching
7149 breakpoints from child fork.
7150 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
7151 hardcoding line numbers.
7152 (do_fork_tests): Run `catch_fork_unpatch_child'.
7153
ee342b23
VP
71542009-05-17 Vladimir Prus <vladimir@codesourcery.com>
7155
7156 * gdb.mi/mi-cmd-var.exp: Check that when varobj
7157 of structure type enters or leaves the scope, it
7158 is reported by -var-update.
7159
e2009e98
DE
71602009-05-11 Doug Evans <dje@sebabeach.org>
7161
7162 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
fc529d80 7163 * gdb.threads/pending-step.c (main): Fix off-by-one error.
e2009e98
DE
7164 * gdb.threads/schedlock.c (main): Fix off-by-one error.
7165
00903456
JK
71662009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7167
7168 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
7169
dc621c35
DE
71702009-04-30 Doug Evans <dje@google.com>
7171
7172 * gdb.threads/watchthreads2.exp: New testcase.
7173 * gdb.threads/watchthreads2.c: New testcase.
7174
9ab4e744
DE
71752009-04-29 Doug Evans <dje@google.com>
7176
7177 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
7178 * gdb.cp/mb-ctor.cc: Ditto.
7179 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
7180 * gdb.cp/mb-inline.h (multi_line_foo): New function.
7181 * gdb.cp/mb-inline1.cc: Call it.
7182 * gdb.cp/mb-inline2.cc: Ditto.
7183 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
7184 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
7185
484086b7
JK
71862009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7187
7188 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
7189 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
7190 Replace all uses of `decimal' by `nonzero'.
7191 (info macro FROM_COMMANDLINE): New test.
7192
379a77b5
TT
71932009-04-27 Tom Tromey <tromey@redhat.com>
7194
7195 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
7196
b92b73c2
DE
71972009-04-27 Doug Evans <dje@google.com>
7198
7199 * gdb.threads/watchthreads.c (main): Initialize args before starting
7200 the threads. Plus formatting cleanup.
7201 * gdb.threads/watchthreads.exp: Avoid errant failures due to
7202 biased scheduling of one thread.
7203
945a118d
JG
72042009-04-27 Jerome Guitton <guitton@adacore.com>
7205
7206 * gdb.cp/templates.cc (GetMax): New template.
7207 (main): Declare two instances of GetMax.
7208 * gdb.cp/templates.exp: Add new test.
7209
d389af10
JK
72102009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7211
7212 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
7213
e7f86de9
JM
72142009-04-22 Joseph Myers <joseph@codesourcery.com>
7215
7216 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
7217
334cc82d
TT
72182009-04-15 Tom Tromey <tromey@redhat.com>
7219
7220 * gdb.base/charset.exp: Add regression test.
7221
d12672cc
JB
72222009-04-14 Joel Brobecker <brobecker@adacore.com>
7223
7224 * gdb.base/exe-lock.exp: New testcase.
7225
18e8c3bc
TT
72262009-04-13 Tom Tromey <tromey@redhat.com>
7227
7228 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
7229 operator on Frame.
7230
5ecd5cbe
UW
72312009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7232
7233 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
7234 * gdb.server/ext-attach.exp: Likewise.
7235
7309f756
VP
72362009-04-03 Vladimir Prus <vladimir@codesourcery.com>
7237
7238 Eliminate some sleep usage.
7239
889bf7c5
PA
7240 * gdb.mi/basics.c (do_nothing): New.
7241 (main): Use do_nothing instead of printf, so that
7242 not to introduce race condition between output of
7243 inferiour and output of gdb. Do not use sleep as it
7244 is not generally available on embedded targets.
7309f756 7245
f4b95f6f
PA
72462009-04-02 Pedro Alves <pedro@codesourcery.com>
7247
7248 * gdb.server/ext-attach.exp: Expect an optional process id after
7249 "Detached from remote process".
7250
de40b933
JK
72512009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7252
7253 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
7254 gdb.dwarf2/dw2-unresolved.exp: New.
7255
2ae101a4
PA
72562009-04-02 Pedro Alves <pedro@codesourcery.com>
7257
7258 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
7259 mi_run_to_main.
7260
56a8e183
PA
72612009-04-02 Pedro Alves <pedro@codesourcery.com>
7262
7263 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
7264 mi_run_to_main. Skip thread exit test on remote targets.
7265 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
7266 mi_run_to_main.
7267 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
7268 mi_run_to_main.
7269 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
7270 when expecting ^connected. Detect when the target doesn't support
7271 non-stop mode.
7272 (mi_run_cmd): Detect if non-stop mode was requested by isn't
7273 supported. Return -1 on error, 0 on success.
7274 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
7275 (mi_runto): Return mi_runto_helper's result explicitly.
7276
c35fafde
PA
72772009-04-01 Pedro Alves <pedro@codesourcery.com>
7278
7279 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
7280
f8a8dce6
JB
72812009-04-01 Tom Tromey <tromey@redhat.com>
7282
7283 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
7284 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
7285 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
7286 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
7287
71c25dea
TT
72882009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
7289 Jan Kratochvil <jan.kratochvil@redhat.com>
7290
7291 PR gdb/931
7292 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
7293 output.
7294 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
7295 for gdb/931.
7296 * dw2-strp.S (DW_AT_language): Change to C++.
7297 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
7298
02d9a9ce
JB
72992009-03-31 Joel Brobecker <brobecker@adacore.com>
7300
7301 * gdb.ada/tasks: New testcase.
7302
1042e4c0
SS
73032009-03-30 Stan Shebs <stan@codesourcery.com>
7304
7305 * gdb.trace/actions.exp: Update to match new info trace format.
7306 * gdb.trace/deltrace.exp: Ditto.
7307 * gdb.trace/infotrace.exp: Ditto.
7308 * gdb.trace/passcount.exp: Ditto.
7309 * gdb.trace/save-trace.exp: Ditto.
7310 * gdb.trace/while-stepping.exp: Ditto.
7311 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
7312
f8f6f20b
TJB
73132009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
7314
7315 * gdb.python/python-frame.c: New file.
7316 * gdb.python/python-frame.exp: New file.
7317
c0c6f777
TJB
73182009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
7319
7320 * gdb.python/python-value.exp: Add tests for the address
7321 attribute.
7322
3cb51905
AS
73232009-03-29 Andreas Schwab <schwab@linux-m68k.org>
7324
7325 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
7326
88fc996f
DE
73272009-03-26 Doug Evans <dje@google.com>
7328
7329 * gdb.mi/mi-nonstop-exit.exp: New file.
7330 * gdb.mi/non-stop-exit.c: New file.
7331
56ef84b1
TT
73322009-03-26 Tom Tromey <tromey@redhat.com>
7333
7334 Update for change to prologue skipping:
7335 * gdb.mi/mi2-simplerun.exp: Update.
7336 * gdb.mi/mi2-break.exp: Update.
7337 * gdb.mi/mi-simplerun.exp: Update.
7338 * gdb.mi/mi-break.exp: Update.
7339 * gdb.base/ending-run.exp: Update.
7340
def2b000
TJB
73412009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
7342
7343 * gdb.python/python-value.exp (test_value_in_inferior): Test
7344 gdb.Value.is_optimized_out attribute.
7345
442ddf59
JK
73462009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7347
7348 * gdb.dwarf2/dw2-noloc-main.c: New file.
7349 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
7350 (.text): Remove.
7351 (.data): New.
7352 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
7353 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
7354 (DW_TAG_subprogram func_cu1, noloc): Remove.
7355 (main): New.
7356 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
7357 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
7358 (file_symbols): New procedure.
7359
a8df5de4
TT
73602009-03-25 Tom Tromey <tromey@redhat.com>
7361
7362 * gdb.base/charset.exp (valid_target_charset): New proc.
7363 Use it to skip tests on invalid charsets.
7364
cc1d7add
PM
73652009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
7366
7367 * gdb.base/completion.exp: Add a test for directory completion.
7368
bcd5727b
JK
73692009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7370
7371 Fix a racy FAIL.
7372 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
7373 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
7374
cc924cad
TJB
73752009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
7376
7377 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
7378 * gdb.python/python-function.exp: Add test for function returning
7379 a GDB value.
7380
bc3b79fd
TJB
73812009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
7382
7383 * gdb.python/python-function.exp: New file.
7384
6c7a06a3
TT
73852009-03-20 Tom Tromey <tromey@redhat.com>
7386
7387 * gdb.base/store.exp: Update for change to escape output.
7388 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
7389 to escape output.
7390 * gdb.base/pointers.exp: Update for change to escape output.
7391 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
7392 to escape output.
7393 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
7394 escape output.
7395 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
7396 to escape output.
7397 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
7398 escape output.
7399 * gdb.base/setvar.exp: Update for change to escape output.
7400 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
7401 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
7402 to escape output.
7403 (test_print_string_constants): Likewise.
7404 * gdb.base/charset.exp (valid_host_charset): Check size of
7405 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
7406 cases. Handle "auto"-related output.
7407 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
7408 (uvar, Uvar): New globals.
7409
c31af87b
JG
74102009-03-19 Jerome Guitton <guitton@adacore.com>
7411
7412 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
7413 deltas.
7414 * gdb.ada/fixed_points.exp: Ditto.
7415
51272cf2
PA
74162009-03-18 Pedro Alves <pedro@codesourcery.com>
7417
7418 * return-nodebug.c: Don't include stdio.h.
7419 (init): Delete.
7420 (func): Delete definition and provide extern declaration.
7421 (t): New.
7422 (main): Don't call printf. Call func and store its result in t.
7423 * return-nodebug1.c: New.
7424 * return-nodebug.exp: Don't expect stdio output. Instead, print
7425 the global variable t. Drop printf formatters and cast types from
7426 foreach loop. Don't use prepare_for_testing. Compile
7427 return-nodebug.c and return-nodebug1.c in separate steps. Don't
7428 define FORMAT or CAST.
7429
d24948ac
PP
74302009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7431
7432 * gdb.base/solib-display.exp: Disable test for remote targers.
7433
61ff14c6
JK
74342009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7435
7436 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
7437
cb4dce93
JK
74382009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7439
7440 Fix a racy FAIL.
7441 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
7442 code from `follow parent, print pids'.
7443 (`follow child, print pids', `follow parent, print pids'): Call it.
7444 Replace `gdb_test "break..."' by gdb_breakpoint.
7445
f7c60c5e
VP
74462009-03-13 Vladimir Prus <vladimir@codesourcery.com>
7447
7448 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 7449 sync and async modes.
f7c60c5e 7450
383ace49
JB
74512009-03-12 Joel Brobecker <brobecker@adacore.com>
7452
7453 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
7454 that was checked in by mistake. Remove loading of ada.exp, since
7455 this is not necessary in this case.
7456
4ce102af
JB
74572009-03-12 Joel Brobecker <brobecker@adacore.com>
7458
7459 * gdb.ada/ptype_arith_binop.exp: New testcase.
7460
529a2aef
JB
74612009-03-12 Joel Brobecker <brobecker@adacore.com>
7462
7463 * gdb.ada/mod_from_name: New testcase.
7464
8a38181c
JB
74652009-03-12 Joel Brobecker <brobecker@adacore.com>
7466
7467 * gdb.ada/tick_last_segv: New testcase.
7468
11436dee
VP
74692009-03-12 Vladimir Prus <vladimir@codesourcery.com>
7470
61ff14c6 7471 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 7472
1f31650a
VP
74732009-03-12 Vladimir Prus <vladimir@codesourcery.com>
7474
61ff14c6
JK
7475 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
7476 include the token in ^running and frame info in *stopped.
1f31650a 7477
a3247a22
PP
74782009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7479
7480 * solib-display.exp: New file.
7481 * solib-display-main.c: New file.
7482 * solib-display-lib.c: New file.
61ff14c6 7483
aae64587
PA
74842009-03-05 Pedro Alves <pedro@codesourcery.com>
7485
7486 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
7487
44aabfbc
JK
74882009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7489
7490 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
7491 (list_and_check_macro): Use more specific test name.
7492 (next to definition): Make the test names unique.
7493
c087fcd3
PM
74942009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
7495
7496 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 7497
c86cf029
VP
74982009-02-17 Vladimir Prus <vladimir@codesourcery.com>
7499
7500 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
7501 notifications.
7502 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
7503 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
7504 * lib/mi-support.exp (library_loaded_re): New.
7505 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
7506
3ea85240
VP
75072009-02-17 Vladimir Prus <vladimir@codesourcery.com>
7508
7509 * gdb.gdb/observer.exp: Use test_notification observer, not
7510 normal_stop, everywhere.
7511 (test_normal_stop_notifications): Rename to...
7512 (test_notifications): ...this.
7513 (test_observer_normal_stop): Rename to...
7514 (test_observer): ...this.
7515
1903f0e6
DE
75162009-02-16 Doug Evans <dje@google.com>
7517
7518 * gdb.arch/amd64-disp-step.S (test_int3): New test.
7519 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
7520 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
7521 (test_prefixed_syscall,test_int3): New tests.
7522 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
7523 (test_prefixed_syscall,test_int3): New tests.
7524
1d33d6ba
VP
75252009-02-14 Vladimir Prus <vladimir@codesourcery.com>
7526
3cb51905
AS
7527 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
7528 (mi_expect_interrupt): Likewise.
7529 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
7530 response.
1d33d6ba 7531
faafb047
PM
75322009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
7533
7534 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
7535 * gdb.base/pc-fp.exp (get_valueofx): Remove.
7536 Replace calls to get_valueofx by get_hexadecimal_valueof.
7537
417e16e2
PM
75382009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
7539
7540 * lib/gdb.exp (get_valueof): Accept anything as a return value.
7541 (get_integer_valueof): New procedure.
7542 (get_sizeof): Use new get_integer_value_of.
7543 * gdb.base/sizeof.exp: Replace all uses of get_valueof
7544 by get_integer_valueof.
7545
7065b901
TT
75462009-02-13 Tom Tromey <tromey@redhat.com>
7547
7548 * gdb.base/remote.exp (get_sizeof): Remove.
7549 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
7550 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
7551 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
7552 * lib/gdb.exp (get_valueof): Move from long_long.exp.
7553 (get_sizeof): Likewise.
7554
5d7cb8df
JK
75552009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7556
7557 PR fortran/9806
7558 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
7559
b2febfff
PP
75602009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7561
7562 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
7563
4aa995e1
PA
75642009-02-06 Pedro Alves <pedro@codesourcery.com>
7565
7566 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
7567
d8906c6f
TJB
75682009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
7569
7570 * gdb.python/python-cmd.exp: New file.
7571
ff4ab08d
TG
75722009-02-06 Tristan Gingold <gingold@adacore.com>
7573
7574 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
7575
aacd552b
TG
75762009-02-05 Tristan Gingold <gingold@adacore.com>
7577
7578 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
7579 pointer is dereferenced and use this signal name in regexp.
7580 * gdb.base/signull.exp: Ditto.
7581 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
7582 * gdb.base/signull.c (main): Ditto.
7583
08c637de
TJB
75842009-02-04 Tom Tromey <tromey@redhat.com>
7585 Thiago Jung Bauermann <bauerman@br.ibm.com>
7586
7587 * gdb.python/python-value.exp: Use `gdb.history' instead of
7588 `gdb.value_from_history'.
7589 (test_value_numeric_ops): Add test for conversion of enum constant.
7590 * gdb.python/python-value.c (enum e): New type.
7591 (evalue): New global.
7592 (main): Use argv.
7593
20261af8
JG
75942009-02-04 Jerome Guitton <guitton@adacore.com>
7595
7596 * gdb.ada/uninitialized_vars: New test program.
7597 * gdb.ada/uninitialized_vars.exp: New testcase.
7598
52e44b43
TT
75992009-02-02 Tom Tromey <tromey@redhat.com>
7600
7601 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
7602 * gdb.cp/pr2489.cc: Rename...
7603 * gdb.cp/pr9594.cc: ... to this.
7604
1c71341a
TT
76052009-02-02 Tom Tromey <tromey@redhat.com>
7606
7607 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
7608 * gdb.cp/pr2489.cc: New file.
7609 * gdb.cp/cpcompletion.exp: New file.
7610
a4295225
TT
76112009-02-02 Tom Tromey <tromey@redhat.com>
7612
7613 PR exp/9059:
7614 * gdb.cp/call-c.exp: Add regression test.
7615 * gdb.cp/call-c.cc (FooHandle): New typedef.
7616 (main): New variable 'handle'.
7617
592375cd
VP
76182009-01-30 Vladimir Prus <vladimir@codesourcery.com>
7619
7620 * lib/mi-support.exp (et_mi_thread_list)
7621 (check_mi_and_console_threads): Adjust for current thread in
7622 -thread-list-ids output.
7623
41447f92
VP
76242009-01-30 Vladimir Prus <vladimir@codesourcery.com>
7625
889bf7c5
PA
7626 * gdb.mi/mi-break.exp (test_disabled_creation): New.
7627 Call it.
41447f92 7628
35669430
DE
76292009-01-28 Doug Evans <dje@google.com>
7630
7631 * gdb.arch/amd64-disp-step.S: New file.
7632 * gdb.arch/amd64-disp-step.exp: New file.
7633 * gdb.arch/i386-disp-step.S: New file.
7634 * gdb.arch/i386-disp-step.exp: New file.
7635
09f00d9a
PM
76362009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
7637
7638 * gdb.base/find.exp: Set newline variable
7639 using quotes instead of braces to fix cygwin failures.
7640
1e8fb976
PA
76412009-01-23 Pedro Alves <pedro@codesourcery.com>
7642
7643 * gdb.base/radix.exp: Add tests to ensure that that set
7644 input-radix 0 and set output-radix 0 are really rejected.
7645
da061712
PA
76462009-01-23 Pedro Alves <pedro@codesourcery.com>
7647
7648 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
7649 copyright years.
7650
dd7e2d2b
PA
76512009-01-23 Pedro Alves <pedro@codesourcery.com>
7652
7653 PR gdb/9664:
7654 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
7655
392452f6
PA
76562009-01-22 Pedro Alves <pedro@codesourcery.com>
7657
7658 PR c++/9631:
7659 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
7660
8653e71c
PM
76612009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
7662
7663 * gdb.server/file-transfer.exp: Use EXEEXT variable for
7664 binfile definition to fix Windows OS failure.
7665
a12cc160
DJ
76662009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
7667
7668 PR gdb/9346
7669 * gdb.base/interrupt.c (sigint_handler): New.
7670 (main): Install a SIGINT handler if SIGNALS is defined. Exit
7671 on error.
7672 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
7673 Test "signal SIGINT".
7674
b89667eb
DE
76752009-01-19 Doug Evans <dje@google.com>
7676
7677 * gdb.base/break.exp: Update expected gdb output.
7678 * gdb.base/sepdebug.exp: Ditto.
7679 * gdb.mi/mi-syn-frame.exp: Ditto.
7680 * gdb.mi/mi2-syn-frame.exp: Ditto.
7681 * gdb.base/call-signal-resume.exp: New file.
7682 * gdb.base/call-signals.c: New file.
7683 * gdb.base/unwindonsignal.exp: New file.
7684 * gdb.base/unwindonsignal.c: New file.
7685 * gdb.threads/interrupted-hand-call.exp: New file.
7686 * gdb.threads/interrupted-hand-call.c: New file.
7687 * gdb.threads/thread-unwindonsignal.exp: New file.
7688
adb483fe
DJ
76892009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
7690
7691 * gdb.base/define.exp: Test defining and hooking prefix commands.
7692 * gdb.python/python.exp: Update test for "show user" output.
7693
60023297
JK
76942009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7695
7696 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
7697 now the output exactly, using less wildcards. Expect also the output
7698 of gfortran-4.3. Update for the f-valprint.c modification from
7699 2008-04-22.
7700 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
7701 Remove gdb_test test names where matching the command.
7702
ccc57cf9
PA
77032009-01-01 Pedro Alves <pedro@codesourcery.com>
7704
7705 PR breakpoints/9681:
7706 * gdb.base/watchpoint.exp: Add regression test.
7707
c7a6ca08
PA
77082008-12-31 Pedro Alves <pedro@codesourcery.com>
7709
7710 * gdb.threads/attach-into-signal.exp: Don't use
7711 gdb_suppress_entire_file.
7712 * gdb.threads/attach-stopped.exp: Ditto.
7713 * gdb.threads/attachstop-mt.exp: Ditto.
7714
3a031f65
PA
77152008-12-31 Pedro Alves <pedro@codesourcery.com>
7716
7717 PR gdb/8812:
7718 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
7719
09e6485f
PA
77202008-12-29 Pedro Alves <pedro@codesourcery.com>
7721
7722 PR gdb/7536:
7723 * gdb.base/radix.exp: Add tests to ensure invalid input radices
7724 and unsupported output radices are really rejected.
7725
0cd53049
JK
77262008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7727
7728 * gdb.cp/punctuator.exp: Backslash the '$' signs.
7729
ba163c7e
TT
77302008-12-22 Tom Tromey <tromey@redhat.com>
7731
7732 * gdb.cp/punctuator.exp: New file.
7733
6f4de6c9
JK
77342008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7735
7736 * gdb.base/completion.exp (Completing non-existing component): New test.
7737
0f34d0b4
JK
77382008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7739
7740 Fix for PR gdb/8648.
7741 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
7742 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
7743 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
7744 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
7745
db2ad4c3
JK
77462008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7747
7748 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
7749
bb5ef15e
DP
77502008-12-16 Christophe Lyon <christophe.lyon@st.com>
7751
7752 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
7753 compiler actually generate code at the expected line number.
7754
90142adc
JZ
77552008-12-15 Jie Zhang <jie.zhang@analog.com>
7756
7757 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
7758
fad6eecd
TT
77592008-12-12 Tom Tromey <tromey@redhat.com>
7760
7761 * gdb.base/commands.exp (redefine_hook_test): New proc.
7762 Call it.
7763
17c8aaf5
TT
77642008-12-11 Tom Tromey <tromey@redhat.com>
7765
7766 * gdb.base/macscp.exp: New regression test.
7767
7c8adf68
TT
77682008-12-11 Tom Tromey <tromey@redhat.com>
7769
7770 * gdb.base/macscp.exp: Print "address.addr".
7771 * gdb.base/macscp1.c (struct outer): New struct.
7772 (address): New global.
7773
b05dcbb7
TT
77742008-12-09 Tom Tromey <tromey@redhat.com>
7775
7776 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
7777 Call it.
7778
2d476de1
DE
77792008-12-04 Doug Evans <dje@google.com>
7780
7781 * gdb.server/ext-run.exp: Relax regexp for init program.
7782
87bdc959
TG
77832008-12-03 Tristan Gingold <gingold@adacore.com>
7784
7785 * gdb.base/macscp.exp: Generate an object file during compilation
7786 to work around Darwin dsymutil limitations.
7787
e0740f77
JK
77882008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7789
7790 Test resolving external references to TLS variables.
7791 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
7792 FILE2_THREAD_LOCAL.
7793 (testfile2, srcfile2): New variables.
7794 * gdb.threads/tls.c (file2_thread_local)
7795 (function_referencing_file2_thread_local): New.
7796 * gdb.threads/tls2.c: New file.
7797
67f0aac5
JB
77982008-11-28 Joel Brobecker <brobecker@adacore.com>
7799
7800 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
7801 rather than integer, as integer might not be big enough when
7802 on 64bit targets.
67f0aac5 7803
c332165e
JG
78042008-11-27 Jerome Guitton <guitton@adacore.com>
7805
7806 * gdb.cp/formatted-ref.exp: Add equality test.
7807 * gdb.ada/formatted_ref.exp: Ditto.
7808
fc9b693c
JK
78092008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7810
7811 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
7812 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
7813
a9c64011
AS
78142008-11-20 Andreas Schwab <schwab@suse.de>
7815
7816 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
7817 matching syscall entry point.
7818 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
7819 (tcatch_vfork_then_child_follow): Likewise. Finish through
7820 vfork even if we stopped at the syscall trampoline.
7821
e2fd701e
DE
78222008-11-20 Doug Evans <dje@google.com>
7823
7824 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
7825
69abc51c
TJB
78262008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
7827
7828 * gdb.arch/ppc-dfp.exp: New file.
7829 * gdb.arch/ppc-dfp.c: New file.
7830
c14c28ba
PP
78312008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7832
7833 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 7834
2e74121d
DE
78352008-11-17 Doug Evans <dje@google.com>
7836
7837 * gdb.mi/mi-syn-frame.exp: Update expected output.
7838 * gdb.mi/mi2-syn-frame.exp: Update expected output.
7839
66bb093b
VP
78402008-11-17 Vladimir Prus <vladimir@codesourcery.com>
7841
7842 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
7843 "thread N" results in =thread-selected.
7844 * lib/mi-support (mi_run_cmd, mi_expect_stop)
7845 (mi_send_resuming_command_raw): Be prepared for
7846 =thread-selected.
7847
3d043ef6
VP
78482008-11-17 Vladimir Prus <vladimir@codesourcery.com>
7849
a9c64011
AS
7850 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
7851 * lib/mi-support.exp: Likewise.
3d043ef6 7852
808104c8
JB
78532008-11-16 Joel Brobecker <brobecker@adacore.com>
7854
7855 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
7856 commands from the expected output for "help catch".
7857
00b22944
JB
78582008-11-15 Joel Brobecker <brobecker@adacore.com>
7859
7860 * gdb.ada/int_deref.exp: New testcase.
7861
59669435
TT
78622008-11-14 Nick Roberts <nickrob@snap.net.nz>
7863
7864 * gdb.mi/gdb2549.exp: New file.
7865
de04a248
DE
78662008-11-11 Doug Evans <dje@google.com>
7867
7868 * gdb.base/callexit.exp: New file.
7869 * gdb.base/callexit.c: New file.
7870
6b8ce727
DE
78712008-11-10 Doug Evans <dje@google.com>
7872
7873 * lib/gdb.exp (GDBFLAGS): Move -nx ...
7874 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
7875 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
7876 (default_gdb_start,default_gdb_exit): Ditto.
7877 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
7878 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
7879 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
7880 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
7881 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
7882 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
7883
1b14b8aa
AS
78842008-11-03 Andreas Schwab <schwab@suse.de>
7885
7886 * gdb.base/hashline2.exp: Fix typo.
7887 * gdb.base/hashline3.exp: Likewise.
7888
f3134b88
TT
78892008-10-30 Tom Tromey <tromey@redhat.com>
7890
7891 * gdb.base/pointers.exp: Add test.
7892 * gdb.base/pointers.c (k, S): New typedefs.
7893 (instance): New global.
7894
c2226152
AS
78952008-10-30 Andreas Schwab <schwab@suse.de>
7896
7897 * gdb.base/args.exp: Add tests for newlines.
7898
462f405c
JB
78992008-10-30 Joel Brobecker <brobecker@adacore.com>
7900
7901 gdb.base/foll-exec.exp: Update the expected output of a couple
7902 of "info breakpoints" tests.
7903
79a45b7d
TT
79042008-10-28 Tom Tromey <tromey@redhat.com>
7905
7906 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
7907
adc13a14
PA
79082008-10-24 Pedro Alves <pedro@codesourcery.com>
7909
7910 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
7911 gdb_start_cmd.
7912 Use runto_main before any test that requires execution.
7913
252fbfc8
PA
79142008-10-23 Pedro Alves <pedro@codesourcery.com>
7915
7916 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
7917 instead of SIGINT.
7918
28148e3d
JB
79192008-10-22 Joel Brobecker <brobecker@adacore.com>
7920
7921 * gdb.base/completion.exp: Update expected output following
7922 the addition of the "info tasks" command.
7923
c209f847
TT
79242008-10-22 Tom Tromey <tromey@redhat.com>
7925
7926 * gdb.base/exprs.exp (test_expr): Add test for string
7927 concatenation.
7928
f177e350
PA
79292008-10-19 Pedro Alves <pedro@codesourcery.com>
7930
7931 * configure.ac: Output gdb.python/Makefile.
7932 * configure: Regenerate.
7933 * gdb.python/Makefile.in: New.
7934
cce89356
JB
79352008-10-16 Joel Brobecker <brobecker@adacore.com>
7936
7937 * gdb.base/foll-fork.exp: Adjust the expected output to match
7938 the new description for fork/vfork catchpoints in the "info
7939 breakpoints" output.
7940
176d289d
TJB
79412008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
7942
7943 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
7944
a08702d6
TJB
79452008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
7946
7947 * gdb.python/python-value.c: New file.
7948 * gdb.python/python-value.exp: New file.
7949
1c5cfe86
PA
79502008-10-15 Pedro Alves <pedro@codesourcery.com>
7951
7952 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
7953
5a98ad69
DP
79542008-10-15 Denis Pilat <denis.pilat@st.com>
7955
41702f1b 7956 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 7957
dcb1a1e2
TT
79582008-10-09 Tom Tromey <tromey@redhat.com>
7959
7960 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
7961 'fprintf' and 'stderr'.
7962
9124fe48
JB
79632008-10-07 Joel Brobecker <brobecker@adacore.com>
7964
7965 * gdb.ada/ref_tick_size.exp: New testcase.
7966
45452591
DE
79672008-10-06 Doug Evans <dje@google.com>
7968
7969 * gdb.dwarf2/dw2-cu-size.exp: New file.
7970 * gdb.dwarf2/dw2-cu-size.S: New file.
7971
7972 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
7973 .Ltype_int for clarity.
7974
4fc5b208
PP
79752008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
7976
7977 PR gdb/2384:
7978 * gdb.cp/gdb2384.exp: Extended to test more cases.
7979 * gdb.cp/gdb2384.cc: Likewise.
7980 * gdb.cp/gdb2384-base.h: Likewise.
7981 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 7982
d78df370
JK
79832008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7984
7985 * gdb.base/maint.exp (maint print type): Remove printing
7986 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
7987
9a044a89
TT
79882008-09-30 Tom Tromey <tromey@redhat.com>
7989
7990 * gdb.base/macscp.exp: Add completion tests.
7991 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
7992 (TWENTY_THREE): Likewise.
7993 (FORTY_EIGHT): Likewise.
7994
506800a9
TT
79952008-09-30 Tom Tromey <tromey@redhat.com>
7996
7997 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
7998 everywhere.
7999 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
8000
1a6f01b5
JK
80012008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8002
8003 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
8004 testcase is derived from. Fix racy dependency on an expected PID
8005 number. No longer support the testcase on Linux kernel 2.4.x.
8006
2fae03e8
TT
80072008-09-27 Tom Tromey <tromey@redhat.com>
8008
8009 * gdb.base/macscp.exp: Add tests for stringification, splicing,
8010 and varargs.
8011
1ad15515
PA
80122008-09-22 Pedro Alves <pedro@codesourcery.com>
8013
8014 * lib/mi-support.exp (mi_expect_interrupt): New.
8015 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
8016 from gdb.mi/mi-nonstop.exp.
8017 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
8018 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
8019 lib/mi-support.exp.
8020 Use mi_check_thread_states throughout. Avoid ".*" and do not
8021 require an anchor after -exec-run.
8022
d0b76dc6
DJ
80232008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
8024
8025 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
8026 stop is pending. Avoid ".*" when two stops are pending.
8027 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
8028 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
8029 newlines in fullnames.
8030 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
8031 (mi_expect_stop): Update comments. Only anchor in sync mode.
8032 Do not match newlines.
8033 (mi_send_resuming_command_raw): Always return status.
8034 (mi_get_stop_line): Do not match more than one line by accident.
8035 Only anchor in sync mode.
8036 (mi_run_inline_test): If -exec-next fails, give up.
8037
9990c830
UW
80382008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8039
8040 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
8041 on SPU.
8042
ebcf6f00
JB
80432008-09-10 Joel Brobecker <brobecker@adacore.com>
8044
8045 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
8046
b6db24e5
JB
80472008-09-10 Joel Brobecker <brobecker@adacore.com>
8048
8049 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
8050 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
8051 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
8052 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
8053 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
8054 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
8055 gdb.ada/interface.exp, gdb.ada/null_array.exp,
8056 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
8057 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
8058 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
8059 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
8060 Include the "= " sequence in the expected output of print tests.
8061
2bf448e0
JB
80622008-09-10 Joel Brobecker <brobecker@adacore.com>
8063
8064 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
8065 description for boolean types.
8066
d51fd4c8
PA
80672008-09-09 Pedro Alves <pedro@codesourcery.com>
8068
8069 * gdb.base/hook-stop-continue.c: New.
8070 * gdb.base/hook-stop-continue.exp: New.
8071
694182d2
DJ
80722008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
8073
8074 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
8075
3b8a7fc0
JG
80762008-09-08 Jerome Guitton <guitton@adacore.com>
8077
8078 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
8079 (stack_check_probe_2, stack_check_probe_loop_1)
8080 (stack_check_probe_loop_2): New functions.
8081 (main): Add call to these new functions.
8082 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
8083 functions, check that the breakpoint is inserted at the appropriate
8084 location.
8085 (insert_breakpoint): Slightly refine this procedure so that it can
8086 be called several times in the test.
8087
96cc0ae8
JG
80882008-09-08 Jerome Guitton <guitton@adacore.com>
8089
8090 * gdb.base/stack-checking.c: New file.
8091 * gdb.base/stack-checking.exp: New file.
8092
1f08b409
TJB
80932008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
8094
8095 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
8096 * gdb.arch/altivec-regs.exp: Likewise.
8097 * gdb.arch/vsx-regs.exp: Likewise.
8098
3099e1c4
TJB
80992008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
8100
8101 * gdb.arch/ppc-fp.exp: New file.
8102 * gdb.arch/ppc-fp.c: New file.
8103
cc69bfc1
PP
81042008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8105
8106 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
8107 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 8108
b02a33db
MS
81092008-09-04 Michael Snyder <msnyder@vmware.com>
8110
8111 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
8112 as "at" (for non-debug functions such as _start).
8113
2992cbe0
UW
81142008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8115
8116 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
8117 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
8118 software watchpoints.
8119 * gdb.base/watch_thread_num.exp: Likewise.
8120
514f746b
AR
81212008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
8122
8123 * gdb.arch/i386-bp_permanent.exp: New test.
8124
876cecd0
TT
81252008-08-24 Tom Tromey <tromey@redhat.com>
8126
8127 * gdb.base/maint.exp: Update "maint print type".
8128
80f73d71
VP
81292008-08-21 Vladimir Prus <vladimir@codesourcery.com>
8130
8131 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
8132 support. Adjust the order of "*running" notifications.
8133 * gdb.mi/non-stop.c: Don't cast from int to void* and
8134 back.
8135
d9c78d7d
MK
81362008-08-20 Mark Kettenis <kettenis@gnu.org>
8137
8138 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
8139 expect to find it in the "info frame" output.
8140
97a2d1d3
DJ
81412008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
8142
8143 * gdb.base/interp.exp: Always consume both prompts.
8144
b96e2927
PA
81452008-08-20 Pedro Alves <pedro@codesourcery.com>
8146
8147 * gdb.base/pending.exp: Test pending breakpoints without symbols
8148 loaded.
8149
8cf6e61a
VP
81502008-08-19 Vladimir Prus <vladimir@codesourcery.com>
8151
8152 * lib/mi-support.exp (mi_expect_stop): Produce
8153 more details on failures.
8154 * gdb.mi/mi-nonstop.exp: New.
8155 * gdb.mi/non-stop.c: New.
8156
c6ebd6cf
VP
81572008-08-19 Vladimir Prus <vladimir@codesourcery.com>
8158
a9c64011
AS
8159 * gdb.mi/mi-async.exp: Use 'set target-async'.
8160 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 8161
46a9b8ed
DJ
81622008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
8163
8164 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
8165
44feb3ce
TT
81662008-08-17 Tom Tromey <tromey@redhat.com>
8167
8168 * gdb.base/help.exp (help catch): Rewrite.
8169
311a4e6b
TJB
81702008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
8171
8172 * gdb.base/define.exp: Test indented command documentation.
8173 * gdb.python/python.exp: Test indented multi-line command.
8174
604c2f83
LM
81752008-08-15 Luis Machado <luisgpm@br.ibm.com>
8176
8177 * testsuite/gdb.arch/vsx-regs.c: New source file.
8178 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
8179 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
8180
886a217c
TT
81812008-08-14 Tom Tromey <tromey@redhat.com>
8182
8183 * gdb.base/macscp.exp: Add regression test for "macro define" or
8184 "macro undef" with no arguments.
8185
c814a4f3
PP
81862008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8187
8188 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 8189
12ab8a60
UW
81902008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8191
8192 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
8193
d57a3c85
TJB
81942008-08-06 Tom Tromey <tromey@redhat.com>
8195
8196 * gdb.python/python.exp: New file.
8197
c7b778ff
JK
81982008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8199
8200 Fix for PR gdb/1543.
8201 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
8202 $LOCATION.
8203 (location): New variable.
8204 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
8205 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
8206 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
8207 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
8208 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
8209 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
8210 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
8211 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
8212 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
8213 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
8214 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
8215 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
8216 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
8217 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
8218 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
8219 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
8220 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
8221 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
8222 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
8223 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
8224 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
8225 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
8226 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
8227 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
8228 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
8229 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
8230 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
8231 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
8232 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
8233 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
8234 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
8235 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
8236 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
8237 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
8238 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
8239 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
8240 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
8241 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
8242 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
8243 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
8244 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
8245 gdb.base/type-opaque.exp, gdb.base/until.exp,
8246 gdb.base/value-double-free.c, gdb.base/varargs.exp,
8247 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
8248 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
8249 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
8250 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
8251 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
8252 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
8253 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
8254 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8255 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
8256 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
8257 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
8258 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
8259 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
8260 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
8261 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
8262 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
8263 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
8264 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
8265 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
8266 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
8267 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
8268 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
8269 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
8270 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
8271 gdb.pascal/types.exp, gdb.stabs/weird.exp,
8272 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
8273 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
8274 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
8275 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
8276 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
8277 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
8278 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
8279 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
8280 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
8281 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
8282 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
8283 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
8284 lib/mi-support.exp, lib/trace-support.exp: Remove reference
8285 to bug-gdb@prep.ai.mit.edu .
8286
5e06a3d1
VP
82872008-07-31 Vladimir Prus <vladimir@codesourcery.com>
8288
8289 * lib/mi-support.exp (mi_load_shlibs): New.
8290 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
8291
9d81d21b
VP
82922008-07-30 Vladimir Prus <vladimir@codesourcery.com>
8293
8294 * lib/mi-support.exp (get_mi_thread_list)
8295 (check_mi_and_console_threads): New, moved from ...
8296 * gdb.mi/mi-pthread.exp: ...here.
8297 * gdb.mi/gdb669.exp (get_mi_thread_list)
8298 (check_mi_and_console_threads): Delete.
8299 * gdb.mi/mi2-pthread.exp: Likewise.
8300
bae98fe0
TT
83012008-07-28 Tom Tromey <tromey@redhat.com>
8302
8303 * Makefile.in (just-check): Remove. Move body to...
8304 (check): ... here.
8305
57380f4e
DJ
83062008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
8307
8308 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
8309 Add a test for duplicated SIGINTs.
8310
e09490f1
DJ
83112008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
8312
8313 * gdb.threads/schedlock.exp (get_args): Update to work for any
8314 value of NUM.
8315 (Top level): Report the number of threads that did not resume.
8316
6387b45f
DJ
83172008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
8318
8319 * gdb.dwarf2/dw2-compressed.S: Also define __start.
8320
62f64ff2
DJ
83212008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
8322
8323 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
8324 non-MI prompt.
8325
fa8de41e
TT
83262008-07-26 Tom Tromey <tromey@redhat.com>
8327
8328 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
8329 (function_struct, function_struct_ptr): New globals.
8330 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
8331 function pointer in a struct.
8332
ccb3ac8a
TT
83332008-07-26 Tom Tromey <tromey@redhat.com>
8334
8335 * gdb.base/macscp.exp: Add test for macro lexing bug.
8336
d7d9f01e
TT
83372008-07-18 Tom Tromey <tromey@redhat.com>
8338
8339 * gdb.base/macscp.exp: Add macro tests.
8340
9bf07184
PP
83412008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
8342
8343 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
8344
becf6477
PP
83452008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
8346
8347 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
8348
0709f7d3
PP
83492008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
8350
8351 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 8352
7093c834
PP
83532008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
8354
8355 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 8356
b432ffe3
JK
83572008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8358
8359 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
8360
b1a268e5
VP
83612008-07-12 Vladimir Prus <vladimir@codesourcery.com>
8362
8363 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
8364
e2995f8e
KB
83652008-07-11 Kevin Buettner <kevinb@redhat.com>
8366
8367 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
8368 of regexp to account for changes made to GDB in the printing of
8369 byte vectors.
8370
14032a66
TT
83712008-07-11 Tom Tromey <tromey@redhat.com>
8372
8373 * gdb.base/completion.exp: Add 'help' completion test.
8374
981505ef
JK
83752008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8376
8377 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
8378
10568435
JK
83792008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8380
8381 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
8382
4487aabf
PA
83832008-07-09 Pedro Alves <pedro@codesourcery.com>
8384
8385 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
8386
a4a9b1c4
PA
83872008-07-09 Pedro Alves <pedro@codesourcery.com>
8388
8389 * gdb.base/fullname.exp: Restore pwd if compiling failed.
8390
3c3185ac
JK
83912008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8392
8393 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
8394
7ebd49dc
VP
83952008-06-28 Vladimir Prus <vladimir@codesourcery.com>
8396
8397 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
8398 previous commit. Add a comment.
8399
84e46146
PA
84002008-06-28 Pedro Alves <pedro@codesourcery.com>
8401
8402 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
8403
0f8d4a2f
VP
84042008-06-28 Vladimir Prus <vladimir@codesourcery.com>
8405
8406 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
8407
f747e0ce
PA
84082008-06-27 Pedro Alves <pedro@codesourcery.com>
8409
8410 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
8411 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
8412 compiling an executable, link in an object that forces unbuffered
8413 output.
8414 * lib/set_unbuffered_mode.c: New file.
8415
734a5c36
JK
84162008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8417
8418 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
8419
a2840c35
VP
84202008-06-25 Vladimir Prus <vladimir@codesourcery.com>
8421
a9c64011
AS
8422 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
8423 mi_expect_stop.
8424 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
8425 Demand that *running is output.
8426 (detect_async): Perform checking every time.
8427 (mi_send_resuming_command): Extract everything into...
8428 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
8429 (mi_expect_stop): Don't accept any output before *stopped.
8430
6ae37fef
VP
84312008-06-13 Vladimir Prus <vladimir@codesourcery.com>
8432
8433 Robustify mi-simplerun.
a9c64011
AS
8434 * gdb.mi/basics.c (main): Add a call to sleep.
8435 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
8436 * gdb.mi/mi2-cli.exp: Likewise.
8437 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 8438
b4aa76f0 84392008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
8440
8441 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
8442
e1ac3328
VP
84432008-06-10 Vladimir Prus <vladimir@codesourcery.com>
8444
a9c64011
AS
8445 * gdb.mi/mi-console.exp: Adjust.
8446 * gdb.mi/mi-syn-frame.exp: Adjust.
8447 * gdb.mi/mi2-console.exp: Adjust.
8448 * gdb.mi/mi2-syn-frame.exp: Adjust.
8449 * lib/mi-support.exp (mi_run_cmd): Adjust.
8450 (mi_send_resuming_command): Adjust.
e1ac3328 8451
f7f9a841
VP
84522008-06-10 Vladimir Prus <vladimir@codesourcery.com>
8453
8454 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
8455 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
8456 testing of stopped.
8457 * gdb.mi/mi2-syn-frame.exp: Likewise.
8458 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
8459 (async, detect_async): New.
8460 (mi_expect_stop, mi_continue_to_line): Adjust expectation
8461 depending on if we're running in sync or async mode.
f7f9a841 8462
37cd5d19
TT
84632008-06-09 Tom Tromey <tromey@redhat.com>
8464
8465 * gdb.base/completion.exp: New tests for field name completion
8466 with spaces, and field name completion with '->'.
8467
65d12d83
TT
84682008-06-06 Tom Tromey <tromey@redhat.com>
8469
8470 * gdb.base/break1.c (struct some_struct): New struct.
8471 (values): New global.
8472 * gdb.base/completion.exp: Add field name completion test.
8473
ebfe2e3f
PP
84742008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8475
8476 * gdb.cp/call-c.exp: Test for incorrect handling of reference
8477 to pointer.
8478 * gdb.cp/call-c.cc: Likewise.
8479
bcf6fc3a
NR
84802008-06-06 Nick Roberts <nickrob@snap.net.nz>
8481
8482 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
8483 annotation.
8484
49fd4a42 84852008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 8486 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
8487
8488 * gdb.threads/execl.c, gdb.threads/execl1.c,
8489 gdb.threads/execl.exp: New tests.
a9c64011 8490
8a34ac3f
AR
84912008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
8492 Daniel Jacobowitz <dan@codesourcery.com>
8493
8494 * gdb.cp/exception.exp: Activate test, make it work with pending
8495 catchpoints.
8496
86ae69ef
JK
84972008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8498
8499 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
8500
f7f9ae2c
VP
85012008-05-28 Vladimir Prus <vladimir@codesourcery.com>
8502
a9c64011
AS
8503 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
8504 now printed.
8505 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 8506
2a2d4dc3
AS
85072008-05-27 Andreas Schwab <schwab@suse.de>
8508
8509 * gdb.base/frame-args.exp: Handle arguments that are optimized
8510 out.
8511
5099e4d9
LM
85122008-05-26 Luis Machado <luisgpm@br.ibm.com>
8513
8514 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
8515 quiet for ppc32 and group options into a single variable.
8516
d9c36a91
JB
85172008-05-23 Joel Brobecker <brobecker@adacore.com>
8518
8519 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
8520 of zero-size elements.
8521 * gdb.ada/null_array.exp: Test printing this new array.
8522
103a8671
JK
85232008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8524
8525 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
8526
07a4cc1a 85272008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
8528
8529 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
8530 of the "finish" command.
8531
55f996a7
NR
85322008-05-21 Nick Roberts <nickrob@snap.net.nz>
8533
8534 * gdb.base/annota1.exp: Test for new annotation.
8535
907fc202
UW
85362008-05-16 Pedro Alves <pedro@codesourcery.com>
8537
8538 * gdb.base/fixsection.exp: New file.
8539 * gdb.base/fixsection0.c: New file.
8540 * gdb.base/fixsection1.c: New file.
8541
e8f97270
UW
85422008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8543
8544 * gdb.base/annota1.exp: Accept printf@... in place of printf.
8545 * gdb.base/annota3.exp: Likewise.
8546
ac0bb574
NF
85472008-05-13 Nathan Froyd <froydnj@codesourcery.com>
8548
8549 * gdb.base/watch_thread_num.exp: Don't run tests that require
8550 watchpoints if the target doesn't support them.
8551
6fadd07a
DE
85522008-05-12 Doug Evans <dje@google.com>
8553
8554 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
8555
6e9a4a30
JB
85562008-05-09 Joel Brobecker <brobecker@adacore.com>
8557
8558 * gdb.ada/assign_1.exp: New testcase.
8559
08388c79
DE
85602008-05-09 Doug Evans <dje@google.com>
8561
a3c83fae
DE
8562 * gdb.base/find.exp: New file.
8563 * gdb.base/find.c: New file.
08388c79 8564
bd5ddfe8
DJ
85652008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
8566
8567 * gdb.base/commands.exp (watchpoint_command_test): Handle
8568 gdb,no_hardware_watchpoints.
8569 * gdb.base/float.exp: Allow ARM targets without floating point.
8570 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
8571
b5dd68e2 85722008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 8573 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
8574
8575 * gdb.ada/lang_switch: New test program.
8576 * gdb.ada/lang_switch.exp: New testcase.
8577
382d13d1
DE
85782008-05-05 Doug Evans <dje@google.com>
8579
8580 * gdb.base/help.exp (disassemble): Update expected help text.
8581
9dd789d0
PA
85822008-05-04 Pedro Alves <pedro@codesourcery.com>
8583
8584 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
8585
611c83ae
PA
85862008-05-04 Pedro Alves <pedro@codesourcery.com>
8587
8588 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
8589 different times.
8590
ff013f42
JK
85912008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8592
8593 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
8594 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
8595 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
8596 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
8597
96dff6a2
VP
85982008-05-04 Vladimir Prus <vladimir@codesourcery.com>
8599
8600 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
8601 notification to appear.
8602
55cd6f92
DJ
86032008-05-04 Daniel Jacobowitz <dan@debian.org>
8604
8605 * gdb.base/fullname.c: New file.
8606 * gdb.base/fullname.exp: New file.
8607 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
8608
d705c43c
PA
86092008-05-03 Pedro Alves <pedro@codesourcery.com>
8610
8611 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
8612 expressions with macros.
8613
333222e1
JK
86142008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8615
8616 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
8617
5ac01682
DJ
86182008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
8619
8620 * gdb.base/completion.exp: Handle lack of other symbols beginning
8621 with "a".
8622
8623 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
8624
237fc4c9
PA
86252008-05-02 Jim Blandy <jimb@codesourcery.com>
8626
8627 * gdb.asm/asmsrc1.s: Add scratch space.
8628
ed5e9466
DJ
86292008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8630 Daniel Jacobowitz <dan@codesourcery.com>
8631
8632 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
8633 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
8634 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
8635
b39cc962
DJ
86362007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
8637
8638 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
8639
36d520f5
JB
86402008-05-01 Joel Brobecker <brobecker@adacore.com>
8641
8642 * gdb.base/info-target.exp: New testcase.
8643
8d4e3071
DJ
86442008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
8645
8646 * gdb.cp/hang.exp: Use .cc instead of .C.
8647 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
8648 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
8649
6f3f3097
DJ
86502008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
8651
8652 * gdb.base/gdb1250.exp: Remove perror.
8653 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
8654
5550a914
PA
86552008-04-30 Pedro Alves <pedro@codesourcery.com>
8656
8657 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
8658 .2byte.
8659
d848e687
DJ
86602008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
8661
8662 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
8663 (maybe_kfail): New.
8664
93b5768b
PA
86652008-04-25 Pedro Alves <pedro@codesourcery.com>
8666
8667 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
8668
721c02de
VP
86692008-04-24 Vladimir Prus <vladimir@codesourcery.com>
8670
a9c64011
AS
8671 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
8672 * gdb.mi/mi2-syn-frame.exp: Likewise.
8673 * lib/mi-support.exp: Likewise.
721c02de 8674
74960c60
VP
86752008-04-24 Vladimir Prus <vladimir@codesourcery.com>
8676
8677 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
8678 to specify regexp for the location to stop at.
8679 * gdb.base/break-always.c: New.
8680 * gdb.base/break-always.exp: New.
8681
d24317b4
VP
86822008-04-24 Vladimir Prus <vladimir@codesourcery.com>
8683
8684 * lib/mi-support.exp (mi_runto_helper): Adjust
8685 for the original-location field.
8686 (mi_create_breakpoint, mi_list_breakpoints): New.
8687 * gdb.mi/mi-break.exp: Adjust.
8688 * gdb.mi/mi2-break.exp: Adjust.
8689 * gdb.mi/mi-pending.exp: Adjust.
8690 * gdb.mi/mi-simplerun.exp: Adjust.
8691 * gdb.mi/mi2-simplerun.exp: Adjust.
8692 * gdb.mi/mi-syn-frame.exp: Adjust.
8693 * gdb.mi/mi2-syn-frame.exp: Adjust.
8694 * gdb.mi/mi-until.exp: Adjust.
8695 * gdb.mi/mi2-until.exp: Adjust.
8696 * gdb.mi/mi-var-display.exp: Adjust.
8697 * gdb.mi/mi2-var-display.exp: Adjust.
8698 * gdb.mi/mi-watch.exp: Adjust.
8699 * gdb.mi/mi2-watch.exp: Adjust.
8700
fdc59709 87012008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 8702
a9c64011
AS
8703 * aclocal.m4: Add override.m4.
8704 * configure: Regenerate.
fdc59709 8705
8e91f023
VP
87062008-04-19 Vladimir Prus <vladimir@codesourcery.com>
8707
8708 * gdb.mi/var-cmd.c (do_at_tests): Verify that
8709 '-var-update --all-values' reports new value even the type
8710 of a variable object has changed.
8711
233a11ab
CS
87122008-04-18 Craig Silverstein <csilvers@google.com>
8713
8714 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
8715 files.
d24317b4 8716
9c1137ad
JB
87172008-04-18 Joel Brobecker <brobecker@adacore.com>
8718
8719 * gdb.ada/atomic_enum: New test program.
8720 * gdb.ada/atomic_enum.exp: New testcase.
8721
66d0bbc7
DE
87222008-04-17 Doug Evans <dje@google.com>
8723
8724 * gdb.opt/Makefile.in: Fix whitespace.
8725
100906b0
UW
87262008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
8727
8728 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
8729
4584e32e
DE
87302008-04-17 Doug Evans <dje@google.com>
8731
8732 * gdb.base/hashline1.exp: New testcase.
8733 * gdb.base/hashline2.exp: New testcase.
8734 * gdb.base/hashline2.exp: New testcase.
8735
0a320680
PA
87362008-04-17 Pedro Alves <pedro@codesourcery.com>
8737
8738 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
8739
18ac113b
AR
87402008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
8741
8742 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
8743 temporary breakpoint to match "Temporary breakpoint".
8744 * gdb.base/break.exp (delete_breakpoints): Likewise.
8745 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
8746 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
8747 * gdb.base/display.exp: Likewise.
8748 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
8749 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
8750 * gdb.base/restore.exp (restore_tests): Likewise.
8751 * gdb.base/sepdebug.exp: Likewise.
8752 * gdb.base/watchpoint.exp: Likewise.
8753 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
8754 * gdb.mi/mi-pending.exp: Likewise.
8755 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
8756 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
8757 * gdb.mi/mi-var-cmd.exp: Likewise.
8758 * gdb.mi/mi-var-display.exp: Likewise.
8759 * gdb.mi/mi2-cli.exp: Likewise.
8760 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
8761 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
8762 * gdb.mi/mi2-var-display.exp: Likewise.
8763 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
8764 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
8765 new "disp" field.
a9c64011 8766 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
8767 reason. This is to support fix for PR2424.
8768
add38693
JK
87692008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8770
8771 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
8772
fcacd99f
VP
87732008-04-13 Vladimir Prus <vladimir@codesourcery.com>
8774
8775 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 8776 field. Add more floating varobj tests.
fcacd99f 8777 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
8778 field.
8779 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
8780 (main): Call do_at_tests.
8781 * lib/mi-support.exp (mi_create_floating_varobj)
8782 (mi_varobj_update_with_type_change): New.
fcacd99f 8783
de051565
MK
87842008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
8785
8786 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
8787 option of -var-evaluate-expression.
8788 * gdb.mi/mi2-var-display.exp: Likewise.
8789
dbc52822
VP
87902008-04-07 Vladimir Prus <vladimir@codesourcery.com>
8791
8792 Introduce test setup helpers.
a9c64011
AS
8793 * lib/gdb.exp (build_executable, clean_restart)
8794 (prepare_for_testing): New.
8795 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
8796 * gdb.base/return.exp: Likewise.
8797 * gdb.base/ending-run.exp: Likewise.
dbc52822 8798
473591da
NR
87992008-04-07 Nick Roberts <nickrob@snap.net.nz>
8800
8801 * gdb.mi/mi-async.exp: New test for asynchronous Machine
8802 Interface (MI) responses.
8803
2b2d9e11
VP
88042008-04-06 Vladimir Prus <vladimir@codesourcery.com>
8805
a9c64011
AS
8806 * gdb.cp/breakpoint.cc: New code to test conditions involving
8807 member variables.
8808 * gdb.cp/breakpoint.exp: Test condition involving member
8809 variables.
2b2d9e11 8810
bb378428
VP
88112008-04-05 Vladimir Prus <vladimir@codesourcery.com>
8812
8813 * lib/mi-support.exp (mi_expect_stop): New.
8814 (mi_run_cmd): Change the
8815 token. Use mi_send_resuming_command, use
8816 mi_expect_stop.
8817 (mi_execute_to_helper): Rename to mi_execute_to.
8818 (mi_send_resuming_command): Add more error patterns.
8819 (mi_wait_for_stop): Renamed to...
8820 (mi_get_stop_line): ...this.
8821 (mi_run_inline_test): Adjust.
8822
8823 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
8824 * gdb.mi/mi-console.exp: Likewise.
8825 * gdb.mi/mi-pending.exp: Likewise.
8826 * gdb.mi/mi-simplerun.exp: Likewise.
8827 * gdb.mi/mi-stack.exp: Likewise.
8828 * gdb.mi/mi-stepi.exp: Likewise.
8829 * gdb.mi/mi-syn-frame.exp: Add comment.
8830 * gdb.mi/mi-until.exp: Likewise.
8831 * gdb.mi/mi-var-display.exp: Likewise.
8832 * gdb.mi/mi-watch.exp: Likewise.
8833 * gdb.mi/mi2-cli.exp: Likewise.
8834 * gdb.mi/mi2-console.exp: Likewise.
8835 * gdb.mi/mi2-simplerun.exp: Likewise.
8836 * gdb.mi/mi2-stack.exp: Likewise.
8837 * gdb.mi/mi2-stepi.exp: Likewise.
8838 * gdb.mi/mi2-until.exp: Likewise.
8839 * gdb.mi/mi2-var-display.exp: Likewise.
8840 * gdb.mi/mi2-watch.exp: Likewise.
8841
62172bb9
UW
88422008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8843
8844 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
8845
8846 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
8847
a13e061a
PA
88482008-04-04 Pedro Alves <pedro@codesourcery.com>
8849
8850 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
8851 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
8852 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
8853 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
8854 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
8855 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
8856 expect an mi error duplicated in stderr.
8857
eae06beb
JB
88582008-04-03 Joel Brobecker <brobecker@adacore.com>
8859
8860 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
8861 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
8862 Add a couple of tests that verify the behavior when the new setting
8863 is set to "cancel" and "all".
8864 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
8865 "ask" before we start the testing.
8866
79c6ced6
AR
88672008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
8868
8869 * gdb.cp/casts.cc: Add class reference variables.
8870 * gdb.cp/casts.exp: New test cases for up/down casting references.
8871
6c2d1a6b
MK
88722008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
8873
8874 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
8875 instead of beginning to make an extra test pass.
8876 * gdb.mi/mi2-var-display.exp: Likewise.
8877
55b411d9
MR
88782008-03-31 Maciej W. Rozycki <macro@mips.com>
8879
8880 * gdb.base/break.exp: Mark failures as such. Fix formatting.
8881
c6140da2
MD
88822008-03-31 Markus Deuling <deuling@de.ibm.com>
8883 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8884
8885 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
8886 value. Add xfail for older kernels.
8887
79732189
AR
88882008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
8889
8890 Bring mi-support in line with gdb.exp.
8891 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
8892 (mi_gdb_start): New function.
8893
33c3676e
MR
88942008-03-28 Maciej W. Rozycki <macro@mips.com>
8895
8896 * gdb.mi/mi-var-cmd.exp: Fix a typo.
8897
92e28119
VP
88982008-03-26 Vladimir Prus <vladimir@codesourcery.com>
8899
8900 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
8901 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 8902
9e8e3afe
VP
89032008-03-26 Vladimir Prus <vladimir@codesourcery.com>
8904
8905 * lib/mi-support.exp (mi_create_varobj_checked): New.
8906 (mi_list_varobj_children): Allow to check for a
8907 value.
8908 (mi_list_array_varobj_children): New.
8909
8910 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
8911 and mi_list_varobj_children, as opposed to hardcoding
8912 expected strings.
8913 * gdb.mi/gdb701.exp: Likewise.
8914 * gdb.mi/gdb792.exp: Likewise.
8915 * gdb.mi/mi-var-block.exp: Likewise.
8916 * gdb.mi/mi-var-cmd.exp: Likewise.
8917 * gdb.mi/mi-var-invalidate.exp: Likewise.
8918 * gdb.mi/mi2-var-block.exp: Likewise.
8919 * gdb.mi/mi2-var-child.exp: Likewise.
8920 * gdb.mi/mi2-var-cmd.exp: Likewise.
8921 * gdb.mi/mi2-var-display.exp: Likewise.
8922
9df50351
JK
89232008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8924
8925 Fix random false FAILs on i386.
8926 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
8927
31e5d73a
DJ
89282008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
8929
8930 PR gdb/544
8931 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
8932
12f4afab
DJ
89332008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
8934
8935 PR gdb/544
8936 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
8937
b562a0cb
DJ
89382008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
8939
8940 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
8941 fixed PR gdb/544.
8942
17faa917
DJ
89432008-03-21 Pedro Alves <pedro@codesourcery.com>
8944
8945 * gdb.threads/fork-child-threads.exp: Test next over fork.
8946
6214f497
DJ
89472008-03-21 Chris Demetriou <cgd@google.com>
8948
8949 * gdb.base/break.exp (rbreak junk): New test for rbreak
8950 "Junk at end of arguments" issue.
8951
63092375
DJ
89522008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
8953
8954 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
8955 *& to work on created array elements.
8956 (Top level): Test print $pc with a file. Test string operations
8957 without a target.
8958 * gdb.base/ptype.exp: Do not expect *& to work on created array
8959 elements.
8960
b21991b0
DJ
89612008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
8962
8963 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
8964 gdb.threads/staticthreads.exp: Update exit query.
8965
c4b347c7
SL
89662008-03-07 Sandra Loosemore <sandra@codesourcery.com>
8967
8968 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
8969
fa4727a6
DJ
89702008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
8971
8972 * gdb.base/watchpoint.c (global_ptr, func4): New.
8973 (main): Call func4.
8974 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
8975 (test_inaccessible_watchpoint): New.
8976
2f34202f
MR
89772008-02-29 Maciej W. Rozycki <macro@mips.com>
8978
8979 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
8980 select the largest.
8981
0d6ba1b1
DJ
89822008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
8983
8984 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
8985 frames-invalid annotations.
8986
e691325a
PM
89872008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
8988
a9c64011 8989 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 8990
f85b5ecc
DE
89912008-02-27 Doug Evans <dje@google.com>
8992
8993 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
8994 for bug 1738.
8995 (breakpoint_to_handler_entry): Ditto.
8996
b40e7bf3
JB
89972008-02-27 Joel Brobecker <brobecker@adacore.com>
8998
8999 * gdb.base/ending-run.exp: Use the first line of code inside
9000 function body to test breakpoints.
9001 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
9002 location where the breakpoint is inserted when using the line
9003 where a function is declared. Fix typo in the description of
9004 one of the tests.
9005 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
9006
2faca73a
PM
90072008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
9008
9009 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 9010 tests.
2faca73a 9011
6f439c36
PM
90122008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
9013
9014 * gdb.base/args.exp: avoid same output for tests
9015 with single quotes.
9016
54e52265
VP
90172008-02-26 Vladimir Prus <vladimir@codesourcery.com>
9018
a9c64011
AS
9019 * gdb.base/annota1.exp: Adjust for 'info break'
9020 format changes.
9021 * gdb.base/annota3.exp: Likewise.
9022 * gdb.base/break.exp: Likewise.
9023 * gdb.base/condbreak.exp: Likewise.
9024 * gdb.base/pending.exp: Likewise.
9025 * gdb.base/sepdebug.exp: Likewise.
9026 * gdb.base/unload.exp: Likewise.
9027 * gdb.cp/ovldbreak.exp: Likewise.
9028 * gdb.mi/mi-pending.exp: Likewise.
54e52265 9029
897b09ca
DE
90302008-02-07 Doug Evans <dje@google.com>
9031
9032 * gdb.cp/mb-inline.exp: New.
9033 * gdb.cp/mb-inline.h: New.
9034 * gdb.cp/mb-inline1.cc: New.
9035 * gdb.cp/mb-inline2.cc: New.
9036
b1c32d35
PM
90372008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
9038
9039 * gdb.pascal/floats.pas: New test program.
9040 * gdb.pascal/floats.exp: New testcase.
9041
1a4ca44a
TJB
90422008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
9043
9044 * gdb.base/callfuncs.c (t_float_many_args): New function.
9045 (t_double_many_args): New function.
9046 * gdb.base/callfuncs.exp: Add tests for exceeding float
9047 and double parameters passed through the stack.
9048
439048e8
JB
90492008-02-05 Joel Brobecker <brobecker@adacore.com>
9050
9051 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
9052 gdb.ada/complete/foo.adb: New files.
9053 * gdb.ada/complete.exp: New testcase.
9054
81fe8080
DE
90552008-02-03 Doug Evans <dje@google.com>
9056
301f0ecf
DE
9057 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
9058
81fe8080
DE
9059 * gdb.cp/gdb2384.exp: New file.
9060 * gdb.cp/gdb2384.cc: New file.
9061 * gdb.cp/gdb2384-base.h: New file.
9062 * gdb.cp/gdb2384-base.cc: New file.
9063
4b071aec
DE
90642008-02-02 Doug Evans <dje@google.com>
9065
9066 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
9067
61137ba6
JB
90682007-02-01 Joel Brobecker <brobecker@adacore.com>
9069
9070 * gdb.ada/sym_print_name: New test program.
9071 * gdb.ada/sym_print_name.exp: New testcase.
9072
90732007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
9074
9075 * gdb.ada/nested/hello.adb: New file.
9076 * gdb.ada/nested.exp: New testcase.
9077 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
9078
98deb0da
VP
90792008-02-01 Vladimir Prus <vladimir@codesourcery.com>
9080
9081 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
9082 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
9083 don't cause future evaluations of function to report
9084 creation of internal breakpoints.
98deb0da 9085
723a2275
VP
90862008-02-01 Vladimir Prus <vladimir@codesourcery.com>
9087
9088 * gdb.mi/mi-break.exp (test_error): New.
9089 Call it.
9090
fb546a2f
LM
90912008-01-31 Luis Machado <luisgpm@br.ibm.com>
9092
9093 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
9094 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
9095
2d8fd90a
PM
90962008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
9097
9098 * gdb.pascal/integers.pas: New test program.
9099 * gdb.pascal/integers.exp: New testcase.
9100
a7fa0ded
PM
91012008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
9102
9103 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
9104
5e1a1926
TJB
91052008-01-30 Luis Machado <luisgpm@br.ibm.com>
9106
9107 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
9108 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
9109
8d04f9f0
JB
91102008-01-30 Paul Hilfinger <hilfinger@adacore.com>
9111
9112 * gdb.ada/formatted_ref: New test program.
9113 * gdb.ada/formatted_ref.exp: New testcase.
9114
9115 * gdb.cp/formatted-ref.cc: New file.
9116 * gdb.cp/formatted-ref.exp: New testcase.
9117
ce75a98f
JB
91182008-01-30 Joel Brobecker <brobecker@adacore.com>
9119
9120 * gdb.base/ptype.exp: Add testing of "ptype $pc".
9121
e835f6bf
NR
91222008-01-30 Nick Roberts <nickrob@snap.net.nz>
9123
9124 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
9125 (test_file_list_exec_source_file): Update to new macro-info field.
9126
d118ef87
PH
91272008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
9128
9129 * gdb.ada/exprs: New test program.
9130 * gdb.ada/exprs.exp: New testcase.
9131
7d35ab09
TJB
91322008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
9133
9134 * dfp-test.c (DELTA, DELTA_B): New definitions.
9135 (double_val1, double_val2, double_val3, double_val4, double_val5,
9136 double_val6, double_val7, double_val8, double_val9, double_val10,
9137 double_val11, double_val12, double_val13, double_val14, dec32_val1,
9138 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
9139 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
9140 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
9141 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
9142 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
9143 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
9144 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
9145 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
9146 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
9147 dec128_val16): New global variables.
9148 (decimal_dec128_align): New function.
9149 (decimal_mixed): Likewise.
9150 (decimal_many_args_dec32): Likewise.
9151 (decimal_many_args_dec64): Likewise.
9152 (decimal_many_args_dec128): Likewise.
9153 (decimal_many_args_mixed): Likewise.
9154 * dfp-test.exp: Add tests calling new inferior functions.
9155
2d717e4f
DJ
91562008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
9157
9158 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
9159 gdb.server/ext-run.exp: New files.
9160 * lib/gdbserver-support.exp (gdbserver_download): New.
9161 (gdbserver_start): New. Update gdbserver expected
9162 output.
9163 (gdbserver_spawn): Use them.
9164 (gdbserver_start_extended): New.
9165
e85a822c
DJ
91662008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
9167
9168 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
9169 Run on GNU/Linux.
9170 (do_exec_tests): Check for systems which do not support catchpoints.
9171 Do not match START.
9172 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
9173 Run on GNU/Linux. Enable verbose output.
9174 (check_fork_catchpoints): New.
9175 (explicit_fork_child_follow, catch_fork_child_follow)
9176 (tcatch_fork_parent_follow): Update expected messages.
9177 (do_fork_tests): Use check_fork_catchpoints.
9178 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
9179 Run on GNU/Linux. Enable verbose output.
9180 (check_vfork_catchpoints): New.
9181 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
9182 expected messages.
9183 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
9184
401ea829
JB
91852008-01-29 Jim Blandy <jimb@red-bean.com>
9186
9187 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
9188 host' errors.
9189 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
9190
aceaf3ad
JB
91912008-01-29 Jim Blandy <jimb@red-bean.com>
9192
9193 * gdb.threads/sigthread.c: Use barriers to ensure that
9194 child_thread and child_thread_two are always initialized before we
9195 start to use them.
9196
a5606eee
VP
91972008-01-29 Vladimir Prus <vladimir@codesourcery.com>
9198
9199 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
9200 * gdb.base/watchpoint-solib.c: New.
9201 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 9202
c55a82bb
PM
92032008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
9204
9205 * gdb.base/gdb1056.exp: Add unsigned integer test.
9206
0993fe05
DE
92072008-01-28 Doug Evans <dje@google.com>
9208
9209 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
9210
4fe42e7f
JB
92112008-01-27 Jim Blandy <jimb@codesourcery.com>
9212
c7a69933
JB
9213 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
9214
4fe42e7f
JB
9215 * gdb.base/expand-psymtabs.exp: Doc fix.
9216
5def8285
MK
92172008-01-26 Mark Kettenis <kettenis@gnu.org>
9218
9219 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
9220
5313c911
NR
92212008-01-24 Nick Roberts <nickrob@snap.net.nz>
9222
a9c64011 9223 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
9224 -var-set-format.
9225
93815fbf
VP
92262008-01-23 Chris Demetriou <cgd@google.com>
9227
9228 * gdb.threads/thread_events.c: New testcase source file.
9229 * gdb.threads/thread_events.exp: New testcase expect file.
9230
467a88ee
NR
92312008-01-23 Nick Roberts <nickrob@snap.net.nz>
9232
9233 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
9234
9235 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
9236 -var-set-format.
9237
d8f82aba
DJ
92382008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
9239 Vladimir Prus <vladimir@codesourcery.com>
9240
9241 * gdb.base/float.exp: Allow missing floating point for m68k and
9242 PowerPC.
9243
60c46647
VP
92442008-01-22 Vladimir Prus <vladimir@codesourcery.com>
9245
9246 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
9247 ignore count.
9248 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
9249 * gdb.mi/mi-cli.exp: Adjust.
9250 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 9251
c7dd36a1
PA
92522008-01-17 Pedro Alves <pedro@codesourcery.com>
9253
9254 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
9255 and 'dummy_ptr' integer pointer. Initialize struct_declarations
9256 with dummy_ptr's address.
9257 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
9258 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
9259 all targets.
9260 * gdb.mi/mi2-var-child.exp: Likewise.
9261
39d5313e
JB
92622008-01-09 Joel Brobecker <brobecker@adacore.com>
9263
9264 * gdb.ada/null_array: New test program.
9265 * gdb.ada/null_array.exp: New testcase.
9266
0aea4bf3
LM
92672008-01-09 Luis Machado <luisgpm@br.ibm.com>
9268
9269 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
9270 with required float modifiers.
9271
0b354900
JB
92722008-01-08 Joel Brobecker <brobecker@adacore.com>
9273
9274 * gdb.ada/funcall_param: New test program.
9275 * gdb.ada/funcall_param.exp: New testcase.
9276
cdb7f5d4
JB
92772008-01-08 Joel Brobecker <brobecker@adacore.com>
9278
9279 * gdb.ada/arrayparam: New test program.
9280 * gdb.ada/arrayparam.exp: New testcase.
9281
88e2547f
JB
92822008-01-08 Joel Brobecker <brobecker@adacore.com>
9283
9284 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
9285 landed. Should also fix random failures in the test following it.
9286
f6867ce0
TJB
92872008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
9288
9289 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
9290 for expressions with decimal float values.
9291 (test_dfp_conversions): New function to test casts to and from
9292 decimal float types.
9293 Call test_dfp_conversions.
9294 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
9295 elements.
9296 (main): Initialize ds.float4 and ds.double8 elements.
9297 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
9298 string to new error message.
9299 (d64_set_tests): Likewise.
9300 (d128_set_tests): Likewise.
9301 Add tests for expressions with decimal float variables. Add tests for
9302 conversions to and from decimal float types.
9303
f9c11282
JB
93042008-01-05 Joel Brobecker <brobecker@adacore.com>
9305
9306 * gdb.ada/packed_tagged/comp_bug.adb: New file.
9307 * gdb.ada/packed_tagged.exp: New testcase.
9308
0ecbca72
JB
93092008-01-04 Joel Brobecker <brobecker@adacore.com>
9310
9311 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
9312 gdb.ada/homonym/homonym_main.adb: New files.
9313 * gdb.ada/homonym.exp: New testcase.
9314
c18d3d89
JB
93152008-01-04 Joel Brobecker <brobecker@adacore.com>
9316
9317 * gdb.ada/packed_array.exp: Add testing of references to
9318 a packed array.
9319
ecc7085b
JB
93202008-01-04 Joel Brobecker <brobecker@adacore.com>
9321
9322 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
9323 New files.
9324 * gdb.ada/type_coercion.exp: New testcase.
9325
c474c922
JB
93262008-01-04 Joel Brobecker <brobecker@adacore.com>
9327
9328 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
9329 gdb.ada/tagged/foo.adb: New file.
9330 * gdb.ada/tagged.exp: New testcase.
9331
9005b927
JB
93322008-01-04 Joel Brobecker <brobecker@adacore.com>
9333
9334 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
9335 gdb.ada/ptype_field/foo.adb: New files.
9336 * gdb.ada/ptype_field.exp: New testcase.
9337
1a6aaad8
JB
93382008-01-03 Joel Brobecker <brobecker@adacore.com>
9339
9340 * gdb.ada/print_pc.exp: New testcase.
9341
0ef22f53
JB
93422008-01-03 Joel Brobecker <brobecker@adacore.com>
9343
9344 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
9345 gdb.ada/taft_type/p.adb: New files.
9346 * gdb.ada/taft_type.exp: New testcase.
9347
1689ecf8
JB
93482008-01-03 Joel Brobecker <brobecker@adacore.com>
9349
9350 * gdb.ada/array_bounds/bar.adb: New file.
9351 * gdb.ada/array_bounds.exp: New testcase.
9352
a4d0b9c3
JB
93532008-01-03 Joel Brobecker <brobecker@adacore.com>
9354
9355 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
9356 gdb.ada/arrayptr/foo.adb: New files.
9357 * gdb.ada/arrayptr.exp: New testcase.
9358
a31ace00
JB
93592008-01-03 Joel Brobecker <brobecker@adacore.com>
9360
9361 * gdb.base/set-lang-auto.exp: New testcase.
9362
a97fced3
JB
93632008-01-03 Joel Brobecker <brobecker@adacore.com>
9364
9365 * gdb.ada/fun_addr/foo.adb: New file.
9366 * gdb.ada/fun_addr.exp: New testcase.
9367
ef29ce1a
JK
93682008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9369
9370 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
9371 New files
9372
0fafefe3
JB
93732008-01-02 Joel Brobecker <brobecker@adacore.com>
9374
9375 * array_subscript_addr/p.adb: New file.
a9c64011 9376 * array_subscript_addr.exp: New testcase.
0fafefe3 9377
c4359f8d
JB
93782008-01-02 Joel Brobecker <brobecker@adacore.com>
9379
a9c64011 9380 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
9381 New files.
9382 * gdb.ada/str_cmp_ref.exp: New testcase.
9383
1aa1b15b
JB
93842008-01-01 Joel Brobecker <brobecker@adacore.com>
9385
9386 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
9387 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 9388 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 9389
81c9b2cf
JB
93902008-01-01 Joel Brobecker <brobecker@adacore.com>
9391
9392 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
9393 gdb.ada/ref_param/pck.ads: New files.
9394 * gdb.ada/ref_param.exp: New testcase.
9395
319e4674
JB
93962008-01-01 Joel Brobecker <brobecker@adacore.com>
9397
9398 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
9399 gdb.ada/interface/foo.adb: New files.
9400 * gdb.ada/interface.exp: New testcase.
9401
ef682c56
JB
94022007-12-31 Jim Blandy <jimb@codesourcery.com>
9403
9404 * gdb.base/multi-forks.exp: Consume all output from child
9405 processes before proceeding to next test.
9406
f6f3eb6c
JB
94072007-12-29 Jim Blandy <jimb@codesourcery.com>
9408
9409 * configure: Regenerated.
9410
f652e42f
JB
94112007-12-27 Joel Brobecker <brobecker@adacore.com>
9412
9413 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
9414 gdb.ada/fixed_cmp/fixed.adb: New files.
9415 * gdb.ada/fixed_cmp.exp: New testcase.
9416
6943e596
JB
94172007-12-27 Joel Brobecker <brobecker@adacore.com>
9418
9419 * gdb.ada/boolean_expr.exp: New testcase.
9420
aad9a193
JB
94212007-12-26 Jim Blandy <jimb@codesourcery.com>
9422
9423 * gdb.base/multi-forks.exp: Doc fix.
9424
fb5f3683
JB
94252007-12-26 Joel Brobecker <brobecker@adacore.com>
9426
9427 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
9428 * gdb.ada/char_param.exp: Do not compile our test program with
9429 -gnata, this is unnecessary.
9430 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
9431
384e4a9c
JB
94322007-12-24 Joel Brobecker <brobecker@adacore.com>
9433
9434 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
9435 gdb.ada/print_chars/foo.adb: New files.
9436 * gdb.ada/print_chars.exp: New testcase.
9437
01e044f7
JB
94382007-12-24 Joel Brobecker <brobecker@adacore.com>
9439
9440 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
9441 gdb.ada/char_param/foo.adb: New files.
9442 * gdb.ada/char_param.exp: New testcase.
9443
0ce17860
JB
94442007-12-22 Jim Blandy <jimb@codesourcery.com>
9445
9446 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
9447 hard-coding source line numbers into the test.
9448 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
9449 gdb_get_line_number to find.
9450
919809b9
JB
94512007-12-22 Joel Brobecker <brobecker@adacore.com>
9452
9453 * gdb.base/ptype.c (highest): New struct type.
9454 (the_highest): New variable of that type.
9455 (main): Add dummy assignment to a field of variable the_highest.
9456 * gdb.base/ptype.exp: Test type printing of our new variable.
9457
abc8a88d
PM
94582007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
9459
9460 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 9461 and record first explicitly generated thread number.
abc8a88d
PM
9462 Use that thread number for thread specific watchpoint test.
9463 Add iteration number to repetitive tests.
9464
5158f3e3
CES
94652007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
9466 Jim Blandy <jimb@codesourcery.com>
9467
9468 * gdb.base/expand-psymtabs.c: New testcase
9469 source file.
9470 * gdb.base/expand-psymtabs.exp: New testcase
9471 expect file.
9472
37e4754d
LM
94732007-12-17 Luis Machado <luisgpm@br.ibm.com>
9474
9475 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
9476 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
9477
551e5d04
JB
94782007-12-17 Joel Brobecker <brobecker@adacore.com>
9479
9480 * gdb.ada/frame_args/foo.adb: New file.
9481 * gdb.ada/frame_args/pck.ads: New file.
9482 * gdb.ada/frame_args/pck.adb: New file.
9483 * gdb.ada/frame_args.exp: New testcase.
9484
a05ee097
JB
94852007-12-17 Joel Brobecker <brobecker@adacore.com>
9486
9487 * gdb.base/frame-args.c: New file.
9488 * gdb.base/frame-args.exp: New testcase.
9489
c162e8c9 94902007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 9491 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
9492
9493 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
9494
afe8ab22 94952007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 9496
afe8ab22
VP
9497 * gdb.mi/mi-pending.exp: New.
9498 * gdb.mi/mi-pending.c: New.
9499 * gdb.mi/mi-pendshr.c: New.
9500
dfdfb3ca
JB
95012007-12-06 Jim Blandy <jimb@codesourcery.com>
9502
9503 * gdb.base/default.exp: Update expected output for 'info catch'.
9504
b7fca990
JK
95052007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9506
9507 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
9508 must be set to binary.
9509
6a1afc1e
PA
95102007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
9511
9512 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
9513
a6b151f1
DJ
95142007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
9515
9516 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
9517 gdb.mi/mi-file-transfer.exp: New.
9518
43039443
JK
95192007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9520
9521 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
9522
0ef2251b
MR
95232007-11-22 Maciej W. Rozycki <macro@mips.com>
9524
9525 * gdb.trace/backtrace.exp: Fix a typo.
9526 * gdb.trace/circ.exp: Likewise.
9527 * gdb.trace/collection.exp: Likewise.
9528 * gdb.trace/limits.exp: Likewise.
9529 * gdb.trace/report.exp: Likewise.
9530 * gdb.trace/tfind.exp: Likewise.
9531 * gdb.trace/while-dyn.exp: Likewise.
9532
5443631e
NR
95332007-11-21 Nick Roberts <nickrob@snap.net.nz>
9534
9535 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
9536 objects of pointers that can't be dereferenced are now
9537 "noneditable".
9538
a4ce5b0d
UW
95392007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9540
9541 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
9542 (target_cpu): Remove.
9543
d6e956e5
VP
95442007-10-15 Vladimir Prus <vladimir@codesourcery.com>
9545
9546 * gdb.base/ending-run.exp: Expect the list of cleared
9547 breakpoint to come in natural order, not the reversed one.
a9c64011 9548
214270ab
VP
95492007-11-07 Vladimir Prus <vladimir@codesourcery.com>
9550
9551 * gdb.mi/mi-var-child.c (do_child_deletion): New.
9552 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 9553
1a619819
LM
95542007-11-05 Luis Machado <luisgpm@br.ibm.com>
9555
9556 * gdb.base/printcmds.exp: New function
9557 test_printf_with_dfp.
9558
5b01a6fa
DE
95592007-11-02 Doug Evans <dje@google.com>
9560
9561 * gdb.disasm/t01_mov.s: Remove carriage returns.
9562 * gdb.disasm/t02_mova.s: Ditto.
9563 * gdb.disasm/t03_add.s: Ditto.
9564 * gdb.disasm/t04_sub.s: Ditto.
9565 * gdb.disasm/t05_cmp.s: Ditto.
9566 * gdb.disasm/t06_ari2.s: Ditto.
9567 * gdb.disasm/t07_ari3.s: Ditto.
9568 * gdb.disasm/t08_or.s: Ditto.
9569 * gdb.disasm/t09_xor.s: Ditto.
9570 * gdb.disasm/t10_and.s: Ditto.
9571 * gdb.disasm/t11_logs.s: Ditto.
9572 * gdb.disasm/t12_bit.s: Ditto.
9573 * gdb.disasm/t13_otr.s: Ditto.
9574
ec33ab7f
JK
95752007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9576
9577 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
9578
ae0d01ff
UW
95792007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9580
9581 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
9582 provide DFP support.
9583
55eddb0f
DJ
95842007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
9585
9586 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
9587 Test "set powerpc vector-abi". Skip auto-detection tests for old
9588 toolchains.
9589
7020f05c
PA
95902007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
9591
9592 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
9593 with [string compare].
9594
84bc3db9
PA
95952007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
9596
9597 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
9598 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
9599
5876dc88
LM
96002007-10-25 Luis Machado <luisgpm@br.ibm.com>
9601
9602 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
9603 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
9604 * gdb.opt/Makefile.in: New makefile.
9605 * Makefile.in: Create new directory "gdb.opt".
9606 * configure.ac: Add "gdb.opt" directory.
9607 * configure: Regenerated.
a9c64011 9608
c3ea9a14
DE
96092007-10-25 Doug Evans <dje@google.com>
9610
9611 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
9612 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
9613
a9c64011 96142007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
9615 Thiago Jung Bauermann <bauerman@br.ibm.com>
9616
9617 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
9618 Floating Point expressions.
9619 * gdb.base/dfp-test.exp: new file adding tests for Decimal
9620 Floating Point variables.
9621 * gdb.base/dfp-test.c: new file containing program with Decimal
9622 Floating variables, used by gdb.base/dfp-test.exp.
9623
62a24a2b
DJ
96242007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
9625
9626 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
9627
e7b1eae6
UW
96282007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9629
9630 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
9631 compiling test case with GCC.
9632 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
9633
c641edcc
UW
96342007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9635
9636 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
9637 format changes.
9638
5e5ebfe6
MS
96392007-10-18 Michael Snyder <msnyder@specifix.com>
9640
9641 * gdb.base/dbx.exp: Add missing "-re " operator.
9642
e831e7b6
GM
96432007-10-16 Gaius Mulley <gaius@glam.ac.uk>
9644
9645 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
9646 * configure.ac: Removed trailing spaces after backslash.
9647 * gdb.modula2: New directory.
9648 * gdb.modula2/Makefile.in: New file.
9649 * gdb.modula2/unbounded-array.exp: New file.
9650 * gdb.modula2/unbounded1.c: New file.
9651
7cc46491
DJ
96522007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
9653
9654 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
9655
96562007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
9657
9658 * gdb.base/sigstep.c (main): Add checks for
9659 return values for setitimer call.
9660 Call setitimer again with itimer = ITIMER_REAL
9661 if first call to setitimer fails.
9662
e91528f0
KH
96632007-10-11 Kazu Hirata <kazu@codesourcery.com>
9664
9665 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
9666 of $timeout.
9667
2ec9a4f8
DJ
96682007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
9669
9670 * gdb.server/server-run.exp: Test for dynamic linker symbols.
9671
96722007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
9673
9674 * lib/gdb.exp (gdb_run_cmd): Move comment outside
9675 of gdb_expect call, to avoid interruption.
9676
64b2fa04
PA
96772007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
9678
9679 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
9680 (v_unsigned_long_long, v_long_long_array)
9681 (v_signed_long_long_array, v_unsigned_long_long_array)
9682 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
9683 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
9684 [!NO_LONG_LONG]: New.
9685 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
9686 v_long_long_member.
9687
9688 (v_long_long_func, v_signed_long_long_func)
9689 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
9690 (main) [!NO_LONG_LONG]: Initialize long long variants.
9691
9692 * gdb.base/whatis.exp: If board file requests no_long_long, build
9693 test with NO_LONG_LONG defined. Test long long, signed long long,
9694 and unsigned long long variants but only if board file doesn't
9695 disable it.
9696
a912286e 96972007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 9698 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
9699
9700 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
9701 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
9702 * configure: Regenerated.
9703 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
9704 gdb.pascal/types.exp, lib/pascal.exp: New files.
9705
471ba8c9
DJ
97062007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
9707
9708 * gdb.cp/classes.exp (do_tests): Always step to the line after the
9709 call.
9710 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
9711 to return to the call.
9712 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
9713 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
9714 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
9715 * gdb.mi/mi-until.exp (test_until): Likewise.
9716 * gdb.mi/mi2-until.exp (test_until): Likewise.
9717
fef8a650
DJ
97182007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
9719
9720 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
9721 two-char array.
9722 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
9723
d983da9c
DJ
97242007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
9725
9726 * gdb.threads/watchthreads.c (thread_function): Sleep between
9727 iterations.
9728 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
9729 at once for S/390. Generate matching fails and passes.
9730
17f62551
VP
97312007-09-27 Vladimir Prus <vladimir@codesourcery.com>
9732
9733 * gdb.mi/var-cmd.c (do_children_tests): Initialize
9734 the 'struct_declarations' variable to zeros.
a9c64011 9735
ed0616c6
VP
97362007-09-24 Vladimir Prus <vladimir@codesourcery.com>
9737
9738 * gdb.cp/mb-ctor.cc: New.
9739 * gdb.cp/mb-ctor.exp: New.
9740 * gdb.cp/mb-templates.cc: New.
9741 * gdb.cp/mb-templates.exp: New.
9742
41f1b697
DJ
97432007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
9744
9745 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
9746
3f213f78
PA
97472007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
9748
9749 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
9750 targets.
9751 * configure: Regenerate.
9752
0d381245 97532007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 9754
0d381245
VP
9755 * gdb.base/annota1.exp: Adjust for 'info break'
9756 format changes.
9757 * gdb.base/annota3.exp: Likewise.
9758 * gdb.base/break.exp: Likewise.
9759 * gdb.base/condbreak.exp: Likewise.
9760 * gdb.base/pending.exp: Likewise.
9761 * gdb.base/sepdebug.exp: Likewise.
9762 * gdb.base/unload.exp: Likewise.
9763 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 9764
fe3f5fa8
VP
97652007-09-22 Vladimir Prus <vladimir@codesourcery.com>
9766
9767 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
9768 messages.
9769 * gdb.base/chng-syms.exp: Likewise.
9770 * gdb.base/unload.exp: Likewise.
a9c64011 9771
a75cf6c0
DJ
97722007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
9773
9774 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
9775
18ecae38
DJ
97762007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
9777
9778 * schedlock.c (NUM): Change to 1.
9779 (main): Use args[0] for the main thread.
9780 * schedlock.exp: Only expect two threads. Only issue one pass or fail
9781 regardless of the number of threads.
9782
5509918f
MR
97832007-09-14 Maciej W. Rozycki <macro@mips.com>
9784
4a543daf
MR
9785 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
9786 type down.
9787 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
9788 test.
9789 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
9790 watchpoint type down.
9791 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
9792 test.
9793
97942007-09-14 Maciej W. Rozycki <macro@mips.com>
9795
5509918f
MR
9796 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
9797 Move all the tests here and run them twice, once using software
9798 watchpoints and once using hardware watchpoints.
9799 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
9800
40b53987
DJ
98012007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
9802
9803 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
9804 test.
9805
695e2681
MK
98062007-09-10 Mark Kettenis <kettenis@gnu.org>
9807
8b3fc8d8
MK
9808 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
9809 build-id.
9810
695e2681
MK
9811 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
9812 know about $ORIGIN. Calculate output dir from $dest instead of
9813 using ${objdir}/{$subdir}.
9814
58d69f29
MK
98152007-09-09 Mark Kettenis <kettenis@gnu.org>
9816
9817 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
9818 gcore, before continuing with the test.
9819
3e347599
DJ
98202007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
9821
9822 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
9823 * gdb.mi/mi-watch.exp: Likewise.
9824
ea37ba09
DJ
98252007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
9826 Jim Blandy <jimb@codesourcery.com>
9827
9828 * gdb.arch/i386-sse.exp: Do not expect character constants.
9829 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
9830 * gdb.base/display.exp: Allow print/s.
9831 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
9832 and unsigned char array changes.
9833
2025a643
DJ
98342007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
9835
9836 * gdb.base/display.exp: Add tests for printf %p.
9837
26669a27
PA
98382007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
9839
9840 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
9841 the dll name to unicode.
9842
c8f021f8
JK
98432007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9844
9845 * gdb.base/default.exp (show version): Update the version text.
9846 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
9847
4cf31eea
JK
98482007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9849
9850 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
9851 New files.
9852
4935890f
JK
98532007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9854
9855 * lib/gdb.exp (build_id_debug_filename_get): New function.
9856 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
9857 Remove the generate DEBUG file for the future testcase runs.
9858 New testcase for the NT_GNU_BUILD_ID retrieval.
9859 Move the final testing step to ...
9860 (test_different_dir): ... a new function.
9861 New parameter XFAIL to XFAIL all the tests performed.
9862 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
9863 New parameter TYPE to PF_PREFIX all the tests performed.
9864
02142340
VP
98652007-08-31 Vladimir Prus <vladimir@codesourcery.com>
9866
9867 * gdb.mi/mi-var-cp.cc (path_expression): New
9868 function.
9869 * gdb.mi/mi-var-cp.exp: Run path exression tests.
9870
36acd84e
UW
98712007-08-27 Markus Deuling <deuling@de.ibm.com>
9872
9873 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
9874 to fit into SPU Local Store memory.
9875
a896d121
JB
98762007-08-23 Joel Brobecker <brobecker@adacore.com>
9877
9878 * gdb.base/default.exp: Adjust the expected output of "info
9879 warranty" after the switch to GPLv3.
9880
7b433602
JB
98812007-08-23 Joel Brobecker <brobecker@adacore.com>
9882
9883 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
9884 to 30000 (from 20000).
9885
e22f8b7c
JB
98862007-08-23 Joel Brobecker <brobecker@adacore.com>
9887
9888 Switch the license of all .exp files to GPLv3.
9889 Switch the license of all .f and .f90 files to GPLv3.
9890 Switch the license of all .s and .S files to GPLv3.
9891
5a0e3bd0
JB
98922007-08-23 Joel Brobecker <brobecker@adacore.com>
9893
9894 * configure.ac: Switch license to GPLv3.
9895
cc00619d
JB
98962007-08-23 Joel Brobecker <brobecker@adacore.com>
9897
9898 Switch the licensing to GPLv3 for all .ads and .adb files.
9899
8d26208a
DJ
99002007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
9901
9902 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
9903 and t_int_double.
9904 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
9905
4fcb9948
JB
99062007-08-17 Joel Brobecker <brobecker@adacore.com>
9907
9908 * gdb.base/step-line.c: Switch license to GPL version 3, and
9909 update copyright year.
9910 * gdb.base/step-line.inp: Likewise.
9911
b9c34f67
JB
99122007-08-17 Joel Brobecker <brobecker@adacore.com>
9913
9914 * gdb.base/gdb1555.exp: Make expected output immune to formatting
9915 changes inside gdb1555.c.
9916 * gdb.base/pending.exp: Likewise.
9917
2cc17678
DJ
99182007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
9919
9920 * config/default.exp: New file.
9921
e48883f7
DJ
99222007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
9923
9924 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
9925 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
9926
1ab80e5b
MR
99272007-07-30 Maciej W. Rozycki <macro@mips.com>
9928
9929 * gdb.base/dump.exp: Force the correct endianness for binary
9930 formats not carrying this information.
9931
aba471f5
DJ
99322007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9933
9934 * gdb.threads/staticthreads.exp: Match .*sem_post.
9935
d4e07204
DJ
99362007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9937
9938 * gdb.base/readline.exp (operate_and_get_next): Match the final
9939 prompt.
9940
2b97317d
KB
99412007-07-23 Kevin Buettner <kevinb@redhat.com>
9942
9943 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
9944 to restarting SID.
9945
44efa07a
KB
99462007-07-18 Kevin Buettner <kevinb@redhat.com>
9947
9948 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
9949 prior to `gdb_start'.
9950
7b5ebade
KB
99512007-07-18 Kevin Buettner <kevinb@redhat.com>
9952
9953 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
9954 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
9955 Remove call to gdb_unload.
9956
255e7678
DJ
99572007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
9958 Daniel Jacobowitz <dan@codesourcery.com>
9959
9960 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
9961 for __WIN32__.
9962 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
9963 * gdb.base/unload.exp: Use shared library test routines.
9964
3a40aaa0
UW
99652007-07-03 Markus Deuling <deuling@de.ibm.com>
9966
9967 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
9968 * gdb.base/solib-symbol-lib.c: Likewise.
9969 * gdb.base/solib-symbol-main.c: Likewise.
9970
b0f4b84b
DJ
99712007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
9972
9973 * config/gdbserver.exp (gdb_reconnect): New.
9974 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
9975 gdb.base/solib-disc.exp: New files.
9976 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
9977 remote debugging".
9978 (gdb_compile): Add shlib_load flag.
9979 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
9980 port.
9981 (gdbserver_reconnect): New.
9982
1b05479a
DJ
99832007-07-01 Nick Roberts <nickrob@snap.net.nz>
9984 Daniel Jacobowitz <dan@codesourcery.com>
9985
9986 * gdb.base/annota3.exp: Test for if construct.
9987
86f78eb2
DJ
99882007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
9989
9990 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
9991
6a2eb474 99922007-06-21 Chris Dearman <chris@mips.com>
a9c64011 9993 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
9994
9995 * gdb.base/display.exp: Allow a newline after display/i.
9996 * gdb.base/pc-fp.exp: Likewise.
9997 * gdb.base/sigbpt.exp: Likewise.
9998
f8b73d13
DJ
99992007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
10000
10001 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
10002 required features to be included.
10003
4339e69e
DJ
100042007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
10005
10006 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
10007 in info threads output.
10008
23d964e7
UW
100092007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10010 Markus Deuling <deuling@de.ibm.com>
10011
10012 * gdb.arch/spu-info.exp: New testcase.
10013 * gdb.arch/spu-info.c: New file.
10014
fd20f75b
DJ
100152007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
10016
10017 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
10018 tpcs_offset. Restore lr after the call.
10019 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
10020
2226f861
DJ
100212007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
10022
10023 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
10024 (gdbserver_run): Kill any running gdbserver.
10025 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
10026
d12371a9
MR
100272007-05-17 Maciej W. Rozycki <macro@mips.com>
10028
10029 * gdb.base/sigbpt.exp: Preset segv_addr.
10030
93f02886
DJ
100312007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
10032
10033 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
10034 (gdb_compile_shlib): Likewise.
10035 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
10036 (default_gdb_init): Clear cleanfiles.
10037 (gdb_finish): Delete recorded cleanfiles.
10038 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
10039
10040 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
10041 Do not use isnative.
10042 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
10043 gdb.base/so-impl-ld.exp: Likewise.
10044 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
10045 * gdb.base/unload.exp: Likewise. Do not pass empty option to
10046 gdb_compile.
10047
b04e06d7
VP
100482007-05-15 Vladimir Prus <vladimir@codesourcery.com>
10049
10050 * config/unknown.exp: Remove.
10051
069ed931
UW
100522007-05-15 Markus Deuling <deuling@de.ibm.com>
10053
10054 * gdb.base/info-proc.exp: Check is_remote.
10055
09db0d03
UW
100562007-05-14 Markus Deuling <deuling@de.ibm.com>
10057
10058 * gdb.base/gcore.exp: Initialize variable core_supported.
10059
af2cbe8c
DJ
100602007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
10061
10062 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
10063
027c0295
DJ
100642007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
10065
10066 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
10067 * gdb.threads/print-threads.exp (test_all_threads): Allow
10068 negative and hexadecimal thread IDs.
10069
dc5000e7
DJ
100702007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
10071
10072 * gdb.java/jprint.java (public): Avoid invalid call to static
10073 method.
10074
2e74ed18
DP
100752007-05-14 Denis Pilat <denis.pilat@st.com>
10076
10077 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
10078 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
10079 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
10080 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
10081 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
10082
83547f02
UW
100832007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10084
10085 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 10086 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
10087 this mode.
10088 * gdb.base/ovlymgr.c: Provide stubs for spu target.
10089 * gdb.base/spu.ld: New file.
10090
b18be20d
DJ
100912007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
10092
10093 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
10094
be444858
DJ
100952007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
10096
10097 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
10098
b1d53152
DJ
100992007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
10100
10101 * gdb.java/jmain.exp: Handle demangled names with and without method
10102 signatures.
10103
d084b331
DJ
101042007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
10105
10106 * gdb.mi/mi-syn-frame.c (main, foo, bar)
10107 (have_a_very_merry_interrupt): Remove calls to puts.
10108 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
10109 inferior output.
10110 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
10111 test names.
10112
db9d7fc5
DJ
101132007-04-29 Markus Deuling <deuling@de.ibm.com>
10114 Daniel Jacobowitz <dan@codesourcery.com>
10115
10116 * gdb.base/auxv.exp (core_works): Also check is_remote.
10117 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
10118
ef783a7d 101192007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 10120
ef783a7d
VP
10121 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
10122 message, not the undefined 'module' variable.
10123 * gdb.base/siginfo.exp: Likewise.
10124 * gdb.base/sigstep.exp: Likewise.
10125 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
10126 serialport.
10127 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
10128
b7b73cae
CV
101292007-04-25 Corinna Vinschen <vinschen@redhat.com>
10130
10131 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
10132 target sim fails. Return 0 otherwise.
10133 (gdb_load): Return prematurely if gdb_target_sim fails.
10134
7d90fdfa
DP
101352007-04-16 Denis Pilat <denis.pilat@st.com>
10136
10137 * gdb.base/setshow.exp: Reset height after having set it to 100.
10138
5d3e9c85
DP
101392007-04-16 Denis Pilat <denis.pilat@st.com>
10140
10141 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
10142
18e75969
DP
101432007-04-16 Denis Pilat <denis.pilat@st.com>
10144
10145 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
10146
25d5ea92
VP
101472007-04-14 Vladimir Prus <vladimir@codesourcery.com>
10148
10149 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
10150 tests. Run the frozen varobjs test.
10151 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 10152 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 10153
0b49cb80
JK
101542007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10155
10156 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
10157 gdb.base/type-opaque.exp: New files.
10158
a73bafbc 101592007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
10160
10161 * gdb.mi/mi-var-child.c
a73bafbc
VP
10162 (do_children_tests): User char[2] instead of
10163 char so that automatic printing of pointers to char
10164 don't give unpredicable result.
10165 * gdb.mi/var-cmd.c (do_locals_test): Initialize
10166 local variables.
10167 * gdb.mi/mi-var-child.exp: Step to right line
10168 of do_children_tests.
10169 * gdb.mi/mi2-var-child.exp: Likewise.
10170 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 10171 do_locals_tests.
a73bafbc
VP
10172 (do_children_tests): User char[2] instead of
10173 char so that automatic printing of pointers to char
a9c64011 10174 don't give unpredicable result.
a73bafbc 10175 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 10176 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
10177 Pass test name to mi_wait_for_stop.
10178
7ce59000
DJ
101792007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
10180
10181 * gdb.asm/asm-source.exp: Remove d10v case.
10182 * lib/gdb.exp (skip_cplus_tests): Likewise.
10183 * gdb.asm/d10v.inc: Deleted.
10184
20389057
DJ
101852007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
10186
10187 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
10188
8807d78b
DJ
101892007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
10190
10191 * config/netware.exp: Delete file.
10192
aa3edb8e
JB
101932007-03-29 Joel Brobecker <brobecker@adacore.com>
10194
10195 * gdb.dwarf2/dw2-noloc.S: New file.
10196 * gdb.dwarf2/dw2-noloc.exp: New file.
10197
297561ac
PA
101982007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
10199
10200 * gdb.cp/method2.cc: New test.
10201 * gdb.cp/method2.exp: New test.
10202 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
10203
1f81bd39
DJ
102042007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
10205
10206 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
10207
9453113a
DJ
102082007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
10209
10210 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
10211
b741e217
DJ
102122007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
10213
10214 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
10215 (gdb_load): Delete, replace with...
10216 (gdb_reload): ...this.
10217 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
10218 * gdb.server/server-mon.exp: Likewise.
10219 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
10220 (gdb_start_cmd): New.
10221 (gdb_file_cmd): Save the last loaded file.
10222 (gdb_reload): New.
10223 (gdb_gnu_strip_debug): Use transform.
10224 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
10225 support here. Use new $last_loaded_file. Check mtime.
10226 (gdb_target_cmd): Handle ObjC failure case.
10227 (infer_host_exec): Delete.
10228 (gdbserver_load): Rename to...
10229 (gdbserver_run): ...this. Simplify.
10230 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
10231 (mi_gdb_load): Move most contents to a new function...
10232 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
10233 (mi_run_cmd): Use mi_gdb_target_load.
10234 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
10235 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
10236 Use gdb_run_cmd.
10237 * gdb.base/charsign.exp: Remove incorrect comment.
10238 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
10239 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
10240 gdb.base/start.exp: Use gdb_start_cmd.
10241
446ab585 102422007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 10243 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
10244
10245 * gdb.base/sigbpt.exp: Fix the message when skipping test.
10246 * gdb.base/signull.exp: Similarly.
10247
bbb88ebf
UW
102482007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10249
10250 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
10251 messages available to test cases (like chng-sym.exp).
10252
cb8c4a99
AS
102532007-03-14 Andreas Schwab <schwab@suse.de>
10254
10255 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
10256 format changes.
10257
4e463ff5
DJ
102582007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
10259
10260 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
10261 (optimized_1): New.
10262 (main): Call optimized_1.
10263 (gdb2029): Correct typos. Call gdb2029_marker.
10264 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
10265 for gdb2029.
10266
b6db2c47
MK
102672007-03-12 Mark Kettenis <kettenis@gnu.org>
10268
10269 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
10270 as tabs. Remove redundant test pattern.
10271
70ed3737
UW
102722007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10273
10274 * gdb.base/long_long.exp: Accept optional symbol name in <...>
10275 for /a format output.
10276
47b67b60
DJ
102772007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
10278
10279 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
10280 collect output incrementally.
10281
b8953b0e
UW
102822007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10283
10284 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
10285 for -var-create lpcharacter test.
10286 * gdb.mi/mi2-var-cmd.exp: Likewise.
10287
7acd5c40
UW
102882007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10289
10290 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
10291 pass on targets where address zero is readable.
10292
9c6759c1
UW
102932007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10294
10295 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
10296 just a single architecture.
10297
a2f1aeb4
UW
102982007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10299
10300 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
10301 (fetch_all_registers): New function, uses gdb_test_multiple and
10302 exp_continue to fetch inferior output line-by-line.
10303 Replace all uses of do_get_all_registers by fetch_all_registers.
10304
46579ac2
UW
103052007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10306
10307 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
10308 in target_info.
10309
fc133f24
MS
103102007-03-02 Michael Snyder <michael.snyder@palmsource.com>
10311
a9c64011 10312 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
10313 consistancy; add a default (timeout) case.
10314
7646a51d
MS
103152007-03-02 Michael Snyder <michael.snyder@palmsource.com>
10316
10317 * gdb.base/watchpoint.exp: Fix truncated comment.
10318
dcfff61f
MS
103192007-03-02 Michael Snyder <michael.snyder@palmsource.com>
10320
10321 * Makefile.in: Remove spurious single-quotes from sed command.
10322
664e3ee9
DJ
103232007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
10324
10325 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
10326 func.
10327 * gdb.mi/mi2-var-cmd.exp: Likewise.
10328
d7cc6f2f
JB
103292007-02-27 Joel Brobecker <brobecker@adacore.com>
10330
a9c64011
AS
10331 * gdb.dwarf2/dw2-producer.S: New file.
10332 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
10333
103342007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
10335
10336 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
10337 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
10338 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
10339 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
10340 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
10341 Revert tests to use mi_gdb_test and include value field in output
10342 of -var-create.
10343
93d42b30
DJ
103442007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
10345
10346 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
10347
c499ed39
DJ
103482007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
10349
10350 * gdb.base/maint.exp: Remove full paths from test names.
10351 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
10352 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
10353
9836f81b
JB
103542007-02-27 Joel Brobecker <brobecker@adacore.com>
10355
10356 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
10357
c74d0ad8
DJ
103582007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
10359
10360 * gdb.server/server-mon.exp: New test.
10361
2711e456
DJ
103622007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
10363
10364 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
10365
ff6f572f
DJ
103662007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
10367
10368 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
10369 register capitalization.
10370
fada3feb
DP
103712007-02-13 Denis Pilat <denis.pilat@st.com>
10372
10373 * gdb.mi/mi-var-invalidate.exp: New file.
10374
fb1e4ffc
DJ
103752007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
10376
10377 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
10378
3da939d7
DJ
103792007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
10380
10381 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
10382
123dc839
DJ
103832007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
10384
10385 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
10386 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
10387
877e3645 103882007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
10389
10390 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
10391 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
10392 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
10393 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
10394 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 10395 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 10396 Update tests to include value field in output of -var-create.
a9c64011 10397
3c0a2960
AS
103982007-02-08 Andreas Schwab <schwab@suse.de>
10399
10400 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
10401
108546a0
DJ
104022007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
10403
10404 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
10405 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
10406
d701dcab
DP
104072007-02-02 Denis Pilat <denis.pilat@st.com>
10408
10409 * gdb.threads/threadapply.exp: check that frame is not changed by
10410 the thread apply all command.
10411
783e3e2f
AS
104122007-01-31 Andreas Schwab <schwab@suse.de>
10413
6d9c3a87
AS
10414 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
10415
3c50d7b9
AS
10416 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
10417 in the dwarf sections.
10418 * gdb.dwarf2/mac-fileno.S: Likewise.
10419
783e3e2f
AS
10420 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
10421 bspstore register on ia64.
10422
78ff580e
AS
104232007-01-29 Andreas Schwab <schwab@suse.de>
10424
cc8e9b12
AS
10425 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
10426 "frame-begin" annotation.
10427
78ff580e
AS
10428 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
10429 number of "frames-invalid" annotations.
10430
704a4f78
DJ
104312007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
10432
10433 * gdb.base/commands.exp: Call if_commands_test.
10434 (gdb_test_no_prompt, if_commands_test): New.
10435
e741bf94
MK
104362007-01-28 Mark Kettenis <kettenis@gnu.org>
10437
10438 * gdb.threads/sigthread.c (NSIGS): Make bigger.
10439
474d0ad3
AS
104402007-01-27 Andreas Schwab <schwab@suse.de>
10441
10442 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
10443 .short/.int/.quad in the dwarf sections.
10444 * gdb.dwarf2/dw2-intercu.S: Likewise.
10445 * gdb.dwarf2/dw2-intermix.S: Likewise.
10446
e784b426
JK
104472007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10448
10449 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
10450 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
10451 array.
e784b426
JK
10452 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
10453 * gdb.base/setvar.exp: Likewise.
10454
37f08e04
AS
104552007-01-26 Andreas Schwab <schwab@suse.de>
10456
9a01813a
AS
10457 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
10458 test.
10459
37f08e04
AS
10460 * gdb.base/multi-forks.exp ("restart $i"): Also match
10461 __kernel_syscall_via_break.
10462
6e2a9270
VP
104632007-01-24 Vladimir Prus <vladimir@codesourcery.com>
10464
10465 * lib/mi-support.exp (mi_delete_varobj): New.
10466 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
10467 testcase.
10468 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
10469 (main): Call the above.
10470 (reference_update_test, base_in_reference_test)
10471 (reference_to_pointer): Delete the created varobjs.
a9c64011 10472
e515b470
DJ
104732007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
10474
10475 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
10476 * configure: Regenerated.
10477 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
10478 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
10479 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
10480 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
10481 * lib/gdb.exp (gdb_skip_xml_test): New function.
10482
08d8bcd7
DJ
104832007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
10484
10485 * gdb.base/sigrepeat.exp: Correct error message.
10486
104872007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
10488 Daniel Jacobowitz <dan@codesourcery.com>
10489
10490 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
10491 gdb.arch/i386-gnu-cfi-asm.S: New files.
10492
97c3f1f3
JK
104932007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10494
10495 * lib/gdb.exp: Abort on missing `site.exp'.
10496
cb1df416
DJ
104972007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10498 Daniel Jacobowitz <dan@codesourcery.com>
10499
10500 * gdb.base/included.c, gdb.base/included.exp,
10501 gdb.base/included.h: New files.
10502
35990120
DJ
105032007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
10504
10505 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
10506 (maximize_rlimit): Reduce limits on 64-bit systems.
10507
6e81a116 105082007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
10509
10510 From Marcus Deuling <deuling@de.ibm.com>:
10511 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
10512 every case.
10513
6c3c41f3
NR
105142007-01-13 Nick Roberts <nickrob@snap.net.nz>
10515
10516 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
10517 (test_path_specification): Use objdir instead of srcdir to always
10518 get an absolute filename.
10519
2f12c312
DJ
105202007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
10521
10522 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
10523
81121995
VP
105242007-01-11 Vladimir Prus <vladimir@codesourcery.com>
10525
10526 * gdb.mi/mi-var-cp.cc (reference_update_tests):
10527 Make sure the variable we're using is in scope.
10528 (reference_to_pointer): Likewise.
10529
4741b737
DJ
105302007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
10531
10532 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
10533 has no debug information.
10534
054410c3
DJ
105352007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
10536
10537 * gdb.base/annota1.exp: Remove extra send_gdb.
10538
818f79f6
DJ
105392007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10540
10541 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
10542
f7a6bb70
DJ
105432007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10544
10545 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
10546
57e66780
DJ
105472007-01-08 Nick Roberts <nickrob@snap.net.nz>
10548 Daniel Jacobowitz <dan@codesourcery.com>
10549
10550 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
10551 lcharacter or linteger change. Correct duplicated test name.
10552 * gdb.mi/mi2-var-cmd.exp: Likewise.
10553
3d799a95
DJ
105542007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
10555
10556 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
10557
105582007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 10559
a9c64011
AS
10560 * gdb.base/nofield.c: New file.
10561 * gdb.base/nofield.exp: New testcase.
51679ba9 10562
eafb94e8
NR
105632007-01-05 Nick Roberts <nickrob@snap.net.nz>
10564
10565 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
10566
10567 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
10568 test.
10569
5e572bb4
DJ
105702007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10571
10572 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
10573
74a44383
DJ
105742007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10575
10576 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
10577 when continuing.
10578
1b572db9
DJ
105792007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
10580
10581 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
10582 Expect ".exe" extension.
10583
381bc39b
DJ
105842007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
10585
10586 * gdb.base/charset.exp: Add explicit filename to break.
10587 * gdb.base/dbx.exp: Add explicit filename to breaks.
10588
2b70e4c6
DJ
105892007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
10590
10591 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
10592 * gdb.mi/mi2-file.exp: Likewise.
10593
303b6f5d
DJ
105942007-01-04 Vladimir Prus <vladimir@codesourcery.com>
10595
10596 Implement specification of MI tests as comments
10597 in C and C++ sources.
10598 * lib/mi-support.exp (mi_autotest_data): New variable.
10599 (mi_autotest_source): New variable.
10600 (count_newlines, mi_prepare_inline_tests)
10601 (mi_get_inline_test, mi_continue_to_line)
10602 (mi_run_inline_test, mi_tbreak)
10603 (mi_send_resuming_command, mi_wait_for_stop): New functions.
10604 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
10605 Run inline tests.
10606 * gdb.mi/mi-var-cp.cc: Define tests here.
10607
23da0d94
VP
106082007-01-04 Vladimir Prus <vladimir@codesourcery.com>
10609
10610 Simplify usage of mi_continue_to.
10611 * lib/mi-support.exp (mi_runto_helper): Renamed
10612 from mi_runto, added new parameter 'run_or_continue'.
10613 (mi_runto): Use mi_runto_helper.
10614 (mi_continue_to): Accept just function name as parameter.
10615 Use mi_runto_helper.
10616 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
10617 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 10618
f9e18282
JB
106192006-01-04 Joel Brobecker <brobecker@adacore.com>
10620
10621 Make this testcase a bit more realistic. The current code
10622 is too simplistic, and allows the compiler to optimize out
10623 some of the entities we need for this testcase.
10624 * gdb.ada/null_record/bar.ads (Void_Star): New type.
10625 (Do_Nothing): Add extra parameter.
10626 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
10627 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
10628 by using a variable of type Void_Star.
10629
fd678c65
JB
106302006-01-04 Joel Brobecker <brobecker@adacore.com>
10631
10632 * gdb.ada/catch_ex/foo.adb: New file.
10633 * gdb.ada/catch_ex.exp: New testcase.
10634
05cfdb42
DJ
106352007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
10636
10637 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
10638 pass --image-base to linker.
10639
2e03ee74
DJ
106402007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10641 Daniel Jacobowitz <dan@codesourcery.com>
10642
10643 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
10644 secondary prompts.
10645
0d5de010
DJ
106462007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
10647
10648 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
10649 output. Test the types of members and member pointers.
10650 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
10651 gdb/2092.
10652 * gdb.cp/member-ptr.exp: Search for a comment instead of a
10653 statement. Enable for GCC. Update expected output for some tests
10654 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
10655 layout.
10656 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
10657 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
10658 (Diamond::vget_base): New.
10659 (main): Add new tests.
10660 * gdb.cp/printmethod.exp: Update expected output for member functions.
10661 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
10662 print pEe->D::vg().
10663
61a771aa
DJ
106642007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
10665
10666 * gdb.threads/tls.exp: Allow stops in sem_post.
10667
2fa63963
DJ
106682006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
10669
10670 * gdb.base/annota1.exp: Allow .*printf in backtraces.
10671 * gdb.base/annota3.exp: Likewise.
10672 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
10673 again (instead of timing out).
10674 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
10675 GCC bug 26475.
10676 * gdb.java/jmisc.exp: Adjust to work with method signatures including
10677 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
10678 test from jmisc1.exp.
10679 * gdb.java/jmisc1.exp: Delete.
10680 * gdb.java/jprint.exp: Adjust to work with method signatures including
10681 return types.
10682 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
10683 * gdb.threads/linux-dp.exp: Don't be confused by program output.
10684 * lib/java.exp (compile_java_from_source): Pass the correct type
10685 to target_compile.
10686
5eefc2b7
JB
106872006-12-31 Joel Brobecker <brobecker@adacore.com>
10688
10689 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
10690 (stack_align_edx): New function.
10691 (stack_align_eax): New function.
10692 (main): Add calls to stack_align_edx and stack_align_eax.
10693 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
10694 Add testing for the cases where the register used during a stack
10695 realignment is edx. Same for eax.
10696
227c54da
DJ
106972006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
10698
10699 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
10700 and generic PE targets.
10701
cab8ac94
JB
107022006-12-29 Joel Brobecker <brobecker@adacore.com>
10703
10704 * gdb.ada/array_return.exp: Update copyright date list.
10705
ba54f318
JB
107062006-12-27 Joel Brobecker <brobecker@adacore.com>
10707
10708 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
10709 (Create_Small_Float_Vector): New function.
10710 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
10711 function body.
10712 * gdb.ada/array_return/p.adb: Use new type and function from
10713 package Pck.
10714 * gdb.ada/array_return.exp: Add a test verifying that GDB is
10715 able to print the value returned by a function returning an
10716 array of float.
10717
6b7a35dd
JB
107182006-12-20 Joel Brobecker <brobecker@adacore.com>
10719
10720 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
10721 The associated tests should be PASSing.
10722
038224f6
VP
107232006-12-08 Vladimir Prus <vladimir@codesourcery.com>
10724
10725 Test for base in references.
10726 * gdb.mi/mi-var-cp.cc: Add test code.
10727 * gdb.mi/mi-var-cp.exp: Test for bases in references.
10728 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
10729 * gdb.mi/mi2-watch.exp: Likewise.
10730 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
10731 (mi_list_varobj_children): New function.
10732
b26ed50d
VP
107332006-12-08 Vladimir Prus <vladimir@codesourcery.com>
10734
10735 * lib/mi-support.exp
10736 (mi_runto): Accept "()" after function name.
10737 (mi_create_varobj): New function.
10738 (mi_varobj_update): New function.
10739 (mi_Check_varobj_value): New function.
10740 * gdb.mi/mi-var-cp.exp: New file.
10741 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 10742
08232497
DJ
107432006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
10744
10745 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
10746 gdb.base/weaklib2.c: New files.
10747
d394c993 107482006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 10749
ac6c2fba
NS
10750 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
10751 info. Adjust test names.
10752
8ec659a0 10753 * gdb.base/break.c (main): Move position of malloc.
d394c993 10754 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 10755
acd65feb
VP
107562006-11-28 Vladimir Prus <vladimir@codesourcery.com>
10757
10758 * gdb.mi/mi-var-cmd.exp: Check -var-update after
10759 assignement of arrays and function pointers.
10760 * gdb.mi/var-cmd.c: Add declaration necessary for above
10761 tests.
10762
f556d5e5
NS
107632006-11-27 Nathan Sidwell <nathan@codesourcery.com>
10764
10765 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
10766
10767 * gdb.threads/linux-dp.exp: Read thread table before and after
10768 creating each philosopher and verify it.
10769
697bc68d
NS
107702006-11-27 Nathan Sidwell <nathan@codesourcery.com>
10771 Paul Brook <paul@codesourcery.com>
10772 Daniel Jacobowitz <dan@codesourcery.com>
10773
10774 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 10775 main to remove duplication. Add start function of the form
697bc68d
NS
10776 '_*start[1-9]*'. Add RVDS start function.
10777
29d73ae4
DJ
107782006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
10779
10780 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
10781
c1d88655
UW
107822006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10783
10784 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
10785 * gdb.asm/spu.inc: New file.
10786 * gdb.base/term.exp: Disable if [target_info exists noargs].
10787 * gdb.gdb/complaints.exp: Disable if ![isnative].
10788 * gdb.gdb/selftest.exp: Likewise.
10789 * gdb.gdb/observer.exp: Likewise.
10790 * gdb.gdb/xfullpath.exp: Likewise.
10791 * gdb.base/attach.exp: Disable on SPU target.
10792 * gdb.cp/bs145503.exp: Likewise.
10793 * gdb.cp/exception.exp: Likewise.
10794 * gdb.cp/userdef.exp: Likewise.
10795
32a13b1a
DJ
107962006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
10797
10798 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
10799
d8295fe9
VP
108002006-11-10 Vladimir Prus <vladimir@codesourcery.com>
10801
10802 * gdb.base/completion.exp: Fix completion tests for
10803 'info' and 'info '.
10804 * gdb.base/help.exp (help_test_raw, test_class_help)
10805 (test_prefix_command_help): Move...
10806 * lib/gdb.exp: Here.
10807 * gdb.base/main.exp: Adjust.
10808 * gdb.cp/maint.exp: Adjust.
10809 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 10810
8c394015
VP
108112006-11-09 Vladimir Prus <vladimir@codesourcery.com>
10812
10813 * gdb.stabs/weird.exp (print_weird_var): Use
10814 gdb_test_multiple instead of gdb_expect.
10815
027fc1bc
VP
108162006-11-09 Vladimir Prus <vladimir@codesourcery.com>
10817
10818 * gdb.base/help.exp (help_test_raw): New.
10819 (test_class_help): New.
10820 (test_prefix_command_help): New.
10821 Adjust testcases.
10822
67609209
FR
108232006-11-09 Christophe Lyon <christophe.lyon@st.com>
10824
10825 * gdb.base/constvars.c (main): Write to crass and crips, so that
10826 they are allocated by the compiler.
10827
f73adfeb
AS
108282006-10-27 Andreas Schwab <schwab@suse.de>
10829
10830 * gdb.base/multi-forks.exp: Use "detach fork" instead of
10831 "detach-fork".
10832
2f83a18e
DJ
108332006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
10834
10835 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
10836 of patterns.
10837
94277a38
DJ
108382006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
10839
10840 * gdb.base/sepdebug.exp: Remove debug format test.
10841 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
10842 Handle no-symtab.
10843 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
10844
5bd2f6e2
DJ
108452006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
10846
10847 * gdb.threads/manythreads.c (thread_function, main): Don't cast
10848 int to pointer or pointer to int.
10849 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
10850
8c008720
DJ
108512006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
10852
10853 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
10854
9e35dae4
DJ
108552006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10856
10857 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
10858
d9639e13
DJ
108592006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
10860
10861 PR c++/2116
10862 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
10863
390a1bd0
JB
108642006-10-06 Joel Brobecker <brobecker@adacore.com>
10865
10866 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
10867 the corresponding bug has been fixed in GDB (PR/2018).
10868
dd920c33
JB
108692006-10-06 Joel Brobecker <brobecker@adacore.com>
10870
10871 * gdb.base/subst.exp: New testcase.
10872
53bbefe9
JB
108732006-10-06 Joel Brobecker <brobecker@adacore.com>
10874
10875 * gdb.ada/array_return/pck.ads: Add copyright notice.
10876 * gdb.ada/array_return/pck.adb: Likewise.
10877 * gdb.ada/array_return/p.adb: Likewise.
10878 * gdb.ada/exec_changed/first.adb: Likewise.
10879 * gdb.ada/exec_changed/second.adb: Likewise.
10880
09851417
JB
108812006-10-06 Joel Brobecker <brobecker@adacore.com>
10882
10883 * gdb.ada/watch_arg/watch.adb: New file.
10884 * gdb.ada/watch_arg.exp: New testcase.
10885
041bf30d
VP
108862006-10-02 Vladimir Prus <vladimir@codesourcery.com>
10887
10888 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 10889 via string_to_regexp.
041bf30d 10890 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 10891
f286fbdd 108922006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
10893
10894 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
10895 Remove unused / obsolete files.
10896
7c07f349
NR
108972006-09-19 Nick Roberts <nickrob@snap.net.nz>
10898
10899 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
10900
cd5ff84a
VP
109012006-09-17 Vladimir Prus <vladimir@codesourcery.com>
10902
10903 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
10904 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 10905 the number of frames.
cd5ff84a 10906
ae018d1a
DJ
109072006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
10908
10909 * gdb.base/args.c (main): Add breakpoint marker.
10910 * gdb.base/args.exp: Use args_test for tests. Add new tests which
10911 really test empty arguments.
10912 (args_load): Delete.
10913 (args_test): New.
10914
b399c549
NR
109152006-09-13 Nick Roberts <nickrob@snap.net.nz>
10916
10917 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
889bf7c5 10918 check for one file.
b399c549 10919
2ab1eb7a
VP
109202006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
10921
10922 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
10923 HIGH_FRAME argument to -stack-list-locals can be larger than
10924 the number of frames.
a9c64011 10925
476308bf
FF
109262006-08-18 Fred Fish <fnf@specifix.com>
10927
10928 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
10929 '$' in front of skip_vmx_tests_saved when setting that.
10930
8625200f
AS
109312006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
10932
10933 * gdb.base/trace-commands.exp: New file.
10934
089ec8f1
DJ
109352006-08-10 Joel Brobecker <brobecker@adacore.com>
10936 Daniel Jacobowitz <dan@codesourcery.com>
10937
10938 * gdb.base/step-bt.exp: Make hexadecimal address optional in
10939 expected output of the backtrace commands.
10940
b60f0898
JB
109412006-08-09 Joel Brobecker <brobecker@adacore.com>
10942
10943 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
10944 untested followed by return combination.
10945 * gdb.arch/altivec-regs.exp: Likewise.
10946 * gdb.arch/e500-abi.exp: Likewise.
10947 * gdb.arch/e500-regs.exp: Likewise.
10948 * gdb.arch/gdb1291.exp: Likewise.
10949 * gdb.arch/gdb1431.exp: Likewise.
10950 * gdb.arch/gdb1558.exp: Likewise.
10951 * gdb.arch/i386-prologue.exp: Likewise.
10952 * gdb.arch/i386-unwind.exp: Likewise.
10953 * gdb.asm/asm-source.exp: Likewise.
10954 * gdb.base/a2-run.exp: Likewise.
10955 * gdb.base/advance.exp: Likewise.
10956 * gdb.base/all-bin.exp: Likewise.
10957 * gdb.base/annota1.exp: Likewise.
10958 * gdb.base/annota3.exp: Likewise.
10959 * gdb.base/args.exp: Likewise.
10960 * gdb.base/arithmet.exp: Likewise.
10961 * gdb.base/assign.exp: Likewise.
10962 * gdb.base/async.exp: Likewise.
10963 * gdb.base/attach.exp: Likewise.
10964 * gdb.base/bang.exp: Likewise.
10965 * gdb.base/bigcore.exp: Likewise.
10966 * gdb.base/bitfields.exp: Likewise.
10967 * gdb.base/bitfields2.exp: Likewise.
10968 * gdb.base/break.exp: Likewise.
10969 * gdb.base/call-sc.exp: Likewise.
10970 * gdb.base/call-strs.exp: Likewise.
10971 * gdb.base/callfuncs.exp: Likewise.
10972 * gdb.base/checkpoint.exp: Likewise.
10973 * gdb.base/chng-syms.exp: Likewise.
10974 * gdb.base/code-expr.exp: Likewise.
10975 * gdb.base/commands.exp: Likewise.
10976 * gdb.base/completion.exp: Likewise.
10977 * gdb.base/cond-expr.exp: Likewise.
10978 * gdb.base/condbreak.exp: Likewise.
10979 * gdb.base/consecutive.exp: Likewise.
10980 * gdb.base/constvars.exp: Likewise.
10981 * gdb.base/corefile.exp: Likewise.
10982 * gdb.base/cvexpr.exp: Likewise.
10983 * gdb.base/dbx.exp: Likewise.
10984 * gdb.base/define.exp: Likewise.
10985 * gdb.base/detach.exp: Likewise.
10986 * gdb.base/display.exp: Likewise.
10987 * gdb.base/dump.exp: Likewise.
10988 * gdb.base/ena-dis-br.exp: Likewise.
10989 * gdb.base/ending-run.exp: Likewise.
10990 * gdb.base/environ.exp: Likewise.
10991 * gdb.base/eval-skip.exp: Likewise.
10992 * gdb.base/exprs.exp: Likewise.
10993 * gdb.base/fileio.exp: Likewise.
10994 * gdb.base/finish.exp: Likewise.
10995 * gdb.base/float.exp: Likewise.
10996 * gdb.base/foll-exec.exp: Likewise.
10997 * gdb.base/foll-fork.exp: Likewise.
10998 * gdb.base/foll-vfork.exp: Likewise.
10999 * gdb.base/freebpcmd.exp: Likewise.
11000 * gdb.base/funcargs.exp: Likewise.
11001 * gdb.base/gcore.exp: Likewise.
11002 * gdb.base/gdb1090.exp: Likewise.
11003 * gdb.base/gdb1250.exp: Likewise.
11004 * gdb.base/huge.exp: Likewise.
11005 * gdb.base/info-proc.exp: Likewise.
11006 * gdb.base/interrupt.exp: Likewise.
11007 * gdb.base/jump.exp: Likewise.
11008 * gdb.base/langs.exp: Likewise.
11009 * gdb.base/lineinc.exp: Likewise.
11010 * gdb.base/list.exp: Likewise.
11011 * gdb.base/logical.exp: Likewise.
11012 * gdb.base/long_long.exp: Likewise.
11013 * gdb.base/macscp.exp: Likewise.
11014 * gdb.base/maint.exp: Likewise.
11015 * gdb.base/mips_pro.exp: Likewise.
11016 * gdb.base/miscexprs.exp: Likewise.
11017 * gdb.base/multi-forks.exp: Likewise.
11018 * gdb.base/opaque.exp: Likewise.
11019 * gdb.base/overlays.exp: Likewise.
11020 * gdb.base/pc-fp.exp: Likewise.
11021 * gdb.base/pointers.exp: Likewise.
11022 * gdb.base/printcmds.exp: Likewise.
11023 * gdb.base/psymtab.exp: Likewise.
11024 * gdb.base/ptype.exp: Likewise.
11025 * gdb.base/recurse.exp: Likewise.
11026 * gdb.base/relational.exp: Likewise.
11027 * gdb.base/relocate.exp: Likewise.
11028 * gdb.base/remote.exp: Likewise.
11029 * gdb.base/reread.exp: Likewise.
11030 * gdb.base/restore.exp: Likewise.
11031 * gdb.base/return.exp: Likewise.
11032 * gdb.base/return2.exp: Likewise.
11033 * gdb.base/scope.exp: Likewise.
11034 * gdb.base/sect-cmd.exp: Likewise.
11035 * gdb.base/sep.exp: Likewise.
11036 * gdb.base/sepdebug.exp: Likewise.
11037 * gdb.base/setshow.exp: Likewise.
11038 * gdb.base/setvar.exp: Likewise.
11039 * gdb.base/sigall.exp: Likewise.
11040 * gdb.base/sigbpt.exp: Likewise.
11041 * gdb.base/signals.exp: Likewise.
11042 * gdb.base/signull.exp: Likewise.
11043 * gdb.base/sizeof.exp: Likewise.
11044 * gdb.base/solib.exp: Likewise.
11045 * gdb.base/step-line.exp: Likewise.
11046 * gdb.base/step-test.exp: Likewise.
11047 * gdb.base/structs.exp: Likewise.
11048 * gdb.base/structs2.exp: Likewise.
11049 * gdb.base/term.exp: Likewise.
11050 * gdb.base/twice.exp: Likewise.
11051 * gdb.base/until.exp: Likewise.
11052 * gdb.base/varargs.exp: Likewise.
11053 * gdb.base/volatile.exp: Likewise.
11054 * gdb.base/watchpoint.exp: Likewise.
11055 * gdb.base/whatis-exp.exp: Likewise.
11056 * gdb.base/whatis.exp: Likewise.
11057 * gdb.cp/ambiguous.exp: Likewise.
11058 * gdb.cp/annota2.exp: Likewise.
11059 * gdb.cp/annota3.exp: Likewise.
11060 * gdb.cp/bool.exp: Likewise.
11061 * gdb.cp/breakpoint.exp: Likewise.
11062 * gdb.cp/casts.exp: Likewise.
11063 * gdb.cp/class2.exp: Likewise.
11064 * gdb.cp/classes.exp: Likewise.
11065 * gdb.cp/cplusfuncs.exp: Likewise.
11066 * gdb.cp/ctti.exp: Likewise.
11067 * gdb.cp/derivation.exp: Likewise.
11068 * gdb.cp/exception.exp: Likewise.
11069 * gdb.cp/gdb1355.exp: Likewise.
11070 * gdb.cp/hang.exp: Likewise.
11071 * gdb.cp/inherit.exp: Likewise.
11072 * gdb.cp/local.exp: Likewise.
11073 * gdb.cp/m-data.exp: Likewise.
11074 * gdb.cp/m-static.exp: Likewise.
11075 * gdb.cp/member-ptr.exp: Likewise.
11076 * gdb.cp/method.exp: Likewise.
11077 * gdb.cp/misc.exp: Likewise.
11078 * gdb.cp/namespace.exp: Likewise.
11079 * gdb.cp/overload.exp: Likewise.
11080 * gdb.cp/ovldbreak.exp: Likewise.
11081 * gdb.cp/pr-1023.exp: Likewise.
11082 * gdb.cp/pr-1210.exp: Likewise.
11083 * gdb.cp/pr-574.exp: Likewise.
11084 * gdb.cp/printmethod.exp: Likewise.
11085 * gdb.cp/psmang.exp: Likewise.
11086 * gdb.cp/ref-params.exp: Likewise.
11087 * gdb.cp/ref-types.exp: Likewise.
11088 * gdb.cp/rtti.exp: Likewise.
11089 * gdb.cp/templates.exp: Likewise.
11090 * gdb.cp/try_catch.exp: Likewise.
11091 * gdb.cp/userdef.exp: Likewise.
11092 * gdb.cp/virtfunc.exp: Likewise.
11093 * gdb.disasm/am33.exp: Likewise.
11094 * gdb.disasm/h8300s.exp: Likewise.
11095 * gdb.disasm/mn10300.exp: Likewise.
11096 * gdb.disasm/sh3.exp: Likewise.
11097 * gdb.disasm/t01_mov.exp: Likewise.
11098 * gdb.disasm/t02_mova.exp: Likewise.
11099 * gdb.disasm/t03_add.exp: Likewise.
11100 * gdb.disasm/t04_sub.exp: Likewise.
11101 * gdb.disasm/t05_cmp.exp: Likewise.
11102 * gdb.disasm/t06_ari2.exp: Likewise.
11103 * gdb.disasm/t07_ari3.exp: Likewise.
11104 * gdb.disasm/t08_or.exp: Likewise.
11105 * gdb.disasm/t09_xor.exp: Likewise.
11106 * gdb.disasm/t10_and.exp: Likewise.
11107 * gdb.disasm/t11_logs.exp: Likewise.
11108 * gdb.disasm/t12_bit.exp: Likewise.
11109 * gdb.disasm/t13_otr.exp: Likewise.
11110 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
11111 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
11112 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
11113 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
11114 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
11115 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
11116 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
11117 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
11118 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
11119 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
11120 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
11121 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
11122 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
11123 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
11124 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
11125 * gdb.mi/gdb701.exp: Likewise.
11126 * gdb.mi/gdb792.exp: Likewise.
11127 * gdb.mi/mi-basics.exp: Likewise.
11128 * gdb.mi/mi-break.exp: Likewise.
11129 * gdb.mi/mi-cli.exp: Likewise.
11130 * gdb.mi/mi-console.exp: Likewise.
11131 * gdb.mi/mi-disassemble.exp: Likewise.
11132 * gdb.mi/mi-eval.exp: Likewise.
11133 * gdb.mi/mi-file.exp: Likewise.
11134 * gdb.mi/mi-read-memory.exp: Likewise.
11135 * gdb.mi/mi-regs.exp: Likewise.
11136 * gdb.mi/mi-return.exp: Likewise.
11137 * gdb.mi/mi-simplerun.exp: Likewise.
11138 * gdb.mi/mi-stack.exp: Likewise.
11139 * gdb.mi/mi-stepi.exp: Likewise.
11140 * gdb.mi/mi-syn-frame.exp: Likewise.
11141 * gdb.mi/mi-until.exp: Likewise.
11142 * gdb.mi/mi-var-block.exp: Likewise.
11143 * gdb.mi/mi-var-child.exp: Likewise.
11144 * gdb.mi/mi-var-cmd.exp: Likewise.
11145 * gdb.mi/mi-var-display.exp: Likewise.
11146 * gdb.mi/mi-watch.exp: Likewise.
11147 * gdb.mi/mi2-basics.exp: Likewise.
11148 * gdb.mi/mi2-break.exp: Likewise.
11149 * gdb.mi/mi2-cli.exp: Likewise.
11150 * gdb.mi/mi2-console.exp: Likewise.
11151 * gdb.mi/mi2-disassemble.exp: Likewise.
11152 * gdb.mi/mi2-eval.exp: Likewise.
11153 * gdb.mi/mi2-file.exp: Likewise.
11154 * gdb.mi/mi2-read-memory.exp: Likewise.
11155 * gdb.mi/mi2-regs.exp: Likewise.
11156 * gdb.mi/mi2-return.exp: Likewise.
11157 * gdb.mi/mi2-simplerun.exp: Likewise.
11158 * gdb.mi/mi2-stack.exp: Likewise.
11159 * gdb.mi/mi2-stepi.exp: Likewise.
11160 * gdb.mi/mi2-syn-frame.exp: Likewise.
11161 * gdb.mi/mi2-until.exp: Likewise.
11162 * gdb.mi/mi2-var-block.exp: Likewise.
11163 * gdb.mi/mi2-var-child.exp: Likewise.
11164 * gdb.mi/mi2-var-cmd.exp: Likewise.
11165 * gdb.mi/mi2-var-display.exp: Likewise.
11166 * gdb.mi/mi2-watch.exp: Likewise.
11167 * gdb.stabs/exclfwd.exp: Likewise.
11168 * gdb.stabs/weird.exp: Likewise.
11169 * gdb.threads/gcore-thread.exp: Likewise.
11170 * gdb.trace/actions.exp: Likewise.
11171 * gdb.trace/backtrace.exp: Likewise.
11172 * gdb.trace/circ.exp: Likewise.
11173 * gdb.trace/collection.exp: Likewise.
11174 * gdb.trace/deltrace.exp: Likewise.
11175 * gdb.trace/infotrace.exp: Likewise.
11176 * gdb.trace/limits.exp: Likewise.
11177 * gdb.trace/packetlen.exp: Likewise.
11178 * gdb.trace/passc-dyn.exp: Likewise.
11179 * gdb.trace/passcount.exp: Likewise.
11180 * gdb.trace/report.exp: Likewise.
11181 * gdb.trace/save-trace.exp: Likewise.
11182 * gdb.trace/tfind.exp: Likewise.
11183 * gdb.trace/tracecmd.exp: Likewise.
11184 * gdb.trace/while-dyn.exp: Likewise.
11185 * gdb.trace/while-stepping.exp: Likewise.
11186
f4b618d1
JB
111872006-08-08 Joel Brobecker <brobecker@adacore.com>
11188
11189 * gdb.base/step-bt.c: New file.
11190 * gdb.base/step-bt.exp: New testcase.
11191
3d00d119
DJ
111922006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
11193
11194 * config/monitor.exp (gdb_load): Remove support for obsolete
11195 download-write-size.
11196 * gdb.base/remote.exp: Likewise. Update all callers of
11197 gdb_timed_load.
11198
017b5bd4
DJ
111992006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
11200
11201 * cursal.exp: Pass binfile to gdb_load.
11202
837c599d
DJ
112032006-08-01 Nathan Sidwell <nathan@codesourcery.com>
11204
11205 * gdb.base/cursal.exp: Add "" to gdb_load call.
11206
8dd4540b
MK
112072006-07-29 Mark Kettenis <kettenis@gnu.org>
11208
11209 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
11210 NetBSD/ELF targets.
11211
ab5c9f60
DJ
112122006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
11213
11214 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
11215 operator*.
11216
4c42eaff
DJ
112172006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
11218
11219 * gdb.base/completion.exp: Update for change in "file" behavior.
11220 * gdb.stabs/weird.exp: Likewise.
11221 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
11222 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
11223
0155cc76
NS
112242006-07-24 Nathan Sidwell <nathan@codesourcery.com>
11225
11226 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
11227 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
11228
16026cd7
AS
112292006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
11230
11231 * gdb.base/default.exp: Update source command error message.
11232 * gdb.base/help.exp: Update 'help source' message.
11233
16963cb6
DJ
112342006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
11235
11236 * gdb.cp/bs15503.exp: Update comment for no longer crashing
11237 test.
11238
6d7fd486
AS
112392006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
11240
11241 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
11242
29e8a844
DJ
112432006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
11244
11245 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
11246
6afcfa39
DJ
112472006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
11248
11249 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
11250
267a692b
MK
112512006-07-17 Mark Kettenis <kettenis@gnu.org>
11252
11253 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
11254 *-*-openbsd* from targets for wich we expect ARM FPA floating
11255 point format.
11256
85d2fec4
NR
112572006-07-17 Nick Roberts <nickrob@snap.net.nz>
11258
11259 * gdb.cp/annota3.exp: Expect frame-begin annotation.
11260
112612006-07-17 Mark Kettenis <kettenis@gnu.org>
11262
11263 * gdb.base/annota3.exp: Expect frame-begin annotation.
11264
85b4c6e8
JB
112652006-07-14 Joel Brobecker <brobecker@adacore.com>
11266
11267 * gdb.base/help.exp: Adjust "help unset" test to accept
11268 any list of unset commands.
11269
fb933624
DJ
112702006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
11271 Daniel Jacobowitz <dan@codesourcery.com>
11272
11273 * gdb.cp/ref-params.exp: New test.
11274 * gdb.cp/ref-params.cc: New source file.
11275 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
11276
1dff4b64
MK
112772006-07-08 Mark Kettenis <kettenis@gnu.org>
11278
11279 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
11280 spaces/tabs in regular expressions since they might not be there.
11281
40d2e0e3
AS
112822006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
11283
11284 * gdb.base/ifelse.exp: New file.
11285
f6c957d2
NS
112862006-07-04 Nathan Sidwell <nathan@codesourcery.com>
11287
11288 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
11289 line.
11290 * gdb.base/huge.exp: Loop over compilation to find a size that
11291 is acceptable.
11292 * gdb.base/remote.exp: Correct expected strings.
11293 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
11294
b9c5a23d
DJ
112952006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
11296
11297 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
11298
9af2e58d
DJ
112992006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
11300
11301 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
11302 native.
11303
30930ca5
DJ
113042006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
11305
11306 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
11307 enable stabs testing.
11308
aa32fa1d
DJ
113092006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
11310
bd4a4c80 11311 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
11312 gdb_test_multiple does.
11313
321fef15
DJ
113142006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
11315
11316 * Makefile.in (host_alias): Remove.
11317 (target_alias): Use @target_noncanonical@.
11318 (site.exp): Don't set host_alias.
11319 * aclocal.m4: Remove contents. Include acx.m4.
11320 * configure: Regenerated.
11321 * configure.ac: Use ACX_NONCANONICAL_TARGET.
11322
e1c2defa
NS
113232006-06-13 Nathan Sidwell <nathan@codesourcery.com>
11324
e63b55d1
NS
11325 * lib/gdb.exp (gdb_load_cmd): New.
11326
5600ea19
NS
11327 * gdb.base/fileio.c: Add system(NULL) test.
11328 * gdb.base/fileio.exp: Check it.
11329
e1c2defa
NS
11330 * gdb.base/break.c: Add 10a breakpoint at }
11331 * gdb.base/break.exp: Add test for breakpoint at }
11332 * gdb.cp/anon-union.cc: Add code at end of function.
11333 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
11334 * gdb.mi/var-cmd.c: Add code at end of function.
11335 * gdb.mi/mi-var-display.exp: Adjust end of next.
11336 * gdb.mi/mi2-var-display.exp: Likewise.
11337 * gdb.base/fileio.c: Add stop function and insert calls at
11338 stopping places.
11339 * gdb.base/fileio.exp: Breakpoint stop function and remove
11340 explicit line number references.
11341
6c0112ec
JB
113422006-05-19 Joel Brobecker <brobecker@adacore.com>
11343
a9c64011
AS
11344 * gdb.base/del.exp (test_delete_alias): New function.
11345 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 11346
154189a4
FF
113472006-05-18 Fred Fish <fnf@specifix.com>
11348
11349 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
11350 required. Check for spurious output after program exits normally.
11351
582e64c2
FF
113522006-05-17 Fred Fish <fnf@specifix.com>
11353
11354 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
11355 gdb_load, so it works in the simulator.
11356
8ef6493a
FF
113572006-05-11 Fred Fish <fnf@specifix.com>
11358
11359 * gdb.base/bang.exp: Ignore unexpected output between the
11360 "program exited normally" and the gdb prompt, as many other
11361 tests do.
11362
692b141c
MK
113632006-05-07 Mark Kettenis <kettenis@gnu.org>
11364
11365 * gdb.base/help.exp: Make "delete checkpoint" part option for
11366 "help d" and "help delete" tests.
11367
540b8a30
UW
113682006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11369
a9c64011 11370 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
11371 expected output in some mi_gdb_test statements.
11372 * gdb.mi/mi2-basics.exp: Likewise.
11373
9b6462d9
JB
113742006-05-05 Joel Brobecker <brobecker@adacore.com>
11375
11376 * gdb.base/del.c: New file.
11377 * gdb.base/del.exp: New testcase.
11378
954de43b
DM
113792006-05-05 David S. Miller <davem@sunset.davemloft.net>
11380
11381 * gdb.base/break.exp: Do not assume a breakpoint on
11382 main will actually be in $srcfile when optimizing.
1303f75e
DM
11383 * gdb.base/savedregs.exp: Do not require that the dummy
11384 frame location match up to a symbol and source file location.
c3242428
DM
11385 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
11386 will get printed without a mi_cmd_data_list_register_values prefix.
11387 (*-data-list-register-*): Correct regular expressions to expect the new
11388 pseudo d? floating point registers.
11389 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 11390
c7e64c9a
DJ
113912006-05-05 Christophe Lyon <christophe.lyon@st.com>
11392
11393 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
11394 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
11395 is allocated by the compiler.
11396 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
11397 anons, e, anone to force their allocation by the compiler.
11398
113992006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
11400
11401 * gdb.base/help.exp: Update expected text for help d and
11402 help delete.
11403
27ce9a6d
MK
114042006-05-02 Mark Kettenis <kettenis@gnu.org>
11405
11406 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
11407 NetBSD/ELF targets.
11408
8608915f
MK
114092006-04-30 Mark Kettenis <kettenis@gnu.org>
11410
11411 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
11412 single-step breakpoint fails; make this a KFAIL on
11413 sparc*-*-openbsd*.
11414 * gdb.base/siginfo.exp: Likewise.
11415 * gdb.base/sigstep.exp (advance, advancei): Likewise.
11416
b8db102d
MS
114172006-04-26 Michael Snyder <msnyder@redhat.com>
11418
11419 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
11420 which may have to consume output from other forks.
11421 Add tests to make sure that "delete fork" succeeded.
11422
c702009a
MS
114232006-04-20 Michael Snyder <msnyder@redhat.com>
11424
11425 * 2006-03-22 Jim Blandy <jimb@redhat.com>
11426 Add support for the Renesas M32C and M16C.
11427
11428 * gdb.asm/asm-source.exp: Add m32c target.
11429 * gdb.asm/m32c.inc: Support for m32c target.
11430
e28493f2
AS
114312006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
11432
11433 * gdb.base/commands.exp (recursive_source_test): New test.
11434
880da185
DM
114352006-04-04 David S. Miller <davem@sunset.davemloft.net>
11436
11437 * gdb.base/float.exp: Add pattern for sparc targets.
11438
61d9b92f
DJ
114392006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
11440
11441 * gdb.base/commands.exp (stray_arg0_test): New test.
11442
bd717df8
PB
114432006-03-30 Paul Brook <paul@codesourcery.com>
11444
11445 * gdb.mi/mi-until.exp: kfail broken until command.
11446 * gdb.mi/mi2-until.exp: Ditto.
11447
ec793d3c
NR
114482006-03-27 Nick Roberts <nickrob@snap.net.nz>
11449
11450 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
11451
831004b7
AO
114522006-03-08 Alexandre Oliva <aoliva@redhat.com>
11453
11454 * gdb.base/prelink.exp: Anchor tested-for regular expression
11455 on gdb prompt.
11456
effe49a0
PB
114572006-03-07 Paul Brook <paul@codesourcery.com>
11458
11459 * gdb.base/assign.exp: Correct fail message.
11460
e5461016
PB
114612006-03-07 Paul Brook <paul@codesourcery.com>
11462
11463 * lib/compiler.c: Extract armcc version number.
11464 * lib/compiler.cc: Ditto.
11465
fc91c6c2
PB
114662006-03-07 Paul Brook <paul@codesourcery.com>
11467
11468 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
11469 additional_flags=-w.
11470 * gdb.arch/altivec-regs.exp: Ditto.
11471 * gdb.arch/e500-abi.exp: Ditto.
11472 * gdb.arch/e500-regs.exp: Ditto.
11473 * gdb.base/all-bin.exp: Ditto.
11474 * gdb.base/annota1.exp: Ditto.
11475 * gdb.base/annota3.exp: Ditto.
11476 * gdb.base/args.exp: Ditto.
11477 * gdb.base/arithmet.exp: Ditto.
11478 * gdb.base/assign.exp: Ditto.
11479 * gdb.base/async.exp: Ditto.
11480 * gdb.base/bang.exp: Ditto.
11481 * gdb.base/break.exp: Ditto.
11482 * gdb.base/call-rt-st.exp: Ditto.
11483 * gdb.base/completion.exp: Ditto.
11484 * gdb.base/cond-expr.exp: Ditto.
11485 * gdb.base/condbreak.exp: Ditto.
11486 * gdb.base/consecutive.exp: Ditto.
11487 * gdb.base/define.exp: Ditto.
11488 * gdb.base/display.exp: Ditto.
11489 * gdb.base/ena-dis-br.exp: Ditto.
11490 * gdb.base/environ.exp: Ditto.
11491 * gdb.base/eval-skip.exp: Ditto.
11492 * gdb.base/info-proc.exp: Ditto.
11493 * gdb.base/jump.exp: Ditto.
11494 * gdb.base/logical.exp: Ditto.
11495 * gdb.base/long_long.exp: Ditto.
11496 * gdb.base/maint.exp: Ditto.
11497 * gdb.base/miscexprs.exp: Ditto.
11498 * gdb.base/pc-fp.exp: Ditto.
11499 * gdb.base/pointers.exp: Ditto.
11500 * gdb.base/relational.exp: Ditto.
11501 * gdb.base/reread.exp: Ditto.
11502 * gdb.base/sect-cmd.exp: Ditto.
11503 * gdb.base/sep.exp: Ditto.
11504 * gdb.base/sepdebug.exp: Ditto.
11505 * gdb.base/until.exp: Ditto.
11506 * gdb.base/whatis-exp.exp: Ditto.
11507 * gdb.cp/annota2.exp: Ditto.
11508 * gdb.cp/annota3.exp: Ditto.
11509 * gdb.trace/actions.exp: Ditto.
11510 * gdb.trace/backtrace.exp: Ditto.
11511 * gdb.trace/circ.exp: Ditto.
11512 * gdb.trace/collection.exp: Ditto.
11513 * gdb.trace/deltrace.exp: Ditto.
11514 * gdb.trace/infotrace.exp: Ditto.
11515 * gdb.trace/limits.exp: Ditto.
11516 * gdb.trace/packetlen.exp: Ditto.
11517 * gdb.trace/passc-dyn.exp: Ditto.
11518 * gdb.trace/passcount.exp: Ditto.
11519 * gdb.trace/report.exp: Ditto.
11520 * gdb.trace/save-trace.exp: Ditto.
11521 * gdb.trace/tfind.exp: Ditto.
11522 * gdb.trace/tracecmd.exp: Ditto.
11523 * gdb.trace/while-dyn.exp: Ditto.
11524 * gdb.trace/while-stepping.exp: Ditto.
11525 * lib/gdb.exp: Ditto.
11526 (gdb_compile): Handle nowarning option.
11527
5f4a23d9
AO
115282006-03-07 Alexandre Oliva <aoliva@redhat.com>
11529
11530 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
11531 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
11532 Rename executable to prelinkt. Don't re-prelink if we didn't
11533 get a core file. Test prelink -u exit status to tell whether
11534 prelinking failed. Use gdb_test_multiple.
11535
9733fc94
DJ
115362006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
11537
11538 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
11539 (do_tests): Call it.
11540
cc10cae3
AO
115412006-02-28 Alexandre Oliva <aoliva@redhat.com>
11542
11543 * gdb.base/prelink.exp: New test.
11544 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
11545
15c46491
WZ
115462006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
11547
11548 * gdb.fortran/derived-type.f90: New file.
11549 * gdb.fortran/derived-type.exp: New testcase.
11550
5c9f7ded
DJ
115512006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
11552
11553 * gdb.base/default.exp: Allow ';' as a directory separator.
11554
5b96932b
AS
115552006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
11556
11557 * gdb.base/help.exp (help add-symbol-file): Update.
11558
1986bccd
AS
115592006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
11560
11561 * gdb.base/help.exp (help load): Update expected results.
11562
a8b7528f
FF
115632006-02-19 Fred Fish <fnf@specifix.com>
11564
11565 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
11566 specifix hex value as part of results.
11567 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 11568
f8261448
FF
115692006-02-16 Fred Fish <fnf@specifix.com>
11570
11571 * gdb.base/whatis.c: Define variables using typedefs char_addr,
11572 ushort_addr, and slong_addr, so the typedefs are not optimized
11573 away.
11574 * gdb.base/whatis.exp: Add tests using type name for struct type,
11575 union type, enum type, and typedef.
a9c64011 11576
31d8bdd2
MK
115772006-02-13 Mark Kettenis <kettenis@gnu.org>
11578
11579 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
11580
34e41e63
JB
115812006-02-13 Jim Blandy <jimb@redhat.com>
11582
11583 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
11584 case where it takes two "next" commands to skip past the init
11585 call.
11586
ac6e4f31
FF
115872006-02-12 Fred Fish <fnf@specifix.com>
11588
11589 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
11590 to handle cases where it takes two "next" commands to skip
11591 past the init call.
11592
2db2d571
JB
115932006-02-07 Joel Brobecker <brobecker@adacore.com>
11594
11595 * gdb.ada/array_return.exp: Mark the last test as expected to fail
11596 on hppa32 targets.
11597
38fcd64c
DJ
115982006-02-06 Vladimir Prus <ghost@cs.msu.su>
11599
11600 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
11601 field.
11602
1315ad46
MK
116032006-01-29 Mark Kettenis <kettenis@gnu.org>
11604
11605 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
11606
5625b943
DJ
116072006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
11608
11609 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
11610 files.
11611
80df1bbe
DJ
116122006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
11613
11614 * gdb.cp/maint.exp: Set complaints to a positive value.
11615
9078e690
DJ
116162006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
11617
11618 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
11619 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
11620 function name.
11621
9c903399
DJ
116222006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
11623
11624 * gdb.base/checkpoint.c: Update copyright notice. Include
11625 <stdlib.h>.
11626
761ae4d6
JB
116272006-01-04 Jim Blandy <jimb@redhat.com>
11628
11629 * gdb.asm/asm-source.exp: Independently provide default values for
11630 asm-flags and debug-flags. Use 'string equal' to do the
11631 comparison, not the implicit expr's '==' operator. Remove
11632 now-unneeded assignments to asm-flags. In h8300 case, place
11633 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
11634
099ac3dd
MS
116352006-01-04 Michael Snyder <msnyder@redhat.com>
11636
11637 * gdb.base/checkpoint.c: New file.
11638 * gdb.base/checkpoint.exp: New file.
11639 * gdb.base/multi-fork.c: New file.
11640 * gdb.base/multi-fork.exp: New file.
11641 * gdb.base/pi.txt: New file (data for checkpoint.c test).
11642
f4d85314
FF
116432006-01-04 Fred Fish <fnf@specifix.com>
11644
11645 * gdb.base/ptype.c (foo): Add typedef.
11646 (intfoo): Add function.
11647 * gdb.base/ptype1.c: New file.
11648 * gdb.base/ptype.exp: Handle compilation and linking with two
11649 source files. Test that proper type for "foo" is found based
11650 on source context rather than first match found in symtabs.
11651
a1b06f35
MK
116522005-12-28 Mark Kettenis <kettenis@gnu.org>
11653
11654 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
11655 * gdb.asm/openbsd.inc: Indent commands.
11656
d082a1e2
MK
116572005-12-26 Mark Kettenis <kettenis@gnu.org>
11658
c65016bd
MK
11659 * gdb.base/freebpcmd.exp: Increase timeout.
11660
d082a1e2
MK
11661 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
11662
d3c32a0e
DJ
116632005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
11664
11665 * gdb.base/default.exp: Update check for "show version".
11666
9fdb1f50
RC
116672005-12-09 Randolph Chung <tausq@debian.org>
11668
11669 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
11670 * gdb.asm/pa64.inc: New file.
11671
5f2c56f7
RC
116722005-12-09 Randolph Chung <tausq@debian.org>
11673
11674 * gdb.asm/common.inc: Indent commands.
11675 * gdb.asm/asmsrc1.s: Likewise.
11676 * gdb.asm/asmsrc2.s: Likewise.
11677
8117349c
RC
116782005-12-09 Randolph Chung <tausq@debian.org>
11679
11680 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
11681 (get_addr_of_sym): Remove duplicate print.
11682 (gen_core): xfail hppa*-*-hpux*, update expected output.
11683 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
11684 * gdb.arch/pa64-nullify.s: New file.
11685
8f07f25a
RC
116862005-12-09 Randolph Chung <tausq@debian.org>
11687
11688 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
11689
55b39184
DJ
116902005-12-07 Christophe Lyon <christophe.lyon@st.com>
11691
11692 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
11693 code generation for these functions.
11694 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
11695 error message.
11696
31e2b00f
AS
116972005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
11698
11699 * gdb.base/help.exp (help b, help br, help bre, help brea)
11700 (help break): Update the expected message.
11701
c3d0b56e
SC
117022005-11-11 Stephane Carrez <stcarrez@nerim.fr>
11703
11704 * gdb.asm/m68hc11.inc: Setup the data section.
11705 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
11706 script for this test.
11707 (m6812-*-*): Likewise.
11708
36ae0ea9
RC
117092005-11-09 Randolph Chung <tausq@debian.org>
11710
11711 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
11712
9d6f42e9
WZ
117132005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
11714
11715 * gdb.base/break.exp: Fix a comment typo.
11716
e2126a14
EZ
117172005-11-03 Jim Blandy <jimb@redhat.com>
11718
a9c64011
AS
11719 Checked in by Elena Zannoni <ezannoni@redhat.com>
11720
889bf7c5 11721 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
e2126a14 11722
e0ac7199
CV
117232005-11-02 Corinna Vinschen <vinschen@redhat.com>
11724
11725 * gdb.arch/gdb1558.c: Include stdio.h.
11726
31d3fb18
MK
117272005-10-31 Mark Kettenis <kettenis@gnu.org>
11728
11729 * gdb.asm/asm-source.exp: Use -e instead of --entry.
11730
e52b687c
MK
117312005-10-31 Mark Kettenis <kettenis@gnu.org>
11732
11733 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
11734
f4711d79
PG
117352005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
11736
a9c64011
AS
11737 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
11738 vscr" tests to better match output.
f4711d79 11739
987a9106
JB
117402005-10-12 Jim Blandy <jimb@redhat.com>
11741
11742 * gdb.base/structs.exp (any): New function.
11743 (test_struct_returns): Don't make any assumptions at all about
11744 what value the function returns when GDB can't set the return
11745 value.
11746
2336bb58
JB
117472005-10-09 Joel Brobecker <brobecker@adacore.com>
11748
11749 * gdb.ada/arrayidx/p.adb: New file.
11750 * gdb.ada/arrayidx.exp: New testcase
11751
117522005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
11753
11754 * gdb.ada/array_return/pck.ads: New file.
11755 * gdb.ada/array_return/pck.adb: New file.
11756 * gdb.ada/array_return/p.adb: New file.
11757 * gdb.ada/array_return.exp: New testcase.
11758
705335ea
JB
117592005-10-03 Joel Brobecker <brobecker@adacore.com>
11760
a9c64011
AS
11761 * gdb.base/arrayidx.c: New file.
11762 * gdb.base/arrayidx.exp: New testcase.
705335ea 11763
11ee9940
NR
117642005-09-29 Nick Roberts <nickrob@snap.net.nz>
11765
11766 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
11767 frames-invalid and breakpoints-invalid are no longer generated
11768 with level 3 so don't expect them in the output.
11769
39fb8e9e
BR
117702005-09-27 Bob Rossi <bob@brasko.net>
11771
a9c64011 11772 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
11773 from test. Escape the | in mi_gdb_test call.
11774 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
11775 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
11776 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
11777 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
11778 expected regex's in mi_gdb_test calls.
11779 * lib/mi-support.exp: Remove arbitrary .* from tests.
11780 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
11781 Fully anchor GDB/MI expected results in mi_gdb_test.
11782 * lib/gdb.exp (string_to_regexp): Escape the ] character.
11783 * gdb.base/sizeof.exp: Remove escape character. Correct test.
11784
2af48f68
PB
117852005-09-26 Paul Brook <paul@codesourcery.com>
11786
11787 * long_long.exp: Exclude eabi targets from arm FPA float format test.
11788
f34502bc
WZ
117892005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
11790
11791 * bfp-test.c: New file.
11792 * bfp-test.exp: New testcase.
11793
ca929517
WZ
117942005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
11795
11796 * gdb.fortran/subarray.exp: New testcase to test the evaluation
11797 of subarray and substring variable.
11798 * gdb.fortran/subarray.f: New source file for the test of subarray
11799 and substring variable evaluation.
11800 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
11801 of string constant.
11802
c761af65
DJ
118032005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
11804
11805 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
11806 copyright dates.
11807
561d7a1d
PG
118082005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
11809
11810 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
11811 powerpc altivec' test with an almost identical 'info vector' test.
11812
b2b64cc9
PG
118132005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
11814
a9c64011
AS
11815 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
11816 vscr" tests to match output.
b2b64cc9 11817
6ac4d15a
PG
118182005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
11819
a9c64011
AS
11820 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
11821 output.
6ac4d15a 11822
40e55bef
BR
118232005-09-11 Bob Rossi <bob@brasko.net>
11824
889bf7c5
PA
11825 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
11826 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
11827 commands that return an MI output command and an asyncronous MI output
11828 command.
40e55bef
BR
11829 * gdb.mi/mi-console.exp: Ditto.
11830
3c7385ec
BR
118312005-09-11 Bob Rossi <bob@brasko.net>
11832
11833 * gdb.mi/mi-var-child.c: Include <string.h>.
11834
a6cd0eb3
DJ
118352005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
11836
11837 * killed.exp: Correct gdb_expect syntax.
11838
2f168eed
CV
118392005-08-09 Corinna Vinschen <vinschen@redhat.com>
11840
11841 * lib/mi-support.exp (mi_gdb_load): Fix typo.
11842
ecd3fd0f
BR
118432005-08-02 Bob Rossi <bob@brasko.net>
11844
11845 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
11846 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
11847 Change tests to inferior-tty-set/show.
11848 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
11849 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
11850 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
11851 inferior. Use mi_gdb_test to get GDB and Inferior output.
11852 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
11853 descriptor.
11854 (mi_inferior_tty_name): Add inferior PTY file name.
11855 (mi_gdb_start): Add INFERIOR_PTY parameter.
11856 (mi_gdb_test): Add IPATTERN parameter.
11857
f1ea48cb 118582005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 11859
f1ea48cb
BR
11860 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
11861 parameter to mi_gdb_test.
11862 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
11863
6e650a67
DJ
118642005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
11865
11866 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
11867 struct_declarations.
11868 * gdb.mi/mi-var-child.exp: Step over the initialization of
11869 struct_declarations.
11870
8be260b6
DJ
118712005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
11872
11873 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
11874 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
11875 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
11876 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
11877 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
11878 file.
11879
4e660f07
NR
118802005-07-27 Nick Roberts <nickrob@snap.net.nz>
11881
11882 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
11883 (do_children_tests): Assign values to the extra elements.
11884
11885 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
11886 them for tests for "-var-update --no-values" and
a9c64011 11887 "-var-update --all-values".
4e660f07
NR
11888 Add test for "-var-list-children --simple-values".
11889
11890 * gdb.mi/basics.c (callee4): Add integer array D[3]...
11891
11892 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
11893 "-stack-list-locals --simple-values" Improve doc strings and
11894 comments.
11895
6bdae935
MK
118962005-07-18 Mark Kettenis <kettenis@gnu.org>
11897
598b7a6f
MK
11898 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
11899 *-*-openbsd*.
11900 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
11901
6bdae935
MK
11902 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
11903 sigaltsatck'.
11904
1323e929 119052005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 11906
1323e929
BR
11907 * gdb.base/default.exp (tty): Changed output of command.
11908 * gdb.base/help.exp (help tty): Ditto.
11909
b1a9c082
MK
119102005-07-12 Mark Kettenis <kettenis@gnu.org>
11911
11912 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
11913
10a844a2
MK
119142005-07-10 Mark Kettenis <kettenis@gnu.org>
11915
11916 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
11917 -stack-select-frame without arguments.
11918 (test_stack_frame_listing): Add test for newly implemented command
11919 -stack-info-frame.
11920
3cb3b8df
BR
119212005-07-06 Bob Rossi <bob@brasko.net>
11922
11923 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
11924 command.
11925 (Copyright): Update copyright.
11926
a0c5fbcf
WZ
119272005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
11928
11929 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
11930 tests to evaluate exponentiation expression.
11931
984971d0
AS
119322005-06-29 Andreas Schwab <schwab@suse.de>
11933
11934 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
11935 main to avoid warnings.
11936
11937 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
11938
fe03833f
NR
119392005-06-20 Nick Roberts <nickrob@snap.net.nz>
11940
11941 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
11942 -stack-select-frame without arguments.
11943 (test_stack_frame_listing): Add test for newly implemented command
11944 -stack-info-frame.
a9c64011 11945
7a55f279
WZ
119462005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
11947
0ffa0ea5
DJ
11948 * gdb.fortran/array-element.f: New file.
11949 * gdb.fortran/array-element.exp: New testcase.
7a55f279 11950
26585198
DJ
119512005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
11952
11953 * gdb.base/bigcore.exp: Correct checks for systems which can
11954 not dump a large core file.
11955
c1bd25fd
DJ
119562005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
11957
11958 * gdb.base/relocate.c: Add a copyright notice.
11959 (dummy): Remove.
11960 * gdb.base/relocate.exp: Test printing the values of variables
11961 from a relocatable file.
11962
589e074d
DJ
119632005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
11964
11965 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
11966 excess MI output after an error.
11967
0915f927
JB
119682005-05-29 Joel Brobecker <brobecker@adacore.com>
11969
11970 * gdb.arch/alpha-step.c: New file.
11971 * gdb.arch/alpha-step.exp: New testcase.
11972
76ff342d
DJ
119732005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
11974 Dennis Brueni <dennis@slickedit.com>
11975
11976 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
11977 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
11978 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
11979 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
11980 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
11981 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
11982 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
11983
96b0c7ac
DJ
119842005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
11985 Wu Zhou <woodzltc@cn.ibm.com>
11986
11987 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
11988 IBM's xlc compiler.
11989 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
11990 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
11991
f21565d2
JB
119922005-05-13 Jim Blandy <jimb@redhat.com>
11993
11994 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
11995 calling gdb_suppress_entire_file.
11996 * gdb.base/charset.exp: Same.
11997 * gdb.base/call-rt-st.exp: Same.
11998
6006a3a1
BR
119992005-05-05 Bob Rossi <bob_rossi@cox.net>
12000
12001 * lib/gdb.exp (fullname_syntax): Added global regex.
12002 (fullname_syntax_POSIX): Ditto.
12003 (fullname_syntax_UNC): Ditto.
12004 (fullname_syntax_DOS_CASE): Ditto.
12005 (fullname_syntax_DOS): Ditto.
12006 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
12007 fullname_syntax variable to scope and use it.
12008 (test_file_list_exec_source_files): Ditto.
12009 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
12010
c3b69c04
DJ
120112005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
12012
12013 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
12014
3c95e6af
PG
120152004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
12016
a9c64011
AS
12017 * lib/gdb.exp (skip_altivec_tests): New function, based on
12018 check_vmx_hw_available from the GCC testsuite.
12019 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
12020 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 12021
78df6c56
JB
120222005-05-02 Jim Blandy <jimb@redhat.com>
12023
12024 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
12025 calling gdb_suppress_entire_file.
12026
1690f9cf
DJ
120272005-04-30 Randolph Chung <tausq@debian.org>
12028
12029 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
12030 Slightly relax "sem_post" name checking.
12031
5ea106f7
PG
120322005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
12033
12034 * gdb.base/unload.exp: Use new shared library infrastructure.
12035
bf7234cf
PG
120362005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
12037
12038 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 12039 infrastructure.
bf7234cf 12040
547b869a
CV
120412005-04-29 Corinna Vinschen <vinschen@redhat.com>
12042
12043 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
12044 * gdb.asm/h8300.inc: New file.
12045
f07e55f0
PG
120462005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
12047
12048 * gdb.base/shlib-call.exp: Change to use new shared library
12049 infrastructure.
12050
3cbba3d1
PG
120512005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
12052
a9c64011
AS
12053 * gdb.base/pending.exp: Change to use new shared library
12054 infrastructure.
3cbba3d1 12055
ed6df200
PG
120562005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
12057
a9c64011
AS
12058 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
12059 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 12060
8c8f4ebe
PG
120612005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
12062
a9c64011
AS
12063 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
12064 shared objects being adjusted and update copyright years.
8c8f4ebe 12065
607fbc54
DJ
120662005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
12067
12068 * ChangeLog: Correct some 2003-01-13 dates.
12069 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
12070 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
12071 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
12072 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
12073 gdb.trace/tfind.exp: Update copyright years.
12074
57bf0e56
DJ
120752005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
12076 Daniel Jacobowitz <dan@codesourcery.com>
12077
12078 * lib/gdb.exp (gdb_compile): Handle shlib=.
12079 (gdb_compile_shlib): New function.
12080
9b593790
PG
120812005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
12082
a9c64011 12083 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 12084
9494c6a5
DJ
120852005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
12086
12087 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
12088 gdb.server.
12089 * configure.ac: Likewise.
12090 * configure: Regenerated.
12091 * gdb.gdbserver/Makefile.in: Moved to...
12092 * gdb.server/Makefile.in: ... here.
12093 * gdb.gdbserver/server.c: Moved to...
12094 * gdb.server/server.c: ... here.
12095 * gdb.gdbserver/server-run.exp: Moved to...
12096 * gdb.server/server-run.exp: ... here.
12097
6f8eac0e
DJ
120982005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
12099
12100 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
12101 * configure.ac: Create gdb.gdbserver/Makefile.
12102 * configure: Regenerated.
12103 * lib/gdbserver-support.exp: New file, derived from
12104 config/gdbserver.exp.
12105 * config/gdbserver.exp: Use gdbserver-support.exp.
12106 * gdb.gdbserver/Makefile.in: New file.
12107 * gdb.gdbserver/server.c: New file.
12108 * gdb.gdbserver/server-run.exp: New file.
12109
6e87504d
PG
121102005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
12111
a9c64011
AS
12112 * lib/gdb.exp (test_compiler_info): Return compiler_info
12113 if no arguments are given.
6e87504d 12114
d1779be4
PG
121152005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
12116
12117 * gdb.arch/altivec-abi.exp: Check for compiler and set
12118 use altivec' flag accordingly.
12119 * gdb.arch/altivec-regs.exp: Likewise.
12120
88750304
DJ
121212005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
12122
12123 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
12124
f3fb768d
AS
121252005-03-27 Andreas Schwab <schwab@suse.de>
12126
12127 * gdb.base/bigcore.c (main): Add missing mode argument in open
12128 call.
12129
7e813ac5
DJ
121302005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
12131
12132 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
12133 downloads.
12134 * config/gdbserver.exp (gdb_load): Likewise.
12135
8e3049aa
PB
121362005-03-14 Paul Brook <paul@codesourcery.com>
12137
12138 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
12139 targets.
12140
a9df7c44
JB
121412005-03-09 Joel Brobecker <brobecker@adacore.com>
12142
12143 * gdb.dwarf2/dup-psym.S: New file.
12144 * gdb.dwarf2/dup-psym.exp: New testcase.
12145
9f0d94e8
JB
121462005-03-09 Joel Brobecker <brobecker@adacore.com>
12147
12148 * gdb.ada/exec_changed/first.adb: New file.
12149 * gdb.ada/exec_changed/second.adb: New file.
12150 * gdb.ada/exec_changed.exp: New testcase.
12151
5f579bc5
NS
121522005-03-08 Nathan Sidwell <nathan@codesourcery.com>
12153
36e9969c
NS
12154 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
12155 (A2): New class.
12156 (main): Test operator+.
12157 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
12158 breakpoint test.
12159
5f579bc5
NS
12160 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
12161 * gdb.base/signull.exp: Disable if gdb,nosignals.
12162 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
12163 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
12164 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
12165 * gdb.mi/mi2-console.exp: Likewise.
12166 * gdb.trace/collection.exp (run_trace_experiment): Consume the
12167 continue output at start.
12168 (gdb_collect_locals_test): Robustify regexp.
12169 * gdb.trace/passc-dyn.exp: Fix comment typo.
12170 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
12171
be46087e
CV
121722005-03-08 Corinna Vinschen <vinschen@redhat.com>
12173
12174 * gdb.asm/asm-source.exp: Add iq2000 case.
12175 * gdb.asm/iq2000.inc: New file.
12176
384e1a61 121772005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 12178
384e1a61
MI
12179 * gdb.base/command.exp: Change hardcoded value to regular expression.
12180 * gdb.base/float.exp: Add powerpc to the list of targets checked.
12181
584b6e9e
DJ
121822005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
12183
12184 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
12185 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
12186 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
12187 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
12188 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
12189
ab5b5d61
MK
121902005-03-05 Mark Kettenis <kettenis@gnu.org>
12191
12192 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
12193 changes.
12194
ae051c1b
PG
121952004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
12196
a9c64011
AS
12197 * lib/compiler.c: Add test for IBM's xlc compiler.
12198 * lib/compiler.cc: Likewise.
ae051c1b 12199
3f0f6ed2
JB
122002004-02-24 Joel Brobecker <brobecker@adacore.com>
12201
12202 * gdb.ada/fixed_points.exp: Create compilation object directory
12203 before running the test.
12204 * gdb.ada/null_record.exp: Likewise.
12205 * gdb.ada/packed_array.exp: Likewise.
12206 * gdb.ada/start.exp: Likewise.
12207
724f452b
JB
122082005-02-15 Joel Brobecker <brobecker@adacore.com>
12209
12210 * gdb.ada/packed_array/pa.adb: New file.
12211 * gdb.ada/packed_array.exp: New testcase.
12212
57f5cdfb 122132005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 12214
1f393151
MK
12215 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
12216 files.
12217
ebdda337
MK
12218 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
12219 on *-*-openbsd*. Correctly match whitespace in regukar
12220 expressions.
12221
cf309262
DJ
122222005-02-10 Daniel Jacobowitz <dan@debian.org>
12223
12224 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
12225 PR exp/1821
12226 * gdb.base/gdb1821.c: New test file.
12227 * gdb.base/gdb1821.exp: New test file.
12228
3be49e7a
JB
122292005-02-09 Joel Brobecker <brobecker@adacore.com>
12230
12231 * gdb.base/start.c: New file.
12232 * gdb.base/start.exp: New testcase.
12233
e292e67d
JB
122342005-02-09 Joel Brobecker <brobecker@adacore.com>
12235
12236 * gdb.ada/start/dummy.adb: New file.
12237 * gdb.ada/start.exp: New testcase.
12238
dbdfa66c
CV
122392005-02-09 Corinna Vinschen <vinschen@redhat.com>
12240
12241 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
12242 for printing symbols and statistics.
12243 Add test for using relative pathnames in "maint print msymbols" test.
12244 Mark "maint info sections DATA" XFAIL on Cygwin.
12245 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
12246 tests.
12247
d7941671
AC
122482005-02-09 Andreas Schwab <schwab@suse.de>
12249
12250 Committed by Andrew Cagney <cagney@gnu.org>
12251 * gdb.base/remotetimeout.exp: New file.
12252
74e5ef44
MK
122532005-02-07 Mark Kettenis <kettenis@gnu.org>
12254
12255 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
12256
464dd14d
JB
122572005-02-03 Joel Brobecker <brobecker@adacore.com>
12258
12259 * gdb.ada/gnat_ada.gpr: New file.
12260 * gdb.ada/gnat_ada.gin: Delete, no longer used.
12261 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
12262 * configure.ac: No longer generate gnat_ada.gpr.
12263 * configure: Regenerate.
12264 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
12265 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
12266 * gdb.ada/null_record/bar.ads: Likewise.
12267 * gdb.ada/null_record/bar.adb: Likewise.
12268 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
12269 * gdb.ada/null_record.exp (testdir): New variable.
12270 (testfile): executable is now in testdir subdirectory.
12271 (srcfile): Use full path to the main compilation unit.
12272 * gdb.ada/fixed_points.exp: Same changes as above.
12273
30d756ae
NR
122742005-02-03 Nick Roberts <nickrob@snap.net.nz>
12275
12276 * gdb.base/interp.exp: New test.
12277
9d799f85
AC
122782005-01-24 Andrew Cagney <cagney@gnu.org>
12279
12280 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
12281
15656118
AC
122822005-01-19 Andrew Cagney <cagney@gnu.org>
12283
a892c31b
AC
12284 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
12285 configure.ac not configure.in.
12286
15656118
AC
12287 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
12288 of powerpc*-*-*.
12289 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 12290 * gdb.base/list.exp (test_list_function)
15656118
AC
12291 (test_list_filename_and_function): Ditto.
12292 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
12293
a7b01baf
AC
122942005-01-16 Andrew Cagney <cagney@gnu.org>
12295
17d92a02
AC
12296 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
12297
a7b01baf
AC
12298 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
12299
bc8332bb
AC
123002005-01-14 Andrew Cagney <cagney@gnu.org>
12301
12302 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
12303 * gdb.mi/mi2-var-cmd.exp: Ditto.
12304
4d074752
CV
123052005-01-10 Corinna Vinschen <vinschen@redhat.com>
12306
12307 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
12308
bec39cab
AC
123092005-01-07 Andrew Cagney <cagney@gnu.org>
12310
12311 * configure.ac: Rename configure.in, require autoconf 2.59.
12312 * configure: Re-generate.
12313 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
12314 * gdb.stabs/configure: Re-generate.
12315 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
12316 * gdb.hp/configure: Re-generate.
12317 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
12318 autoconf 2.59.
12319 * gdb.hp/gdb.objdbg/configure: Re-generate.
12320 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
12321 autoconf 2.59.
12322 * gdb.hp/gdb.defects/configure: Re-generate.
12323 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
12324 autoconf 2.59.
12325 * gdb.hp/gdb.compat/configure: Re-generate.
12326 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
12327 autoconf 2.59.
12328 * gdb.hp/gdb.base-hp/configure: Re-generate.
12329 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
12330 autoconf 2.59.
12331 * gdb.hp/gdb.aCC/configure: Re-generate.
12332
f10b16d4
JB
123332004-12-15 Jim Blandy <jimb@redhat.com>
12334
12335 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
12336 under NPTL when there is debugging info available for libpthread.
12337
fb6e1814
JG
123382004-12-13 Jerome Guitton <guitton@gnat.com>
12339
12340 * gdb.ada/fixed_points.c: New file.
12341 * gdb.ada/fixed_points.exp: New file.
12342
fe46cd3a
RC
123432004-12-03 Randolph Chung <tausq@debian.org>
12344
12345 * gdb.arch/pa-nullify.exp: New file.
12346 * gdb.arch/pa-nullify.s: New file.
12347
8de0841b
RC
123482004-11-30 Randolph Chung <tausq@debian.org>
12349
12350 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
12351 instead of "tbug". Fix regexp to work properly with gdb_test.
12352
c8170782
PH
123532004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
12354
12355 * gdb.base/bitfields2.exp: New test.
12356 * gdb.base/bitfields2.c: New file.
12357
954269c2
RE
123582004-11-28 Richard Earnshaw <rearnsha@arm.com>
12359
12360 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
12361
0107feed
RC
123622004-11-16 Randolph Chung <tausq@debian.org>
12363
12364 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
12365
f073ae8c
DJ
123662004-11-14 Daniel Jacobowitz <dan@debian.org>
12367
12368 * gdb.threads/threadapply.exp: Correct "macro details" test.
12369
19ad59e7
JJ
123702004-11-11 Jeff Johnston <jjohnstn@redhat.com>
12371
12372 * gdb.threads/threadapply.exp: New test.
12373 * gdb.threads/threadapply.c: New file.
12374
9cf0961b
MK
123752004-11-07 Mark Kettenis <kettenis@gnu.org>
12376
12377 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
12378 frames.
12379
c789492a
FL
123802004-11-05 Felix Lee <felix+log1@specifixinc.com>
12381
12382 * gdb.base/cursal.exp: New file.
12383 * gdb.base/cursal.c: New file.
12384
a1e167bb
AC
123852004-11-03 Andrew Cagney <cagney@gnu.org>
12386
12387 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
12388
b7cbf173
MK
123892004-10-30 Mark Kettenis <kettenis@gnu.org>
12390
12391 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
12392 NetBSD/ELF targets.
12393
88f9d34f
JB
123942004-10-29 Joel Brobecker <brobecker@gnat.com>
12395
12396 * gdb.threads/bp_in_thread.c: New file, copied from
12397 pthread_cond_wait.c.
12398 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
12399 file, rather than reusing the .c file from another testcase.
12400
ca7d6a0c
JB
124012004-10-20 Joel Brobecker <brobecker@gnat.com>
12402
12403 * gdb.ada/null_record.exp: Check where we stopped after
12404 sending the start command, instead of where the associated
12405 temporary breakpoint was inserted.
12406
0d863d03
AC
124072004-10-14 Andrew Cagney <cagney@gnu.org>
12408
12409 * gdb.mi/gdb701.c (main): Return 0.
12410
d11e72cb
DJ
124112004-10-13 Daniel Jacobowitz <dan@debian.org>
12412
d40539a4 12413 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 12414
e1923096
JJ
124152004-10-12 Jeff Johnston <jjohnstn@redhat.com>
12416
12417 * gdb.threads/schedlock.c: Add comment markers to use to find
12418 line numbers.
12419 * gdb.threads/schedlock.exp: Adjust regex to handle the new
12420 comments.
12421 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
12422 breakpoint lines.
12423
ec8ba2c9
DJ
124242004-10-12 Daniel Jacobowitz <dan@debian.org>
12425
12426 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
12427
0eb3658b
DJ
124282004-10-12 Daniel Jacobowitz <dan@debian.org>
12429
12430 * configure.in: Add gdb.dwarf2.
12431 * configure: Regenerated.
12432 * Makefile.in: Add gdb.dwarf2.
12433 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
12434 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
12435 gdb.dwarf2/file1.txt: New files.
12436
a271cc33
OF
124372004-10-11 Orjan Friberg <orjanf@axis.com>
12438
a9c64011 12439 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
12440 of "run", since the latter doesn't work with remote targets. Adjust
12441 the breakpoint numbering accordingly.
12442 * gdb.threads/pthread_cond_wait.exp: Ditto.
12443
895ce074
MC
124442004-10-08 Michael Chastain <mec.gnu@mindspring.com>
12445
12446 * gdb.base/overlays.exp: Update copyright years.
12447
6be3092d
KI
124482004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
12449
12450 * gdb.base/overlays.exp: Disable if target is Linux.
12451
e05389b8
FL
124522004-10-06 Felix Lee <felix+log1@specifixinc.com>
12453
12454 * config/gdbserver.exp (gdb_load): Use right filename on remote.
12455
73cb587d
KI
124562004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
12457
12458 * gdb.asm/asm-source.exp: Add m32r-linux target.
12459 * gdb.asm/m32r-linux.inc: New file.
12460
3c0edcdc
AC
124612004-09-24 Andrew Cagney <cagney@redhat.com>
12462 David Anderson <anderson@redhat.com>
12463
12464 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
12465 command fails, assume things will work.
12466 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
12467 (_GNU_SOURCE): Define.
12468 (print_unsigned, print_hex): Change parameter to "long long".
12469 (print_byte_count): New function, use to print byte counts.
12470 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
12471 O_LARGEFILE.
12472 (main): Compute an upper bound on a corefile in max_core_size.
12473 Limit memory chunk size to max_core_size. Limit total memory
12474 allocated to max_core_size.
12475
4bb3667f
AC
124762004-09-23 Andrew Cagney <cagney@gnu.org>
12477
12478 * gdb.base/bigcore.exp: Replace the code that creates a corefile
12479 from a separate process with code that creates a corefile by
12480 making the inferior dump core.
12481
60fe1a51
MK
124822004-09-23 Mark Kettenis <kettenis@gnu.org>
12483
12484 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
12485 block.
12486
8e937346
MC
124872004-09-23 Michael Chastain <mec.gnu@mindspring.com>
12488
12489 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
12490 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
12491 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
12492 Likewise.
12493
7213f6d6
JJ
124942004-09-20 Jeff Johnston <jjohnstn@redhat.com>
12495
12496 * gdb.java/jprint.exp: New test case for java inferior call.
12497 * gdb.java/jprint.java: Ditto.
12498
eac69dca
JB
124992004-09-15 Joel Brobecker <brobecker@gnat.com>
12500
12501 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
12502
22227696
MC
125032004-09-14 Michael Chastain <mec.gnu@mindspring.com>
12504
12505 * gdb.threads/killed.c: Include <stdlib.h>.
12506 * gdb.threads/pthreads.c: Likewise.
12507
7dd403a4
MC
125082004-09-14 Michael Chastain <mec.gnu@mindspring.com>
12509
12510 * gdb.threads/killed.c: Add copyright notice.
12511
33f2d567
JM
125122004-09-10 Jason Molenda (jmolenda@apple.com)
12513
a9c64011
AS
12514 * gdb.base/define.exp: Two new tests to verify zero space chars
12515 after 'if' and 'while' commands in a user-defined command is correctly
12516 parsed.
33f2d567 12517
e05b62ac
AC
125182004-09-08 Andrew Cagney <cagney@gnu.org>
12519
12520 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
12521 delivery test with duplicate at end of file.
12522
9cbe82da
MK
125232004-09-06 Mark Kettenis <kettenis@jive.nl>
12524
12525 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
12526
564803d9
MC
125272004-09-05 Michael Chastain <mec.gnu@mindspring.com>
12528
12529 * config/hppro.exp: Removed.
12530
7c6807ce
MC
125312004-09-05 Michael Chastain <mec.gnu@mindspring.com>
12532
12533 * config/sparclet.exp: Removed.
12534
bf7e26dd
MC
125352004-09-05 Michael Chastain <mec.gnu@mindspring.com>
12536
12537 * config/udi.exp: Removed.
12538
714e341b
MC
125392004-09-02 Michael Chastain <mec.gnu@mindspring.com>
12540
12541 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
12542 of "exp_continue".
12543 (advancei): Likewise.
12544
1236e623
JJ
125452004-09-01 Jeff Johnston <jjohnstn@redhat.com>
12546
12547 * gdb.base/unload.exp: Fix so messages aren't duplicated.
12548
3bdcad15
MI
125492004-09-01 Manoj Iyer <manjo@austin.ibm.com>
12550
228af206 12551 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
12552 to check for nodebug in executable.
12553 * gdb.gdb/observer.exp (setup_test): Likewise.
12554 * gdb.gdb/selftest.exp (test_with_self): Likewise.
12555 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
12556
c72b934c
AC
125572004-09-01 Andrew Cagney <cagney@gnu.org>
12558
12559 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
12560 files.
12561
edd9b715
JJ
125622004-09-01 Jeff Johnston <jjohnstn@redhat.com>
12563
12564 * gdb.base/unload.exp: Fix expected warning message to match
12565 latest format.
12566
fb4ce06b
CV
125672004-09-01 Corinna Vinschen <vinschen@redhat.com>
12568
12569 * gdb.base/call-rt-st.exp: Fix typos.
12570
ce78e7c3
MI
125712004-08-31 Manoj Iyer <manjo@austin.ibm.com>
12572
12573 * gdb.threads/thread_check.exp: New testcase.
12574 * gdb.threads/thread_check.c: New testcase.
12575
2dedb159
AC
125762004-08-31 Andrew Cagney <cagney@gnu.org>
12577
12578 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
12579 (skip_to_handler_entry): New procedures. Test stepping into a
12580 handler when the breakpoint is at the handler's entry point.
12581
68f53502
AC
125822004-08-30 Andrew Cagney <cagney@gnu.org>
12583
12584 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
12585 gdb/1757.
12586
3e3ffd2b
MC
125872004-08-27 Michael Chastain <mec.gnu@mindspring.com>
12588
12589 With code from Manoj Iyer <manjo@austin.ibm.com>:
12590 * lib/gdb.exp (gdb_file_cmd): Return more information in the
12591 return value. Add an arm for "no debugging symbols found".
12592 Change a stray "error" to "perror".
12593 (gdb_run_cmd): Adapt to new return value.
12594 * gdb.base/remote.exp: Adapt to new return value.
12595 * gdb.gdb/complaints.exp: Likewise.
12596 * gdb.gdb/observer.exp: Likewise.
12597 * gdb.gdb/selftest.exp: Likewise.
12598 * gdb.gdb/xfullpath.exp: Likewise.
12599
4b6f5fd2
JB
126002004-08-27 Joel Brobecker <brobecker@gnat.com>
12601
12602 * gdb.threads/bp_in_thread.exp: New testcase.
12603
e5b25496
MC
126042004-08-27 Michael Chastain <mec.gnu@mindspring.com>
12605
12606 Fix PR testsuite/1735.
12607 * gdb.threads/schedlock.c (thread_function): Add a cast
12608 to suppress a gcc warning.
12609 * gdb.threads/thread-specific.c (thread_function): Likewise.
12610
934353d6
MC
126112004-08-26 Michael Chastain <mec.gnu@mindspring.com>
12612
12613 * gdb.base/unload.c: Include <stdlib.h>.
12614
f98a0aef 126152004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 12616
f98a0aef 12617 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
12618 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
12619 synchronized after the "return".
12620
5a2e8882
MC
126212004-08-26 Michael Chastain <mec.gnu@mindspring.com>
12622
12623 * gdb.mi/basics.c: Include <stdio.h>.
12624 * gdb.mi/pthreads.c: Include <stdlib.h>.
12625 * gdb.mi/var-cmd.c: Include <stdlib.h>.
12626
a9640423
MC
126272004-08-26 Michael Chastain <mec.gnu@mindspring.com>
12628
12629 * gdb.threads/schedlock.c: Add copyright notice.
12630
b04e311d
AC
126312004-08-25 Andrew Cagney <cagney@gnu.org>
12632
12633 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
12634 (skip_over_handler, breakpoint_over_hander): New test procedures.
12635 (advance, advancei): Add a proper prefix, do not use
12636 rerun_to_main.
12637 * gdb.base/sigstep.c (main): Change to use an infinite loop.
12638
7c27f15b
MC
126392004-08-24 Michael Chastain <mec.gnu@mindspring.com>
12640
12641 * gdb.mi/basics.c: Add copyright notice.
12642 * gdb.mi/var-cmd.c: Add copyright notice.
12643
fffc87ae
MC
126442004-08-23 Michael Chastain <mec.gnu@mindspring.com>
12645
12646 * lib/gdb.exp: Remove signed_keyword_not_used.
12647 * lib/compiler.c: Likewise.
12648 * lib/compiler.cc: Likewise.
12649
d782e0bf
MC
126502004-08-23 Michael Chastain <mec.gnu@mindspring.com>
12651
12652 * gdb.base/whatis.c: Remove conditional disabling of "signed".
12653 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
12654
96033e83
MC
126552004-08-23 Michael Chastain <mec.gnu@mindspring.com>
12656
12657 * gdb.base/whatis.c: Add copyright notice.
12658
cf38c229
MK
126592004-08-20 Mark Kettenis <kettenis@gnu.org>
12660
12661 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
12662 it to skip the breakpoints encoded in the inline assembly.
12663
f4b49756
MC
126642004-08-20 Michael Chastain <mec.gnu@mindspring.com>
12665
12666 * Makefile.in: Add gdb.fortran.
12667
2f193b69
MC
126682004-08-20 Michael Chastain <mec.gnu@mindspring.com>
12669
12670 * gdb.base/call-sc.exp (test_scalar_returns):
12671 Fix cut-and-paste glitch in "Make fun return now".
12672
89a237cb
MC
126732004-08-17 Michael Chastain <mec.gnu@mindspring.com>
12674
12675 * configure.in: Add gdb.fortran.
12676 * configure: Regenerate.
12677 * gdb.fortran/Makefile.in: New file.
12678 * lib/gdb.exp (skip_fortran_tests): New procedure.
12679
469aff8e
MC
126802004-08-17 Michael Chastain <mec.gnu@mindspring.com>
12681
12682 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
12683 reference to bug-gnu@prep.ai.mit.edu.
12684 * gdb.mi/mi-var-child.exp: Likewise.
12685 * gdb.mi/mi-var-cmd.exp: Likewise.
12686 * gdb.mi/mi-var-display.exp: Likewise.
12687 * gdb.mi/mi2-var-block.exp: Likewise.
12688 * gdb.mi/mi2-var-child.exp: Likewise.
12689 * gdb.mi/mi2-var-cmd.exp: Likewise.
12690 * gdb.mi/mi2-var-display.exp: Likewise.
12691
00b51b9f
MK
126922004-08-15 Mark Kettenis <kettenis@gnu.org>
12693
12694 * gdb.base/unload.c (main): Make local variable msg const.
12695
45f07fef
MC
126962004-08-15 Michael Chastain <mec.gnu@mindspring.com>
12697
12698 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
12699 to bug-gnu@prep.ai.mit.edu.
12700 * gdb.mi/mi-disassemble.exp: Likewise.
12701 * gdb.mi/mi-eval.exp: Likewise.
12702 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
12703 default line number.
12704 * gdb.mi/mi-return.exp: Likewise.
12705 * gdb.mi/mi-simplerun.exp: Likewise.
12706 * gdb.mi/mi-stack.exp: Likewise.
12707 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
12708 number with explicit range test.
12709 * gdb.mi/mi-watch.exp: Likewise.
12710 * gdb.mi/mi2-break.exp: Likewise.
12711 * gdb.mi/mi2-cli.exp: Likewise.
12712 * gdb.mi/mi2-disassemble.exp: Likewise.
12713 * gdb.mi/mi2-eval.exp: Likewise.
12714 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
12715 default line number.
12716 * gdb.mi/mi2-return.exp: Likewise.
12717 * gdb.mi/mi2-simplerun.exp: Likewise.
12718 * gdb.mi/mi2-stack.exp: Likewise.
12719 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
12720 number with explicit range test.
12721 * gdb.mi/mi2-watch.exp: Likewise.
12722
dd8c8ee7
MC
127232004-08-15 Michael Chastain <mec.gnu@mindspring.com>
12724
12725 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
12726 * gdb.cp/m-static.exp: Likewise.
12727 * gdb.cp/rtti.exp: Likewise.
12728
4e838464
MK
127292004-08-14 Mark Kettenis <kettenis@gnu.org>
12730
12731 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
12732
8d8cb839
EZ
127332004-08-14 Eli Zaretskii <eliz@gnu.org>
12734
12735 * ChangeLog: Prefix Local Variables with semi-colons and indent
12736 the reference to older ChangeLog files, to fix fontification in
12737 Emacs.
12738
deea8bb0
MC
127392004-08-13 Michael Chastain <mec.gnu@mindspring.com>
12740
12741 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
12742 * gdb.mi/mi2-break.exp: Likewise.
12743
c3297504
MC
127442004-08-13 Michael Chastain <mec.gnu@mindspring.com>
12745
12746 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
12747
25808999
MC
127482004-08-13 Michael Chastain <mec.gnu@mindspring.com>
12749
12750 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
12751
226a8d71
MC
127522004-08-13 Michael Chastain <mec.gnu@mindspring.com>
12753
12754 * gdb.cp/classes.exp: Remove unused declarations. Just let
12755 test names default instead of providing special names. Remove
12756 extraneous demangler test.
12757
37fdf854
JJ
127582004-08-12 Jeff Johnston <jjohnstn@redhat.com>
12759
12760 * gdb.base/unload.exp: New test for breakpoints in dynamically
12761 loaded libraries.
12762 * gdb.base/unload.c: Ditto.
12763 * gdb.base/unloadshr.c: Ditto.
12764
2d3a7986
MC
127652004-08-12 Michael Chastain <mec.gnu@mindspring.com>
12766
12767 * gdb.cp/classes.exp (test_ptype_class_objects): Call
12768 cp_test_ptype_class.
12769 (test_enums): Likewise.
12770
c72b934c
AC
127712004-08-10 Andrew Cagney <cagney@gnu.org>
12772
12773 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
12774 files.
12775
cc503c8a
AC
127762004-08-10 Andrew Cagney <cagney@gnu.org>
12777
12778 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
12779 init_malloc call.
12780
902f2ccb
MC
127812004-08-10 Michael Chastain <mec.gnu@mindspring.com>
12782
12783 * ChangeLog: Add copyright notice. The notice is copied
12784 from emacs 21.3 top level ChangeLog.
12785
78c90502
MC
127862004-08-09 Michael Chastain <mec.gnu@mindspring.com>
12787
12788 * lib/cp-support.exp: New file.
12789 * lib/cp-support.exp (cp_test_type_class): New function.
12790 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
12791 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
12792 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
12793 cp_test_ptype_class.
12794
88e5ea78
MC
127952004-08-09 Michael Chastain <mec.gnu@mindspring.com>
12796
12797 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
12798 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
12799 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
12800 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
12801 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
12802 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
12803 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
12804 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
12805 gdb.mi/mi2-watch.exp: Update copyright years.
12806
6a89fc9c
MK
128072004-08-09 Mark Kettenis <kettenis@gnu.org>
12808
12809 * gdb.base/sigaltstack.exp: Provide proper anchoring.
12810
1482e0de
MC
128112004-08-09 Michael Chastain <mec.gnu@mindspring.com>
12812
12813 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
12814 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
12815 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
12816 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
12817 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
12818 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
12819 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
12820 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
12821 gdb.mi/mi-watch.exp: Update copyright years.
12822
1a5ce3f3
DJ
128232004-08-08 Daniel Jacobowitz <dan@debian.org>
12824
12825 PR gdb/1738
12826 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
12827 from a breakpoint with a pending signal.
12828
04f6ecf2
DJ
128292004-08-08 Daniel Jacobowitz <dan@debian.org>
12830
12831 PR gdb/1736
12832 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
12833 * gdb.base/sigaltstack.exp (finish_test): Consume output until
12834 the prompt.
12835 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
12836
54d90d35
DJ
128372004-08-08 Daniel Jacobowitz <dan@debian.org>
12838
12839 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
12840
d2f6abb0
DJ
128412004-08-08 Daniel Jacobowitz <dan@debian.org>
12842
12843 PR gdb/1736
12844 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
12845 for i?86-*-linux*.
12846
5598c03d
DJ
128472004-08-08 Daniel Jacobowitz <dan@debian.org>
12848
12849 * gdb.arch/i386-prologue.exp: Compile without debug information.
12850
c6fee705
MC
128512004-08-08 Michael Chastain <mec.gnu@mindspring.com>
12852
12853 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
12854 rather than asking gdb to search.
12855
dd90efdb
MC
128562004-08-05 Michael Chastain <mec.gnu@mindspring.com>
12857
12858 * gdb.base/gcore.c: Include <string.h>.
12859
1e84bec1
MC
128602004-08-05 Michael Chastain <mec.gnu@mindspring.com>
12861
12862 * gdb.base/gcore.c: Add copyright notice.
12863
e425eb2b
MC
128642004-08-05 Michael Chastain <mec.gnu@mindspring.com>
12865
12866 * gdb.base/freebpcmd.c: Include <stdio.h>.
12867 * gdb.base/long_long.c: Include <string.h>.
12868 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
12869 * gdb.base/siginfo.c: Include <string.h>.
12870 * gdb.base/sigstep.c: Include <string.h>.
12871
cb9aaed5
MC
128722004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12873
12874 * gdb.base/complex.c: Include <stdlib.h>.
12875
55944f3d
MC
128762004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12877
12878 * gdb.base/complex.c: Add copyright notice.
12879
7b2953d9
MC
128802004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12881
12882 * gdb.base/charset.c: Include <stdlib.h>.
12883
c9133d23
MC
128842004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12885
12886 * gdb.base/auxv.c: Include <stdlib.h>.
12887
0a8490ad
MC
128882004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12889
12890 * gdb.base/auxv.c: Add copyright notice.
12891
3426d5ec
MC
128922004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12893
12894 * gdb.base/coremaker.c: Add copyright notice.
12895 * gdb.base/coremaker2.c: Add copyright notice.
12896
8da195dd
AC
128972004-08-04 Andrew Cagney <cagney@gnu.org>
12898
12899 * gdb.base/store.exp: Update copyright.
12900 (check_set, up_set, check_struct, up_struct): Add a prefix to test
12901 names, do not import gdb_prompt.
12902
8d394f98
AC
129032004-08-01 Andrew Cagney <cagney@gnu.org>
12904
12905 Fix PR testsuite/1729.
12906 * gdb.base/dump.exp: Add test name to callers of capture_value, do
12907 not use capture_value with value 4.
12908 (capture_value): Add optional test name parameter.
12909 (test_reload_saved_value, test_restore_saved_value): Use $msg as
12910 the prefix, pass to capture_value.
12911
b6702b23
MK
129122004-08-01 Mark Kettenis <kettenis@gnu.org>
12913
12914 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
12915 * gdb.arch/i386-prologue.c (standard): New prototype and function.
12916 (main): Call new function.
12917
c203e0ca
MC
129182004-07-31 Michael Chastain <mec.gnu@mindspring.com>
12919
12920 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
12921
a7995a30
MC
129222004-07-31 Michael Chastain <mec.gnu@mindspring.com>
12923
12924 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
12925
9366563b
MC
129262004-07-31 Michael Chastain <mec.gnu@mindspring.com>
12927
b6eeaf26 12928 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
12929 Accept more values of vtbl pointer. Remove some messages
12930 about "obsolete gcc or gdb".
12931
2fc1f950
MC
129322004-07-30 Michael Chastain <mec.gnu@mindspring.com>
12933
12934 * gdb.cp/classes.exp: Accept more varieties of ptype output.
12935
c724d49b
MC
129362004-07-30 Michael Chastain <mec.gnu@mindspring.com>
12937
12938 * gdb.base/asm-source.exp: Properly convert target board
12939 debug flags from gcc format to binutils format.
12940
736b0fce
MK
129412004-07-28 Mark Kettenis <kettenis@gnu.org>
12942
12943 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
12944 gdb1718". PR backtrace/1718 partially fixed.
12945
5633ea5c
JJ
129462004-07-27 Jeff Johnston <jjohnstn@redhat.com>
12947
12948 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
12949
575eebb1
NC
129502004-07-26 Nick Clifton <nickc@redhat.com>
12951
12952 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
12953 good default value for a specific architecture is available then
12954 set it to that value. Otherwise default to the -gstabs switch.
12955 Remove the -g... switches from the asm-flags variable. Allow the
12956 target board info to override the value if it wants to. Pass the
12957 switch on the assembler command line.
12958
62104619
MK
129592004-07-23 Mark Kettenis <kettenis@gnu.org>
12960
12961 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
12962 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
12963 (main): Call new function.
12964
4a1135b8
MC
129652004-07-22 Michael Chastain <mec.gnu@mindspring.com>
12966
12967 Test for PR exp/1715.
12968 * gdb.base/radix.exp: Refactor common procedures. Make all
12969 test names unique. Change XFAIL to KFAIL.
12970
8a12c1f0
MC
129712004-07-20 Michael Chastain <mec.gnu@mindspring.com>
12972
12973 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
12974 * gdb.ada/gnat_ada.gin: ... to here.
12975 * configure.in: Use gnat_ada.gin.
12976 * configure: Regenerate.
12977
23b451cf
AC
129782004-07-20 Andrew Cagney <cagney@gnu.org>
12979
12980 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
12981 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
12982 XFAILs. Clean up test messages and comments. Check backtraces.
12983 Delete re-sync code.
12984
ab618a02
MC
129852004-07-19 Michael Chastain <mec.gnu@mindspring.com>
12986
12987 Fix PR cli/740.
12988 * gdb.base/annota1.exp: Honor gdb,nosignals.
12989 * gdb.base/annota3.exp: Likewise.
12990
46dad340
MC
129912004-07-19 Michael Chastain <mec.gnu@mindspring.com>
12992
12993 * lib/java.exp: Update copyright notice.
12994
756d8c70
AC
129952004-07-19 Andrew Cagney <cagney@gnu.org>
12996
12997 * gdb.base/selftest.exp: Copy file from here ...
12998 * gdb.gdb/selftest.exp: ... to here.
12999
586027e6
AC
130002004-07-16 Andrew Cagney <cagney@redhat.com>
13001
13002 * lib/insight-support.exp: Delete file.
13003 * lib/java.exp (java_init): Fix copyright.
13004
029d2200
AC
130052004-07-16 Andrew Cagney <cagney@gnu.org>
13006
13007 * gdb.base/restore.c: Append "prologue" to comments marking the a
13008 function's prologue.
13009 * gdb.base/restore.exp: Update copyright, re-indent.
13010 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
13011 callerN" prefix where needed. Update patterns that match a
13012 function's prologue.
13013
653b62c5
MC
130142004-07-16 Michael Chastain <mec.gnu@mindspring.com>
13015
13016 * gdb.base/restore.c: Add copyright notice.
13017
f7d690e5
AC
130182004-07-16 Andrew Cagney <cagney@gnu.org>
13019
13020 * gdb.base/logical.exp: Update copyright.
13021 (evaluate): New procedure. Use to re-implement tests using
13022 several tables.
13023
d629a7cb
MH
130242004-07-14 Martin Hunt <hunt@redhat.com>
13025
13026 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
13027 which fixes some problems where init.tcl was not found.
13028
9c7bb332
AC
130292004-07-13 Andrew Cagney <cagney@gnu.org>
13030
6bf46641
AC
13031 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
13032 (check_sizeof, check_valueof): Do not include the output in the
13033 test name. Use gdb_test.
13034 (get_valueof): Use gdb_test_multiple.
13035
c4ffd4c0
AC
13036 * gdb.base/step-test.exp: Update copyright. Use
13037 gdb_test_multiple. Ensure that test names do not include
13038 architecture dependent output.
13039
ab89363a
AC
13040 * gdb.gdb/observer.exp: Update copyright.
13041 (setup_test): Use gdb_test_multiple.
13042 (attach_first_observer, attach_second_observer)
13043 (attach_third_observer, detach_first_observer)
13044 (detach_second_observer, detach_third_observer)
13045 (reset_counters, check_counters): Make $message a prefix.
13046 (test_normal_stop_notifications): Add "args" parameter - a list of
13047 init functions to be called. Make $message a prefix,
13048 (test_observer_normal_stop): Change the message prefixes so that
13049 they are unique, pass the attach / detach procedures to
13050 test_normal_stop_notifications.
13051
ec58997a
AC
13052 * gdb.base/signull.exp (test_segv): Prefix all tests with
13053 "${name}". Clean up test messages.
13054
b475183b
AC
13055 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
13056
9c7bb332
AC
13057 * gdb.base/ena-dis-br.exp: Update copyright.
13058 (break_at): New function. Replace send_gdb with gdb_test,
13059 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
13060 ignore count, not stopped at bpt", with KFAIL.
13061
2dd95497
CV
130622004-07-13 Corinna Vinschen <vinschen@redhat.com>
13063
13064 * gdb.base/attach.exp: Remove cleanupfile handling.
13065
419e626b
AC
130662004-07-12 Andrew Cagney <cagney@gnu.org>
13067
13068 * gdb.base/annota1.exp: Cleanup corefile test name.
13069 * gdb.base/annota3.exp: Ditto.
13070
8b1b3228
AC
130712004-07-12 Andrew Cagney <cagney@gnu.org>
13072
78650829
AC
13073 * gdb.base/signals.exp: Clean up copyright, re-indent.
13074
8b1b3228
AC
13075 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
13076 gdb_test and gdb_test_multiple.
13077
935c2760
JJ
130782004-07-08 Jeff Johnston <jjohnstn@redhat.com>
13079
13080 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 13081 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
13082 provide line number info for first statement in main.
13083
1544280f
AC
130842004-07-08 Andrew Cagney <cagney@gnu.org>
13085
1279f4ff
AC
13086 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
13087
1544280f
AC
13088 * gdb.base/sigbpt.exp: Make the common part of each test name a
13089 prefix instead of suffix.
13090
bcc82369
BR
130912004-07-07 Bob Rossi <bob_rossi@cox.net>
13092
13093 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
13094 test from test_tbreak_creation_and_listing to
13095 test_file_list_exec_source_file
13096 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
13097 Changed name of test from test_tbreak_creation_and_listing to
13098 test_file_list_exec_source_file
13099
23f4b0aa
JJ
131002004-07-07 Jeff Johnston <jjohnstn@redhat.com>
13101
13102 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
13103 the jmisc() constructor instead of <init>.
13104 * gdb.java/jmisc1.exp: Ditto.
13105
56401cd5
AC
131062004-07-07 Andrew Cagney <cagney@gnu.org>
13107
13108 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
13109 corrupting the PC.
13110
44ae2f6a
MC
131112004-07-06 Michael Chastain <mec.gnu@mindspring.com>
13112
13113 * gdb.cp/templates.exp: Accept whitespace change in demangler
13114 output.
13115
45a83408
AC
131162004-07-06 Andrew Cagney <cagney@gnu.org>
13117
13118 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
13119
d205ad70
MC
131202004-07-02 Michael Chastain <mec.gnu@mindspring.com>
13121
13122 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
13123 * lib/compiler.cc: Likewise.
13124
06ea1a61
MC
131252004-06-30 Michael Chastain <mec.gnu@mindspring.com>
13126
13127 * lib/compiler.cc: Work around string preprocessing problem
13128 with old hp c++ compiler.
13129 * lib/compiler.c: Likewise.
13130
daab1251
CV
131312004-06-29 Corinna Vinschen <vinschen@redhat.com>
13132
13133 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
13134 directives to conditionalize symbol prefixing.
13135 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
13136 additional_flags handling. Add underscore prefix for Cygwin.
13137 * gdb.arch/i386-unwind.c: Use preprocessor directives to
13138 conditionalize symbol prefixing.
13139 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
13140 additional_flags handling. Add underscore prefix for Cygwin.
13141
cc984116
CV
131422004-06-29 Corinna Vinschen <vinschen@redhat.com>
13143
13144 * gdb.base/bigcore.exp: Skip test on Cygwin.
13145
c279b077
MC
131462004-06-28 Michael Chastain <mec.gnu@mindspring.com>
13147
13148 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
13149 formats for "info register". Use gdb_test_multiple. Fix
13150 the "invalid register" test.
13151
0e915747
CV
131522004-06-28 Corinna Vinschen <vinschen@redhat.com>
13153
13154 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
13155 PID for Cygwin. Add Cygwin specific strings to check for in some
13156 tests.
13157 (do_attach_tests): Add a test for user interaction when attaching
13158 to a process with no matching symbol table already loaded.
13159
11422c86
AC
131602004-06-26 Andrew Cagney <cagney@gnu.org>
13161
13162 Test PR java/1567 and PR java/1565.
13163 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
13164 * gdb.java/jmisc2.exp: Delete file.
13165
cefbce26
MC
131662004-06-26 Michael Chastain <mec.gnu@mindspring.com>
13167
13168 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
13169
e19f872c
CV
131702004-06-25 Corinna Vinschen <vinschen@redhat.com>
13171
13172 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
13173 attach process.
13174
d931ba3b
MC
131752004-06-23 Michael Chastain <mec.gnu@mindspring.com>
13176
13177 * gdb.cp/pr-1553.exp: Remove.
13178
aef68c48
MC
131792004-06-22 Michael Chastain <mec.gnu@mindspring.com>
13180
13181 * gdb.cp/pr-1553.cc: Remove.
13182 * gdb.cp/pr-1553.exp: Disable this test.
13183
8d5df71a
JB
131842004-06-20 Jim Blandy <jimb@redhat.com>
13185
a9c64011 13186 Fix PR testsuite/1680.
8d5df71a
JB
13187 * gdb.arch/i386-sse.exp: Properly quote curly braces in
13188 regular expressions.
13189
4ac6f39d
MC
131902004-06-19 Michael Chastain <mec.gnu@mindspring.com>
13191
13192 Fix PR testsuite/1679.
13193 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
13194 Issue an UNSUPPORTED result instead.
13195
1b413552
JB
131962004-06-18 Jim Blandy <jimb@redhat.com>
13197
13198 * gdb.base/charset.exp: Only send a control-C if we see a new
13199 prompt and incomplete command.
13200
6daa6ebd
MC
132012004-06-18 Michael Chastain <mec.gnu@mindspring.com>
13202
13203 * gdb.cp/pr-574.cc: Add copyright notice.
13204
51fa4ae0
JB
132052004-06-17 Jim Blandy <jimb@redhat.com>
13206
13207 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
13208 cases where the regexp has no groups; this grabs random text from
13209 the previous test suite, whatever that was.
13210
8fea26c5
MC
132112004-06-17 Michael Chastain <mec.gnu@mindspring.com>
13212
13213 * gdb.cp/printmethod.cc: Add copyright notice.
13214
1e3aeb41
MC
132152004-06-16 Michael Chastain <mec.gnu@mindspring.com>
13216
13217 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
13218
9d9030bc
AC
132192004-06-16 Andrew Cagney <cagney@gnu.org>
13220
13221 * gdb.base/signull.c: Update copyright. Include <string.h>.
13222 (bowler): Replace data_pointer with data_read
13223 and data_write cases. Add code_descriptor case.
13224 (zero, desc): New array and pointer.
13225 (data, code): Change to simple pointers.
13226 * gdb.base/signull.exp: Fix probe pattern matching a function
13227 descriptor SIGSEGV. Replace data_pointer with data_read and
13228 data_write tests.
13229
acd4ad44
AC
132302004-06-16 Andrew Cagney <cagney@gnu.org>
13231
13232 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
13233
08fd625c
MC
132342004-06-15 Michael Chastain <mec.gnu@mindspring.com>
13235
13236 * gdb.base/long_long.c: Add copyright notice.
13237
1903502c
MC
132382004-06-15 Michael Chastain <mec.gnu@mindspring.com>
13239
13240 * gdb.base/long_long.exp: Remove reference to
13241 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
13242 to gdb_breakpoint and gdb_continue_to_breakpoint.
13243
83313cb1
JB
132442004-06-14 Jim Blandy <jimb@redhat.com>
13245
13246 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
13247 endian case.
13248
1bf404ef
AC
132492004-06-14 Andrew Cagney <cagney@gnu.org>
13250
13251 * gdb.base/gcore.exp (capture_command_output): Delete the always
13252 passing tests containing inferior values.
13253 * gdb.base/ending-run.exp: Do not include the breakpoint address
13254 in the test message. Update copyright.
13255 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
13256 size in the test name, use gdb_test_multiple. Update copyright.
13257
ef220b33
MC
132582004-06-14 Michael Chastain <mec.gnu@mindspring.com>
13259
13260 * gdb.cp/ref-types.cc: Add copyright notice.
13261
4f70a4c9
MC
132622004-06-14 Michael Chastain <mec.gnu@mindspring.com>
13263
13264 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
13265 hp_aCC_compiler.
13266 * lib/compiler.cc: Likewise.
13267 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
13268 'set' commands. Log diagnostics for other lines. Set
13269 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
13270
335928ac
MC
132712004-06-13 Michael Chastain <mec.gnu@mindspring.com>
13272
13273 * gdb.cp/try_catch.cc: Add copyright notice.
13274
2efb12e8
MC
132752004-06-12 Michael Chastain <mec.gnu@mindspring.com>
13276
13277 * gdb.cp/userdef.cc: Add copyright notice.
13278
0bbed51a
MC
132792004-06-11 Michael Chastain <mec.gnu@mindspring.com>
13280
13281 * gdb.cp/virtfunc.cc: Add copyright notice.
13282
e12a46c9
RC
132832004-06-11 Randolph Chung <tausq@debian.org>
13284
13285 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
13286 problem.
13287
338e05af
AC
132882004-06-10 Andrew Cagney <cagney@gnu.org>
13289
13290 * lib/compiler.cc, lib/compiler.c: Append either
13291 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
13292 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
13293 instead of gcc-3-3.
13294
dc3f10cb
AC
132952004-06-09 Andrew Cagney <cagney@gnu.org>
13296
b4d946af
AC
13297 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
13298 gdb/1455, bug is specific to "long long" and "double".
a9c64011 13299
dc3f10cb
AC
13300 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
13301 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
13302 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
13303 fixed.
13304
b5c0bfa2
AC
133052004-06-09 Andrew Cagney <cagney@gnu.org>
13306
13307 * gdb.base/structs.exp (test_struct_returns): Replace
13308 "return_value_unknown" and "finish_value_unknown" by
13309 "return_value_known" and "finish_value_known". Instead of
13310 "return_value_unknown" iff "finish_value_unknown", check
13311 "return_value_known" implies "finish_value_known".
13312
caeb605f
MH
133132004-06-08 Martin Hunt <hunt@redhat.com>
13314
13315 * gdb.base/float.exp: Add pattern for mips targets.
13316
c892bb64
RC
133172004-06-08 Randolph Chung <tausq@debian.org>
13318
13319 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
13320 message for unknown architectures more clear.
13321
48306d3e
JB
133222004-06-08 Joel Brobecker <brobecker@gnat.com>
13323
13324 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
13325 start the execution of the program.
13326
83ecb59f
JB
133272004-06-07 Jim Blandy <jimb@redhat.com>
13328
13329 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
13330 * gdb.arch/i386-cpuid.h: New helper file.
13331
55264cb4
RC
133322004-06-07 Randolph Chung <tausq@debian.org>
13333
13334 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
13335 has started.
13336
23cadb28
RM
133372004-06-04 Roland McGrath <roland@redhat.com>
13338
13339 Fix PR gdb/1647.
13340 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
13341 differently to be robust to output buffering differences.
13342
51d01eda
MC
133432004-06-04 Michael Chastain <mec.gnu@mindspring.com>
13344
13345 * gdb.threads/pthreads.exp: Update copyright years.
13346 (check_control_c): Change asynchronous 'after' to synchronous.
13347
f4fc3b93
RM
133482004-06-04 Roland McGrath <roland@redhat.com>
13349
13350 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
13351 next gdb prompt.
13352
4013522b
MC
133532004-06-02 Michael Chastain <mec.gnu@mindspring.com>
13354
13355 Fix PR gdb/1636.
13356 * gdb.threads/manythreads.exp: Change asynchronous 'after'
13357 calls to synchronous.
13358
7a8f1e6b
JB
133592004-05-26 Jim Blandy <jimb@redhat.com>
13360
13361 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
13362
81bb3443
RC
133632004-05-24 Randolph Chung <tausq@debian.org>
13364
13365 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
13366 * gdb.asm/pa.inc: New file.
13367
8f5a3103
MK
133682004-05-22 Mark Kettenis <kettenis@gnu.org>
13369
13370 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
13371
734b8fe8 133722004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 13373 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
13374
13375 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
13376 GDB prompt.
13377
725603e1
UW
133782004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13379
f4fc3b93 13380 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
13381 setjmp/longjmp. Use sigaction instead of signal.
13382
8b923272 133832004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 13384 Michael Snyder <msnyder@redhat.com>
8b923272
JB
13385
13386 * gdb.threads/pthread_cond_wait.c: New file.
13387 * gdb.threads/pthread_cond_wait.exp: New testcase.
13388
8bfabb04
AC
133892004-05-13 Andrew Cagney <cagney@redhat.com>
13390
13391 * gdb.base/signull.exp, gdb.base/signull.c: New files.
13392 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
13393
42edda50
AC
133942004-05-11 Andrew Cagney <cagney@redhat.com>
13395
13396 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
13397 fixed but revealed gdb/1639.
13398
d303a6c7
AC
133992004-05-10 Andrew Cagney <cagney@redhat.com>
13400
13401 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
13402 func1" and "next to 2nd alarm", kernel bug avoided.
13403
bf08c2a1
DJ
134042004-05-10 Daniel Jacobowitz <dan@debian.org>
13405
13406 PR external/1568
13407 * gdb.base/bigcore.exp: Check the size of the dumped core file.
13408 XFAIL if it is smaller than bytes_allocated.
13409 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
13410 (main): Make chunks_allocated unsigned. Correct comment.
13411
c0586a34
JB
134122004-05-07 Joel Brobecker <brobecker@gnat.com>
13413
13414 * gdb.arch/powerpc-aix-prologue.c: New file.
13415 * gdb.arch/powerpc-aix-prologue.exp: New file.
13416
f2785d12
JB
134172004-05-07 Jim Blandy <jimb@redhat.com>
13418
13419 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
13420 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
13421
bd7f6e30
JB
134222004-05-06 Joel Brobecker <brobecker@gnat.com>
13423
13424 * gdb.base/sep.exp: No longer setup_kfail when the program was
13425 built with dwarf2.
13426
0a5e7efe
JI
134272004-05-05 Jim Ingham <jingham@apple.com>
13428
13429 * gdb.base/pending.exp: Make sure pending breakpoints
13430 preserve the ignore count.
f4fc3b93 13431
a8958849
MK
134322004-04-27 Jerome Guitton <guitton@gnat.com>
13433
13434 * i386-prologue.exp: Add testcase for jump instruction as first
13435 instruction of the real code.
13436 * i386-prologue.c (jump_at_beginning): New function.
13437
7e103f5b
MK
134382004-04-28 Mark Kettenis <kettenis@gnu.org>
13439
13440 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
13441 x86_64-*-*.
13442
5d38b224
MK
134432004-04-28 Mark Kettenis <kettenis@gnu.org>
13444
13445 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
13446 i*86-*-*.
13447
0ef32fd9
MK
134482004-04-25 Mark Kettenis <kettenis@gnu.org>
13449
13450 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
13451 expression that checks the return type.
13452
71d7dd7c
AC
134532004-04-23 Andrew Cagney <cagney@redhat.com>
13454
13455 * gdb.base/call-sc.exp: New test of scalar call/return values.
13456 * gdb.base/call-sc.c: Ditto.
13457
1e9f977e
JJ
134582004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13459
13460 * gdb.threads/manythreads.c: Reduce thread stack size.
13461
899d9e3a
JJ
134622004-04-23 Jeff Johnston <jjohnstn@redhat.com>
13463
13464 * gdb.threads/manythreads.c: Add copyright notice.
13465
61bcae62
AC
134662004-04-23 Andrew Cagney <cagney@redhat.com>
13467
13468 * gdb.base/siginfo.exp: Better handle step out of signal.
13469 * gdb.base/sigstep.exp: Ditto.
13470
7339a42e 134712004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 13472 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
13473
13474 * gdb.threads/manythreads.c: New testcase.
13475 * gdb.threads/manythreads.exp: Ditto.
13476
5c98409b
JB
134772004-04-22 Jim Blandy <jimb@redhat.com>
13478
13479 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
13480 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
13481
3b611f1a
MC
134822004-04-21 Michael Chastain <mec.gnu@mindspring.com>
13483
13484 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
13485
f0fd9238
AC
134862004-04-21 Andrew Cagney <cagney@redhat.com>
13487
13488 * gdb.base/sigstep.c: New file.
13489 * gdb.base/sigstep.exp: New file.
13490
90990674
JB
134912004-04-16 Joel Brobecker <brobecker@gnat.com>
13492
13493 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
13494 call to observer_notify_normal_stop.
13495
78cef34b
AC
134962004-04-15 Andrew Cagney <cagney@redhat.com>
13497
13498 * gdb.base/siginfo.c: New file.
13499 * gdb.base/siginfo.exp: New file.
13500
d2343407
JB
135012004-04-12 J. Brobecker <brobecker@gnat.com>
13502
13503 * gdb.base/sep.exp: Fix typo in comment.
13504
a2dba3c8
JB
135052004-04-12 J. Brobecker <brobecker@gnat.com>
13506
13507 * gdb.base/sep.c: New file.
13508 * gdb.base/sep-proc.c: New file.
13509 * gdb.base/sep.exp: New testcase.
13510
15f7b60e
MK
135112004-04-09 Mark Kettenis <kettenis@gnu.org>
13512
13513 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
13514 support.
13515
44f4de1a
AC
135162004-04-05 Andrew Cagney <cagney@redhat.com>
13517
13518 * gdb.base/sigaltstack.c: New file.
13519 * gdb.base/sigaltstack.exp: New file.
13520
ef04f396
JB
135212004-04-04 Joel Brobecker <brobecker@gnat.com>
13522
13523 * gdb.base/foll-fork.exp: Update the expected output for
13524 "help set follow-fork-mode", to match a change that was made
13525 to the help of this variable on 2004-01-13.
13526
d40d2c92
JB
135272004-04-01 Joel Brobecker <brobecker@gnat.com>
13528
13529 * lib/ada.exp: Add copyright notice.
13530 * bar.ads: Likewise.
13531 * bar.adb: Likewise.
13532 * null_record.adb: Likewise.
13533 * null_record.exp: Likewise.
13534 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
13535
f86ef5a3
JB
135362004-04-01 Joel Brobecker <brobecker@gnat.com>
13537
13538 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
13539 * configure: Regenerate.
13540
414e70e3
JB
135412004-04-01 Joel Brobecker <brobecker@gnat.com>
13542
13543 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
13544 to build the application. Remove the message printed when in
13545 verbose mode, redundant with the UNSUPPORTED message above.
13546
f0aaee49
JB
135472004-03-31 Joel Brobecker <brobecker@gnat.com>
13548
13549 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
13550 * gdb.ada (null_record.exp): New testcase.
13551
ac81cb54
JB
135522004-03-31 Joel Brobecker <brobecker@gnat.com>
13553
13554 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
13555
854af2f7
JB
135562004-03-31 Joel Brobecker <brobecker@gnat.com>
13557
13558 * gdb.ada: New subdirectory.
13559 * gdb.ada/Makefile.in: New file.
13560 * gdb.ada/gnat_ada.gpr.in: New file.
13561
034cb681
JB
135622004-03-31 Joel Brobecker <brobecker@gnat.com>
13563
13564 * lib/ada.exp: New file.
13565
78a1a894
DJ
135662004-03-24 Daniel Jacobowitz <drow@mvista.com>
13567
13568 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
13569 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
13570
4b2b3b3e
AC
135712004-03-22 Andrew Cagney <cagney@redhat.com>
13572
13573 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
13574 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
13575 Problem identified by Ulrich Weigand.
13576
23c73aa3
DC
135772004-03-17 David Carlton <carlton@kealia.com>
13578
13579 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
13580 PR c++/826.
13581
d63a86f8
RM
135822004-03-16 Roland McGrath <roland@redhat.com>
13583
13584 * gdb.base/auxv.exp: New file.
13585 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
13586
0e02aa50
DC
135872004-03-12 David Carlton <carlton@kealia.com>
13588
13589 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
13590 * gdb.cp/pr-1553.cc: Ditto.
13591 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
13592 pass branch.
13593
c20b71be
MC
135942004-03-12 Michael Chastain <mec.gnu@mindspring.com>
13595
13596 * gdb.cp/templates.exp: Accept more template types.
13597
c7414a01
MC
135982004-03-09 Michael Chastain <mec.gnu@mindspring.com>
13599
13600 From Corinna Vinschen with modifications.
13601 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
13602 local variable obj_with_enum.
13603 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
13604 results with obj_with_enum.
13605
ed69573c
MC
136062004-03-09 Michael Chastain <mec.gnu@mindspring.com>
13607
13608 * gdb.cp/classes.cc: New file, copied from misc.cc.
13609 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
13610
28301461
MC
136112004-03-09 Michael Chastain <mec.gnu@mindspring.com>
13612
13613 * gdb.cp/misc.cc: Add copyright notice.
13614
1198ecbe
DC
136152004-03-05 David Carlton <carlton@kealia.com>
13616
13617 * gdb.cp/rtti.exp: Add 'print *obj3' test.
13618 * gdb.cp/rtti.h: Update copyright.
13619 (namespace n2::n3): New.
13620 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
13621 (n2::n3::func3): New.
13622 (main): Call n2::n3::func3.
13623 * gdb.cp/rtti2.cc: Update copyright.
13624 (n2::create3): New.
13625
9e08c470
MK
136262004-03-04 Mark Kettenis <kettenis@gnu.org>
13627
13628 * gdb.asm/openbsd.inc: Fix typo.
13629
4bebc3aa
FF
136302004-03-03 Fred Fish <fnf@redhat.com>
13631
13632 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
13633 "val" instead of unused "size". Update copyright year.
13634
6ea9fb37
DJ
136352004-02-29 Daniel Jacobowitz <drow@mvista.com>
13636
13637 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
13638 to use unsigned char.
13639 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
13640 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
13641
23b23974
DJ
136422004-02-29 Daniel Jacobowitz <drow@mvista.com>
13643
13644 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
13645 line of output.
13646
7574fd53
DJ
136472004-02-28 Daniel Jacobowitz <drow@mvista.com>
13648
13649 * gdb.base/relocate.c (dummy): Initialize.
13650
a195357f
DJ
136512004-02-28 Daniel Jacobowitz <drow@mvista.com>
13652
13653 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
13654 a breakpoint at exit.
13655
72fd54a9
FF
136562004-02-27 Fred Fish <fnf@redhat.com>
13657
13658 * gdb.base/chng-syms.exp: Add expect condition to match failing
13659 case that isn't a timeout.
13660
b9d23137
AC
136612004-02-27 Andrew Cagney <cagney@redhat.com>
13662
13663 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
13664 support.
13665
15d208f6 136662004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 13667
15d208f6
FF
13668 * gdb.arch/gdb1431.c: Remove.
13669 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
13670 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
13671 of "until" incorrectly.
13672
98f9cd2d
JB
136732004-02-26 J. Brobecker <brobecker@gnat.com>
13674
13675 * gdb.cp/class2.cc (empty): New class.
13676 (refer): New function.
13677 (main): Declare an object of type empty and use it.
13678 * gdb.cp/class2.exp: Print the value of an object of type empty.
13679
9b50c11b
JJ
136802004-02-26 Jeff Johnston <jjohnstn@redhat.com>
13681
13682 * gdb.base/langs.exp: Update query string to match the
13683 new nquery format used for pending breakpoints.
13684
0dcd613f
AC
136852004-02-26 Andrew Cagney <cagney@redhat.com>
13686
13687 Fix PR i18n/1570.
13688 * gdb.base/charset.c: Update copyright notice.
13689 (main, init_string): Remove the escape character '\e' tests.
13690 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
13691 * gdb.base/charset.exp (valid_host_charset): Ditto.
13692 * gdb.base/setvar.exp: Ditto.
13693
b8a56647
AC
136942004-02-24 Andrew Cagney <cagney@redhat.com>
13695
90d59e34
AC
13696 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
13697 mmapped data in core file" PASS and FAIL messages consistent.
13698
b8a56647
AC
13699 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
13700 setting a breakpoint. Work around PR java/1565.
13701
9f27c604
JJ
137022004-02-23 Jeff Johnston <jjohnstn@redhat.com>
13703
13704 * lib/gdb.exp (gdb_breakpoint): Update query string to match
13705 new nquery format.
13706 * gdb.base/pending.exp: Ditto.
13707
3224a706
MK
137082004-02-22 Mark Kettenis <kettenis@gnu.org>
13709
13710 * configure.in: Run stabs tests on *BSD.
13711 * configure: Regenerated.
13712
41e0a9ca
MK
137132004-02-21 Mark Kettenis <kettenis@gnu.org>
13714
13715 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
13716
1e1b3428
FF
137172004-02-20 Fred Fish <fnf@redhat.com>
13718
13719 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
13720 blank in test for "returns short", for consistency with other
13721 "returns xxx" tests. Update copyright year.
13722
f9a7572a
FF
137232004-02-19 Fred Fish <fnf@redhat.com>
13724
13725 New testcase for PR breakpoint/1558.
13726 * gdb.arch/gdb1558.exp: New file.
13727 * gdb.arch/gdb1558.c: New file.
13728
b2ce2854
EZ
137292004-02-19 Elena Zannoni <ezannoni@redhat.com>
13730
13731 * gdb.base/nodebug.exp: Fix typo.
13732
e7c9ff01
JB
137332004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13734
13735 Committed by Jim Blandy <jimb@redhat.com>.
13736
62f4b920
JB
13737 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
13738
2db536a1
JB
13739 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
13740
e7c9ff01
JB
13741 * gdb.base/float.exp: Support s390*-*-* targets.
13742
f3205b34
AF
137432004-02-17 Adam Fedor <fedor@gnu.org>
13744
13745 * gdb.base/gdb1555.exp: New file.
13746 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
13747
9d62932d
EZ
137482004-02-17 Elena Zannoni <ezannoni@redhat.com>
13749
13750 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
13751
344c9711
FF
137522004-02-16 Fred Fish <fnf@redhat.com>
13753
13754 * gdb.arch/gdb1291.c: Remove
13755 * gdb.arch/gdb1291.s: New test input file.
13756 * gdb.arch/gdb1291.exp: Expand test to check case that should not
13757 fail. Test for correct result, known incorrect result, other
13758 failures and timeouts.
13759
2d822687
AC
137602004-02-16 Andrew Cagney <cagney@redhat.com>
13761
13762 * gdb.base/bigcore.exp: New file.
13763 * gdb.base/bigcore.c: New file.
13764
dac15b66
AC
137652004-02-13 Andrew Cagney <cagney@redhat.com>
13766
13767 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
13768 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
13769 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
13770 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
13771 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
13772 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
13773 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
13774 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
13775 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
13776 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
13777
6bdfc2c4
JJ
137782004-02-11 Jeff Johnston <jjohnstn@redhat.com>
13779
13780 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
13781 executed is an alloc instruction.
13782
87b3ede8
DC
137832004-02-11 David Carlton <carlton@kealia.com>
13784
13785 * gdb.cp/breakpoint.exp: New.
13786 * gdb.cp/breakpoint.cc: New.
13787
6e19e2bf
MC
137882004-02-11 Michael Chastain <mec.gnu@mindspring.com>
13789
13790 Partial fix for PR gdb/1543.
13791 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
13792 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
13793 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
13794 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
13795 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
13796 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
13797 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
13798 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
13799 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
13800 to bug-gdb@prep.ai.mit.edu .
13801 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
13802 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
13803 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
13804 Likewise.
13805
5c5455dc
AC
138062004-02-10 Andrew Cagney <cagney@redhat.com>
13807
13808 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
13809 using gdb_internal_error_resync.
13810
9cf689d7
DJ
138112004-02-09 Daniel Jacobowitz <drow@mvista.com>
13812
13813 * gdb.threads/thread-specific.exp: Stop early if no threads are
13814 found.
13815
d2dc51db
MC
138162004-02-09 Michael Chastain <mec.gnu@mindspring.com>
13817
13818 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
13819
14b1a056
DJ
138202004-02-08 Daniel Jacobowitz <drow@mvista.com>
13821
13822 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
13823 breakpoints.
13824
83f66e8f
DJ
138252004-02-07 Daniel Jacobowitz <drow@mvista.com>
13826
13827 * config/sim.exp (gdb_load): Handle $arg == "".
13828 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
13829 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
13830
30fc0091
EZ
138312004-02-07 Elena Zannoni <ezannoni@redhat.com>
13832
a9c64011
AS
13833 * gdb.base/maint.exp: Update test to reflect
13834 obstack changes.
30fc0091 13835
4d806929
JJ
138362004-02-04 Jeff Johnston <jjohnstn@redhat.com>
13837
13838 * gdb.base/pendshr.c (pendfunc): New function that calls
13839 pendfunc1.
13840 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
13841
7bfdd688
FF
138422004-02-04 Fred Fish <fnf@redhat.com>
13843
13844 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
13845 function symbols and update copyright years.
13846 * gdb.arch/gdb1291.c: Ditto.
13847
aaa08ee4
MC
138482004-02-03 Michael Chastain <mec.gnu@mindspring.com>
13849
13850 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
13851
dbad7755
MC
138522004-02-03 Michael Chastain <mec.gnu@mindspring.com>
13853
13854 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
13855
ec4646ef
MC
138562004-02-03 Michael Chastain <mec.gnu@mindspring.com>
13857
13858 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
13859
1b802196
FF
138602004-02-02 Fred Fish <fnf@redhat.com>
13861
13862 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
13863 remote targets. Update copyright years.
13864
18fe2033
JJ
138652004-02-02 Jeff Johnston <jjohnstn@redhat.com>
13866
13867 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
13868 support.
13869 * gdb.base/langs.exp: Fix test which attempts to create
13870 breakpoint on non-existent function to handle new pending
13871 support.
13872 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
13873 a breakpoint.
13874 * gdb.base/pending.exp: New test.
13875 * gdb.base/pending.c: New file.
13876 * gdb.base/pendshr.c: Ditto.
13877
8d577d32
DC
138782004-02-02 David Carlton <carlton@kealia.com>
13879
13880 * gdb.cp/overload.exp: Add overloadNamespace tests.
13881 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
13882 (overloadNamespace, XXX): New.
13883 (main): Call XXX::marker2.
13884
3ad13771
FF
138852004-02-01 Fred Fish <fnf@redhat.com>
13886
13887 * gdb.base/dump.exp: Use runto_main instead of "runto main".
13888 * gdb.base/finish.exp: Ditto.
13889 * gdb.base/gcore.exp: Ditto.
13890 * gdb.base/huge.exp: Ditto.
13891 * gdb.base/info-proc.exp: Ditto.
13892 * gdb.base/return2.exp: Ditto.
13893 * gdb.threads/gcore-thread.exp: Ditto.
13894
44c75849
DJ
138952004-02-01 Daniel Jacobowitz <drow@mvista.com>
13896
13897 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
13898
005bc093
MK
138992004-02-01 Mark Kettenis <kettenis@gnu.org>
13900
13901 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
13902 that opening the file succeeds on OpenBSD.
13903
c47cebdb
DJ
139042004-02-01 Daniel Jacobowitz <drow@mvista.com>
13905
13906 * gdb.threads/thread-specific.c: New file.
13907 * gdb.threads/threads-specific.exp: New test script.
13908 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
13909 to expect_out.
13910
5a01311c
MK
139112004-02-01 Mark Kettenis <kettenis@gnu.org>
13912
13913 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
13914 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
13915 only on the "print_small_structs from print_long_arg_list" test.
13916
ce22a4f1
DJ
139172004-02-01 Daniel Jacobowitz <drow@mvista.com>
13918
13919 * gdb.base/completion.exp: Kill a stray backslash.
13920
13921 From Jim Ingham <jingham@apple.com>:
13922 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
13923 agrees with the result from sending a tab.
13924
abbab9d3
DJ
139252004-01-31 Daniel Jacobowitz <drow@mvista.com>
13926
13927 * gdb.base/chng-syms.exp: Remove stray newline.
13928
53904d1e
MK
139292004-01-31 Mark Kettenis <kettenis@gnu.org>
13930
13931 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
13932 *-*-openbsd*.
13933 * gdb.asm/openbsd.inc: New file.
13934
3a4b3aac
MK
139352004-01-30 Mark Kettenis <kettenis@gnu.org>
13936
13937 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
13938 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
13939 *-*solaris2*. Remove commented out default settings for
13940 asm-flags. Replace gdb_compile with target_link.
13941
ebac27b4
MC
139422004-01-29 Michael Chastain <mec.gnu@mindspring.com>
13943
13944 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
13945 for all tests. Remove old hp-ux and cygnus xfail cases.
13946
d8679d84
PH
139472004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
13948
13949 * gdb.base/chng-syms.exp: New file.
13950 * gdb.base/chng-syms.c: New file.
13951
0a55bc22
MC
139522004-01-24 Michael Chastain <mec.gnu@mindspring.com>
13953
13954 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
13955 Provide arms for current output in all my configurations.
13956
94b8e876
MC
139572004-01-24 Michael Chastain <mec.gnu@mindspring.com>
13958
13959 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
13960 * lib/compiler.cc: Likewise.
13961 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
13962 get the right preprocessor. Eval the output directly. Remove
13963 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
13964 hp_f77_compiler and hp_f90_compiler completely.
13965 (gdb_preprocess): Delete.
13966 (get_compiler): Delete.
13967
7cf03d44
MK
139682004-01-24 Mark Kettenis <kettenis@gnu.org>
13969
13970 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
13971 <string.h>.
13972
68b6dce9
NR
139732004-01-24 Nick Roberts <nick@nick.uklinux.net>
13974
13975 * gdb.mi/mi-stack.exp: Update copyright.
13976
b368761e
DC
139772004-01-23 David Carlton <carlton@kealia.com>
13978
13979 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
13980 test for cp_lookup_transparent_type.
13981 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
13982 call them.
13983
f2061b53
DJ
139842004-01-23 Daniel Jacobowitz <drow@mvista.com>
13985
13986 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
13987 after -var-update.
13988
37fc574a
DC
139892004-01-23 David Carlton <carlton@kealia.com>
13990
13991 * gdb.cp/namespace.cc (C::ensureRefs): New.
13992 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
13993
8e94b928
NR
139942004-01-20 Nick Roberts <nick@nick.uklinux.net>
13995
13996 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
13997 case "-stack-list-locals 2".
13998 * gdb.mi/mi-var-child.exp: Test for case
13999 "-var-list-children --all-values NAME".
14000
997b0952
MC
140012004-01-18 Michael Chastain <mec.gnu@mindspring.com>
14002
14003 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
14004
52470da3
MK
140052004-01-18 Mark Kettenis <kettenis@gnu.org>
14006
7049b4b8
MK
14007 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
14008 used with gdb_test_multiple.
14009
52470da3
MK
14010 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
14011 read at address 0. This fixes PR testsuite/1504.
14012
da6012e5
DJ
140132004-01-18 Daniel Jacobowitz <drow@mvista.com>
14014
14015 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
14016 Remove downloading, guessing the host executable, the calls to
14017 gdb_file_cmd and gdb_target_cmd, and "load" support.
14018 (infer_host_exec): New function broken out from gdb_load.
14019 (gdb_load): New wrapper for gdbserver_gdb_load.
14020 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
14021 gdb_target_cmd. Use -target-select.
14022 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
14023 Download binaries to the host. Clear last_mi_remote_file when
14024 we load a new binary.
14025 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
14026 call gdbserver_gdb_load and mi_gdb_target_cmd.
14027
32c70722
MC
140282004-01-17 Michael Chastain <mec.gnu@mindspring.com>
14029
14030 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
14031 type patterns.
14032
b0cecf36
MC
140332004-01-17 Michael Chastain <mec.gnu@mindspring.com>
14034
14035 * gdb.cp/templates.exp: Fix typo in test name of
14036 "print Foo<volatile char*>::foo".
14037
4120d7e6
MC
140382004-01-15 Michael Chastain <mec.gnu@mindspring.com>
14039
14040 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
14041
f679e530
BE
140422004-01-16 Ben Elliston <bje@wasabisystems.com>
14043
14044 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
14045 (clean mostlyclean): Remove empty rm.
14046
091c48f6
MC
140472004-01-15 Michael Chastain <mec.gnu@mindspring.com>
14048
14049 * gdb.base/setvar.exp: Add copyright years.
14050
3e5fc8d2
DC
140512004-01-14 David Carlton <carlton@bactrian.org>
14052
14053 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
14054 PR c++/1511 and update coment.
14055 * gdb.cp/templates.exp: Update patterns to match current output.
14056 If changes involve something other than whitespace, KFAIL
14057 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
14058
63d06c5c
DC
140592004-01-14 David Carlton <carlton@kealia.com>
14060
14061 * gdb.cp/namespace.exp: Add tests involving classes defined within
14062 namespaces.
14063 * gdb.cp/namespace.cc (C::CClass): New.
14064 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
14065
a51dab88
EZ
140662004-01-14 Elena Zannoni <ezannoni@redhat.com>
14067
14068 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
14069 what debug info we have. Print a better message if something goes
14070 wrong while producing the separate debug info file.
14071
a476ccc9
MC
140722004-01-14 Michael Chastain <mec.gnu@mindspring.com>
14073
14074 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
14075
f453692c
MC
140762004-01-14 Michael Chastain <mec.gnu@mindspring.com>
14077
14078 * gdb.base/callfuncs.c: Add copyright notice.
14079
f40063a5
MC
140802004-01-13 Michael Chastain <mec.gnu@mindspring.com>
14081
14082 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
14083 inheritance. PR gdb/1498, PR gcc/13539.
14084
19ac3974
EZ
140852004-01-13 Elena Zannoni <ezannoni@redhat.com>
14086
a9c64011
AS
14087 * gdb.threads/gcore-thread.exp: Prefix name of binary with
14088 test specific name.
14089 * gdb.mi/gdb669.exp: Ditto.
14090 * gdb.mi/mi-pthreads.exp: Ditto.
14091 * gdb.mi/mi1-pthreads.exp: Ditto.
14092 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 14093
56c97c6e
MC
140942004-01-12 Michael Chastain <mec.gnu@mindspring.com>
14095
14096 * gdb.cp/member-ptr.cc: Add copyright notice.
14097
a0644324
MC
140982004-01-12 Michael Chastain <mec.gnu@mindspring.com>
14099
14100 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
14101 some patterns for recent versions of gcc and hpacc. Delete
14102 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
14103 Delete tests that access a NULL pointer-to-member-data. This
14104 script is still disabled for gcc.
14105
32fabe09
EZ
141062004-01-12 Elena Zannoni <ezannoni@redhat.com>
14107
14108 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 14109 escaped correctly.
32fabe09 14110
1f8a6abb
EZ
141112004-01-12 Elena Zannoni <ezannoni@redhat.com>
14112
14113 * gdb.base/sepdebug.exp: New file.
14114 * gdb.base/sepdebug.c: New file.
14115 * lib/gdb.exp (separate_debug_filename): New procedure.
14116 (gdb_gnu_strip_debug): New procedure.
14117
48efe704
AC
141182004-01-12 Andrew Cagney <cagney@redhat.com>
14119
14120 * gdb.mi/ChangeLog: Delete file. Renamed to ...
14121 * gdb.mi/ChangeLog-1999-2003: New file.
14122
a9415475
AC
141232004-01-12 Andrew Cagney <cagney@redhat.com>
14124
14125 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
14126 "Renaming a directory to a non-empty directory returns ENOTEMPTY
14127 or EEXIST", treat EBUSY as an XFAIL.
14128
83b8cf9d
MC
141292004-01-11 Michael Chastain <mec.gnu@mindspring.com>
14130
14131 * gdb.base/scope.exp: Remove obsolete setup_xfail for
14132 hp_cc_compiler.
14133
9939d2a8
MC
141342004-01-10 Michael Chastain <mec.gnu@mindspring.com>
14135
14136 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
14137 decorations.
14138
1ff8cadf
MC
141392004-01-10 Michael Chastain <mec.gnu@mindspring.com>
14140
14141 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
14142 and "(aCC)" decorations. Remove obsolete doco about old
14143 test results.
14144
6fa9022e
MC
141452004-01-09 Michael Chastain <mec.gnu@mindspring.com>
14146
14147 * gdb.cp/exception.exp: Fix typo in doco.
14148
209721fe
MK
141492004-01-09 Mark Kettenis <kettenis@gnu.org>
14150
14151 * gdb.base/gdb1476.exp: Fix typo.
14152
ef11303e
MC
141532004-01-09 Michael Chastain <mec.gnu@mindspring.com>
14154
14155 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
14156 file.
14157
041ab88c
MC
141582004-01-09 Michael Chastain <mec.gnu@mindspring.com>
14159
14160 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
14161 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
14162 Use gdb_compile. Remove restriction on gcc. Add some patterns
14163 for recent version of gdb. Delete second half, which was a copy
14164 of the first half with different build flags. This test is
14165 still disabled because it is still not ready for production.
14166
e36d075a
MC
141672004-01-08 Michael Chastain <mec.gnu@mindspring.com>
14168
14169 * gdb.cp/exception.cc: Add copyright notice.
14170 * gdb.cp/exception.exp: Add a notice that this file is broken
14171 because of line number changes caused by addition of copyright
14172 notice.
14173
42b190ad
MC
141742004-01-08 Michael Chastain <mec.gnu@mindspring.com>
14175
14176 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
14177 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
14178
8f25f06b
MC
141792004-01-08 Michael Chastain <mec.gnu@mindspring.com>
14180
14181 * gdb.cp/classes.exp: Accept gnu abi 2.
14182 * gdb.cp/derivation.exp: Likewise.
14183 * gdb.cp/overload.exp: Likewise.
14184 * gdb.cp/virtfunc.exp: Likewise.
14185
06ded8b8
MC
141862004-01-08 Michael Chastain <mec.gnu@mindspring.com>
14187
14188 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
14189 semicolon after end of function.
14190
77c26ae3
MC
141912004-01-07 Michael Chastain <mec.gnu@mindspring.com>
14192
14193 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
14194 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
14195 boilerplate code for compiling and running the program under
14196 test. Add some string method tests.
14197
20757486
MC
141982004-01-07 Michael Chastain <mec.gnu@mindspring.com>
14199
14200 * gdb.cp/bs15503.cc: Add copyright notice.
14201 * gdb.cp/bs15503.exp: Adjust line number.
14202
0fd3b503
MC
142032004-01-07 Michael Chastain <mec.gnu@mindspring.com>
14204
14205 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
14206 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
14207
10d1bea8
MC
142082004-01-07 Michael Chastain <mec.gnu@mindspring.com>
14209
14210 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
14211 hp_cc_compiler.
14212
2789202a
MC
142132004-01-07 Michael Chastain <mec.gnu@mindspring.com>
14214
14215 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
14216 * gdb.cp/ctti.exp: Use the marker instead of "next".
14217 With gcc, run further before bailing.
14218
b862f14c
MC
142192004-01-07 Michael Chastain <mec.gnu@mindspring.com>
14220
14221 * gdb.cp/cttiadd.cc: Add copyright notice.
14222 * gdb.cp/cttiadd1.cc: Likewise.
14223 * gdb.cp/cttiadd2.cc: Likewise.
14224 * gdb.cp/cttiadd3.cc: Likewise.
14225
96da2469
MC
142262004-01-07 Michael Chastain <mec.gnu@mindspring.com>
14227
14228 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
14229 Use gdb_test, gdb_test_multiple. Use floating-point values that
14230 have exact representations in IEEE-ish formats.
14231
053248ff
MC
142322004-01-07 Michael Chastain <mec.gnu@mindspring.com>
14233
14234 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
14235 compilers. Delete duplicate call to get_compiler_info.
14236 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
14237 * gdb.base/volatile.exp: Likewise.
14238
84acecdd
MK
142392004-01-07 Mark Kettenis <kettenis@gnu.org>
14240
14241 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
14242 memory at address 0.
14243
fe11a27f
MC
142442004-01-07 Michael Chastain <mec.gnu@mindspring.com>
14245
14246 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
14247 to test for hp-ux assembler. Fix copyright years.
14248
60ad077b
AC
142492004-01-07 Andrew Cagney <cagney@redhat.com>
14250
14251 * gdb.base/fileio.c (strerrno): Add "EBUSY".
14252
1c9b8f33
AC
142532004-01-07 Andrew Cagney <cagney@redhat.com>
14254
14255 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
14256 when creating the read-only file. From analysis by Roland McGrath
14257 and Elena Zannoni.
14258
753ccc7a
MC
142592004-01-06 Michael Chastain <mec.gnu@mindspring.com>
14260
14261 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
14262
eca3e36b
MC
142632004-01-06 Michael Chastain <mec.gnu@mindspring.com>
14264
14265 * gdb.base/cvexpr.c: Be type-safe with function pointers and
14266 data pointers.
14267
f8d4bac4
MC
142682004-01-06 Michael Chastain <mec.gnu@mindspring.com>
14269
14270 * gdb.cp/m-static.exp: Compile one source file at a time.
14271 Delete unused call to get_compiler_info.
14272
9b4e0f94
MC
142732004-01-06 Michael Chastain <mec.gnu@mindspring.com>
14274
14275 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
14276 * gdb.base/call-rt-st.exp: Likewise.
14277 * gdb.base/nodebug.exp: Likewise.
14278 * gdb.base/volatile.exp: Likewise.
14279 * gdb.cp/ref-types.exp: Likewise.
14280 * gdb.cp/templates.exp: Likewise.
14281
023c1024
MK
142822004-01-05 Mark Kettenis <kettenis@gnu.org>
14283
14284 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
14285
19703c4a
MC
142862004-01-05 Michael Chastain <mec.gnu@mindspring.com>
14287
14288 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
14289 hppa*-hp-hpux*.
14290
18b67037
MK
142912004-01-04 Mark Kettenis <kettenis@gnu.org>
14292
ba6219c8
MK
14293 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
14294 x86_64-*-*.
14295
18b67037
MK
14296 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
14297 sparc64-*-* and sparc*-solaris2*.
14298
1bfbbb9d
MK
142992004-01-04 Mark Kettenis <kettenis@gnu.org>
14300
14301 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
14302 return ${tests}" test. The ${tests} already mentions the
14303 filename.
14304
06846494
MC
143052004-01-02 Michael Chastain <mec.gnu@mindspring.com>
14306
14307 * gdb.cp/local.exp: Accept gcc abi 2.
14308
3b0cb202
MC
143092004-01-02 Michael Chastain <mec.gnu@mindspring.com>
14310
14311 * gdb.cp/templates.exp: Accept gcc abi 2.
14312
0643ec3f
MC
143132004-01-02 Michael Chastain <mec.gnu@mindspring.com>
14314
14315 * lib/compiler.cc: Remove supports_template_debugging.
14316 * gdb.cp/templates.exp: Do not test supports_template_debugging.
14317
d231d0b1
MC
143182004-01-01 Michael Chastain <mec.gnu@mindspring.com>
14319
14320 * gdb.cp/namespace.exp: Accept gcc abi 2.
14321
44ffb27c
MC
143222004-01-01 Michael Chastain <mec.gnu@mindspring.com>
14323
14324 * gdb.cp/method.exp: Accept gcc abi 2.
14325
184ad485
MC
143262004-01-01 Michael Chastain <mec.gnu@mindspring.com>
14327
14328 * gdb.cp/classes.exp: Generate identical results as old version.
14329 * gdb.cp/derivation.exp: Likewise.
14330 * gdb.cp/overload.exp: Likewise.
14331 * gdb.cp/virtfunc.exp: Likewise.
14332
116f09e7
MC
143332004-01-01 Michael Chastain <mec.gnu@mindspring.com>
14334
14335 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
14336 mysterious bug with sourceware version of expect.
14337
b1379776
MC
143382004-01-01 Michael Chastain <mec.gnu@mindspring.com>
14339
14340 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
14341 current versions of gcc, including gcc abi 2. Remove gratuitous
14342 restart of test program. Use gdb_test_multiple and gdb_test for
14343 all tests. Add patterns to xfail missing "const" in "const char *"
14344 and kfail PR gdb/1155.
14345
6b7a4c0e
MC
143462004-01-01 Michael Chastain <mec.gnu@mindspring.com>
14347
14348 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
14349 current versions of gcc, including gcc abi 2. Remove gratuitous
14350 restart of test program. Use gdb_test_multiple and gdb_test for
14351 all tests. Add patterns to kfail PR gdb/1498.
14352
51615d72
MC
143532003-12-31 Michael Chastain <mec.gnu@mindspring.com>
14354
14355 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
14356 current versions of gcc, including gcc abi 2. Use "breakpoint"
14357 and "continue" instead of restarting the target program. Use
14358 gdb_test_multiple and gdb_test for all tests.
14359
7b79a9d7
MK
143602004-01-01 Mark Kettenis <kettenis@gnu.org>
14361
14362 * gdb.asm/asm-source.exp: Update copyright year. Link statically
14363 for *-*-solaris2*.
14364
1cd3489f
MC
143652003-12-31 Michael Chastain <mec.gnu@mindspring.com>
14366
14367 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
14368 current versions of gcc, including gcc abi 2. Use "breakpoint"
14369 and "continue" instead of restarting the target program several
14370 times. Use gdb_test_multiple and gdb_test for all tests.
14371
850742db
MC
143722003-12-18 Michael Chastain <mec.gnu@mindspring.com>
14373
14374 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
14375 source files.
14376
eb4bbda8
MC
143772003-12-16 Michael Chastain <mec.gnu@mindspring.com>
14378
14379 * gdb.base/environ.exp: Handle compiling test case from multiple
14380 source files.
14381
e42c7771
MC
143822003-12-16 Michael Chastain <mec.gnu@mindspring.com>
14383
14384 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
14385
80e4b428
JB
143862003-12-17 Jim Blandy <jimb@redhat.com>
14387
5f06973a
JB
14388 * gdb.base/freebpcmd.c: Add copyright notice.
14389
80e4b428
JB
14390 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
14391
0ab84fb7
MC
143922003-12-16 Michael Chastain <mec.gnu@mindspring.com>
14393
14394 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
14395
1b3bb3d0
JB
143962003-12-13 Jim Blandy <jimb@redhat.com>
14397
14398 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
14399
3a4c9371
KB
144002003-12-12 Kevin Buettner <kevinb@redhat.com>
14401
14402 * gdb.asm/frv.inc: New file.
14403 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
14404
a1dea79a
FF
144052003-12-09 Fred Fish <fnf@redhat.com>
14406
14407 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
14408 functions to break1.c and leave prototypes behind. Add more
14409 "set breakpoint NN here" comments.
14410 * gdb.base/break1.c: New file.
14411
14412 * gdb.base/break.exp: Handle compiling test case from multiple
14413 source files and change source file references as needed.
14414 * gdb.base/completion.exp: Ditto.
14415 * gdb.base/condbreak.exp: Ditto.
14416 * gdb.base/define.exp: Ditto.
14417 * gdb.base/ena-dis-br.exp: Ditto.
14418 * gdb.base/info-proc.exp: Ditto.
14419 * gdb.base/maint.exp: Ditto.
14420 * gdb.base/until.exp: Ditto.
14421
14422 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
14423 hardcoded line numbers.
14424 * gdb.base/define.exp: Ditto.
14425 * gdb.base/ena-dis-br.exp: Ditto.
14426 * gdb.base/maint.exp: Ditto.
14427 * gdb.base/until.exp: Ditto.
14428
14429 * gdb.base/completion.exp: Use "break1" for completion tests since
14430 "break" is no longer a unique prefix.
14431
5266b69c
AC
144322003-12-06 Andrew Cagney <cagney@redhat.com>
14433
14434 * gdb.base/structs.exp (test_struct_returns): When applicable, set
14435 "return_value_unimplemented". When an unimplemented struct return
14436 architecture, report incorrect values as a KFAIL
14437
374451f0
MC
144382003-12-05 Michael Chastain <mec.gnu@mindspring.com>
14439
14440 * gdb.cp/rtti.exp: Accept new wording of warning from
14441 cp_lookup_rtti_type.
14442
ba9b20a7
MC
144432003-12-05 Michael Chastain <mec.gnu@mindspring.com>
14444
14445 Partial fix for PR testsuite/1456.
14446 * gdb.base/scope.exp (test_at_main): Replace references to
14447 gcc_compiled with calls to test_compiler_info.
14448 (test_at_foo): Likewise.
14449 (test_at_bar): Likewise.
14450
b74b6d0b
MC
144512003-12-04 Michael Chastain <mec.gnu@mindspring.com>
14452
14453 Partial fix for PR testsuite/1456.
14454 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
14455 to test_compiler_info.
14456
ccfa3402
MC
144572003-12-03 Michael Chastain <mec.gnu@mindspring.com>
14458
14459 * gdb.base/so-impl-ld.exp: Update copyright notice.
14460
f6246aba
MC
144612003-12-02 Michael Chastain <mec.gnu@mindspring.com>
14462
14463 Partial fix for PR testsuite/1456.
14464 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
14465 to test_compiler_info.
14466
13ae734a
MC
144672003-11-28 Michael Chastain <mec.gnu@mindspring.com>
14468
14469 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
14470 from current versions of gdb. Clean up regular expressions.
14471 Delete redundant timeout case.
14472
d8e1cdee
MC
144732003-11-28 Michael Chastain <mec.gnu@mindspring.com>
14474
14475 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
14476 from current versions of gdb. Clean up regular expressions.
14477 Delete redundant timeout case.
14478
96457b64
MC
144792003-12-01 Michael Chastain <mec.gnu@mindspring.com>
14480
14481 Partial fix for PR testsuite/1456.
14482 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
14483 gcc_compiled with call to test_compiler_info.
14484
f35309fc
MC
144852003-11-30 Michael Chastain <mec.gnu@mindspring.com>
14486
14487 Partial fix for PR testsuite/1456.
14488 * gdb.base/list.exp (test_list_function): Delete unused declaration
14489 of gcc_compiled.
14490
d7afdf9b
MC
144912003-11-29 Michael Chastain <mec.gnu@mindspring.com>
14492
14493 Partial fix for PR testsuite/1456.
14494 * gdb.base/complex.exp: Replace reference to gcc_compiled with
14495 call to test_compiler_info.
14496
71507b56
MK
144972003-11-29 Mark Kettenis <kettenis@gnu.org>
14498
14499 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
14500 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
14501 it to create the appropriate note.inc.
14502 * gdb.asm/asmsrc1.s: Include "note.inc".
14503 * gdb.asm/netbsd.inc: New file.
14504 * gdb.asm/empty.inc: New file.
14505
f81f93f7
MC
145062003-11-28 Michael Chastain <mec.gnu@mindspring.com>
14507
14508 Partial fix for PR testsuite/1456.
14509 * gdb.base/constvars.exp: Replace references to gcc_compiled with
14510 calls to test_compiler_info.
14511
9a77938e
MC
145122003-11-27 Michael Chastain <mec.gnu@mindspring.com>
14513
14514 Partial fix for PR testsuite/1456.
14515 * gdb.base/volatile.exp: Replace references to gcc_compiled with
14516 calls to test_compiler_info.
14517
e8367dc7
MK
145182003-11-27 Mark Kettenis <kettenis@gnu.org>
14519
14520 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
14521 pattern for the KFAILs.
14522
526c61ee
AF
145232003-11-25 Adam Fedor <fedor@gnu.org>
14524
14525 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
14526 * gdb.objc/objcdecode.m: New file.
14527
28f2d600
AF
145282003-11-25 Adam Fedor <fedor@gnu.org>
14529
14530 * gdb.objc/nondebug.exp: Test for PR objc/1236.
14531 * gdb.objc/nondebug.m: New file.
14532
a3895cee
BE
145332003-11-26 Ben Elliston <bje@wasabisystems.com>
14534
14535 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
14536 NetBSD as it does on FreeBSD. Modelled on a similar change by
14537 Mark Kettenis on 2003-05-30.
14538 (link-flags): Set to "--entry _start" regardless of target.
14539 Special linker flags are to be appended to $link-flags.
14540 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
14541
c9f2c8a3
MC
145422003-11-25 Michael Chastain <mec.gnu@mindspring.com>
14543
14544 * gdb.cp/method.exp: Accept output of new demangler.
14545
15a0587a 145462003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
14547
14548 * gdb/class2.exp: New file.
14549 * gdb/class2.cc: New file.
14550
3c00b570
MC
145512003-11-25 Michael Chastain <mec.gnu@mindspring.com>
14552
14553 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
14554 of new demangler.
14555
7027acc7
MK
145562003-11-23 Mark Kettenis <kettenis@gnu.org>
14557
14558 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
14559 of gdb_test "run".
14560
b0e1598a
MK
145612003-11-23 Mark Kettenis <kettenis@gnu.org>
14562
14563 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
14564 "continue" into "run".
14565
4d9eda44
MC
145662003-11-23 Michael Chastain <mec.gnu@mindspring.com>
14567
14568 Partial fix for PR testsuite/1456.
14569 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
14570 call to test_compiler_info.
14571 * gdb.cp/ctti.exp: Likewise.
14572 * gdb.cp/derivation.exp: Likewise.
14573 * gdb.cp/member-ptr.exp: Likewise.
14574 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
14575 reference to gcc_compiled.
14576
145772003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
14578
14579 Fix PR testsuite/1463.
14580 * gdb.base/structs.exp (start_structs_test): Call
14581 get_debug_format before using the debug format.
14582
d422fe19
AC
145832003-11-22 Andrew Cagney <cagney@redhat.com>
14584
14585 * lib/gdb.exp (gdb_test_multiple): Add simple example.
14586 * gdb.base/structs.exp: Use gdb_test_multiple.
14587
039cf96d
AC
145882003-11-20 Andrew Cagney <cagney@redhat.com>
14589
6882279b
AC
14590 * gdb.base/structs.exp: Handle and recover from internal errors.
14591 Replace "foo${n}" with "foo<n>" in test messages.
14592
e53890ae
AC
14593 * gdb.base/structs.exp: Update copyright. Rewrite.
14594 * gdb.base/structs.c: Update copyright. Rewrite.
14595
2b211c59
AC
14596 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
14597 resync count exceeded.
d63a86f8 14598
039cf96d
AC
14599 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
14600 from the internal error.
14601 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
14602 Original from Jim Blandy.
14603 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 14604
eac98b22
AC
146052003-11-19 Andrew Cagney <cagney@redhat.com>
14606
14607 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
14608 KFAIL.
14609
67455b2a
MK
146102003-11-17 Mark Kettenis <kettenis@gnu.org>
14611
14612 New testcase for PR backtrace/1435.
14613 * gdb.arch/i386-unwind.exp: New file.
14614 * gdb.arch/i386-unwind.c: New file.
14615
853d6e5b
AC
146162003-11-17 Andrew Cagney <cagney@redhat.com>
14617
14618 * lib/gdb.exp (compiler_info): New global.
14619 (test_compiler_info): New function.
14620 (get_compiler_info): Set compiler_info.
14621 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
14622 "compiler_info" to gcc-<major>-<minor>.
14623
38cf6e11
MC
146242003-11-15 Michael Chastain <mec.gnu@mindspring.com>
14625
14626 * gdb.trace/configure: Remove.
14627
a50d3602
EZ
146282003-11-13 Elena Zannoni <ezannoni@redhat.com>
14629
14630 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 14631 breakpoints.
a50d3602
EZ
14632 * gdb.base/break.exp: Remove all references to explicit line
14633 numbers.
14634
d9407aaa
NC
146352003-11-11 Nick Clifton <nickc@redhat.com>
14636
14637 * gdb.base/shreloc.exp: Do not run for targets which do not
14638 support shared objects.
14639
db488fc1
CV
146402003-11-10 Corinna Vinschen <vinschen@redhat.com>
14641
14642 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
14643 Don't run tests if nofileio flag is given.
14644
6a90a18e
EZ
146452003-11-07 Elena Zannoni <ezannoni@redhat.com>
14646
14647 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 14648 as well as 'Watchpoint'.
6a90a18e 14649
0b915e9c
EZ
146502003-11-06 Elena Zannoni <ezannoni@redhat.com>
14651
14652 Reported by Jim Ingham <jingham@apple.com>:
14653 * gdb.base/annota1.exp: Match at least one occurrence of the
14654 signal handler annotation.
14655
d7e4b55f
EZ
146562003-11-06 Elena Zannoni <ezannoni@redhat.com>
14657
a9c64011
AS
14658 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
14659 as well as 'Watchpoint'.
d7e4b55f 14660
2fe4e8d0
MC
146612003-11-05 Michael Chastain <mec@shout.net>
14662
14663 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
14664
6ef88553
KW
146652003-11-03 Kris Warkentin <kewarken@qnx.com>
14666
14667 * gdb.arch/gdb1291.c: New test file.
14668 * gdb.arch/gdb1291.exp: New test script.
14669 * gdb.arch/gdb1431.c: New test file.
14670 * gdb.arch/gdb1431.exp: New test script.
14671
ae7dc4d8
MC
146722003-10-22 Michael Chastain <mec@shout.net>
14673
14674 * gdb.mi/pthreads.c: Add copyright notice.
14675
c39d7427
MC
146762003-10-22 Michael Chastain <mec@shout.net>
14677
14678 * gdb.threads/pthreads.c: Add copyright notice.
14679
8b7d96c1
MC
146802003-10-20 Michael Chastain <mec@shout.net>
14681
14682 * gdb.base/gdb1056.exp: New test script.
14683
d1d69fdd
DJ
146842003-10-13 Daniel Jacobowitz <drow@mvista.com>
14685
14686 * gdb.threads/killed.exp: Use gdb_run_cmd.
14687
7d605576
DJ
146882003-10-13 Daniel Jacobowitz <drow@mvista.com>
14689
14690 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
14691 create a core file.
14692 * gdb.threads/gcore-thread.exp: Likewise.
14693
618ec112
CV
146942003-10-13 Corinna Vinschen <vinschen@redhat.com>
14695
14696 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
14697 type, based on char type.
14698 (struct bit_flags_short_t): New bitfield type, based on short type.
14699 (init_bit_flags_char): New fuction.
14700 (init_bit_flags_short): Ditto.
14701 (print_bit_flags_char): Ditto.
14702 (print_bit_flags_short): Ditto.
14703 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
14704
9367a73c
MC
147052003-10-11 Michael Chastain <mec@shout.net>
14706
14707 * gdb.base/call-rt-st.exp: Update copyright year.
14708
1decf120
KI
147092003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
14710
14711 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
14712 * gdb.disasm/sh3.s: Ditto.
14713
5445b2ae
DJ
147142003-10-07 Daniel Jacobowitz <drow@mvista.com>
14715
14716 * gdb.threads/switch-threads.exp: New test.
14717 * gdb.threads/switch-threads.c: New source file.
14718
aec24853
CV
147192003-10-07 Corinna Vinschen <vinschen@redhat.com>
14720
14721 * gdb.base/ending-run.exp: Add sh specific case.
14722
adc7428d
AC
147232003-10-06 Andrew Cagney <cagney@redhat.com>
14724
14725 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
14726 * gdb.disasm/mn10200.exp: Delete obsolete file.
14727
c9d37158
DJ
147282003-09-29 Daniel Jacobowitz <drow@mvista.com>
14729
14730 * ChangeLog: Correct an entry command.exp -> commands.exp.
14731 * gdb.base/commands.exp (bp_deleted_in_command_test)
14732 (temporary_breakpoint_commands): Check noargs.
14733
79c2c32d
DC
147342003-09-25 David Carlton <carlton@kealia.com>
14735
14736 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
14737 of some print tests, where appropriate. Add tests for C::D::cd,
14738 E::ce, F::cXfX, G::XgX.
14739 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
14740
594e6d67
RE
147412003-09-25 Richard Earnshaw <rearnsha@arm.com>
14742
14743 * lib/java.exp (java_init): Import target_alias before using it.
14744
10f0d451
DC
147452003-09-25 David Carlton <carlton@kealia.com>
14746
14747 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
14748
274bcba0
EZ
147492003-09-23 Elena Zannoni <ezannoni@redhat.com>
14750
d63a86f8 14751 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 14752 weirdness.
274bcba0 14753
cdbf20f7
MC
147542003-09-17 Michael Chastain <mec@shout.net>
14755
14756 * gdb.cp/gdb1355.exp: New file.
14757 * gdb.cp/gdb1355.c: New file.
14758
71e06f80
CV
147592003-09-15 Corinna Vinschen <vinschen@redhat.com>
14760
14761 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
14762 * gdb.asm/sh.inc: New file.
14763
5c4e30ca
DC
147642003-09-11 David Carlton <carlton@kealia.com>
14765
bd45b7af
DC
14766 * gdb.cp/namespace.exp: Add tests for namespace types.
14767 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
14768 (test_namespace): New.
14769
1c199746
EZ
147702003-09-11 Elena Zannoni <ezannoni@redhat.com>
14771
a9c64011 14772 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 14773 * gdb.stabs/weird.exp: Ditto.
1c199746 14774
04ed252f
MC
147752003-09-08 Michael Chastain <mec@shout.net>
14776
14777 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
14778
d8a2d9e7
MC
147792003-09-07 Michael Chastain <mec@shout.net>
14780
14781 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
14782 'parse error'.
14783
161afb24
MK
147842003-09-07 Mark Kettenis <m.kettenis@osp.nl>
14785
14786 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
14787
49f2741a
MC
147882003-08-30 Michael Chastain <mec@shout.net>
14789
14790 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
14791 * gdb.gdb/observer.exp: Ditto.
14792 * gdb.gdb/xfullpath.exp: Ditto.
14793
8afa723e
MK
147942003-08-29 Mark Kettenis <kettenis@gnu.org>
14795
14796 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
14797 *-*-*bsd*.
14798
f31dfe3b
JJ
147992003-08-28 Jeff Johnston <jjohnstn@redhat.com>
14800
14801 * gdb.base/dump.exp: Skip for ia64.
14802
4630e498
JJ
148032003-08-25 Jeff Johnston <jjohnstn@redhat.com>
14804
14805 * gdb.asm/asm-source.exp: Add ia64 support.
14806 * gdb.asm/ia64.inc: New file.
14807
1105b7ef
MC
148082003-08-22 Michael Chastain <mec@shout.net>
14809
14810 * gdb.cp: New directory.
14811 * gdb.cp/*: Copy from gdb.c++/*.
14812 * gdb.c++/*: Remove.
14813 * Makefile.in: Change gdb.c++ to gdb.cp.
14814 * configure.in: Ditto.
14815 * configure: Regnerate.
14816
c945b932
MK
148172003-08-18 Mark Kettenis <kettenis@gnu.org>
14818
14819 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
14820 * gdb.arch/i386-prologue.c (gdb1338): Add function.
14821
2b66634b
DJ
148222003-08-17 Daniel Jacobowitz <drow@mvista.com>
14823
14824 * mi-var-display.exp (-var-list-children weird): Accept function
14825 pointers with argument types.
14826 * mi1-var-display.exp (-var-list-children weird): Likewise.
14827 * mi2-var-display.exp (-var-list-children weird): Likewise.
14828
a356f73b
DJ
148292003-08-17 Daniel Jacobowitz <drow@mvista.com>
14830
14831 * gdb.base/annota3.exp: Add missing newline.
14832
483417b8
MC
148332003-08-06 Michael Chastain <mec@shout.net>
14834
14835 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
14836
c99c59c3
MS
148372003-08-12 Michael Snyder <msnyder@redhat.com>
14838
14839 * gdb.base/float.exp: Add test for SH.
14840
55ed7501
MK
148412003-08-10 Mark Kettenis <kettenis@gnu.org>
14842
14843 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
14844
1a371f2e
EZ
148452003-08-07 Elena Zannoni <ezannoni@redhat.com>
14846
14847 * gdb.base/completion.exp: Remove reduntant completion test
14848 on filename.
14849
e0f353ce
EZ
148502003-08-07 Elena Zannoni <ezannoni@redhat.com>
14851
a9c64011
AS
14852 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
14853 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
14854 gdb.trace/save-trace.exp: Make sure that full pathnames are
14855 escaped correctly.
e0f353ce 14856
5710a1af 148572003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 14858
a9c64011
AS
14859 * configure.in: Don't generate config.h from config.hin.
14860 * configure: Regenerate.
14861 * config.hin: Remove file.
14862 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
14863 * gdb.threads/pthreads.c: Ditto.
5710a1af 14864
dcd81ce9
DJ
148652003-08-07 Daniel Jacobowitz <drow@mvista.com>
14866
14867 From Kei Sakamoto <sakamoto.kei@renesas.com>:
14868 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
14869 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
14870 Replace ld24 with seth/add3.
14871
6009d884
AC
148722003-08-02 Andrew Cagney <cagney@redhat.com>
14873
14874 * gdb.base/annota3.exp: New file.
14875 * gdb.base/annota3.c: New file.
14876 * gdb.c++/annota3.exp: New file.
14877 * gdb.c++/annota3.cc: New file.
14878
51514e06
MC
148792003-07-29 Michael Chastain <mec@shout.net>
14880
14881 * gdb.threads/tls.c (spin): Check errno only if sem_wait
14882 actually failed.
14883 (do_pass): Likewise.
14884 * gdb.threads/tls.exp: Always initialize no_of_threads.
14885
4ee6625b
DJ
148862003-07-27 Daniel Jacobowitz <drow@mvista.com>
14887
14888 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
14889 pattern.
14890 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
14891 * gdb.threads/tls.exp: Recognize one case of the host library not
14892 supporting TLS.
14893
225f2bf6
AC
148942003-07-27 Andrew Cagney <cagney@redhat.com>
14895
14896 * gdb.base/fileio.exp: Use SH when running commands using
14897 remote_exec.
14898
bcb27c9f
DJ
148992003-07-24 Daniel Jacobowitz <drow@mvista.com>
14900
14901 From Kei Sakamoto <sakamoto.kei@renesas.com>:
14902 * gdb.base/relocate.c (dummy): New padding array.
14903
3d67be83
MS
149042003-07-22 Michael Snyder <msnyder@redhat.com>
14905
d63a86f8 14906 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
14907
14908 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
14909 patterns to be more general, accepting old and new output.
14910 Some output chars (such as '+') also must be quoted.
d63a86f8 14911 Some addresses are displayed numerically instead of
3d67be83
MS
14912 symbolically.
14913
57ba3b85
MS
149142003-07-23 Michael Snyder <msnyder@redhat.com>
14915
686d097c
MS
14916 * gdb.base/return2.exp: Don't test long-long return.
14917
57ba3b85
MS
14918 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
14919 * gdb.disasm/t01_mov.exp: Ditto.
14920 * gdb.disasm/t02_mova.s: Ditto.
14921 * gdb.disasm/t02_mova.exp: Ditto.
14922 * gdb.disasm/t03_add.s: Ditto.
14923 * gdb.disasm/t03_add.exp: Ditto.
14924 * gdb.disasm/t04_sub.s: Ditto.
14925 * gdb.disasm/t04_sub.exp: Ditto.
14926 * gdb.disasm/t05_cmp.s: Ditto.
14927 * gdb.disasm/t05_cmp.exp: Ditto.
14928 * gdb.disasm/t06_ari2.s: Ditto.
14929 * gdb.disasm/t06_ari2.exp: Ditto.
14930 * gdb.disasm/t07_ari3.s: Ditto.
14931 * gdb.disasm/t07_ari3.exp: Ditto.
14932 * gdb.disasm/t08_or.s: Ditto.
14933 * gdb.disasm/t08_or.exp: Ditto.
14934 * gdb.disasm/t09_xor.s: Ditto.
14935 * gdb.disasm/t09_xor.exp: Ditto.
14936 * gdb.disasm/t10_and.s: Ditto.
14937 * gdb.disasm/t10_and.exp: Ditto.
14938 * gdb.disasm/t11_logs.s: Ditto.
14939 * gdb.disasm/t11_logs.exp: Ditto.
14940 * gdb.disasm/t12_bit.s: Ditto.
14941 * gdb.disasm/t12_bit.exp: Ditto.
14942 * gdb.disasm/t13_otr.s: Ditto.
14943 * gdb.disasm/t13_otr.exp: Ditto.
14944
e00759ef
EZ
149452003-07-22 Elena Zannoni <ezannoni@redhat.com>
14946
14947 * gdb.threads/tls.exp :Add kfail for 'info address' case.
14948
8bc2021f
EZ
149492003-07-22 Elena Zannoni <ezannoni@redhat.com>
14950
a9c64011
AS
14951 * gdb.threads/tls.c : New file.
14952 * gdb.threads/tls.exp : New file.
14953 * gdb.threads/tls-main.c : New file.
14954 * gdb.threads/tls-shared.c : New file.
14955 * gdb.threads/tls-shared.exp : New file.
8bc2021f 14956
89320c4c
AS
149572003-07-22 Andreas Schwab <schwab@suse.de>
14958
14959 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
14960
180dea7c
AS
149612003-07-20 Andreas Schwab <schwab@suse.de>
14962
14963 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
14964 due to insn reordering.
14965
0714963c
AC
149662003-07-15 Andrew Cagney <cagney@redhat.com>
14967
14968 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
14969
98a23b3f
MC
149702003-07-15 Michael Chastain <mec@shout.net>
14971
14972 * gdb.base/gdb1250.exp: New file.
14973 * gdb.base/gdb1250.c: New file.
14974
27e417a2
ML
149752003-07-09 Michal Ludvig <mludvig@suse.cz>
14976
14977 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
14978 expansion of size_t to 'unsigned long', not only to 'unsigned'.
14979
8bc2021f
EZ
149802003-07-09 Elena Zannoni <ezannoni@redhat.com>
14981
a9c64011
AS
14982 * gdb.threads/tls.c: New file.
14983 * gdb.threads/tls.exp: New file.
14984 * gdb.threads/tls-main.c: New file.
14985 * gdb.threads/tls-shared.c: New file.
14986 * gdb.threads/tls-shared.exp: New file.
8bc2021f 14987
d99968dc
EZ
149882003-07-09 Elena Zannoni <ezannoni@redhat.com>
14989
14990 * gdb.base/annota1.exp: Make sure that we properly escape the
14991 full path of the source file. Xfail more permissive patterns,
d63a86f8 14992 due to a compiler debug info problem.
d99968dc 14993
83876b3b
AS
149942003-07-07 Andreas Schwab <schwab@suse.de>
14995
2705e972
AS
14996 * gdb.asm/m68k.inc: New file.
14997 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
14998
83876b3b
AS
14999 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
15000 arguments"): Also match negative number.
15001
15002 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
15003
3a871b37
DJ
150042003-07-03 Daniel Jacobowitz <drow@mvista.com>
15005
15006 * gdb.base/store.c (charest): New typedef.
15007 (add_char): Rename to add_charest, update.
15008 (wack_char): Rename to wack_charest, update types. Return l + r
15009 to keep r live across the call.
15010 (wack_short, wack_int, wack_long, wack_longest, wack_float)
15011 (wack_double, wack_doublest): Return l + r to keep r live across
15012 the call.
15013 * gdb.base/store.exp: Accomodate store.c changes.
15014
b2a7f303
DC
150152003-06-30 David Carlton <carlton@kealia.com>
15016
15017 * gdb.c++/maint.exp (test_invalid_name): New.
15018 (test_first_component): Add tests for invalid names.
15019
3c6cb4a1
MC
150202003-06-29 Michael Chastain <mec@shout.net>
15021
15022 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
15023 output of '<VTT for class>' for virtual base classes.
15024
f1c2644b
DJ
150252003-06-29 Daniel Jacobowitz <drow@mvista.com>
15026
15027 * gdb.base/completion.exp: Tab-complete "complet" instead of
15028 "compl".
15029 * gdb.base/complex.exp, gdb.base/complex.c: New files.
15030
18080350
DJ
150312003-06-29 Daniel Jacobowitz <drow@mvista.com>
15032
15033 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
15034 * gdb.base/volatile.exp: Likewise.
15035
f56973f8
DJ
150362003-06-29 Daniel Jacobowitz <drow@mvista.com>
15037
15038 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
15039 gdb/1265.
15040
150412003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
15042 Daniel Jacobowitz <drow@mvista.com>
15043
15044 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
15045 initial line count of 'captured_main' from 26 to 32.
15046 (test_with_self): Allow xmalloc call to be interleaved with the
15047 preceding two lines.
15048
e766d4d6
JB
150492003-06-24 Joel Brobecker <brobecker@gnat.com>
15050
15051 * gdb.base/bang.exp: New testcase.
15052
f125c9a4
JB
150532003-06-23 Joel Brobecker <brobecker@gnat.com>
15054
15055 * gdb.base/langs.exp: Add some tests for the "minimal" language
15056 support.
15057
6e25beaf
EZ
150582003-06-23 Elena Zannoni <ezannoni@redhat.com>
15059
15060 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
15061 the testcase.
15062
2f816dda
DJ
150632003-06-22 Daniel Jacobowitz <drow@mvista.com>
15064
15065 * gdb.base/relocate.exp: Test add-symbol-file with a variable
15066 offset.
15067
db5a5748
DJ
150682003-06-22 Daniel Jacobowitz <drow@mvista.com>
15069
15070 * gdb.c++/pr-1210.cc: New file.
15071 * gdb.c++/pr-1210.exp: New file.
15072
1df0c130
DJ
150732003-06-21 Daniel Jacobowitz <drow@mvista.com>
15074
15075 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
15076 000-exec-continue.
15077
a92feac0
MK
150782003-06-15 Mark Kettenis <kettenis@gnu.org>
15079
15080 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
15081 on *-*-*bsd* instead of *-*-freebsd*.
15082
81a58f5b
AC
150832003-06-14 Andrew Cagney <cagney@redhat.com>
15084
15085 * gdb.base/store.exp: Test longest and doublest. Test all
15086 parameters. Weaken return statement match.
15087 * gdb.base/store.c: Add longest and doublest - aka long long and
15088 long double functions. Put all parameters into local register
15089 variables. Use negative values.
15090
b257a0d3
AC
150912003-06-14 Andrew Cagney <cagney@redhat.com>
15092
15093 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
15094 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
15095 exit status.
15096 * gdb.base/fileio.exp: Disable target when nointerrupts and
15097 noinferiorio, instead of limiting it to remote. Use remote_exec
15098 instead of system.
d63a86f8 15099
21c38304
JJ
151002003-06-12 Jeff Johnston <jjohnstn@redhat.com>
15101
15102 * gdb.base/float.exp: Add ia64 support.
15103
1bcdb424
CV
151042003-06-12 Corinna Vinschen <vinschen@redhat.com>
15105
15106 * gdb.base/fileio.exp: Run only on remote targets.
15107
6aeb981f
CV
151082003-06-10 Corinna Vinschen <vinschen@redhat.com>
15109
15110 * gdb.base/fileio.c: New file, testing File-I/O.
15111 * gdb.base/fileio.exp: Ditto.
15112
53df362e
RG
151132003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
15114
15115 * gdb.base/shreloc.exp: New file, check symbol values obtained from
15116 shared objects after relocation at load time (gdb PR/1132).
15117 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 15118 as above, part of the shared object relocation test.
53df362e 15119
ffee1b46
MK
151202003-06-08 Mark Kettenis <kettenis@gnu.org>
15121
b5ca3722
MK
15122 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
15123 fully filled history list.
15124 * gdb.base/gdb_history: New file.
15125
03ed860d
MK
15126 * gdb.base/signals.exp: XFAIL "continue to func1" on
15127 i*86-*-freebsd*.
15128
ffee1b46
MK
15129 * gdb.base/attach.exp: When trying to attach to a nonexistent
15130 process, make it possible to specify the PID based on the target,
15131 and do so for *-*-freebsd*.
15132
d80dbb52
RH
151332003-06-02 Richard Henderson <rth@redhat.com>
15134
15135 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
15136
6dd77b81
RH
151372003-06-02 Richard Henderson <rth@redhat.com>
15138
15139 * gdb.base/selftest.exp: Next over lim_at_start initialization.
15140
f6347e16
RH
151412003-06-02 Richard Henderson <rth@redhat.com>
15142
15143 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
15144
2c161407
DJ
151452003-06-01 Daniel Jacobowitz <drow@mvista.com>
15146
15147 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
15148 of globalvar.
15149
572eb746
MK
151502003-06-01 Mark Kettenis <kettenis@gnu.org>
15151
15152 * gdb.asm/asm-source.exp: Check for memory read errors in
15153 disassembler test on *BSD too.
15154
9e9617a5
RH
151552003-06-01 Richard Henderson <rth@redhat.com>
15156
15157 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
15158 for .frame.
15159 (gdbasm_call): Lose ldgp.
15160 (gdbasm_startup): Add frame information.
15161 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
15162
7b34ad4e
MK
151632003-05-31 Mark Kettenis <kettenis@gnu.org>
15164
15165 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
15166 i?86-*-*.
15167
10059fdf
MK
151682003-05-30 Mark Kettenis <kettenis@gnu.org>
15169
15170 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
15171 FreeBSD.
15172
acf4b816
RH
151732003-05-29 Richard Henderson <rth@redhat.com>
15174
15175 * gdb.asm/alpha.inc: New file.
15176 * gdb.asm/asm-source.exp: Use it.
15177
e9ecd949
JB
151782003-05-29 Jim Blandy <jimb@redhat.com>
15179
15180 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
15181 'core.PID'.
15182
e3e5a4f3
JB
151832003-05-22 Jim Blandy <jimb@redhat.com>
15184
15185 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
15186 backtrace.
d63a86f8 15187
72fe3d25
DC
151882003-05-20 David Carlton <carlton@math.stanford.edu>
15189
15190 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
15191 this time.
15192
58da2eb2
DC
151932003-05-19 David Carlton <carlton@bactrian.org>
15194
15195 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
15196 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
15197
1fcb5155
DC
151982003-05-19 David Carlton <carlton@bactrian.org>
15199
15200 * gdb.c++/namespace.exp: Add namespace scope and anonymous
15201 namespace tests.
15202 Bump copyright date.
15203 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
15204 (main): Call C::D::marker2.
15205 * gdb.c++/namespace1.cc: New file.
15206
85e85163
JJ
152072003-05-14 Jeff Johnston <jjohnstn@redhat.com>
15208
15209 Roland McGrath <roland@redhat.com>
d63a86f8 15210 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
15211 there is no manager thread.
15212
a25fbfec
JJ
152132003-05-08 Jeff Johnston <jjohnstn@redhat.com>
15214
d63a86f8
RM
15215 * gdb.threads/schedlock.exp: Remove assumption that all threads
15216 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
15217 in one of the child threads rather than the main thread.
15218
be375bae
JB
152192003-05-07 Jim Blandy <jimb@redhat.com>
15220
09bf6082
JB
15221 Add support for assembly source testing on the s390x.
15222 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
15223 architecture.
15224 * gdb.asm/s390x.inc: New file.
15225
be375bae
JB
15226 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
15227 succession of 'if' statements.
15228
00905d52
AC
152292003-05-05 Andrew Cagney <cagney@redhat.com>
15230
15231 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
15232
b1e29e33
AC
152332003-05-05 Andrew Cagney <cagney@redhat.com>
15234
15235 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
15236 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
15237
e33d66ec
EZ
152382003-05-02 Elena Zannoni <ezannoni@redhat.com>
15239
15240 * gdb.base/charset.exp: Update based on new behavior of set/show
15241 charset commands.
15242
2b6fd0d8
AC
152432003-05-01 Andrew Cagney <cagney@redhat.com>
15244
15245 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
15246 variable do not give memory errors.
15247
130cacce
AF
152482003-04-30 Adam Fedor <fedor@gnu.org>
15249
15250 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
15251 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
15252 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
15253 gdb.objc/basicclass.m: : New files
15254
15255 * lib/gdb.exp (gdb_compile_objc): New procedure.
15256
bea71854
DJ
152572003-04-27 Daniel Jacobowitz <drow@mvista.com>
15258
15259 * gdb.base/signals.exp: Make backtrace tests more specific.
15260
0f20eeea
DC
152612003-04-23 David Carlton <carlton@bactrian.org>
15262
15263 * gdb.c++/maint.exp (test_first_component): Add tests for
15264 'operator' in more locations.
15265
c8c4d8dc
KB
152662003-04-16 Kevin Buettner <kevinb@redhat.com>
15267
15268 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
15269
3fe60e3c
EZ
152702003-04-16 Elena Zannoni <ezannoni@redhat.com>
15271
15272 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 15273 func marke' instead. Update test name.
3fe60e3c 15274
9219021c
DC
152752003-04-15 David Carlton <carlton@math.stanford.edu>
15276
15277 * gdb.c++/maint.exp: New file.
15278
5dd55bdd
EZ
152792003-04-14 Elena Zannoni <ezannoni@redhat.com>
15280
15281 * gdb.threads/schedlock.c: Change type of thread function argument
15282 to long, to avoid warnings on 64-bit platforms.
15283
00890572
EZ
152842003-04-14 Elena Zannoni <ezannoni@redhat.com>
15285
a9c64011
AS
15286 * gdb.base/attach.exp: Add new message from ptrace in case of
15287 attaching to nonexistent process.
d63a86f8 15288
93201743
JB
152892003-04-11 Jim Blandy <jimb@redhat.com>
15290
15291 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
15292 gdb.c++/userdef.cc: Place comments on the lines to which the
15293 marker function might return.
15294 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
15295 gdb.c++/userdef.exp: Look for those comments to check that we've
15296 returned to the right place, instead of checking line numbers.
15297
2a11c64d
EZ
152982003-04-11 Elena Zannoni <ezannoni@redhat.com>
15299
a9c64011
AS
15300 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
15301 match on sourcefile name, instead of directory name.
2a11c64d 15302
68ab8fc5
EZ
153032003-04-10 Elena Zannoni <ezannoni@redhat.com>
15304
d63a86f8 15305 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
15306 working directory name.
15307
5624293a
JB
153082003-04-09 Jim Blandy <jimb@redhat.com>
15309
15310 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
15311 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
15312 after an inferior function call, report the failure, but allow the
15313 test to continue.
15314
f1f02ee4
SC
153152003-04-05 Stephane Carrez <stcarrez@nerim.fr>
15316
15317 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
15318 with -DPROTOTYPES.
15319
6eb79af0
SC
153202003-04-05 Stephane Carrez <stcarrez@nerim.fr>
15321
15322 * gdb.base/break.exp: Revert last patch.
15323
8dfb4cf0
SC
153242003-04-04 Stephane Carrez <stcarrez@nerim.fr>
15325
15326 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
15327 with -DPROTOTYPES.
15328
ed4c619a
AC
153292003-04-02 Andrew Cagney <cagney@redhat.com>
15330
15331 * gdb.base/callfuncs.exp: Make "print add" messages unique.
15332 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
15333 matching directories by the name breakpoint.
15334 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
15335 Make "continue to marker1" consistent.
15336 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
15337 message consistent.
15338 * lib/gdb.exp: Put "the program is no longer running", and "the
15339 program exited" in parenthesis.
15340 * lib/mi-support.exp: Ditto.
d63a86f8 15341
4e35d5f0 153422003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 15343
4e35d5f0
BR
15344 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
15345
71900fe8
AC
153462003-03-29 Andrew Cagney <cagney@redhat.com>
15347
15348 * gdb.base/sizeof.c (main): Print the value of '\377'.
15349 * gdb.base/sizeof.exp: Check the sign of '\377'.
15350
c0655a16
MC
153512003-03-27 Michael Chastain <mec@shout.net>
15352
15353 * gdb.base/gdb1090.exp: New file.
15354 * gdb.base/gdb1090.cc: New file.
15355
5b2a3989
JB
153562003-03-27 J. Brobecker <brobecker@gnat.com>
15357
15358 * gdb.gdb/observer.exp: New regression test.
15359
79876890
MC
153602003-03-27 Michael Chastain <mec@shout.net>
15361
15362 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
15363 * gdb.base/ptype.exp: Likewise.
15364
6eac95e3
CV
153652003-03-27 Corinna Vinschen <vinschen@redhat.com>
15366
15367 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
15368
e8c71839
MC
153692003-03-26 Michael Chastain <mec@shout.net>
15370
15371 * gdb.base/ptype.exp: Actually use some typedef'd types.
15372
71b10041
SC
153732003-03-21 Stephane Carrez <stcarrez@nerim.fr>
15374
15375 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
15376 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
15377
2512cf80
CV
153782003-03-20 Corinna Vinschen <vinschen@redhat.com>
15379
15380 * gdb.base/default.exp: Fix regular expression.
15381
0d195a4f
CV
153822003-03-20 Corinna Vinschen <vinschen@redhat.com>
15383
15384 * gdb.base/args.exp: Fix regular expression.
15385
8a2dbca8
CV
153862003-03-20 Corinna Vinschen <vinschen@redhat.com>
15387
15388 * gdb.base/help.exp: Allow Win32 child process.
15389
bf028682
CV
153902003-03-20 Corinna Vinschen <vinschen@redhat.com>
15391
15392 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
15393 when stepping out of main().
15394
182dbe85
CV
153952003-03-20 Corinna Vinschen <vinschen@redhat.com>
15396
15397 * gdb.base/default.exp: Check for win32 specific message when calling
15398 "run" without executable.
15399
d67a6ba5
CV
154002003-03-20 Corinna Vinschen <vinschen@redhat.com>
15401
15402 * gdb.base/args.exp: Expect .exe in output.
15403
a955b5bb
CV
154042003-03-20 Corinna Vinschen <vinschen@redhat.com>
15405
15406 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
15407 Cygwin native.
15408
bf6bad4b
AC
154092003-03-17 Andrew Cagney <cagney@redhat.com>
15410
15411 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
15412 vector registes.
15413 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
15414 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
15415
293e9a31
DC
154162003-03-17 David Carlton <carlton@math.stanford.edu>
15417
15418 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
15419 test, for PR breakpoints/38.
15420 Call test_watchpoint_and_breakpoint.
15421 * gdb.base/watchpoint.c (func3): New function.
15422 (main): Call func3.
15423
5330f2db
DC
154242003-03-04 David Carlton <carlton@math.stanford.edu>
15425
15426 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
15427 Garply<Garply<char> >:: garply".
15428 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
15429 with respect to PR c++/1111; note also PR c++/1113.
15430 (test_template_breakpoints): KFAIL "constructor breakpoint" with
15431 respect to PR c++/1062.
15432 KFAIL "destructor breakpoint" with respect to PR c++/1112.
15433
6ece72da
DC
154342003-03-03 David Carlton <carlton@math.stanford.edu>
15435
15436 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
15437 with respect to PR c++/57.
15438 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
15439 c++/826.
15440 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
15441 respect to PR c++/57.
15442
85ca1584
DC
154432003-03-03 David Carlton <carlton@math.stanford.edu>
15444
15445 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
15446 respect to PR c++/33 into FAILs.
15447
98e9c5b8
MC
154482003-03-03 Michael Chastain <mec@shout.net>
15449
7bedbf27
MC
15450 * configure.in: Update copyright years.
15451
154522003-03-03 Michael Chastain <mec@shout.net>
15453
15454 * Makefile.in: Update copyright years.
98e9c5b8 15455
f683e100
DC
154562003-02-28 David Carlton <carlton@math.stanford.edu>
15457
15458 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
15459 print class instead of struct and/or superfluous protection
15460 specifiers, as long as the resulting output is equivalent to the
15461 source code.
15462 Delete FIXME from end of messages on tests that don't need
15463 fixing.
15464
a9e0cf2c
DC
154652003-02-28 David Carlton <carlton@math.stanford.edu>
15466
15467 * gdb.c++/templates.exp (do_tests): Allow const in the two
15468 Foo<volatile char *>::foo tests.
15469
e8d359df
MS
154702003-02-27 Michael Snyder <msnyder@redhat.com>
15471
d63a86f8 15472 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
15473 will be consistant.
15474
0b71dc91
DC
154752003-02-26 David Carlton <carlton@math.stanford.edu>
15476
15477 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
15478 char *>::foo" test with respect to PR c++/33. Create a new test
15479 which is identical to that one except that it doesn't put the
15480 space between the "char" and the "*"; KFAIL it, too.
15481
dd14ab43
DC
154822003-02-26 David Carlton <carlton@math.stanford.edu>
15483
15484 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
15485 template types into either PASSes or KFAILs (corresponding to PR
15486 c++/57). Tweak indentation. Update copyright.
15487
1146c7f1
SC
154882003-02-23 Stephane Carrez <stcarrez@nerim.fr>
15489
15490 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
15491
74641dfb
MC
154922003-02-13 Michael Chastain <mec@shout.net>
15493
15494 * gdb.base/exprs.exp: Remove i960 remnants.
15495 * gdb.base/funcargs.exp: Likewise.
15496 * gdb.base/list.exp: Likewise.
15497 * gdb.base/ptype.exp: Likewise.
15498
559cd2d0
DC
154992003-02-14 David Carlton <carlton@math.stanford.edu>
15500
15501 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
15502 pEe->D::vg()" from XFAIL to KFAIL.
15503
c4f90d87
JM
155042003-02-13 Jason Molenda (jmolenda@apple.com)
15505
15506 * gdb.base/maint.exp: Update maint print statistics regexp to include
15507 new entries.
15508
cbc4d97c
MC
155092003-02-13 Michael Chastain <mec@shout.net>
15510
15511 * gdb.c++/inherit.exp: Remove call to get_debug_format.
15512
40f235b7
MC
155132003-02-12 Michael Chastain <mec@shout.net>
15514
15515 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
15516 * gdb.c++/inherit.exp: Likewise.
15517 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
15518 * gdb.c++/templates.exp: Likewise.
15519 * gdb.c++/virtfunc.exp: Likewise.
15520
c56716b0
JM
155212003-02-06 Jason Molenda (jason-cl@molenda.com)
15522
15523 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
15524 why the code is written that way.
15525
070afcf8
MC
155262003-02-05 Michael Chastain <mec@shout.net>
15527
15528 * gdb.base/dump.exp: Add missing copyright line.
15529
5d0331e5
JM
155302003-02-05 Jason Molenda (jason-cl@molenda.com)
15531
f7ae6d3e 15532 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
15533 at the beginning so the breakpoint doesn't get set on the loop.
15534
92851186
MC
155352003-02-05 Michael Chastain <mec@shout.net>
15536
15537 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
15538 output for configurations with gcc 2.95.3.
15539
cbf1e085
AC
155402003-02-05 Keith Seitz <keiths@redhat.com>
15541 Andrew Cagney <ac131313@redhat.com>
15542
15543 * gdb.mi/mi-cli.exp: New file.
d63a86f8 15544
29518e1e
MC
155452003-02-04 Michael Chastain <mec@shout.net>
15546
15547 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
15548 Call perror and then continue.
15549
5af1d5f3
MC
155502003-02-03 Michael Chastain <mec@shout.net>
15551
15552 * gdb.c++/pr-1023.cc: New file.
15553 * gdb.c++/pr-1023.exp: New file.
15554
6b549786
JB
155552003-02-05 Jim Blandy <jimb@redhat.com>
15556
15557 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
15558 it's local to foobar. Check for it there, and check that it's not
15559 present in main.
15560 * gdb.c++/local.cc (marker2): New function.
15561 (foobar): Call marker1.
15562 (main): Call marker2 instead of marker1.
15563
67f16606
AC
155642003-02-04 Andrew Cagney <ac131313@redhat.com>
15565
15566 * gdb.disasm/mn10200.exp: Obsolete file.
15567 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
15568 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
15569 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
15570
1c5cb38e
DC
155712003-02-04 David Carlton <carlton@math.stanford.edu>
15572
15573 * gdb.c++/overload.exp: Test intToChar(1).
15574 * gdb.c++/overload.cc (intToChar): New.
15575 (main): Call intToChar.
15576
d1fe6965
DC
155772003-02-03 David Carlton <carlton@math.stanford.edu>
15578
15579 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
15580 'might_kfail' arg.
15581 KFAIL some of the continue_to_bp_overloaded calls, according to
15582 PR c++/1025.
15583
9ba61c5d
MC
155842003-02-01 Michael Chastain <mec@shout.net>
15585
15586 * gdb.base/advance.c (marker1): New marker function.
15587 * gdb.base/advance.exp: When the 'advance' command lands on the
15588 return breakpoint, it can legitimately stop on either the
15589 current line or the next line. Accommodate both outcomes.
15590 * gdb.base/until.exp: Likewise.
15591
e7494ffb
AC
155922003-02-02 Andrew Cagney <ac131313@redhat.com>
15593
15594 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
15595 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
15596 now a list, not a tuple.
15597 * gdb.mi/mi-var-display.exp: Ditto.
15598 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 15599
075559bc
AC
156002003-02-01 Andrew Cagney <ac131313@redhat.com>
15601
15602 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
15603 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
15604 stack backtraces.
15605 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 15606
2bd4c7b1
MK
156072003-02-01 Mark Kettenis <kettenis@gnu.org>
15608
15609 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
15610 gdb.mi/mi1-pthreads.exp: Return instead of calling
15611 gdb_suppress_entire_file.
15612
eabd8992
MS
156132003-02-01 Mark Salter <msalter@redhat.com>
15614
15615 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
15616
71469e2f
MS
156172003-01-31 Mark Salter <msalter@redhat.com>
15618
15619 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
15620 Support empty arg.
15621
38a94d44
MC
156222003-01-30 Michael Chastain <mec@shout.net>
15623
15624 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
15625 This was a workaround for a UTF-8 bug in readline 4.3. The bug
15626 has been fixed in gdb/readline on 2003-01-09.
15627
19ea9e73
MS
156282003-01-29 Michael Snyder <msnyder@redhat.com>
15629
e8d359df
MS
15630 * gdb.base/maint.exp: Allow for leading underscore in symbol.
15631 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
15632 * gdb.base/args.exp: Skip if target does not support args passing.
15633
2307bd6a
DJ
156342003-01-22 Daniel Jacobowitz <drow@mvista.com>
15635
19ea9e73 15636 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
15637 gdb_test. Accept a list of expect arguments as the third
15638 parameter.
15639 (gdb_test): Use it.
15640
f2dd3617
EZ
156412003-01-20 Elena Zannoni <ezannoni@redhat.com>
15642
15643 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
15644 allow for different test tree configurations. Update some
15645 tescases accordingly.
15646 * gdb.arch/altivec-regs.exp: Ditto.
15647 * gdb.asm/asm-source.exp: Ditto.
15648 * gdb.base/advance.exp: Ditto.
15649 * gdb.base/display.exp: Ditto.
d63a86f8 15650 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
15651 * gdb.base/mips_pro.exp: Ditto.
15652 * gdb.base/overlays.exp: Ditto.
15653 * gdb.base/relocate.exp: Ditto.
15654 * gdb.base/setshow.exp: Ditto.
15655 * gdb.base/step-line.exp: Ditto.
15656 * gdb.base/step-test.exp: Ditto.
15657 * gdb.base/until.exp: Ditto.
15658 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
15659
c71cdefd
DC
156602003-01-17 David Carlton <carlton@math.stanford.edu>
15661
15662 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
15663 corresponding to PR c++/945.
15664 Update copyright.
15665
fdba05d7
DC
156662003-01-17 David Carlton <carlton@math.stanford.edu>
15667
15668 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
15669 corresponding to PR c++/68.
15670
156712003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
15672
15673 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
15674 (test_paddr_hairy_functions): Call print_addr_2_kfail for
15675 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
15676
c362c33a
EZ
156772003-01-15 Elena Zannoni <ezannoni@redhat.com>
15678
0fbc361c
EZ
15679 * gdb.base/break.exp: Fix change of default location, because of
15680 removal of until tests.
15681 * gdb.base/help.exp: Update test for new 'until' help message.
15682 Add test for help on 'advance'.
a9c64011 15683 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 15684
dabf8a35
MK
156852003-01-15 Mark Kettenis <kettenis@gnu.org>
15686
15687 * gdb.base/default.exp: Adapt "info float" test for recent changes
15688 to that command. Add test for "info vector".
15689 * gdb.base/float.exp: New file. Add test for "info float" that
15690 resembles the old test in gdb.base/default.exp.
15691
a1769aca
DC
156922003-01-15 David Carlton <carlton@math.stanford.edu>
15693
15694 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
15695
82025e13
EZ
156962003-01-15 Elena Zannoni <ezannoni@redhat.com>
15697
15698 * gdb.base/break.exp: Move the tests of until command from here...
15699 * gdb.base/until.exp: ... to here. New file. Add other tests.
15700 * gdb.base/advance.c: New file.
15701 * gdb.base/advance.exp: New file.
15702
8f9ab801
EZ
157032003-01-14 Elena Zannoni <ezannoni@redhat.com>
15704
a9c64011
AS
15705 * gdb.base/args.c: New file.
15706 * gdb.base/args.exp: New file.
8f9ab801 15707
9ae66589
DJ
157082003-01-14 Daniel Jacobowitz <drow@mvista.com>
15709
15710 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
15711
8d77e5c3
DJ
157122003-01-14 Daniel Jacobowitz <drow@mvista.com>
15713
15714 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
15715
12d2f0a1
DJ
157162003-01-14 Daniel Jacobowitz <drow@mvista.com>
15717
15718 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
15719 dates.
15720
6ca37014
DJ
157212003-01-13 Daniel Jacobowitz <drow@mvista.com>
15722
15723 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
15724
b0023472
DJ
157252003-01-13 Daniel Jacobowitz <drow@mvista.com>
15726
15727 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
15728 (ptype &*"foo").
15729 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
15730
607fbc54 157312003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
15732
15733 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
15734 * gdb.mi/mi1-console.exp: Likewise.
15735
607fbc54 157362003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
15737
15738 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
15739 * gdb.mi/mi1-console.exp: Likewise.
15740
a1fb14a2
DJ
157412003-01-13 Daniel Jacobowitz <drow@mvista.com>
15742
15743 * gdb.c++/overload.exp: Remove some fixed XFAILs.
15744
c4cf40b7
DJ
157452003-01-09 Daniel Jacobowitz <drow@mvista.com>
15746
15747 * gdb.base/detach.exp: New test.
15748
696d5a5b
DJ
157492003-01-09 Daniel Jacobowitz <drow@mvista.com>
15750
15751 * Makefile.in (ALL_SUBDIRS): New variable.
15752 (subdirs, clean, distclean): Use it.
15753 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
15754 regenerating Makefile, since it is generated from the top level.
15755 * gdb.asm/Makefile.in: Likewise.
15756 * gdb.base/Makefile.in: Likewise.
15757 * gdb.c++/Makefile.in: Likewise.
15758 * gdb.disasm/Makefile.in: Likewise.
15759 * gdb.java/Makefile.in: Likewise.
15760 * gdb.mi/Makefile.in: Likewise.
15761 * gdb.threads/Makefile.in: Likewise.
15762 * gdb.trace/Makefile.in: Likewise.
15763
754533e4
DC
157642003-01-09 David Carlton <carlton@math.stanford.edu>
15765
15766 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
15767 Add copyright year 2003.
15768
d8b3e9ee
MC
157692003-01-06 Michael Chastain <mec@shout.net>
15770
15771 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
15772 When selecting a thread, 'line' and 'file' are optional.
15773 * gdb.mi/mi1-pthreads.exp: Likewise.
15774
8e9e0fe6
AS
157752003-01-06 Andreas Schwab <schwab@suse.de>
15776
15777 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
15778 failures.
15779
b5ab8ff3
DJ
157802003-01-04 Daniel Jacobowitz <drow@mvista.com>
15781
15782 Fix PR gdb/844
15783 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
15784 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
15785
15786 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
15787 instead of calling gdb_suppress_entire_file.
15788 * gdb.threads/print-threads.exp: Likewise.
15789 * gdb.threads/schedlock.exp: Likewise.
15790
15791 * gdb.threads/killed.exp: Return instead of calling
15792 gdb_suppress_entire_file.
15793 * gdb.threads/linux-dp.exp: Likewise.
15794 * gdb.threads/pthreads.exp: Likewise.
15795
1e698235
DJ
157962003-01-04 Daniel Jacobowitz <drow@mvista.com>
15797
15798 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
15799 stabs.
15800 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
15801 * gdb.base/whatis.exp: Always allow (void) after function names.
15802
147ff08c
DJ
158032003-01-04 Daniel Jacobowitz <drow@mvista.com>
15804
15805 * gdb.c++/casts.exp: Correct regexp.
15806
dc62bfc2
MK
158072003-01-04 Mark Kettenis <kettenis@gnu.org>
15808
15809 * configure.in: Call AC_CONFIG_HEADER. Don't call
15810 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
15811 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
15812 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
15813 aforementioned directories in the AC_OUPUT call.
15814 * config.hin: New file.
15815 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
15816 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
15817 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
15818 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
15819 pass -I$objdir instead of -I$objdir/$subdir in compilation.
15820 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
15821 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
15822 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
15823 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
15824 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
15825 gdb.threads/configure.in, gdb.threads/configure,
15826 gdb.threads/config.in, gdb.trace/configure.in,
15827 gdb.trace/configure: Removed.
15828
77afa639
MC
158292003-01-03 Michael Chastain <mec@shout.net>
15830
15831 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
15832 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
15833
7634bb6e
DJ
158342003-01-03 Daniel Jacobowitz <drow@mvista.com>
15835
15836 * gdb.base/store.exp: Fix regular expressions.
15837
b39c905e
MK
158382002-12-28 Mark Kettenis <kettenis@gnu.org>
15839
15840 * configure.in: Rewrite.
15841 * configure: Regenerated.
15842
0a8551dd
DC
158432003-01-03 David Carlton <carlton@math.stanford.edu>
15844
15845 * gdb.base/psymtab.exp: New file.
15846 * gdb.base/psymtab1.c: Ditto.
15847 * gdb.base/psymtab2.c: Ditto.
15848
c60b7188
AF
158492002-12-23 Adam Fedor <fedor@gnu.org>
15850
15851 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
15852
ee73db83
DC
158532002-12-23 David Carlton <carlton@math.stanford.edu>
15854
15855 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
15856 and current_directory initialization.
15857
d6c1774e
JB
158582002-12-22 Jim Blandy <jimb@redhat.com>
15859
f0a847b8
JB
15860 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
15861 rather than as part of the output file name.
15862
d6c1774e
JB
15863 * gdb.base/attach.exp: There's no need to copy the test program to
15864 /tmp; that was only ever necessary on HP/UX, and this test is
15865 entirely disabled there anyway.
15866
f0708dbb
JB
158672002-12-21 Jim Blandy <jimb@redhat.com>
15868
4c2acfea
JB
15869 * gdb.c++/psmang.exp: Doc fix.
15870
f0708dbb
JB
15871 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
15872 test.
15873
9579e000
DC
158742002-12-20 David Carlton <carlton@math.stanford.edu>
15875
15876 * gdb.c++/annota2.exp: KFAIL annotate-quit.
15877
d1810171
MC
158782002-12-18 Michael Chastain <mec@shout.net>
15879
15880 * gdb.c++/annota2.exp: Add copyright year 2002.
15881
76565097
DC
158822002-12-17 David Carlton <carlton@math.stanford.edu>
15883
15884 * gdb.c++/try_catch.cc: Add marker comments.
15885 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
15886 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
15887 * gdb.c++/m-static.cc: Ditto.
15888 * gdb.c++/m-static1.cc: Ditto.
15889 * gdb.c++/try_catch.cc: Ditto.
15890
da81390b
JJ
158912002-12-16 Jeff Johnston <jjohnstn@redhat.com>
15892
15893 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
15894 to see whether we are using the new -environment-directory
15895 command which resets via -r or the old version of the command
15896 which may prompt the user. Part of fix for gdb/741.
15897
b304d130
AC
158982002-12-13 Andrew Cagney <ac131313@redhat.com>
15899
15900 * gdb.fortran/types.exp: Update obsolete comment.
15901 * gdb.fortran/exprs.exp: Ditto.
15902 * lib/gdb.exp: Delete obsolete code.
15903 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
15904 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
15905 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
15906 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
15907 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
15908 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
15909 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
15910 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
15911 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
15912 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
15913 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
15914 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
15915 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
15916 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
15917 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
15918 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
15919 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
15920 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
15921 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
15922 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
15923 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
15924 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
15925 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
15926 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
15927 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
15928 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
15929 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
15930 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
15931 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
15932 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
15933 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
15934 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
15935 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
15936 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
15937 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
15938 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
15939 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
15940
a23b6e6a
DC
159412002-12-11 David Carlton <carlton@math.stanford.edu>
15942
15943 * gdb.c++/m-data.exp: Add test for members that shadow global
15944 variables: see PR gdb/804.
15945 * gdb.c++/m-data.cc: Ditto.
15946
6604731b
DJ
159472002-12-10 Daniel Jacobowitz <drow@mvista.com>
15948
15949 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
15950
de46ecd7
DC
159512002-12-06 David Carlton <carlton@math.stanford.edu>
15952
15953 * gdb.base/store.c: Don't declare functions static.
15954
27e829d0
AC
159552002-12-04 Andrew Cagney <ac131313@redhat.com>
15956
15957 * gdb.base/store.exp, gdb.base/store.c: New files.
15958
92806416
DJ
159592002-12-03 Daniel Jacobowitz <drow@mvista.com>
15960
15961 * gdb.base/selftest.exp: Update for current gdb.
15962
3bcbaac5
DJ
159632002-12-03 Daniel Jacobowitz <drow@mvista.com>
15964
15965 * gdb.base/maint.exp: Only dump symbols from one source file
15966 or objfile.
15967
f4f00b1f
DJ
159682002-12-03 Daniel Jacobowitz <drow@mvista.com>
15969
15970 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
15971 function call.
15972
f1c8a949
JB
159732002-11-25 Jim Blandy <jimb@redhat.com>
15974
15975 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
15976 function appearing in error message.
15977
9e297a97
DJ
159782002-11-21 Daniel Jacobowitz <drow@mvista.com>
15979
15980 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
15981
1f312e79
JJ
159822002-11-08 Jeff Johnston <jjohnstn@redhat.com>
15983
d63a86f8
RM
15984 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
15985 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
15986 should be in mi console format. This is part of fix for PR gdb/604.
15987
83c31e7d
FN
159882002-09-18 Fernando Nasser <fnasser@redhat.com>
15989
15990 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
15991 which explicitly prints the zero offset as "+0".
15992
322b3f65
DJ
159932002-10-22 Daniel Jacobowitz <drow@mvista.com>
15994
15995 * gdb.threads/schedlock.c (args): Make unsigned.
15996
159972002-10-21 Daniel Jacobowitz <drow@mvista.com>
15998
15999 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
16000 numbers. Allow "foo2|selected stack frame".
16001 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
16002 * gdb.asm/asmsrc2.s: Likewise.
16003 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
16004 comments.
16005 * gdb.asm/mips.inc: New file.
16006
5e2fe5b8
AF
160072002-10-18 Adam Fedor <fedor@gnu.org>
16008
16009 * gdb.base/default.exp: Update expected output to include 'ObjC'.
16010 * gdb.base/help.exp: Likewise.
16011
abe1a5d0
KB
160122002-10-17 Kevin Buettner <kevinb@redhat.com>
16013
16014 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
16015 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
16016
10abb1d4
JB
160172002-10-02 Jim Blandy <jimb@redhat.com>
16018
16019 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
16020
1f609b42
AC
160212002-10-01 Andrew Cagney <ac131313@redhat.com>
16022
16023 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
16024 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
16025 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
16026 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
16027 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
16028 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
16029 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
16030
0aee02e4
AC
160312002-09-29 Andrew Cagney <ac131313@redhat.com>
16032
16033 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
16034 * mi0-disassemble.exp, mi0-eval.exp: Delete.
16035 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
16036 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
16037 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
16038 * mi0-var-block.exp, mi0-var-child.exp: Delete.
16039 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 16040
6fde09ad
KB
160412002-09-27 Kevin Buettner <kevinb@redhat.com>
16042
16043 * gdb.base/annota1.exp (info break): Make directory components of
16044 path optional since not all compilers emit this debug information.
16045
889bf7c5
PA
16046 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
16047 step ends up stepping out of the function instead of stopping on
16048 the epilogue.
6fde09ad 16049
9e8aab75
KS
160502002-09-26 Keith Seitz <keiths@redhat.com>
16051
16052 * lib/insight-support.exp (gdbtk_start): Figure out where
16053 the insight executable is based on where gdb is. Use this
16054 executable to start insight instead of gdb.
16055
e36180d7
AC
160562002-09-25 Andrew Cagney <cagney@redhat.com>
16057
16058 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
16059
9dd34b2b
AC
160602002-09-24 Andrew Cagney <ac131313@redhat.com>
16061
16062 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
16063 test_isolated_complaints.
16064 (test_empty_complaint): New function.
16065 (test_empty_complaints): New function. Check no output when no
16066 complaints.
d63a86f8 16067
dea97812
KB
160682002-09-19 Jim Blandy <jimb@redhat.com>
16069
a9c64011 16070 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 16071
54951bd7
AC
160722002-09-19 Andrew Cagney <ac131313@redhat.com>
16073
16074 * gdb.gdb/complaints.exp: New file.
16075
dec43320
AC
160762002-09-18 Andrew Cagney <ac131313@redhat.com>
16077
16078 * gdb.base/maint.exp: Check `help maint internal-warning'.
16079
e70d6e3f
DC
160802002-09-18 David Carlton <carlton@math.stanford.edu>
16081
16082 * gdb.c++/m-static.exp: Remove breakpoints depending on line
16083 numbers, and replace them by a single breakpoint after the
16084 constructors are all finished.
16085 Add test 4.
16086 * gdb.c++/m-static.cc: Add test 4.
16087 * gdb.c++/m-static.h: New file.
16088 * gdb.c++/m-static1.cc: New file.
16089
16090 * gdb.c++/printmethod.exp: New file.
16091 * gdb.c++/printmethod.cc: New file.
16092
16093 * gdb.c++/pr-574.exp: New file.
16094 * gdb.c++/pr-574.cc: New file.
16095
afb5c968
CV
160962002-09-18 Corinna Vinschen <vinschen@redhat.com>
16097
16098 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
16099 embedded targets which never actually exit.
16100
31e45dee
FN
161012002-09-18 Fernando Nasser <fnasser@redhat.com>
16102
16103 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
16104 "don't step after run" as unresolved or unsupported, instead of xfail.
16105
a283c5a1
CV
161062002-09-18 Corinna Vinschen <vinschen@redhat.com>
16107
16108 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
16109 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
16110 Add newline to expected string in "step out of main (status wrapper)"
16111 case.
16112
11350d2a
CV
161132002-09-18 Corinna Vinschen <vinschen@redhat.com>
16114
16115 * lib/gdb.exp (rerun_to_main): Allow restarting application.
16116 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
16117
0deec7d6
TT
161182002-09-17 Tom Tromey <tromey@redhat.com>
16119
16120 * gdb.base/printcmds.exp (test_print_string_constants): Expect
16121 \000, not \0, in double-quoted string.
16122
b2b4a1b5
CV
161232002-09-14 Corinna Vinschen <vinschen@redhat.com>
16124
c9d37158 16125 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
16126 string after running the commands execution on breakpoint tests.
16127
1c56143a
CV
161282002-09-13 Corinna Vinschen <vinschen@redhat.com>
16129
16130 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
16131
37f8da45
JB
161322002-09-12 Joel Brobecker <brobecker@gnat.com>
16133
16134 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
16135
08b468e0
KS
161362002-09-10 Keith Seitz <keiths@redhat.com>
16137
16138 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
16139 runto proc.
16140 (mi_run_to_main): Use mi_runto.
16141 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
16142
dc360f58
KS
161432002-09-10 Keith Seitz <keiths@redhat.com>
16144
16145 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
16146 regexp for stopping at main. Could have multiple event notifications.
16147 Don't assume that main was declared with no parameters.
16148 (mi_next): Use mi_step_to.
16149 (mi_step): Use mi_next_to.
16150
ce3abcfb
CV
161512002-09-09 Corinna Vinschen <vinschen@redhat.com>
16152
16153 * gdb.base/default.exp: Fix expected string in `info float' test.
16154
d1f5b980
BE
161552002-09-09 Ben Elliston <bje@redhat.com>
16156
16157 * config/mips.exp: Update comments.
16158 * config/mips-idt.exp: Likewise.
16159 * config/nind.exp: Likewise.
16160 * config/slite.exp: Likewise.
16161 * config/sparclet.exp: Likewise.
16162 * config/udi.exp: Likewise.
16163 * config/vx.exp: Likewise.
16164 * config/vxworks29k.exp: Likewise.
16165
2f71430b
JB
161662002-09-05 Jim Blandy <jimb@redhat.com>
16167
16168 * gdb.threads/killed.exp: Fix test failure message.
16169
7ddebc7e
KS
161702002-09-04 Keith Seitz <keiths@redhat.com>
16171
16172 * lib/mi-support.exp: Update copyright.
16173 (mi_gdb_test): Increase the priority of the expected pattern
16174 so that it matches gdb_test.
16175
0ae67eb3
KS
161762002-09-03 Keith Seitz <keiths@redhat.com>
16177
16178 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
16179 Use integer comparison instead of string comparison for testing
16180 whether binary was built.
16181
38fc42c8
JB
161822002-09-03 Jim Blandy <jimb@redhat.com>
16183
16184 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
16185
b6ff0e81
JB
161862002-08-29 Jim Blandy <jimb@redhat.com>
16187
16188 * gdb.threads/pthreads.exp: Move the portable thread compilation
16189 code into a function in lib/gdb.exp, and call that from here.
16190 * lib/gdb.exp (gdb_compile_pthreads): New function.
16191
07c98896
KS
161922002-08-29 Keith Seitz <keiths@redhat.com>
16193
16194 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
16195 expect_out so that callers can get at it.
16196
0312286c
DJ
161972002-08-23 Daniel Jacobowitz <drow@mvista.com>
16198
16199 * gdb.threads/print-threads.c: New file.
16200 * gdb.threads/print-threads.exp: New file.
16201 * gdb.threads/schedlock.c: New file.
16202 * gdb.threads/schedlock.exp: New file.
16203
dd039bc4
EZ
162042002-08-22 Elena Zannoni <ezannoni@redhat.com>
16205
a9c64011
AS
16206 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
16207 not altivec.c.
dd039bc4 16208
1f36144c
MK
162092002-08-17 Mark Kettenis <kettenis@gnu.org>
16210
16211 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
16212 targets. The problem should be fixed now.
16213
16057ec7 162142002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
16215
16216 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
16217 2002-07-24 change that removes final dots from error messages.
16218
3c1499ad
TT
162192002-08-13 Tom Tromey <tromey@redhat.com>
16220
16221 * gdb.base/readline.exp: New file.
16222
a20ce2c3
AC
162232002-08-01 Andrew Cagney <ac131313@redhat.com>
16224
16225 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
16226 supress message.
16227
db034ac5
AC
162282002-08-01 Andrew Cagney <cagney@redhat.com>
16229
16230 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
16231 CHILL_FOR_TARGET and CHILL_LIB.
16232 * configure.in (configdirs): Remove gdb.chill.
16233 * configure: Regenerate.
16234 * lib/gdb.exp: Obsolete references to chill.
16235 * gdb.fortran/types.exp: Ditto.
16236 * gdb.fortran/exprs.exp: Ditto.
16237
3e000b18
KB
162382002-07-30 Kevin Buettner <kevinb@redhat.com>
16239
16240 * gdb.base/shlib-call.exp (additional_flags): Conditionally
16241 set Irix-specific compile and link flags.
16242
28f4966b
KB
162432002-07-29 Kevin Buettner <kevinb@redhat.com>
16244
16245 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
16246 source files. The ``-o'' option doesn't work with the ``-E'' option
16247 when using the Irix compiler.
16248
46c0d5a6
DJ
162492002-07-19 Daniel Jacobowitz <drow@mvista.com>
16250
16251 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
16252 Improve support for reusing an exec file. Copy exec file
16253 to target, and run gdbserver on the target instead of on the host.
16254
eecf4bed
JB
162552002-07-18 Jim Blandy <jimb@redhat.com>
16256
0f815cdf
JB
16257 * gdb.base/ending-run.exp: Don't expect to see the program end in
16258 some orderly fashion when we're running on a real stand-alone
16259 board.
16260
eecf4bed
JB
16261 * gdb.base/interrupt.exp: Correct logic for skipping tests on
16262 targets that don't support interrupts.
16263
52d309e4
JB
162642002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
16265
16266 * gdb.base/attach.exp: Add patterns to match output from /proc-based
16267 systems.
16268 Move comments in expect statements to inside the actions, so that they
16269 don't get matched against.
16270
ff683d9e
MK
162712002-07-10 Mark Kettenis <kettenis@gnu.org>
16272
16273 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
16274 function when asleep" test.
16275
b5356753
AC
162762002-07-10 Andrew Cagney <ac131313@redhat.com>
16277
16278 * gdb.base/page.exp: Rewrite to handle problems with very long
16279 `info set' output. Update copyright.
16280
6aa4d13a
AC
162812002-06-26 Andrew Cagney <ac131313@redhat.com>
16282
16283 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
16284 gdb.threads-hp.
16285 * gdb.hp/configure: Regenerate.
16286 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
16287 * gdb.hp/gdb.threads-hp/configure: Delete file.
16288 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
16289
8cf8c2b8
AC
162902002-06-22 Andrew Cagney <ac131313@redhat.com>
16291
16292 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
16293 setlocale, bindtextdomain and textdomain.
16294
6827a8f8
JB
162952002-06-11 Jim Blandy <jimb@redhat.com>
16296
919d772c
JB
16297 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
16298 preprocessor macro information is present.
16299
6827a8f8
JB
16300 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
16301 tests.
16302
c15b0d21
MS
163032002-06-06 Michael Snyder <msnyder@redhat.com>
16304
c5984d70
MS
16305 * gdb.base/overlays.exp: Record addresses of overlay
16306 functions in TCL variables rather than in GDB variables,
16307 to avoid having GDB convert them to pointers (with loss
16308 of information).
16309
d63a86f8 16310 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 16311 default linker script changes.
c15b0d21
MS
16312 * gdb.base/long_long.exp: Add check for sizeof (long double).
16313
be26fe0d
ML
163142002-06-06 Michal Ludvig <mludvig@suse.cz>
16315
16316 * gdb.asm/asm-source.exp: Add x86-64 target.
16317 * gdb.asm/x86_64.inc: New.
d63a86f8 16318
258093ca 163192002-05-30 Michael Chastain <mec@shout.net>
258093ca 16320
4b3153f1 16321 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
16322 * gdb.c++/m-static.cc: New file.
16323 * gdb.c++/m-static.exp: New file.
16324
241264c6
MS
163252002-05-28 Michael Snyder <msnyder@redhat.com>
16326
16327 * gdb.base/call-ar-st.exp: Allow for reduced floating point
16328 precision.
16329
9bba8c8f 163302002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 16331
4b3153f1 16332 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
16333 * gdb.c++/m-data.cc: New file.
16334 * gdb.c++/m-data.exp: New file.
16335
163362002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 16337
4b3153f1 16338 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 16339 * gdb.c++/try_catch.cc: New file.
d63a86f8 16340 * gdb.c++/try_catch.exp: New file.
9bba8c8f 16341
def1b996
MC
163422002-05-27 Michael Chastain <mec@shout.net>
16343
16344 * gdb.c++/local.exp: Accept more nested types in output.
16345
522ba268
MC
163462002-05-26 Michael Chastain <mec@shout.net>
16347
16348 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
16349
277254ba
MS
163502002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
16351
16352 * lib/gdb.exp (gdb_wrapper_init): Just because
16353 gdb_wrapper_file exists, this does not mean that the file
16354 should not be rebuilt. That is what gdb_wrapper_initialized
16355 is for.
16356 (default_gdb_init): Reset gdb_wrapper_initialized.
16357
b61a8733
MS
163582002-05-23 Michael Snyder <msnyder@redhat.com>
16359
d63a86f8 16360 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
16361 the precision of the floating point test results.
16362 * gdb.base/call-rt-st.exp: Ditto.
16363
b61a8733
MS
16364 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
16365 * gdb.base/call-rt-st.exp: Ditto.
16366
56f6e910
MC
163672002-05-19 Michael Chastain <mec@shout.net>
16368
16369 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
16370
ad0b0016
EZ
163712002-05-19 Elena Zannoni <ezannoni@redhat.com>
16372
a9c64011
AS
16373 * configure.in (configdirs): Add gdb.arch.
16374 * configure: Regenerate.
ad0b0016 16375
f617d2b6
JB
163762002-05-17 Jim Blandy <jimb@redhat.com>
16377
16378 * gdb.base/completion.exp: Recognize the more detailed error
16379 messages produced by the macro expander's lexical analyzer.
16380
eac2a696
EZ
163812002-05-14 Elena Zannoni <ezannoni@redhat.com>
16382
a9c64011
AS
16383 * gdb.arch/altivec-abi.c: New file.
16384 * gdb.arch/altivec-abi.exp: New file.
16385 * gdb.arch/altivec-regs.c: New file.
16386 * gdb.arch/altivec-regs.exp: New file.
eac2a696 16387
2fdde8f8
DJ
163882002-05-14 Daniel Jacobowitz <drow@mvista.com>
16389
16390 * gdb.base/maint.exp (maint print type): Update for new type
16391 structure.
d63a86f8 16392
e31f1a7c
EZ
163932002-05-14 Elena Zannoni <ezannoni@redhat.com>
16394
16395 * gdb.arch: New directory.
16396 * gdb.arch/configure.in: New file.
16397 * gdb.arch/configure: New file.
16398 * gdb.arch/Makefile.in: New file.
16399
db589741
CV
164002002-05-13 Corinna Vinschen <vinschen@redhat.com>
16401
16402 * gdb.asm/asm-source.exp: Add v850 as supported target.
16403 * gdb.asm/v850.inc: New file.
16404
8ce2a7dc
DJ
164052002-05-13 Daniel Jacobowitz <drow@mvista.com>
16406
16407 * gdb.c++/annota2.exp (annotate-quit): Add comment.
16408
df763c7f
DJ
164092002-05-12 Daniel Jacobowitz <drow@mvista.com>
16410
16411 * gdb.base/break.exp: Check 'break "marker2"'.
16412
377daeed
MS
164132002-05-10 Michael Snyder <msnyder@redhat.com>
16414
16415 * gdb.base/long_long.exp: Fix typo.
16416
c4b7bc2b
JB
164172002-05-10 Jim Blandy <jimb@redhat.com>
16418
ecac9a4e
JB
16419 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
16420 a bug.
16421
c4b7bc2b
JB
16422 * gdb.base/printcmds.exp (test_integer_literals_rejected):
16423 Recognize more detailed error message produced by the macro
16424 expander's lexical analyzer.
16425 * lib/gdb.exp (test_print_reject): Same.
16426
e71019a1
MK
164272002-05-09 Mark Kettenis <kettenis@gnu.org>
16428
16429 * gdb.c++/method.exp: Fix typo.
16430
fedfc8e6
MS
164312002-05-08 Michael Snyder <msnyder@redhat.com>
16432
166a1957
MS
16433 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
16434 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 16435 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
16436 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
16437 Add iftarget clause for strongarm.
d63a86f8 16438
f1c47eb2
MS
164392002-05-06 Michael Snyder <msnyder@redhat.com>
16440
cb9a9d3e
MS
16441 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
16442 (gdb_continue_to_end): Accept output from status wrapper.
16443 * gdb.base/ending-run.exp: Add case for output from status wrapper.
16444 Clean up fail messages to match pass messages.
16445
f1c47eb2
MS
16446 Enable the "needs_status_wrapper" testsuite feature.
16447 * lib/gdb.exp (gdb_wrapper_init): New procedure.
16448 (gdb_compile): Conditionally call gdb_wrapper_init.
16449 * gdb.base/a2-run.exp: Recognize output from status wrapper.
16450 * gdb.c++/method.exp: Recognize output from status wrapper.
16451
6079c749
BE
164522002-05-06 Ben Elliston <bje@redhat.com>
16453From Graydon Hoare <graydon@redhat.com>
16454
16455 * config/sid.exp: Include support for "rawsid" protocol.
16456
188baff3
JB
164572002-05-03 Jim Blandy <jimb@redhat.com>
16458
16459 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
16460 * gdb.c++/hang3.C: New file.
16461
b9c07f0f
AC
164622002-05-04 Andrew Cagney <ac131313@redhat.com>
16463
16464 * gdb.base/default.exp: Remove obsolete code.
16465 * gdb.c++/misc.exp: Ditto. Update copyright.
16466 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
16467 * gdb.base/whatis.exp: Ditto. Update copyright.
16468 * gdb.base/scope.exp: Ditto. Update copyright.
16469 * gdb.base/ptype.exp: Ditto. Update copyright.
16470 * gdb.base/printcmds.exp: Ditto. Update copyright.
16471 * gdb.base/opaque.exp: Ditto. Update copyright.
16472 * gdb.base/list.exp: Ditto.
16473 * gdb.base/funcargs.exp: Ditto. Update copyright.
16474 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
16475 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
16476 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
16477 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
16478 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
16479 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
16480
5c7a0397
MS
164812002-05-02 Michael Snyder <msnyder@redhat.com>
16482
d6dcc264 16483 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
16484 * gdb.base/long_long.exp: Add xscale target.
16485 * gdb.base/default.exp: Add xscale target.
16486
eb7f1c48
JB
164872002-05-01 Jim Blandy <jimb@redhat.com>
16488
16489 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
16490 gdb.c++/hang.exp: New test.
16491
a6befae8
FF
164922002-05-01 Fred Fish <fnf@redhat.com>
16493
16494 * gdb.base/completion.exp: Handle completions of "./Make" for
16495 more than one completion possibility, as is the case when we
16496 build and test in the source tree.
16497
0a310277
AG
164982002-04-29 Anthony Green <green@redhat.com>
16499
16500 * gdb.java/jmisc1.exp: New file.
16501 * gdb.java/jmisc2.exp: New file.
16502
6ff9af88
DJ
165032002-04-24 Daniel Jacobowitz <drow@mvista.com>
16504
16505 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
16506
96b3d632
EZ
165072002-04-23 Elena Zannoni <ezannoni@redhat.com>
16508
16509 * gdb.base/help.exp: Change 'help status' to allow for target
16510 dependent output differences.
16511
5019bb54
MC
165122002-04-22 Michael Chastain <mec@shout.net>
16513
16514 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
16515
a805a116
MC
165162002-04-22 Michael Chastain <mec@shout.net>
16517
16518 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
16519
a1706bfd
DM
165202002-04-17 David S. Miller <davem@redhat.com>
16521
16522 * gdb.asm/sparc64.inc: New file.
16523 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
16524
a73a20a2
EZ
165252002-04-19 Elena Zannoni <ezannoni@redhat.com>
16526
16527 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
16528 instruction file directly into the build tree. Clean up at end of
16529 test.
16530
ba678339
DM
165312002-04-18 David S. Miller <davem@redhat.com>
16532
16533 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
16534 handle 64-bit platforms correctly.
16535 * gdb.base/maint.exp: Likewise.
16536
b03399da
KB
165372002-04-18 Kevin Buettner <kevinb@redhat.com>
16538
16539 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
16540 ``-fpic'' when compiling files comprising a shared library, but
16541 it does need additional linker flags in order to find shared
16542 libraries at run time.
16543
e2004992
KB
165442002-04-18 Kevin Buettner <kevinb@redhat.com>
16545
16546 * gdb.base/cvexpr.c (use): New function.
16547 (main): Invoke use() on all global variables to prevent
16548 some linkers from deleting these otherwise unused symbols.
16549
d8937120
MC
165502002-04-17 Michael Chastain <mec@shout.net>
16551From David S. Miller <davem@redhat.com>
16552
16553 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
16554 handle 64-bit platforms correctly.
16555
ffd61a58
MS
165562002-04-12 Michael Snyder <msnyder@redhat.com>
16557From Jim Blandy <jimb@redhat.com>
a9c64011 16558 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
16559 script can handle this instead.
16560 * gdb.base/bar.c (barx): Same.
16561 * gdb.base/baz.c (bazx): Same.
16562 * gdb.base/grbx.c (grbxx): Same.
16563
16564 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
16565 manager doesn't automatically unmap overlays unnecessarily.
16566
6b8426a6
MH
165672002-04-10 Martin M. Hunt <hunt@redhat.com>
16568
16569 * gdb.base/ending-run.exp: Fix pattern for Mips targets
16570 stepping out of main.
16571
34af4875
MC
165722002-04-09 Michael Chastain <mec@shout.net>
16573
16574 * gdb.c++/local.cc (main): Move call to marker1() inside nested
16575 scope so that the nested scope tests will make sense.
16576 * gdb.c++/local.exp: Write patterns that actually work with gcc
16577 (the HP patterns "were never known to work with gcc").
16578 Keep the old aCC patterns too.
16579
2d1676a0
DJ
165802002-04-09 Daniel Jacobowitz <drow@mvista.com>
16581
16582 * gdb.base/attach.exp: Correct target board test.
16583
3a63e3f9
MC
165842002-04-08 Michael Chastain <mec@shout.net>
16585
16586 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
16587 in a const method. Add some xfail and fail cases for configurations
16588 that do not emit the "const ...".
16589
f18dabd2
MC
165902002-04-07 Michael Chastain <mec@shout.net>
16591
16592 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
16593 Accept "A * const" and "const A * const" as type of "this".
16594 Fix spelling of getFunky throughout. Make messages uniform.
16595
0fcddd82
EZ
165962002-04-07 Elena Zannoni <ezannoni@redhat.com>
16597
a9c64011 16598 Work around for PR gdb/285:
0fcddd82
EZ
16599 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
16600
16a8534a
EZ
166012002-04-07 Elena Zannoni <ezannoni@redhat.com>
16602
16603 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
16604 instructions file at run time instead of configure time.
16605 Sometimes we run the test in a directory that is not the one we
16606 configured in.
16607 * gdb.asm/configure.in: Delete creation of symlink.
16608 * gdb.asm/configure: Regenerate.
16609
24181d81
JB
166102002-04-05 J. Brobecker <brobecker@gnat.com>
16611
16612 * gdb.gdb/xfullpath.exp: New test, to exercise the new
16613 xfullpath () function.
16614
7cdb7107
DJ
166152002-04-04 Daniel Jacobowitz <drow@mvista.com>
16616
16617 * gdb.asm/Makefile.in: Correct dependencies.
16618
16619 * gdb.asm/powerpc.inc: New file.
16620 * gdb.asm/asm-source.exp: Add PowerPC.
16621 * gdb.asm/configure.in: Likewise.
16622 * gdb.asm/configure: Regenerated.
16623
a7d17088
DJ
166242002-04-04 Daniel Jacobowitz <drow@mvista.com>
16625
16626 * gdb.base/relocate.exp: New file.
16627 * gdb.base/relocate.c: New file.
16628
cd721503
FF
166292002-04-04 Fred Fish <fnf@redhat.com>
16630
16631 * gdb.base/step-test.exp: Update comment regarding stopping in
16632 memcpy/bcopy calls inserted as part of the compiler runtime.
16633
b22ad7a7
MS
166342002-04-04 Michael Snyder <msnyder@redhat.com>
16635
16636 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
16637
5f279fa6
DJ
166382002-04-03 Daniel Jacobowitz <drow@mvista.com>
16639
16640 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
16641 (gdb_expect): Remove $notransfer hack.
16642
dd0fd3ce
DJ
166432002-04-02 Daniel Jacobowitz <drow@mvista.com>
16644
16645 * gdb.c++/classes.exp ("calling method for small class"): Match
16646 updated register output.
16647
1e50cda1
DJ
166482002-03-30 Daniel Jacobowitz <drow@mvista.com>
16649
16650 Fix PR gdb/452
16651 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
16652 when finished. Make gdb_file_cmd send "exec-file" when
16653 appropriate.
16654
24015922
DJ
166552002-03-30 Daniel Jacobowitz <drow@mvista.com>
16656
16657 * gdb.base/attach.exp: Remove extra setup_xfail.
16658
dd7dfd64
MS
166592002-03-26 Michael Snyder <msnyder@redhat.com>
16660
16661 * gdb.base/default.exp: Add tests for dump, append, and restore.
16662 * gdb.base/help.exp: Add tests for dump, append, and restore.
16663 * gdb.base/dump.exp: New file, test dump, append and restore.
16664 * gdb.base/dump.c: New file.
16665
48b2f8d7
MS
166662002-03-27 Michael Snyder <msnyder@redhat.com>
16667
d63a86f8 16668 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
16669 clean-ups in help messages.
16670
05b4d525
FF
166712002-03-26 Fred Fish <fnf@redhat.com>
16672
16673 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
16674 have debugging info for those functions and the compiler uses them
16675 internally to copy structs around.
16676
d7679631
FF
166772002-03-26 Fred Fish <fnf@redhat.com>
16678
16679 * gdb.base/list.exp: Revert the change made yesterday and add note
16680 about why we don't list the default lines for remote targets.
16681
523ac3f9
MS
166822002-03-25 Michael Snyder <msnyder@redhat.com>
16683
16684 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
16685
754b2b8d
FF
166862002-03-25 Fred Fish <fnf@redhat.com>
16687
16688 * gdb.base/list.exp: This test works on remote targets so remove
16689 the short circuit for remote targets. Update copyright.
16690
33c3e192
FF
166912002-03-25 Fred Fish <fnf@redhat.com>
16692
16693 * gdb.base/attach.exp: Fix logic error that was suppressing this
16694 test for all non hppa*-*-hpux* targets, instead of the hp target.
16695 Move comments closer to the suppression point. Also now need to
16696 check that we are running natively.
16697
d43e73ee
MS
166982002-03-22 Michael Snyder <msnyder@redhat.com>
16699
882c8f02
MS
16700 * gdb.base/default.exp: Add test for gcore. Update copyright.
16701 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 16702
04c12f60
FF
167032002-03-06 Fred Fish <fnf@redhat.com>
16704
16705 * gdb.base/funcargs.c: Remove extraneous ';' character.
16706 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
16707
b43df995
MC
167082002-03-04 Michael Chastain <mec@shout.net>
16709
16710 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
16711 accommodate gcc v3 function signature.
16712 * gdb.mi/mi0-var-cmd-exp: Ditto.
16713
92362027
AC
167142002-02-24 Andrew Cagney <ac131313@redhat.com>
16715
16716 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
16717 ``GNU/Linux'' or ``Linux kernel''
16718 * testsuite/gdb.threads/pthreads.c: Ditto.
16719
258ad32d
MC
167202002-02-24 Michael Chastain <mec@shout.net>
16721
16722 * gdb.threads/pthreads.c (thread1): Add a return statement.
16723 (thread2): Likewise.
16724 (foo): Likewise.
16725
04c3b3d4
MC
167262002-02-23 Michael Chastain <mec@shout.net>
16727
16728 * gdb.threads/linux-dp.c (philosopher): Add a return statement
16729 to placate gcc.
16730
5a2a0a20
MC
167312002-02-23 Michael Chastain <mec@shout.net>
16732
16733 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
16734 test "ptype bint". The test passes on all my stabs configurations.
16735
a640f7fc
JB
167362002-02-21 Jim Blandy <jimb@redhat.com>
16737
27924826
JB
16738 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
16739 filename at a time, and watch for the ones we want to see.
16740
a640f7fc
JB
16741 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
16742 types of pointers to prototyped functions.
16743
edcc8c75
AC
167442002-02-20 Andrew Cagney <ac131313@redhat.com>
16745
16746 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
16747 signed, unsigned and straight char.
16748 (padding_char, padding_short, padding_int, padding_long,
16749 padding_long_long, padding_float, padding_double,
16750 padding_long_double): New global variables.
16751 (fill, fill_structs): New functions.
16752
16753 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
16754 for correctly sized writes. Update copyright.
16755 (get_valueof): New procedure.
16756 (get_sizeof): Call get_valueof.
16757 (check_valueof): New procedure.
16758 (check_padding): New procedure.
16759
ac57ea44
MC
167602002-02-20 Michael Chastain <mec@shout.net>
16761
16762 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
16763 to setup_xfail. Document some of the remaining calls.
16764
7a10c941
MC
167652002-02-18 Michael Chastain <mec@shout.net>
16766
16767 * gdb.c++/userdef.exp: Update copyright year.
16768
fb8acdcc
DJ
167692002-02-18 Daniel Jacobowitz <drow@mvista.com>
16770
16771 * gdb.c++/userdef.exp: Test overloaded operators properly.
16772 Remove xfails.
16773
fda6ae12
MS
167742002-02-14 Michael Snyder <msnyder@redhat.com>
16775
16776 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
16777
676a0442
DJ
167782002-02-14 Daniel Jacobowitz <drow@mvista.com>
16779
16780 * gdb.base/a2-run.exp: Check for a remote target properly.
16781 * gdb.base/annota1.exp: Likewise.
16782 * gdb.base/list.exp: Likewise.
16783 * gdb.base/reread.exp: Likewise.
16784 * gdb.base/scope.exp: Likewise.
16785 * gdb.base/shlib-call.exp: Likewise.
16786 * gdb.base/term.exp: Likewise.
16787 * gdb.c++/annota2.exp: Likewise.
16788
78b4f468
RE
167892002-02-13 Richard Earnshaw <rearnsha@arm.com>
16790
16791 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
16792
9a81ba51
MC
167932002-02-10 Michael Chastain <mec@shout.net>
16794
16795 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
16796 (call_after_alloca): Ditto.
16797
004af6c7
DJ
167982002-02-10 Daniel Jacobowitz <drow@mvista.com>
16799
16800 * gdb.base/ending-run.exp: Guard "cont" test with
16801 gdb_skip_stdio_test.
16802
37225f62
JB
168032002-02-06 Jim Blandy <jimb@redhat.com>
16804
16805 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
16806 from here...
16807 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
16808 To here. Disable this test on non-HP platforms. Add big comment.
16809
fe6fdd96
MS
168102002-02-04 Michael Snyder <msnyder@redhat.com>
16811
16812 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
16813 other than d10v and m32r.
16814
036fad3f
RE
168152002-02-02 Richard Earnshaw <rearnsha@arm.com>
16816
16817 * gdb.base/default.exp: Rewrite test patterns to reduce time
16818 taken to match them.
16819
7148ab62
DJ
168202002-01-30 Daniel Jacobowitz <drow@mvista.com>
16821
16822 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
16823 Allow a start function above main.
16824 * gdb.threads/linux-dp.exp: Fix copyright date.
16825
396cc255
DJ
168262002-01-30 Daniel Jacobowitz <drow@mvista.com>
16827
a9c64011
AS
16828 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
16829 (check_philosopher_stack): Check for manager thread before checking
16830 for a just-starting thread.
396cc255 16831
f038d31b
DJ
168322002-01-30 Daniel Jacobowitz <drow@mvista.com>
16833
16834 From Neil Booth <neil@daikokuya.demon.co.uk>:
16835 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
16836 warnings.
16837
b3ff9d9a
FF
168382002-01-21 Fred Fish <fnf@redhat.com>
16839
16840 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
16841 not caller.
16842
39ad761d
JB
168432002-01-21 Jim Blandy <jimb@redhat.com>
16844
16845 * gdb.base/reread.exp: Check that GDB properly re-reads the
16846 executable file when it changes while no inferior is running.
16847
aaf320fa
FF
168482002-01-21 Fred Fish <fnf@redhat.com>
16849
a9c64011
AS
16850 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
16851 optionally accept the "shlib events" variation.
aaf320fa 16852
808a31f5
JB
168532002-01-21 Jim Blandy <jimb@redhat.com>
16854
16855 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
16856 call `fflush' after every `printf', so that the output is produced
16857 at predictable points, regardless of whatever buffering does (or
16858 doesn't) take place.
16859 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
16860 at different points.
16861
4420d5e2
DJ
168622002-01-20 Daniel Jacobowitz <drow@mvista.com>
16863
16864 * gdb.c++/inherit.exp: Update copyright years.
16865 * gdb.c++/method.exp: Likewise.
16866
3e36a0f4
DJ
168672002-01-20 Daniel Jacobowitz <drow@mvista.com>
16868
16869 * gdb.c++/classes.exp: Update for improved v3 support and skipping
16870 artificial methods/arguments.
16871 * gdb.c++/derivation.exp: Likewise.
16872 * gdb.c++/inherit.exp: Likewise.
16873 * gdb.c++/method.exp: Likewise.
16874 * gdb.c++/virtfunc.exp: Likewise.
16875
b4ceaee6
AC
168762002-01-18 Andrew Cagney <ac131313@redhat.com>
16877
16878 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
16879 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
16880 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
16881 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
16882 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
16883 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
16884
ecace851
JB
168852002-01-17 Jim Blandy <jimb@redhat.com>
16886
16887 * gdb.asm/asm-source.exp (info symbol): Take another shot at
16888 anchoring the pattern matching the entry point symbol's name.
16889
375fc983
AC
168902002-01-17 Andrew Cagney <ac131313@redhat.com>
16891
16892 * gdb.base/maint.exp: Update ``maint internal-error'' to match
16893 continue/quit query. Update copyright.
16894
fe6fdd96
MS
168952002-01-14 Michael Snyder <msnyder@redhat.com>
16896
16897 * gdb.base/gcore.exp: Remove extra debugging output.
16898
e017c81f
DJ
168992002-01-13 Daniel Jacobowitz <drow@mvista.com>
16900
16901 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
16902 for slightly dubious v2 mangled string.
16903
37ab3bf8
DJ
169042002-01-13 Daniel Jacobowitz <drow@mvista.com>
16905
16906 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
16907
1bc05c3a 169082002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 16909
1bc05c3a 16910 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 16911
1bc05c3a
JM
16912 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
16913 constructors.
16914 * gdb.c++/derivation.exp: Likewise.
16915 * gdb.c++/templates.exp: Likewise.
16916 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 16917
1bc05c3a
JM
169182002-01-10 Michael Snyder <msnyder@redhat.com>
16919
16920 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 16921
a911c360
MS
169222002-01-08 Michael Snyder <msnyder@redhat.com>
16923
16924 * gdb.base/gcore.exp: New test for generate-core-file command.
16925 * gdb.base/gcore.c: Testcase for above.
16926 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
16927
ea2119ec
JM
169282002-01-08 Jason Merrill <jason@redhat.com>
16929
16930 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
16931
68203136
FF
169322002-01-07 Fred Fish <fnf@redhat.com>
16933
16934 * gdb.c++/overload.exp: Remove unconditional xfails for:
16935 print foo_instance1.overloadargs(1)
16936 print foo_instance1.overloadargs(1, 2)
16937 print foo_instance1.overloadargs(1, 2, 3)
16938 print foo_instance1.overloadargs(1, 2, 3, 4)
16939 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
16940 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
16941 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
16942 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
16943 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
16944 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
16945 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
16946 print foo_instance1.overload1arg()
16947 print foo_instance1.overload1arg((char)arg2)
16948 print foo_instance1.overload1arg((signed char)arg3)
16949 print foo_instance1.overload1arg((unsigned char)arg4)
16950 print foo_instance1.overload1arg((int)arg7)
16951 print foo_instance1.overload1arg((unsigned int)arg8)
16952 print foo_instance1.overload1arg((float)arg11)
16953 print foo_instance1.overload1arg((double)arg12)
d63a86f8 16954
21b9b5b1
MS
169552002-01-07 Michael Snyder <msnyder@redhat.com>
16956
16957 * gdb.base/huge.exp: New test. Print a very large target data object.
16958 (skip_huge_test): New test variable. Define if you want to skip this
16959 test. The test reads an 8 megabyte data object from the target, so it
16960 might be very time consuming on remote targets with a slow connection.
16961 * gdb.base/huge.c: New file. Test case for above.
16962
725f922e
FF
169632002-01-07 Fred Fish <fnf@redhat.com>
16964
16965 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
16966 g_instance.bfoo, and g_instance.cfoo.
16967
889bf7c5 169682002-01-07 Jeffrey A Law <law@redhat.com>
634d57ec 16969
889bf7c5
PA
16970 * gdb.base/break.c (multi_line_if_conditional): New function.
16971 (multi_ilne_while_conditional): Likewise.
16972 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
16973 IF or WHILE condition puts the breakpoint at the start of
16974 the condition.
f286b2c3 16975
634d57ec
JL
16976 * gdb.base/selftest.exp (backtrace through signal handler): Remove
16977 hppa*-*-hpux* expected failure.
16978 * gdb.base/structs.exp (do_function_calls): Similarly.
16979
16980 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
16981 watchpoints.
16982
9fbfe2dc
AC
169832002-01-06 Andrew Cagney <ac131313@redhat.com>
16984
16985 Fix PR gdb/66.
16986 * gdb.base/structs.exp: Replace skip for a29k with skip for
16987 gdb,cannot_call_functions.
16988 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
16989 * gdb.base/callfuncs.exp: Ditto.
16990 * gdb.base/call-rt-st.exp: Ditto.
16991 * gdb.base/call-strs.exp: Ditto.
16992 * gdb.base/callfwmall.exp: Ditto.
16993 * gdb.base/scope.exp: Obsolete xfail a29k.
16994 * gdb.c++/misc.exp: Ditto.
16995 * gdb.c++/cplusfuncs.exp: Ditto.
16996 * gdb.base/ptype.exp: Ditto.
16997 * gdb.base/printcmds.exp: Ditto.
16998 * gdb.base/opaque.exp: Ditto.
16999 * gdb.base/list.exp: Ditto.
17000 * gdb.base/funcargs.exp: Ditto.
17001 * gdb.base/default.exp: Ditto.
17002
8ddad156
MS
170032002-01-04 Michael Snyder <msnyder@redhat.com>
17004
ca4976a6 17005 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
17006 * gdb.base/maint.exp: Add tests for maint info sections options.
17007
1b074332
JL
17008Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
17009
17010 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
17011
7d159115
CV
170122001-12-20 Corinna Vinschen <vinschen@redhat.com>
17013
17014 * gdb.asm/arm.inc: New file.
17015 * gdb.asm/asm-source.exp: Add arm targets.
17016 * gdb.asm/configure.in: Ditto.
17017 * gdb.asm/configure: Recreated from configure.in.
17018
8fb87725
JL
17019Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
17020
afabe08c
JL
17021 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
17022 with HP's compiler.
17023 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
17024 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
17025 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
17026 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
17027
17028 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
17029 either HP's compilers or GCC.
17030
db521deb
JL
17031 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
17032 a SIGBUS or SIGSEGV.
17033
17034 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
17035
17036 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
17037 can be compiled with either HP's compiler or GCC.
17038
cfa88ab7
JL
17039 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
17040 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
17041 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
17042
ca344dff
JL
17043 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
17044 to match current gdb output. Update due to using auto-solib-limit
17045 for limiting instead of overloading auto-solib-add.
17046 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
17047 test program.
17048
3f3c6e55 17049 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
17050 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
17051 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
17052 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
17053 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
17054 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
17055 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
17056 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
17057 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
17058 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
17059 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
17060 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
17061 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 17062
8fb87725
JL
17063 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
17064 a SIGTRAP to the inferior.
17065
cf599fa7
CV
170662001-12-19 Corinna Vinschen <vinschen@redhat.com>
17067
17068 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
17069 Substitute call to target_link by call to gdb_compile.
17070
2cd045cd
JL
17071Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
17072
a9c64011
AS
17073 * gdb.base/break.exp: Fix HP specific search string when testing
17074 backtracing in a called function.
2cd045cd 17075
a9c64011
AS
17076 * gdb.base/constvars.exp: Only set lang to C++ if we're
17077 compiling the test with HP's compilers.
17078 * gdb.base/volatile.exp: Similarly.
2cd045cd 17079
99ebe9ac
JB
170802001-12-19 Jim Blandy <jimb@redhat.com>
17081
17082 * gdb.base/printcmds.exp: Expect the null character to be printed
17083 as '\0', and the '\013' to be printed as '\v'.
17084 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
17085 * gdb.base/setvar.exp: Same.
17086
b9891b29
JB
170872001-12-17 Jim Blandy <jimb@redhat.com>
17088
0eba65ab
JB
17089 * gdb.base/completion.exp: Rather than completing very long
17090 filenames, which can make the readline library produce output we
17091 don't recognize, cd to the directory first, and then complete
17092 using nice, short relative paths.
17093
6970b5b1
JB
17094 * gdb.base/completion.exp: On some systems, there is, in fact, a
17095 variable named `b' in scope, since GDB treats all static
a9c64011
AS
17096 variables as being in scope. So use `no_var_named_this'
17097 instead of `b'.
6970b5b1 17098
b9891b29 17099 * gdb.base/corefile.exp: Recognize the message saying that GDB
889bf7c5 17100 can't find the core file's registers as a failure.
b9891b29 17101
e6ccd35f
JSC
171022001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
17103
a9c64011
AS
17104 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
17105 test expect string more specific.
e6ccd35f 17106
105ba819
CV
171072001-12-13 Corinna Vinschen <vinschen@redhat.com>
17108
17109 * gdb.asm/asm-source.exp: Add support for xstormy16.
17110 * gdb.asm/configure.in: Ditto.
17111 * gdb.asm/configure: Rebuild.
17112 * gdb.asm/xstormy16.inc: New file.
17113
e9e79dd9
FF
171142001-12-10 Fred Fish <fnf@redhat.com>
17115
17116 * gdb.base/maint.exp: Update to match changes in type dumping code.
17117
347dc97d
JB
171182001-12-10 Jim Blandy <jimb@redhat.com>
17119
17120 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
889bf7c5
PA
17121 matching the entry point symbol's name at the beginning of the
17122 line.
347dc97d 17123
5178b9d6
DJ
171242001-12-07 Daniel Jacobowitz <drow@mvista.com>
17125
17126 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
17127 gdb.c++/inherit.exp, gdb.c++/method.exp,
17128 gdb.c++/namespace.exp, gdb.c++/templates.exp,
17129 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
17130 and class layout support.
17131
af890c52
DJ
171322001-12-07 Daniel Jacobowitz <drow@mvista.com>
17133
17134 * gdb.c++/classes.exp: Add test for static member function.
17135 * gdb.c++/misc.cc: Add class with static member function.
17136
7a345fb3
JB
171372001-12-07 Jim Blandy <jimb@redhat.com>
17138
f2e54a80 17139 If GDB says it can't find the struct the function returned, report
8032bf31
JB
17140 those tests as `unsupported'.
17141 * gdb.base/call-rt-st.exp (print_struct_call): New function.
17142 Rewrite subsequent tests to use it.
17143
17144 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
17145 those tests as `unsupported'.
17146 * gdb.base/structs.exp (call_struct_func): New function.
17147 (do_function_calls): Use call_struct_func to call the functions
17148 returning structs.
17149
0bc69509
JB
17150 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
17151 whether functions are prototyped or not, so we can't possibly pass
17152 arguments to t_float_values2 properly.
17153
7a345fb3
JB
17154 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
17155 value of `timeout' for targets other than the mips*tx39-*.
17156
edb6ede1
MS
171572001-12-06 Michael Snyder <msnyder@redhat.com>
17158
d63a86f8 17159 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
17160 and detect whether the start symbol has a leading underscore.
17161
2d842f13
JB
171622001-12-04 Jim Blandy <jimb@redhat.com>
17163
17164 * gdb.base/completion.exp: Clarify indentation.
17165
68550daf
JB
171662001-12-03 Jim Blandy <jimb@redhat.com>
17167
17168 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
17169 variables on the S/390, not `.word'.
17170
cd5195a8
JB
171712001-11-30 Jim Blandy <jimb@redhat.com>
17172
17173 Add assembly-source tests for s390-ibm-linux.
17174 * gdb.asm/s390.inc: New file.
17175 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
17176 the S/390 architecture.
a9c64011 17177 * gdb.asm/configure: Regenerated.
cd5195a8 17178
ca9efc90
MS
171792001-11-30 Michael Snyder <msnyder@redhat.com>
17180
17181 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
17182 next, info source, info sources, info line, global and static
17183 variables, and static functions.
17184 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
17185 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
17186 * gdb.asm/asmsrc1.s: Add a static function and some variables.
17187 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
17188 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
17189 (gdbasm_leave): Restore frame pointer.
17190 (gdbasm_startup): Copy stack set-up from crt0.S.
17191
d0e66976
FN
171922001-11-26 Fernando Nasser <fnasser@redhat.com>
17193
17194 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
17195 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
17196 to a local (non-static) variable. Copy tstruct.a to a static buffer
17197 and return a pointer to that buffer.
17198 * gdb.base/callfwmall.c (t_structs_a): Ditto.
17199
e2334072
MK
172002001-11-24 Mark Kettenis <kettenis@gnu.org>
17201
17202 * gdb.asm/configure.in: Fix recognition of ix86 target.
17203 * gdb.asm/configure: Regenerate.
17204
756caa3d
MS
172052001-11-21 Michael Snyder <msnyder@redhat.com>
17206
17207 * gdb.asm/sparc.inc: New file.
17208 * gdb.asm/asm-source.exp: Recognize sparc target.
17209 * gdb.asm/configure.in: Recognize sparc target.
17210 * gdb.asm/configure: Regenerate.
d63a86f8 17211
9a4d72d5
MS
172122001-11-21 Michael Snyder <msnyder@redhat.com>
17213
17214 * gdb.asm/m32r.inc: New file.
17215 * gdb.asm/asm-source.exp: Recognize m32r target.
17216 * gdb.asm/configure.in: Recognize m32r target.
17217 * gdb.asm/configure: Regenerate.
17218
a773d1cd
MS
172192001-11-20 Michael Snyder <msnyder@redhat.com>
17220
017ac23d
MS
17221 * gdb.asm/i386.inc: New file.
17222 * gdb.asm/asm-source.exp: Recognize ix86 target.
17223 * gdb.asm/configure.in: Recognize ix86 target.
17224 * gdb.asm/configure: Regenerate.
17225
a773d1cd
MS
17226 * gdb.c++/namespace.exp: Fix quotes in output messages.
17227
bb632afb
MS
172282001-11-14 Michael Snyder <msnyder@redhat.com>
17229
25d559ca 17230 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
17231 qualifier in a type cast expression, to designate an address
17232 in the instruction space (Harvard architecture).
17233
4749e309
MS
172342001-11-13 Michael Snyder <msnyder@redhat.com>
17235
17236 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
17237 Tests for expressions using 'const' and 'volatile'.
17238
25050984
CV
172392001-11-13 Corinna Vinschen <vinschen@redhat.com>
17240
17241 * gdb.asm/asm-sources.exp: Allow defining linker flags.
17242
1902c51f
DJ
172432001-11-12 Daniel Jacobowitz <drow@mvista.com>
17244
17245 * lib/mi-support.exp (mi_run_to_helper): Move comments
17246 outside of gdb_expect.
17247
dcf95b47
DJ
172482001-11-11 Daniel Jacobowitz <drow@mvista.com>
17249
17250 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
17251 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
17252 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
17253 mi0_run_to): New functions.
17254 * gdb.mi/mi-simplerun.exp: Use them.
17255 * gdb.mi/mi0-simplerun.exp: Likewise.
17256 * gdb.mi/mi-var-cmd.exp: Likewise.
17257 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 17258
45b074e1
AC
172592001-11-10 Andrew Cagney <ac131313@redhat.com>
17260
17261 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
17262 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
17263
bf50d346
AC
172642001-11-09 Andrew Cagney <ac131313@redhat.com>
17265
17266 * gdb.base/restore.exp: Include $expected value in restored test
17267 message.
17268
9383332c
AC
172692001-11-09 Andrew Cagney <ac131313@redhat.com>
17270
17271 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
17272 implemented.
17273
db62520a
MS
172742001-11-08 Michael Snyder <msnyder@redhat.com>
17275
17276 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
17277 Add pass/fail message for stop at breakpoint in call dummy function.
17278
b5703437
MS
172792001-11-07 Michael Snyder <msnyder@redhat.com>
17280
d63a86f8
RM
17281 * gdb.c++/templates.exp (test_template_breakpoints):
17282 If we get an overload menu, but it does not match what
760f6330 17283 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
17284 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
17285 making the whitespace optional. Argument for "new" may be
17286 "unsigned" as well as "unsigned int/long".
d63a86f8 17287 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
17288 making the whitespace optional. Also replace "(void) with
17289 "((void|)), making the keyword "void" optional.
d63a86f8 17290 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
17291 making the whitespace optional. Also replace "(void) with
17292 "((void|)), making the keyword "void" optional.
3bf40917
MS
17293 * gdb.base/callfuncs.c (t_float_values): This function must
17294 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 17295 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
17296 can be tested against both cases. Usually one case involves
17297 promotion of float to double, while the other does not.
17298 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
17299 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
17300 includes a stack frame for "start".
17301
c8ab4e6d
JB
173022001-11-05 Jim Blandy <jimb@redhat.com>
17303
17304 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
17305 pointers are 32 bits long, and that offsets of relocs are always
17306 stored in the data (REL-style), and not in the reloc entry itself
17307 (RELA-style).
17308 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
17309 stabs.
17310
3f08ced9
MS
173112001-11-01 Michael Snyder <msnyder@redhat.com>
17312
17313 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
17314 and regular expression operators by using quoting.
17315
cbfa24cd
MS
173162001-10-31 Michael Snyder <msnyder@redhat.com>
17317
17318 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
17319 depending on what the symbol table contains.
17320 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
17321 the output of the ptype command. Similarly, accept both "const &"
17322 and "const&".
17323
aaa68313
CV
173242001-10-31 Corinna Vinschen <vinschen@redhat.com>
17325
17326 * gdb.base/miscexprs.c (main): Add usage of preprocessor
17327 symbol `STORAGE' to allow to choose the storage class of
17328 the local datastructures.
17329 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
17330 compiler directive.
17331
91740388
MS
173322001-10-30 Michael Snyder <msnyder@redhat.com>
17333
17334 * gdb.base/jump.exp: Allow it to run for all targets.
17335
1b7c05e7
CV
173362001-10-29 Corinna Vinschen <vinschen@redhat.com>
17337
17338 * gdb.base/call-ar-st.c (print_double_array): Match for loop
17339 with new double_array size.
17340 (main): Change storage class of all local variables to static.
17341 Reduce size of double_array to 9.
17342 * gdb.base/call-ar-st.exp: Increase timeout value.
17343 Change expected output for double array to match new size in
17344 call-ar-st.c.
17345
36a22261
CV
173462001-10-29 Corinna Vinschen <vinschen@redhat.com>
17347
17348 * gdb.base/ending-run.exp: Create identical output when passing
17349 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 17350 Stormy16 target.
36a22261 17351
92b8ae91
MK
173522001-10-28 Mark Kettenis <kettenis@gnu.org>
17353
17354 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
17355 that we catch the expected failure under Linux/x86.
17356
cb135b83
OF
173572001-10-29 Orjan Friberg <orjanf@axis.com>
17358
17359 * gdb.base/setvar.exp: Escape curly braces.
17360 * gdb.stabs/weird.exp: Ditto.
17361
6884aa54
DJ
173622001-10-27 Daniel Jacobowitz <drow@mvista.com>
17363
17364 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
17365 * gdm.mi/mi0-hack-cli.exp: Likewise.
17366
0398c9aa
AC
173672001-10-25 Andrew Cagney <ac131313@redhat.com>
17368
17369 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
17370 messages.
17371
d20bf2e8
AC
173722001-10-21 Andrew Cagney <ac131313@redhat.com>
17373
17374 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
17375 checking MI enabled.
17376
03dd63aa
CV
173772001-10-09 Corinna Vinschen <vinschen@redhat.com>
17378
17379 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
17380
1d9d99f3
FCE
173812001-10-04 Frank Ch. Eigler <fche@redhat.com>
17382
17383 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
17384 if gdb child process crashes, just signal an error.
17385
838ae6c4
JB
173862001-10-02 Jim Blandy <jimb@redhat.com>
17387
17388 * lib/gdb.exp (test_xfail_format): Simplify.
17389
17390 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
17391 front of the variable name `format'. Simplify `if'.
17392
8f0cbc1c
DJ
173932001-10-01 Daniel Jacobowitz <drow@mvista.com>
17394
17395 * gdb.threads/pthreads.exp: Wait for output and delay
17396 before sending ^C.
17397
1f08dafd
DJ
173982001-10-01 Daniel Jacobowitz <drow@mvista.com>
17399
17400 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
17401 some incorrect output instead of timing out.
17402 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
17403
674f90ff
CV
174042001-09-28 Corinna Vinschen <vinschen@redhat.com>
17405
17406 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
17407 check to allow additional `int'.
17408
9b284272
DJ
174092001-09-27 Daniel Jacobowitz <drow@mvista.com>
17410
17411 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
17412 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
17413
b55a4771
MS
174142001-09-27 Michael Snyder <msnyder@redhat.com>
17415
17416 * lib/gdb.exp (test_debug_format): New proc.
17417 (setup_xfail_format): Use new proc test_debug_format.
17418 * gdb.base/constvars.exp (local_compiler_xfail_check): New
17419 proc; use new service proc test_debug_format.
17420 Replace all other "gcc_compiled" tests with this test.
17421 * gdb.base/volatile.exp (local_compiler_xfail_check): New
17422 proc; use new service proc test_debug_format.
17423 Replace all other "gcc_compiled" tests with this test.
17424
174252001-09-27 Michael Snyder <msnyder@redhat.com>
17426
17427 * gdb.base/cvexpr.exp: New file.
17428 * gdb.base/cvexpr.c: New file
17429 Test for expressions using const and volatile keywords.
17430
4e6667ac
CV
174312001-09-26 Corinna Vinschen <vinschen@redhat.com>
17432
17433 * gdb.base/constvars.exp: Check for different orders of keywords
17434 and additional "int" strings in output.
17435
4f337972
AC
174362001-09-22 Andrew Cagney <ac131313@redhat.com>
17437
17438 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
17439 responses from "help maint".
17440
2015650d
FCE
174412001-09-19 Frank Ch. Eigler <fche@redhat.com>
17442
17443 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
17444 to localhost:NNN instead of :NNN, in case Xvfb is listening
17445 only on TCP.
17446
f3bcedc1
CV
174472001-09-19 Corinna Vinschen <vinschen@redhat.com>
17448
17449 * gdb.base/recurse.exp: When checking leaving the watchpoint
17450 scope, recognize when gdb is in function's epilogue and pass.
17451
6b819c92
KS
174522001-09-18 Keith Seitz <keiths@redhat.com>
17453
17454 * lib/insight-support.exp (_gdbtk_export_target_info): Add
17455 support for running tests against sid targets.
17456 (gdbtk_done): Ditto.
17457
a10c9419
CV
174582001-09-18 Corinna Vinschen <vinschen@redhat.com>
17459
17460 * gdb.base/ending-run.c (main): Set stdout buffersize
17461 to the same reasonable value for any target.
17462 * gdb.base/ending-run.exp: Add a regular expression
17463 to make testsuite happy on Sanyo Stormy16 target.
17464
739d0d99
CV
174652001-09-17 Corinna Vinschen <vinschen@redhat.com>
17466
17467 * gdb.base/display.c (do_loops): Add float variable `f'.
17468 Increment f in loop.
17469 * gdb.base/display.exp: Increment timeout by 60 seconds.
17470 Change float display test to use variable `f'.
17471
1b8947f0
JB
174722001-09-17 Jim Blandy <jimb@redhat.com>
17473
17474 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
17475 overflowing the limited breakpoint tables on some ROM monitors
17476 (like the ROM68K).
17477
9890ac81
FCE
174782001-09-15 Frank Ch. Eigler <fche@redhat.com>
17479
17480 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
17481 the "-ac" (disable access control) flag.
17482
6db765ea
JH
174832001-08-30 Jeff Holcomb <jeffh@redhat.com>
17484
17485 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
17486 ints.
17487
4c32cc04
KS
174882001-08-30 Keith Seitz <keiths@redhat.com>
17489
17490 * lib/gdb.exp: Move all insight-related functionality into
17491 separate file.
17492 * lib/insight-support.exp: New file.
17493
8d6e6f81
FCE
174942001-08-29 Frank Ch. Eigler <fche@redhat.com>
17495
17496 * config/sid.exp (sid_start): Never set sid verbosity; disable
17497 expect_background {} that consumed its stdout; tolerate </dev/null.
17498 Attempt to set endianness override in "sid" protocol mode. Cleanup.
17499
6a90e1d0
AC
175002001-08-18 Andrew Cagney <ac131313@redhat.com>
17501
17502 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
17503 CLI jump command to start it.
17504 (mi_run_to_main): Fail immediatly when unexpected output.
17505
1759b3c3
AC
175062001-08-18 Andrew Cagney <ac131313@redhat.com>
17507
17508 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
17509 beginning of function. Fix PR gdb/191.
17510
61d11d80
FCE
175112001-08-16 Frank Ch. Eigler <fche@redhat.com>
17512
17513 * config/sid.exp (sid_start): Don't warn if we cannot figure out
17514 what to force sid endianness to.
17515
942a4df2
KS
175162001-08-15 Keith Seitz <keiths@redhat.com>
17517
17518 * lib/gdb.exp (gdbtk_start): Don't set environment
17519 variables for TCL_LIBRARY and friends. Insight will
17520 now figure these out for itself.
17521
0521c418
MS
175222001-08-02 Michael Snyder <msnyder@redhat.com>
17523
17524 * gdb.base/completion.exp: Remove the symbol "a64l" from
17525 the expect string; this is target-specific, and not related
17526 to what is being tested.
17527
74a9a58a
DB
175282001-08-02 Dave Brolley <brolley@redhat.com>
17529
17530 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
17531
c70819fa
MS
175322001-07-25 Michael Snyder <msnyder@redhat.com>
17533
c2b8fa57
MS
17534 * gdb.base/consecutive.exp: New file. Test stepping over
17535 breakpoints on consecutive instructions.
17536 * gdb.base/consecutive.c: New file.
17537
c70819fa
MS
17538 * gdb.base/call-rt-st.exp: Use double-backslash to quote
17539 curly braces in regular expressions.
17540
2b1a1355
MS
175412001-07-25 Michael Snyder <msnyder@redhat.com>
17542
17543 * gdb.base/ending-run.exp: Accept "Program exited normally" as
17544 legitimate output from stepping out of main.
17545
413eca6f
KS
175462001-07-22 Keith Seitz <keiths@redhat.com>
17547
17548 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
17549 the empty string, do not run the tests.
17550
7e5a9322
SC
175512001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
17552
17553 * gdb.base/long_long.exp: Detect size of pointer. Take into
17554 account 2-byte pointers when testing for p/a results.
17555
de58f10f
SC
175562001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
17557
d63a86f8 17558 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
17559 and defined to 1K for m68hc11.
17560 (random_data): Reduce table to 1K for embedded platforms (68hc11).
17561 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
17562 (sizeof_random_data): New variable to tell the size of the data table;
17563 don't test past this size; always run to main.
17564
d6f5fea1
SC
175652001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
17566
17567 * gdb.base/return2.exp: return of long long and double fails for
17568 68HC11; don't execute these tests on that platform.
17569 * gdb.base/return.exp: Return of a double fails for 68hc11.
17570
c477543d
SC
175712001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
17572
17573 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
17574 tests that print a float.
17575 * call-rt-st.exp: Likewise.
17576
63cf1c79
MK
175772001-07-12 Mark Kettenis <kettenis@gnu.org>
17578
17579 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
17580 running this test on Linux.
17581
112f9ab5
MC
175822001-06-24 Michael Chastain <chastain@redhat.com>
17583
17584 * gdb.base/arithmet.exp: Remove some tests to make all test names
17585 unique.
17586
4970cb0f
MS
175872001-07-03 Michael Snyder <msnyder@redhat.com>
17588
17589 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
17590 the output of the ptype command.
17591
d85da69f
MS
175922001-07-02 Michael Snyder <msnyder@redhat.com>
17593
4c8a82de
MS
17594 * gdb.base/completion.exp: Don't assume that break.c is the only
17595 source file that may contain functions named "marker".
d85da69f
MS
17596 * gdb.base/corefile.exp: Quote the curly braces in regexp.
17597
8afc772b
AC
175982001-06-28 Andrew Cagney <ac131313@redhat.com>
17599
17600 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
17601 of files to delete.
17602
17603 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
17604 * gdb.disasm/h8300s.exp: New file.
17605 gdb.disasm/h8300s.s: Likewise.
17606
cff22675
AC
176072001-06-27 Andrew Cagney <ac131313@redhat.com>
17608
17609 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
17610 empty breakpoint tables.
17611
68c81b54
AC
176122001-06-25 Andrew Cagney <ac131313@redhat.com>
17613
17614 * lib/mi-support.exp: Update args=... part of stop-reason
17615 patterns. Accept either a list or a tuple.
17616
2dd62704
AC
176172001-06-23 Andrew Cagney <ac131313@redhat.com>
17618
17619 * lib/mi-support.exp: Remove local emacs variable defining
17620 change-log-default-name.
17621
b4127474
MC
176222001-06-22 Michael Chastain <chastain@redhat.com>
17623
17624 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
17625 This is operationally compatible with the previous version.
17626
8dbfb380
JB
176272001-06-13 Jim Blandy <jimb@redhat.com>
17628
17629 * lib/gdb.exp (gdb_test): Doc fix.
17630
f2d8c86d
MC
176312001-06-10 Michael Chastain <chastain@redhat.com>
17632
17633 * gdb.base/exprs.exp: Remove a duplicate test.
17634
81564d34
JB
176352001-06-06 Jim Blandy <jimb@redhat.com>
17636
17637 * gdb.base/return2.exp (main): Use values to test float and double
17638 returns that are not NaN's, to avoid being confused by IEEE
17639 comparison rules.
17640
da55addb
MS
176412001-06-04 Michael Snyder <msnyder@redhat.com>
17642
17643 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 17644 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
17645 rather than wait for 12 more tests to time out.
17646
42c65987
JB
176472001-06-06 Jim Blandy <jimb@redhat.com>
17648
b18bced9 17649 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 17650 Don't forget to match the GDB prompt.
b18bced9 17651
42c65987
JB
17652 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
17653
5b41e5f0
JB
176542001-06-04 Jim Blandy <jimb@redhat.com>
17655
17656 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
17657 command.
17658
015e046f
KB
176592001-05-31 Kevin Buettner <kevinb@redhat.com>
17660
17661 * gdb.base/annota1.exp (info break): Match four or more spaces
17662 after "Address".
17663
fb1ffbbe
MC
176642001-05-31 Michael Chastain <chastain@redhat.com>
17665
17666 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
17667 (dm_type_int_star): Likewise.
17668 (dm_type_long_star): Likewise.
17669 (dm_type_void_star): Likewise.
17670
5ea2a32c
KB
176712001-05-29 Kevin Buettner <kevinb@redhat.com>
17672
17673 * gdb.base/completion.exp (INPUTRC): Set this environment variable
17674 to a known value in order to get consistent results regardless
17675 of the setting of INPUTRC or the presence or contents of .inputrc.
17676
ae23c492
MS
176772001-05-24 Michael Snyder <msnyder@redhat.com>
17678
ac55707e
MS
17679 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
17680 Don't require that the main thread and the manager thread are the
17681 first in the list.
17682
ae23c492
MS
17683 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
17684 debugging. If test fails, issue an "unsupported" not a "fail".
17685
400071f1
JB
176862001-05-24 Jim Blandy <jimb@redhat.com>
17687
17688 Don't assume that short is shorter than int.
17689 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
17690 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 17691 this isn't true.
400071f1
JB
17692 ("print unsigned char == (~0)"): Add test that verifies that ~0,
17693 an int, is not equal to ~0 stored in an unsigned char. This tests
17694 the same thing that the previous test meant to, but works on
17695 16-bit machines, too.
17696 ("print unsigned char != (~0)"): Same test, complemented.
17697
0816a3e5
MS
176982001-05-24 Michael Snyder <msnyder@redhat.com>
17699
17700 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 17701 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
17702 and prevents dejagnu getting out of step.
17703
f6dc23a9
KB
177042001-05-23 Kevin Buettner <kevinb@redhat.com>
17705
17706 * gdb.base/finish.exp (finish_void): Revise pattern for
17707 stopping on the call statement to not permit stopping at
17708 the start of the instructions comprising the call sequence.
17709
7dbd117d
MC
177102001-05-19 Michael Chastain <chastain@redhat.com>
17711
17712 * gdb.base/callfuncs.exp: Make all test names unique.
17713 * gdb.base/commands.exp: Make all test names unique.
17714 * gdb.base/condbreak.exp: Make all test names unique.
17715 * gdb.base/dbx.exp: Make all test names unique.
17716 * gdb.base/default.exp: Make all test names unique.
17717 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
17718 and TIMEOUT messages to their corresponding PASS message.
17719 * gdb.base/ending-run.exp: Make all test names unique.
17720 * gdb.base/long_long.exp: Remove duplicate test.
17721
6b0b0a9e
KB
177222001-05-21 Kevin Buettner <kevinb@redhat.com>
17723
17724 * gdb.base/finish.exp (finish_void): Allow "finish" command to
17725 stop on the call statement as well as the statement after the
17726 call.
17727
2caa35cb
MS
177282001-05-21 Michael Snyder <msnyder@redhat.com>
17729
17730 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
17731
40713331
EZ
177322001-05-10 Elena Zannoni <ezannoni@redhat.com>
17733
a9c64011
AS
17734 * gdb.base/completion.exp: Revamp test. Make it execute on all
17735 platforms.
40713331 17736
c2c1be8d
EZ
177372001-05-10 Elena Zannoni <ezannoni@redhat.com>
17738
a9c64011
AS
17739 * config/gdbserver.exp (gdb_load): Handle the case
17740 in which the arguments to gdbserver are given in the
17741 baseboard configuration file.
17742 Also handle the case in which the server needs to do a
17743 load.
2c9cd303 17744
9671de48
KS
177452001-05-07 Keith Seitz <keiths@cygnus.com>
17746
a9c64011
AS
17747 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
17748 set up the display for testing.
17749 (gdbtk_start): Convert all paths to paths that tcl will like.
17750 Export target information to environment.
17751 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
17752 necessary.
17753 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
17754 (to_tcl_path): New proc to convert a given pathname into
17755 a path acceptible as an argument to a tcl command.
17756 (_gdbtk_export_target_info): New proc to export target info
17757 into the environment for gdbtk testing.
17758 (gdbtk_done): New proc to signal end-of-test.
9671de48 17759
5a360f47
JB
177602001-05-06 Jim Blandy <jimb@redhat.com>
17761
17762 * restore.c: Make the code of caller0 correspond to its comment.
17763
66c756c6
MS
177642001-05-03 Michael Snyder <msnyder@redhat.com>
17765
17766 * config/sid.exp (gdb_target_sid): Check for error messages.
17767 On error or timeout, don't make expect exit (which will terminate
17768 all subsequent tests); instead just make gdb exit.
d63a86f8 17769 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
17770 return a negative value.
17771
a966fde5
JB
177722001-04-24 Jim Blandy <jimb@redhat.com>
17773
851c18e0
JB
17774 * gdb.c++/templates.exp: If we see the prompt for the overload
17775 list, but we haven't recognized any of the longer patterns,
17776 arrange for this test to fail, not hang.
17777
a966fde5
JB
17778 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
17779 variations.
17780
db144853
MC
177812001-04-22 Michael Chastain <chastain@redhat.com>
17782
17783 * gdb.c++/local.exp: Use the 'runto' library function.
17784 * gdb.c++/namespace.exp: Likewise.
17785 * gdb.c++/overload.exp: Likewise.
17786
3207ec21
KB
177872001-03-26 Kevin Buettner <kevinb@redhat.com>
17788
17789 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
17790 * gdb.base/step-line.exp: New file. Test step/next in presence of
17791 #line directives.
17792 * gdb.base/step-line.c: New file. Test program for the above.
17793 * gdb.base/step-line.inp: New file. We pretend that this file has
17794 been transformed by some other tool into step-line.c.
17795
13b57657
JB
177962001-03-21 Jim Blandy <jimb@redhat.com>
17797
17798 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
17799 unmangled operator names.
17800
754cbe1c
JB
178012001-03-20 Jim Blandy <jimb@redhat.com>
17802
17803 * gdb.threads/linux-dp.exp: Recognize an additional message
17804 generated by GDB when it doesn't understand how to debug threads
17805 on the target system.
17806
177495c9
AC
178072001-03-19 Andrew Cagney <ac131313@redhat.com>
17808
17809 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
17810
f266096b
MC
178112001-03-12 Michael Chastain <chastain@redhat.com>
17812
17813 * gdb.c++/derivation.exp: Use the 'runto' library function.
17814
cac3c2ff
MC
178152001-03-12 Michael Chastain <chastain@redhat.com>
17816
17817 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
17818
b6c11a24
MC
178192001-02-24 Michael Chastain <chastain@redhat.com>
17820
17821 * gdb.c++/ref-types.exp: Change handwritten code to library
17822 function 'runto'.
17823
6bae5bce
OF
178242001-03-16 Orjan Friberg <orjanf@axis.com>
17825
17826 * gdb.base/signals.exp: Set count to 0 explicitly.
17827
0015fd9a
MS
178282001-03-15 Mark Salter <msalter@redhat.com>
17829
17830 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
17831 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
17832 (gdb_load): Add support for additional target_info: gdb_download_size
17833 and gdb_load_timeout.
0015fd9a 17834
fc33412a
DT
17835Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
17836
17837 * gdb.base/annota1.exp: Move test of isnative to earlier in the
889bf7c5
PA
17838 file -- to prevent failing when the compile fails but we have no
17839 intention of running the tests anyway.
fc33412a
DT
17840
17841 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
17842 tests if set.
17843
17844 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
889bf7c5 17845 integers.
fc33412a
DT
17846
17847 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
17848 * gdb.c++/namespace.exp: Ditto.
17849
115f06de
OF
178502001-03-07 Orjan Friberg <orjanf@axis.com>
17851
17852 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
17853 * gdb.base/pointers.exp: Relax pattern match of decimals.
17854
b6ba6518
KB
178552001-03-06 Kevin Buettner <kevinb@redhat.com>
17856
17857 * Makefile.in, config/abug.exp, config/cfdbug.exp,
17858 config/cpu32bug.exp, config/dve.exp, config/est.exp,
17859 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
17860 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
17861 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
17862 config/sh.exp, config/sid.exp, config/slite.exp,
17863 config/sparclet.exp, config/udi.exp, config/unknown.exp,
17864 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
17865 config/vxworks.exp, config/vxworks29k.exp,
17866 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
17867 gdb.base/all-bin.exp, gdb.base/annota1.exp,
17868 gdb.base/arithmet.exp, gdb.base/assign.exp,
17869 gdb.base/async.exp, gdb.base/attach.exp,
17870 gdb.base/bitfields.exp, gdb.base/bitops.exp,
17871 gdb.base/break.exp, gdb.base/call-ar-st.exp,
17872 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
17873 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
17874 gdb.base/commands.exp, gdb.base/completion.exp,
17875 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
17876 gdb.base/constvars.exp, gdb.base/corefile.exp,
17877 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
17878 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
17879 gdb.base/ending-run.exp, gdb.base/environ.exp,
17880 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
17881 gdb.base/finish.exp, gdb.base/foll-exec.exp,
17882 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
17883 gdb.base/funcargs.exp, gdb.base/help.exp,
17884 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
17885 gdb.base/logical.exp, gdb.base/long_long.exp,
17886 gdb.base/maint.exp, gdb.base/mips_pro.exp,
17887 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
17888 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
17889 gdb.base/pointers.exp, gdb.base/printcmds.exp,
17890 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
17891 gdb.base/regs.exp, gdb.base/relational.exp,
17892 gdb.base/remote.exp, gdb.base/reread.exp,
17893 gdb.base/restore.exp, gdb.base/return2.exp,
17894 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
17895 gdb.base/selftest.exp, gdb.base/setshow.exp,
17896 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
17897 gdb.base/sigall.exp, gdb.base/signals.exp,
17898 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
17899 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
17900 gdb.base/step-test.exp, gdb.base/structs.c,
17901 gdb.base/structs.exp, gdb.base/structs2.exp,
17902 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
17903 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
17904 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
17905 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
17906 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
17907 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
17908 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
17909 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
17910 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
17911 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
17912 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
17913 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
17914 gdb.fortran/types.exp, gdb.java/jmisc.exp,
17915 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
17916 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
17917 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
17918 gdb.trace/circ.exp, gdb.trace/collection.exp,
17919 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
17920 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
17921 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
17922 gdb.trace/report.exp, gdb.trace/save-trace.exp,
17923 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
17924 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
17925 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
17926 notices.
17927
dc96c6c7 179282001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
17929
17930 * gdb.base/varargs.c (find_max_double): Fix printf format string:
17931 first arg is int not float.
17932
dc96c6c7 179332001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
17934
17935 * gdb.base/reread.exp: Unsupported for non-native targets;
17936 doesn't work for remote debugging.
17937
9b0c4aeb
FN
179382001-02-19 Fernando Nasser <fnasser@redhat.com>
17939
17940 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
17941 * gdb.base/ending-run.exp: Properly handle the BSP state when
17942 stepping past the end of main.
9b0c4aeb 17943
02aa71d5
MC
179442001-02-19 John Moore <jmoore@redhat.com>
17945
17946 * gdb.base/commands.exp (infrun_breakpoint_command_test):
17947 Converted HPUX fix for non-expected items following multiple
17948 step commands into general solution for all platforms.
17949
1fa449a4
MC
179502001-02-18 Michael Chastain <chastain@redhat.com>
17951
17952 * gdb.c++/classes.exp (do_tests): Change runto statements
17953 from "runto 'foo(void)'" to "runto 'foo'". This makes the
17954 statements demangler agnostic.
17955 * gdb.c++/virtfunc.exp (do_tests): Likewise.
17956 (gdb_virtfunc_restart): Likewise.
17957
b2f9ec70
MC
179582001-02-14 Michael Chastain <chastain@redhat.com>
17959
17960 * gdb.c++/inherit.exp (do_tests): Change runto statements
17961 from "runto 'foo(void)'" to "runto 'foo'". This makes the
17962 statements demangler agnostic.
17963
cf74b8ca
AC
17964Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
17965
17966 * gdb.threads/pthreads.exp: Unify pass/fail messages for
889bf7c5
PA
17967 ``continue to bkpt at common_routine in thread 2'' and ``stopped
17968 before calling common_routine 15 times'' tests.
cf74b8ca 17969
99f78f56
MC
179702001-02-11 Michael Chastain <chastain@redhat.com>
17971
17972 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
17973 Helps the test script figure out which demangler is in use.
17974 (dm_type_foo_ref): Ditto.
17975 (dm_type_int_star): Ditto.
17976 (dm_type_long_star): Ditto.
17977 (dm_type_unsigned_int): Ditto.
17978 (dm_type_void): Ditto.
17979 (dm_type_void_star): Ditto.
99707966 17980 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
17981 Probe the gdb demangler and set variables to accommodate
17982 formatting differences.
17983 (info_func_regexp): New function. Same as info_func, but
17984 matches against a regexp.
17985 (info_func): Match against a literal string.
17986 (print_addr_2): New function. Match against a literal string,
17987 which can be different from the input to gdb.
17988 (print_addr): Simply call print_addr_2 with the same argument twice.
17989 (test_lookup_operator_functions): Use demangler formatting variables.
17990 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
17991 the tests in the same order as the C++ class declaration.
17992 (test_paddr_operator_functions): Ditto.
17993 (test_paddr_overloaded_functions): Ditto.
17994 (test_paddr_hairy_functions): Use demangler formatting variables.
17995 Add reference to gdb/19 for related tests.
17996 (do_tests): Call probe_demangler.
17997
1de8f023
KB
179982001-01-30 Kevin Buettner <kevinb@redhat.com>
17999
18000 * gdb.c++/templates.cc (printf): Remove unused function definition.
18001
ca3f91ed
MS
180022001-01-26 Felix Lee <flee@redhat.com>
18003
18004 * sid.exp (sid_exit): Pass host, not target, to remote_close.
18005
180062001-01-25 matthew green <mrg@redhat.com>
18007
18008 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
18009 up sid.
18010 (sid_exit): Call `remote_pop_conn' after GDB is gone.
18011
180122001-01-25 matthew green <mrg@redhat.com>
18013
18014 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 18015 Deprecate $sid_spawn_id.
ca3f91ed
MS
18016 (sid_exit): Remove code necessary only for `spawn.'
18017
180182001-01-25 matthew green <mrg@redhat.com>
18019
18020 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
18021
fb18ec4a
MC
180222001-01-28 Michael Chastain <chastain@redhat.com>
18023
18024 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
18025 to call when tests fail. It takes gdb out of the overloaded
18026 function choice menu back to the main prompt, so that the test
18027 program stays synchronized.
18028 (set_bp_overloaded): New proc to collect all the common
18029 code for setting a breakpoint on an overloaded name. Calls
18030 take_gdb_out_of_choice_menu when needed.
18031 (menu_overload1arg): New variable to collect the repeated
18032 instances of the expected menu for an overloaded name. Change
18033 the regular expression to handle changes in g++ type encoding:
18034 "void" can be either "void" or "", and "unsigned int" can be
18035 either "unsigned int" or "unsigned".
18036 (continue_to_bp_overloaded): Change regular expressions to handle
18037 changes in g++ type encoding.
18038 (no proc): Call take_gdb_out_of_choice_menu when needed.
18039 Remove redundant calls to "info break". Accept either "canceled"
18040 or "cancelled". Change regular expressions in "info break"
18041 calls to handle changes in g++ type encoding. Give all tests
18042 unique strings.
18043
9c646a6e
BE
180442001-01-17 Ben Elliston <bje@redhat.com>
18045
18046 * config/sid.exp: New file.
18047
9549d9c1
AC
18048Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
18049
18050 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
18051
dc96c6c7 180522000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
18053
18054 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
18055 Add a RE to accept a non-ascii char if one is ever presented.
18056
b4df4f68
FN
180572000-12-20 Fernando Nasser <fnasser@redhat.com>
18058
297dd0fd 18059 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 18060
dc96c6c7 180612000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 18062
d63a86f8 18063 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
18064 in regexp. One '\' does not suffice on Linux.
18065
4a7bddb6
MC
180662000-12-09 Michael Chastain <chastain@redhat.com>
18067
18068 * gdb.base/break.exp (test_clear_command): Use a marker function
18069 rather than 'main' for the test function. Also move this
18070 test to an execution point where the marker function names are
18071 guaranteed to be bound to functions. (Executing tests after a
18072 'finish' from main runs into name conflicts with local names
18073 in __libc_start_main).
18074
dc96c6c7 180752000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
18076
18077 * gdb.base/finish.exp: New test for gdb's "finish" command.
18078 * gdb.base/return2.exp: New test for gdb's "return" command.
18079 * gdb.base/return2.c: New source file for above.
18080
dc96c6c7 180812000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
18082
18083 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
18084 * gdb.base/miscexprs.exp: Ditto.
18085 * gdb.base/pointers.exp: Ditto.
18086 * gdb.c++/derivation.exp: Ditto.
18087 * gdb.c++/local.exp: Ditto.
18088 * gdb.c++/namespace.exp: Ditto.
18089 * gdb.c++/overload.exp: Ditto.
18090 * gdb.c++/ref-types.exp: Ditto.
18091
dc96c6c7 180922000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
18093
18094 * gdb.base/constvars.exp: Test result of "up" command.
18095 * gdb.base/miscexprs.exp: Ditto.
18096 * gdb.base/pointers.exp: Ditto.
18097 * gdb.base/scope.exp: Ditto.
18098 * gdb.c++/derivation.exp: Ditto.
18099 * gdb.c++/local.exp: Ditto.
18100 * gdb.c++/namespace.exp: Ditto.
18101 * gdb.c++/overload.exp: Ditto.
18102 * gdb.c++/ref-types.exp: Ditto.
18103
44097287
FN
181042000-11-22 Michael Chastain <chastain@redhat.com>
18105
18106 * mips_pro.exp: Accept either "middle -> top -> main" or
18107 "middle -> main" in the backtrace, because gcc can optimize
18108 tail calls to jumps. Remove setup_xfail for the hppa case.
18109 Add a comment with the original warning messages from PR 3016,
18110 which was filed in 1993, to preserve them for posterity.
18111
9d2e1bab
ND
181122000-11-17 Nick Duffek <nsd@redhat.com>
18113
18114 * lib/gdb.exp (gdb_test): Override timeout with board info.
18115
1aca8eb7
ND
181162000-11-17 Nick Duffek <nsd@redhat.com>
18117
18118 * gdb.base/display.exp: Don't kill running stub. Add "again" to
18119 the second kill and detach messages.
18120
93076499
ND
181212000-11-17 Nick Duffek <nsd@redhat.com>
18122
18123 * configure.in: Add AC_EXEEXT.
18124 * configure: Regenerate.
18125 * Makefile.in (just-check): Export EXEEXT.
18126 * lib/gdb.exp ($EXEEXT): Import from environment.
18127 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
18128 expect "maint dump-me" on Cygwin.
18129 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
18130 $EXEEXT.
18131
30e87cd3
ND
181322000-11-17 Nick Duffek <nsd@redhat.com>
18133
18134 * gdb.base/break.exp: Test backtrace and finish from called
18135 function on all platforms, not just HP-UX.
18136
dc96c6c7 181372000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
18138
18139 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
18140 code from gdb_target_monitor, so it can be used independantly
18141 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 18142
dc96c6c7 181432000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
18144
18145 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
18146 * gdb.base/corefile.exp: Expect the message "Program is being
18147 debugged already" when we send the "corefile" command, since
18148 the preceeding gdb_load may have connected gdb to a remote target.
18149 * gdb.base/display.exp: Disable hardware watchpoints if new
18150 board info variable "no_hardware_watchpoints" is true.
18151 Replace single-letter commands with more readable ones.
18152 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
18153 if new board info variable "no_hardware_watchpoints" is true.
18154 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
18155 to see if stdio (printf) testing is possible.
18156 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
18157 board info variable "no_hardware_watchpoints" is true. Use new
18158 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
18159
39124dea
FN
181602000-11-13 Fernando Nasser <fnasser@redhat.com>
18161
18162 From Orjan Friberg <orjanf@axis.com>:
18163 * gdb.base/printcmds.exp: Escape curly braces followed by a number
18164 in array print pattern match.
18165
a9e2e984
FN
181662000-11-09 Fernando Nasser <fnasser@redhat.com>
18167
18168 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
18169 spelling "cancelled" to U.S. spelling "canceled" to match changes
18170 made to gdb.
18171 * gdb.c++/ovldbreak.exp: Ditto.
18172
c7db355b
PS
181732000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
18174
18175 * gdb.base/callfuncs.c (main): Moved to end of file, call
18176 t_double_values to initialize the FPU before inferior calls are made.
18177 * gdb.base/callfuncs.exp: Test for register preservation after calling
18178 inferior functions. Add tests for continuining, finishing and
18179 returning from a stop in a call dummy.
18180
dc96c6c7 181812000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
18182
18183 * gdb.base/commands.exp: Break up long lines, and re-indent.
18184
dc96c6c7 181852000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
18186
18187 * config/gdbserver.exp: Rewritten from the ground up, to make it
18188 compatible with the current dejagnu tree, and to make it work with
18189 the new "gdbserver" in libremote.
18190
dc96c6c7 181912000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
18192
18193 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
18194 * gdb.base/varargs.exp: Skip entire test if no printf support.
18195 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
18196 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
18197
dc96c6c7 181982000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
18199
18200 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
18201 no floating point support.
18202 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
18203 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
18204 * gdb.base/call-rt-st.exp: Ditto.
18205 * gdb.base/call-strs.exp: Ditto.
18206
bac5fc66
JG
182072000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
18208
18209 * gdb.base/sizeof.c: include <stdio.h>.
18210
18211 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
18212 'finish', otherwise uncaptured gdb_prompt would potentially
18213 throw remaining test points out of sync.
bac5fc66 18214
b22a6027
SB
182152000-07-26 Scott Bambrough <scottb@netwinder.org>
18216
18217 * gdb.base/recurse.exp: Run tests for all targets.
18218 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
18219 gnu-oldld case on ARM.
18220 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
18221 for ARM targets.
d63a86f8 18222
d8231941
AG
18223Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
18224
18225 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
18226 * gdb.java/configure: Rebuild.
18227
8caabe69
AG
18228Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
18229
18230 * gdb.java/jv-exp.exp: New file.
18231
9d273ca3
AG
18232Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
18233
18234 * configure: Rebuilt.
18235 * configure.in (configdirs): Add gdb.java.
18236 * gdb.java/jmisc.java: New file.
18237 * gdb.java/jmisc.exp: New file.
18238 * gdb.java/Makefile.in: New file.
18239 * gdb.java/configure: Rebuilt.
18240 * gdb.java/configure.in: New file.
18241 * lib/java.exp: New file.
18242
4f823a66
AC
18243Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
18244
18245 * gdb.base/exprs.exp: Test casts to a pointer including over and
889bf7c5 18246 underflow.
4f823a66 18247
2391e11d
AC
18248Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
18249
18250 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
889bf7c5 18251 and the compilers sizes.
2391e11d 18252
54602222
ND
182532000-07-09 Nick Duffek <nsd@redhat.com>
18254
18255 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
18256 (use_methods): New function.
18257 (main): Call use_methods().
18258 * gdb.c++/classes.exp (test_method_param_class): New procedure.
18259 (do_tests): Call test_method_param_class.
18260
2bec0572
ND
182612000-07-09 Nick Duffek <nsd@redhat.com>
18262
18263 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
18264 spelling.
18265 (test_enums): New procedure. Move enum tests from end of script
18266 to here. Set breakpoint on function name instead of line number.
18267 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
18268 (enums2): New marker function.
18269 (enums1): New function.
18270 (main): Call enums1(). Move enum tests to enums1().
18271
78492fde
AC
18272Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
18273
18274 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
889bf7c5 18275 compile/link program. Update line numbers.
78492fde
AC
18276 * gdb.asm/d10v.inc: Define ``startup''.
18277 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 18278
49a2cef8
AC
18279Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
18280
18281 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
18282
3e6c8688
EZ
182832000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18284
18285 * gdb.base/maint.exp: Add 'maint print architecture' item to output
889bf7c5 18286 of 'help maint print' command.
3e6c8688 18287
9ff5cbe9
AC
18288Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
18289
18290 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
889bf7c5 18291 they use gdb_expect_list.
9ff5cbe9 18292
17c579bd
AC
18293Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
18294
18295 * gdb.base/commands.exp: Use ``set remote
889bf7c5
PA
18296 memory-read-packet-size'' instead of ``set endian big'' to test
18297 long commands.
17c579bd 18298
e6d71bf3
DB
182992000-06-03 Daniel Berlin <dan@cgsoftware.com>
18300
18301 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 18302 g++, and stop skipping them.
e6d71bf3
DB
18303
18304 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
18305 work under g++.
18306
d63a86f8 18307 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
18308 initialization.
18309
dc96c6c7 183102000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
18311
18312 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
18313 the regular expression: accept an (almost) arbitrary sequence of
18314 "frames-invalid" and "breakpoints-invalid" messages both before
18315 and after the "starting" message.
18316
dc96c6c7 183172000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
18318
18319 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 18320
dc96c6c7 183212000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
18322
18323 * gdb.base/annota1.exp (annotate-signal-handler-caller):
18324 Relax the regular expression a little, make it pass on Solaris 8.
18325
8216cda9
KB
183262000-05-12 Kevin Buettner <kevinb@redhat.com>
18327
18328 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 18329 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
18330 Instead, it is permissible for gdb to stop on the line of the
18331 call itself.
18332
1a570b2f
MS
183332000-05-12 Michael Snyder <msnyder@.cygnus.com>
18334
18335 * gdb.base/break.exp (bp on small function, optimized file):
18336 Add a second pass pattern. The behavior differs here between stabs
18337 and dwarf for one-line functions. Stabs preserves two line symbols
18338 (one before the prologue and one after) with the same line number,
18339 but dwarf regards these as duplicates and discards one of them.
18340 Therefore the address after the prologue (where the breakpoint is)
18341 has no exactly matching line symbol, and GDB reports the breakpoint
18342 as if it were in the middle of a line rather than at the beginning.
18343
dc96c6c7 183442000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 18345
d63a86f8 18346 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
18347 rather than "send_gdb" (for consistancy).
18348
7d418785
AC
18349Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
18350
18351 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
18352 * gdb.c++/templates.cc: Properly check for GCC version number.
18353 * lib/compiler.cc: Likewise
18354
dc96c6c7 183552000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 18356
d63a86f8 18357 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
18358 gdb may not stop at the first line of main, due to code motion.
18359
dc96c6c7 183602000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
18361
18362 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
18363 This test depends on parsing the printf output from the target.
18364 Since the sparclet stub doesn't do stdio, this will never work.
18365 * gdb.base/call-rt-st.exp: ditto.
18366 * gdb.base/call-strs: ditto.
18367
dc96c6c7 183682000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
18369
18370 * gdb.base/miscexprs.exp: make sizeof long array test portable.
18371
18372 * gdb.base/ending-run.exp: After connecting to a remote target,
18373 but before running, the target will appear to be in a random
18374 location. Specify both a file and a line for breakpoints.
18375 Also, the function that calls main may be called 'init'
18376 rather than 'start'.
18377
a5a51225
EZ
183782000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18379
18380 * gdb.base/help.exp: Update output for add-symbol-file command.
18381
7930cc7c
FN
183822000-04-10 Fernando Nasser <fnasser@cygnus.com>
18383
18384 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
18385 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
18386
23e37ab1
C
183872000-04-07 J.T. Conklin <jtc@redback.com>
18388
e93c542c
C
18389 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
18390
23e37ab1
C
18391 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
18392
591b8fa3
PDM
18393Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
18394
18395 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
889bf7c5 18396 values that can be represented exactly.
591b8fa3
PDM
18397 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
18398 above change, and to not check against the directory part of the source
18399 file name.
18400 (step into print_long_arg_list): Likewise.
18401 (print print_small_structs from print_long_arg_list): Likewise.
18402 (print print_long_arg_list): Likewise.
18403
7a495180
EZ
184042000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18405
30b53638 18406 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 18407
beb998c6
AC
18408Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
18409
18410 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
18411
1c689132
DB
184122000-03-25 Daniel Berlin <dan@cgsoftware.com>
18413
18414 * gdb.base/commands.exp (deprecated_command_test): Add test for
18415 deprecate with no arguments.
18416
c1790a9d
JL
184172000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
18418
18419 * gdb.base/break.exp: Add new test for setting breakpoints on
18420 optimized code so we can test breakpoints work even when function
18421 prologues may be optimized away
18422
003ba290
FN
184232000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
18424
18425 From David Whedon <dwhedon@gordian.com>
a9c64011 18426 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 18427
6837a0a2
DB
184282000-03-22 Daniel Berlin <dan@cgsoftware.com>
18429
18430 * gdb.base/help.exp: Added test for new apropos command.
18431
b9593231
KB
184322000-03-21 Kevin Buettner <kevinb@redhat.com>
18433
18434 * gdb.base/pointers.c (usevar): New function.
18435 (main): Make sure that global variables v_int_pointer2, rptr,
18436 and y are all referenced someplace in the program by calling
18437 usevar() on them. [Some linkers delete symbols which are
18438 never referenced. The space remains, but there's no way to
18439 get a (symbolic) handle on the variable from the debugger.]
18440
751a959b
EZ
184412000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18442
18443 * gdb.base/printcmds.c: Add typedeffed arrays.
18444
18445 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
889bf7c5 18446 procedure to test arrays that are typedef'd.
751a959b 18447
73a93a32
JI
184482000-03-13 James Ingham <jingham@leda.cygnus.com>
18449
18450 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 18451 the library directories.
73a93a32 18452
fb40c209
AC
18453Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
18454
18455 * configure.in (configdirs): Add sub directory gdb.mi.
18456 * configure: Re-generate.
18457
18458 * gdb.mi: New directory.
d63a86f8 18459
ee4dd2c9
AC
184602000-02-25 Scott Bambrough <scottb@netwinder.org>
18461
18462 * gdb.base/long_long.exp: Correct test suite failure when printing
889bf7c5 18463 a long long value as a double on ARM platforms.
ee4dd2c9 18464
70f0cc22
JB
184652000-02-16 Jim Blandy <jimb@redhat.com>
18466
18467 * gdb.base/break.exp ("breakpoint line number"): Make sure the
18468 default source file is set properly before running this test.
18469
853819b8
EZ
184702000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18471
18472 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
889bf7c5 18473 gdbtk/library directory, not in gdbtcl2.
853819b8 18474
dfcd3bfb
JM
184752000-02-04 Jim Blandy <jimb@redhat.com>
18476
18477 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
18478 backslash from regexp pattern.
18479
18480 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
18481 procedure. Use it to run all the "continue to bp overloaded"
18482 tests. Note that this changes the names of the tests slightly.
18483 If the breakpoint hit message includes a hex PC value, because
18484 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
18485 from the real source code, still consider that a pass.
18486
18487 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
18488 XFAIL here if the breakpoint message contains a hex address. Note
18489 similar change on 1999-11-02.
18490
18491 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
18492
18493 * gdb.base/ptype.exp: Establish a default source file before
18494 calling get_debug_format.
18495
184962000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
18497
18498 * gdb.base/watchpoint.exp: Remove duplication of test messages.
18499
8b93c638
JM
185002000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
18501
18502 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
18503 of successive stepi commands -- while in the prologue we should see
18504 the function entry bracket.
18505
185062000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
18507
18508 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
18509 reach __change_mode() when stepping through the end of main().
18510
c5394b80
JM
185112000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
18512
18513 * gdb.base/default.exp: Fix expected pattern.
18514 * gdb.base/help.exp: Same.
18515
0d06e24b
JM
185162000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18517
18518 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
889bf7c5 18519 Don't use xfail's because that affects only the following test.
d63a86f8 18520
0d06e24b 18521 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
889bf7c5 18522 solaris or linux.
0d06e24b
JM
18523
18524 * gdb.base/selftest.exp: Update to reflect changes to main.c.
18525
dc96c6c7 185262000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 18527
d63a86f8 18528 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
18529 "A syntax error" rather than "A parse error". Accept both.
18530
185312000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
18532
18533 * gdb.base/default.exp: Remove OS dependent string from "target
18534 remote" test.
18535 * gdb.base/help.exp: Same for "help target remote" test.
18536
c3f6f71d
JM
185372000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18538
18539 From Jim Kingdon <kingdon@redhat.com>:
18540
18541 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
889bf7c5
PA
18542 prompt (cleanup rather than necessity, but still might keep output
18543 from spilling to next test).
c3f6f71d
JM
18544
185452000-01-02 Fred Fish <fnf@cygnus.com>
18546
18547 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
18548 AIX, which defines them in <sys/types.h>.
18549
ed9a39eb 185501999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 18551
ed9a39eb 18552 * gdb.base/default.exp: Match arm* etc instead of arm in "info
889bf7c5 18553 float" test.
ed9a39eb
JM
18554
185551999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 18556
ed9a39eb 18557 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
18558
18559 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
18560 outermost frame disallowed".
18561
185621999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
18563
18564 * gdb.base/setvar.exp: New tests for setting the value of a struct
18565 with a constant list.
18566
185671999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
18568
18569 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
18570 require the user to type a cast before setting the value of a struct.
18571
de57eccd
JM
185721999-12-06 Jim Blandy <jimb@cygnus.com>
18573
18574 * gdb.base/default.exp: Expect the new 'info float' command on
18575 all i386 platforms.
18576
18577 * gdb.threads/linux-dp.exp: Expand our ability to recognize
18578 LinuxThreads libraries that don't support debugging.
18579
c2d11a7d
JM
18580Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
18581
18582 * gdb.base/remote.c: Fill the buffer with truely random data.
889bf7c5
PA
18583 Change the buffer type to ``unsigned char'' to simplify size
18584 arithmetic.
c2d11a7d
JM
18585
18586 * gdb.base/remote.exp: Reduce download numbers by one. Typical
889bf7c5
PA
18587 stub only handles 400-1 byte packets. Verify that the download
18588 worked.
c2d11a7d
JM
18589
185901999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
18591
18592 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
18593 tests, using UNRESOLVED for the untested cases. Also, does not wait
18594 for a timeout if the prompt was received before a recognizable pattern.
18595
185961999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
18597
18598 * lib/gdb.exp (gdb_expect_list): Fix spelling.
18599
186001999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18601
18602 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
889bf7c5 18603 watchpoints.
c2d11a7d
JM
18604
186051999-11-24 Jason Merrill <jason@casey.cygnus.com>
18606
18607 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
18608
18609 * gdb.c++/local.exp: Be more flexible in recognizing local class
18610 name mangling. Don't allow horribly truncated method names.
18611 * gdb.c++/derivation.exp: Expect protected inheritance.
18612 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
18613 * gdb.c++/virtfunc.exp: Likewise.
18614 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
18615 when printing a nested enum.
18616
186171999-11-22 Jim Blandy <jimb@cygnus.com>
18618
18619 * gdb.base/step-test.exp: Properly await GDB's response to setting
18620 a breakpoint on the call to large_struct_by_value.
18621
18622 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
18623 just because we have debug info for the `start' function.
18624
186251999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
18626
18627 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
18628 "Unknown signal" messages, which indicate (on LinuxThreads) that
18629 GDB doesn't know how to debug threads on this system. This is
18630 better than hanging while philosopher 0 dumps chatter into gdb.log.
18631
186321999-11-18 Tom Tromey <tromey@cygnus.com>
18633
18634 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
18635
186361999-11-18 Fred Fish <fnf@cygnus.com>
18637
18638 * gdb.base/coremaker2.c: Add sample program for generating
18639 cores that is more self contained than coremaker.c. Eventually
18640 I'll add more code to this and tie it into the testsuite.
18641
4ce44c66
JM
186421999-11-12 Stan Shebs <shebs@andros.cygnus.com>
18643
18644 * gdb.base/dollar.exp: Remove, now in gdb.hp.
18645
186461999-11-10 Jimmy Guo <guo@cup.hp.com>
18647
18648 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
889bf7c5 18649 from $srcdir/lib/.
4ce44c66 18650 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
889bf7c5 18651 and gdb.c++/.
4ce44c66
JM
18652
18653 * gdb.c++/derivation.exp: remove redundant get compiler info code.
18654
d63a86f8 18655 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
18656 'continue with watch' test point.
18657
186581999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
18659
18660 Merged from p2linux-990323-branch:
d63a86f8 18661
4ce44c66
JM
18662 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
18663
11cf8741
JM
18664Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
18665
18666 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
889bf7c5 18667 {limit,fixed}''. Test ``set download-write-size''.
11cf8741
JM
18668
18669Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
18670
18671 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
889bf7c5 18672 gdb_expect_list.
11cf8741
JM
18673
18674Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
18675
18676 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
18677
186781999-11-03 Mark Salter <msalter@cygnus.com>
18679
18680 * gdb.base/break.exp: Fix "stub continue" pattern.
18681
186821999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
18683
18684 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
18685
186861999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
18687
18688 * gdb.base/display.exp ("finish"): Add timeout clause.
18689
18690 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
18691 plain prompt clause, so this doesn't have to time out in order to
18692 fail.
18693
18694 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
889bf7c5 18695 breakpoint hit messages include an address.
11cf8741
JM
18696
18697 * gdb.base/display.exp: Don't forget to escape parens in regular
18698 expressions. Unix regexp notatation sucks.
18699
187001999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18701
18702 * gdb.base/annota1.exp: Test for annotate-signalled: change output
889bf7c5 18703 order for 'signalled' message.
11cf8741 18704
5c44784c
JM
187051999-11-01 Stan Shebs <shebs@andros.cygnus.com>
18706
18707 From Jimmy Guo <guo@cup.hp.com>:
18708 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
18709 * gdb.base/annota1.c: Add code for tests to work with.
18710
187111999-10-26 Frank Ch. Eigler <fche@cygnus.com>
18712
18713 * gdb.base/remote.exp: New test for remote downloading settings.
18714 * gdb.base/remote.c: New file with large .data.
18715
917317f4
JM
187161999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
18717
18718 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
18719 for LinuxThreads support, merged from the Code Fusion branch.
18720
18721Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
18722
18723 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
889bf7c5
PA
18724 containing exp_continue into a while within an expect. Don't
18725 attempt a start more than three times. Check return value from
18726 gdb_load.
d63a86f8 18727
2df3850c
JM
18728Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
18729
18730 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
889bf7c5 18731 a pass case.
2df3850c 18732
2acceee2
JM
187331999-10-01 Kevin Buettner <kevinb@cygnus.com>
18734
18735 * gdb.base/break.c (main): Added a statement that we can step
18736 off of.
18737 * gdb.base/break.exp: Added tests for setting a breakpoint
18738 at an offset and stepping onto a breakpoint.
18739
187401999-10-01 Fred Fish <fnf@cygnus.com>
18741
d63a86f8 18742 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
18743 gdb output.
18744
c2c6d25f
JM
187451999-09-18 Jim Blandy <jimb@cris.red-bean.com>
18746
18747 * gdb.base/break.exp: Code locations are in hex, don't forget!
18748 (For HP-UX.)
18749
187501999-09-17 Stan Shebs <shebs@andros.cygnus.com>
18751
18752 * condbreak.exp: Use break.c as test program.
18753 * condbreak.c: Remove, redundant with break.c.
18754
187551999-09-15 Stan Shebs <shebs@andros.cygnus.com>
18756
18757 * config/monitor.exp (gdb_target_monitor): Disable X- and
889bf7c5 18758 Z-packets if the target needs it.
c2c6d25f
JM
18759
187601999-09-13 James Ingham <jingham@leda.cygnus.com>
18761
18762 * gdb.c++/overload.exp: Added tests for listing overloaded
18763 functions with function pointers in the arg, explicitly calling
18764 out the version you want.
18765
cff3e48b
JM
187661999-09-09 Stan Shebs <shebs@andros.cygnus.com>
18767
18768 * long_long.exp: Add variations of test cases that work for
18769 targets with 16-bit ints and 32-bit doubles.
18770
d4f3574e
SS
187711999-09-08 Stan Shebs <shebs@andros.cygnus.com>
18772
18773 * break.c (main): Compare a possibly-uninitialized argc with an
18774 unlikely value that fits in 16 bits.
18775
187761999-09-07 Stan Shebs <shebs@andros.cygnus.com>
18777
18778 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
18779 0xfeeb, don't want negative numbers if ints are 16 bits.
18780
18781 * lib/gdb.exp (skip_cplus_tests): New proc.
18782 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
889bf7c5
PA
18783 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
18784 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
18785 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
18786 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
18787 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
18788 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
18789 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
d4f3574e
SS
18790
18791 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
18792
18793Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
18794
18795 * gdb.base/corefile.exp (up): Allow a parameter to appear
18796 in the frame that we're going up to.
18797
18798 From Jim Blandy <jimb@cygnus.com>:
18799
18800 * gdb.base/default.exp (info float): Expect some output now.
18801
18802 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
18803 returning floating-point values to fail on the x86.
18804 * gdb.base/callfwmall.exp (do_function_calls): Same.
18805
18806 * gdb.base/list.exp (test_listsize): Correct expectations for
18807 listing line 1 with listsize 2. Also, listing a single line
18808 works now, as does listing three lines. [Kevin's note: There
18809 were a number of other cases fixed too where the expectations
18810 differed...]
18811
188121999-09-02 Stan Shebs <shebs@andros.cygnus.com>
18813
18814 * gdb.base/selftest.exp: Add case for when version prints as
18815 constant string instead of char pointer.
18816
104c1213
JM
188171999-08-25 Stan Shebs <shebs@andros.cygnus.com>
18818
18819 * gdb.base/ending-run.exp: Add Solaris case for what happens when
889bf7c5 18820 stepping out of main.
104c1213
JM
18821
18822 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
18823 G++ used.
18824
18825 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
889bf7c5 18826 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
104c1213
JM
18827
18828 * gdb.c++/ovldbreak.exp: Update match string in test that
18829 includes a warning of multiple breakpoints.
18830
188311999-08-24 Stan Shebs <shebs@andros.cygnus.com>
18832
18833 * gdb.base/display.exp: Improve precision of step-after-finish
18834 added yesterday.
18835
18836 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
889bf7c5 18837 test.
104c1213
JM
18838
18839 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
18840 configs when using G++, not just hppa*.
18841
188421999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18843
18844 * gdb.base/async.c: New file.
18845 * gdb.base/async.exp: New file.
18846
18847Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
18848
18849 * gdb.base/break.exp: Tweak PA specific tests to properly handle
18850 PA64.
18851
53a5351d
JM
18852Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
18853
104c1213
JM
18854 * gdb.base/display.exp: "finish" can leave us mid-line on many
18855 targets, deal with it. Add a small constant to main, instead of
18856 1000 since main+1000 may not be a valid address in the target.
18857
53a5351d
JM
18858 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
18859 on hpux11.
18860
18861 * gdb.base/attach.exp: Handle another hpux11 error message variant
18862 when attaching to a process that does not exist.
18863
188641999-08-19 J.T. Conklin <jtc@redback.com>
18865
18866 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
889bf7c5 18867 characters in 'continue to 1241' test.
53a5351d
JM
18868
188691999-08-17 Stan Shebs <shebs@andros.cygnus.com>
18870
18871 * gdb.base/call-ar-st.exp: Add a shorter match case for the
18872 stop in print_long_arg_list, define and use a whitespace
18873 variable in print_small_structs test, add an XFAIL for Solaris.
18874 * gdb.base/dbx.exp: XFAIL func commands until somebody is
18875 interested enough to fix.
18876
7be570e7
JM
188771999-08-13 Keith Seitz <keiths@cygnus.com>
18878
18879 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
18880 (dbx_gdb_load): Remove. Use gdb_load instead, since that
18881 proc knows about targets other than the natives.
18882 (test_assign): Use "gdb_run_cmd" to "run" the target.
18883 Check that we've actually hit the breakpoint at main.
18884 When we attempt to assign a value to a local variable, check
18885 that the variable is in the current scope, i.e., don't use
18886 a test with an empty result.
18887
18888Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
18889
18890 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
889bf7c5 18891 command.
7be570e7
JM
18892
188931999-08-09 Stan Shebs <shebs@andros.cygnus.com>
18894
18895 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18896 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
18897 gdb.compat, gdb.threads-hp.
18898 gdb.hp/configure, gdb.hp/configure.in: New files.
18899 gdb.hp/Makefile.in: Recurse into new subdirs.
18900 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
18901 gdb.hp/gdb.objdbg: New directory, tests for debugging info
18902 in object files.
18903 gdb.hp/tools: New directory, aux tools for HP-specific tests.
18904
96baa820
JM
189051999-08-05 Stan Shebs <shebs@andros.cygnus.com>
18906
18907 * gdb.base/display.exp: Help expect by putting a newline in the
889bf7c5 18908 funky printf, remove a bogus p/a test.
96baa820
JM
18909
189101999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18911
18912 * gdb.base/display.exp: Make sure that when we say 'run', we are
889bf7c5
PA
18913 connected to the target. This is necessary when running not
18914 natively.
96baa820
JM
18915
189161999-08-03 Stan Shebs <shebs@andros.cygnus.com>
18917
18918 * gdb.base/step-test.exp: Removed some extraneous messages.
18919
18920 * gdb.base/long_long.exp: Don't run memory examination tests
18921 on little-endian targets (they will need a different set of
18922 results to match).
18923
189241999-08-02 Stan Shebs <shebs@andros.cygnus.com>
18925
18926 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
18927 until somebody decides to fix GDB.
18928
18929 * gdb.base/long_long.c: Stop compiler complaint by specifying long
889bf7c5 18930 constant as "ULL".
96baa820
JM
18931 * gdb.base/long_long.exp: Loosen x/c test, add partial result
18932 matches for a couple x/2 commands.
18933
a0b3c4fd
JM
189341999-07-30 Stan Shebs <shebs@andros.cygnus.com>
18935
18936 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
18937 by merging in ref-types2 tests.
18938 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
18939
18940 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18941 * gdb.c++/Makefile.in: Add standard actions.
18942 (EXECUTABLES): Rename from PROGS, update list.
18943 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
18944 from gdb.hp.
18945 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
18946 foo and bar locals.
18947 * gdb.c++/anon-union.exp: Fix tests to match.
18948 * gdb.c++/classes.exp: Run if HP compiler used, add extra
18949 expect matches to handle output variations.
18950 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
18951 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
889bf7c5 18952 output, add HP alternatives for new and delete prints.
a0b3c4fd 18953 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
889bf7c5 18954 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
a0b3c4fd
JM
18955 * gdb.c++/demangle.exp: Use $style when reporting failure.
18956 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
18957 * gdb.c++/inherit.exp: Run if HP compiler used, add some
18958 match alternatives.
18959 * gdb.c++/local.exp: Add match alternatives or xfails for HP
889bf7c5 18960 compilers.
a0b3c4fd
JM
18961 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
18962 * gdb.c++/method.exp: Add match alternatives.
18963 * gdb.c++/misc.cc: Add bool types.
18964 * gdb.c++/misc.exp: Add tests for bool types.
18965 * gdb.c++/overload.exp: Add xfails.
18966 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
18967 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
18968 add some more template parameter tests (only for HP currently).
18969 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
18970 * gdb.c++/virtfunc.cc: Add return type and value for main.
18971 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
18972 match alternatives.
d63a86f8 18973
a0b3c4fd
JM
189741999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18975
18976 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
18977
189781999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
18979
18980 * gdb.base/signals.exp: Don't expect getting a backtrace from
18981 within a signal handler to fail on Linux.
18982
189831999-07-29 Stan Shebs <shebs@andros.cygnus.com>
18984
18985 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18986 * lib/gdb.exp: Remove some gratuitious semicolons.
18987 (delete_breakpoints): Increase timeout.
18988 (gdb_expect): Add -notransfer option.
18989 (gdb_test): Use -notransfer option.
18990 (get_compiler_info): Add f77 case.
18991 (get_compiler): New proc, split out from gdb_preprocess, add f77
889bf7c5 18992 case.
a0b3c4fd
JM
18993 (gdb_preprocess): Call get_compiler.
18994
18995 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
18996 * gdb.base/attach.exp, gdb.base/display.exp,
889bf7c5
PA
18997 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
18998 gdb.base/long_long.exp, gdb.base/printcmds.exp,
18999 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
19000 third arg to gdb_test.
a0b3c4fd
JM
19001 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
19002 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
889bf7c5 19003 HP-UX xfails, add others.
a0b3c4fd
JM
19004 * gdb.base/completion.exp: Reflect name change of self-test.
19005 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
889bf7c5
PA
19006 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
19007 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
19008 HP failure number.
a0b3c4fd
JM
19009 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
19010 useless HP-UX 10.30 references.
19011 * gdb.base/maint.exp: Loosen matches.
19012 * gdb.base/pointers.c (main): Declare more_code.
19013 * gdb.base/pointers.exp: Match on output of a `next'.
19014 * gdb.base/structs.c: Add prototypes.
19015 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
19016 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
19017
190181999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19019
19020 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
889bf7c5 19021 command.
a0b3c4fd
JM
19022
190231999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19024
19025 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
19026 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
19027
19028 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
19029 debug info. Deal with lack of signal hanlder info in stack.
19030
a9c64011 19031 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
19032 * gdb.base/annota1.exp: If printf has debug info, deal with it.
19033
5a2468f5
JM
190341999-07-19 Stan Shebs <shebs@andros.cygnus.com>
19035
19036 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
889bf7c5 19037 gdb.base/foll-vfork.exp: Don't run for crosses.
5a2468f5 19038
adf40b2e
JM
19039Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
19040
19041 * gdb.base/configure.in: Check for gdbvars.exp instead of
889bf7c5 19042 a1-selftest.exp.
adf40b2e
JM
19043 * gdb.base/configure: Re-generate.
19044
190451999-07-12 Stan Shebs <shebs@andros.cygnus.com>
19046
19047 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
19048 in trying to run first and name is too long.
19049
19050 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
19051 pointers2.c and pointers2.exp, respectively.
19052 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
19053 doschk happier.
19054
43e526b9
JM
190551999-07-08 Stan Shebs <shebs@andros.cygnus.com>
19056
19057 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
19058 callfuncs2.c and callfuncs2.exp.
19059
19060 * gdb.base/list.exp: Remove mistaken xfails.
19061 * gdb.base/list0.h: Add optional prototypes.
19062
9846de1b
JM
19063Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
19064
a9c64011 19065 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
889bf7c5 19066 calling malloc.
a9c64011
AS
19067 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
19068 * ptype.exp: Move test for get_debug_format to before its first
889bf7c5 19069 use.
9846de1b
JM
19070
190711999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19072
19073 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
19074 * gdb.base/annota2.cc, annota2.exp: Move from here.
19075 * gdb.c++/annota2.cc, annota2.exp: To here.
19076 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
19077
43ff13b4
JM
19078Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
19079
19080 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
889bf7c5 19081 a consistent format.
43ff13b4 19082
085dd6e6
JM
190831999-06-25 Stan Shebs <shebs@andros.cygnus.com>
19084
19085 From Jimmy Guo <guo@cup.hp.com> and others at HP:
19086 * lib/gdb.exp (get_compiler_info): Add detection for assorted
19087 HP compilers, also set the globals $true and $false.
19088
19089 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
889bf7c5
PA
19090 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
19091 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
19092 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
19093 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
19094 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
19095 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
19096 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
19097 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
19098 whatis.c} Add C++ compatible function definitions and return
19099 types, add includes for library functions.
085dd6e6
JM
19100 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
19101 * gdb.base/step-test.c (myglob): Rename from glob.
19102 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
889bf7c5
PA
19103 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
19104 files, move here from gdb.hp.
085dd6e6 19105 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
889bf7c5
PA
19106 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
19107 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
19108 Adjust line numbers in regexps.
085dd6e6
JM
19109
19110 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
19111 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
19112 instead of 0/1.
19113
19114 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
19115 foll-vfork.exp: New files, move here from gdb.hp.
19116 * gdb.base/page.exp: New file, test of pagination command.
19117
19118 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
19119 recursion test.
19120 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
19121
19122 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
889bf7c5 19123 gdb.base/solib.exp: Fix compiler invocation process.
085dd6e6
JM
19124
19125 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
889bf7c5 19126 HP-UX 11, turn off overload resolution explicitly.
085dd6e6 19127 * gdb.base/commands.exp: Set argument list explicitly, add
889bf7c5 19128 watchpoint test.
085dd6e6
JM
19129 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
19130 them work.
19131 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
19132 expressions properly.
19133 * gdb.base/corefile.exp: Loosen the match slightly.
19134 * gdb.base/default.exp: Allow "Error accessing memory" message
19135 also.
19136 * gdb.base/display.exp: Skip over x/0 j if PA64.
19137 * gdb.base/funcargs.exp: Add xfails for HP-UX.
19138 * gdb.base/interrupt.exp: Ditto.
19139 * gdb.base/langs.exp: Add symbolic matches governed by compiler
19140 in use.
19141 * gdb.base/list.exp: Add xfails for HP-UX.
19142 * gdb.base/long_long.exp: Refine some of the numeric matches.
19143 * gdb.base/mips_pro.exp: Xfail on HP-UX.
19144 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
19145 * gdb.base/nodebug.exp: Succeed on more varieties of output.
19146 * gdb.base/opaque.exp: Remove some HP-UX xfails.
19147 * gdb.base/ptype.exp: Succeed on more varieties of output.
19148 * gdb.base/scope.exp: Add xfails for HP-UX.
19149 * gdb.base/sect-cmd.exp: Add more cases.
19150 * gdb.base/setvar.exp: Add xfails for HP-UX.
19151 * gdb.base/shlib-call.exp: Loosen some matches slightly.
19152 * gdb.base/signals.exp: Match on void symbolically.
19153 * gdb.base/step-test.exp: Add case for PA64.
19154 * gdb.base/term.exp: Add exit and restart.
19155 * gdb.base/twice.exp: Clean up after self.
19156 * gdb.base/varargs.exp: Disable overload resolution explicitly.
19157 * gdb.base/whatis.exp: Allow more ways to pass tests.
19158
19159 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
889bf7c5 19160 no longer useful.
085dd6e6
JM
19161
19162Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
19163
19164 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
889bf7c5 19165 list of patterns.
085dd6e6 19166 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
889bf7c5
PA
19167 print_double_array(double_array)", "continuing to breakpoint
19168 1018", "print print_double_array(array_d)" and "continuing to
19169 1034" tests.
d63a86f8 19170
085dd6e6
JM
191711999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
19172
a9c64011 19173 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
19174
191751999-06-24 Stan Shebs <shebs@andros.cygnus.com>
19176
19177 * config/mt-*: Remove, these haven't been used since 1996.
19178
191791999-06-22 Stan Shebs <shebs@andros.cygnus.com>
19180
19181 * gdb.base/call-strs.c, gdb.base/ending-run.c,
889bf7c5 19182 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
085dd6e6
JM
19183 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
19184
9e0b60a8
JM
191851999-06-18 Stan Shebs <shebs@andros.cygnus.com>
19186
19187 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
19188 simpler match case for the ptype of the big class.
19189
191901999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
19191
19192 * gdb.exp: Fix test for gdb_prompt existence.
19193
191941999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
19195
19196 * gdb.exp (gdb_test): Add fail after calls to perror.
19197
191981999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
19199
19200 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
19201
192021999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
19203
19204 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
19205
0f71a2f6
JM
19206Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
19207
19208 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
889bf7c5 19209 malloc() is linked in.
0f71a2f6
JM
19210
192111999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
19212
19213 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
19214 step at end.
19215
19216 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
19217
192181999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
19219
19220 * gdb.java/jv-print.exp: New file. (Our first Java test!)
19221
cce74817
JM
19222Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
19223
19224 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
19225 * gdb.base/mips_pro.exp: Likewise.
19226
192271999-06-02 Keith Seitz <keiths@cygnus.com>
19228
19229 * gdb.c++/templates.cc: Change all "new" operators to throw
19230 an exception.
19231 * gdb.c++/cplusfuncs.cc: Likewise.
19232
19233 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
19234
19235Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
19236
19237 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
19238 * gdb.base/ending-run.exp: When stepping out of main, accept a
19239 step into an arbitrary assembler file.
cce74817 19240
392a587b
JM
192411999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19242
d63a86f8 19243 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 19244 "breakpoint-invalid" to be printed.
d63a86f8 19245 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
19246 number of "frames-invalid" and "breakpoint-invalid" to be printed.
19247 * gdb.base/annota2.cc: Initialize a.x to 0.
19248
9e086581
JM
192491999-05-17 Keith Seitz <keiths@cygnus.com>
19250
19251 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
19252 when "skip_float_tests" set.
19253 Ditto for "print print_double_array(array_d)", "print print_small_structs",
19254 "print print_ten_doubles", and "step into print_long_arg_list".
19255 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
19256 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
19257 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
19258 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
19259 "skip_float_tests" is set.
19260 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
19261 when "skip_float_tests" set.
d63a86f8 19262
cd0fc7c3
SS
192631999-05-06 Keith Seitz <keiths@cygnus.com>
19264
19265 * gdb.base/annota2.cc: Include stdio.h.
19266
19267Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
19268
19269 * gdb.base/crossload.exp: Remove, this has been disabled ever
19270 since BFD stopped including all targets, and cross-GDB gets
19271 plenty of testing anyway.
19272 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
889bf7c5
PA
19273 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
19274 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
cd0fc7c3
SS
19275 * gdb.base/README: Remove, was doc for this.
19276 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
889bf7c5 19277 needed.
cd0fc7c3 19278
b83266a0
SS
192791999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19280
19281 * gdb.base/call-ar-st.exp: Fix one regular expression in test
19282 output.
19283
19284 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
19285 * gdb.base/annota2.exp: New file. More annotation tests.
19286 * gdb.base/annota1.c: New file. Source file for annota1.exp.
19287 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
19288
192891999-04-23 Angela Marie Thomas <angela@cygnus.com>
19290
19291 * config/cfdbug.exp: New file.
19292
7a292a7a
SS
192931999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
19294
19295 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
19296 Marcus Daniel's and Dale Hawkins's demangler crashes.
19297
19298 * gdb.c++/demangle.exp (test_gnu_style_demangling,
889bf7c5
PA
19299 test_lucid_style_demangling, test_arm_style_demangling,
19300 test_hp_style_demangling): Try Tom Tromey's core-dumping
19301 identifier under each demangling style.
7a292a7a
SS
19302
193031999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
19304
19305 * gdb.c++/demangle.exp: Include the current demangling style
19306 in all test names.
19307 (current_demangling_style): New global variable.
19308 (set_demangling_style, test_demangling_core, test_demangling,
19309 test_demangling_exact): New functions.
19310 (test_gnu_style_demangling, test_lucid_style_demangling,
19311 test_arm_style_demangling, test_hp_style_demangling): Use those,
19312 instead of calling gdb_test and gdb_test_exact directly.
19313 (catch_demangling_errors): New function, which reports errors
19314 signalled by the demangling test functions in an orderly way.
19315 (do_tests): Use catch_demangling_errors.
19316
193171999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
19318
19319 * gdb.base/signals.exp (test_handle_all_print): Use () for
889bf7c5 19320 grouping in expressions, not {}.
7a292a7a
SS
19321
19322 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
889bf7c5 19323 initialized yet.
7a292a7a
SS
19324
193251999-04-01 Stan Shebs <shebs@andros.cygnus.com>
19326
19327 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
19328 are listed.
19329
193301999-03-26 Stan Shebs <shebs@andros.cygnus.com>
19331
19332 * gdb.stabs/weird.exp: Test for CC being defined before
19333 looking at its value.
19334
193351999-03-25 Stan Shebs <shebs@andros.cygnus.com>
19336
19337 * gdb.base/call-ar-st.exp: Remove stray '#'.
19338 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
19339 "short int" and "long int".
19340 * gdb.c++/overload.cc: Cast the string added in the previous
889bf7c5 19341 change, to mollify finicky HP compiler.
7a292a7a
SS
19342 * gdb.hp/reg-test.exp (testfile): Fix file name.
19343 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 19344
7a292a7a
SS
19345 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
19346 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
19347 alternate form of enum ptype.
19348
c906108c
SS
193491999-03-23 Stan Shebs <shebs@andros.cygnus.com>
19350
7a292a7a
SS
19351 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
19352 * gdb.hp/*.exp: Change all to run compiler probe only after
889bf7c5
PA
19353 passing skip_hp_tests, so as not to waste time on guaranteed
19354 failure.
7a292a7a 19355
c906108c
SS
19356 * gdb.c++/overload.cc: Pass string instead of char addr, always
19357 init ccpfoo.
19358 * gdb.c++/templates.cc: Fix syntax error.
19359
7a292a7a
SS
19360Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19361
19362 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 19363 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
19364 command.
19365
193661999-03-18 James Ingham <jingham@cygnus.com>
19367
19368 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
19369
19370 * gdb.c++/method.exp: It was testing an uninitialized int on the
19371 stack and assuming it was positive.
19372
19373 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
19374
19375 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 19376 keep it from killing the rest of the tests.
7a292a7a
SS
19377 Use gdb_continue_to_end.
19378
19379 * gdb.base/sigall.exp: use gdb_continue_to_end.
19380
19381 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
19382
19383 * gdb.base/display.exp: use runto_main, not run.
19384
d63a86f8
RM
19385 * gdb.base/default.exp: Check for the current error message in the
19386 r abbreviation test.
7a292a7a
SS
19387 Add strongarm to the targets that know info float.
19388
d63a86f8 19389 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
19390 run which doesn't work with monitors.
19391
19392 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
19393
19394 * gdb.base/break.exp: use the gdb_continue_to_end proc.
19395
19396 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
19397 program. Traps the case (in Cygmon) when the program never really
19398 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
19399 more places, so I used my name. Sorry Mark...
19400
19401 * config/monitor.exp (gdb_target_monitor): added another
19402 target_info parameter: remotebinarydownload. This will set the
19403 remotebinarydownload flag if this is causing some boards trouble.
19404
194051999-03-18 Mark Salter <msalter@cygnus.com>
19406
19407 * lib/gdb.exp (continue_to_exit): New function.
19408
19409 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
19410 * gdb.base/ending-run.exp: Ditto.
19411 * gdb.base/step-test.exp: Ditto.
19412
194131999-03-16 Stan Shebs <shebs@andros.cygnus.com>
19414
19415 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
19416 (suggested by Art Haas <ahaas@neosoft.com>).
19417
194181999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
19419
889bf7c5 19420 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7a292a7a
SS
19421
19422Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
19423
19424 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
889bf7c5 19425 descriptions of types (short unsigned int vs unsigned short, etc).
7a292a7a
SS
19426
194271999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
19428
19429 * gdb.base/call-strs.exp: Don't assume that `step' will step over
19430 a call to strlen; sometimes we do have sources.
19431
194321999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
19433
19434 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
889bf7c5 19435 character, so GDB won't print garbage after its end.
d63a86f8 19436
c906108c
SS
19437 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
19438 breakpoint there instead. Sometimes GCC emits memcpy to handle
19439 the large structures being passed by value, so we step into that
19440 instead of sum_array_print, which obscures what we're really testing.
19441 * gdb.base/step-test.exp: However, we do want a test that notices
889bf7c5
PA
19442 the bizarre steps into memcpy, so do that here. Add check for
19443 stepping into function calls that pass large structures by value.
19444 ("Is that a noun clause, or are you just happy to see me?")
c906108c
SS
19445 Remove all references to specific line numbers.
19446 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
19447 New type and function.
19448 (main): Call large_struct_by_value, passing it a large struct by value.
19449 * lib/gdb.exp (gdb_get_line_number): New function.
19450
19451 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
19452 more portable.
19453
7a292a7a
SS
194541999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
19455
c906108c
SS
19456 * lib/gdb.exp: Doc fixes.
19457
7a292a7a
SS
194581999-03-05 Nick Clifton <nickc@cygnus.com>
19459
d63a86f8 19460 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
19461
194621999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
19463
c906108c 19464 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
889bf7c5
PA
19465 commands. They're not germane to this test, and they don't work
19466 that way on remote targets.
c906108c 19467
3fc11d3e
JM
194681999-03-01 James Ingham <jingham@cygnus.com>
19469
19470 * Changelog entries merged over from gdb development branch.
19471
3fc11d3e
JM
19472 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
19473
19474 * lib/gdb.exp (gdbtk_analyze_results): Generic function
19475 for outputting results of test run.
19476
2d4a1622 19477 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
19478
19479 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 19480
7a292a7a
SS
194811999-02-25 Felix Lee <flee@cygnus.com>
19482
19483 * lib/gdb.exp (debug_format): initialize
19484
c906108c
SS
194851999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
19486
19487 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
19488 * gdb.base/call-rt-st.c: Ditto.
19489
c906108c
SS
194901999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
19491
19492 * gdb.threads/pthreads.exp (horiz): New variable.
19493 (test_startup): Fix regexps that capture thread numbers.
19494
194951999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
19496
19497 * gdb.base/smoke.exp: Disambiguate two test case names (both
19498 called ``print'').
19499
19500Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
19501
19502 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
889bf7c5 19503 compilation.
c906108c
SS
19504
195051999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
19506
19507 * gdb.base/miscexprs.exp: Change patterns to match GDB's
19508 actual output formatting.
19509 * gdb.base/smoke.exp: GDB removes leading 0's.
19510 * gdb.base/volatile.exp: Don't check type of remuneration;
19511 that variable is no longer defined in constvars.c.
19512 * gdb.base/step-test.c (main): Exit with explicit exit code.
19513 * gdb.base/step-test.exp: Remove two nexti checks--they are
19514 not portable.
19515
195161999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
19517
19518 * gdb.base/help.exp ("help delete display"): Fix test to match
19519 gdb's output.
19520
19521 * gdb.base/long_long.c (known_types): Initialize values to zero.
19522 * gdb.base/long_long.exp: Step one more line
19523 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
19524 leading zeros. Explicitly ask for hex formatting. Use
19525 unique test case names.
c906108c
SS
19526
19527Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19528
d63a86f8 19529 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
19530
19531 * gdb.c++/method.exp: Add missing close brace.
19532
195331999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
19534
19535 * gdb.base/maint.exp: Use 'set height 0' to disable page
19536 prompting, not 'set height 400'.
19537
19538 Fix a bunch of timeouts.
19539 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
19540 four separate tests, so expect doesn't take forever to match a ton
19541 of text against a regexp with lots of .* forms.
19542 ("maint print psymbols", "maint print symbols"): Make some of
19543 these greps more selective, so that expect doesn't try to wade
19544 through huge piles of output and time out.
19545
19546 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
19547
19548 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
889bf7c5
PA
19549 tests: one which doesn't expect shlib events to be reported, and
19550 another which does, but is XFAIL for all platforms other than
19551 HP/UX.
c906108c
SS
19552
19553 * gdb.base/break.exp: Teach the test suite that the `catch
19554 fork', `catch vfork', and `catch exec' commands produce error
19555 messages on platforms that don't provide these features.
19556
19557Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
19558
19559 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
889bf7c5
PA
19560 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
19561 (shortening names from solib_threshold.exp etc), won't run on
19562 anything but HP-UX for the foreseeable future.
c906108c 19563 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
889bf7c5 19564 reflect move.
c906108c
SS
19565
19566Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
19567
19568 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
889bf7c5 19569 gdb.trace/Makefile.in (clean): Remove all test executables.
c906108c
SS
19570
19571Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
19572
19573 * gdb.base/shlib-call.exp: add test cases to verify that gdb
19574 successfully re-sets breakpoints in shared libraries.
19575 * gdb.base/shmain.c (main): return 0, don't fall off the end.
19576
19577Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19578
d63a86f8
RM
19579 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
19580 and compiled w/o GCC.
c906108c
SS
19581
19582 * gdb.hp/watch-cmd.exp: ditto.
19583
19584 * gdb.hp/watch-hp.exp: ditto.
19585
19586 * gdb.hp/xdb1.exp: ditto.
19587
19588 * gdb.hp/xdb2.exp: ditto.
19589
19590 * gdb.hp/dbx.exp: ditto.
19591
19592Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
19593
19594 * constvars.c: Remove C++-isms.
19595 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
889bf7c5 19596 with GCC.
c906108c
SS
19597
19598Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
19599
19600 The following changes are part of the HP merge.
19601
19602 * gdb.base/break.exp: new tests to verify that catchpoints for
19603 fork, vfork, and exec don't trigger inappropriately.
19604
19605 * gdb.base/opaque.exp: compile one file at a time, then link.
19606
19607 * gdb.base/signals.exp: be more restrictive about which hppa
19608 systems receive a setup_xfail. new tests.
19609
19610 * gdb.base/solib_threshold.build: new file.
19611 * gdb.base/solib_threshold.exp: new file.
19612 * gdb.base/solib_threshold.link_opts: new file.
19613 * gdb.base/solib_threshold.mk: new file.
19614 * gdb.base/gen_solib_threshold.c: new file.
19615
19616 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
19617 tests. New tests for enums inside classes.
19618
19619 * gdb.c++/compiler.cc: indicate support of template debugging.
19620
19621 * gdb.c++/demangle.exp: run hp style demangling tests.
19622
19623 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
19624 tests.
19625
19626 * gdb.c++/misc.cc: changes to support new tests.
19627
19628 * gdb.c++/templates.cc: changes to support HP's compiler; changes
19629 to support new tests.
19630
19631 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
19632 gcc, then skip these tests.
19633
19634Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
19635
19636 The following files are part of the HP merge; some had longer
19637 names at HP, but have been renamed to be no more than 14
19638 characters in length.
19639
19640 * gdb.hp/ambiguous.cc: new file.
19641 * gdb.hp/ambiguous.exp: new file.
19642 * gdb.hp/attach.exp: new file.
19643 * gdb.hp/attach2.exp: new file.
19644 * gdb.hp/classes-hp.exp: new file.
19645 * gdb.hp/ctti.exp: new file.
19646 * gdb.hp/ctti-add.cc: new file.
19647 * gdb.hp/ctti-add1.cc: new file.
19648 * gdb.hp/ctti-add2.cc: new file.
19649 * gdb.hp/ctti-add3.cc: new file.
19650 * gdb.hp/dbx.exp: new file.
19651 * gdb.hp/exception.cc: new file.
19652 * gdb.hp/exception.exp: new file.
19653 * gdb.hp/foll-exec.c: new file.
19654 * gdb.hp/foll-exec.exp: new file.
19655 * gdb.hp/foll-fork.c: new file.
19656 * gdb.hp/foll-fork.exp: new file.
19657 * gdb.hp/foll-vfork.c: new file.
19658 * gdb.hp/foll-vfork.exp: new file.
19659 * gdb.hp/inherit-hp.exp: new file.
19660 * gdb.hp/more-steps.exp: new file.
19661 * gdb.hp/namespace.cc: new file.
19662 * gdb.hp/namespace.exp: new file.
19663 * gdb.hp/optimize.exp: new file.
19664 * gdb.hp/pxdb.c: new file.
19665 * gdb.hp/pxdb.exp: new file.
19666 * gdb.hp/quicksort.exp: new file.
19667 * gdb.hp/reg-test.exp: new file.
19668 * gdb.hp/reg-test.s: new file.
19669 * gdb.hp/sized-enum.c: new file.
19670 * gdb.hp/sized-enum.exp: new file.
19671 * gdb.hp/start-stop.exp: new file.
19672 * gdb.hp/templ-hp.cc: new file.
19673 * gdb.hp/templ-hp.exp: new file.
19674 * gdb.hp/thr-lib.c: new file.
19675 * gdb.hp/thr-lib.exp: new file.
19676 * gdb.hp/thr-lib.h: new file.
19677 * gdb.hp/thr-liblib.c: new file.
19678 * gdb.hp/virtfun-hp.c: new file.
19679 * gdb.hp/virtfun-hp.exp: new file.
19680 * gdb.hp/watch-cmd.exp: new file.
19681 * gdb.hp/watch-hp.exp: new file.
19682 * gdb.hp/xdb1.exp: new file.
19683 * gdb.hp/xdb2.exp: new file.
19684 * gdb.hp/xdb3.exp: new file.
19685
19686Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
19687
19688 The following files are part of the HP merge; some had longer
19689 names at HP, but have been renamed to be no more than 14
19690 characters in length.
19691
19692 * gdb.base/ss.h: new file.
19693 * gdb.base/call-ar-st.c: new file.
19694 * gdb.base/call-ar-st.exp: new file.
19695 * gdb.base/call-rt-st.c: new file.
19696 * gdb.base/call-rt-st-exp: new file.
19697 * gdb.base/call-strs.exp: new file.
19698 * gdb.base/ena-dis-br.exp: new file.
19699 * gdb.base/environ.exp: new file.
19700 * gdb.base/long_long.exp: new file.
19701 * gdb.base/sect-cmd.exp: new file.
19702 * gdb.base/shlib-cl2.exp: new file.
19703 * gdb.base/smoke.exp: new file.
19704 * gdb.base/so-impl-ld.c: new file.
19705 * gdb.base/so-impl-ld.exp: new file.
19706 * gdb.base/so-indr-cl.c: new file.
19707 * gdb.base/so-indr-cl.exp: new file.
19708 * gdb.base/varargs.exp: new file.
19709 * gdb.base/volatile.exp: new file.
19710 * gdb.base/whatis-exp.exp: new file.
7a292a7a 19711 * gdb.base/display.exp: new file.
c906108c
SS
19712 * gdb.c++/derivation.exp: new file.
19713 * gdb.c++/local.exp: new file.
19714 * gdb.c++/member-ptr.exp: new file.
19715 * gdb.c++/overload.exp: new file.
19716 * gdb.c++/ovldbreak.exp: new file.
19717 * gdb.c++/ref-types.exp: new file.
19718 * gdb.c++/ref-types2.exp: new file.
19719 * gdb.c++/userdef.exp: new file.
d63a86f8 19720
c906108c
SS
19721Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
19722
19723 * gdb.base/default.exp: Reflect wording change in remote.c.
19724
dc96c6c7 19725Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19726
19727 * gdb.base/help.exp: Update to reflect current text.
19728
19729Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
19730
19731 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
19732 they're stack variables and contain garbage.
19733 * gdb.c++/anon-union.exp: new file.
19734
19735 The following changes were made by David Taylor
889bf7c5
PA
19736 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
19737 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
19738 in changes by HP.
c906108c
SS
19739
19740 * gdb.base/bitops.exp: new file.
19741 * gdb.base/default.exp: change expected messages for catch and
19742 info catch tests to reflect HP merge changes.
19743 * gdb.base/enable-disable-break.exp
19744 * gdb.base/ending-run.c: new file.
19745 * gdb.base/long_long.c: new file.
19746 * gdb.base/maint.exp: new file.
19747 * gdb.base/pointers2.exp: new file.
19748 * gdb.base/shlib-call2.exp: new file.
19749 * gdb.base/solib.exp: new file.
19750 * gdb.base/step-test.c: new file.
19751 * gdb.c++/anon-union.cc: new file.
19752 * gdb.c++/local.cc: new file.
19753 * gdb.c++/member-pointer.cc: new file.
19754 * gdb.c++/method.cc: new file.
19755 * gdb.c++/ref-types.cc: new file.
19756 * gdb.c++/ref-types2.cc: new file.
19757 * gdb.c++/userdef.cc: new file.
d63a86f8 19758
c906108c
SS
19759 * gdb.base/scope.exp: compile one file at a time, then link.
19760 * gdb.base/langs.exp: ditto.
19761 * gdb.base/list.exp: ditto.
d63a86f8 19762
c906108c
SS
19763Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
19764
19765 The following changes were made by David Taylor
889bf7c5
PA
19766 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
19767 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
19768 in changes by HP.
d63a86f8 19769
c906108c
SS
19770 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
19771 skip tests. When compiling pass c++ flag to gdb_compile.
19772 * gdb.c++/
d63a86f8 19773
c906108c
SS
19774 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
19775 test for on hppa*-*-hpux*; use args to see if c++ was specified.
19776 (skip_hp_tests): new function.
19777 (gdb_preprocess): new function.
19778
19779 * configure.in (hpdir): decide whether to configure gdb.hp.
19780 * configure: regenerated.
19781
19782 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
19783 to delete on clean.
19784 (EXECUTABLES): update to reflect new additions.
19785 * gdb.base/commands.exp: update message expected.
19786 * gdb.base/default.exp: add copyright notice.
19787 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
19788 * gdb.base/help.exp: update messages to reflect current text.
19789 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
19790 targets for recurse tests.
19791 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
19792 skip this file.
19793
19794 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
19795 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
19796 compilation.
19797 * gdb.c++/misc.exp: ditto.
19798 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
19799 run the tests. tell gdb_compile that it's a c++ compilation.
19800
19801 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 19802
c906108c
SS
19803 * gdb.base/all-bin.exp: new file.
19804 * gdb.base/arithmet.exp: new file.
19805 * gdb.base/assign.exp: new file.
19806 * gdb.base/completion.exp: new file.
19807 * gdb.base/cond-expr.exp: new file.
19808 * gdb.base/condbreak.exp: new file.
19809 * gdb.base/define.exp: new file.
19810 * gdb.base/dollar.exp: new file.
19811 * gdb.base/environment.exp: new file.
19812 * gdb.base/eval-skip.exp: new file.
19813 * gdb.base/jump.exp: new file.
19814 * gdb.base/logical.exp: new file.
19815 * gdb.base/pointers.exp: new file.
19816 * gdb.base/relational.exp: new file.
19817 * gdb.base/section_command.exp: new file.
19818 * gdb.base/whatis-expr.exp: new file.
19819
19820 * gdb.base/all-types.c: new file.
19821 * gdb.base/call-array-struct.c: new file.
19822 * gdb.base/call-return-struct.c: new file.
19823 * gdb.base/call-strings.c: new file.
19824 * gdb.base/callfuncs2.c: new file.
19825 * gdb.base/condbreak.c: new file.
19826 * gdb.base/constvars.c: new file.
19827 * gdb.base/display.c: new file.
19828 * gdb.base/int-type.c: new file.
19829 * gdb.base/jump.c: new file.
19830 * gdb.base/miscexprs.c: new file.
19831 * gdb.base/pointers.c: new file.
19832 * gdb.base/pointers2.c: new file.
19833 * gdb.base/shmain.c: new file.
19834 * gdb.base/shr1.c: new file.
19835 * gdb.base/shr2.c: new file.
19836 * gdb.base/solib.c: new file.
19837 * gdb.base/solib1.c: new file.
19838 * gdb.base/solib2.c: new file.
19839 * gdb.base/varargs.c: new file.
19840 * gdb.c++/derivation.cc: new file.
19841 * gdb.c++/overload.cc: new file.
19842 * gdb.c++/ovldbreak.cc: new file.
19843 * gdb.hp/attach.c: new file.
19844 * gdb.hp/attach2.c: new file.
19845 * gdb.hp/average.c: new file.
19846 * gdb.hp/compiler.c: new file.
19847 * gdb.hp/compiler.cc: new file.
19848 * gdb.hp/execd-program.c: new file.
19849 * gdb.hp/follow-exec.c: new file.
19850 * gdb.hp/follow-fork.c: new file.
19851 * gdb.hp/follow-vfork-and-exec.c: new file.
19852 * gdb.hp/misc-hp.cc: new file.
19853 * gdb.hp/more-steps.c: new file.
19854 * gdb.hp/optimize.c: new file.
19855 * gdb.hp/quicksort.c: new file.
19856 * gdb.hp/run-hp.c: new file.
19857 * gdb.hp/start-stop.c: new file.
19858 * gdb.hp/sum.c: new file.
19859 * gdb.hp/templates-hp.cc: new file.
19860 * gdb.hp/thread-local-in-lib.c: new file.
19861 * gdb.hp/thread-local-in-lib.h: new file.
19862 * gdb.hp/thread-local-in-lib.lib.c: new file.
19863 * gdb.hp/vforked-program.c: new file.
19864 * gdb.hp/virtfunc-hp.cc: new file.
19865 * gdb.hp/watchpoint-hp.c: new file.
19866 * gdb.hp/xdb.c: new file.
19867 * gdb.hp/xdb0.c: new file.
19868 * gdb.hp/xdb0.h: new file.
19869 * gdb.hp/xdb1.c: new file.
19870
19871Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
19872
19873 The following change was made by Edith Epstein
889bf7c5
PA
19874 <eepstein@cygnus.com> as part of a project to merge in changes
19875 originally made by HP; HP did not create ChangeLog entries.
c906108c
SS
19876
19877 * gdb.c++/demangle.exp: changed the expected output for some
19878 ARM-style mangling -- removed second reference to datatype.
889bf7c5 19879 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 19880 T1<char>::~T1<char>(void)
c906108c 19881 becomes,
a9c64011
AS
19882 maint demangle __dt__11T1__pt__2_cFv
19883 T1<char>::~T1(void)
c906108c 19884
889bf7c5 19885 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 19886
c906108c
SS
19887Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
19888
19889 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
19890 * gdb.trace/backtrace.exp: Likewise.
19891 * gdb.trace/circ.exp: Likewise.
19892 * gdb.trace/collection.exp: Likewise.
19893 * gdb.trace/deltrace.exp: Likewise.
19894 * gdb.trace/infotrace.exp: Likewise.
19895 * gdb.trace/limits.exp: Likewise.
19896 * gdb.trace/packetlen.exp: Likewise.
19897 * gdb.trace/passc-dyn.exp: Likewise.
19898 * gdb.trace/passcount.exp: Likewise.
19899 * gdb.trace/report.exp: Likewise.
19900 * gdb.trace/save-trace.exp: Likewise.
19901 * gdb.trace/tfind.exp: Likewise.
19902 * gdb.trace/tracecmd.exp: Likewise.
19903 * gdb.trace/while-dyn.exp: Likewise.
19904 * gdb.trace/while-stepping.exp: Likewise.
19905
199061998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
19907
19908 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
19909
19910Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
19911
19912 From Brendan Kehoe:
19913 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
19914 int return types.
19915
19916Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
19917
19918 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
889bf7c5 19919 remote dos host testing right.
c906108c
SS
19920
19921Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
19922
19923 * gdb.base/corefile.exp: remove some xfails.
19924
19925Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
19926
19927 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
889bf7c5 19928 have different timestamps.
c906108c
SS
19929
19930Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
19931
19932 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
889bf7c5 19933 gdb.base/default.exp: Replace "exec" with "executable".
c906108c
SS
19934
19935Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
19936
19937 * gdb.base/default.exp: Change else if to elseif from previous
889bf7c5 19938 delta.
c906108c
SS
19939
19940Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
19941
19942 * gdb.base/default.exp: Add brace missing from previous delta.
19943
19944Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
19945
19946 * gdb.base/default.exp: Support test for info float for all
19947 varieties of arm toolchain.
19948
dc96c6c7 19949Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19950
19951 * gdb.trace/*.exp: remove "remote_download" command.
19952
dc96c6c7 19953Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19954
19955 * gdb.trace/*.exp: remove -gdwarf from compile.
19956
19957Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
19958
19959 * gdb.trace/configure.in(AC_INIT): typo
19960 * gdb.trace/configure: regenerated
19961
dc96c6c7 19962Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19963
19964 * config/m68k-emc.exp: New file.
19965 * lib/<emc-support.exp trace-support.exp}: New files.
19966 * configure.in: add new test directory gdb.trace.
19967 * gdb.trace/{configure configure.in Makefile.in}: New files.
19968 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
19969 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
19970 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
19971 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
19972 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
19973 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
19974 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 19975
dc96c6c7 19976Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19977
19978 * gdb.c++/classes.exp: Change all regular expressions to match
19979 arbitrary combinations of newline/carriage-return, so that they
19980 will work equally well on Unix and Windows.
19981 * gdb.c++/inherit.exp: ditto.
19982 * gdb.c++/virtfunc.exp: ditto.
19983
199841998-08-11 Dawn Perchik <dawn@cygnus.com>
19985
19986 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
19987
c2d11a7d
JM
19988Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
19989
19990 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
19991 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
19992 to use a0-a3/d0-d3 as needed.
19993
19994Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
19995
19996 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
19997 * gdb.disasm/am33.exp: Corresponding changes.
19998
c906108c
SS
199991998-07-11 Felix Lee <flee@cygnus.com>
20000
20001 * gdb.base/callfuncs.exp: add cmp10 test.
20002 * gdb.base/callfuncs.c (cmp10): new function.
20003
20004Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
20005
d63a86f8 20006 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
20007 into two parts to get around a synchronization problem in expect.
20008
3fc11d3e
JM
20009Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
20010
20011 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
20012
20013 * configure.in: Add options for gdbtk testsuite.
20014
20015 * configure: Regenerate.
20016
20017 * gdb.gdbtk: New directory to hold gdbtk tests.
20018
c906108c
SS
20019Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
20020
20021 * gdb.fortran/types.exp: Escape brackets in expect patterns
20022 for test_float_literal_types_accepted tests.
20023 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
20024 before run test.
20025
c2d11a7d
JM
20026Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
20027
20028 * am33.exp: Just compile, do not link the testcase.
20029 * am33.s: Add ".am33" pseudoop to force am33 mode.
20030
c906108c
SS
200311998-06-25 Felix Lee <flee@cygnus.com>
20032
20033 * gdb.base/setshow.exp: make sure $pc is sane.
20034
20035 * gdb.stabs/weird.exp: split expect patterns properly.
20036
c2d11a7d
JM
20037Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
20038
20039 * gdb.disasm/am33.s: New disassembler testfile for the am33.
20040 * gdb.disasm/am33.exp: Run it.
20041
dc96c6c7 20042Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20043
20044 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
20045 match processing (and eliminate spurious timeouts when running).
20046
dc96c6c7 20047Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20048
20049 * gdb.base/signals.exp (test_handle_all_print): put back Mach
20050 exception test, but conditionalize it on target [mach | gnu].
20051
dc96c6c7 20052Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20053
20054 * gdb.base/overlays.exp: fixup compile line for linker script.
20055
20056Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
20057
20058 * gdb.fortran/types.exp: don't guess at float size.
20059
20060Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
20061
20062 * gdb.base/exprs.exp: delete test that depends on int size.
20063
20064Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
20065
20066 * config/sim.exp: Removed checks for target triplets.
20067 (gdb_target_sim): Use gdb,target_sim_options.
20068
20069Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
20070
20071 * gdb.base/reread.exp: New file.
20072 * gdb.base/reread1.c: New file.
20073 * gdb.base/reread2.c: New file.
20074
20075Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
20076
20077 * config/sim.exp: Use 'target sim -sparclite' when running
20078 SPARClite programs.
20079
20080Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
20081
20082 * gdb.base/structs2.exp: New file.
20083 * gdb.base/structs2.c: New file.
20084
20085Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
20086
20087 * gdb.asm/common.inc: New file.
20088 * gdb.asm/d10v.inc: New file.
20089 * asm-source.exp: Pass -I's to gas to find .inc files.
20090 Update line numbers in expected output.
20091 * asmsrc1.s: Rewrite.
20092 * asmsrc2.s: Rewrite.
20093 * configure.in: Create arch.inc symlink.
20094 * configure: Regenerate.
20095 * Makefile.in (distclean): Delete arch.inc.
20096
20097Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
20098
20099 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
889bf7c5
PA
20100 (t_enum_value2): ditto
20101 (t_enum_value3): ditto
20102 (main): ditto
c906108c
SS
20103Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
20104
20105 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
20106 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
20107 change.
20108 Use gdb_test instead of send_gdb/gdb_expect sequences.
20109
20110Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
20111
20112 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
20113 not void.
20114
20115Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
20116
20117 * gdb.base/branches.c: Code with lots of loops and
889bf7c5
PA
20118 subroutines. Used to test gdbs ability to single step through PC
20119 changes, especially to test mips-tdep.c:mips_next_pc
c906108c
SS
20120
20121Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
20122
20123 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
20124 more rigorous EGCS C++ error checking.
20125
20126Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20127
a9c64011
AS
20128 * gdb.base/help.exp: Clean up `help set args' and `help show args'
20129 tests.
20130 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
20131 function when asleep.
20132 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
20133 for i*86 Linux and SVR4 signal handling problems.
20134 Remove linux xfail for `next to handler in signals_tests_1', fixed
20135 by recent infrun.c change.
20136 Limit backtrace to 10 frames to avoid timeout problems with infinite
20137 stack backtraces.
20138 Adjust expect pattern in `handle all print' test to match Apr 28 1997
20139 target.[ch] change.
c906108c
SS
20140
20141Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
20142
20143 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
20144 for a newline from gdb before continuing.
20145 (default_gdb_exit): Just look for y or n.
20146 (gdb_test): Detect abnormal exit from GDB running on DOS; if
20147 it does, fail the rests of the tests in the file.
20148
20149Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
20150
20151 * config/cygmon.exp: New file.
20152
20153Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
20154
20155 * gdb.base/list.exp: Fix problem with "list default lines around
889bf7c5 20156 main" test on remote targets.
c906108c
SS
20157
20158 * gdb.base/scope.exp: Fix problem with filelocal_bss before
20159 run test on remote targets.
20160
20161Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
20162
20163 * gdb.asm: New directory.
20164 * configure.in: Configure it.
20165 * configure: Regenerate.
20166 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
20167 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
20168
20169Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
20170
20171 * config/mn10300-eval.exp: New file to support MN10300 eval board.
20172
dc96c6c7 20173Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 20174
a9c64011
AS
20175 * gdb.base/overlays (several files): Merge the two overlay
20176 managers into one. Change variables (foox, barx, bazx, grbxx)
20177 back into ints but force them to load in their proper sections.
c906108c
SS
20178
20179Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
20180
20181 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
889bf7c5 20182 on-chip insn memory and IMAP1 to upper 128k.
c906108c
SS
20183 (D10VCopy): Handle memory regions crossing 16k boundaries.
20184 (D10VCopy): Transfer data in 32 bit chunks.
20185
20186Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
20187
20188 * gdb.base/overlays.c (main): Exit normally when result is
889bf7c5 20189 correct.
c906108c
SS
20190
20191 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
889bf7c5 20192 map. Include space for printf in .text segment.
c906108c
SS
20193
20194 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
889bf7c5 20195 updated d10v memory VMA/LMA map.
c906108c 20196 (D10VCopy): Call D10VTranslate.
d63a86f8 20197
c906108c
SS
20198Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
20199
20200 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
20201
20202 * gdb.base/bar.c (barx, bar): Change variable to small array so
889bf7c5
PA
20203 that it won't be put into the .sdata - small data -
20204 section. Update reference.
c906108c
SS
20205 * gdb.base/baz.c (bazx, baz): Ditto.
20206 * gdb.base/foo.c (foox, foo): Ditto.
20207 * gdb.base/grbx.c (grbxx, grbx): Ditto.
20208
20209 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
889bf7c5 20210 to be arrays.
d63a86f8 20211
dc96c6c7 20212Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 20213
a9c64011
AS
20214 * gdb.base/overlays.exp: fix up and get working again.
20215 Add tests for backtraces from an overlay function.
d63a86f8 20216
c906108c
SS
20217Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
20218
20219 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
20220 "calling function with watchpoint enabled".
20221
20222Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
20223
20224 * gdb.base/break.exp (test_next_with_recursion): Remove
889bf7c5 20225 gdb_suppress_tests for d10v-*-*.
c906108c
SS
20226 * lib/gdb.exp (gdb_suppress_tests): Disable this function
20227 pending review of whether it is useful or not.
20228
20229Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
20230
20231 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
20232
20233Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
20234
20235 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
20236 * config/dve.exp: New file to support Densan boards.
20237
20238Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
20239
20240 * gdb.base/interrupt.exp: Document problem of simulators, signals,
889bf7c5 20241 reads and BSD.
c906108c
SS
20242
20243Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
20244
20245 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
20246 response.
20247
20248 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
20249
20250Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
20251
20252 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
889bf7c5 20253 test.
c906108c
SS
20254
20255 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
889bf7c5 20256 target_sizeof_long and target_bigendian_p.
c906108c 20257 (structs_by_value, structs_by_reference): Check values according
889bf7c5 20258 to targets word size and endianess.
d63a86f8 20259
c906108c
SS
20260Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
20261
20262 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
889bf7c5 20263 output.
c906108c
SS
20264
20265Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
20266
20267 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
889bf7c5 20268 Update test of set args help to match source change.
c906108c
SS
20269
20270Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
20271
20272 * gdb.base/default.exp: Expect help system output to be in
20273 alphabetical order.
20274 * gdb.base/help.exp: Ditto.
20275
20276Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
20277
20278 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
20279 "i*86-pc-linux-gnu*".
20280 * gdb.base/interrupt.exp: Ditto.
20281 * gdb.base/corefile.exp: Ditto.
20282
20283 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
889bf7c5 20284 define vxworks when building the testcase.
c906108c
SS
20285
20286 * gdb.base/ptype.exp: Fix testnames to be unique.
20287 * gdb.base/radix.exp: Ditto.
20288 * gdb.base/term.exp: Ditto.
20289 * gdb.base/whatis.exp: Ditto.
20290 * gdb.c++/classes.exp: Ditto.
20291
20292Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
20293
20294 * gdb.base/callfuncs.exp: Fix indentation.
20295
20296 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
20297 suppress_flag has been set.
20298 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
20299 target feature.
20300
20301Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
20302
20303 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
20304 the testcase.
20305
20306 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
889bf7c5 20307 set_debug_traps() and breakpoint().
c906108c
SS
20308 * gdb.c++/misc.cc (main): Ditto.
20309 * gdb.c++/templates.cc (main): Ditto.
20310 * gdb.c++/virtfunc.cc (main): Ditto.
20311
20312Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
20313
20314 * lib/gdb.exp(gdb_step_for_stub): New function.
20315 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
20316 exists, reload the executable and do a "continue" instead of
20317 doing a jump.
20318 (runto_main): Use gdb_step_for_stub.
d63a86f8 20319
c906108c 20320 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
889bf7c5 20321 tests to have unique names.
c906108c
SS
20322 * gdb.base/callfuncs.exp: Ditto.
20323 * gdb.base/commands.exp: Ditto.
20324 * gdb.base/default.exp: Ditto.
20325 * gdb.base/help.exp: Ditto.
20326 * gdb.base/list.exp: Ditto.
20327 * gdb.base/opaque.exp: Ditto.
20328 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
20329 similar tests.
d63a86f8 20330
c906108c
SS
20331 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
20332 * gdb.c++/cplusfuncs.cc: Ditto.
20333 * gdb.c++/virtfunc.cc: Ditto.
20334
20335 * config/monitor.exp: Keep track of the last file we saw, rather
20336 than trying to get the info from gdb.
20337
20338 * gdb.fortran/types.exp: Move comment to previous line.
20339
20340Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
20341
20342 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
889bf7c5 20343 target mode.
c906108c
SS
20344
20345Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
20346
20347 From Bob Manson:
20348 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
889bf7c5 20349 string from GDB when it connects.
c906108c
SS
20350
20351 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
20352
20353Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
20354
20355 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
889bf7c5
PA
20356 if we can't get a debug format from GDB (we may be testing an
20357 older GDB). Use a 10 second timeout when checking for the format.
c906108c
SS
20358
20359 * gdb.stabs/weird.exp: Fix quoting.
20360
20361 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
20362
20363Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
20364
20365 * config/arm-ice.exp: New file.
20366
20367Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
20368
20369 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
889bf7c5 20370 until it has been modified to work with the new testsuite.
c906108c 20371
99707966 20372 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
889bf7c5
PA
20373 testcase won't compile, cause all of the testcases in the file to
20374 fail instead.
c906108c
SS
20375
20376 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
20377 (gdb_clear_suppressed): New procedure.
20378 (gdb_stop_suppressing_tests): Only clear suppress_flag if
20379 it contains a positive value.
20380
20381Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
20382
20383 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
20384
20385 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
20386
20387Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
20388
20389 * lib/gdb.exp (setup_xfail_format): New function.
20390 (get_debug_format): New function to get debug format.
20391 (debug_format): New global variable to hold last value set
20392 by get_debug_format.
20393 * gdb.base/list.exp: Call get_debug_format and expect some
889bf7c5 20394 tests to fail for DWARF 1 and COFF formats.
c906108c
SS
20395 * gdb.c++/ptype.exp: Ditto.
20396 * gdb.c++/classes.exp: Ditto.
20397 * gdb.c++/cplusfuncs.exp: Ditto.
20398 * gdb.c++/inherit.exp: Ditto.
20399 * gdb.c++/templates.exp: Ditto.
20400 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 20401
c906108c
SS
20402Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
20403
20404 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
20405 host doesn't have a currently-open connection.
20406
20407 * config/sparclet.exp: Cleanups and fixes to make it generic for
889bf7c5
PA
20408 any gdb stub target. Handle cases where gdb doesn't respond when
20409 interrupted in a sane fashion.
c906108c
SS
20410
20411 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
889bf7c5 20412 same thing in a totally different way.
c906108c
SS
20413
20414 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
889bf7c5 20415 setting "timeout".
c906108c 20416 (gdb_start): We set the global gdb_prompt variable in
889bf7c5 20417 default_gdb_init now.
c906108c
SS
20418
20419Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
20420
20421 * gdb.base/printcmds.exp: Fix "check for floating addition"
20422 regexp to accept results within approx +/- .01 of exact value.
20423 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
20424
20425Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
20426
20427 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
889bf7c5 20428 properly.
c906108c
SS
20429 (gdb_expect): Add optional timeout parameter, and add timeout
20430 value to various calls.
20431 (gdb_suppress_tests): Only give one warning message per group.
20432
20433Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
20434
20435 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
889bf7c5
PA
20436 global variables. Handle getting a value for $timeout more
20437 gracefully.
c906108c
SS
20438
20439Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
20440
20441 * lib/gdb.exp: Close connection to remote host if gdb doesn't
889bf7c5 20442 initialize.
c906108c 20443 (default_gdb_init): New procedure; allow gdb_init to be overridden
889bf7c5 20444 by a target configuration file.
c906108c
SS
20445 (gdb_expect): Pass the timeout to remote_expect.
20446
20447 * config/monitor.exp(gdb_load): Fix typo in regexp.
20448
20449Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
20450
20451 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
20452
20453Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
20454
20455 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
889bf7c5
PA
20456 here. Call gdb_target_exec before rebooting the target, to make
20457 sure the connection to the target is closed.
c906108c
SS
20458 (gdb_load): Pass the name of the executable to gdb_target_monitor.
20459 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
20460 Also detect "Timeout reading from remote" error.
20461
20462 * config/gdbserver.exp: Pass the executable being loaded to
889bf7c5
PA
20463 gdb_target_monitor. Don't call gdb_file_cmd here; let
20464 gdb_target_monitor do it.
c906108c
SS
20465
20466 * gdb.disasm/hppa.exp: Don't use exec_output.
20467
20468Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
20469
20470 * gdb.base/list.exp: If we're debugging a non-native target,
20471 try to set the pc register to point to the start of the
20472 program before doing the first list command.
20473
20474 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
889bf7c5 20475 test_calls after restarting.
c906108c
SS
20476
20477 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
889bf7c5 20478 reloading.
c906108c
SS
20479
20480 * gdb.base/watchpoint.exp: Fix typo.
20481
20482 * gdb.base/setshow.exp: Check for use_gdb_stub.
20483
20484 * gdb.base/break.exp: Fix continue until exit test for the gdb
889bf7c5 20485 stub case.
c906108c
SS
20486 * gdb.base/langs.exp: Ditto.
20487
20488 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
889bf7c5
PA
20489 gdb_load_offset. If we weren't given a file to load, figure out
20490 what the current file is and use it.
c906108c
SS
20491
20492 * config/i386-bozo.exp: New file.
20493
20494Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
20495
20496 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
20497 feature.
20498
20499 * config/proelf.exp: New entry.
20500
20501Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
20502
20503 * lib/gdb.exp: Remove spurious .* patterns at the beginning
20504 of regexps.
20505
20506 * gdb.base/watchpoint.exp: Don't run the test_stepping
20507 tests if gdb can't call functions on the target.
20508
20509 * gdb.base/setshow.exp: Don't run the set prompt tests if
20510 the board has gdb_prompt set.
20511
20512Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
20513
20514 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
20515 * gdb.base/commands.exp: Likewise.
20516 * gdb.base/setshow.exp: Likewise.
20517
20518Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
20519
20520 * config/monitor.exp(gdb_start): Look for gdb_prompt target
20521 feature.
20522
20523 * config/i960.exp: New file.
20524
20525Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
20526
20527 * gdb.base/funcargs.exp: Check for gdb,short_int target
20528 feature instead of looking for explicit target triplets.
20529
dc96c6c7 20530Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 20531
d63a86f8 20532 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
20533 "p 123DEADBEEF", to check parse_number.
20534 * top.c: change "to enable to enable" to "to enable" in a couple
20535 of help strings.
20536
20537Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
20538
20539 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
20540 on the mn10300.
d63a86f8 20541
c906108c
SS
20542Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
20543
20544 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
20545 where the test executable is run with explicit args.
20546 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
20547
20548Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
20549
20550 * gdb.base/run.c: Use FAKEARGV to build test executable that
20551 does not require a command line arg, since most simulators
20552 don't currently support passing such an arg into the simulated
20553 program.
20554 * gdb.base/commands.exp: Change tests to insert the proper
20555 value as the arg to the first recursive factorial call. Change
20556 compilation line to define FAKEARGV at compile time.
20557
20558Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
20559
20560 * gdb.base/recurse.exp: Enable these tests for the mn10300.
20561 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
20562 function with watchpoint enabled" test.
20563
20564Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
20565
20566 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
889bf7c5 20567 Don't call gdb_test when the command doesn't return to a gdb prompt.
c906108c
SS
20568
20569 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
889bf7c5 20570 "Tests restarted" messages.
c906108c
SS
20571
20572Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
20573
20574 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
20575
dc96c6c7 20576Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20577
20578 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
20579 for INFO SYMBOL; add help tests for OVERLAY commands.
20580 * gdb.base/default.exp: add tests for INFO SYMBOL command;
20581 add tests for OVERLAY commands
20582 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
20583 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
20584 * gdb.base/sigall.c: add usestubs code frag
20585 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 20586
c906108c
SS
20587Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
20588
20589 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
20590 failures.
20591 (gdb_stop_suppressing_tests): Note that tests have restarted.
20592
20593Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
20594
20595 * config/h8300.exp: New file.
20596
20597Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
20598
20599 * gdb.base/setshow.exp: Check for the existence of a
20600 feature, not its value.
20601
20602Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
20603
20604 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
20605
20606 * gdb.base/scope.exp: It's now init0(), not init().
20607
20608 * gdb.base/scope0.c: For now, change init() to be init0().
20609
20610 * config/monitor.exp: Use gdb_serial in preference to serial
20611 or netport.
20612
20613 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
889bf7c5 20614 and it's not already set.
c906108c
SS
20615
20616Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
20617
20618 * gdb.base/setshow.exp: Only test the run command if the target
889bf7c5 20619 isn't using a stub and if it supports argument passing.
c906108c
SS
20620
20621Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
20622
20623 * config/udi.exp(gdb_start): Make sure UDICONF is set
20624 properly before starting gdb.
20625
20626Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
20627
20628 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
20629 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
20630 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
20631
20632Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
20633
20634 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
889bf7c5 20635 specialized code to reboot the board, use remote_reboot instead.
c906108c
SS
20636
20637 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
20638
20639 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
20640
20641 * config/monitor.exp: Make sure we disconnect from the target.
20642 Also, try a reboot/reload cycle instead of failing if the
20643 load fails.
20644
20645Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
20646
20647 * gdb.base/default.exp: Don't set match_max.
20648 * gdb.base/help.exp: Ditto.
20649 * gdb.base/list.exp: Ditto.
20650 * gdb.base/signals.exp: Ditto.
20651
20652 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
20653 set, use remote_ld to download the testcase instead of
20654 the GDB loader.
20655
20656Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
20657
20658 * config/vr5000.exp: New file.
20659
20660 * config/monitor.exp(gdb_target_monitor): Add pattern for
20661 "Ending remote" to detect errors in connecting.
20662
20663 * gdb.base/setshow.exp: Add .* within auto language test.
20664
20665 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
20666 target feature.
20667
20668 * config/monitor.exp(gdb_load): Check for a failure when loading,
889bf7c5 20669 and reboot the board if necessary.
c906108c
SS
20670
20671 * gdb.base/setvar.exp(test_set): Handle multiple prints within
20672 a set of tests. Remove print.* from the patterns being checked.
20673
20674Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
20675
20676 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
20677 refer to gdb_spawn_id.
20678
20679 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
20680 longer used.
20681 * config/sparclet.exp: Ditto.
20682 * config/sparclet-old.exp: Ditto.
20683 * config/slite.exp: Ditto.
20684 * config/sim.exp: Ditto.
20685 * gdb.base/funcargs.exp: Ditto.
20686
20687 * lib/gdb.exp:Remove references to gdb_spawn_id.
20688 (gdb_expect): Move to remote.exp.
20689
20690Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
20691
20692 * config/monitor.exp: Detect the "Couldn't establish connection"
20693 message from GDB.
20694
20695Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
20696
20697 * gdb.base/bitfields.exp: Use runto instead of explicit
20698 gdb_run_cmd/gdb_expect sequences.
20699
20700 * gdb.base/break.exp(text_next_with_recursion): Add match for
20701 gdb_expect call.
20702
20703 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
20704 We also need to handle the "A program is being debugged already"
20705 prompt from gdb. Use gdb_test to set the baud rate.
20706
20707 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
20708 to 20000. Really. I mean it.
20709
20710Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
20711
20712 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
889bf7c5
PA
20713 fails. If suppress_flag is set, skip perror message about not
20714 being able to send to GDB.
c906108c 20715 (send_gdb): If suppress_flag is set, don't try to send commands to
889bf7c5 20716 GDB.
c906108c
SS
20717 (gdb_expect): If suppress_flag is set, always fail immediately.
20718 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
20719 (gdb_init): Call gdb_stop_suppressing_tests.
20720 (default_gdb_exit): Ditto.
20721 (default_gdb_start): Ditto.
20722
20723 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
889bf7c5 20724 gdb_stop_suppressing_tests as appropriate.
c906108c 20725 * gdb.base/break.exp: Ditto.
889bf7c5 20726 * gdb.base/callfuncs.exp: Ditto.
c906108c
SS
20727 * gdb.base/commands.exp: Ditto.
20728 * gdb.base/exprs.exp: Ditto.
889bf7c5 20729 * gdb.base/funcargs.exp: Ditto.
c906108c
SS
20730 * gdb.base/list.exp: Ditto.
20731 * gdb.base/recurse.exp: Ditto.
889bf7c5 20732 * gdb.base/scope.exp: Ditto.
c906108c
SS
20733 * gdb.base/structs.exp: Ditto.
20734 * gdb.c++/inherit.exp: Ditto.
20735
20736Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
20737
20738 * config/vr4300.exp: New file.
20739
99707966 20740 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 20741
99707966 20742 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
20743
20744Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
20745
20746 * lib/gdb.exp(gdb_init): New function.
20747
20748 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
889bf7c5 20749 for each individual variable set.
c906108c
SS
20750
20751 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
20752 name.
20753
20754 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
20755
20756 * gdb.base/scope.exp: Use gdb_test.
20757
20758 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
20759 aborting; the testsuite driver will do that for us (see
20760 gdb_finish). Also, use gdb_test in a few more places.
20761
20762Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
20763
20764 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
20765
20766Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
20767
20768 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
20769 and "add_tests" are not at the same address.
20770
20771Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
20772
20773 * gdb.base/ptype.exp: Use gdb_test.
20774
20775Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
20776
20777 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
20778 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
20779 left in. No longer expect them to fail.
20780
20781 * gdb.stabs/*.mt; Deleted, no longer used.
20782 * gdb.stabs/configure.in: Remove references to target makefile
20783 frags.
20784 * gdb.stabs/configure: Rebuilt.
20785
20786 * gdb.disasm/*.mt: Deleted, no longer used.
20787 * gdb.disasm/configure.in: Remove references to target makefile
20788 frags. Use "sh3.s" as the unique filename for this directory.
20789 * gdb.disasm/configure: Rebuilt.
20790
20791 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
20792 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
20793 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
20794
20795Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
20796
20797 * config/udi.exp: Use mondfe,name instead of remote_host.
20798
20799Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
20800
20801 * gdb.base/watchpoint.exp: Don't expect a failure when calling
20802 a function with a watchpoint enabled on the mn10200.
20803
20804 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
20805 before trying to create it!
20806
20807Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
20808
20809 * config/vx.exp: Use hostname instead of netport.
20810
20811 * config/vxworks.exp: New file.
20812
20813 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
20814
20815 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
889bf7c5 20816 gdb before assuming everything worked. Send a ^C if a timeout
c906108c
SS
20817 occurs.
20818
20819 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
20820 $gdb_spawn_id directly.
20821 (gdb_run_cmd): Try _start as well as start. Use the target feature
20822 gdb,start_symbol as the symbol to start from when jumping.
20823
20824Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
20825
20826 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
20827 redundant) test.
20828
20829 * gdb.base/recurse.exp: Relax final value test for 'b' so that
20830 it doesn't lose for 16bit integer systems.
20831
20832Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
20833
20834 * gdb.fortran/types.exp: If the target doesn't support "double"
20835 data types, then expect "real" types to only be 4 bytes.
20836
20837 * gdb.c++/virtfunc.exp: Expect failure for virtual function
20838 call tests if the target doesn't support inferior function calls.
20839
20840 * gdb.base/printcmds.exp: Allow minor deviation in FP values
20841 in printf tests.
20842
20843Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
20844
20845 * gdb.base/help.exp: Disable "help set", "help show", and
20846 "help support". Simplify regexp for "help stack".
20847
20848 * gdb.base/default.exp: Set match_max to 5000 and the timeout
20849 to 60 seconds. Temporarily set match_max to 15000 around the
20850 "info copying" test.
20851
20852 * gdb.base/nodebug.exp: Don't try to do an inferior function
20853 call if the target doesn't support them.
20854 * gdb.base/printcmds.exp: Likewise.
20855 * gdb.base/setvar.exp: Likewise.
20856 * gdb.base/structs.exp: Likewise.
20857 * gdb.c++/templates.exp: Likewise.
20858 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
20859
20860 * gdb.base/recurse.exp: Enable for the mn10200.
20861
20862 * configure.in: Do configure gdb.stabs directory for *-*-elf
20863 targets.
20864 * configure: Rebuilt.
20865
20866 * gdb.base/break.exp: Check for gdb,noresults before testing
20867 exit status and/or results from the target.
20868 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
20869 * lib/gdb.exp: Remove old (now bogus) initialization of
20870 noinferior, noargs, noresults and nosignals.
20871
20872Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
20873
20874 * config/sh.exp: New file.
20875
20876 * config/slite.exp: Try to connect multiple times to the board
20877 before rebooting. Only send a "monitor run" if need_monitor_run
20878 is set.
20879
20880 * gdb.base/break.exp: Don't do the "stub continue" test if
20881 the target has gdb_stub set.
20882
20883 * gdb.base/callfuncs.exp: Increase the timeout.
20884
20885 * gdb.base/interrupt.exp: Don't even try to compile the testcase
20886 if the target has gdb,noinferiorio set.
20887
20888 * gdb.base/list.exp: Increase match_max to 10000 characters.
20889
20890 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
20891
20892 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
20893 target.
20894
20895 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
20896
20897Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
20898
20899 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
889bf7c5
PA
20900 trying to delete the copy of gdb. Catch the file delete so we
20901 don't die if the delete fails; also, the file should be copied to
20902 the host, not to the build.
c906108c
SS
20903
20904Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
20905
20906 * lib/gdb.exp(gdb_test): Surround the result pattern with
889bf7c5 20907 parenthesis in case it contains multiple regexps separated
c906108c
SS
20908 with |.
20909
20910 * gdb.base/watchpoint.exp: Use gdb_test.
20911 * gdb.base/default.exp: Ditto.
20912
20913Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
20914
99707966 20915 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 20916
c906108c
SS
20917 * gdb.base/scope.exp: Use gdb_test.
20918 * gdb.c++/classes.exp: Ditto.
20919 * gdb.c++/inherit.exp: Ditto.
20920
20921Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
20922
20923 * gdb.base/crossload.exp: Don't use execute_anywhere, use
20924 remote_exec instead.
20925 * gdb.base/corefile.exp: Don't be ridiculous.
20926 * gdb.base/*.c: Add missing stub invocations.
20927
20928Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
20929
20930 * config/slite.exp: Miscellaneous fixes.
20931
20932 * lib/gdb.exp: Fix runto.
20933
20934 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
20935 the target.
20936
20937 * gdb.base/watchpoint.exp: Fix regexp.
20938
20939 * lib/gdb.exp(default_gdb_exit): Add a catch to the
20940 close and wait commands, as the descriptor may now be
20941 invalid. Always call "remote_close host".
20942
20943Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
20944
20945 Major rewrite for testsuite revision.
d63a86f8 20946
c906108c
SS
20947 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
20948 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
20949 instead of relying on spawn_id to always contain a valid
20950 spawn id.
20951 (get_compiler_info): New procedure to build the ${binfile}.ci
20952 file, instead of replicating this in N different places.
20953 (gdb_compile): New procedure.
d63a86f8 20954
c906108c 20955 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
889bf7c5
PA
20956 appropriate arguments) instead of compile. Use gdb_test in a lot
20957 more places. Use send_gdb instead of send. Always run gdb_start
c906108c
SS
20958 at the start of a testcase, as this is no longer done magically.
20959
20960 config/*-gdb.exp: Rename without the -gdb suffix.
20961
20962 config/mips.exp: Use remote_close instead of exit_remote_shell.
20963 config/monitor.exp: Use target_info instead of looking at
20964 baud, timeout, etc.
20965 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
20966
20967Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20968
20969 * gdb.c++/templates.exp (test_ptype_of_templates),
20970 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
20971 Update expect patterns for destructors and assignment operators
20972 to match corresponding c-typeprint.c changes.
20973 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
20974 to destructor breakpoint test, GDB should be able to set the
20975 destructor breakpoint without specifying arguments.
20976
20977Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
20978
20979 * gdb.threads/pthreads.exp: Change result for failure to compile due
20980 to lack of pthreads runtime support from an error to simply an
20981 unsupported test, per dejagnu standards.
20982
20983Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20984
20985 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
20986 where GDB exits to reduce pattern match time.
20987 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
20988
20989 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
20990
dc96c6c7 20991Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20992
20993 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
20994 * gdb.base/default.exp: ditto.
20995 * gdb.base/nodebug.exp: ditto.
20996 * gdb.base/printcmds.exp: ditto.
20997 * gdb.base/ptype.exp: ditto.
20998 * gdb.base/setvar.exp: ditto.
20999 * gdb.base/structs.exp: ditto.
21000 * gdb.base/setshow.c: Guard against uninitialized values of argc.
21001
21002Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
21003
21004 * configure, */configure: Rebuild with autoconf 2.12.
21005
21006Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
21007
21008 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
21009 use new i*86-pc-linux*-gnu quads.
21010 * gdb.base/corefile.exp: Ditto.
21011 * gdb.base/signals.exp: Ditto.
21012 * gdb.base/sigall.exp: Ditto.
21013 * gdb.base/interrupt.exp: Ditto.
21014
21015 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
21016 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
21017 RedHat 4.0.
d63a86f8 21018
c906108c 21019 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
889bf7c5
PA
21020 linux. This allows the test case to at least compile on latest
21021 linux, but still not run due to missing the threads runtime library.
c906108c
SS
21022
21023Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21024
21025 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
21026 directory to search gdb directory. Accept and step over conditional
21027 stack alignment code. Consume $prompt in failure cases.
21028 Reset timeout to $oldtimeout instead of some arbitrary value.
21029 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
21030 timeout problems with infinite stack backtraces.
21031 * gdb.base/ptype.exp (ptype struct link, union tu_link):
21032 Accept function parameters for linkfunc member.
21033
21034Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
21035
21036 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
21037 (CXXFLAGS): Remove, unreferenced.
21038 (B_OPTIONS): Add for -B options and add code to initialize with
889bf7c5
PA
21039 previous -B options and also add -B option to pick up cross compiled
21040 runtime.
c906108c
SS
21041 (TARGET_INCLUDES): Add for -I options and add code to initialize when
21042 doing cross compiles.
21043 (target_alias): Declare global.
21044 (xgcc): Set variable to full path of gcc in build tree. Use findfile
21045 to verify that gcc exists in build tree, and if so set CC to that
21046 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 21047
c906108c
SS
21048Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
21049
21050 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
21051 ptype test for anonymous union. Fixup testcase to match
21052 current gcc debug output.
21053
21054Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
21055
21056 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
21057 force argument to an unsigned long type.
21058
21059Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
21060
21061 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
889bf7c5 21062 tests and anonymous union print/ptype tests.
c906108c
SS
21063 * gdb.base/list.exp (test_forward-search): Increase timeout by
21064 5 minutes for the "search extremely long line" case.
21065 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
21066 completely optional and that the pass/fail messages use the command as
21067 the message if that third arg is a null string.
21068 (gdb_test_exact): Arrange that a null string pattern means match a
21069 null string output rather than any output, which might include random
889bf7c5 21070 errors.
c906108c
SS
21071 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
21072 backtrace test.
21073 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
21074 always failing and failure is now exposed by gdb.exp changes.
21075
21076Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
21077
21078 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
21079 weren't being noted.
21080
21081Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21082
21083 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
21084 * gdb.stabs/weird.exp: Remove v_comb xfails.
21085
dc96c6c7 21086Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21087
21088 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 21089 list.exp scope.exp watchpoint.exp]
c906108c 21090 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 21091
dc96c6c7 21092Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21093
21094 * config/monitor.exp: Increase download timeout to 1000 seconds.
21095
dc96c6c7 21096Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21097
21098 * config/m32r.exp: Increase timeout to 120 seconds.
21099
21100Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
21101
21102 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
21103 and accept older ordering as obsolescent gcc or gdb.
21104 * gdb.c++/templates.exp: Ditto.
21105 * gdb.c++/virtfunc.exp: Ditto.
21106
21107Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
21108
21109 * gdb.base/coremaker.c: Add code to mmap some data so we
21110 can check that it ends up in the core file.
21111 * gdb.base/corefile.exp: Add test to read mmapped data
21112 from core file.
21113
dc96c6c7 21114Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21115
21116 * config/m32r.exp: New file.
21117
21118Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
21119
21120 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
21121 that cflags can contains -gstabs, and work correctly for other tests.
21122
dc96c6c7 21123Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21124
21125 * gdb.base/setshow.exp: New file, tests show and set.
21126 * gdb.base/setshow.c: New file, tests show and set.
21127 * gdb.base/help.exp: Add test for help set|show annotate.
21128 * gdb.base/default.exp: Add test for set|show annotate.
21129
21130Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
21131
21132 * testsuite/gdb.base/break.exp: Make backtrace from factorial
21133 errors unique.
21134 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
21135 explicitly.
21136
21137Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
21138
21139 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
21140 and width commands. This is done elsewhere.
21141 * (gdb_start): Don't call gdb_start_sim here. That's already
21142 done in gdb_load. This fixes lots of failures in default.exp.
21143
21144Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
21145
21146 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
21147 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
21148 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
21149 in the same we we treat other failures (since it may be an expected
889bf7c5 21150 condition), rather than as an error.
c906108c
SS
21151 * gdb.base/signals.exp (test_handle_all_print): Revert back to
21152 old test format.
21153
21154Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
21155
21156 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
21157 (distclean maintainer-clean realclean): No need to remove files
889bf7c5 21158 twice. Nuke the duplicates.
c906108c 21159 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 21160 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
21161 Remove config.h along with other config files.
21162
21163Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
21164
21165 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
21166 "p func1 ()" and note that rests of tests are skipped.
21167 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 21168 setup_xfails for "print func2::coremaker_local".
c906108c
SS
21169 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
21170 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
21171 affected by the previous run test.
21172 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
21173 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
21174 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
21175 "pass int powerset tuple" and "pass modeless int powerset tuple".
21176 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
21177 "real write 4" and "real write 8".
21178 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 21179 setup_xfails for "print vs1 after tuple assign 2",
c906108c
SS
21180 "print \$i after tuple assign 2", and
21181 "print vs2 after tuple assign 2".
21182 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
21183 meaningful error message and return -1 so the caller can
21184 suppress further tests and avoid a cascade of errors.
d63a86f8 21185
c906108c
SS
21186Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
21187
21188 * gdb.base/a1-selftest.exp: Tweak tests to account for new
21189 format for printing version.
21190 * gdb.base/default.exp: Ditto.
21191 * gdb.base/interrupt.exp: Fix problem with cascade of
21192 errors if child process dies while calling a function.
d63a86f8 21193
c906108c
SS
21194Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
21195
21196 * Makefile.in (VPATH): Add
21197 * Makefile.in (Makefile, config.status): Fix rules so things get
21198 remade when necessary.
21199
21200Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
21201
21202 * Makefile.in (just-check): Add path to sibling expect dir
21203 to environment variable specified by RPATH_ENVVAR.
21204
21205Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
21206
21207 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
21208 (just-check): Add shared library paths for libstdc++, tk,
21209 tcl, bfd, and opcodes to the environment variable specified
21210 in RPATH_ENVVAR.
21211 * configure.in: Add support to recognize --enable-shared flag
21212 and generate correct value for RPATH_ENVVAR.
21213 * configure: Regenerated with autoconf.
21214
21215Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
21216
21217 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
889bf7c5 21218 include all osf versions.
c906108c
SS
21219 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
21220 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
21221 when target is linux. When failing to build pthreads test
21222 executable, give more meaningful message.
21223 * gdb.threads/pthreads.c: Hpux also uses old definition of second
21224 arg for pthread_create.
d63a86f8 21225
c906108c
SS
21226Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
21227
21228 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
889bf7c5 21229 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
c906108c 21230 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
889bf7c5 21231 and -lpthreads (everybody else).
c906108c
SS
21232 (test_startup): Fail gracefully if threads are not supported.
21233 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
21234 "p/c array_index("abcdef",2)" when not gcc compiled.
21235 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
21236 "print func2::coremaker_local" when not gcc compiled.
21237 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
21238 "ptype on opaque struct tagname (statically)",
21239 "ptype on opaque struct tagname (dynamically) 1", and
21240 "ptype on opaque struct tagname (dynamically) 2"
21241 for not compiled with gcc.
21242 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
21243 backtrace when compiled with gcc.
d63a86f8 21244 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
21245 than always return success.
21246
21247Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
21248
21249 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
21250
21251Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
21252
21253 * gdb.base/structs.exp: Undo last change.
21254
21255Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
21256
21257 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
21258 encapsulate all the steps/nexts done during self test, starting
21259 at main, and makes them less sensitive to optimization issues.
21260 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
21261 signal handler" test.
21262 * gdb.threads/pthreads.exp: Only run this for native configs.
21263 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
21264 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
21265 tests.
21266 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
21267 for "runto test_calls(void)" test.
d63a86f8 21268
c906108c
SS
21269Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
21270
21271 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
21272 and don't expect address info in breakpoint confirmations.
21273
21274Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
21275
21276 * gdb.base/list.exp (test_forward_search): Increase timeout
21277 temporarily by 60 seconds for searching extremely long line,
889bf7c5 21278 and then reset to old value when done. Increase expect input
c906108c
SS
21279 buffer to 10000.
21280
21281Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
21282
21283 * gdb.base/list.exp (test_forward_search): Fix to handle very
21284 long source line without overflowing expect's input buffer.
21285
21286Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
21287
21288 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
21289 "buffer_full".
21290
21291 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
21292 "buffer_full".
21293
21294 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
21295 "buffer_full".
21296
21297 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
21298 "buffer_full".
21299
21300Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
21301
21302 * configure.in (configdirs): Add gdb.threads.
21303 * configure: Regenerated with autoconf.
21304 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
21305 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
21306 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 21307
c906108c
SS
21308Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
21309
21310 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
21311
21312Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
21313
21314 * gdb.base/signals.exp (test_handle_all_print): Test separately for
21315 each signal's status in the output of "handle all print".
21316 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
21317 the \r\n sequence that immediately precedes the gdb prompt.
21318 * gdb.base/a1-selftest.exp: Save original timeout and restore
21319 after test.
21320
21321Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
21322
21323 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
21324 symbol.
21325
21326Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
21327
21328 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
21329
21330Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
21331
21332 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
21333 timeout by 60 seconds.
21334
21335Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
21336
21337 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
21338 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
21339 error return.
21340
21341Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
21342
21343 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
21344 gdb initialization, also report how long dejagnu waited. Restore
21345 old timeout before doing error return. Temporarily increase timeout
889bf7c5 21346 by 3 minutes to allow for slow startups over heavy NFS use.
c906108c
SS
21347
21348Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
21349
21350 * lib/gdb.exp: Report timeout value for verbosity level 2.
21351 * config/gdbserver.exp: Ditto.
21352 * config/hppro.exp: Ditto.
21353 * config/mips-gdb.exp: Ditto.
21354 * config/monitor.exp: Ditto.
21355 * config/netware.exp: Ditto.
21356 * config/sim-gdb.exp: Ditto.
21357 * config/slite-gdb.exp: Ditto.
21358 * config/udi-gdb.exp: Ditto.
21359 * config/unix-gdb.exp: Ditto.
21360 * config/vx-gdb.exp: Ditto.
21361 * gdb.base/a1-selftest.exp: Ditto.
21362 * gdb.base/a2-run.exp: Ditto.
21363 * gdb.base/break.exp: Ditto.
21364 * gdb.base/corefile.exp: Ditto.
21365 * gdb.base/list.exp: Ditto.
21366 * gdb.base/recurse.exp: Ditto.
21367 * gdb.base/scope.exp: Ditto.
21368 * gdb.base/signals.exp: Ditto.
21369
21370Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
21371
21372 * gdb.threads/Makefile.in (docdir): Removed.
21373
21374Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
21375
21376 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 21377 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 21378 @srcdir@.
d63a86f8 21379 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
21380 autoconf 2.5 or higher.
21381 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
21382
21383Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
21384
21385 * configure: Regenerated.
21386 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
21387 avoid name clashes with SunOS headers.
21388
21389Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
21390
21391 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
21392
21393Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
21394
21395 * gdb.base/callfuncs.exp: Finish last change -- make sure the
21396 prototype information ends up in the compiler info file.
21397
21398Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
21399
21400 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
21401 attempting to regenerate it. Eliminate use of a temporary file
21402 and just generate the info file directly. Source it immediately,
21403 for consistency of use.
21404 * gdb.base/corefile.exp: Ditto
21405 * gdb.base/exprs.exp: Ditto.
21406 * gdb.base/funcargs.exp: Ditto.
21407 * gdb.base/langs.exp: Ditto.
21408 * gdb.base/list.exp: Ditto.
21409 * gdb.base/mips_pro.exp: Ditto.
21410 * gdb.base/nodebug.exp: Ditto.
21411 * gdb.base/opaque.exp: Ditto.
21412 * gdb.base/ptype.exp: Ditto.
21413 * gdb.base/scope.exp: Ditto.
21414 * gdb.base/setvar.exp: Ditto.
21415 * gdb.base/signals.exp: Ditto.
21416 * gdb.base/whatis.exp: Ditto.
21417 * gdb.c++/templates.exp: Ditto.
21418 * gdb.c++/virtfunc.exp: Ditto.
21419 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
889bf7c5 21420 whether or not to add -lstdc++ to the compile command line args.
c906108c
SS
21421
21422Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21423
21424 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
21425 it got fixed by the recent lookup_minimal_symbol_by_pc change.
21426 Increase timeout, a lot of single stepping might be needed if the
21427 target has no hardware watchpoints.
21428
21429Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
21430
21431 * gdb.base/break.exp: Ignore compiler warnings when compiling
21432 break.c.
21433 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
21434 * gdb.base/default.exp: Add h8300 xfails. Handle messages
21435 from remote-sim.
21436 * gdb.base/exprs.exp: Add h8300 xfails.
21437 * gdb.base/funcargs.exp: Likewise.
21438 * gdb.base/nodebug.exp: Likewise.
21439 * gdb.base/printcmds.exp: Likewise.
21440 * gdb.base/ptype.exp: Likewise.
21441 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
21442 h8300 xfails.
d63a86f8 21443 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
21444 on the h8300.
21445 * gdb.base/funcargs.c: Explicitly make last constant argument to
21446 call_after_alloca_subr an unsigned long type.
21447 * gdb.base/return.c: Include stdio.h.
21448
21449Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
21450
21451 * config/abug.exp: New file for the older Motorola Bug monitor
21452 that runs on the mvme13x series VME boards.
21453 * config/monitor.exp: Use the new config array for target settings
21454 if they exist.
21455
21456Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
21457
21458 * sim-gdb.exp: Make the SH simulator allocate less space when
21459 it is targeted.
21460
21461Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
21462
21463 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
21464 test.
21465
21466Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
21467
21468 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
21469 "rs6000-*-*" for "list function in include file" when gcc compiled.
21470 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
21471 for "p ctable1[120]".
21472 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
21473 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
21474 Remove setup_xfail for "rs6000-*-*" for
21475 "print 'scope0.c'::filelocal before run".
21476 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
21477 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
21478 since some compilers don't allow both options to be given
21479 on the same command line. Create object file and move it.
d63a86f8 21480
c906108c
SS
21481Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
21482
21483 * gdb.base/corefile.exp: Always regenerate the core file, since
21484 we always regenerate the coremaker program. Detect special case
21485 where registers cannot be read from core file.
d63a86f8 21486
c906108c
SS
21487Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
21488
21489 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
21490 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
21491 * gdb.c++/templates.exp: Only match on basename of file since
21492 some formats like xcoff don't encode directory information.
21493 * gdb.stabs/weird.exp: Use the right sed script for powerpc
21494 and rs6000 AIX xcoff targets.
21495 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
21496 * configure: Regenerate.
21497 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
21498 here, rather than in distclean.
d63a86f8 21499
c906108c
SS
21500Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
21501
21502 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
21503 defined, and use it to compile the test case with -O2. The
21504 native compilation still uses no optimization.
21505 * gdb.base/mips_pro.c: Remove inline assembly code since
21506 it is compiled PIC by default, which results in assembler
21507 warnings that make the testsuite think the compilation
21508 was unsuccessful.
21509
21510Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
21511
21512 * gdb.c++/misc.exp: Add note to message for
21513 "print s.a for foo struct" that this is a known gcc 2.7.2
21514 and earlier bug.
21515
21516Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
21517
21518 * gdb.base/break.exp: Fix pattern for matching "Delete all
21519 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
21520 setup_xfail for deleting all breakpoints test. Fix various
21521 timeout messages to include "(timeout)".
21522 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
21523 for "p t_float_values2(3.14159,float_val2)".
21524 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
21525 for "continue to call2g" when gcc compiled.
21526 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
21527 "up to foo in langs.exp", "show language at foo in langs.exp",
21528 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
21529 and "show language at fsub in langs.exp".
21530 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
21531 "list line 1 in include file", "list message for lines past EOF",
21532 "list function in include file", "list list0.h:foo", and
21533 "list filename:function; nonexistant function".
21534 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
21535 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
21536 and "ptype t_char_array" to be for native cc only.
d63a86f8 21537
c906108c
SS
21538Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
21539
d63a86f8 21540 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c 21541 setup_xfail for "print coremaker_bss", "print coremaker_ro",
889bf7c5 21542 "print func2::coremaker_local", and "backtrace in corefile.exp".
c906108c
SS
21543
21544Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
21545
21546 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
21547 "bt in signals.exp". This problem only appears when running
21548 the testsuite, and then only intermittently.
21549
21550Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
21551
21552 * gdb.base/return.exp (return_tests): Differentiate between
21553 two tests of continuing.
21554
21555Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
21556
21557 * */Makefile.in (maintainer-clean): Remove config.log.
21558 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
21559 * gdb.c++/Makefile.in (PROGS): Add inherit.
21560 (clean): Remove *.ci.
21561
21562Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
21563
21564 * gdb.c++/misc.cc: Add test code from Mike Stump.
21565 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
21566
21567Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
21568
21569 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
21570 to "alpha-*-osf2*" and add comment.
21571 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
889bf7c5
PA
21572 setup_xfail for "step over execarg initialization" and
21573 "step over corearg initialization".
c906108c
SS
21574 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
21575 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
21576 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
889bf7c5 21577 gcc compiled for "print coremaker_bss", "print coremaker_ro",
c906108c
SS
21578 "print func2::coremaker_local", and "backtrace in corefile.exp".
21579 * gdb.base/signals.exp: Build and source signals.ci.
21580 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
21581 to be for gcc only.
21582 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 21583
c906108c
SS
21584Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21585
21586 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
21587 Feb 3 procfs.c change.
21588
21589Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
21590
21591 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
21592
21593Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
21594
21595 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
21596 from dejagnu's apparent default of 10 seconds, which gives random
21597 results when running the tests over NFS on moderately loaded systems.
21598 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
21599
21600Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
21601
21602 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
21603 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
889bf7c5 21604 result reports.
c906108c
SS
21605
21606Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
21607
21608 * configure.in (CY_AC_PATH_TCLH): Remove.
21609 * configure: Regenerate.
21610
21611Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
21612
21613 * gdb.c++/Makefile.in (clean): Add missing '{'.
21614
21615Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
21616
21617 * lib/gdb.exp: Provide a default value for noinferior.
21618
21619 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
21620 Load libgloss.exp.
21621
21622Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
21623
21624 * gdb.disasm/hppa.exp: Compile directly into an executable, use
21625 the executable, not the .o to run the tests from.
21626
21627Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
21628
21629 * gdb.base/break.exp: Don't test for program exit or exit status
21630 if $noresults if nonzero.
21631 * gdb.base/langs.exp: Likewise.
21632 * gdb.base/watchpoint.exp: Likewise.
21633
21634 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
21635 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
21636 trying to compile the testcase.
21637
21638Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
21639
21640 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
21641 * gdb.base/signals.exp (continue to handler): Likewise.
21642
21643Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
21644
21645 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
21646
21647 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
21648
21649Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
21650
21651 * gdb.base/corefile.exp: Recognize "not found" as failure
21652 when trying to determine if a core file was generated.
21653 If no core file was generate the first time, try again without
21654 the ulimit -c to work around braindamaged shells.
21655
21656Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
21657
21658 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
21659 [] tests with "test" and enclose string in quotes.
21660 * gdb.stabs/configure: Rebuild
d63a86f8 21661
c906108c
SS
21662Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
21663
21664 Changes in sync with expect:
21665 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
21666 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
21667 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
21668 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
21669 argument to AC_REQUIRE.
21670 * configure: Regenerated.
21671
21672Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
21673
21674 * gdb.base/corefile.exp: When generating a core, discard any
21675 error messages about ulimit not found and the "core dumped"
21676 message from the shell that runs the coredumper.
21677
21678Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
21679
21680 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
21681
21682 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
21683 which sed script to run. Expect failure for v_comb test
21684 on PA targets too.
d63a86f8 21685
c906108c
SS
21686Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
21687
21688 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
889bf7c5 21689 "print func2::coremaker_local" and for "backtrace in corefile.exp"
c906108c
SS
21690
21691Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
21692
21693 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
21694 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
889bf7c5 21695 "sparc-sun-solaris*" xfails for "p v_comb".
c906108c
SS
21696 * lib/gdb.exp (default_gdb_start): Fix typo.
21697 * gdb.base/corefile.exp: Allow "Core was generated by ..."
21698 messages to not include the full program name that caused
21699 the core dump since some systems (such as solaris) apparently
21700 truncate this path to about 80 characters.
21701 When generating a core file first try increasing the core file
21702 size limit to unlimited since some systems may default it to
21703 zero, and it is harmless to try it. Move the test for failing
21704 to generate a core file to where it will actually get executed.
21705 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
21706 new gdb result from g++ debug info improvements and make old
21707 pattern obsolescent. Also account for size_t differences
21708 (may be int or long).
21709 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
21710 initialization before function call is placed in the delay slot
21711 and thus appears to be skipped over by commands such as "next".
21712
21713Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
21714
21715 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
21716
21717Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
21718
21719 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
21720 input source file; fix code to compile test to deal with this
21721 convention.
21722 * gdb.c++/*.exp: Likewise.
21723
21724Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
21725
21726 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
21727 "bt in signals.exp".
21728
21729Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
21730
21731 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
21732 "step over execarg initialization" and
889bf7c5 21733 "step over corearg initialization".
c906108c
SS
21734
21735Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
21736
21737 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
21738 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
21739
21740Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
21741
21742 From Rob Savoye (rob@poseidon.cygnus.com)
21743 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
21744 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
889bf7c5
PA
21745 configure.in}, gdb.disasm/{Makefile.in, configure.in},
21746 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
21747 configure.in}: Major reworking for autoconfig.
c906108c
SS
21748 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
21749 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
889bf7c5 21750 New files.
c906108c
SS
21751 * config/unix-gdb.exp: Make GDB global.
21752 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
889bf7c5
PA
21753 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
21754 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
21755 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
21756 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
21757 term.exp, twice.exp, watchpoint.exp, whatis.exp},
c906108c 21758 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
889bf7c5
PA
21759 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
21760 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
21761 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
21762 pr-8136.exp, result.exp, string.exp, tuples.exp},
c906108c 21763 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
889bf7c5
PA
21764 to returns as necessary, arrange for test to compile own testcase
21765 executable.
c906108c 21766 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 21767
c906108c
SS
21768Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
21769
21770 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
889bf7c5 21771 clear_xfail at end of test which might not call either pass or fail.
c906108c
SS
21772 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
21773 "backtrace through signal handler".
21774
21775Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21776
21777 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
21778 continuing from a job control stop signal.
21779 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
21780
21781Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
21782
21783 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
21784 * gdb.base/corefile.exp: Likewise.
21785 * gdb.base/funcargs.exp: Likewise.
21786
21787Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
21788
21789 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
21790 * config/monitor.exp: Add support for setting baud rate.
21791
21792Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
21793
21794 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
21795 i*86-*-linux* xfails for "backtrace through signal handler".
21796 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
21797 "print func2::coremaker_local".
21798 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
889bf7c5 21799 alpha-dec-osf2* xfail for
c906108c
SS
21800 "delete all breakpoints when none".
21801
21802Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
21803
21804 * gdb.base/break.exp: Change test that deletes all breakpoints
21805 when no user breakpoints are installed. A post 4.15 change
21806 causes gdb to no longer prompt in this case.
21807
21808Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
21809
21810 * gdb.base/return.exp (return_tests): Change xfail for test
21811 "correct value returned double test" to stop xfailing at
21812 Solaris 2.5. Apparently the bug has been fixed.
21813
21814Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
21815
21816 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
21817 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
21818
21819Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
21820
21821 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
21822 * gdb.disasm/hppa.s: Corresponding changes.
21823
21824Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
21825
21826 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
21827 makefile fragment.
21828 * config/mt-hpux: Deleted.
21829
21830Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
21831
d63a86f8 21832 * Many files: When warning about suppressed tests due to a
c906108c
SS
21833 nonexistant test binary, avoid incrementing the warning count.
21834
21835Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
21836
21837 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 21838
c906108c
SS
21839Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21840
21841 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
21842 "sparc-*-solaris2*".
21843
21844Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21845
21846 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
21847 Add global and local variables and initialize them.
21848 * gdb.base/corefile.exp: Test correct mapping of corefile sections
21849 by printing variables. Remove rs6000 and powerpc xfails, BFD now
21850 extracts the file name and terminating signal from the core file.
21851 * TODO: Remove note about tests for correct mapping of corefile.
21852 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
21853 from optimizing it away.
21854 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
21855 handles common blocks.
21856
21857Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
21858
21859 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
21860 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
21861
21862Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
21863
21864 * Makefile.in (maintainer-clean): New target, synonym for
21865 realclean.
21866 * gdb.base/Makefile.in (maintainer-clean): Likewise.
21867 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
21868 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
21869 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
21870 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
21871 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
21872
21873Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
21874
21875 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
21876 xfails when not gcc compiled for "print foo::funclocal".
21877 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
21878 "print foo::funclocal at foo",
21879 "print 'scope1.c'::foo::funclocal at foo",
21880 "print foo::funclocal_bss at foo",
21881 "print 'scope1.c'::foo::funclocal_bss at foo",
21882 "print foo::funclocal_ro at foo",
21883 "print 'scope1.c'::foo::funclocal_ro at foo",
21884 "print bar::funclocal at foo" and
21885 "print 'scope1.c'::bar::funclocal at foo".
21886 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
21887 gcc compiled for "print foo::funclocal at bar".
21888 Expand all messages to ensure that they identify that
21889 the test is at bar().
21890 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
21891 gcc compiled for:
21892 "ptype on opaque struct pointer (statically)",
21893 "ptype on opaque struct tagname (statically)",
21894 "ptype on opaque struct pointer (dynamically) 1",
21895 "ptype on opaque struct tagname (dynamically) 1",
21896 "ptype on opaque struct pointer (dynamically) 2" and
21897 "ptype on opaque struct tagname (dynamically) 2
21898 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
21899 gcc compiled for:
21900 "p datalocal"
21901 "whatis datalocal",
21902 "ptype datalocal",
21903 "p bsslocal",
21904 "whatis bsslocal", and
21905 "ptype bsslocal".
21906 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
21907 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
21908 when not gcc compiled.
21909 * gdb.base/funcargs.exp (float_and_integral_args): Add
21910 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
21911 compiled.
21912 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
21913 "backtrace from call6a" when not gcc compiled.
21914 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
21915 "backtrace from call7a" when not gcc compiled.
21916 * gdb.base/callfuncs.exp (do_function_calls):
21917 Add "hppa*-*-hpux*" xfail when not gcc compiled for
21918 "p t_char_array_values(char_array_val2,char_array_val1)",
21919 "p t_char_array_values(char_array_val1,char_array_val2)",
21920 "p t_char_array_values("carray 1","carray 2")",
21921 "p t_char_array_values("carray 1",char_array_val2)",
21922 "p t_char_array_values(char_array_val1,"carray 2")",
21923 "p sum_args(1,{2})",
21924 "p sum_args(2,{2,3})",
21925 "p sum_args(3,{2,3,4})",
21926 "p sum_args(4,{2,3,4,5})"
21927 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
21928 "backtrace in corefile.exp" when not gcc compiled.
21929
21930Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21931
21932 * gdb.base/signals.exp: Rewrite `handle all print' test as
21933 a procedure. Accept blanks or TABs as whitespace, increase
21934 timeout and expect input buffer size for the large output
21935 from the command. Remove "i*86-*-bsdi2.0" xfail.
21936
21937Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21938
21939 * gdb.base/setvar.exp: Add new testcases for truncation when
21940 assigning invalid values to bitfields.
21941
21942Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
21943
d63a86f8 21944 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
21945 mips-sgi-irix* xfail for
21946 "call inferior func with struct - returns char *"
21947 and fix test so that an optional (unsigned char *) cast is
889bf7c5 21948 accepted in the result.
c906108c
SS
21949
21950Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
21951
21952 * gdb.base/funcargs.exp (float_and_integral_args): Remove
21953 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
21954 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
21955 * gdb.base/signals.exp: Remove duplicate "handle all print" test
21956 that accidentally got checked in.
21957
21958Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
21959
d63a86f8 21960 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
21961 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
21962 compiled test.
21963 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
21964 Add mips-sgi-irix5* xfail for not gcc compiled.
21965 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
21966 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
21967 "p top", "whatis top", "p middle", and "whatis middle".
21968 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
21969 "whatis signed char" for not gcc compiled.
21970 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
21971 "set variable signed char=-1 (-1)" and
21972 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
21973 * gdb.base/funcargs.exp (float_and_integral_args):
21974 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
21975 Add mips-sgi-irix* xfail when not gcc compiled for
21976 "continue to call2b".
21977 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
21978 "continue to call2g".
21979 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
21980 "backtrace from call6a"
21981 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
21982 "backtrace from call7k".
21983 Add mips-sgi-irix5* xfail when not gcc compiled for
21984 "backtrace from call7a".
21985 (localvars_after_alloca): Fix gdb_test cmds for
21986 "print * after runto ...".
21987 Remove rs6000-*-* xfails for
21988 "print i after runto localvars_after_alloca" and
21989 "print l after runto localvars_after_alloca"
21990 for all compilers.
21991 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
889bf7c5 21992 when not compiled with gcc, for:
c906108c
SS
21993 "print signed char == (minus)",
21994 "print signed char != (minus)",
21995 "print signed char < (minus)",
21996 "print signed char > (minus)".
21997 * gdb.base/callfuncs.exp (do_function_calls):
21998 Add mips-sgi-irix* xfail, when compiled with native compiler, for
21999 "call inferior func with struct - returns char *".
d63a86f8 22000 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
22001 "correct value returned double test" to include Solaris 2.4.
22002 * gdb.base/funcargs.exp (float_and_integral_args):
22003 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 22004
c906108c
SS
22005Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22006
22007 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
22008 enumeration bitfields if compiling with GNU C.
22009 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
22010 to empty' prompt.
22011
22012Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
22013
22014 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
22015 test for PRO targets.
22016
22017 * gdb.base/funcargs.exp: Avoid ever setting more than 8
22018 breakpoints in the inferior at any given time by making
22019 two groups of breakpoints for call2*, call6* and call7*
22020 tests.
22021
22022Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22023
22024 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
22025 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
22026 from optimizing it away.
22027 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
22028 "call inferior func with struct".
22029
22030Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
22031
22032 * configure.in: Only configure gdb.chill for particular targets.
22033
22034Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
22035
22036 * gdb.base/Makefile.in: Add action to .c.o transformation
22037 rule that generates a .ci file for each .o file and remove
22038 explicit .c.o rules except for callfuncs.o.
22039 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
22040 generates a .ci file for each .o file and remove explicit
22041 .cc.o rules.
22042 (clean): Remove *.tmp *.ci files.
22043 (EXECUTABLES): Remove templ-info.exp.
22044 * gdb.base/compiler.c: New file.
22045 * gdb.c++/compiler.cc: New file
22046 * gdb.base/scope.exp: Source gdb.base/scope.ci.
22047 Change rs6000-*-* xfail for
22048 "print 'scope0.c'::filelocal_ro" and
22049 "print 'scope1.c'::filelocal" and
22050 "print 'scope1.c'::filelocal_bss" and
22051 "print 'scope1.c'::filelocal_ro" and
22052 "print 'scope1.c'::foo::funclocal" and
22053 "print 'scope1.c'::foo::funclocal_ro" and
22054 "print 'scope1.c'::bar::funclocal" and
22055 "print 'scope0.c'::filelocal_ro" and
22056 "print 'scope1.c'::filelocal at foo" and
22057 "print 'scope1.c'::filelocal_bss at foo" and
22058 "print 'scope1.c'::filelocal_ro at foo" and
22059 "print 'scope1.c'::foo::funclocal at foo" and
22060 "print 'scope1.c'::foo::funclocal_bss at foo" and
22061 "print 'scope1.c'::foo::funclocal_ro at foo" and
22062 "print 'scope1.c'::bar::funclocal at foo" and
22063 "print 'scope0.c'::filelocal_ro" and
22064 "print 'scope1.c'::filelocal" and
22065 "print 'scope1.c'::filelocal_bss" and
22066 "print 'scope1.c'::filelocal_ro" and
22067 "print 'scope1.c'::foo::funclocal" and
22068 "print 'scope1.c'::foo::funclocal_bss" and
22069 "print 'scope1.c'::foo::funclocal_ro" and
22070 "print 'scope1.c'::bar::funclocal" and
22071 "print 'scope1.c'::bar::funclocal_bss"
22072 to only be xfail'd when not compiled with gcc.
d63a86f8 22073 Add rs6000-*-* xfail for
c906108c
SS
22074 "print 'scope0.c'::filelocal_bss before run"
22075 when compiled with gcc.
22076 (test_at_main): Add rs6000-*-* xfail for
22077 "print filelocal_ro in test_at_main"
22078 when compiled with gcc.
22079 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
889bf7c5 22080 Add rs6000-*-aix* xfail for
c906108c
SS
22081 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
22082 "ptype t_char_array", not compiled with gcc.
22083 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
22084 xfail for "list foo (in include file)" when gcc compiled.
22085 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
889bf7c5 22086 (integral_args): Add rs6000-*-* xfail for
c906108c
SS
22087 "run to call0a" if not compiled with gcc.
22088 (unsigned_integral_args): Add rs6000-*-* xfail for
22089 "run to call1a" if not compiled with gcc.
22090 (float_and_integral_args): Add rs6000-*-* xfail for
22091 "run to call2a" if not compiled with gcc and for
22092 "continue to call2b" for any compiler.
22093 Add rs6000-*-* xfail to
22094 "print f1 after run to call2a" for gcc compiled.
22095 (discard_and_shuffle): Add rs6000-*-* xfail for
22096 "run to call6a".
22097 (shuffle_round_robin): Add rs6000-*-* xfail for
22098 "backtrace from call7a" if not compiled with gcc.
22099 Add rs6000-*-* xfail for
22100 "backtrace from call7b" if compiled with gcc.
22101 (call_after_alloca): Add rs6000-*-* xfail for
22102 "print c in call_after_alloca" and
22103 "print s in call_after_alloca" and
22104 "backtrace from call_after_alloca_subr"
22105 if not compiled with gcc.
22106 (localvars_in_indirect_call): Add rs6000-*-* xfail for
22107 "print c in localvars_in_indirect_call" and
22108 "print c in localvars_in_indirect_call" and
22109 "backtrace in indirectly called function" and
22110 "stepping into indirectly called function"
22111 if not compiled with gcc.
22112 (localvars_after_alloca): Add rs6000-*-* xfail for
22113 "print c after runto localvars_after_alloca" and
22114 "print s after runto localvars_after_alloca" and
22115 "print i after runto localvars_after_alloca" and
22116 "print l after runto localvars_after_alloca"
22117 for all compilers.
22118 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
22119 than whatis-info.exp.
22120 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
22121 than opaque-info.exp.
22122 Setup rs6000-*-* xfail for
d63a86f8 22123 "ptype on opaque struct pointer (statically)" and
c906108c
SS
22124 "ptype on opaque struct pointer (dynamically)" when
22125 not compiled with gcc.
22126 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
22127 rather than callf-info.exp.
22128 (do_function_calls): Add clear_xfail for rs6000-*-* for
22129 "p t_float_values2(3.14159,float_val2)". Seems to work
22130 fine there, both with xlc and gcc. Need to find out what
22131 it is doing right and fix other platforms.
22132 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
22133 "call inferior func with struct - returns int",
22134 "call inferior func with struct - returns long",
22135 "call inferior func with struct - returns float",
22136 "call inferior func with struct - returns double",
22137 "call inferior func with struct - returns char *",
22138 but only if not gcc compiled (presumes xlc compiled).
22139 Change rs6000-*-* xfails for
22140 "call inferior func with struct - returns char" and
22141 " call inferior func with struct - returns short" to only
22142 xfail if not using gcc.
22143 (clean mostlyclean): Remove *.ci and *.tmp files.
22144 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
22145 than templ-info.exp.
22146 * gdb.base/langs.exp: Source gdb.base/langs.ci.
22147 Add rs6000-*-* xfail for "up to foo in langs.exp"
22148 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
889bf7c5 22149 when not gcc compiled.
d63a86f8 22150
c906108c
SS
22151Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
22152
22153 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
22154 * gdb.base/corefile.exp: Likewise.
22155 * gdb.base/list.exp: Likewise.
22156 * gdb.base/scope.exp: Likewise.
22157 * gdb.base/siganls.exp: Likewise.
22158
22159 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
22160 compiler output.
22161 * gdb.base/whatis.exp: Likewise.
22162
22163Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
22164
22165 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
22166 failure (opcode table has been fixed to match reality).
22167
22168Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
22169
22170 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
22171 "call inferior func with struct - returns char",
22172 "call inferior func with struct - returns short"
22173
22174 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
22175 "print 'scope0.c'::filelocal at main",
22176 "print 'scope0.c'::filelocal_bss in test_at_main",
22177 "print 'scope0.c'::filelocal at foo",
22178 "print 'scope0.c'::filelocal_bss in test_at_foo",
22179 "print 'scope0.c'::filelocal at bar",
22180 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 22181
c906108c
SS
22182 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
22183 in source file 1". This bug seems to have been fixed with both
22184 gcc and native cc (was native assembler bug?).
22185
22186Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
22187
22188 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
22189 "backtrace through signal handler" to "i*86-*-sysv4*".
22190 * gdb.base/signals.exp: Add xfail for "'next' behaved as
22191 continue" case. Add "known SVR4 bug" to fail message.
22192 Add "i*86-*-bsdi2.0" xfail for "handle all print".
22193 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
22194 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
22195 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
22196 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
22197 "up to foo in langs.exp", "show language at foo in
22198 langs.exp", "up to cppsub_ in langs.exp", "show
22199 language at cppsub_ in langs.exp", "up to fsub in
22200 langs.exp", and "show language at fsub in langs.exp".
22201 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
22202 "bactrace in corefile.exp".
22203 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
22204 "call inferior function with struct - returns float" and
22205 "call inferior function with struct - returns double".
d63a86f8 22206
c906108c
SS
22207Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
22208
22209 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
22210 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
22211 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
22212 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
22213
22214Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
22215
22216 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
22217 (or overriden) "CHILL" macro rather then bare "gcc".
22218 Also look for ../../gcc/xgcc since that is what we will
22219 actually need, not "Makefile". Remove following assignment
22220 of CHILL to CHILL_FOR_TARGET because that results in
22221 recursive definition.
22222
22223Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
22224
22225 * gdb.base/corefile.exp: Change xfail for backtrace in
22226 corefile.exp from linuxaout to all linux.
22227 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
22228 cases where we miss the breakpoint at the signal handler
22229 for some reason. Setup xfail for linuxoldld/linuxaout and
22230 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
22231 hitting SIGURG breakpoint.
22232 * gdb.base/signals.exp: Setup xfail for "next" acting like
22233 continue to add linuxoldld. Setup xfail for all linux for
22234 "next to handler in signals_tests_1", "backtrace in
22235 signals_tests_1", "continue to func1", "pass SIGUSR1",
22236 and continue to handler".
22237
22238Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
22239
22240 * Update all FSF addresses except those in COPYING* files.
22241
22242Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
22243
22244 * gdb.base/a2-run.exp: Change messages to be more explicit about
22245 the status of args, and quote binfile in results.
22246
22247Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
22248
22249 * gdb.base/callfuncs.exp: Add tests for passing structs to
22250 inferior functions and return various types.
22251 * gdb.base/callfuncs.c: Add functions to receive a struct
22252 and return a member of the struct, in various types.
22253
22254Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22255
22256 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
22257
22258Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
22259
22260 * config/vxworks29k.exp: New file, sources vxworks.exp.
22261
22262Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
22263
22264 * config/gdbremote.exp: New file. Testing framework using
22265 gdbserver.
22266
22267Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
22268
22269 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
22270 "call function when asleep" and "send end of file".
22271 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
22272 for "backtrace in corefile.exp".
22273 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
22274 for "backtrace through signal handler".
22275 * gdb.base/corefile.exp: Make sure we actually generate a core file
22276 before trying the core tests. Some systems allow the user to suppress
22277 generation of core files and default to that (linux for example).
22278 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
22279 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
22280
22281Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
22282
22283 * gdb.threads: New directory with some crude multi-threaded
22284 gdb tests (step.exp and step2.exp).
22285 * config/mt-lynx (STEP_EXECUTABLE): Define.
22286 (THREADFLAGS): Define.
22287
22288Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
22289
22290 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
22291
22292 * gdb.base/signals.exp: Disable whole file for lynx until
22293 further notice.
22294
22295 * gdb.base/signals.exp: xfail test where "next" acts like
22296 "continue" for lynx.
22297
22298 * gdb.base/interrupt.exp: xfail test for calling function while
22299 inferior is asleep for lynx.
22300
22301 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
22302 than one cr-lf after each command.
22303
22304Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22305
22306 * configure.in: Reinstate setting of stabsdirs variable, fix
22307 typo in setting up configdirs for native builds.
22308
22309 * gdb.base/return.exp: Fix typo in return double test.
22310 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
22311 compiler from optimizing them away.
22312
22313Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
22314
22315 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
22316 sequences to be echo'd by gdb when using gdb_test.
22317 * gdb.chill/chexp.exp: Likewise.
22318 * gdb.fortran/exprs.exp: Likewise
22319
22320Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
22321
22322 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
22323 after the inferior gdb has started.
22324
22325 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
22326 after each command.
22327 * gdb.base/funcargs.exp: Likewise.
22328 * gdb.base/gdbvars.exp: Likewise.
22329 * gdb.base/interrupt.exp: Likewise.
22330 * gdb.base/list.exp: Likewise.
22331 * gdb.base/watchpoint.exp: Likewise.
22332 * gdb.c++/demangle.exp: Likewise.
22333 * gdb.c++/inherit.exp: Likewise.
22334 * gdb.chill/chexp.exp: Likewise.
22335 * gdb.fortran/exprs.exp: Likewise.
22336
22337 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
22338 test if we can't handle IO to/from the inferior.
22339
22340 * gdb.c++/misc.exp: Always check for a program already being
22341 started after sending a "run" command to gdb.
22342
22343 * gdb.base/twice.exp: Start with a fresh gdb.
22344
22345 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
22346 only depend on gdb's expression code, not the chill runtime.
22347
22348 * gdb.base/return.c: Put return values into variables so we
22349 can have gdb print them rather than depending on the program
22350 to print them.
22351 * gdb.base/return.exp: Corresponding changes.
22352
22353 * lib/gdb.exp: Provide default value for noinferiorio.
22354 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
22355 the inferior.
22356
22357 * gdb.base/break.exp: Always check for a program already being
22358 started after sending a "run" command to gdb.
22359 (text_next_with_recursion): Don't check the output from the
22360 program's printf statement. Instead just make sure the program
22361 exited.
22362
22363 * gdb.base/commands.exp: Protect tests which need arguments with
22364 $noargs conditionals.
22365
22366Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22367
22368 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
22369 of structure member arrays to match gdb/valops.c:value_addr change.
22370
22371Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
22372
22373 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
22374 cases.
22375
22376Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
22377
22378 * configure.in (configdirs): Remove gdb.chill from default list
22379 of subdirs and then add it back in only if doing a native build.
22380 The current chill compiler does not yet work in any cross build.
22381 * Revert all signal changes from Jul 6.
22382 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
22383 for sh-hms targets, allowing these tests to link, with no other
22384 changes. Testing is suppressed by setting "nosignals" in site.exp.
22385
22386Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
22387
22388 * configure.in (signaldirs): Define and add to configdirs for all
22389 targets except some specific ones that are known to not support signals.
22390 Also clean up formatting.
22391 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
22392 (signals, sigall): Remove rules to build.
22393 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
22394 Moved to new gdb.signals directory.
22395 * gdb.signals: New test directory.
22396 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
22397 signals.c signals.exp}: New or moved files.
22398
22399Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
22400
22401 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
22402
22403Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
22404
22405 * gdb.base/return.exp: Xfail `return double' test failure
22406 on at least Solaris 2.3 and handle future/past versions on
22407 a case by case basis as appropriate. Also update message
22408 to include i*86 failures.
22409
22410Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22411
22412 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
22413
22414 * lib/gdb.exp: Fix comment which erroneously identified
22415 gdb_file_cmd as gdb_load (the 19 May change was in fact to
22416 gdb_file_cmd not gdb_load).
22417 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
22418
22419 * gdb.base/setvar.exp: Make test names consistent between pass and
22420 fail cases. Use gdb_test more.
22421
22422Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22423
22424 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
22425
22426Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22427
22428 * gdb.base/help.exp: Fix expected help string for `show commands'.
22429
22430Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
22431
22432 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
22433
22434 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
22435 of a text section.
22436
22437Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
22438
22439 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
22440 that loop eventually terminates. Fix Connection refused logic so
22441 that testsuite will expire nicely.
22442
22443Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
22444
22445 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
22446 config/rom68k.exp: New tcl glue for the appropriate monitors.
22447 These all just end up calling monitor.exp.
22448 * config/monitor.exp (gdb_target_monitor): Handle `Connection
22449 refused' by retrying. Cleanup some timeout issues.
22450 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
22451 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
22452 callers don't have to set/restore global timeout variable.
22453
22454 * The following set of changes centralizes management of the global
22455 timeout variable. This way, it can be set in one target dependent
22456 place instead of dozens of places scattered throughout the test suite.
22457 If you need to lengthen a timeout, then you should either set timeout
22458 in one of the config/{target}.exp files, or multiply it by a factor.
22459 Setting it to an absolute value is always going to lose for some
22460 targets.
22461 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
22462 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
22463 * gdb.base/funcargs.exp: Don't set timeout.
22464 * gdb.base/list.exp (test_forward_search): Only use local timeout.
22465 * gdb.base/printcmds.exp (test_print_string_constants
22466 test_print_array_constants): Don't set timeout.
22467 * gdb.base/ptype.exp: Don't set timeout.
22468 * gdb.base/recurse.exp: Don't set timeout.
22469 * gdb.base/return.exp: Don't set timeout.
22470 * gdb.base/watchpoint.exp: Don't set timeout.
22471 * gdb.c++/classes.exp (do_tests): Don't set timeout.
22472 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
22473
22474Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
22475
22476 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
22477
22478Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22479
22480 * lib/gdb.exp: Disable chill tests for irix5.
22481
22482Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22483
22484 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
22485 each test pass or fail.
22486
22487Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22488
22489 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
22490 xlc not gcc.
22491
22492Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
22493
22494 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
22495
22496Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
22497
22498 * config/est.exp: Fix copyright and comments. Remove dead code.
22499 Use targetname, serialport and baud variables instead of fixed
22500 constants.
22501 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
22502 * config/cpu32bug.exp: New file to support cpu32bug monitors.
22503
22504Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22505
22506 * gdb.base/watchpoint.exp: Don't run
22507 test_watchpoint_triggered_in_syscall for sunos.
22508
22509Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22510
22511 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
22512 they don't seem to exist. Do include stdio.h.
22513
22514Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22515
22516 * gdb.base/a1-selftest.exp: Add alpha xfail.
22517
22518Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22519
22520 * gdb.base/watchpoint.c (main): Prompt before calling read().
22521 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
22522 Revise accordingly. Remove cruft about sending "123" several
22523 times, until it gets noticed. Clean up the "print buf[0]" stuff
22524 so that it passes or fails, and waits for prompts in the usual way.
22525
22526Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22527
22528 * gdb.base/recurse.exp: Fix comment.
22529
22530 * TODO: Remove item about printing variables in nodebug.exp. Add
22531 item about enabling tests which are only run on some targets.
22532
22533 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
22534 fail, make test names unique, use new gdb_test convention
22535 regarding pattern, use gdb_test more, etc.).
22536
22537 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
22538 fail, make test names unique, etc.).
22539
22540Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22541
22542 * gdb.base/nodebug.c: Change return type of top and middle to
22543 short.
22544 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
22545 are fixed by the recent mdebugread.c changes. Allow `short ()'
22546 as type for top and middle.
22547
22548Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22549
22550 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
22551 nearly as I can tell, the whole thing was an accident in Stu's
22552 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
22553 to replace a send/expect pair with gdb_test, but ended up only
22554 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
22555 of 30 Mar 1995 took care of it, but left this vestigial comment
22556 which I am now nuking.
22557
22558Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22559
22560 * gdb.base/break.exp: Look for different line number for
22561 breakpoint at main depending on usestubs.
22562
22563Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22564
22565 * gdb.base/list.exp: Adjust some alternate expect patterns to
22566 match recent list0.c change. Add alternate expect pattern for
22567 output from `list default lines around main' for optimizing
22568 compilers.
22569
22570Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22571
22572 * lib/gdb.exp: If nosignals is not set, set it to 0.
22573
22574Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
22575
22576 * config/slite-gdb.exp: Responds to load symbol table prompt.
22577 * gdb.base/break.exp: Adjust line number, fix rerun.
22578 * gdb.base/langs0.c: Add #ifdef usestubs.
22579
22580Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
22581
22582 * gdb.base/list.exp: Adjust line contents after adding new lines in
22583 list0.c. Also fix a syntax error.
22584
22585 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
22586 * gdb.base/break.exp: ditto.
22587 * gdb.base/list.exp: ditto.
22588 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
22589 * gdb.base/run.c: ditto.
22590 * gdb.base/list0.c: ditto.
22591 * gdb.base/funcargs.c: ditto.
22592
22593Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
22594
22595 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
22596 $targetname, $serialport and $baud instead of hardwired variables.
22597 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
22598 target doesn't support signals.
22599
22600Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
22601
22602 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
22603
22604Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22605
22606 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
22607 Don't rely on the value of an auto variable before it has been
22608 initialized. Use gdb_test more.
22609
22610Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22611
22612 * lib/gdb.exp (default_gdb_version): A version number must start
22613 with a digit, but other than that contains all characters up to
22614 the first whitespace character.
22615
22616Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22617
22618 * gdb.base/commands.exp (breakpoint_command_test): New tests.
22619
22620Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22621
22622 * gdb.c++/*.exp: Warn if executable does not exist. The original
22623 reason for skipping the warning was that configure.in sometimes
22624 intentionally skipped building the executables but the tcl code
22625 had no way of knowing. That (a) was always bogus with respect to
22626 error handling, (b) is no longer true (right now there is no way
22627 to skip C++ tests).
22628
22629 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
22630
22631Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22632
22633 * gdb.base/list.exp: Add expect patterns for output from
22634 SunPRO compiled executables.
22635 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
22636 types.
22637
22638Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22639
22640 * gdb.base/break.exp (test_next_with_recursion): Accept any line
22641 number (we are already testing that the correct source line text
22642 gets printed).
22643
22644 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
22645 that is what is intended, but something needed to be done to get
22646 sunos4 native working again.
22647
22648 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
22649
22650 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
22651 apparently went with a (very) old xfail.
22652
22653Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
22654
22655 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
22656 runto_main is a proc in gdb.exp that will do 'step' for target use
22657 stubs.
22658 * gdb.base/exprs.exp: ditto.
22659 * gdb.base/interrupt.exp: ditto.
22660 * gdb.base/opaque.exp: ditto.
22661 * gdb.base/printcmds.exp: ditto.
22662 * gdb.base/ptype.exp: ditto.
22663 * gdb.base/scope.exp: ditto.
22664 * gdb.base/setvar.exp: ditto.
22665 * gdb.base/signals.exp: ditto.
22666 * gdb.base/twice.exp: ditto.
22667 * gdb.c++/classes.exp: ditto.
22668 * gdb.c++/inherit.exp: ditto.
22669 * gdb.c++/templates.exp: ditto.
22670 * gdb.base/break.exp: no run and hit main for stubs. Change line
22671 numbers for breakpoints and info breakpoint.
22672 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
22673 breakpoint().
22674 * gdb.base/callfuncs.c: ditto.
22675 * gdb.base/exprs: ditto.
22676 * gdb.base/interrupt.c: ditto.
22677 * gdb.base/opaque0.c: ditto.
22678 * gdb.base/printcmds.c: ditto.
22679 * gdb.base/ptype.c: ditto.
22680 * gdb.base/scope0.c: ditto.
22681 * gdb.base/setvar.c: ditto.
22682 * gdb.base/signals.c: ditto.
22683 * gdb.base/twice.c: ditto.
22684 * gdb.c++/misc.cc: ditto.
22685 * gdb.c++/templates.cc: ditto.
22686
22687Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22688
22689 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
22690
22691 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
22692 somewhere between `read' and `main.c'. I'm pretty sure the
22693 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
22694 and it isn't particularly useful.
22695
22696 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
22697
22698Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22699
22700 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
22701
22702Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
22703
22704 * config/mt-slite: add LIBS and -nostdlib.
22705 * config/slite-gdb.exp: add this new file to support sparclite target.
22706
22707Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
22708
22709 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
22710
22711 * gdb.base/a2-run.exp: Change argument to istarget from
22712 "*-*-vxworks" to "*-*-vxworks*".
22713 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
22714
22715Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
22716
22717 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
22718 will not runto main but do a 'step' to step out of breakpoint().
22719 * config/mt-slite: add -Dusestubs.
22720
22721Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22722
22723 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
22724 instead of just @.
22725
22726 * gdb.base/signals.exp: Add test for "handle all print".
22727 * TODO: Remove "handle all print". Also remove item about
22728 checking copyright date (I don't like the idea of a spurious FAIL
22729 based on when we run the tests).
22730
22731 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
22732 for SunOS4 (reason for failure not investigated). Remove
22733 redundant test for $binfile.
22734
22735 * gdb.base/nodebug.c (array_index): Call malloc.
22736
22737 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
22738
22739Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
22740
22741 * gdb.base/recurse.exp: Update gdb_test invocation to use new
22742 conventions and slightly simplify the matching regexp.
22743
22744Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22745
22746 * gdb.base/break.exp: Update gdb_test invocation to use new
22747 convention.
22748
22749 * lib/gdb.exp: If noargs is not set, set it to 0.
22750
22751 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
22752 tests unique.
22753
22754 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
22755
22756Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22757
22758 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
22759 one argument of type "<non-float parameter>".
22760
22761Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
22762
22763 * config/rom68k.exp: New file to support Motorola IDP board.
22764 * gdb.base/a2-run.exp: Skip this file if noargs is set.
22765 * gdb.base/break.c: Change things around so that this program
22766 doesn't depend upon args. This is necessary to make remote
22767 targets work (in general, they can't take args).
22768 * gdb.base/break.exp: Don't try to send args to program. Don't
22769 expect output. Also, replace lots of code with gdb_test.
22770
22771Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22772
22773 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
22774 printing of '\'' (which is what the comment says we are testing,
22775 even though we were not), not '''.
22776 (test_integer_literals_rejected): Test that printing ''' is an error.
22777
22778 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
22779 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
22780 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
22781 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
22782 Use gdb_test not test_print_accept.
22783 * lib/gdb.exp: Remove test_print_accept.
22784
22785 * gdb.base/signals.exp (signal_tests_1): Make pass message
22786 consistent with fail message.
22787
22788 * gdb.base/whatis.exp: Remove xfails for printing char vs.
22789 unsigned char; the bug (PR 1821) is fixed.
22790
22791 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
22792
22793 * gdb.base/scope.exp (test_at_localscopes): Call pass for
22794 successful tests--makes xfailing them work right.
22795
22796Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22797
22798 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
22799 only \r\n, not .*. The test can pass .* as the last thing in
22800 $pattern if that is what it wants. In addition to providing this
22801 flexibility, this change should speed up pattern matching in cases
22802 where the pattern already ended with .* (there were a number of
22803 them). This change also helps catch bad patterns--in the old
22804 scheme the typo "char \*" instead of "char \\*" would pass. Now
22805 it is caught.
22806 * Many .exp files: Update callers.
22807
22808 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
22809 clearer and does not spuriously match multiple ('s. Likewise for
22810 ) and *.
22811
22812 * gdb.base/nodebug.exp: Test ability to call a function and pass
22813 it a string (even with no debugging info).
22814
22815 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
22816 "p '\'", which is the same as "p ''" once tcl gets done with
22817 quoting, to "p '\\'", which I suspect is what is intended (one
22818 backslash gets sent to GDB).
22819
22820 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
22821
22822Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22823
22824 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
22825 1817) was fixed literally years ago.
22826
22827Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22828
22829 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
22830 test, it causes stepping out of call_after_alloca_subr with
22831 optimizing compilers.
22832 (localvars_in_indirect_call): Consume GDB prompt if `finish'
22833 fails.
22834
22835 * gdb.c++/templates.exp: Source templ-info.exp only if
22836 the templates executable exists.
22837
22838 * gdb.c++/misc.cc (class Contains_static_instance,
22839 class Contains_nested_static_instance),
22840 gdb.c++/classes.exp (test_static_members): Test printing of
22841 a class that contains a static instance of the class.
22842
22843Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22844
22845 * gdb.base/langs2.c (cppsub_): Don't prototype.
22846 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
22847 only, I believe).
22848
22849Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22850
22851 * lib/gdb.exp (skip_chill_tests): New procedure.
22852
22853 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
22854
22855Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
22856
22857 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
22858 each expect pattern. Cuts runtime from 12 to about 4 seconds.
22859
22860Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22861
22862 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
22863
22864 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
22865 disassemble 8, not 16, instructions for part 4.
22866
22867 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
22868 support the latter anymore.
22869
22870 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
22871 -DNO_PROTOTYPES.
22872 * gdb.base/callfuncs.c: Control use of prototypes based on
22873 NO_PROTOTYPES, not __STDC__.
22874 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
22875 t_float_values2 tests if prototypes in use.
22876
22877 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
22878 t_double_values): When checking differences against DELTA, check
22879 that difference is within the range (-DELTA,DELTA), not just
22880 (-infinity,DELTA).
22881
22882Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
22883
22884 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
22885 'file' command firts, then 'target', then 'load', this is due to gdb
22886 target set up.
22887 * config/mips-gdb.exp: Fix a couple regular exp bugs.
22888
22889Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
22890
22891 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
22892 FP load/store variants.
22893 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
22894
22895Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
22896
22897 * gdb.base/term.exp: Do not give a warning if not native, it is
22898 not an abnormal condition.
22899
22900Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
22901
22902 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
22903 t_char_array".
22904
22905Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
22906
22907 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
22908 are getting the version number.
22909
22910 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
22911 if not native, it is not an abnormal condition.
22912
22913Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22914
22915 * lib/gdb.exp: Just use "file exists", rather than undocumented
22916 dejagnu procedure "findfile".
22917
22918Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
22919
22920 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
22921 (LDFLAGS): Set to -Xlinker -Ur.
22922
22923 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
22924 Removed, these values are set by lib/gdb.exp.
22925
22926 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
22927
22928Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
22929
22930 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
22931 of replicating gdb startup code.
22932
22933 * config/mt-vxworks (LDFLAGS): Set to -r.
22934 (CFLAGS_FOR_TARGET): Removed.
22935
22936 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
22937 (gdb) and gdb for vxworks uses (vxgdb).
22938
22939 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
22940 executable is not in the tree and host != target, use sed and
22941 program_transform_name to determine the gdb name used by the
22942 target.
22943
22944 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
22945 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
22946
22947Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22948
22949 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
22950 floats, chars, and shorts where there are ANSI-style function
22951 definitions.
22952
22953 * gdb.base/langs.exp, gdb.base/langs*: New test.
22954 * gdb.base/Makefile.in: Build it.
22955 * TODO: Remove item about checking that C names don't get C++
22956 demangling applied; this test tests it.
22957
22958Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22959
22960 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
22961 went with the const70 xfail. The xfail went away a year ago.
22962
22963 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
22964
22965 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
22966 for hp300.
22967
22968 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
22969
22970 * gdb.base/a1-selftest.exp: Don't run on hp300.
22971
22972Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22973
22974 * Makefile.in (site.exp): Set host_alias and target_alias as well
22975 as host_triplet and target_triplet.
22976
22977Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22978
22979 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
22980
22981 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
22982 places as other ecoff systems).
22983
22984 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
22985 ultrix.
22986
22987Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22988
22989 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
22990 remove them.
22991 * gdb.base/nodebug.exp: Accept "function" in addition to "text
22992 variable and "variable" in addition to "data variable".
22993 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
22994
22995 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
22996 2.
22997 * gdb.base/list1.c (long_line): Add additional statement at start
22998 of function.
22999 * gdb.base/list.exp (test_forward_search): Update line number to
23000 reflect new statement.
23001
23002Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23003
23004 * gdb.base/signals.exp: Reinitialize searched source directories
23005 after gdb_start call.
23006
23007Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
23008
23009 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
23010 * gdb.stabs/Makefile.in: Likewise.
23011
23012 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
23013 change. Instead split the tests into smaller pieces.
23014 * gdb.disasm/hppa.s: Corresponding changes.
23015
23016Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23017
23018 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
23019 Quote ^C when passing it to stty. For some shells ^ is a pipe.
23020
23021 * gdb.base/funcargs.exp: Modify many tests so that every test
23022 either passes or fails. Make some test names unique.
23023
23024Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23025
23026 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
23027 Call stty to set interrupt character.
23028
23029 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
23030 for HP assembler versus GNU assembler based on actual behavior of
23031 $(CC), rather than assuming that $(AS) is always the GNU assembler.
23032
23033 * TODO: Suggest a few more stepping tests.
23034
23035Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
23036
23037 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
23038 restart GDB for h8300 after a continue.
23039 (return): Add pattern to match a29k-udi behavior.
23040 * gdb.base/nodebug.exp: Remove obsolete comment.
23041 * gdb.base/regs.exp: New file, testing of register displays.
23042 * gdb.base/return.exp: Fix typo in reference to $objdir.
23043 * gdb.base/whatis.exp: Always start with a fresh GDB.
23044
23045Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23046
23047 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
23048 higher, these tests generate a lot of output.
23049
23050Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23051
23052 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
23053 code following the catch silently ignored some errors; without the
23054 catch they should be thrown like any other tcl error. Also, the
23055 catch used "" instead of {} which meant all the callers who wanted
23056 to include one of the characters "[]$ had to quote it an extra time.
23057 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
23058 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
23059 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
23060 Remove extra quoting.
23061
23062Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
23063
23064 * gdb.base/commands.exp: Make test names unique; every test either
23065 passes or fails. Update some comments.
23066
23067 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
23068
23069Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23070
23071 The following fixes a FAIL caused by the fact that the alpha stabs
23072 configuration didn't use the ".if alpha" code in weird.def.
23073 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
23074 bit pointer, so the 32 bit version works even on the alpha.
23075 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
23076 Remove the stuff which allowed us to have separate versions for
23077 alpha and everything else.
23078
23079 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
23080 regexp which "info func operator\[\](" is supposed to match. Fix
23081 string to send to GDB. Note that GDB still doesn't work right. Add a
23082 new test for "info func .perator\[\](" which GDB does handle correctly.
23083
23084 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
23085
23086Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23087
23088 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
23089 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
23090 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
23091 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
23092 it makes the tests harder to understand and confuses test-o-matic.
23093 The preferred style is that each test provides a PASS or a FAIL,
23094 and has a unique message (e.g. "continue #54" not just "continue")
23095 which is the same for the pass and the fail.
23096 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
23097 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
23098 to lib/gdb.exp.
23099 * gdb.base/printcmds.exp: Use test_print_accept. Remove
23100 prt_accept which was basically the same thing. Likewise for
23101 test_print_reject and prt_reject.
23102 * lib/gdb.exp (test_print_reject): Add some more error message
23103 patterns to match from the former printcmds.exp (prt_reject).
23104 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
23105 One defect of the passcount stuff is that some of it failed to
23106 report XPASS where appropriate.
23107 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
23108 stuff before and after arg in expected pattern.
23109 (test_paddr_operator_functions): Re-do test without print_addr_of;
23110 this is the only test which seems to want extra stuff there.
23111
23112Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
23113
23114 * gdb.base/nodebug.exp: Update new tests to reflect improved
23115 wording of gdb output.
23116
23117 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
23118 and "ptype" work on variables in files compiled without -g.
23119 Replaces commented out "maint print msymbol" tests.
23120
23121Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
23122
23123 * gdb.base/setvar.c (dummy): Call malloc.
23124
23125 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
23126 losing with the irix4 sed.
23127
23128 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
23129 ALRM" on irix4.
23130
23131Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
23132
23133 * TODO: Remove items about corefile.exp testing new exec-file and
23134 backtrace; both are now done. Add items about printing enums.
23135
23136Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
23137
23138 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
23139 "get signal $thissig" test fails.
23140
23141 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
23142
23143Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
23144
23145 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
23146 compiler warning with dec alpha compiler.
23147
23148 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
23149 extra \n from gdb_test call (this explains why the prompt test
23150 that I removed yesterday was there).
23151 (user_defined_command_test): Remove extra \n and prompt test.
23152
23153 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
23154 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
23155 doesn't exist.
23156 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
23157 Also remove alpha workaround, which turns out to be because
23158 SIGABRT == SIGLOST.
23159
23160 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
23161
23162 * gdb.base/help.exp: Don't test "help show".
23163
23164Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
23165
23166 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
23167 "set print address" is on.
23168 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
23169 pass prompt to gdb_test; gdb_test already looks for the prompt.
23170
23171 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
23172
23173 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
23174 was a vestige of the manual TESTSTRATEGY, and the purpose of it
23175 was to make sure that gdb can read a core file. But (a) the "read
23176 the corefile" part didn't make it to a1-selftest.exp, we just
23177 delete the corefile after creating it, and (b) we test reading
23178 corefiles in corefile.exp anyway. Also, this test left around a
23179 xgdb process on Solaris.
23180
23181 * gdb.base/corefile.exp: Also test backtrace.
23182
23183Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
23184
23185 * gdb.base/commands.exp: Test a simple user defined command with
23186 arguments and if/while statements; verify the full user command is
23187 printed by "show user".
23188
23189 * gdb.base/commands.exp: Test if/while commands as part of a
23190 breakpoint command list; verify they appear in breakpoint
23191 information.
23192
23193Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
23194
23195 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
23196 than by dividing by zero.
23197
23198Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
23199
23200 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
23201 performing an inferior call with watchpoints enabled.
23202 * gdb.base/watchpoint.c (main): Delete second unnecessary read
23203 call.
23204
23205Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
23206
23207 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
23208 of "file" command.
23209
23210 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
23211 Add additional pattern for when "int operator int(void);" appears
23212 in a different order.
23213
23214Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
23215
23216 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
23217
23218 * gdb.base/help.exp: Replace most of docstrings for "info signals"
23219 and "signal" with ".*".
23220
23221Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23222
23223 * TODO: Add note about "handle all nostop".
23224
23225 * gdb.base/{sigall.c, sigall.exp}: New test.
23226 * gdb.base/Makefile.in: Add it.
23227
23228Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
23229
23230 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
23231 when invoking GDB, suppresses any windowing interface.
23232
23233Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
23234
23235 * config/sim-gdb: New file, simulator testing support.
23236
23237Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
23238
23239 * gdb.base/interrupt.exp: Test calling func1 twice.
23240
23241Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
23242
23243 * gdb.base/list.exp (test_forward_search): Set timeout higher
23244 when we'll be getting lots of output from gdb.
23245
23246 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
23247 "init_malloc" to after the expect statement. Run it if that
23248 regexp is taken, but also for two others which happen if source
23249 cannot be found.
23250
23251Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23252
23253 * gdb.base/printcmds.exp: New test, for printing register before
23254 program is running.
23255
23256Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23257
23258 * gdb.base/list.exp: Correct some alternate expect patterns
23259 to reflect changes in list1.c.
23260
23261Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23262
23263 * TODO: Add item regarding large frames.
23264
23265 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
23266
23267 * TODO: Remove item about enabling return.exp; it
23268 is enabled. Suggest a few more "return" tests.
23269
23270Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23271
23272 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
23273 anonymous unions.
23274
23275Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23276
23277 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
23278 and pr-5646.o, so "make" is the same as "make all", not "make
23279 pr-4975.o".
23280
23281Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
23282
23283 * gdb.base/list.exp: Adjust expectations to reflect changes in
23284 list1.c.
23285 (test_forward_search): New test proc.
23286 * gdb.base/list1.c (long_line): New function, has long source line.
23287
23288Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
23289
23290 * gdb.base/a1-selftest.exp: Change initial stepping to know about
23291 additional line of code that was added.
23292
23293Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
23294
23295 * gdb.disasm/hppa.s: Break the large branching tests into smaller
23296 tests so as not to overflow expect's input buffers.
23297 * gdb.disasm/hppa.exp: Corresponding changes.
23298
23299Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23300
23301 Beginnings of template debugging tests.
23302 * gdb.c++/templ-info.cc: New file to test for template
23303 debugging capability of the compiler.
23304 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
23305 templ-info.cc.
23306 * gdb.c++/templates.cc: Add explicit template instantiations
23307 to enable compiling with -fno-implicit-templates. Add destructor
23308 and 'value' method to T5 class for template tests.
23309 * gdb.c++/templates.exp: Add testcases for printing of template
23310 types, setting breakpoints on template methods and calling a
d63a86f8 23311 template method.
c906108c
SS
23312
23313Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
23314
23315 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
23316 branch target since some assemblers (gas-2.5) may emit a
23317 relocation for the branch instead of resolving it in the
23318 assembler.
23319
23320Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23321
23322 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
23323 through signal handler.
23324
23325Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23326
23327 * configure.in (*-*-netware): Use config/mt-netware.
23328
23329 * config/mt-netware: New file.
23330 * config/mt-i386-netware: Removed, separate configs for different
23331 netware architectures are no longer needed now that we have
23332 --with-headers.
23333
23334Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23335
23336 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
23337 by the recent changes to use ANSI C arithmetic conversions.
23338
23339Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23340
23341 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
23342 bug involving using inferior_pid to figure out whether to select a
23343 frame.
23344
23345Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
23346
23347 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
23348 match the current disassembler output.
23349
23350Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
23351
23352 * gdb.fortran/exprs.exp: Expect VOID instead of void.
23353 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
23354 types, expect "int" as type of integer values (for now).
23355
23356Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
23357
23358 * gdb.base/commands.exp: New tests for if/while commands.
23359
23360Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
23361
23362 * lib/gdb.exp (runto): Replace sub-pattern for hex value
23363 by .*, since hex values have different syntax in Chill mode.
23364
23365Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23366
23367 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
23368 linefeed from expect pattern for repeated types with indices > 9.
23369
23370Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
23371
23372 First part of Fortran test suite.
23373 * gdb.fortran: New directory.
23374 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
23375
23376Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23377
23378 * gdb.base/default.exp: Update expect pattern for load command
23379 without arguments.
23380
23381Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
23382
23383 * configure.in: Change i386 to i[345]86.
23384 * gdb.base/configure.in: Likewise.
23385 * gdb.c++/configure.in: Likewise.
23386 * gdb.chill/configure.in: Likewise.
23387
23388Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
23389
23390 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
23391 patterns, since that is not a valid context for comments.
23392
23393Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
23394
23395 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
23396 repeated types and repeated types with indices > 9.
23397
23398Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
23399
23400 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
23401 2417; old bug has been fixed.
23402
23403Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
23404
23405 * gdb.base/interrupt.exp: When trying to wake up the inferior,
23406 send the newline ourselves instead of assuming gdb_test will do
23407 so when passed an empty input string.
23408
23409 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
23410 stabs testcode.
23411
23412Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23413
23414 * lib/gdb.exp (gdb_test): Don't send anything if the first
23415 argument is an empty string. This makes cases where we want to
23416 match output that is already in expect's buffers (for example,
23417 matching a breakpoint after gdb_run_cmd has been called) work
23418 reliably.
23419
23420Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23421
23422 * config/netware.exp: New file.
23423
23424Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23425
23426 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
23427 the -B and -L prefixes so we can find the debugging stub.
23428
23429 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
23430 there and we are using the gcc from the tree.
23431
23432 * gdb.base/types.c: Removed.
23433
23434 * gdb.base/configure.in: Look for makefile fragments in ../config.
23435 Recognize i386-*-netware.
23436 * gdb.c++/configure.in: Likewise.
23437
23438Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23439
23440 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
23441 the correct TCL syntax.
23442
23443Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23444
23445 * gdb.base/opaque.exp: use runto instead of messing around with
23446 breakpoints. Simplify by using gdb_test.
23447
23448 * gdb.base/bitfields.exp: restart between tests on netware targets
23449 because breakpoints aren't relocated after target death. Run
23450 processes to completion.
23451
23452 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
23453
23454Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
23455
23456 * Makefile.in: Remove extra tabs that confuse some versions
23457 of "make". Use the newly built gdb to test with by default,
23458 rather than the first one in the tester's search path.
23459
23460Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
23461
23462 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
23463
23464 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
23465 condition help.
23466
23467Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23468
23469 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
23470
23471 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
23472 running.
23473 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
23474 * gdb.base/funcargs.exp: Likewise.
23475
23476 * gdb.base/bitfields.exp: Simplify by using gdb_test.
23477 * gdb.base/funcargs.exp: Likewise.
23478
23479 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
23480 message is "".
23481
23482Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23483
23484 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
23485 return,signals,twice}.exp: Handle non-existant binaries
23486 consistantly.
23487
23488 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
23489 * gdb.base/Makefile.in: Don't try to generate a core dump, we
23490 might testing a cross development system.
23491
23492Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23493
23494 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
23495 runtest script is relative to ${srcdir}, not ${rootdir}.
23496
23497Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
23498
23499 * gdb.base/signals.exp: Allow for optionality of breakpoint
23500 address.
23501
23502Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23503
23504 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
23505
23506Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23507
23508 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
23509 for size_t definition.
23510 * gdb.c++/templates.cc: Likewise
23511
23512 * config/mt-i386-netware: New file.
23513
23514 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
23515 defined.
23516
23517 * gdb.base/Makefile.in: Added support for systems that name core
23518 files by appending "core" to the program name.
23519 * gdb.base/a1-selftest.exp: Likewise.
23520
23521Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23522
23523 * gdb.base/return.exp: Add comment and message for `return double'
23524 test failure on Sparc Solaris.
23525
23526Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
23527
23528 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
23529
23530Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23531
23532 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
23533 from optimizing them away.
23534 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
23535 patterns to include default constructors and assignment operators,
23536 to match gcc versions beyond 2.5.8. Accept any cplus demangling
23537 character in the output of the virtual base pointer.
23538
23539Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23540
23541 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
23542 expression match in print_addr_of to avoid unintented matches.
23543 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
23544 versions up to 2.5.8.
23545
23546Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23547
23548 * gdb.base/list.exp: Tweak alternate pattern for listing of an
23549 included file to run under newer versions of expect.
23550 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
23551 consecutive >'s in templates to accomodate recent cplus-dem.c change.
23552 Remove xfail for the virtual table of BDDHookV.
23553
23554Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
23555
23556 * lib/gdb.exp (string_to_regexp): Set a default result.
23557 (default_gdb_start): Fix misleading message.
23558
23559Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
23560
23561 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
23562 Remove all CC, etc definitions.
23563 * config/mt-hpux: New file.
23564 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
23565 (CFLAGS, LDFLAGS): Define.
23566 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
23567
23568 * Makefile.in (site.exp): Don't insert host_os, etc.
23569 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
23570 (distclean): Check existence of subdir.
23571 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
23572 * gdb.base/Makefile.in: General cleanup and simplification.
23573 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
23574 to build executables. Use default rule to build .o files.
23575 (EXPECT, RUNTEST, CC): Fix relative pathname.
23576 (site.exp): Don't insert host_os, etc.
23577 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
23578 and/or SIGUSR1 defined.
23579 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
23580 * gdb.c++/Makefile.in: General cleanup and simplification.
23581 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
23582 (CFLAGS): Remove.
23583 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
23584
23585Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
23586
23587 * gdb.base/recurse.exp: Misc changes to get tests running again
23588 after Kung's changes to the watchpoint code.
23589 * gdb.base/watchpoint.exp: Likewise.
23590
23591Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
23592
23593 * lib/gdb.exp (string_to_regexp): Convert {\} also.
23594
23595Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
23596
23597 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
23598 * lib/gdb.exp (default_gdb_start): Define.
23599 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
23600 gdb.base/funcargs.exp, gdb.base/opaque.exp,
23601 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
23602 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
23603 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
23604 Don't call gdb_target_udi in between tests.
23605
23606Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23607
23608 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
23609 (which was basically just a local version of the same thing). In
23610 addition to avoiding duplication, gdb_test_exact is faster.
23611 * lib/gdb.exp (gdb_test_exact): Fix typo.
23612
23613 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
23614 don't give an error.
23615
23616 * gdb.base/term.exp: Call delete_breakpoints before starting.
23617
23618 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
23619 (t10): Add comment.
23620
23621Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
23622
23623 Reorganization of the GDB Test Suite.
23624
23625 * gdb.base: New directory, contains all the basic tests.
23626 * gdb.c++: New directory, tests specific to C++.
23627 * gdb.chill: New directory, tests specific to Chill.
23628 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
23629 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
23630 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
23631 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
23632 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
23633 t30-31 to chill).
23634 * */gdbme.*: Rename to match appropriate expect scripts.
23635 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
23636 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
23637 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
23638 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
23639 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
23640 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
23641 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
23642 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
23643 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
23644 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
23645 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
23646 gdb.c++/virtfunc.cc: New names of C++ files.
23647 * gdb.chill/chillvars.ch: New name of Chill file.
23648 * gdb.base/configure.in, gdb.c++/configure.in,
23649 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
23650 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
23651 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
23652 * configure.in (configdirs): Update to reflect directory changes.
23653 (target_abbrev): No longer define for any configuration.
23654 * Makefile.in: Cosmetic improvements to header comments.
23655
23656Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
23657
23658 Various changes to gdb.t31:
23659
23660 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
23661 * gdbme.ch: Make all key-words and predefineds be upper-case.
23662 * chillvars.exp: Expect key-words and predefinds in upper-case.
23663
23664 * chillvars.exp: Use gdb_test_exact many places.
23665 Change expected output for arrays (which now includes index labels).
23666
23667 * pr-5020.exp, gdme.ch (module PR_5020):
23668 New test, for PR-5020.
23669
23670Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
23671
23672 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
23673 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
23674
23675Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
23676
23677 * Makefile.in: Fix bit-rot in definitions of CHILL,
23678 CHILL_FOR_TARGET and Chill_LIB.
23679 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
23680 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
23681 CHILL, and CHILL_LIB.
23682
23683Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
23684
23685 * Revert the previous changes. Please see Rob's directory
23686 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
23687
23688Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
23689
23690 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
23691 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
23692 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
23693 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
23694 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
23695 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
23696 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
23697 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
23698 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
23699 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
23700 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
23701 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
23702 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
23703 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
23704 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
23705 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
23706 changes from 94Q1.
23707
23708Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
23709
23710 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
23711 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
23712 Rob's new testing fragments.
23713
23714Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
23715
23716 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 23717 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
23718
23719Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
23720
23721 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
23722 version also, match on casted version strings, and match on
23723 gdb startup case where the line numbers might be messed up.
23724
23725Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
23726
23727 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 23728 (CFLAGS): Delete it from here.
c906108c
SS
23729
23730Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
23731
23732 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
23733
23734Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
23735
23736 * Makefile.in (RUNTEST): Default to just "runtest".
23737
23738Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23739
23740 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
23741 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
23742 the code has been restructured.
23743
23744Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23745
23746 * gdb.t00/default.exp (set write): Allow any number of \r and/or
23747 \n, not just one of each.
23748
23749 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
23750 /bin/cc gives a warning if you do.
23751
23752Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
23753
d63a86f8 23754 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
23755 __t10ListS_link1ZUiRCUiPT0
23756
23757Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23758
23759 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
23760 on local variables in recursive functions.
23761
23762 * gdb.t07/Makefile.in: Build the new test.
23763
23764Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23765
23766 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
23767 directly. Instead compare the return values from actual calls.
23768
23769Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
23770
23771 * Makefile.in (check): Set TCL_LIBRARY for runtest.
23772
23773Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23774
23775 * From Peter Schauer with minor modifications.
a9c64011
AS
23776 * gdb.t15/return.exp (return_tests): Handle targets where "return"
23777 stops in mid-line in the caller. Add xfail for returning a float
23778 value on X86 targets.
c906108c
SS
23779
23780Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23781
23782 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
23783 to avoid expect lossage.
23784 (fmem_LRbug_tests): Likewise.
23785 * gdb.disasm/hppa.s: Corresponding changes.
23786
23787 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
23788 conditions to work with latest dejagnu/expect.
23789
23790 * gdb.t15/funcargs.exp (finish from indirect call): No longer
23791 expected to fail on the PA.
23792 (backtrace in call with trampolines): Explicitly require main
23793 to be frame #1 (no trampolines should show up in backtrace).
23794
23795 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
23796 "continue -expect".
23797 * gdb.t06/break.exp: Likewise.
23798 * gdb.t07/watchpoint.exp: Likewise.
23799 * gdb.t13/bitfields.exp: Likewise.
23800 * gdb.t15/{funcargs,return}.exp: Likewise.
23801 * gdb.stabs/weird.exp: Likewise.
23802 * config/{mips,udi}-gdb.exp: Likewise.
23803
23804 * hppa.sed: Enclose comments within a sed command to avoid
23805 losing with the old OSF1 sed.
23806
23807Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23808
23809 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
23810 sequent dynix.
23811 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
23812 * gdb.t15/funcargs.exp: Conditionally step again to really
23813 finish from marker_call_with_trampolines. Handle the case where
23814 the first step from within call_with_trampolines already steps
23815 us back to main.
23816 * gdb.t15/gdbme.c: Add comment to closing brace of
23817 call_with_trampolines for funcargs.exp.
23818
23819Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23820
d63a86f8 23821 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
23822 Fix typo(s).
23823
23824Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23825
23826 * gdb.t07/gdbme.c: More code for watchpoint testing.
23827
23828 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
23829 "Hardware watchpoint" throughout file.
23830 (test_watchpoint_triggered_in_syscall): New test.
23831 (test_complex_watchpoint): New test.
23832
23833Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23834
23835 * gdbme.c (call_with_trampolines): New function to try and step
23836 into. Tests trampoline problems on the PA.
23837
23838 * funcargs.exp (localvars_in_indirect_call): No longer expect
23839 stepping into indirect call to fail on PAs.
23840 (test_stepping_over_trampolines): New test.
23841
23842Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23843
23844 * TODO: Add suggestions for static member function tests, and
23845 completion tests.
23846
23847Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23848
23849 * TODO: Add suggestions for "p/a" tests.
23850
23851 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
23852 (default_gdb_exit): Replace all the hair with sending "quit" to
23853 the process with a simple close.
23854
23855Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23856
23857 * TODO: Add suggestions for shared library tests.
23858
23859Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23860
23861 * TODO: Add suggestions for x/s tests.
23862
23863Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23864
23865 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
23866 "enable once", and "enable breakpoints once" with ".*".
23867
23868Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23869
23870 * TODO: Add suggestions about structure passing tests.
23871
23872Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23873
23874 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
23875 the primary1 test, use work around if __GNUC__ < 2.
23876 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
23877 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
23878 Test for bad output rather than waiting for timeout. Issue
23879 second continue only if first continue failed.
23880
23881Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
23882
23883 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
23884 operator[] test with gdb_test because the old code didn't seem to
23885 be getting the quoting right with the new dejagnu.
23886
23887Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
23888
23889 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
23890 one from the path.
23891 * Makefile.in: Use a fresh expect if there is one, use runtest
23892 from the src tree if there is one.
d63a86f8 23893
c906108c
SS
23894Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
23895
23896 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
23897 next over recursive call. Revise the tests from that point on
23898 (which had been skipped) to match GDB's actual (correct) output.
23899
23900 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
23901 with next over a breakpoint whose condition is false.
23902
23903 * gdb.t00/help.exp: Comment out "help set print" tests just like
23904 (and for same reason as) "help set" test.
23905
23906Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23907
23908 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
23909 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
23910
23911Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23912
23913 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
23914 necessary gdb_target_udi.
23915
23916 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
23917
23918 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
23919 1838 and 2417; they are fixed.
23920
23921 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
23922 gdb.t03/ptype.exp (ptype structure, ptype union):
23923 Remove xfails; the test is looser than when the xfails were added.
23924
23925 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
23926 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
23927
23928 * gdb.t01/run.exp: Only run shell test if isnative.
23929
23930 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
23931 since "run" automatically loads if necessary. Call gdb_target_udi
23932 after the "file" since "file" kills any execution target.
23933
23934 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
23935 GDB. GDB doesn't work that way (not anymore at least) on UDI.
23936 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
23937 argument for UDI.
23938
23939Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
23940
23941 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
23942
23943 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
23944
23945Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23946
23947 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
23948 properly quoting regexps. This makes the second argument to
23949 demangle a fixed string, which matches the callers, instead of a
23950 shell-style pattern which is what the previous implementation
23951 used. Update some of the callers.
23952
23953Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23954
23955 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
23956 (comib_nullified_tests): Fix typo.
23957 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
23958 strings. No longer expected to fail.
23959
23960 * gdb.disasm/hppa.s (addib_tests): Fix typo.
23961 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
23962 strings. No longer expected to fail.
23963
23964 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
23965 string. No longer expected to fail.
23966
23967Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23968
23969 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
23970 No longer expected to fail.
23971
23972 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
23973 string. No longer expected to fail.
23974
23975Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23976
23977 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
23978 only in the names (I probably got most of them). I was even
23979 generous with some which differed in underscores in names, and
23980 probably missed a few, and I *still* was able to remove almost a
23981 third of the file with almost no impact on testsuite coverage.
23982
23983Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23984
23985 * gdb.t00/default.exp: Match udi_attach error message as well as
23986 the one from child_attach.
23987
23988 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
23989
23990 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
23991
23992 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
23993 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
23994
23995 * Move test with enums and partial symbols back to
23996 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
23997 Reverts the change of 26 May 93. Per today's change to
23998 stabs.texinfo, the behavior that weird.exp was expecting was
23999 unreasonable; what is important is that the compiler+gdb get
24000 things right, which happens with a recent gcc. Also fix the test
24001 to deal with native compilers which put out the stab gdb can't
24002 deal with.
24003
24004Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24005
24006 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
24007 in the names. The main thing these accomplish is to slow things down.
24008 Many more such duplicates surely remain.
24009
24010 * gdb.t00/help.exp: Comment out "help support" test just like
24011 (and for same reason as) "help set" test.
24012
24013Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
24014
24015 * gdb.t06/break.exp: Remove setup_xfails for
24016 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
24017 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
24018 about known bug in gcc to include up through 2.5.8.
24019 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
24020 well as "_vb$".
24021 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
24022 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
24023 with latest gcc and gdb.
24024 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
24025 well as "_vb$".
24026
24027Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24028
24029 * configure.in (hppa*-*-*): Also configure and build stabs-only
24030 tests.
24031
24032Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24033
24034 * gdb.t10/hppa.mt: A makefile fragment for the PA.
24035 * gdb.t10/configure.in (hppa*-*-*): Use it.
24036
24037Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24038
24039 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
24040
24041Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24042
24043 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
24044 versions prior to 1.13.5.
24045
24046Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24047
24048 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
24049 the prompt is at the start of a line.
24050
24051Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24052
24053 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
24054 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
24055 in the copr tests now.
24056 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
24057 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
24058 expected to fail.
24059
24060Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
24061
24062 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
24063 gdb.t31/chillvars.exp, lib/gdb.exp:
24064 Tweak to run under either version of expect.
24065 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
24066 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
24067 * gdb.t11/list.exp: Remove extraneous whitespace.
24068
24069Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24070
24071 * gdb.t16/printcmds.exp (test_print_strings): Accept
24072 "(unsigned char *) " before the string.
24073
24074 * TODO: Add notes about printing of fancy types and GDB expressions.
24075
24076Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
24077
24078 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
24079 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 24080 if doing mips-idt-ecoff.
c906108c
SS
24081
24082Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
24083
24084 * Most .exp files: Tweak to run under either version of expect.
24085
24086Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24087
24088 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
24089 xfails; I'm not sure why they are failing, but not because of PR 1806.
24090
24091Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
24092
24093 * config/unix-gdb.exp: Remove gdb_unload cause it's already
24094 defined in lib/gdb.exp.
24095
24096Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24097
24098 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
24099 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
24100 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
24101 have to be typeless.
24102
24103Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24104
24105 * TODO: Add suggestion for copyright year test.
24106
24107Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
24108
24109 * configure.in (*-*-lynxos*): Add stabs tests.
24110
24111Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
24112
24113 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
24114 so insert a tab before any assembler directive in column zero.
24115
24116 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
24117 stores.
24118 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
24119 stores.
24120 (fpu_short_memory_tests): Likewise.
24121
24122Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24123
24124 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
24125 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
24126 .stabs directives in comments.
24127
24128Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24129
24130 * TODO: New file, describing tests we could write.
24131 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
24132
24133Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24134
24135 * gdb.t06/signals.exp: Add kludge to force re-sync.
24136
24137 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
24138 to xgdb instead of gdb, get out of gdb.
24139
24140Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
24141
24142 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
24143 for info.
24144
24145Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
24146
24147 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
24148 * gdb.stabs/configure.in (hppa*-*-*): Use it.
24149 * gdb.stabs/hppa.sed: New sed script for the PA.
24150
24151Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24152
24153 * gdb.stabs: Re-write weird.def and configuration to use sed
24154 instead of cpp. sed is portable and POSIX; cpp is neither.
24155
24156Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24157
24158 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
24159
24160Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24161
24162 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
24163
24164Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24165
24166 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
24167 "_vb$".
24168 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
24169 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
24170
24171Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24172
24173 * lib/gdb.exp: Comment out code which depends on non-existent
24174 `transform' procedure.
24175
24176Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
24177
24178 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
24179 * lib/gdb.exp: Transform tool name.
24180 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
24181 1.1's new error handling system.
24182
24183Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24184
24185 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
24186
24187Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24188
24189 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
24190 They made pattern matching so slow that timeouts happened on
24191 heavily loaded systems. Now any output from "show print" which
24192 gets us back to the GDB prompt is a PASS.
24193
24194Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
24195
24196 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
24197
24198Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24199
24200 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
24201
24202 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
24203 It is not from PR 3220.
24204
24205Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24206
24207 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
24208 just started failing because they depended on the order the
24209 subcommands are presented, or exact docstring text. This kind of
24210 test is a pain and has minimal benefit.
24211
24212Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24213
24214 * gdb.t09/corefile.exp: At end of test, use "core" command with
24215 no arguments.
24216
24217Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
24218
24219 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
24220 17}/Makefile.in: Make it possible to run the testsuite with Sun
24221 make and CC = cross gcc by adding explicit build rules for .o
24222 files.
24223
24224Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24225
24226 * gdb.t15/funcargs.exp: Don't put comments on same line as
24227 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 24228
c906108c
SS
24229Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24230
24231 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
24232
24233Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
24234
24235 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
24236 * gdb.t20/inherit.exp: remove three dumplicate entries.
24237
24238Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24239
24240 * gdb.t06/break.exp: For "next over recursive call", fail on any
24241 incorrect output, not just on "factorial (value=2)".
24242
24243Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24244
24245 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
24246 working now. Add an xfail if accesing a bss variable causes
24247 a memory error if the target is not yet run.
24248
24249Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24250
24251 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
24252 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
24253 name of __st* demangling (2 strings). Did Kung really get the
24254 more than 95 others right without testing them?
24255
24256Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
24257
24258 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
24259
24260Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
24261
24262 * configure.in (configdirs): Add gdb.disasm
24263 * gdb.disasm: New directory for GDB disassembler tests.
24264 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
24265
24266Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24267
24268 * gdb.t00/help.exp: Don't test "help set".
24269
24270 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
24271 from within expect statements. None of these happen anymore and
24272 they cause regressions to be silently unnoticed.
24273
24274 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
24275 messages) about known failures with gcc cygnus-2.4.5-930417.
24276
24277 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
24278 comp-info.exp so it gets built if it doesn't exist.
24279
24280 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
24281 it is no longer used.
24282 * gdb.t13/comp-info.c: Removed.
24283
24284Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
24285
24286 * gdb.t06/signals.exp: Add xfail for sun3.
24287
24288Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24289
24290 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
24291 relevant because ^C doesn't get sent but failure can be reproduced
24292 interactively).
24293
24294Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24295
24296 * gdb.stabs/alpha.mt: New configuration file for alpha.
24297 * gdb.stabs/configure.in: Use it.
24298 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
24299 sharing with alpha.mt, redefine long to word via preprocessor.
24300 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
24301 for alpha.
24302 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
24303 native cc.
24304 * gdb.t00/teststrategy.exp: Change expect string so that we
24305 consume the `(xgdb)' from the command echo and from the gdb prompt.
24306 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
24307 gdb currently compares all values as long, so this failure probably
24308 applies to any configuration where LONGEST is bigger than a target int.
24309 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
24310 with gcc.
24311 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
24312 to handle opaque pointers, gcc is.
24313 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
24314 as first argument. Include <sys/types.h> and change all operator
24315 new definitions to use size_t.
24316 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
24317 now that we use size_t.
24318
24319Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24320
a9c64011 24321 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 24322 a long or float array cast all array members to the same type.
a9c64011 24323 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 24324 with 64 bit longs.
a9c64011 24325 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 24326 on alpha.
a9c64011 24327 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
24328
24329Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24330
24331 * gdb.t24 (demangle.exp): Constructors of templates have names like
24332 vector<int>::vector(int) not vector<int>::vector<int>(int). See
24333 section 14.6 of the ARM.
24334
24335 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
24336 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
24337 accomplish little and slow down the testsuite.
24338
24339 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
24340 Accept spaces various places.
24341
24342Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24343
24344 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
24345 with watchpoint enabled.
24346
24347 * Makefile.in: Remove definition of CC and remove the second
24348 definition of CXX (the "CXX = gcc" one remains). These definitions
24349 were causing backquotes to be expanded within backquotes, which
24350 doesn't work.
24351
24352Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
24353
24354 * gdb.t17/callfuncs.exp: Add "return 0" to end.
24355
24356Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24357
a9c64011
AS
24358 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
24359 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
24360 by mips cc and contains no stabs entries.
24361
24362Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
24363
24364 * config/vx-gdb.exp: Use fake device to load files rather than
24365 NFS.
24366 * lib/gdb.exp: New proc to do "file" command.
24367 * config/unix-gdb.exp: Use new "file" proc.
24368
24369Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
24370
24371 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
24372 Rework board rebooting slightly.
24373 (gdb_exit): Don't exit from the remote shell; there isn't one.
24374 * gdb.stabs/weird.exp: If a program is being debugged already,
24375 kill it.
24376 * gdb.t04/setvar.exp: Stop and restart gdb.
24377 * gdb.t05/expr.exp: Likewise.
24378 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
24379 restart gdb and reload the program.
24380 * gdb.t08/opaque.exp: Likewise.
24381 * gdb.t12/scope.exp: Likewise.
24382 * gdb.t13/bitfields.exp: Likewise.
24383 * gdb.t15/funcargs.exp: Likewise.
24384 * gdb.t20/classes.exp: Likewise.
24385 * gdb.t03/ptype.exp: Increase timeout.
24386 * gdb.t16/printcmds.exp (test_print_string_constants,
24387 test_print_array_constants): Likewise.
24388 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
24389 * gdb.t20/classes.exp (do_tests): Likewise.
24390 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
24391
24392Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
24393
24394 * gdb.stabs: Renamed *wierd* to *weird*.
24395
24396Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
24397
24398 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
24399 for timeout. Add "known gcc 2.4.5 bug" to failure message.
24400
24401Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
24402
24403 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
24404 (do_tests): Remove xfail for whatis on one_var and two_var.
24405
24406Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
24407
24408 * Makefile.in: Made cross building work better by adding
24409 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
24410
24411Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24412
24413 * gdb.t15/{return.c,return.exp,Makefile.in}:
24414 New test, currently commented out.
24415
24416Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
24417
24418 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
24419 still running and removes the leftover named socket so GDb can do
24420 clean restarts.
24421
24422Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
24423
24424 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
24425 console, not GDB.
24426 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
24427 cross testing works better with "make check"
24428 * config/unix-gdb: Use default procedures for exit and version.
24429 * config/vx-gdb.exp: Cleaned up and massaged back to working order
24430 with the newest VxWorks.
24431
24432Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24433
24434 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
24435 old form.
24436
24437 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
24438 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
24439
24440 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
24441
24442 * config/unix-gdb.exp: Remove this version of gdb_exit
24443 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
24444 Rob says he'll look at it when he gets back to testing boards.
24445
24446Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
24447
24448 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
24449 an expected fail for certain ptype commands.
24450
24451 * gdb.t20/classes.exp: Update expected results of "ptype class
24452 Base1" to account for the constructor that now appears in the type.
24453
24454Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
24455
24456 * configure.in (configdirs): Restore gdb.t04, which mysteriously
24457 disappeared from list.
24458 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
24459 "alldone" proc with call to cleanup and exit.
24460 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
24461 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
24462 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
24463 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
24464 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
24465 "alldone" proc with simple returns that suppress remaining
24466 tests. The alldone proc went away many months ago.
24467
24468Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24469
24470 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
24471
24472 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
24473
24474Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24475
24476 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
24477 as vax gdb will display them.
24478
24479Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24480
24481 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
24482 optimizers.
24483
24484 * scope.exp: Change "bad value for localval" messages so each one
24485 is unique.
24486
24487 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
24488 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
24489
24490 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
24491
24492Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24493
24494 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
24495 doesn't exist (due to optimization).
24496
24497Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24498
24499 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
24500 contains \r because the filename is long.
24501
24502 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
24503 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
24504
24505Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24506
24507 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
24508 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
24509 Ultrix.
24510 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
24511 int tests.
24512 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
24513
24514Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
24515
24516 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
24517
24518 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 24519 to match does not match the passing case but still matches the
c906108c
SS
24520 failing case.
24521
24522Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24523
24524 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
24525
24526Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
24527
24528 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
24529 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
24530 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
24531 Remove various versions of gdb_exit.
24532 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
24533 gdb_exit.
24534 * config/unix-gdb.exp: gdb_exit remains here, and should override
24535 the generic version, since it's doing a lot of wierd stuff that
24536 the other versions aren't. FIXME, fold it in, or abandon this
24537 version.
24538
24539Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24540
24541 * gdb.t24/demangle.exp: Add tests for PR 3220.
24542
24543Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24544
24545 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
24546
24547Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
24548
24549 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
24550 "i386-*-*". Works for i486 as well.
24551
24552 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
24553 bug, and expand domain of xfail to all SVR4 systems, since the
24554 actual problem is likely to be in generic SVR4 /proc support.
24555
24556Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24557
24558 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
24559
24560Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
24561
24562 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
24563 xfails for other systems. Match a missing 'Continuing.' as an
24564 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
24565
24566 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
24567 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
24568 Only issue warning for missing executables if -all option is used.
24569
24570 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
24571 file if -all option is used. It's like an unpredictable XFAIL.
24572
24573Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24574
24575 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
24576 for dynamically linked binaries.
24577
24578 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
24579
24580Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24581
24582 * gdb.t20/inherit.exp: Change message for "print tagless struct"
24583 to state that this is a known bug in old versions of g++.
24584
24585Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24586
24587 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
24588 while waiting for `Continuing'.
24589
24590Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
24591
24592 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
24593 in text, data, and bss.
24594 * gdb.t10/nodebug.c: Add local and global test variables for
24595 initialized and uninitialized data.
24596
24597Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24598
24599 * config/unix-gdb.exp (gdb_exit): Add "wait".
24600
24601Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24602
24603 * gdb.t06/signals.exp: xfail the continue from the handler for all
24604 targets.
24605
24606 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
24607 function with watchpoints enabled, the i386 call dummy starts with
24608 a call.
24609
24610 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
24611 386 bsd names its corefiles.
24612
24613Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
24614
24615 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
24616 compilers don't grok it.
24617 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
24618 with small octal ints rather than character constants, which
24619 are signed and might not fit if first promoted to int.
24620
24621Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
24622
24623 * gdb.t09/Makefile.in (clean): Remove corefile.
24624
24625Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24626
24627 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
24628
24629Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24630 and Jim Kingdon (kingdon@cygnus.com)
24631
24632 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
24633 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
24634 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
24635
24636Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24637
24638 * gdb.t17/interrupt.exp: Add xfail for hppa.
24639
24640Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24641
24642 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
24643 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
24644 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
24645 to determine signed-ness of bitfields and use the result to setup
24646 the xfail.
24647 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
24648 * gdb.t15/funcargs.exp: Use them to step until the second indirect
24649 call line is reached if necessary.
24650
24651Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24652
24653 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
24654
24655Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24656
24657 * gdb.t06/break.exp: Also test `clear' command.
24658
24659Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
24660
24661 * gdb.t00/teststrategy.exp: Remove extra quote.
24662
24663 * gdb.t07/watchpoint.exp: Change xfail for calling function with
24664 watchpoint enabled to be for all non-68k machines.
24665
24666 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
24667
24668Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24669
24670 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
24671 targets use aout.mt instead of ecoff.mt as gas understands
24672 standard aout format.
24673
24674Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
24675
24676 * lib/gdb.exp (runto): Don't insist that function we are running to
24677 was compiled with -g.
24678
24679 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
24680
24681 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
24682 to get back into the read system call.
24683 Accept leading newline in case where we woke it up.
24684
24685Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24686
24687 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
24688 to make the stabs test work on ecoff systems using gcc and -with-stabs.
24689 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
24690 enable ecoff configuration.
24691
24692Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24693
24694 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
24695
24696Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24697
24698 * gdb.t16/printcmds.exp: Add another printf test.
24699
24700Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
24701
24702 * configure.in: If configured -with-stabs on any target, add
24703 stabsdirs to configdirs.
24704
24705Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24706
24707 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
24708 fun" so pattern does not match the command itself.
24709
24710Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24711
24712 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
24713
24714Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24715
24716 * gdb.t17/interrupt.exp: Test for more things.
24717
24718Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24719
24720 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
24721 compiler arranges the code and line numbers.
24722
24723 * gdb.t17/interrupt.exp: Don't send \n after ^C.
24724
24725Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24726
24727 * gdb.t00/help.exp: Increase expect input buffer size.
24728
24729Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24730
24731 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
24732
24733 * gdb.t07/watchpoint.exp: Add xfail for hppa.
24734
24735 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
24736
24737 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
24738 [0-9]*, not just [0-9].
24739
24740Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24741
24742 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
24743
24744 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
24745
24746Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24747
24748 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
24749
24750Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24751
24752 * gdb.t06/signals.c: Add xfails for sun3.
24753
24754 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
24755
24756 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
24757 test_stepping tests.
24758
24759Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24760
24761 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
24762
24763 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
24764
24765 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
24766 rather than actually putting it through cpp twice.
24767
24768 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
24769
24770Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
24771
24772 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
24773 no longer needed.
24774
24775Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24776
24777 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
24778
24779 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
24780 C++ features prints as "struct", make it a pass, not an xfail.
24781
24782Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24783
24784 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
24785 Don't require VA to print as "class" rather than "struct".
24786
24787Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
24788
24789 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
24790
24791Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24792
24793 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
24794
24795Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24796
24797 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
24798 order.
24799
24800Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24801
24802 * gdb.t16/printcmds.exp: Add printf tests.
24803
24804 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
24805
24806 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
24807
24808Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
24809
24810 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
24811 pass counts, to counteract any existing or future setup_xfails.
24812
24813Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24814
24815 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
24816 {BEGIN,END}_COMMON for common block instead of STAB.
24817 * gdb.stabs/wierd.exp: Add xfail for rs6000.
24818
24819 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
24820 intp_var should be N_GSYM not N_LSYM.
24821 wierd-aout.S: Use a label for the value of the N_SO.
24822 wierd.def: Remove all backslashes.
24823 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
24824
24825Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24826
24827 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
24828 get the expected next to inheritance3.
24829
24830Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24831
24832 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
24833 now that gcc-2.4 gets it right.
24834
24835Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24836
24837 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
24838
24839 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
24840 generating comp-info.exp which works for cross-compilation.
24841
24842Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
24843
24844 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
24845 "*-*-sysv4.*".
24846
24847Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
24848
24849 * gdb.t01/run.exp: Start with a fresh gdb.
24850 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
24851 SVR4.x.
24852
24853Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
24854
24855 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
24856 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
24857 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
24858 Makefile.in (distclean, realclean): Remove gdbme.c from list of
24859 things to remove.
24860
24861Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
24862
24863 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
24864 test cases from bug reports.
24865
24866Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
24867
24868 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
24869 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
24870 avoid spurious xfails.
24871 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
24872 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
24873 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
24874
24875Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
24876
24877 * gdb.t00/teststrategy.exp: Rework to provide more useful
24878 description of each test, fix problem with systems that define
24879 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
24880 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
24881 results for "next over recursive call" so timeouts aren't taken
24882 by error.
24883
24884Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
24885
24886 * gdb.t12/scope.exp: Test printing of variables before run.
24887
24888 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
24889 printed in wrong order due to sorting.
24890
24891Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
24892
24893 * gdb.t00/teststrategy.exp: Fix expected results for printing
24894 user entered string constant. Is array of char, prints with no
24895 address.
24896
24897 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
24898 commands.
24899 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
24900 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
24901 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
24902 of struct of char arrays.
24903 * gdb.t00/radix.exp: New tests for radix commands.
24904
24905Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
24906
24907 * gdb.t16/printcmd.exp: Print a variable before running program
24908 (with xfail for AIX).
24909
24910Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
24911
24912 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
24913
24914 * gdb.t16/printcmd.exp: Don't print variables before running program.
24915
24916 * gdb.t06/break.exp: Don't require envp argument to main.
24917
24918 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
24919
24920 * gdb.t02/whatis.exp, gdb.t11/list.exp:
24921 Add xfails for rs6000.
24922
24923 * gdb.t02/whatis.exp: Change other tests not to re-test something
24924 we already tested.
24925
24926 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
24927 each type used has a variable of that type.
24928
24929Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
24930
24931 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
24932
24933Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
24934
24935 * configure.in: change srctrigger to be a file, not a directory
24936
24937Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
24938
24939 * configure.in (mips-idt-ecoff*): Added trailing '*'.
24940
24941 * gdb.t11/list.exp: Fixed a couple of typos.
24942
24943Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
24944
24945 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
24946 is fixed and PR is closed.
24947 * gdb.t16 (gdbme.c): Add simple test string variable.
24948 * gdb.t16 (printcmds.exp): Add tests with simple test string
24949 variable, primarily for boundaries on "set print elements".
24950
24951Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
24952
24953 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
24954 Make leading 0's optional and don't expect a tab in the middle
24955 of the number.
24956
24957 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
24958
24959 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
24960 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
24961 don't end command passed to gdb_test with newline.
24962
24963 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
24964 signed keyword away, don't expect signed bitfields to be signed.
24965
24966 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
24967 printing with only as many 1's as are in the field as well as printing
24968 with 32 1's (see comment).
24969
24970Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
24971
24972 * gdb.t00/default.exp: Start with a fresh gdb.
24973 * configure.in (configdirs): Remove gdb.t31 until the chill
24974 compiler works again. It no longer is able to find chillrt0
24975 since it isn't in libchill.a anymore.
24976 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
24977 wierd.o, make more modular.
24978 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
24979 spurious newlines that caused problems.
24980
24981Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24982
24983 * Move test with enums and partial symbols from gdb.t03/ptype.exp
24984 to gdb.stabs/wierd.exp since GCC has worked around the bug.
24985 gdb.stabs/wierd.{exp,def}: Many new tests.
24986
24987 * gdb.t00/default.exp: update info line for new message.
24988
24989 * gdb.t02/{whatis.exp,gdbme.c}:
24990 Test that "char *" doesn't print as "caddr_t".
24991
24992Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24993
24994 * gdb.t00/help.exp: Use .* in place of some help messages which
24995 just changed.
24996 gdb.t00/default.exp: Update "info frame" test for new message.
24997 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
24998 Remove some xfails
24999
25000Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25001
25002 * gdb.t03/{gdbme.c,ptype.exp}:
25003 Add tests for typedef'd struct and union without tags.
25004 Also check "whatis" on a variable of a typedef'd enum without a tag.
25005
25006 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
25007 PRMS 1823; the bug still exists but isn't reproduced by this test
25008 anymore), and remove rs6000 XFAIL (the bug is fixed).
25009
25010 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
25011 duplicated from whatis.exp. For those that are left, accept
25012 "long", "long int", or "int" for long variables (whatis.exp already
25013 has an XFAIL for "int", so no need to fail it here).
25014
25015 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
25016 Deal with GCC's names for types now that GDB uses the compiler's names.
25017
25018 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
25019 setup_xfail's for sunos4. If we #defined the signed keyword away,
25020 don't expect GDB to know that char it is signed.
25021
25022 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
25023
25024Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
25025
25026 * configure.in (configdirs): Add gdb.t24 for C++ tests that
25027 should work on any system, regardless of debugging format.
25028 * gdb.t21/demangle.exp: Move to gdb.t24.
25029 * gdb.t24/demangle.exp: Move from gdb.t21.
25030 * gdb.t24/{Makefile.in, configure.in}: New files.
25031
25032Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25033
25034 * configure.in: Do gdb.stabs and C++ tests only for stabs.
25035 * gdb.stabs: New directory.
25036
25037Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25038
25039 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
25040 not just "Quit anyway?".
25041
25042Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
25043
25044 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
25045 that all setup_xfails are immediately followed by clear_xfails.
25046
25047Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
25048
25049 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
25050 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
25051 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
25052 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
25053 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
25054 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
25055 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
25056 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
25057 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
25058 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
25059 gdb.t31/chillvars.exp, lib/gdb.exp:
25060 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
25061 bug-gdb@prep.ai.mit.edu.
25062
25063Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
25064
25065 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
25066 with 0.0, not integer 0.
25067
25068Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
25069
25070 * gdb.t06/break.exp: Update for "Kill the program" message change.
25071
25072Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
25073
25074 * Makefile.in (GDBFLAGS): Set to -nx.
25075 * Makefile.in (site.exp): Use GDBFLAGS.
25076
25077Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
25078
25079 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
25080 Makefiles.
25081 (check): depend on just-check.
25082 (just-check): added so that tests can be run without a noop
25083 build pass.
25084
25085Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
25086
25087 Switch to using configure's configdirs.
25088 * Makefile.in (Makefile): add configure.in dependency.
25089 (SUBDIRS): removed redundant assignment.
25090 * configure.in: switch subdirs assignment to configdirs.
25091 * gdb.t*/configure.in: new files.
25092
25093Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
25094
25095 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
25096 works.
25097
25098Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
25099
25100 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
25101 in explicit rules. Apparently this is not supported by some makes.
25102
25103Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
25104
25105 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
25106
25107Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25108
25109 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
25110 disappeared.
25111
25112Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
25113
25114 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
25115
25116Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
25117
25118 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
25119 watchpoint problem that is now fixed.
25120 * gdb.t30/chexp.exp: Remove setup_xfail for printing
25121 uninitialized convenience variables.
25122 * gdb.t31/chillvars.exp: Fix expected patterns for printing
25123 structures.
25124
25125Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25126
25127 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
25128 which causes expect to get out of sync with gdb on long output
25129 from help set.
25130 * gdb.t09/corefile.exp: Make expected pattern for core file
25131 failing signal and frame output format less sun specific.
25132
25133Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
25134
25135 * gdb.t31/chillvars.exp: Add and remove initial dummy
25136 breakpoint, so that symbol table is forced in.
25137 (Needed at least on Sunos4, though it seems not SVR4.)
25138 * gdb.t31/chillvars.exp: Update for changed output format.
25139
25140Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
25141
a9c64011 25142 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
25143
25144Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
25145
25146 * Makefile.in: Added --srcdir when invoking runtest, removed the
25147 need for a local config file. (optional now)
25148
25149Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
25150
25151 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
25152 failure count used to force early termination. Add some more
25153 expected failures for gnu style demangling.
25154
25155Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25156
25157 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
25158 pmi variable from gdb.t20/gdbme to get optimized away.
25159 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
25160 Check for written corefile upon timeout _and_ eof.
25161
25162Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25163
25164 * config/unix-gdb.exp: Add missing return 0.
25165
25166Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25167
25168 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
25169 test termination.
25170
25171Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
25172
25173 * configure.in (subdirs): Put back gdb.t17 which mysteriously
25174 disappeared.
25175
25176Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
25177
25178 * gdb.t10/crossload.exp: Disable the i860-elf test until such
25179 time as i860 support works.
25180
d63a86f8 25181 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
25182 "backtrace 100\r" rather than just "backtrace\r", to match last
25183 change.
25184
25185Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
25186
25187 * config/udi-gdb.exp (gdb_exit): Remove close command.
25188 (gdb_target_udi): New procedure to set the UDI target.
25189 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
25190 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
25191 Added waits for prompts after several question responses. Added
25192 some more responses used by a29k-amd-udi-gdb.
25193 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
25194 pass different arguments, restart UDI connection after program
25195 completion.
25196 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
25197 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
25198 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
25199 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
25200 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
25201 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
25202 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
25203 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
25204 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
25205 after program completion.
25206 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
25207 compiled with a SELECT_VECS setting.
25208 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
25209 infinite recursion.
25210
25211 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
25212 Added checks for COFF results, and made them expected failures for
25213 all targets. It would be better to make them expected failures
25214 for COFF targets only.
25215
25216Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
25217
25218 * Makefile.in: add null dvi target, don't bother to recurse
25219 through test directories for info and install-info; rename
25220 $(datadir) to be dejagnu instead of deja-gnu
25221
25222Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
25223
25224 * gdb.t31/gdbme.ch: Re-enable code that previously caused
25225 compiler to coredump.
25226 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
25227 code.
25228
25229Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
25230
25231 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
25232 coredump.
25233 * gdb.t31/chillvars.exp: Comment out tests that depend on that
25234 code.
25235
25236Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
25237
25238 * gdb.t03/ptype.exp: tests for return code from gdb_test.
25239 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
25240 which in a shell. Deletes xgdb when done.
25241 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
25242 Tests the return from the "set height" or "set width" commands.
25243 Added a few return codes where needed.
25244
25245Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
25246
25247 * Makefile.in (SUBDIRS): Add gdb.t17.
25248 * configure.in (subdirs): Add gdb.t17.
25249 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
25250 files to test gdb's calling of functions in the inferior with
25251 the correct arguments and gdb's ability to retrieve any
25252 result returned.
25253
25254Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
25255
25256 * config/unix-gdb.exp (gdb_exit): Remove close commands that
25257 may be called after gdb goes away. Previous versions of expect
25258 needed these to avoid file descriptor leaks, but they cause
25259 errors with the current revision of expect.
25260 * gdb.t00/gdbvars.exp: Use -re on expected output after
25261 setting sevenbit-strings.
25262 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
25263 to set sevenbit-strings consistent across tests.
25264 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
25265 set sevenbit-strings consistent across tests.
25266
25267Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
25268
25269 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
25270 expected output to match current "expect" expectations.
25271
25272Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
25273
25274 * gdb.t00/default.exp: Change expected output for default "source"
25275 command, to match new gdb behavior which requires a filename to
25276 source.
25277
25278Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
25279
25280 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
25281 expected fail for i486-*-* that misses the marker2 function.
25282 * gdb.t10/crossload.exp (bfddefault): Allow successful
25283 recognition of a format to pass even if no symbols are found.
25284 Explicitly catch failures where the format is not recognized
25285 or is ambiguous, and add the reason to the fail message.
25286 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
25287 the cause is and invalid target and add reason to failure message.
25288 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
25289 elf32-i386, elf32-sparc, and elf32-i860.
25290 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
25291 Set up expected failure for 'filename'::variable scope resolution,
25292 which is now apparently broken on all targets.
25293 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
25294 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
25295 gdb.t23/templates.exp: Change failure for missing binfile into
25296 just a warning.
25297 gdb.t21/demangle.exp: Change all cfront references to 'arm'
25298 references.
25299
25300Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
25301
25302 * gdb.t00/default.exp: Add expected output for default "source"
25303 command, to match new gdb behavior.
25304 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
25305
25306Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
25307
25308 * config/*-gdb.exp: returns an error, rather than exiting on
25309 internal errors.
25310
25311Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
25312
25313 * gdb.t03/gdbme.c: Add pointer to struct variable.
25314 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
25315 referencing struct members.
25316
25317Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
25318
25319 * configure.in (mips-idt-ecoff): New target.
25320 * config/mips-gdb.exp: New file for remote board using MIPS remote
25321 debugging protocol.
25322
25323 * Redid configuration scheme. Removed gdb.t*/configure.in.
25324 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
25325 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
25326 distclean targets. Built executables via .o files. Adjusted
25327 tests to account for source files in $(srcdir) rather than
25328 $(objdir).
25329 * lib/gdb.exp (runto): Don't expect () after the function name,
25330 because it may have arguments.
25331
25332Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
25333
25334 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
25335 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
25336 expected failures for mips-idt-* and mips-sgi-*.
25337 * gdb.t00/default.exp (attach): Kill process if requested.
25338 * gdb.t00/help.exp (help target core, help target): Accept a gdb
25339 that does not read core files.
25340 * gdb.t01/run.exp: Removed checks for exit status code.
25341 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
25342 it is linked in.
25343 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
25344 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
25345 appropriate, rather than doing it by hand.
25346 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
25347 execution.
25348 * gdb.t10/crossload.exp: Kill existing program if needed.
25349 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
25350 appropriate, rather than doing it by hand. Always increase
25351 timeout for this test, not just for VxWorks.
25352
25353Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
25354
25355 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
25356 of Chill STRUCT types and STRUCT values.
25357 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
25358 than "char".
25359 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 25360 struct2): New struct definitions and initializations to test
c906108c
SS
25361 simple Chill STRUCT types.
25362
25363Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
25364
25365 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
25366 the null byte at the end of strings.
25367 * gdb.t00/default.exp: Make show version insensitive to copyright
25368 date.
25369 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
25370 to avoid dependencies on target char signedness.
25371 * gdb.t16/printcmds.exp: Update expected results for explicitly
25372 unsigned char.
25373 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
25374 now work.
25375 * gdb.t21/demangle.exp: Add many more patterns for template
25376 demangling, most of them being expected failures.
25377 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
25378 string we are matching for, to match on the whole string.
25379 * gdb.t21/demangle.exp: Add many new test strings to demangle,
25380 and fix a whole bunch that had incorrect expected output but were
25381 passing anyway because of the bug in "proc demangle".
25382 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
25383 type.
25384 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
25385
25386Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
25387
a9c64011
AS
25388 * gdb/testsuite: made modifications to testcases, etc., to allow
25389 them to work properly given the reorganization of deja-gnu and the
25390 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
25391
25392Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
25393
25394 * gdb/testsuite: Initial creation of gdb/testsuite.
25395 Migrated dejagnu testcases and support files for testing nm to
25396 gdb/testsuite from deja-gnu. These files were moved "as is"
25397 with no modifications. This migration is part of a major overhaul
25398 of dejagnu. The modifications to these testcases, etc., which
25399 will allow them to work with the new version of dejagnu will be
25400 made in a future update.
48efe704 25401
8d8cb839 25402 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 25403\f
8d8cb839
EZ
25404;; Local Variables:
25405;; mode: change-log
25406;; left-margin: 8
25407;; fill-column: 74
25408;; version-control: never
25409;; End:
902f2ccb
MC
25410
25411 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
ed6df200 25412 2003, 2004, 2005 Free Software Foundation, Inc.
902f2ccb
MC
25413 Copying and distribution of this file, with or without modification,
25414 are permitted provided the copyright notice and this notice are preserved.