]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
* breakpoint.c (parse_breakpoint_sals): Remove unused variable
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
5888842d
JK
12012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2
3 * gdb.base/valgrind-infcall.exp (continue #$continue_count): Use
4 global variable loop, not a 'break'. Add loop count limit to 100.
5 Add new fail case for terminated vgdb.
6
4f69f4c2
JK
72012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8 Jean-Marc Saffroy <saffroy@gmail.com>
9
10 PR 11804
11 * gdb.base/gcore-relro.exp: New file.
12 * gdb.base/gcore-relro-main.c: New file.
13 * gdb.base/gcore-relro-lib.c: New file.
14
e2de5390
JK
152012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16
17 Do not false FAIL with old GCCs.
18 * gdb.base/watchpoint.exp (self-delete local watch) <$no_hw>: XFAIL for
19 GCC < 4.5 in $no_hw mode.
20
606603c5
JK
212012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
22
23 * gdb.base/default.exp (cd): Accept new directory with no arguments.
24
777f26c2
JK
252012-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
26
27 * gdb.base/list.exp (test_only_end): New function.
28 Call it.
29
2c12abee
TT
302012-08-06 Tom Tromey <tromey@redhat.com>
31
32 * gdb.python/py-mi.exp: Add test for printer whose children
33 are a list.
34 * gdb.python/py-prettyprint.c (struct children_as_list): New.
35 (main): New variable children_as_list.
36 * gdb.python/py-prettyprint.py (class pp_children_as_list):
37 New.
38 (register_pretty_printers): Register new printer.
39
0eae2cf4
EBM
402012-08-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
41
42 * gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's
43 symbols. Abort if vgdb remote connection is closed.
44
09e0881d
DE
452012-08-02 Doug Evans <dje@google.com>
46
47 * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.
48
b40f514f
SDJ
492012-08-02 Sergio Durigan Junior <sergiodj@redhat.com>
50
51 * gdb.base/pc-fp.exp: Adjust testcase to match different outputs from
52 s390x, PowerPC 64 and m68k-linux.
53
11315ae0
UW
542012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
55
56 * gdb.base/annota1.exp: Accept no frames-invalid notification
57 when starting up the program.
58 * gdb.python/py-value.exp (test_value_numeric_ops): Pointers may
59 show a symbolic value as well.
60 * gdb.server/server-exec-info.exp: Skip test when skipping
61 gdbserver test and/or when skipping shared library tests.
62 * gdb.threads/linux-dp.exp: Unset "seen" when done with it to
63 avoid name conflicts with other tests.
64
0547eeed
UW
652012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
66
67 * gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.
68 Fix wrong output on big-endian systems.
69 * gdb.dwarf2/dw2-icc-opaque.exp: Expect @mode32 attribute on
70 4-byte pointer types on 64-bit s390x.
71
bdddb4de
UW
722012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
73
74 * gdb.base/watchpoint.c (func2): Initialize local_a. Add
75 marker comment at the beginning (after intialization).
76 * gdb.base/watchpoint.exp (test_complex_watchpoint): Set func2
77 breakpoint on marker comment instead of function begin.
78 (test_wide_location_1): Do not expect HW watchpoints on 32-bit
79 PowerPC.
80 (test_wide_location_2): Do not expect HW watchpoints on 32-bit
81 or 64-bit PowerPC.
82 (do_tests): Consistently set can-use-hw-watchpoints to 0 if
83 gdb,no_hardware_watchpoints flag is set.
84 (initialize): Remove now redundant can-use-hw-watchpoints change.
85
5d206025
YQ
862012-08-02 Yao Qi <yao@codesourcery.com>
87 Pedro Alves <palves@redhat.com>
88
89 * boards/local-remote-host.exp: New.
90
4f665099
UW
912012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
92
93 * gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.
94 * gdb.base/ctxobj.exp: Call gdb_load_shlibs.
95 * gdb.base/print-file-var.exp: Likewise.
96 * gdb.server/solib-list.exp: Skip on remote targets.
97
b62e2b27
UW
982012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
99
100 * gdb.base/watchpoint.exp (test_wide_location_1): Expect software
101 watchpoints on ARM. When expecting software watchpoints, tolerate
102 (remote) targets that report unsupported hardware watchpoint only
103 at continue time.
104 (test_wide_location_2): Likewise.
105
a967a851
JK
1062012-08-01 Jan Kratochvil <jan.kratochvil@redhat.com>
107
108 * gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more
109 valgrind versions.
110
75d9f9ff 1112012-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
a14dd77e
JK
112
113 * gdb.base/valgrind-infcall.c: New file.
114 * gdb.base/valgrind-infcall.exp: New file.
115
75d9f9ff
JK
116 * gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
117
7f9b2034
DE
1182012-07-30 Doug Evans <dje@google.com>
119
85220e01
DE
120 * gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
121 * gdb.dwarf2/pr13961.S: Ditto.
122
7f9b2034
DE
123 * gdb.dwarf2/dw4-sig-types.exp: Fix typo.
124
4e969b4f
AB
1252012-07-30 Andrew Burgess <aburgess@broadcom.com>
126
127 * gdb.mi/mi-var-invalidate.exp: Create a floating variable and
128 change its format immediately after reloading the binary.
129
e7de8362
JK
1302012-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
131
132 Fix testsuite regression after --use-deprecated-index-sections removal.
133 * gdb.base/annota1.exp (run until main breakpoint): Update the expect
134 string.
135 * gdb.base/async-shell.exp (gdbindex_warning_re): Likewise.
136
7255706c
YQ
1372012-07-27 Yao Qi <yao@codesourcery.com>
138
139 KFAIL for PR remote/14161.
140 * gdb.trace/strace.exp (strace_remove_socket): kfail for native.
141 Cleanup socket files.
142 (strace_info_marker): Detach inferior.
143
f2e8016f
TT
1442012-07-26 Tom Tromey <tromey@redhat.com>
145
146 * gdb.objc/print.exp (test_float_accepted): Remove kfails.
147
f66713d2
JK
1482012-07-26 Markus Metzger <markus.t.metzger@intel.com>
149
150 * gdb.python/py-inferior.c (thread): New function.
151 (check_threads): New function.
152 (test_threads): New function.
153 * gdb.python/py-inferior.exp: Added test.
154 Replaced runto with continue to breakpoint.
155
8223e12c
TT
1562012-07-26 Tom Tromey <tromey@redhat.com>
157
158 * lib/ada.exp (standard_ada_testfile): New proc.
159 * gdb.ada/aliased_array.exp: Use standard_ada_testfile.
160 * gdb.ada/array_bounds.exp: Use standard_ada_testfile.
161 * gdb.ada/array_return.exp: Use standard_ada_testfile.
162 * gdb.ada/array_subscript_addr.exp: Use standard_ada_testfile.
163 * gdb.ada/arrayidx.exp: Use standard_ada_testfile.
164 * gdb.ada/arrayparam.exp: Use standard_ada_testfile.
165 * gdb.ada/arrayptr.exp: Use standard_ada_testfile.
166 * gdb.ada/atomic_enum.exp: Use standard_ada_testfile.
167 * gdb.ada/bad-task-bp-keyword.exp: Use standard_ada_testfile.
168 * gdb.ada/bp_enum_homonym.exp: Use standard_ada_testfile.
169 * gdb.ada/bp_on_var.exp: Use standard_ada_testfile.
170 * gdb.ada/bp_range_type.exp: Use standard_ada_testfile.
171 * gdb.ada/call_pn.exp: Use standard_ada_testfile.
172 * gdb.ada/catch_ex.exp: Use standard_ada_testfile.
173 * gdb.ada/char_enum.exp: Use standard_ada_testfile.
174 * gdb.ada/char_param.exp: Use standard_ada_testfile.
175 * gdb.ada/complete.exp: Use standard_ada_testfile.
176 * gdb.ada/cond_lang.exp: Use standard_ada_testfile,
177 standard_output_file.
178 * gdb.ada/dyn_loc.exp: Use standard_ada_testfile.
179 * gdb.ada/enum_idx_packed.exp: Use standard_ada_testfile.
180 * gdb.ada/exec_changed.exp: Use standard_ada_testfile,
181 standard_output_file.
182 * gdb.ada/exprs.exp: Use standard_ada_testfile.
183 * gdb.ada/fixed_cmp.exp: Use standard_ada_testfile.
184 * gdb.ada/fixed_points.exp: Use standard_ada_testfile.
185 * gdb.ada/formatted_ref.exp: Use standard_ada_testfile.
186 * gdb.ada/frame_args.exp: Use standard_ada_testfile.
187 * gdb.ada/fullname_bp.exp: Use standard_ada_testfile.
188 * gdb.ada/fun_addr.exp: Use standard_ada_testfile.
189 * gdb.ada/fun_in_declare.exp: Use standard_ada_testfile.
190 * gdb.ada/funcall_param.exp: Use standard_ada_testfile.
191 * gdb.ada/homonym.exp: Use standard_ada_testfile.
192 * gdb.ada/info_locals_renaming.exp: Use standard_ada_testfile.
193 * gdb.ada/int_deref.exp: Use standard_ada_testfile.
194 * gdb.ada/interface.exp: Use standard_ada_testfile.
195 * gdb.ada/lang_switch.exp: Use standard_ada_testfile,
196 standard_output_file
197 * gdb.ada/mi_catch_ex.exp: Use standard_ada_testfile.
198 * gdb.ada/mi_task_arg.exp: Use standard_ada_testfile.
199 * gdb.ada/mi_task_info.exp: Use standard_ada_testfile.
200 * gdb.ada/mod_from_name.exp: Use standard_ada_testfile.
201 * gdb.ada/nested.exp: Use standard_ada_testfile.
202 * gdb.ada/null_array.exp: Use standard_ada_testfile.
203 * gdb.ada/null_record.exp: Use standard_ada_testfile.
204 * gdb.ada/operator_bp.exp: Use standard_ada_testfile.
205 * gdb.ada/packed_array.exp: Use standard_ada_testfile.
206 * gdb.ada/packed_tagged.exp: Use standard_ada_testfile.
207 * gdb.ada/print_chars.exp: Use standard_ada_testfile.
208 * gdb.ada/print_pc.exp: Use standard_ada_testfile.
209 * gdb.ada/ptr_typedef.exp: Use standard_ada_testfile.
210 * gdb.ada/ptype_field.exp: Use standard_ada_testfile.
211 * gdb.ada/ptype_tagged_param.exp: Use standard_ada_testfile.
212 * gdb.ada/rec_return.exp: Use standard_ada_testfile.
213 * gdb.ada/ref_param.exp: Use standard_ada_testfile.
214 * gdb.ada/ref_tick_size.exp: Use standard_ada_testfile.
215 * gdb.ada/same_enum.exp: Use standard_ada_testfile.
216 * gdb.ada/set_pckd_arr_elt.exp: Use standard_ada_testfile.
217 * gdb.ada/small_reg_param.exp: Use standard_ada_testfile.
218 * gdb.ada/start.exp: Use standard_ada_testfile.
219 * gdb.ada/str_ref_cmp.exp: Use standard_ada_testfile.
220 * gdb.ada/sym_print_name.exp: Use standard_ada_testfile.
221 * gdb.ada/taft_type.exp: Use standard_ada_testfile.
222 * gdb.ada/tagged.exp: Use standard_ada_testfile.
223 * gdb.ada/tagged_not_init.exp: Use standard_ada_testfile.
224 * gdb.ada/task_bp.exp: Use standard_ada_testfile.
225 * gdb.ada/tasks.exp: Use standard_ada_testfile.
226 * gdb.ada/tick_last_segv.exp: Use standard_ada_testfile.
227 * gdb.ada/type_coercion.exp: Use standard_ada_testfile.
228 * gdb.ada/uninitialized_vars.exp: Use standard_ada_testfile.
229 * gdb.ada/variant_record_packed_array.exp: Use standard_ada_testfile.
230 * gdb.ada/watch_arg.exp: Use standard_ada_testfile.
231 * gdb.ada/whatis_array_val.exp: Use standard_ada_testfile.
232 * gdb.ada/widewide.exp: Use standard_ada_testfile.
233
bbec57e4
JK
2342012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
235
236 Fix testsuite regression after --use-deprecated-index-sections removal.
237 * lib/mi-support.exp (gdbindex_warning_re): Update the expect string.
238
9cc8e32c
JK
2392012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
240
241 Fix compatibility with Tcl before 7.5.
242 * lib/future.exp (lreverse): New function if it does not exist.
243
ea5ca7b5
MK
2442012-07-25 Marc Khouzam <marc.khouzam@ericsson.com>
245
246 * gdb.mi/mi-pending.c: New method to set a second pending
247 breakpoint.
248 * gdb.mi/mi-pending.exp: Set a pending breakpoint with a
249 condition.
250
64776a0b
PA
2512012-07-20 Pedro Alves <palves@redhat.com>
252
253 PR threads/11692
254 PR gdb/12203
255
256 * gdb.threads/create-fail.c: New file.
257 * gdb.threads/create-fail.exp: New file.
258
13e4e967
PA
2592012-07-19 Pedro Alves <palves@redhat.com>
260
261 * config/monitor.exp (gdb_load): Remove redundant ';' in for loop.
262 * config/vx.exp (gdb_start): Likewise.
263 * gdb.base/printcmds.exp (test_print_repeats_10): Likewise.
264 * gdb.base/setvar.exp (test_set): Likewise.
265 * gdb.base/sigall.exp: Use foreach+lrange instead of for+continue.
266 * gdb.reverse/sigall-precsave.exp: Likewise.
267 * gdb.reverse/sigall-reverse.exp: Likewise.
268
b7aefa4d
PA
2692012-07-19 Pedro Alves <palves@redhat.com>
270
271 * gdb.reverse/sigall-precsave.exp: Set a breakpoint at each signal
272 handler before recording.
273
608b4967
TT
2742012-07-19 Tom Tromey <tromey@redhat.com>
275
276 * gdb.cp/casts.exp: Add tests for typeof and decltype.
277 * gdb.cp/casts.cc (decltype): New function.
278 (main): Use it.
279
b1e0c0fa
PA
2802012-07-19 Pedro Alves <palves@redhat.com>
281
282 * gdb.base/sigall.exp (signals): New list.
283 <top level>: Loop over signals in the $signals list instead of
284 calling a test function once per signal.
285 * gdb.reverse/sigall-precsave.exp (signals): New list.
286 <top level>: Loop over signals in the $signals list instead of
287 calling a test function once per signal.
288 * gdb.reverse/sigall-reverse.exp (signals): New list.
289 <top level>: Loop over signals in the $signals list instead of
290 calling a test function once per signal.
291
6ace3df1
YQ
2922012-07-19 Yao Qi <yao@codesourcery.com>
293
294 * gdb.base/setshow.exp: Test 'set args ~'.
295
263a0f8c
JK
2962012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
297
298 * gdb.base/store.exp (check_set): Import gdb_prompt.
299 (continue to wack_${t}): Make it to conditional gdb_test_multiple.
300 (${prefix}; next ${t}): Hide its name, handle it conditionally now.
301
8f043999
JK
3022012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
303
304 PR 11914
305 * gdb.python/py-prettyprint.c (eval_func, eval_sub): New.
306 (main): Call eval_sub.
307 * gdb.python/py-prettyprint.exp:
308 (python execfile ('py-prettyprint.py')): Move it earlier.
309 New breakpoint for eval-break.
310 (continue to breakpoint: eval-break, info locals): New test.
311 (python execfile ('py-prettyprint.py')): Move it from here.
312 * gdb.python/py-prettyprint.py (class pp_eval_type): New.
313 (register_pretty_printers): Register pp_eval_type.
314
725c7b66
JK
3152012-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
316
317 Fix a testcase regression by me.
318 * gdb.dwarf2/fission-reread.S: Fix two DW_FORM_data8 to be
319 DW_FORM_data4.
320
4359dff1
JK
3212012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
322 Doug Evans <dje@google.com>
323
324 * gdb.dwarf2/dw2-minsym-in-cu.S: New file.
325 * gdb.dwarf2/dw2-minsym-in-cu.exp: New file.
326
61e44cfa
JK
3272012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
328
329 Fix gdbserver run regression.
330 * gdb.trace/disconnected-tracing.exp (executabel): Fix typo.
331
93c0ef37
TT
3322012-07-12 Tom Tromey <tromey@redhat.com>
333
334 * lib/gdb.exp (standard_testfile): Don't declare objdir.
335 (clean_restart): Likewise.
336 (core_find): Use standard_output_file.
337
76027ef5
TT
3382012-07-12 Tom Tromey <tromey@redhat.com>
339
340 * gdb.dwarf2/dup-psym.exp: Use prepare_for_testing_full.
341 * gdb.dwarf2/dw2-anonymous-func.exp: Use
342 prepare_for_testing_full.
343 * gdb.dwarf2/dw2-basic.exp: Use prepare_for_testing_full.
344 * gdb.dwarf2/dw2-compressed.exp: Use prepare_for_testing_full.
345 * gdb.dwarf2/dw2-const.exp: Use prepare_for_testing_full.
346 * gdb.dwarf2/dw2-cu-size.exp: Use prepare_for_testing_full.
347 * gdb.dwarf2/dw2-intercu.exp: Use prepare_for_testing_full.
348 * gdb.dwarf2/dw2-intermix.exp: Use prepare_for_testing_full.
349 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use
350 prepare_for_testing_full.
351 * gdb.dwarf2/dw2-producer.exp: Use prepare_for_testing_full.
352 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use
353 prepare_for_testing_full.
354 * gdb.dwarf2/dw2-restore.exp: Use prepare_for_testing_full.
355 * gdb.dwarf2/dw2-strp.exp: Use prepare_for_testing_full.
356 * gdb.dwarf2/mac-fileno.exp: Use prepare_for_testing_full.
357
85b4440a
TT
3582012-07-12 Tom Tromey <tromey@redhat.com>
359
360 * lib/gdb.exp (build_executable_from_specs): New proc, from
361 build_executable.
362 (build_executable): Use it.
363 (prepare_for_testing_full): New proc.
364
55baab26
TT
3652012-07-11 Tom Tromey <tromey@redhat.com>
366
367 * gdb.reverse/break-precsave.exp: Use standard_output_file.
368 * gdb.reverse/consecutive-precsave.exp: Use standard_output_file.
369 * gdb.reverse/finish-precsave.exp: Use standard_output_file.
370 * gdb.reverse/i386-precsave.exp: Use standard_output_file.
371 * gdb.reverse/machinestate-precsave.exp: Use standard_output_file.
372 * gdb.reverse/sigall-precsave.exp: Use standard_output_file.
373 * gdb.reverse/solib-precsave.exp: Use standard_output_file.
374 * gdb.reverse/step-precsave.exp: Use standard_output_file.
375 * gdb.reverse/until-precsave.exp: Use standard_output_file.
376 * gdb.reverse/watch-precsave.exp: Use standard_output_file.
377
298a9cf0
TT
3782012-07-10 Tom Tromey <tromey@redhat.com>
379
380 * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile,
381 standard_output_file.
382 * gdb.mi/gdb2549.exp: Use standard_testfile.
383 * gdb.mi/gdb669.exp: Use standard_testfile.
384 * gdb.mi/gdb701.exp: Use standard_testfile.
385 * gdb.mi/gdb792.exp: Use standard_testfile.
386 * gdb.mi/mi-async.exp: Use standard_testfile.
387 * gdb.mi/mi-basics.exp: Use standard_testfile.
388 * gdb.mi/mi-break.exp: Use standard_testfile.
389 * gdb.mi/mi-cli.exp: Use standard_testfile.
390 * gdb.mi/mi-console.exp: Use standard_testfile.
391 * gdb.mi/mi-disassemble.exp: Use standard_testfile.
392 * gdb.mi/mi-eval.exp: Use standard_testfile.
393 * gdb.mi/mi-file-transfer.exp: Use standard_testfile.
394 * gdb.mi/mi-file.exp: Use standard_testfile.
395 * gdb.mi/mi-inheritance-syntax-error.exp: Use standard_testfile.
396 * gdb.mi/mi-logging.exp: Use standard_testfile.
397 * gdb.mi/mi-nonstop-exit.exp: Use standard_testfile.
398 * gdb.mi/mi-nonstop.exp: Use standard_testfile.
399 * gdb.mi/mi-ns-stale-regcache.exp: Use standard_testfile.
400 * gdb.mi/mi-nsintrall.exp: Use standard_testfile.
401 * gdb.mi/mi-nsmoribund.exp: Use standard_testfile.
402 * gdb.mi/mi-nsthrexec.exp: Use standard_testfile.
403 * gdb.mi/mi-pending.exp: Use standard_testfile,
404 standard_output_file.
405 * gdb.mi/mi-pthreads.exp: Use standard_testfile.
406 * gdb.mi/mi-read-memory.exp: Use standard_testfile.
407 * gdb.mi/mi-regs.exp: Use standard_testfile.
408 * gdb.mi/mi-return.exp: Use standard_testfile.
409 * gdb.mi/mi-reverse.exp: Use standard_testfile.
410 * gdb.mi/mi-simplerun.exp: Use standard_testfile.
411 * gdb.mi/mi-solib.exp: Use standard_testfile,
412 standard_output_file.
413 * gdb.mi/mi-stack.exp: Use standard_testfile.
414 * gdb.mi/mi-stepi.exp: Use standard_testfile.
415 * gdb.mi/mi-stepn.exp: Use standard_testfile.
416 * gdb.mi/mi-syn-frame.exp: Use standard_testfile.
417 * gdb.mi/mi-until.exp: Use standard_testfile.
418 * gdb.mi/mi-var-block.exp: Use standard_testfile.
419 * gdb.mi/mi-var-child-f.exp: Use standard_testfile.
420 * gdb.mi/mi-var-child.exp: Use standard_testfile.
421 * gdb.mi/mi-var-cmd.exp: Use standard_testfile.
422 * gdb.mi/mi-var-cp.exp: Use standard_testfile.
423 * gdb.mi/mi-var-display.exp: Use standard_testfile.
424 * gdb.mi/mi-var-invalidate.exp: Use standard_testfile,
425 standard_output_file.
426 * gdb.mi/mi-var-rtti.exp: Use standard_testfile.
427 * gdb.mi/mi-watch-nonstop.exp: Use standard_testfile.
428 * gdb.mi/mi-watch.exp: Use standard_testfile.
429 * gdb.mi/mi2-amd64-entry-value.exp: Use standard_testfile.
430 * gdb.mi/mi2-basics.exp: Use standard_testfile.
431 * gdb.mi/mi2-break.exp: Use standard_testfile.
432 * gdb.mi/mi2-cli.exp: Use standard_testfile.
433 * gdb.mi/mi2-console.exp: Use standard_testfile.
434 * gdb.mi/mi2-disassemble.exp: Use standard_testfile.
435 * gdb.mi/mi2-eval.exp: Use standard_testfile.
436 * gdb.mi/mi2-file.exp: Use standard_testfile.
437 * gdb.mi/mi2-pthreads.exp: Use standard_testfile.
438 * gdb.mi/mi2-read-memory.exp: Use standard_testfile.
439 * gdb.mi/mi2-regs.exp: Use standard_testfile.
440 * gdb.mi/mi2-return.exp: Use standard_testfile.
441 * gdb.mi/mi2-simplerun.exp: Use standard_testfile.
442 * gdb.mi/mi2-stack.exp: Use standard_testfile.
443 * gdb.mi/mi2-stepi.exp: Use standard_testfile.
444 * gdb.mi/mi2-syn-frame.exp: Use standard_testfile.
445 * gdb.mi/mi2-until.exp: Use standard_testfile.
446 * gdb.mi/mi2-var-block.exp: Use standard_testfile.
447 * gdb.mi/mi2-var-child.exp: Use standard_testfile.
448 * gdb.mi/mi2-var-cmd.exp: Use standard_testfile.
449 * gdb.mi/mi2-var-display.exp: Use standard_testfile.
450 * gdb.mi/mi2-watch.exp: Use standard_testfile.
451
f5f3a911
TT
4522012-07-10 Tom Tromey <tromey@redhat.com>
453
454 * gdb.cp/abstract-origin.exp: Use standard_testfile.
455 * gdb.cp/ambiguous.exp: Use standard_testfile,
456 prepare_for_testing.
457 * gdb.cp/annota2.exp: Use standard_testfile, prepare_for_testing.
458 * gdb.cp/annota3.exp: Use standard_testfile, prepare_for_testing.
459 * gdb.cp/anon-ns.exp: Use standard_testfile.
460 * gdb.cp/anon-struct.exp: Use standard_testfile.
461 * gdb.cp/anon-union.exp: Use standard_testfile,
462 prepare_for_testing.
463 * gdb.cp/arg-reference.exp: Use standard_testfile,
464 prepare_for_testing.
465 * gdb.cp/bool.exp: Use standard_testfile, prepare_for_testing.
466 * gdb.cp/breakpoint.exp: Use standard_testfile,
467 prepare_for_testing.
468 * gdb.cp/bs15503.exp: Use standard_testfile, prepare_for_testing.
469 * gdb.cp/call-c.exp: Use standard_testfile, clean_restart,
470 standard_output_file.
471 * gdb.cp/casts.exp: Use standard_testfile, prepare_for_testing.
472 * gdb.cp/class2.exp: Use standard_testfile, prepare_for_testing.
473 * gdb.cp/classes.exp: Use standard_testfile, prepare_for_testing.
474 (test_static_members): Update.
475 * gdb.cp/cmpd-minsyms.exp: Use standard_testfile.
476 * gdb.cp/converts.exp: Use standard_testfile.
477 * gdb.cp/cp-relocate.exp: Use standard_testfile.
478 * gdb.cp/cpcompletion.exp: Use standard_testfile,
479 prepare_for_testing.
480 * gdb.cp/cpexprs.exp: Use standard_testfile, prepare_for_testing.
481 * gdb.cp/cplabel.exp: Use standard_testfile.
482 * gdb.cp/cplusfuncs.exp: Use standard_testfile,
483 prepare_for_testing.
484 * gdb.cp/ctti.exp: Use standard_testfile, prepare_for_testing.
485 * gdb.cp/derivation.exp: Use standard_testfile,
486 prepare_for_testing.
487 * gdb.cp/destrprint.exp: Use standard_testfile.
488 * gdb.cp/dispcxx.exp: Use standard_testfile.
489 * gdb.cp/exception.exp: Use standard_testfile,
490 prepare_for_testing.
491 * gdb.cp/expand-psymtabs-cxx.exp: Use standard_testfile.
492 * gdb.cp/extern-c.exp: Use standard_testfile,
493 prepare_for_testing.
494 * gdb.cp/formatted-ref.exp: Use standard_testfile,
495 prepare_for_testing.
496 * gdb.cp/fpointer.exp: Use standard_testfile.
497 * gdb.cp/gdb1355.exp: Use standard_testfile, prepare_for_testing.
498 * gdb.cp/gdb2384.exp: Use standard_testfile, clean_restart,
499 standard_output_file.
500 * gdb.cp/gdb2495.exp: Use standard_testfile, prepare_for_testing.
501 * gdb.cp/hang.exp: Use standard_testfile, prepare_for_testing.
502 * gdb.cp/infcall-dlopen.exp: Use standard_testfile,
503 standard_output_file.
504 * gdb.cp/inherit.exp: Use standard_testfile, prepare_for_testing.
505 (do_tests): Update.
506 * gdb.cp/koenig.exp: Use standard_testfile.
507 * gdb.cp/local.exp: Use standard_testfile, prepare_for_testing.
508 * gdb.cp/m-data.exp: Use standard_testfile, prepare_for_testing.
509 * gdb.cp/m-static.exp: Use standard_testfile,
510 prepare_for_testing.
511 * gdb.cp/mb-ctor.exp: Use standard_testfile, prepare_for_testing.
512 * gdb.cp/mb-inline.exp: Use standard_testfile,
513 prepare_for_testing.
514 * gdb.cp/mb-templates.exp: Use standard_testfile,
515 prepare_for_testing.
516 * gdb.cp/member-ptr.exp: Use standard_testfile,
517 prepare_for_testing.
518 * gdb.cp/meth-typedefs.exp: Use standard_testfile.
519 * gdb.cp/method.exp: Use standard_testfile, prepare_for_testing.
520 * gdb.cp/method2.exp: Use standard_testfile.
521 * gdb.cp/minsym-fallback.exp: Use standard_testfile,
522 standard_output_file.
523 * gdb.cp/misc.exp: Use standard_testfile, prepare_for_testing.
524 (do_tests): Update.
525 * gdb.cp/namespace-enum.exp: Use standard_testfile,
526 prepare_for_testing.
527 * gdb.cp/namespace-nested-import.exp: Use standard_testfile,
528 prepare_for_testing.
529 * gdb.cp/namespace.exp: Use standard_testfile,
530 prepare_for_testing.
531 * gdb.cp/nextoverthrow.exp: Use standard_testfile.
532 * gdb.cp/no-dmgl-verbose.exp: Use standard_testfile.
533 * gdb.cp/nsdecl.exp: Use standard_testfile, prepare_for_testing.
534 * gdb.cp/nsimport.exp: Use standard_testfile,
535 prepare_for_testing.
536 * gdb.cp/nsnested.exp: Use standard_testfile.
537 * gdb.cp/nsnoimports.exp: Use standard_testfile.
538 * gdb.cp/nsrecurs.exp: Use standard_testfile,
539 prepare_for_testing.
540 * gdb.cp/nsstress.exp: Use standard_testfile,
541 prepare_for_testing.
542 * gdb.cp/nsusing.exp: Use standard_testfile, prepare_for_testing.
543 * gdb.cp/operator.exp: Use standard_testfile.
544 * gdb.cp/oranking.exp: Use standard_testfile.
545 * gdb.cp/overload-const.exp: Use standard_testfile.
546 * gdb.cp/overload.exp: Use standard_testfile,
547 prepare_for_testing.
548 * gdb.cp/ovldbreak.exp: Use standard_testfile.
549 * gdb.cp/ovsrch.exp: Use standard_testfile.
550 * gdb.cp/paren-type.exp: Use standard_testfile.
551 * gdb.cp/pass-by-ref.exp: Use standard_testfile,
552 prepare_for_testing.
553 * gdb.cp/pr-1023.exp: Use standard_testfile, prepare_for_testing.
554 * gdb.cp/pr-1210.exp: Use standard_testfile, prepare_for_testing.
555 * gdb.cp/pr-574.exp: Use standard_testfile, prepare_for_testing.
556 * gdb.cp/pr10687.exp: Use standard_testfile, clean_restart.
557 * gdb.cp/pr10728.exp: Use standard_testfile,
558 standard_output_file.
559 * gdb.cp/pr12028.exp: Use standard_testfile.
560 * gdb.cp/pr9067.exp: Use standard_testfile, prepare_for_testing.
561 * gdb.cp/pr9167.exp: Use standard_testfile.
562 * gdb.cp/pr9631.exp: Use standard_testfile, prepare_for_testing.
563 * gdb.cp/printmethod.exp: Use standard_testfile,
564 prepare_for_testing.
565 * gdb.cp/psmang.exp: Use standard_testfile, clean_restart.
566 * gdb.cp/psymtab-parameter.exp: Use standard_testfile.
567 * gdb.cp/ptype-cv-cp.exp: Use standard_testfile.
568 * gdb.cp/re-set-overloaded.exp: Use standard_testfile,
569 standard_output_file.
570 * gdb.cp/readnow-language.exp: Use standard_testfile.
571 * gdb.cp/ref-params.exp: Use standard_testfile, build_executable.
572 (gdb_start_again): Use clean_restart.
573 * gdb.cp/ref-types.exp: Use standard_testfile,
574 prepare_for_testing.
575 * gdb.cp/rtti.exp: Use standard_testfile, prepare_for_testing.
576 * gdb.cp/shadow.exp: Use standard_testfile, prepare_for_testing.
577 * gdb.cp/smartp.exp: Use standard_testfile.
578 * gdb.cp/static-method.exp: Use standard_testfile.
579 * gdb.cp/static-print-quit.exp: Use standard_testfile.
580 * gdb.cp/temargs.exp: Use standard_testfile.
581 * gdb.cp/templates.exp: Use standard_testfile,
582 prepare_for_testing.
583 (do_tests): Update.
584 * gdb.cp/try_catch.exp: Use standard_testfile,
585 prepare_for_testing.
586 * gdb.cp/typedef-operator.exp: Use standard_testfile.
587 * gdb.cp/userdef.exp: Use standard_testfile, prepare_for_testing.
588 * gdb.cp/virtbase.exp: Use standard_testfile,
589 prepare_for_testing.
590 * gdb.cp/virtfunc.exp: Use standard_testfile,
591 prepare_for_testing.
592 (do_tests): Update.
593 * gdb.cp/virtfunc2.exp: Use standard_testfile,
594 prepare_for_testing.
595
686f09d0
TT
5962012-07-10 Tom Tromey <tromey@redhat.com>
597
598 * lib/gdb.exp (standard_testfile): Unset output variables from
599 earlier invocations.
600
9357e021
YQ
6012012-07-10 Yao Qi <yao@codesourcery.com>
602
603 * gdb.mi/gdb2549.exp: Remove -DFAKEARGV from compilation flags.
604 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp: Likewise.
605 * gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp: Likewise.
606 * gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp: Likewise.
607 * gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp: Likewise.
608 * gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp: Likewise.
609 * gdb.mi/mi-return.exp, gdb.mi/mi-reverse.exp: Likewise.
610 * gdb.mi/mi-simplerun.exp, gdb.mi/mi-stack.exp: Likewise.
611 * gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp: Likewise.
612 * gdb.mi/mi-until.exp, gdb.mi/mi-var-block.exp: Likewise.
613 * gdb.mi/mi-var-child.exp, gdb.mi/mi-var-cmd.exp: Likewise.
614 * gdb.mi/mi-var-display.exp: Likewise.
615 * gdb.mi/mi-var-invalidate.exp: Likewise.
616 * gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp: Likewise.
617 * gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp: Likewise.
618 * gdb.mi/mi2-console.exp: Likewise.
619 * gdb.mi/mi2-disassemble.exp: Likewise.
620 * gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp: Likewise.
621 * gdb.mi/mi2-read-memory.exp: Likewise.
622 * gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp: Likewise.
623 * gdb.mi/mi2-simplerun.exp: Likewise.
624 * gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp: Likewise.
625 * gdb.mi/mi2-syn-frame.exp: Likewise.
626 * gdb.mi/mi2-until.exp, gdb.mi/mi2-var-block.exp: Likewise.
627 * gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp: Likewise.
628 * gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp: Likewise.
629
e314d629
TT
6302012-07-09 Tom Tromey <tromey@redhat.com>
631
632 * gdb.base/whatis.exp: Add error checks for improper 'void' uses.
633 * gdb.base/callfuncs.exp: Add cast-based test.
634 * gdb.base/callfuncs.c (voidfunc): New function.
635
06928b3f
DE
6362012-07-08 Doug Evans <dje@google.com>
637
638 * gdb.dwarf2/dw4-sig-type-unused.S: Fix typo.
639
32f11bad
JK
6402012-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
641
642 Fix XFAIL compatibility with old i386 systems.
643 * gdb.base/stale-infcall.exp (test system longjmp tracking support):
644 Check also 'Cannot insert breakpoint 0'.
645
76b83c51
JK
6462012-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
647
648 PR 14321
649 * gdb.base/find.exp
650 (find int64_search_buf, +64/8*100, int64_search_buf): New test.
651
a6fb9c08
TT
6522012-07-06 Tom Tromey <tromey@redhat.com>
653
654 * gdb.base/whatis.exp: Add test.
655
71918a86
TT
6562012-07-06 Tom Tromey <tromey@redhat.com>
657
658 * gdb.base/whatis.exp: Add regression test.
659
fcde5961
TT
6602012-07-06 Tom Tromey <tromey@redhat.com>
661
662 * gdb.base/whatis.exp: Add tests.
663
f9cf0f4a
JK
6642012-07-04 Jan Kratochvil <jan.kratochvil@redhat.com>
665
666 PR 12649
667 * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing
668 gdb_test_multiple $gdb_prompt terminator.
669
979ade8b
PA
6702012-07-04 Pedro Alves <palves@redhat.com>
671
672 * gdb.mi/mi-reverse.exp: Use supports_reverse and
673 supports_process_record.
674
8a980b44
PA
6752012-07-04 Pedro Alves <palves@redhat.com>
676
677 * gdb.ada/packed_tagged/comp_bug.adb: Convert to unix text line
678 endings.
679 * gdb.mi/mi-reverse.exp: Convert to unix text line endings.
680
855ba978
SS
6812012-07-03 Stan Shebs <stan@codesourcery.com>
682
683 * gdb.base/info-os.c (main): Retry resource acquisition until an
684 available one is found.
685 * gdb.base/info-os.exp: Collect resource keys from the program
686 and use them in matching.
687
fcb44371
JK
6882012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
689
690 * gdb.threads/gcore-thread.exp: Remove variable libthread_db_seen.
691 Wrap the test into loop for corefile and core0file.
692
08a67be6
JK
6932012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
694
695 * gdb.dwarf2/fission-reread.S: Remove .section attributes.
696 Change CU pointer size to 4 bytes, adjust .8byte to .4byte. Remove
697 .note.GNU-stack.
698
0f3c2347
JK
699 * gdb.dwarf2/fission-reread.S: Change # comments to /* */ comments.
700
ff4a4500
SDJ
7012012-07-02 Sergio Durigan Junior <sergiodj@redhat.com>
702
703 * gdb.base/help.exp (help b, help br, help bre, help brea, help
704 break): Include help message for the new `-probe' and `-probe-stap'
705 options.
706
d3ce09f5
SS
7072012-07-02 Stan Shebs <stan@codesourcery.com>
708
709 * gdb.base/dprintf.exp: Add agent style tests.
710
a1624241
JK
7112012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
712
713 * gdb.base/stale-infcall.c (infcall): New label test-next.
714 (main): New labels test-pass and test-fail.
715 * gdb.base/stale-infcall.exp: Continue to test-next. Put breakpoint
716 $test_fail_bpnum to test-fail.
717 (test system longjmp tracking support): New test.
718 Delete $test_fail_bpnum.
719 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept also Temporary
720 breakpoint.
721
42e7ad6c
DE
7222012-06-30 Doug Evans <dje@google.com>
723
724 * gdb.dwarf2/fission-reread.S: New file.
725 * gdb.dwarf2/fission-reread.exp: New file.
726
37ce89eb
SS
7272012-06-28 Stan Shebs <stan@codesourcery.com>
728
729 * gdb.mi/mi-logging.exp: New file.
730
e5ef252a
PA
7312012-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
732 Pedro Alves <palves@redhat.com>
733
734 * gdb.threads/siginfo-threads.exp: New file.
735 * gdb.threads/siginfo-threads.c: New file.
736 * gdb.threads/sigstep-threads.exp: New file.
737 * gdb.threads/sigstep-threads.c: New file.
738
22f1fbae
TT
7392012-06-28 Tom Tromey <tromey@redhat.com>
740
741 * gdb.go/package.exp: Partially revert earlier patch; use
742 gdb_compile again. Use standard_output_file.
743
2e3cf129
DE
7442012-06-27 Doug Evans <dje@google.com>
745
746 * gdb.dwarf2/fission-base.c: New file.
747 * gdb.dwarf2/fission-base.S: New file.
748 * gdb.dwarf2/fission-base.exp: New file.
749
785fd303
JK
7502012-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>
751
752 * gdb.dwarf2/callframecfa.exp: Replace $testname by $testfile.
753
1bb9788d
TT
7542012-06-27 Tom Tromey <tromey@redhat.com>
755
756 * gdb.base/macscp1.c (macscp_expr): Add breakpoint comment.
757 * gdb.base/macscp.exp (maybe_kfail): Add test for macro scope.
758
c83ee902
TT
7592012-06-27 Tom Tromey <tromey@redhat.com>
760
761 * gdb.dwarf2/pr10770.exp: Use standard_testfile.
762 * gdb.dwarf2/dw2-var-zero-addr.exp: Use standard_testfile.
763 * gdb.dwarf2/dw2-param-error.exp: Use standard_testfile.
764 * gdb.dwarf2/dw2-op-call.exp: Use standard_testfile.
765 * gdb.dwarf2/dw2-inline-param.exp: Use standard_testfile,
766 prepare_for_testing.
767 * gdb.dwarf2/dw2-inline-break.exp: Use standard_testfile.
768 * gdb.dwarf2/dw2-ifort-parameter.exp: Use standard_testfile.
769 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Use
770 standard_testfile.
771 * gdb.dwarf2/dw2-case-insensitive.exp: Use standard_testfile.
772 * gdb.dwarf2/dw4-sig-types.exp: Use standard_testfile.
773 * gdb.dwarf2/dw2-objfile-overlap.exp: Use standard_testfile.
774 * gdb.dwarf2/callframecfa.exp: Use standard_testfile,
775 prepare_for_testing.
776 * gdb.dwarf2/dup-psym.exp: Use standard_testfile.
777 * gdb.dwarf2/dw2-ada-ffffffff.exp: Use standard_testfile.
778 * gdb.dwarf2/dw2-anonymous-func.exp: Use standard_testfile.
779 * gdb.dwarf2/dw2-bad-parameter-type.exp: Use standard_testfile.
780 * gdb.dwarf2/dw2-basic.exp: Use standard_testfile.
781 * gdb.dwarf2/dw2-compressed.exp: Use standard_testfile.
782 * gdb.dwarf2/dw2-const.exp: Use standard_testfile.
783 * gdb.dwarf2/dw2-cu-size.exp: Use standard_testfile.
784 * gdb.dwarf2/dw2-double-set-die-type.exp: Use standard_testfile.
785 * gdb.dwarf2/dw2-empty-namespace.exp: Use standard_testfile.
786 * gdb.dwarf2/dw2-empty-pc-range.exp: Use standard_testfile.
787 * gdb.dwarf2/dw2-filename.exp: Use standard_testfile.
788 * gdb.dwarf2/dw2-icc-opaque.exp: Use standard_testfile.
789 * gdb.dwarf2/dw2-inheritance.exp: Use standard_testfile.
790 * gdb.dwarf2/dw2-intercu.exp: Use standard_testfile.
791 * gdb.dwarf2/dw2-intermix.exp: Use standard_testfile.
792 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use standard_testfile.
793 * gdb.dwarf2/dw2-modula2-self-type.exp: Use standard_testfile.
794 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use standard_testfile.
795 * gdb.dwarf2/dw2-op-stack-value.exp: Use standard_testfile.
796 * gdb.dwarf2/dw2-producer.exp: Use standard_testfile.
797 * gdb.dwarf2/dw2-ranges.exp: Use standard_testfile,
798 standard_output_file.
799 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use standard_testfile,
800 standard_output_file.
801 * gdb.dwarf2/dw2-restore.exp: Use standard_testfile.
802 * gdb.dwarf2/dw2-simple-locdesc.exp: Use standard_testfile.
803 * gdb.dwarf2/dw2-skip-prologue.exp: Use standard_testfile.
804 * gdb.dwarf2/dw2-stack-boundary.exp: Use standard_testfile.
805 * gdb.dwarf2/dw2-strp.exp: Use standard_testfile.
806 * gdb.dwarf2/dw4-sig-type-unused.exp: Use standard_testfile.
807 * gdb.dwarf2/implptr-64bit.exp: Use standard_testfile.
808 * gdb.dwarf2/implptr-optimized-out.exp: Use standard_testfile.
809 * gdb.dwarf2/implptr.exp: Use standard_testfile.
810 * gdb.dwarf2/mac-fileno.exp: Use standard_testfile.
811 * gdb.dwarf2/member-ptr-forwardref.exp: Use standard_testfile.
812 * gdb.dwarf2/pieces.exp: Use standard_testfile.
813 * gdb.dwarf2/pr11465.exp: Use standard_testfile.
814 * gdb.dwarf2/pr13961.exp: Use standard_testfile.
815 * gdb.dwarf2/valop.exp: Use standard_testfile,
816 prepare_for_testing.
817
5204774b
TT
8182012-06-27 Tom Tromey <tromey@redhat.com>
819
820 * gdb.python/python.exp: Fix regexps in pagination tests.
821
ee0bf529
SCR
8222012-06-26 Siva Chandra Reddy <sivachandra@google.com>
823
824 * gdb.python/py-symtab.exp: Add tests to test the new attribute
825 'last' of gdb.Symtab_and_line.
826 * gdb.python/py-symbol.c: Move break point comment to enable
827 testing of gdb.Symtab_and_line.last.
828
14fcc022
TT
8292012-06-26 Tom Tromey <tromey@redhat.com>
830
831 * gdb.threads/step.c: Remove.
832 * gdb.threads/step.exp: Remove.
833 * gdb.threads/step2.exp: Remove.
834
0efbbabc
TT
8352012-06-26 Tom Tromey <tromey@redhat.com>
836
837 * gdb.threads/watchpoint-fork.exp (test): Use
838 standard_output_file. Don't declare objdir.
839 * gdb.threads/attach-into-signal.exp: Use standard_testfile,
840 standard_output_file.
841 * gdb.threads/attach-stopped.exp: Use standard_testfile.
842 * gdb.threads/bp_in_thread.exp: Use standard_testfile,
843 clean_restart. Remove incdir.
844 * gdb.threads/corethreads.exp: Use standard_testfile.
845 * gdb.threads/execl.exp: Use standard_testfile,
846 standard_output_file, clean_restart.
847 * gdb.threads/fork-child-threads.exp: Use standard_testfile,
848 clean_restart.
849 * gdb.threads/fork-thread-pending.exp: Use standard_testfile,
850 clean_restart.
851 * gdb.threads/gcore-thread.exp: Use standard_testfile. Remove
852 incdir.
853 * gdb.threads/hand-call-in-threads.exp: Use standard_testfile,
854 clean_restart. Remove incdir.
855 * gdb.threads/ia64-sigill.exp: Use standard_testfile.
856 * gdb.threads/interrupted-hand-call.exp: Use standard_testfile,
857 clean_restart. Remove incdir.
858 * gdb.threads/killed.exp: Use standard_testfile, clean_restart.
859 Remove incdir.
860 * gdb.threads/leader-exit.exp: Use standard_testfile.
861 * gdb.threads/linux-dp.exp: Use standard_testfile, clean_restart.
862 * gdb.threads/local-watch-wrong-thread.exp: Use standard_testfile,
863 clean_restart.
864 * gdb.threads/manythreads.exp: Use standard_testfile,
865 clean_restart. Remove incdir.
866 * gdb.threads/multi-create.exp: Use standard_testfile,
867 clean_restart.
868 * gdb.threads/no-unwaited-for-left.exp: Use standard_testfile.
869 * gdb.threads/non-ldr-exc-1.exp: Use standard_testfile.
870 * gdb.threads/non-ldr-exc-2.exp: Use standard_testfile.
871 * gdb.threads/non-ldr-exc-3.exp: Use standard_testfile.
872 * gdb.threads/non-ldr-exc-4.exp: Use standard_testfile.
873 * gdb.threads/pending-step.exp: Use standard_testfile,
874 clean_restart. Remove incdir.
875 * gdb.threads/print-threads.exp: Use standard_testfile,
876 clean_restart. Remove incdir.
877 * gdb.threads/pthread_cond_wait.exp: Use standard_testfile,
878 clean_restart. Remove incdir.
879 * gdb.threads/pthreads.exp: Use standard_testfile, clean_restart.
880 Remove incdir.
881 * gdb.threads/schedlock.exp: Use standard_testfile. Remove
882 incdir.
883 * gdb.threads/sigthread.exp: Use standard_testfile,
884 clean_restart.
885 * gdb.threads/staticthreads.exp: Use standard_testfile,
886 clean_restart. Remove incdir.
887 * gdb.threads/switch-threads.exp: Use standard_testfile,
888 clean_restart. Remove incdir.
889 * gdb.threads/thread-execl.exp: Use standard_testfile,
890 clean_restart. Remove incdir.
891 * gdb.threads/thread-find.exp: Use standard_testfile,
892 clean_restart.
893 * gdb.threads/thread-specific.exp: Use standard_testfile,
894 clean_restart. Remove incdir.
895 * gdb.threads/thread-unwindonsignal.exp: Use standard_testfile,
896 clean_restart. Remove incdir.
897 * gdb.threads/thread_check.exp: Use standard_testfile,
898 clean_restart. Remove incdir.
899 * gdb.threads/thread_events.exp: Use standard_testfile. Remove
900 incdir.
901 * gdb.threads/threadapply.exp: Use standard_testfile,
902 clean_restart. Remove incdir.
903 * gdb.threads/threxit-hop-specific.exp: Use standard_testfile,
904 clean_restart. Remove incdir.
905 * gdb.threads/tls-nodebug.exp: Use standard_testfile,
906 clean_restart.
907 * gdb.threads/tls-shared.exp: Use standard_testfile,
908 clean_restart, standard_output_file.
909 * gdb.threads/tls-var.exp: Use standard_testfile,
910 standard_output_file.
911 * gdb.threads/tls.exp: Use standard_testfile, clean_restart.
912 Remove incdir.
913 * gdb.threads/watchthreads-reorder.exp: Use standard_testfile.
914 * gdb.threads/watchthreads.exp: Use standard_testfile. Remove
915 incdir.
916 * gdb.threads/watchthreads2.exp: Use standard_testfile,
917 clean_restart. Remove incdir.
918
497a5eb0
TT
9192012-06-26 Tom Tromey <tromey@redhat.com>
920
921 * gdb.trace/actions.exp: Use standard_testfile.
922 * gdb.trace/ax.exp: Use standard_testfile.
923 * gdb.trace/backtrace.exp: Use standard_testfile.
924 * gdb.trace/change-loc.exp: Use standard_testfile.
925 * gdb.trace/circ.exp: Use standard_testfile, prepare_for_testing.
926 * gdb.trace/collection.exp: Use standard_testfile,
927 prepare_for_testing.
928 * gdb.trace/deltrace.exp: Use standard_testfile.
929 * gdb.trace/disconnected-tracing.exp: Use standard_testfile.
930 * gdb.trace/ftrace.exp: Use standard_testfile.
931 * gdb.trace/infotrace.exp: Use standard_testfile.
932 * gdb.trace/packetlen.exp: Use standard_testfile.
933 * gdb.trace/passc-dyn.exp: Use standard_testfile.
934 * gdb.trace/passcount.exp: Use standard_testfile.
935 * gdb.trace/pending.exp: Use standard_testfile.
936 * gdb.trace/report.exp: Use standard_testfile.
937 * gdb.trace/save-trace.exp: Use standard_testfile.
938 * gdb.trace/stap-trace.exp: Use standard_testfile.
939 * gdb.trace/status-stop.exp: Use standard_testfile.
940 * gdb.trace/strace.exp: Use standard_testfile.
941 * gdb.trace/tfile.exp: Use standard_testfile.
942 * gdb.trace/tfind.exp: Use standard_testfile.
943 * gdb.trace/trace-break.exp: Use standard_testfile.
944 * gdb.trace/trace-mt.exp: Use standard_testfile.
945 * gdb.trace/tracecmd.exp: Use standard_testfile.
946 * gdb.trace/tspeed.exp: Use standard_testfile.
947 * gdb.trace/tstatus.exp: Use standard_testfile.
948 * gdb.trace/tsv.exp: Use standard_testfile.
949 * gdb.trace/unavailable.exp: Use standard_testfile,
950 prepare_for_testing.
951 * gdb.trace/while-dyn.exp: Use standard_testfile.
952 * gdb.trace/while-stepping.exp: Use standard_testfile.
953
7686c074
TT
9542012-06-26 Tom Tromey <tromey@redhat.com>
955
956 * gdb.reverse/break-precsave.exp: Use standard_testfile.
957 * gdb.reverse/break-reverse.exp: Use standard_testfile.
958 * gdb.reverse/consecutive-precsave.exp: Use standard_testfile.
959 * gdb.reverse/consecutive-reverse.exp: Use standard_testfile.
960 * gdb.reverse/finish-precsave.exp: Use standard_testfile.
961 * gdb.reverse/finish-reverse-bkpt.exp: Use standard_testfile.
962 * gdb.reverse/finish-reverse.exp: Use standard_testfile.
963 * gdb.reverse/i386-precsave.exp: Use standard_testfile,
964 prepare_for_testing.
965 * gdb.reverse/i386-reverse.exp: Use standard_testfile,
966 prepare_for_testing.
967 * gdb.reverse/i386-sse-reverse.exp: Use standard_testfile,
968 prepare_for_testing.
969 * gdb.reverse/i387-env-reverse.exp: Use standard_testfile,
970 prepare_for_testing.
971 * gdb.reverse/i387-stack-reverse.exp: Use standard_testfile,
972 prepare_for_testing
973 * gdb.reverse/machinestate-precsave.exp: Use standard_testfile.
974 * gdb.reverse/machinestate.exp: Use standard_testfile.
975 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Use standard_testfile.
976 * gdb.reverse/sigall-precsave.exp: Use standard_testfile,
977 build_executable.
978 * gdb.reverse/sigall-reverse.exp: Use standard_testfile,
979 build_executable.
980 * gdb.reverse/solib-precsave.exp: Use standard_testfile,
981 standard_output_file.
982 * gdb.reverse/solib-reverse.exp: Use standard_testfile,
983 standard_output_file.
984 * gdb.reverse/step-precsave.exp: Use standard_testfile.
985 * gdb.reverse/step-reverse.exp: Use standard_testfile.
986 * gdb.reverse/until-precsave.exp: Use standard_testfile.
987 * gdb.reverse/until-reverse.exp: Use standard_testfile.
988 * gdb.reverse/watch-precsave.exp: Use standard_testfile.
989 * gdb.reverse/watch-reverse.exp: Use standard_testfile.
990
481fc100
TT
9912012-06-26 Tom Tromey <tromey@redhat.com>
992
993 * gdb.stabs/weird.exp: Remove directory-checking code. Use
994 standard_output_file.
995 * gdb.stabs/exclfwd.exp: Use standard_testfile,
996 prepare_for_testing. Remove directory-checking code.
997
7bb18ae2
TT
9982012-06-25 Tom Tromey <tromey@redhat.com>
999
1000 * gdb.multi/watchpoint-multi.exp: Use standard_testfile.
1001 * gdb.multi/bkpt-multi-exec.exp: Use standard_output_file. Use
1002 build_executable, not prepare_for_testing.
1003 * gdb.multi/base.exp: Use standard_output_file. Use
1004 build_executable, not prepare_for_testing.
1005
cf09b3e4
TT
10062012-06-25 Tom Tromey <tromey@redhat.com>
1007
1008 * gdb.fortran/subarray.exp: Use standard_testfile,
1009 prepare_for_testing.
1010 * gdb.fortran/multi-dim.exp: Use standard_testfile.
1011 * gdb.fortran/module.exp: Use standard_testfile.
1012 * gdb.fortran/logical.exp: Use standard_testfile.
1013 * gdb.fortran/library-module.exp: Use standard_testfile,
1014 standard_output_file.
1015 * gdb.fortran/derived-type.exp: Use standard_testfile,
1016 prepare_for_testing.
1017 * gdb.fortran/complex.exp: Use standard_testfile,
1018 prepare_for_testing.
1019 * gdb.fortran/charset.exp: Use standard_testfile.
1020 * gdb.fortran/array-element.exp: Use standard_testfile,
1021 prepare_for_testing.
1022
18b5ff1b
KS
10232012-06-25 Keith Seitz <keiths@redhat.com>
1024
1025 * gdb.mi/mi-break.exp (test_rbreak_creation_and_listing):
1026 Change rbreak-related tests to KFAIL and add bugzilla numbers.
1027
17b77626
TT
10282012-06-25 Tom Tromey <tromey@redhat.com>
1029
1030 * gdb.pascal/integers.exp: Use standard_testfile, clean_restart.
1031 * gdb.pascal/hello.exp: Use standard_testfile, clean_restart.
1032 * gdb.pascal/gdb11492.exp: Use standard_testfile, clean_restart.
1033 * gdb.pascal/floats.exp: Use standard_testfile, clean_restart.
1034
f91e3dc1
TT
10352012-06-25 Tom Tromey <tromey@redhat.com>
1036
1037 * gdb.linespec/ls-errs.exp: Use standard_testfile.
1038 * gdb.linespec/ls-dollar.exp: Use standard_testfile.
1039 * gdb.linespec/linespec.exp: Use standard_testfile.
1040
a884434d
TT
10412012-06-25 Tom Tromey <tromey@redhat.com>
1042
1043 * gdb.modula2/unbounded-array.exp: Use standard_testfile,
1044 prepare_for_testing.
1045
efc9d70a
TT
10462012-06-25 Tom Tromey <tromey@redhat.com>
1047
1048 * gdb.opt/clobbered-registers-O2.exp: Use standard_testfile,
1049 prepare_for_testing.
1050 * gdb.opt/inline-break.exp: Use standard_testfile,
1051 prepare_for_testing.
1052 * gdb.opt/inline-bt.exp: Use standard_testfile,
1053 prepare_for_testing.
1054 * gdb.opt/inline-cmds.exp: Use standard_testfile,
1055 prepare_for_testing.
1056 * gdb.opt/inline-locals.exp: Use standard_testfile,
1057 prepare_for_testing.
1058
e2fc92c6
TT
10592012-06-25 Tom Tromey <tromey@redhat.com>
1060
1061 * gdb.asm/asm-source.exp: Use standard_output_file,
1062 standard_testfile. Construct .o files in proper subdir.
1063
b0963d73
TT
10642012-06-25 Tom Tromey <tromey@redhat.com>
1065
1066 * gdb.server/ext-attach.exp: Use standard_testfile,
1067 prepare_for_testing.
1068 * gdb.server/ext-run.exp: Use standard_testfile,
1069 build_executable.
1070 * gdb.server/file-transfer.exp: Use standard_testfile,
1071 prepare_for_testing.
1072 * gdb.server/server-exec-info.exp: Use standard_testfile.
1073 * gdb.server/server-mon.exp: Use standard_testfile,
1074 prepare_for_testing.
1075 * gdb.server/server-run.exp: Use standard_testfile,
1076 build_executable.
1077 * gdb.server/solib-list.exp: Use standard_testfile,
1078 standard_output_file.
1079
8a3e1f8d
TT
10802012-06-25 Tom Tromey <tromey@redhat.com>
1081
1082 * lib/gdb.exp (standard_output_file): Use "file join".
1083 * gdb.go/chan.exp: Use standard_testfile.
1084 * gdb.go/handcall.exp: Use standard_testfile.
1085 * gdb.go/hello.exp: Use standard_testfile.
1086 * gdb.integers/chan.exp: Use standard_testfile.
1087 * gdb.go/methods.exp: Use standard_testfile.
1088 * gdb.go/package.exp: Use standard_testfile.
1089 * gdb.go/strings.exp: Use standard_testfile.
1090 * gdb.go/types.exp: Use standard_testfile.
1091 * gdb.go/unsafe.exp: Use standard_testfile.
1092
944a9061
MGD
10932012-06-25 Greta Yorsh <greta.yorsh@arm.com>
1094
1095 * gdb.arch/arm-disp-step.S: Fix use of .global directives.
1096
1c06bd58
JK
10972012-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1098
1099 Fix regression by the previous commit.
1100 * gdb.python/lib-types.exp: Add c++ to the compilation flags.
1101
b4a58790
TT
11022012-06-22 Tom Tromey <tromey@redhat.com>
1103
1104 * gdb.python/lib-types.exp: Use standard_testfile,
1105 prepare_for_testing.
1106 * gdb.python/py-block.exp: Use standard_testfile.
1107 * gdb.python/py-breakpoint.exp: Use standard_testfile.
1108 * gdb.python/py-events.exp: Use standard_testfile,
1109 standard_output_file.
1110 * gdb.python/py-evsignal.exp: Use standard_testfile.
1111 * gdb.python/py-evethreads.exp: Use standard_testfile.
1112 * gdb.python/py-explore-cc.exp: Use standard_testfile.
1113 * gdb.python/py-explore.exp: Use standard_testfile.
1114 * gdb.python/py-finish-breakpoint.exp: Use standard_testfile,
1115 standard_output_file.
1116 * gdb.python/py-finish-breakpoint2.exp: Use standard_testfile,
1117 prepare_for_testing.
1118 * gdb.python/py-frame-inline.exp: Use standard_testfile.
1119 * gdb.python/py-frame.exp: Use standard_testfile.
1120 * gdb.python/py-inferior.exp: Use standard_testfile.
1121 * gdb.python/py-infthread.exp: Use standard_testfile.
1122 * gdb.python/py-mi.exp: Use standard_testfile.
1123 * gdb.python/py-objfile-script.exp: Use standard_testfile,
1124 build_executable.
1125 * gdb.python/py-objfile.exp: Use standard_testfile.
1126 * gdb.python/py-pp-maint.exp: Use standard_testfile,
1127 prepare_for_testing.
1128 * gdb.python/py-prettyprint.exp: Use standard_testfile.
1129 * gdb.python/py-progspace.exp: Use standard_testfile,
1130 build_executable.
1131 * gdb.python/py-prompt.exp: Use standard_testfile,
1132 build_executable.
1133 * gdb.python/py-section-script.exp: Use standard_testfile,
1134 build_executable.
1135 * gdb.python/py-shared.exp: Use standard_testfile,
1136 standard_output_file, clean_restart.
1137 * gdb.python/py-symbol.exp: Use standard_output_file,
1138 prepare_for_testing.
1139 * gdb.python/py-symtab.exp: Use standard_output_file,
1140 prepare_for_testing
1141 * gdb.python/py-template.exp: Use standard_testfile.
1142 * gdb.python/py-type.exp: Use standard_testfile.
1143 * gdb.python/py-value-cc.exp: Use standard_testfile.
1144 * gdb.python/py-value.exp: Use standard_testfile.
1145 * gdb.python/python.exp: Use standard_testfile, build_executable.
1146
2c44deac
TT
11472012-06-22 Tom Tromey <tromey@redhat.com>
1148
1149 * gdb.objc/basicclass.exp: Use standard_testfile.
1150 (do_objc_tests): Don't declare objdir.
1151 * gdb.objc/nondebug.exp: Use standard_testfile.
1152 (do_objc_tests): Don't declare objdir.
1153 * gdb.objc/objcdecode.exp: Use standard_testfile.
1154 (do_objc_tests): Don't declare objdir.
1155
c24ccbce
TT
11562012-06-22 Tom Tromey <tromey@redhat.com>
1157
1158 * gdb.java/jmain.exp: Use standard_testfile.
1159 * gdb.java/jmisc.exp: Use standard_testfile.
1160 * gdb.java/jnpe.exp: Use standard_testfile.
1161 * gdb.java/jprint.exp: Use standard_testfile.
1162
0a6d0306
TT
11632012-06-22 Tom Tromey <tromey@redhat.com>
1164
1165 * lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
1166 (standard_output_file, standard_testfile): New procs.
1167 (build_executable, clean_restart): Use standard_output_file.
1168
6ea815ef
YQ
11692012-06-22 Yao Qi <yao@codesourcery.com>
1170
1171 * boards/native-gdbserver.exp: New proc ${board}_exec.
1172 * boards/native-stdio-gdbserver.exp: Likewise.
1173
4c93b1db
TT
11742012-06-21 Tom Tromey <tromey@redhat.com>
1175
1176 * lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
1177 (build_executable): Update.
1178 (get_compiler_info): Remove 'binfile' argument.
1179 * gdb.ada/arrayidx.exp: Update.
1180 * gdb.ada/null_array.exp: Update.
1181 * gdb.arch/altivec-abi.exp: Update.
1182 * gdb.arch/altivec-regs.exp: Update.
1183 * gdb.arch/amd64-byte.exp: Update.
1184 * gdb.arch/amd64-dword.exp: Update.
1185 * gdb.arch/amd64-word.exp: Update.
1186 * gdb.arch/i386-avx.exp: Update.
1187 * gdb.arch/i386-byte.exp: Update.
1188 * gdb.arch/i386-sse.exp: Update.
1189 * gdb.arch/i386-word.exp: Update.
1190 * gdb.arch/ppc-dfp.exp: Update.
1191 * gdb.arch/ppc-fp.exp: Update.
1192 * gdb.arch/vsx-regs.exp: Update.
1193 * gdb.base/all-bin.exp: Update.
1194 * gdb.base/annota1.exp: Update.
1195 * gdb.base/async.exp: Update.
1196 * gdb.base/attach.exp: Update.
1197 * gdb.base/break-interp.exp: Update.
1198 * gdb.base/call-ar-st.exp: Update.
1199 * gdb.base/call-rt-st.exp: Update.
1200 * gdb.base/call-sc.exp: Update.
1201 * gdb.base/callfuncs.exp: Update.
1202 * gdb.base/catch-load.exp: Update.
1203 * gdb.base/completion.exp: Update.
1204 * gdb.base/complex.exp: Update.
1205 * gdb.base/condbreak.exp: Update.
1206 * gdb.base/consecutive.exp: Update.
1207 * gdb.base/constvars.exp: Update.
1208 * gdb.base/corefile.exp: Update.
1209 * gdb.base/eval-skip.exp: Update.
1210 * gdb.base/expand-psymtabs.exp: Update.
1211 * gdb.base/exprs.exp: Update.
1212 * gdb.base/fileio.exp: Update.
1213 * gdb.base/fixsection.exp: Update.
1214 * gdb.base/funcargs.exp: Update.
1215 * gdb.base/gdb11530.exp: Update.
1216 * gdb.base/gdb1555.exp: Update.
1217 * gdb.base/gnu-ifunc.exp: Update.
1218 * gdb.base/gnu_vector.exp: Update.
1219 * gdb.base/info-macros.exp: Update.
1220 * gdb.base/jit-simple.exp: Update.
1221 * gdb.base/jit-so.exp: Update.
1222 * gdb.base/jit.exp: Update.
1223 * gdb.base/langs.exp: Update.
1224 * gdb.base/list.exp: Update.
1225 * gdb.base/logical.exp: Update.
1226 * gdb.base/long_long.exp: Update.
1227 * gdb.base/longjmp.exp: Update.
1228 * gdb.base/macscp.exp: Update.
1229 * gdb.base/mips_pro.exp: Update.
1230 * gdb.base/miscexprs.exp: Update.
1231 * gdb.base/morestack.exp: Update.
1232 * gdb.base/nodebug.exp: Update.
1233 * gdb.base/opaque.exp: Update.
1234 * gdb.base/pc-fp.exp: Update.
1235 * gdb.base/pending.exp: Update.
1236 * gdb.base/permissions.exp: Update.
1237 * gdb.base/pointers.exp: Update.
1238 * gdb.base/prelink.exp: Update.
1239 * gdb.base/printcmds.exp: Update.
1240 * gdb.base/psymtab.exp: Update.
1241 * gdb.base/ptype.exp: Update.
1242 * gdb.base/relational.exp: Update.
1243 * gdb.base/scope.exp: Update.
1244 * gdb.base/setvar.exp: Update.
1245 * gdb.base/shlib-call.exp: Update.
1246 * gdb.base/shreloc.exp: Update.
1247 * gdb.base/signals.exp: Update.
1248 * gdb.base/sizeof.exp: Update.
1249 * gdb.base/so-impl-ld.exp: Update.
1250 * gdb.base/so-indr-cl.exp: Update.
1251 * gdb.base/solib-disc.exp: Update.
1252 * gdb.base/solib-display.exp: Update.
1253 * gdb.base/solib-nodir.exp: Update.
1254 * gdb.base/solib-overlap.exp: Update.
1255 * gdb.base/solib-symbol.exp: Update.
1256 * gdb.base/solib-weak.exp: Update.
1257 * gdb.base/solib.exp: Update.
1258 * gdb.base/store.exp: Update.
1259 * gdb.base/structs.exp: Update.
1260 * gdb.base/structs2.exp: Update.
1261 * gdb.base/type-opaque.exp: Update.
1262 * gdb.base/unload.exp: Update.
1263 * gdb.base/varargs.exp: Update.
1264 * gdb.base/volatile.exp: Update.
1265 * gdb.base/watch_thread_num.exp: Update.
1266 * gdb.base/watchpoint-solib.exp: Update.
1267 * gdb.base/watchpoint.exp: Update.
1268 * gdb.base/watchpoints.exp: Update.
1269 * gdb.base/whatis.exp: Update.
1270 * gdb.cell/arch.exp: Update.
1271 * gdb.cell/break.exp: Update.
1272 * gdb.cell/bt.exp: Update.
1273 * gdb.cell/core.exp: Update.
1274 * gdb.cell/data.exp: Update.
1275 * gdb.cell/ea-cache.exp: Update.
1276 * gdb.cell/f-regs.exp: Update.
1277 * gdb.cell/fork.exp: Update.
1278 * gdb.cell/gcore.exp: Update.
1279 * gdb.cell/mem-access.exp: Update.
1280 * gdb.cell/ptype.exp: Update.
1281 * gdb.cell/registers.exp: Update.
1282 * gdb.cell/sizeof.exp: Update.
1283 * gdb.cell/solib-symbol.exp: Update.
1284 * gdb.cell/solib.exp: Update.
1285 * gdb.cp/ambiguous.exp: Update.
1286 * gdb.cp/breakpoint.exp: Update.
1287 * gdb.cp/bs15503.exp: Update.
1288 * gdb.cp/casts.exp: Update.
1289 * gdb.cp/class2.exp: Update.
1290 * gdb.cp/cpexprs.exp: Update.
1291 * gdb.cp/cplusfuncs.exp: Update.
1292 * gdb.cp/ctti.exp: Update.
1293 * gdb.cp/dispcxx.exp: Update.
1294 * gdb.cp/gdb1355.exp: Update.
1295 * gdb.cp/gdb2384.exp: Update.
1296 * gdb.cp/gdb2495.exp: Update.
1297 * gdb.cp/infcall-dlopen.exp: Update.
1298 * gdb.cp/local.exp: Update.
1299 * gdb.cp/m-data.exp: Update.
1300 * gdb.cp/m-static.exp: Update.
1301 * gdb.cp/mb-ctor.exp: Update.
1302 * gdb.cp/mb-inline.exp: Update.
1303 * gdb.cp/mb-templates.exp: Update.
1304 * gdb.cp/member-ptr.exp: Update.
1305 * gdb.cp/method.exp: Update.
1306 * gdb.cp/namespace.exp: Update.
1307 * gdb.cp/nextoverthrow.exp: Update.
1308 * gdb.cp/nsdecl.exp: Update.
1309 * gdb.cp/nsrecurs.exp: Update.
1310 * gdb.cp/nsstress.exp: Update.
1311 * gdb.cp/nsusing.exp: Update.
1312 * gdb.cp/pr-1023.exp: Update.
1313 * gdb.cp/pr-1210.exp: Update.
1314 * gdb.cp/pr-574.exp: Update.
1315 * gdb.cp/pr9631.exp: Update.
1316 * gdb.cp/printmethod.exp: Update.
1317 * gdb.cp/psmang.exp: Update.
1318 * gdb.cp/re-set-overloaded.exp: Update.
1319 * gdb.cp/rtti.exp: Update.
1320 * gdb.cp/shadow.exp: Update.
1321 * gdb.cp/templates.exp: Update.
1322 * gdb.cp/try_catch.exp: Update.
1323 * gdb.dwarf2/dw2-ranges.exp: Update.
1324 * gdb.dwarf2/pr10770.exp: Update.
1325 * gdb.fortran/library-module.exp: Update.
1326 * gdb.hp/gdb.aCC/optimize.exp: Update.
1327 * gdb.hp/gdb.aCC/watch-cmd.exp: Update.
1328 * gdb.hp/gdb.base-hp/callfwmall.exp: Update.
1329 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Update.
1330 * gdb.hp/gdb.base-hp/pxdb.exp: Update.
1331 * gdb.hp/gdb.base-hp/sized-enum.exp: Update.
1332 * gdb.hp/gdb.base-hp/so-thresh.exp: Update.
1333 * gdb.hp/gdb.compat/xdb1.exp: Update.
1334 * gdb.hp/gdb.compat/xdb2.exp: Update.
1335 * gdb.hp/gdb.compat/xdb3.exp: Update.
1336 * gdb.hp/gdb.defects/bs14602.exp: Update.
1337 * gdb.hp/gdb.defects/solib-d.exp: Update.
1338 * gdb.hp/gdb.objdbg/objdbg01.exp: Update.
1339 * gdb.hp/gdb.objdbg/objdbg02.exp: Update.
1340 * gdb.hp/gdb.objdbg/objdbg03.exp: Update.
1341 * gdb.hp/gdb.objdbg/objdbg04.exp: Update.
1342 * gdb.mi/gdb792.exp: Update.
1343 * gdb.mi/mi-pending.exp: Update.
1344 * gdb.mi/mi-solib.exp: Update.
1345 * gdb.mi/mi-var-cp.exp: Update.
1346 * gdb.opt/clobbered-registers-O2.exp: Update.
1347 * gdb.opt/inline-bt.exp: Update.
1348 * gdb.opt/inline-cmds.exp: Update.
1349 * gdb.opt/inline-locals.exp: Update.
1350 * gdb.python/py-events.exp: Update.
1351 * gdb.python/py-finish-breakpoint.exp: Update.
1352 * gdb.python/py-type.exp: Update.
1353 * gdb.reverse/solib-precsave.exp: Update.
1354 * gdb.reverse/solib-reverse.exp: Update.
1355 * gdb.server/solib-list.exp: Update.
1356 * gdb.stabs/weird.exp: Update.
1357 * gdb.threads/attach-into-signal.exp: Update.
1358 * gdb.threads/attach-stopped.exp: Update.
1359 * gdb.threads/tls-shared.exp: Update.
1360 * gdb.trace/change-loc.exp: Update.
1361 * gdb.trace/strace.exp: Update.
1362
95c391b6
TT
13632012-06-19 Tom Tromey <tromey@redhat.com>
1364
1365 * gdb.base/whatis.exp: Add tests.
1366
e910f0b6
TT
13672012-06-19 Tom Tromey <tromey@redhat.com>
1368
1369 * gdb.cp/m-static.cc (keepalive): New function.
1370 (gnu_obj_1::method): Use it.
1371
422d65e7
DE
13722012-06-18 Doug Evans <dje@google.com>
1373
1374 * gdb.base/info-fun.exp: New file.
1375 * gdb.base/info-fun.c: New file.
1376 * gdb.base/info-fun-solib.c: New file.
1377
e2e4d78b
JK
13782012-06-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1379
1380 Remove stale dummy frames.
1381 * gdb.base/call-signal-resume.exp (maintenance print dummy-frames)
1382 (maintenance info breakpoints): New tests.
1383 * gdb.base/stale-infcall.c: New file.
1384 * gdb.base/stale-infcall.exp: New file.
1385
1788b2d3
JK
13862012-06-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1387
1388 * gdb.arch/amd64-entry-value-param.S: New file.
1389 * gdb.arch/amd64-entry-value-param.c: New file.
1390 * gdb.arch/amd64-entry-value-param.exp: New file.
1391
663b969e
TT
13922012-06-15 Tom Tromey <tromey@redhat.com>
1393
1394 * gdb.cp/namespace.exp: Add "show lang" test.
1395
8e09ad05
IS
13962012-06-15 Iain Sandoe <iain@codesourcery.com>
1397
1398 * gdb.base/list.exp (test_listsize): Remove $use_gdb_stub special
1399 case. (top level): Use gdb_file_cmd instead of gdb_load.
1400
f85e18ee
JK
14012012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1402
1403 PR tdep/14222
1404 * gdb.arch/i386-sse-stack-align.S: New file.
1405 * gdb.arch/i386-sse-stack-align.c: New file.
1406 * gdb.arch/i386-sse-stack-align.exp: New file.
1407
f3b5e280
KS
14082012-06-13 Keith Seitz <keiths@redhat.com>
1409
1410 PR breakpoints/13798 and mi/11541
1411 * gdb.linespec/ls-errs.exp: Add a few more tests for
1412 filenames with spaces and colons.
1413
50af5481
JK
14142012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1415
1416 PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
1417 * gdb.cp/cpexprs.cc (class CV, CV::i, ATTRIBUTE_USED, CV_f): New.
1418 (test_function): Call CV_f.
1419 * gdb.cp/cpexprs.exp (p 'CV::m(int)', p CV::m(int))
1420 (p 'CV::m(int) const', p CV::m(int) const, p 'CV::m(int) volatile')
1421 (p CV::m(int) volatile, p 'CV::m(int) const volatile')
1422 (p CV::m(int) const volatile, p CV_f(int), p CV_f(CV::t))
1423 (p CV_f(CV::i)): New tests.
1424
d55637df
TT
14252012-06-13 Tom Tromey <tromey@redhat.com>
1426
1427 * gdb.base/condbreak.exp: Add tests for "condition" completion.
1428
cc80f267
JK
14292012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1430
1431 Fix regression by the "ambiguous linespec" series.
1432 * gdb.base/break.exp (list marker1, break lineno, delete $bpnum): New
1433 tests.
1434
bb2af9cc
JK
14352012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1436
1437 * lib/future.exp: Set $use_gdb_compile even if only find_go_linker is
1438 missing.
1439
e81a37f7
TT
14402012-06-11 Tom Tromey <tromey@redhat.com>
1441
1442 * gdb.base/longjmp.c (hidden_longjmp): Move expected catch
1443 location...
1444 (main): ...here.
1445
8efd7788
YQ
14462012-06-07 Yao Qi <yao@codesourcery.com>
1447
1448 * gdb.trace/strace.exp: Shorten some too-long lines.
1449
359f5fe6
PA
14502012-06-06 Pedro Alves <palves@redhat.com>
1451
1452 * gdb.threads/clone-new-thread-event.c: New file.
1453 * gdb.threads/clone-new-thread-event.exp: New file.
1454
7b2fe205
YQ
14552012-06-06 Yao Qi <yao@codesourcery.com>
1456
1457 * gdb.base/dprintf.c (main): Add extra parameter when calling
1458 printf and fprintf.
1459 (bar): New function. It is a dead function, but to ensure
1460 'malloc' is linked explicitly.
1461
3eca55e8
YQ
14622012-06-06 Yao Qi <yao@codesourcery.com>
1463
1464 * gdb.base/info-proc.exp: Return if target doesn't support
1465 'info proc'.
1466
91cc9324
JK
14672012-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1468
1469 * gdb.base/freebpcmd.exp (set lines): Check valid range of I.
1470 (run program with breakpoint commands): XFAIl if it is not.
1471
c56e7c43
JB
14722012-06-05 Joel Brobecker <brobecker@adacore.com>
1473
1474 * gdb.base/ctxobj-f.c (GET_VERSION): Introduce local variable
1475 and add comment.
1476 * gdb.base/ctxobj-m.c (main): Rewrite, and add comment.
1477 * gdb.base/ctxobj.exp: Insert breakpoint in ctxobj-f.c using
1478 "STOP" marker. Adjust testing strategy to make it work on
1479 all targets.
1480
1481 * gdb.base/print-file-var-main.c (main): Rewrite using local
1482 variables and adjust get_version_2's return value check.
1483 Add small comment.
1484 * gdb.base/print-file-var.exp: Insert breakpoint using "STOP"
1485 marker. Adjust testing strategy to make it work on all targets.
1486
ccab2054
JB
14872012-06-05 Joel Brobecker <brobecker@adacore.com>
1488
1489 * gdb.ada/bad-task-bp-keyword: New testcase.
1490
d0d86158
JK
14912012-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1492
1493 * gdb.base/code_elim.exp (add-symbol-file ${testfile1} 0x100000):
1494 Simplify it to ...
1495 (symbol-file ${testfile1}): ... here.
1496 (test eliminated var my_global_symbol)
1497 (test eliminated var my_static_symbol)
1498 (test eliminated var my_global_func, get address of main): Wrap them to
1499 'single psymtabs' and 'single symtabs'
1500 (get address of my_global_symbol, get address of my_static_symbol)
1501 (get address of my_global_func, get address of main): Wrap them to
1502 'order1' and 'order2'.
1503
952cf74c
JK
1504 * gdb.base/code_elim.exp
1505 (add-symbol-file ${testfile1} 0x100000)
1506 (add-symbol-file ${testfile2} 0x200000): Wrap them to 'order1' and
1507 'order2'.
1508 (order1: add-symbol-file ${testfile1} 0x100000)
1509 (order1: add-symbol-file ${testfile2} 0x200000)
1510 (order2: add-symbol-file ${testfile2} 0x200000)
1511 (order2: add-symbol-file ${testfile1} 0x100000): Add -s .data and -s
1512 .bss as appropriate.
1513
0c5bf5a9
JK
15142012-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1515
1516 * gdb.server/solib-list-lib.c: New file.
1517 * gdb.server/solib-list-main.c: New file.
1518 * gdb.server/solib-list.exp: New file.
1519
4196f325
MR
15202012-05-25 Maciej W. Rozycki <macro@codesourcery.com>
1521
1522 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Update
1523 for 'set print symbol' change.
1524
bfb05775
JK
15252012-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1526
1527 * gdb.dwarf2/dw2-icc-opaque.S: Add debug_info_seg3 and
1528 .debug_abbrev_seg3.
1529
685b1105
JK
15302012-05-24 John Steele Scott <toojays@toojays.net>
1531
1532 PR symtab/13277: Resolving opaque structures in ICC generated binaries.
1533 * gdb.dwarf2/dw2-icc-opaque.S: New file.
1534 * gdb.dwarf2/dw2-icc-opaque.exp: New file.
1535
f3e0e960
SS
15362012-05-23 Stan Shebs <stan@codesourcery.com>
1537
1538 * gdb.mi/mi-info-os.exp: New file.
1539
11eb1b4d
KS
15402012-05-23 Keith Seitz <keiths@redhat.com>
1541
1542 * gdb.trace/stap-trace.exp: If compile_stap_bin fails,
1543 return -1 to suppress the rest of the tests.
1544 (compile_stap_bin): Return boolean success value.
1545
b1af9e97
TT
15462012-05-21 Tom Tromey <tromey@redhat.com>
1547
1548 * gdb.cp/inherit.exp (test_print_mi_members): Expect errors.
1549 Remove kfails.
1550 (test_print_mi_member_types): Likewise.
1551
248537e3
TT
15522012-05-21 Tom Tromey <tromey@redhat.com>
1553
1554 * gdb.base/callfuncs.exp (do_function_calls): Update for 'set
1555 print symbol' change.
1556
d791e155
TJB
15572012-05-18 Thiago Jung Bauermann <thiago.bauermann@linaro.org>
1558
1559 * gdb.python/py-prompt.exp: Quit if the target is remote.
1560
e77afa2e
JK
15612012-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1562
1563 Fix ERROR: internal buffer is full.
1564 * gdb.base/info-os.exp (expect_multiline): New function.
1565 (get process list, get process groups, get threads)
1566 (get file descriptors, get internet-domain sockets)
1567 (get shared-memory regions, get semaphores, get message queues): Use
1568 it for these tests.
1569
9cb709b6
TT
15702012-05-18 Tom Tromey <tromey@redhat.com>
1571
1572 * gdb.mi/mi-var-cmd.exp: Update.
1573 * gdb.objc/basicclass.exp (do_objc_tests): Update.
1574 * gdb.cp/virtbase.exp: Update.
1575 * gdb.cp/classes.exp (test_static_members): Update.
1576 * gdb.cp/casts.exp: Update.
1577 * gdb.base/pointers.exp: Update.
1578 * gdb.base/funcargs.exp (pointer_args): Update.
1579 (structs_by_reference): Update.
1580 * gdb.base/find.exp: Update.
1581 * gdb.base/call-strs.exp: Send "set print symbol off".
1582 * gdb.base/call-ar-st.exp: Update.
1583 * gdb.ada/fun_addr.exp: Update.
1584 * gdb.base/printcmds.exp (test_print_symbol): New proc.
1585 Call it.
1586 (test_print_repeats_10, test_print_strings)
1587 (test_print_char_arrays): Update.
1588
b012acdd
TT
15892012-05-18 Tom Tromey <tromey@redhat.com>
1590
1591 * gdb.base/charset.exp (string_display): Update.
1592
1d51a733
TT
15932012-05-18 Tom Tromey <tromey@redhat.com>
1594
1595 * gdb.mi/mi2-var-display.exp: Update.
1596 * gdb.mi/mi-var-display.exp: Update.
1597 * gdb.mi/mi-var-child.exp: Update.
1598 * gdb.cp/expand-psymtabs-cxx.exp: Update.
1599 * gdb.cp/cp-relocate.exp (get_func_address): Update.
1600
957df313
DE
16012012-05-17 Doug Evans <dje@google.com>
1602
682c7f7b
DE
1603 * info-macros.exp: Pass "debug" to prepare_for_testing.
1604
957df313
DE
1605 * Makefile.in (clean): Remove Fission .dwo and .dwp files.
1606 * gdb.ada/Makefile.in (clean): Ditto.
1607 * gdb.arch/Makefile.in (clean): Ditto.
1608 * gdb.asm/Makefile.in (clean): Ditto.
1609 * gdb.base/Makefile.in (clean): Ditto.
1610 * gdb.cell/Makefile.in (clean): Ditto.
1611 * gdb.cp/Makefile.in (clean): Ditto.
1612 * gdb.disasm/Makefile.in (clean): Ditto.
1613 * gdb.dwarf2/Makefile.in (clean): Ditto.
1614 * gdb.fortran/Makefile.in (clean): Ditto.
1615 * gdb.go/Makefile.in (clean): Ditto.
1616 * gdb.hp/Makefile.in (clean): Ditto.
1617 * gdb.hp/gdb.aCC/Makefile.in (clean): Ditto.
1618 * gdb.hp/gdb.base-hp/Makefile.in (clean): Ditto.
1619 * gdb.hp/gdb.compat/Makefile.in (clean): Ditto.
1620 * gdb.hp/gdb.defects/Makefile.in (clean): Ditto.
1621 * gdb.hp/gdb.objdbg/Makefile.in (clean): Ditto.
1622 * gdb.java/Makefile.in (clean): Ditto.
1623 * gdb.linespec/Makefile.in (clean): Ditto.
1624 * gdb.mi/Makefile.in (clean): Ditto.
1625 * gdb.modula2/Makefile.in (clean): Ditto.
1626 * gdb.multi/Makefile.in (clean): Ditto.
1627 * gdb.objc/Makefile.in (clean): Ditto.
1628 * gdb.opencl/Makefile.in (clean): Ditto.
1629 * gdb.opt/Makefile.in (clean): Ditto.
1630 * gdb.pascal/Makefile.in (clean): Ditto.
1631 * gdb.python/Makefile.in (clean): Ditto.
1632 * gdb.reverse/Makefile.in (clean): Ditto.
1633 * gdb.server/Makefile.in (clean): Ditto.
1634 * gdb.stabs/Makefile.in (clean): Ditto.
1635 * gdb.threads/Makefile.in (clean): Ditto.
1636 * gdb.trace/Makefile.in (clean): Ditto.
1637 * gdb.xml/Makefile.in (clean): Ditto.
1638
abc9d0dc
TT
16392012-05-16 Tom Tromey <tromey@redhat.com>
1640
1641 * gdb.base/macscp1.c (macscp_expr): Add comment.
1642 * gdb.base/macscp.exp: Test __FILE__ and __LINE__.
1643
6a3a010b
MR
16442012-05-16 Maciej W. Rozycki <macro@codesourcery.com>
1645
1646 * gdb.base/return-nodebug.exp: Also test float and double types.
1647
01429c8e
JK
16482012-05-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1649
1650 PR testsuite/12649
1651 * gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main.
1652
54115cd4
JK
1653 * gdb.base/dprintf.exp: Remove now redundant breakpoint for main.
1654
0c5f383f
SDJ
16552012-05-14 Sergio Durigan Junior <sergiodj@redhat.com>
1656
1657 * gdb.base/stap-probe.exp (stap_test): Remove calls to
1658 `rerun_to_main'.
1659 (stap_test_no_debuginfo): Likewise.
1660
e7e0cddf
SS
16612012-05-14 Stan Shebs <stan@codesourcery.com>
1662
1663 * gdb.base/dprintf.c: New file.
1664 * gdb.base/dprintf.exp: New file.
1665
c772f8e7
HZ
16662012-05-14 Hui Zhu <hui_zhu@mentor.com>
1667
1668 * gdb.trace/Makefile.in (PROGS): Add disconnected-tracing.
1669 * gdb.trace/disconnected-tracing.c: New file.
1670 * gdb.trace/disconnected-tracing.exp: New file.
1671
7efc75aa
SCR
16722012-05-13 Siva Chandra Reddy <sivachandra@google.com>
1673
1674 * gdb.python/python.c: Add a new breakpoint comment.
1675 * gdb.python/python.exp: Add tests to test gdb.find_pc_line.
1676
85d4a676
SS
16772011-12-26 Kwok Cheung Yeung <kcy@codesourcery.com>
1678
1679 * gdb.base/info-os.exp: New file.
1680 * gdb.base/info-os.c: New file.
1681
64ea88dc
JB
16822012-05-10 Joel Brobecker <brobecker@adacore.com>
1683
4647ab1b
JB
1684 * gdb.base/print-file-var-lib1.c, gdb.base/print-file-var-lib2.c,
1685 gdb.base/print-file-var-main.c, gdb.base/print-file-var.exp:
1686 New files.
64ea88dc 1687
afba63f1
JB
16882012-05-10 Joel Brobecker <brobecker@adacore.com>
1689
1690 * gdb.base/ctxobj-f.c, gdb.base/ctxobj-m.c, gdb.base/ctxobj-v.c,
1691 gdb.base/ctxobj.exp: New files.
1692
9d198b1e
TT
16932012-05-09 Tom Tromey <tromey@redhat.com>
1694
1695 * gdb.trace/strace.exp: Add 'quiet' to compiler flags.
1696
9bfee719
MR
16972012-05-09 Maciej W. Rozycki <macro@codesourcery.com>
1698
1699 * lib/gdb.exp (gdb_test_multiple): Correct formatting.
1700
3a7341d8
MR
17012012-05-08 Maciej W. Rozycki <macro@codesourcery.com>
1702
1703 * gdb.mi/mi-var-display.exp: Check for the existence of $fp
1704 before using it.
1705
52b3699b
TG
17062012-05-04 Tristan Gingold <gingold@adacore.com>
1707
1708 * gdb.base/set-noassign.exp: New test.
1709
a20ee7a4
SCR
17102012-05-03 Siva Chandra Reddy <sivachandra@google.com>
1711
1712 * gdb.python/py-symbol.exp: Add tests to test the new methods
1713 gdb.Symtab.global_block() and gdb.Symtab.static_block().
1714 * gdb.python/py-symbol.c: Add new struct to help test
1715 gdb.Symtab.static_block().
1716
bf2f0858
DE
17172012-05-03 Doug Evans <dje@google.com>
1718
1719 * gdb.dwarf2/pr13961.S: Add file and source location, but leave
1720 commented out.
1721
2d4e0376
YQ
17222012-05-03 Yao Qi <yao@codesourcery.com>
1723
1724 * gdb.base/catch-syscall.exp: Skip it before compilation if target
1725 doesn't support.
1726 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise.
1727 * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
1728
6d0bb9f3
YQ
17292012-05-03 Yao Qi <yao@codesourcery.com>
1730
1731 * gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
1732
fd820528
DE
17332012-04-30 Doug Evans <dje@google.com>
1734
1735 PR testsuite/13961
1736 * gdb.dwarf2/pr13961.S: New file.
1737 * gdb.dwarf2/pr13961.exp: New file.
1738
b9e219b9
YQ
17392012-04-29 Yao Qi <yao@codesourcery.com>
1740
1741 * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
1742
3019eac3
DE
17432012-04-28 Doug Evans <dje@google.com>
1744
1745 * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from
1746 .Ltype_int_in_cu2. Use name "int2" instead of "int".
1747 All uses updated.
1748 * gdb.dwarf2/dw2-intercu.exp: Add "ptype int2" ahead of
1749 "ptype func_cu1" to expand cu2 before cu1.
1750
62e5f89c
SDJ
17512012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
1752 Tom Tromey <tromey@redhat.com>
1753
1754 * gdb.base/default.exp: Add `$_probe_arg*' convenience
1755 variables.
1756 * gdb.base/stap-probe.c: New file.
1757 * gdb.base/stap-probe.exp: New file.
1758 * gdb.trace/stap-trace.c: New file.
1759 * gdb.trace/stap-trace.exp: New file.
1760 * gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in
1761 libgcc's unwinder.
1762
14132e89
MR
17632012-04-26 Maciej W. Rozycki <macro@codesourcery.com>
1764
1765 * gdb.arch/mips16-thunks-inmain.c: New file.
1766 * gdb.arch/mips16-thunks-main.c: New file.
1767 * gdb.arch/mips16-thunks-sin.c: New file.
1768 * gdb.arch/mips16-thunks-sinfrob.c: New file.
1769 * gdb.arch/mips16-thunks-sinfrob16.c: New file.
1770 * gdb.arch/mips16-thunks-sinmain.c: New file.
1771 * gdb.arch/mips16-thunks-sinmips16.c: New file.
1772 * gdb.arch/mips16-thunks.exp: New file.
1773
a766d390
DE
17742012-04-25 Doug Evans <dje@google.com>
1775
1776 * configure.ac: Create gdb.go/Makefile.
1777 * configure: Regenerate.
1778 * gdb.base/default.exp: Add "go" to "set language" testing.
1779 * gdb.go/Makefile.in: New file.
1780 * gdb.go/basic-types.exp: New file.
1781 * gdb.go/chan.exp: New file.
1782 * gdb.go/chan.go: New file.
1783 * gdb.go/handcall.exp: New file.
1784 * gdb.go/handcall.go: New file.
1785 * gdb.go/hello.exp: New file.
1786 * gdb.go/hello.go: New file.
1787 * gdb.go/integers.exp: New file.
1788 * gdb.go/integers.go: New file.
1789 * gdb.go/methods.exp: New file.
1790 * gdb.go/methods.go: New file.
1791 * gdb.go/package.exp: New file.
1792 * gdb.go/package1.go: New file.
1793 * gdb.go/package2.go: New file.
1794 * gdb.go/print.exp: New file.
1795 * gdb.go/strings.exp: New file.
1796 * gdb.go/strings.go: New file.
1797 * gdb.go/types.exp: New file.
1798 * gdb.go/types.go: New file.
1799 * gdb.go/unsafe.exp: New file.
1800 * gdb.go/unsafe.go: New file.
1801 * lib/future.exp: Add Go support.
1802 (gdb_find_go, gdb_find_go_linker): New procs.
1803 (gdb_default_target_compile): Add Go support.
1804 * lib/gdb.exp (skip_go_tests): New proc.
1805 * lib/go.exp: New file.
1806
e65f9ffb
TT
18072012-04-25 Tom Tromey <tromey@redhat.com>
1808
1809 * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
1810
14e75d8e
JK
18112012-04-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1812 Jan Kratochvil <jan.kratochvil@redhat.com>
1813
1814 PR symtab/7259:
1815 * gdb.base/enumval.c: New test case.
1816 * gdb.base/enumval.exp: New test case.
1817 * gdb.python/py-type.exp (test_enums): Use field.enumval instead of
1818 field.bitpos.
1819
f3525b70
PA
18202012-04-17 Pedro Alves <palves@redhat.com>
1821
1822 * Makefile.in (site.exp): Make site.exp source
1823 $srcdir/lib/append_gdb_boards_dir.exp.
1824 * lib/append_gdb_boards_dir.exp: New file.
1825
bccbefd2
JK
18262012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1827
1828 New option "set auto-load safe-path".
1829 * gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
1830 * gdb.python/py-section-script.exp (set auto-load safe-path): New.
1831
bf88dd68
JK
18322012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1833
1834 auto-load: Implementation.
1835 * gdb.base/help.exp (test set height): Increase the height.
1836 * gdb.python/py-objfile-script.exp (info auto-load-scripts): Change
1837 to ...
1838 (info auto-load python-scripts): ... here.
1839 * gdb.python/py-section-script.exp (info auto-load-scripts *): Change
1840 to ...
1841 (info auto-load python-scripts *): ... here.
1842
c0d4d1c0
YQ
18432012-04-16 Yao Qi <yao@codesourcery.com>
1844
1845 * lib/trace-support.exp (get_in_proc_agent): New.
1846 * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
1847 of in process trace agent.
1848 * gdb.trace/ftrace.exp: Likewise.
1849 * gdb.trace/pending.exp: Likewise.
1850 * gdb.trace/trace-break.exp: Likewise.
1851 * gdb.trace/trace-mt.exp
1852 * gdb.trace/tspeed.exp: Likewise.
1853 * gdb.trace/tstatus.exp
1854 * gdb.trace/strace.exp: Likewise.
1855
cbf68a60
TS
18562012-04-16 Thomas Schwinge <thomas@codesourcery.com>
1857
dd6d3b70
TS
1858 * gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
1859 symbol _stack is defined. Get rid of a hard-coded constant for _stack.
1860
cbf68a60
TS
1861 * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
1862
8264ba82
AG
18632012-04-14 Anton Gorenkov <xgsa@yandex.ru>
1864
1865 PR mi/13393
1866 * gdb.mi/mi-var-rtti.cc: New file.
1867 * gdb.mi/mi-var-rtti.exp: New file.
1868 * lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
1869 function.
1870 (mi_varobj_update_with_type_change): updated to avoid code duplication.
1871
de0919f8 18722012-04-11 Siva Chandra Reddy <sivachandra@google.com>
06fc020f
SCR
1873
1874 * gdb.python/Makefile.in: Add py-explore and py-explore-cc to
1875 EXECUTABLES.
1876 * gdb.python/py-explore.c: C program used for testing the new
1877 'explore' command on C constructs.
1878 * gdb.python/py-explore.cc: C++ program used for testing the new
1879 'explore' command on C++ constructs.
1880 * gdb-python/py-explore.exp: Tests for the new 'explore'
1881 command on C constructs.
1882 * gdb-python/py-explore-cc.exp: Tests for the new 'explore'
1883 command on C++ constructs.
1884
a82da7dd
MK
18852012-04-07 Mark Kettenis <kettenis@gnu.org>
1886
1887 * gdb.base/funcargs.exp (complex_args): Fix typo.
1888
e127cba8
JK
18892012-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1890
1891 * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
1892 (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
1893
40e084e1
KS
18942012-04-05 Keith Seitz <keiths@redhat.com>
1895
1896 * gdb.base/advance.exp: Update error message for
1897 "advance malformed" test.
1898 * gdb.base/break.exp: Likewise for "breakpoint with
1899 trailing garbage" test.
1900 * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
1901 with trailing garbage" test.
1902 * gdb.base/sepdebug.exp: Likewise for "breakpoint with
1903 trailng garbage" test.
1904 * gdb.base/until.exp: Likewise for "malformed until" test.
1905 * gdb.cp/ovldbreak.exp: Create the breakpoint table
1906 for "breakpoint info (after setting on all)".
1907 * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
1908 tests.
1909 * gdb.cp/cplabel.cc: New file.
1910 * gdb.cp/cplabel.exp: New test.
1911 * gdb.linespec/ls-errs.c: New file.
1912 * gdb.linespec/ls-errs.exp: New test.
1913
a72c8f6a
JK
19142012-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1915
1916 * gdb.trace/unavailable.exp
1917 (collect globals: print object on: print derived_partial)
1918 (collect globals: print object on: print derived_whole)
1919 (collect globals: print object off: print derived_partial)
1920 (collect globals: print object off: print derived_whole): Update
1921 expected output.
1922
f87a3023
KS
19232012-03-30 Keith Seitz <keiths@redhat.com>
1924
1925 * gdb.python: Add test for linespecs with commas.
1926
e2171b3c
KS
19272012-03-28 Keith Seitz <keiths@redhat.com>
1928
1929 * gdb.linespec/ls-dollar.cc: New file.
1930 * gdb.linespec/ls-dollar.exp: New test.
1931
19322012-03-28 Keith Seitz <keiths@redhat.com>
0e4acfcc
KS
1933
1934 * gdb.cp/namespace.exp: Add breakpoint tests for functions
1935 starting with the global namespace.
1936
2f4e0a80
DE
19372012-03-23 Doug Evans <dje@google.com>
1938
1939 * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
1940
7b282c5a
SCR
19412012-03-22 Siva Chandra Reddy <sivachandra@google.com>
1942
1943 * gdb.python/py-value.cc: Add test case for testing the
1944 methodology exposing C++ values to Python.
1945 * gdb.python/py-value-cc.exp: Add tests testing the methodology
1946 exposing C++ values to Python.
1947 * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
1948
2e98ca53
JK
19492012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1950 Siddhesh Poyarekar <siddhesh@redhat.com>
1951
1952 * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
1953 * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
1954 (generate native core dump): Make the test unsupported if core cannot
1955 be generated.
1956
8320cc4f
JK
19572012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1958
1959 * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
1960 for cmdarg_vec = NULL. Remove entries for cmdsize = 1, cmdarg = and
1961 ncmd = 0. New entry for VEC_cleanup cmdarg_s.
1962
3a69ffb2
JK
19632012-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1964
1965 * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
1966
8fabffee
DE
19672012-03-17 Doug Evans <dje@google.com>
1968
1969 * dg-extract-results.sh: Handle KFAILs.
1970
ab260dad
JK
19712012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1972
1973 PR symtab/13777
1974 * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
1975
53ba8333
JB
19762012-03-16 Joel Brobecker <brobecker@adacore.com>
1977
1978 * gdb.ada/set_pckd_arr_elt: New testcase.
1979
481860b3
GB
19802012-03-16 Gary Benson <gbenson@redhat.com>
1981
1982 PR breakpoints/10738
1983 * gdb.opt/inline-break.exp: New file.
1984 * gdb.opt/inline-break.c: Likewise.
d4ba18a2
DE
1985 * gdb.dwarf2/dw2-inline-break.exp: Likewise.
1986 * gdb.dwarf2/dw2-inline-break.S: Likewise.
481860b3
GB
1987 * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
1988 * gdb.base/async-shell.exp: Likewise.
1989 * lib/mi-support.exp (library_loaded_re): Likewise.
1990
410528f0
TT
19912012-03-15 Tom Tromey <tromey@redhat.com>
1992
1993 * gdb.cp/virtfunc2.exp: Update expected output.
1994 * gdb.cp/pr9631.exp: Update expected output.
1995 * gdb.cp/member-ptr.exp: Update expected output.
1996 * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
1997 output.
1998 * gdb.cp/casts.exp: Update expected output.
1999
c4aeac85
TT
20002012-03-15 Tom Tromey <tromey@redhat.com>
2001
2002 * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
2003 (test_info_vtbl): Likewise.
2004 (do_tests): Call test_info_vtbl.
2005 * gdb.cp/virtfunc.cc (va): New global.
2006
856d06f9
TS
20072012-03-15 Thomas Schwinge <thomas@codesourcery.com>
2008
2009 * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
2010 describing DWARF data structures.
2011 * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
2012 * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
2013 * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
2014 * gdb.dwarf2/dw2-entry-value.S: Likewise.
2015 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
2016 * gdb.dwarf2/dw2-param-error.S: Likewise.
2017 * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
2018 * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
2019 * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
2020 * gdb.dwarf2/implptr-optimized-out.S: Likewise.
2021 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
2022 * gdb.dwarf2/pr11465.S: Likewise.
2023
e837f12a
JK
20242012-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2025
2026 * gdb.mi/mi2-prompt.exp: New file.
2027
ccbb4f28
JB
20282012-03-13 Joel Brobecker <brobecker@adacore.com>
2029
2030 * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
2031
32039130
JB
20322012-03-13 Joel Brobecker <brobecker@adacore.com>
2033
2034 * gdb.ada/bp_range_type: New testcase.
2035
16899756
DE
20362012-03-13 Doug Evans <dje@google.com>
2037
2038 * gdb.base/default.exp: Delete tests for symbol-reloading.
2039 * gdb.base/help.exp: Ditto.
2040 * gdb.base/setshow.exp: Ditto.
2041 * gdb.base/gdb_history: Delete references to symbol-reloading.
2042
87b0bb13
JK
20432012-03-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2044
2045 * gdb.base/attach-twice.c: New files.
2046 * gdb.base/attach-twice.exp: New files.
2047
0d7941a9
KS
20482012-03-08 Keith Seitz <keiths@redhat.com>
2049
2050 * lib/gdb.exp (gdb_get_line_number): Throw an
2051 error instead of returning -1.
2052 * gdb.base/break.exp: Remove unused variable
2053 bp_location5.
2054 * gdb.base/hbreak2.exp: Likewise.
2055 * gdb.base/sepdebug.exp: Likewise.
2056
f4647387
YQ
20572012-03-08 Yao Qi <yao@codesourcery.com>
2058 Pedro Alves <palves@redhat.com>
2059
2060 Fix PR server/13392.
2061 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
2062 (tracepoint_change_loc_2): Remove kfail. Return if failed to
2063 download tracepoints.
2064 * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
2065 (pending_tracepoint_resolved_during_trace): Likewise.
2066 (pending_tracepoint_installed_during_trace): Likewise.
2067 (pending_tracepoint_with_action_resolved): Likewise.
2068
83c532cb
KS
20692012-03-08 Keith Seitz <keiths@redhat.com>
2070
2071 * gdb.ada/array_bounds.exp: Get breakpoint for line
2072 with "START", not "STOP".
2073 * gdb.python/py-infthread.exp: Do not continue to
2074 line marked "Break here.", which is undefined.
2075
d6b6bbb7
LM
20762012-03-08 Luis Machado <lgustavo@codesourcery.com>
2077
2078 Revert:
2079
2080 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2081
2082 Implement testsuite workaround for PR breakpoints/13781.
2083 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
2084 (set breakpoint condition-evaluation host): New conditional command.
2085
7fe25d9b
JK
20862012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2087
2088 Fix CU relative vs. absolute DIE offsets.
2089 * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
2090 one.
2091
51898c15
JK
20922012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2093
2094 Fix false FAIL on distros with relro linkage as default.
2095 * gdb.reverse/solib-precsave.exp: Try to compile the test using
2096 -Wl,-z,norelro first.
2097
8131799e
JB
20982012-03-06 Joel Brobecker <brobecker@adacore.com>
2099
2100 * gdb.ada/bp_on_var: New testcase.
2101
ba241969
JB
21022012-03-06 Joel Brobecker <brobecker@adacore.com>
2103
2104 * gdb.ada/bp_enum_homonym: New testcase.
2105
abe49676
YQ
21062012-03-06 Yao Qi <yao@codesourcery.com>
2107
2108 * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
2109 x86_64-*-* and i?86-*-*.
2110 Set up KFAIL for gdb/13808.
2111
d8df103b
TT
21122012-03-05 Tom Tromey <tromey@redhat.com>
2113
2114 * gdb.ada/operator_bp.exp: Clear debug-file-directory.
2115 * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
2116
b7b189f3
TT
21172012-03-05 Tom Tromey <tromey@redhat.com>
2118
2119 * gdb.java/jprint.java (jprint.main): Keep 'x' live.
2120
69dc1c4d
YQ
21212012-03-04 Yao Qi <yao@codesourcery.com>
2122
2123 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
2124 messages for KFAIL.
2125
3f20c47f
JK
21262012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2127
2128 * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc.
2129 (print one_two_three, indexes off, print few_reps, indexes off)
2130 (print many_reps, indexes off, print empty, indexes off)
2131 (print one_two_three, print few_reps, print many_reps, print empty):
2132 Call setup_xfail if $gcc_old.
2133
abf1152a
JK
21342012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2135
2136 Implement testsuite workaround for PR breakpoints/13781.
2137 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
2138 (set breakpoint condition-evaluation host): New conditional command.
2139
a06715f8
JK
21402012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2141
2142 Code cleanup.
2143 * gdb.cp/mb-templates.exp: New variables executable. Use it for
2144 binfile. use clean_restart. Replace gdb_expect by gdb_test_multiple.
2145 Replace GDB restart by kill and delete_breakpoints. Replace breakpoint
2146 number 1 by $bpnum. Four times.
2147
5808517f
YQ
21482012-03-03 Yao Qi <yao@codesourcery.com>
2149
2150 * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
2151
dfe2ac14
JK
21522012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2153
2154 Setup KFAIL for PR server/13796.
2155 * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
2156
8bbc467a
JB
21572012-03-02 Joel Brobecker <brobecker@adacore.com>
2158
2159 * gdb.ada/operator_bp: New testcase.
2160
c0eac87f
JB
21612012-03-02 Joel Brobecker <brobecker@adacore.com>
2162
2163 * gdb.ada/info_locals_renaming: New testcase.
2164
4f42c881
TT
21652012-03-02 Tom Tromey <tromey@redhat.com>
2166
2167 * gdb.base/nextoverexit.c: New file.
2168 * gdb.base/nextoverexit.exp: New file.
2169
7380c0c9
EBM
21702012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
2171
2172 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
2173 parameter.
2174
1faeff08
MR
21752012-03-01 Maciej W. Rozycki <macro@mips.com>
2176
2177 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
2178 core registers.
2179
320b6f49
MR
21802012-03-01 Maciej W. Rozycki <macro@mips.com>
2181 Maciej W. Rozycki <macro@codesourcery.com>
2182 Daniel Jacobowitz <dan@codesourcery.com>
2183
2184 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
2185
ad5f7d6e
PA
21862012-03-01 Pedro Alves <palves@redhat.com>
2187
2188 PR gdb/13767
2189
2190 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
2191 (gdb_collect_globals_test): Call it.
2192
d3dc44a6
KS
21932012-03-01 Keith Seitz <keiths@redhat.com>
2194
2195 * gdb.cp/method2.exp: Output of overload menu is now
2196 alphabetized. Update tests for "break A::method".
2197 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
2198 of hard-coding them.
2199 Overload menu is alphabetized: rewrite to accommodate.
2200 Unset variables LINE and TYPES which are used in other tests.
2201 Compute the output of "info break".
2202 Update the breakpoint table after all breakpoints are deleted.
2203 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
2204 compute ACTUALS and the method body based on parameters.
2205 Update expected output accordingly.
2206 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
2207 unique comments to allow the use of gdb_get_line_number.
2208
22092012-03-01 Keith Seitz <keiths@redhat.com>
2210
2211 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
2212 some Tcl syntax.
2213 * gdb.cp/ovldbreak.exp: Likewise.
2214
7949c2a0
KS
22152012-03-01 Keith Seitz <keiths@redhat.com>
2216
2217 * gdb.base/help.exp (help show user): Update expected result
2218 for new doc string changes (add "non-python").
2219
7d74f244
DE
22202012-03-01 Scott J. Goldman <scottjg@vmware.com>
2221
2222 * gdb.python/py-cmd.exp: Add test to verify that python commands can
2223 be put in the user-defined category and that the commands appear in
2224 "help user-defined".
2225
1b611343
JB
22262012-02-29 Joel Brobecker <brobecker@adacore.com>
2227
2228 * gdb.ada/tagged_not_init: New testcase.
2229
99b1c762
JB
22302012-02-29 Joel Brobecker <brobecker@adacore.com>
2231
2232 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
2233 * gdb.ada/enum_idx_packed: New testcase.
2234
2d4a02ee
JB
22352012-02-29 Joel Brobecker <brobecker@adacore.com>
2236
2237 * gdb.ada/aliased_array: New testcase.
2238
2e6fda7d
JB
22392012-02-29 Joel Brobecker <brobecker@adacore.com>
2240
2241 * gdb.ada/whatis_array_val: New testcase.
2242
9a7f938f
JK
22432012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2244
2245 Fix disp-step-syscall.exp: fork: single step over fork.
2246 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
2247 whitespaces.
2248 (single step over $syscall): Remove its check.
2249 (single step over $syscall final pc): New check.
2250
8703a944
JK
22512012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2252
2253 Support processors without SSSE3.
2254 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
2255 pabsd into ...
2256 (ssse3_test): ... a new function.
2257 (main): Call ssse3_test.
2258 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
2259 Update expected values everywhere.
2260 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
2261 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
2262 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
2263 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
2264 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
2265 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
2266 Move these tests lower.
2267 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
2268 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
2269 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
2270 New tests.
2271
c03e6ccc
YQ
22722012-02-29 Yao Qi <yao@codesourcery.com>
2273 Pedro Alves <palves@redhat.com>
2274
2275 * gdb.trace/trace-mt.c: New.
2276 * gdb.trace/trace-mt.exp: New.
2277
7964b62a
TS
22782012-02-28 Thomas Schwinge <thomas@codesourcery.com>
2279
2c8910ba
TS
2280 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
2281 numbers instead of hardcoding them.
2282 * gdb.base/annota1.c: Provide suitable markers.
2283 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
2284 numbers instead of hardcoding them.
2285 * gdb.base/annota3.c: Provide suitable markers.
2286
2287 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
2288 * gdb.base/annota3.c: Likewise.
2289 * gdb.base/sigall.c: Likewise.
2290 * gdb.base/signals.c: Likewise.
2291 * gdb.reverse/sigall-reverse.c: Likewise.
7964b62a 2292
5a41c0b7
MR
22932012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
2294
2295 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
2296 failure return path.
2297
ebbbe5c5
LM
22982012-02-27 Luis Machado <lgustavo@codesourcery.com>
2299
2300 * gdb.base/save-bp.exp: Account for new condition evaluator output.
2301
8d126d8a
LM
23022012-02-24 Luis Machado <lgustavo@codesourcery.com>
2303
2304 * gdb.base/cond-eval-mode.exp: New file.
2305
11337c2f
PA
23062012-02-24 Pedro Alves <palves@redhat.com>
2307
2308 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
2309 (top level): Use with_test_prefix.
2310
13fc3e3c
PA
23112012-02-24 Pedro Alves <palves@redhat.com>
2312
2313 * gdb.threads/attach-into-signal.exp (corefunc): Use
2314 with_test_prefix.
2315
07c1b626
JK
23162012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2317
2318 Fix false FAILs on old CPUs without SSE.
2319 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
2320 Return untested for Illegal instruction.
2321
596ba138
JK
23222012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2323
2324 Fix false FAILs with glibc debug infos installed.
2325 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
2326 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
2327
aeaa2474
SA
23282012-02-22 Sterling Augustine <saugustine@google.com>
2329
2330 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
2331 constant with cast.
2332
aed555c9
PA
23332012-02-21 Pedro Alves <palves@redhat.com>
2334
2335 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
2336
78afebb4
PA
23372012-02-21 Pedro Alves <palves@redhat.com>
2338
2339 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
2340
fdcfef12
PA
23412012-02-21 Pedro Alves <palves@redhat.com>
2342
2343 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
2344 with_test_prefix.
2345
0f4d39d5
PA
23462012-02-21 Pedro Alves <palves@redhat.com>
2347
2348 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
2349 with_test_prefix here.
2350 (top level): Do it here instead. Remove `:' from the
2351 with_test_prefix string.
2352 * gdb.base/attach-pie-misread.exp: Remove the leading space the
2353 the suffix `:' from the with_test_prefix prefix string.
2354 * gdb.base/break-interp.exp: Ditto.
2355 * gdb.base/catch-load.exp: Ditto.
2356 * gdb.base/disp-step-syscall.exp: Ditto.
2357 * gdb.base/jit-so.exp: Ditto.
2358 * gdb.base/jit.exp: Ditto.
2359 * gdb.base/sepdebug.exp: Ditto.
2360 * gdb.base/solib-display.exp: Ditto.
2361 * gdb.base/solib-overlap.exp: Ditto.
2362 * gdb.base/watch-cond-infcall.exp: Ditto.
2363 * gdb.base/watchpoint.exp: Ditto.
2364 * gdb.dwarf2/dw2-noloc.exp: Ditto.
2365 * gdb.mi/mi-watch.exp: Ditto.
2366 * gdb.mi/mi2-watch.exp: Ditto.
2367 * gdb.threads/non-ldr-exc-1.exp: Ditto.
2368 * gdb.threads/non-ldr-exc-2.exp: Ditto.
2369 * gdb.threads/non-ldr-exc-3.exp: Ditto.
2370 * gdb.threads/non-ldr-exc-4.exp: Ditto.
2371 * gdb.threads/watchpoint-fork.exp: Ditto.
2372 * gdb.threads/watchthreads-reorder.exp: Ditto.
2373 * gdb.trace/change-loc.exp: Ditto.
2374 * gdb.trace/pending.exp: Ditto.
2375 * gdb.trace/status-stop.exp: Ditto.
2376 * gdb.trace/strace.exp: Ditto.
2377 * gdb.trace/trace-break.exp: Ditto.
2378 * gdb.trace/unavailable.exp: Ditto.
2379 * lib/gdb.exp (with_test_prefix): Always prefix with space and
2380 suffix with colon. Adjust leading comments.
2381
6a5870ce
PA
23822012-02-21 Pedro Alves <palves@redhat.com>
2383 Tom Tromey <tromey@redhat.com>
2384
2385 * lib/gdb.exp: Add description of test prefixes.
2386 (with_test_prefix): New procedure.
2387 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
2388 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
2389 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
2390 instead of lappend to append to pf_prefix.
2391 * gdb.base/catch-load.exp: Use with_test_prefix.
2392 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
2393 * gdb.base/jit-so.exp: Use with_test_prefix.
2394 * gdb.base/jit.exp: Use with_test_prefix.
2395 * gdb.base/return-nodebug.exp (do_test): Use append instead of
2396 lappend to append to pf_prefix.
2397 * gdb.base/sepdebug.exp: Use with_test_prefix.
2398 * gdb.base/solib-display.exp: Use with_test_prefix.
2399 * gdb.base/solib-overlap.exp: Use with_test_prefix.
2400 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
2401 * gdb.base/watchpoint.exp: Use with_test_prefix.
2402 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
2403 * gdb.mi/mi-watch.exp: Use with_test_prefix.
2404 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
2405 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
2406 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
2407 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
2408 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
2409 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
2410 append instead of lappend to append to pf_prefix.
2411 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
2412 * gdb.trace/change-loc.exp: Use with_test_prefix.
2413 * gdb.trace/pending.exp: Use with_test_prefix.
2414 * gdb.trace/status-stop.exp: Use with_test_prefix.
2415 * gdb.trace/strace.exp: Use with_test_prefix.
2416 * gdb.trace/trace-break.exp: Use with_test_prefix.
2417 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
2418 instead of lappend to append to pf_prefix.
2419
35dc4a6b
JK
24202012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2421
2422 Fix racy FAILs.
2423 * gdb.base/inferior-died.c (main): Add return of 0.
2424 * gdb.base/inferior-died.exp (continue): Fix expectation of
2425 asynchronous events.
2426 (p 1): New test.
2427
c5a006e6
PA
24282012-02-20 Pedro Alves <palves@redhat.com>
2429
2430 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
2431 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
2432 gdb's internal debug output. For the non-threaded case, look for
2433 "Program received signal SIGLARM", for the threaded case, peek at
2434 the thread's siginfo.
2435
cc51a170
PA
24362012-02-20 Pedro Alves <palves@redhat.com>
2437
2438 General cleanup, make output test messages unique, and build
2439 different executable files for the non-threaded and threaded
2440 cases.
2441
2442 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
2443 Delete.
2444 (executable_nothr, executable_thr): New globals.
2445 (top level): Adjust to delete both executables.
2446 (corefunc): New parameter $executable. Set $pf_prefix instead of
2447 hand writing a prefix in tests. Issue a clean_restart and enable
2448 lin-lwp debug output here.
2449 (top level): Adjust. Use build_executable. Don't start gdb here,
2450 and don't enable lin-lwp debug output here.
2451 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
2452
c755f03d
JK
24532012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2454
2455 Fix racy FAILs.
2456 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
2457 "continue" command.
2458
6bec5e0a
JK
24592012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2460
2461 Fix for gdbserver non-extended mode.
2462 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
2463 and gdb_run_cmd.
2464
2e8265fd
TT
24652012-02-17 Tom Tromey <tromey@redhat.com>
2466
2467 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
2468 * gdb.python/py-events.exp: Check 'dir' output.
2469 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
2470
9e507076
YQ
24712012-02-17 Yao Qi <yao@codesourcery.com>
2472
2473 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
2474
32d22ab1
TT
24752012-02-16 Tom Tromey <tromey@redhat.com>
2476
2477 * gdb.base/inferior-died.c: Don't include stdio.h.
2478
9addecb9
TT
24792012-02-16 Tom Tromey <tromey@redhat.com>
2480
2481 * gdb.base/inferior-died.c: New file.
2482 * gdb.base/inferior-died.exp: New file.
2483
4cb6da1c
AR
24842012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
2485
2486 * gdb.base/break-inline.exp: New file.
2487 * gdb.base/break-inline.c: New file.
2488
3af2590d
TT
24892012-02-15 Tom Tromey <tromey@redhat.com>
2490
2491 * gdb.base/pc-fp.exp: Add "info register" tests.
2492
29988831
TT
24932012-02-15 Tom Tromey <tromey@redhat.com>
2494
2495 * gdb.base/regs.exp: Remove.
2496
10010058
PA
24972012-02-15 Pedro Alves <palves@redhat.com>
2498
2499 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
2500 the target doesn't support tracepoints.
2501 * gdb.trace/circ.exp: Ditto.
2502 * gdb.trace/collection.exp: Ditto.
2503 * gdb.trace/packetlen.exp: Ditto.
2504 * gdb.trace/passc-dyn.exp: Ditto.
2505 * gdb.trace/report.exp: Ditto.
2506 * gdb.trace/tfind.exp: Ditto.
2507 * gdb.trace/tspeed.exp: Ditto.
2508 * gdb.trace/tsv.exp: Ditto.
2509 * gdb.trace/unavailable.exp: Ditto.
2510 * gdb.trace/while-dyn.exp: Ditto.
2511
a2e0062d
PA
25122012-02-15 Pedro Alves <palves@redhat.com>
2513
2514 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
2515 gdb_test_multiple, and call unsupported instead of fail, if the
2516 remote side does not support the request.
2517
a1999d40
PA
25182012-02-15 Pedro Alves <palves@redhat.com>
2519
2520 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
2521 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
2522 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
2523 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
2524 * gdb.server/server-run.exp: Make sure gdb is disconnected.
2525 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
2526 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
2527 doesn't start with "extended-" already.
2528
7cee1e54
PA
25292012-02-15 Pedro Alves <palves@redhat.com>
2530
2531 Support extended-remote. Avoid cascading timeouts.
2532
2533 * gdb.base/attach.exp (do_attach_tests): Add expected output for
2534 the extended-remote target. If attaching with no file fails, load
2535 the file manually.
2536 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
2537
816338b5
SS
25382012-02-14 Stan Shebs <stan@codesourcery.com>
2539
2540 * gdb.base/ena-dis-br.exp: Add enable count test.
2541
cc30c4bd
PA
25422012-02-13 Pedro Alves <palves@redhat.com>
2543
2544 * config/mips-idt.exp: Delete.
2545 * gdb.base/a2-run.exp: Remove mips-idt xfails.
2546 * gdb.base/bitfields.exp: Remove mips-idt restarts.
2547 * gdb.base/break.exp: Remove mips-idt references.
2548 * gdb.base/chng-syms.exp: Ditto.
2549 * gdb.base/default.exp: Ditto.
2550 * gdb.base/funcargs.exp (funcargs_reload): Delete.
2551 (top level): Don't call it.
2552 * gdb.base/opaque.exp: Remove mips-idt restarts.
2553 * gdb.base/ptype.exp: Remove mips-idt xfails.
2554 * gdb.base/scope.exp: Remove mips-idt restarts.
2555 * gdb.base/sepdebug.exp: Remove mips-idt references.
2556 * gdb.base/watchpoint.exp (maybe_clean_restart)
2557 (maybe_reinitialize): Delete.
2558 (test_disabling_watchpoints, test_disabling_watchpoints)
2559 (test_watchpoint_triggered_in_syscall)
2560 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
2561 Don't call them.
2562
57008375
JK
25632012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2564
2565 * gdb.server/server-exec-info.exp: New file.
2566
4a2d9c08
PA
25672012-02-10 Pedro Alves <palves@redhat.com>
2568
2569 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
2570 always non-empty.
2571 (test_attach): Always pass $exec to test_attach_gdb.
2572
09fa21bd
TT
25732012-02-08 Tom Tromey <tromey@redhat.com>
2574
2575 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
2576 before inferior is started.
2577
f0823d2c
TT
25782012-02-07 Tom Tromey <tromey@redhat.com>
2579
2580 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
2581 Symbol.value.
2582 * gdb.python/py-symbol.c (qq): Set default value.
2583
25842012-02-07 Tom Tromey <tromey@redhat.com>
64e7d9dd
TT
2585
2586 * gdb.python/py-symbol.c (qq): New global.
2587 * gdb.python/py-symbol.exp: Add test for frame-less
2588 lookup_symbol.
2589 * gdb.python/py-symtab.exp: Fix line number.
2590
f7e44f65
JB
25912012-02-03 Joel Brobecker <brobecker@adacore.com>
2592
2593 * gdb.ada/mi_task_arg: New testcase.
2594
4c9ed63c
PA
25952012-02-02 Pedro Alves <palves@redhat.com>
2596
2597 * gdb.reverse/until-precsave.exp: Also put "record save" under the
2598 extended timeout.
2599
c0b9f2c6
PA
26002012-02-02 Pedro Alves <palves@redhat.com>
2601
2602 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
2603 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
2604
5f8cefd7
PA
26052012-02-02 Pedro Alves <palves@redhat.com>
2606
2607 * gdb.base/term.exp: Rewrite.
2608 * gdb.base/term.c: New.
2609
2f3a2569
PA
26102012-02-02 Pedro Alves <palves@redhat.com>
2611
2612 * gdb.base/default.exp (run "r" abbreviation, run): Add
2613 extended-remote expected output.
2614
f149aabd
TT
26152012-02-02 Tom Tromey <tromey@redhat.com>
2616
2617 * gdb.cp/dispcxx.exp: New file.
2618 * gdb.cp/dispcxx.cc: New file.
2619
03bef283
TT
26202012-02-01 Tom Tromey <tromey@redhat.com>
2621
2622 * gdb.base/jit-simple.exp: New file.
2623 * gdb.base/jit-simple.c: New file.
2624
a79b18b5
YQ
26252012-01-30 Yao Qi <yao@codesourcery.com>
2626
2627 * gdb.base/skip.exp: Make test result unique.
2628
f0d1a53e
JK
26292012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2630
2631 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
2632 compatibility with valgrind-3.7.0.
2633
4b3c9f41
PA
26342012-01-27 Pedro Alves <palves@redhat.com>
2635
2636 * gdb.base/watchpoint.exp (no_hw): New global.
2637 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
2638 disable hw watchpoints.
2639 (test_wide_location_1, test_wide_location_2): If no_hw is set,
2640 don't expect hw watchpoints.
2641 (no_hw_watchpoints): Always clean restart.
2642 (do_tests): New procedure, factored out from the top level.
2643 (top level): Run tests twice. Once with hw watchpoints enabled,
2644 another time with hw watchpoints disabled.
2645
a13491c8
PA
26462012-01-27 Pedro Alves <palves@redhat.com>
2647
2648 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
2649 out from the top level.
2650 (top level): Call it instead.
2651
f2c8a051
PA
26522012-01-27 Pedro Alves <palves@redhat.com>
2653
2654 * gdb.base/watchpoint.exp (top level): Re-enable hardware
2655 watchpoints sooner.
2656
654d7a9e
PA
26572012-01-27 Pedro Alves <palves@redhat.com>
2658
2659 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
2660
274f47f3
PA
26612012-01-27 Pedro Alves <palves@redhat.com>
2662
2663 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
2664 "You may have requested too many hardware
2665 breakpoints/watchpoints".
2666
e4d63ba2
PA
26672012-01-27 Pedro Alves <palves@redhat.com>
2668
2669 * gdb.base/watchpoint.exp (maybe_clean_restart)
2670 (maybe_reinitialize): New.
2671 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
2672 expect "hit N times".
2673 (test_disabling_watchpoints, test_complex_watchpoint)
2674 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
2675 Call maybe_clean_restart.
2676 (top level): Use clean_restart. Remove "mips-idt-*"
2677 reinitialization.
2678
dbd95daf
PA
26792012-01-27 Pedro Alves <palves@redhat.com>
2680
2681 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
2682
f3ad2025
PA
26832012-01-27 Pedro Alves <palves@redhat.com>
2684
2685 * gdb.base/watchpoint.exp: Clean restart after tests that don't
2686 require `initialize' anymore. Remove unnecessary `initialize'
2687 calls.
2688
100aa3ae
PA
26892012-01-27 Pedro Alves <palves@redhat.com>
2690
2691 * gdb.base/watchpoint.exp (wp_set): Delete.
2692 (initialize, test_simple_watchpoint, top level): Remove dead code.
2693
c79a8e11
PA
26942012-01-27 Pedro Alves <palves@redhat.com>
2695
2696 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
2697 typo.
2698
048fe15a
PA
26992012-01-27 Pedro Alves <palves@redhat.com>
2700
2701 * config/extended-gdbserver.exp: New file.
2702 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
2703 comment.
2704 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
2705 * boards/native-extended-gdbserver.exp: New file.
2706
4033a6bf
PA
27072012-01-26 Pedro Alves <palves@redhat.com>
2708
2709 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
2710 and gdb_test_multiple.
2711
3d7f4b81
PA
27122012-01-26 Pedro Alves <palves@redhat.com>
2713
2714 Make test messages unique, and more identifiable.
2715 * gdb.multi/watchpoint-multi.exp: Change test messages.
2716
484abf42
TT
27172012-01-25 Tom Tromey <tromey@redhat.com>
2718
2719 * gdb.base/solib-disc.exp: Fix regexps.
2720
edcc5120
TT
27212012-01-24 Tom Tromey <tromey@redhat.com>
2722
2723 * lib/mi-support.exp (mi_expect_stop): Add special case for
2724 solib-event.
2725 * gdb.base/catch-load-so.c: New file.
2726 * gdb.base/catch-load.exp: New file.
2727 * gdb.base/catch-load.c: New file.
2728 * gdb.base/break-interp.exp (reach_1): Update regexp.
2729
30b91c90
JK
27302012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2731
2732 Fix fuzzy results.
2733 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
2734 lpsimple and func.
2735
53fe1783
GB
27362012-01-24 Gary Benson <gbenson@redhat.com>
2737
2738 Delete #if 0'd out code.
2739 * gdb.base/default.exp (info catch): Remove.
2740 * gdb.base/gdb_history (info catch): Likewise.
2741 * gdb.base/help.exp (info catch): Likewise.
2742
d0d8b0c6
JK
27432012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2744
2745 Fix watchpoints to be specific for each inferior.
2746 * gdb.multi/watchpoint-multi.c: New file.
2747 * gdb.multi/watchpoint-multi.exp: New file.
2748
4403d8e9
JK
27492012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2750
2751 Fix watchpoints across inferior fork.
2752 * gdb.threads/watchpoint-fork-child.c: New file.
2753 * gdb.threads/watchpoint-fork-mt.c: New file.
2754 * gdb.threads/watchpoint-fork-parent.c: New file.
2755 * gdb.threads/watchpoint-fork-st.c: New file.
2756 * gdb.threads/watchpoint-fork.exp: New file.
2757 * gdb.threads/watchpoint-fork.h: New file.
2758
050a2e1d
PA
27592012-01-23 Pedro Alves <palves@redhat.com>
2760
2761 * gdb.base/call-signal-resume.exp: Allow output after "return".
2762
6a52fb62
PA
27632012-01-20 Pedro Alves <palves@redhat.com>
2764
2765 * gdb.python/py-finish-breakpoint.py: Fix typo.
2766
145b16a9
UW
27672012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
2768
2769 * gdb.base/info-proc.exp: Also run on remote targets. Main
2770 "info proc" command is now always present; whether target supports
2771 actual info proc operation is detected when attempting to issue
2772 the command.
2773
26f6125e
JK
27742012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2775
2776 * .gdbinit: Remove.
2777
eb5227ce
PA
27782012-01-19 Pedro Alves <palves@redhat.com>
2779
2780 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
2781 look at the funtions' returns.
2782 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
2783 (jprint.print(int, int)): Change return type to int. Adjust.
2784
1db33378
PP
27852012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
2786
2787 PR gdb/9538
2788 * gdb.base/sepdebug.exp: New test.
2789
b9736cf8
PA
27902012-01-18 Pedro Alves <palves@redhat.com>
2791
2792 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
2793 Allow output before ^done.
2794
4aac40c8
TT
27952012-01-16 Tom Tromey <tromey@redhat.com>
2796
2797 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
2798 Add tests for relative directory.
2799
cafec441
TT
28002012-01-16 Tom Tromey <tromey@redhat.com>
2801
2802 * gdb.base/printcmds.c (enum flag_enum): New.
2803 (three): New global.
2804 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
2805 enum printing.
2806 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
2807 FlagEnumerationPrinter.
2808 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
2809 * gdb.python/py-pp-maint.c (enum flag_enum): New.
2810 (fval): New global.
2811
abcc4978
PA
28122012-01-16 Pedro Alves <palves@redhat.com>
2813
2814 * lib/gdb.exp (banned_procedures): New variable.
2815 (banned_variables_traced): Rename to ...
2816 (banned_traced): ... this.
2817 (gdb_init): Also trace banned procedures.
2818 (gdb_finish): Also untrace banned procedures.
2819
97ccebe8
PA
28202012-01-16 Pedro Alves <palves@redhat.com>
2821
2822 Remove all calls to strace.
2823
2af7517b
JK
28242012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2825
2826 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
2827 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
2828
9241a8bc
PP
28292012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2830
2831 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
2832 * gdb.base/pie-execl.exp: Likewise.
2833
3848a17f
KS
28342012-01-12 Keith Seitz <keiths@redhat.com>
2835
2836 PR mi/10586
2837 * gdb.mi/var-cmd.c (struct anonymous): New structure.
2838 (do_anonymous_type_tests): New function.
2839 (main): Call do_anonymous_type_tests.
2840 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
2841 (verify_everything): New procedure.
2842 * gdb.mi/mi-var-cp.cc (class A): New class.
2843 (anonymous_structs_and_unions): New function.
2844 (main): Call anonymous_structs_and_unions.
2845 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
2846 (verify_everything): New procedure.
2847
440e2fca
KS
28482012-01-12 Keith Seitz <keiths@redhat.com>
2849
2850 * lib/mi-support.exp: Expand comments about PATH_EXPR.
2851 (varobj_tree::get_path_expr): Assume that all varobjs are
2852 compound unless they are known simple types.
2853 Adjust path expressions based on parent type, path parent type,
2854 and tree language.
2855 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
2856 the root varobj.
2857 (mi_walk_varobj_tree): Add LANGUAGE parameter.
2858
675399c9
PA
28592012-01-11 Pedro Alves <palves@redhat.com>
2860
2861 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
2862 core files on this machine" anymore.
2863
97ddaa9b
PH
28642012-01-11 Paul Hilfinger <hilfingr@adacore.com>
2865
2866 * gdb.base/watchpoint.c (recurser): Initialize local_x.
2867 (main): Repeat recurser call.
2868 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
2869 equivalent to 'local_x'.
2870
ea733575
PH
28712012-01-11 Paul Hilfinger <hilfingr@adacore.com>
2872 Joel Brobecker <brobecker@adacore.com>
2873
2874 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
2875
2ca0b532
PA
28762012-01-05 Pedro Alves <alves.ped@gmail.com>
2877
2878 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
2879 * gdb.python/py-events.c (first): Add bits for new "step N" test.
2880 * gdb.python/py-events.exp: Test that "step N" tripping on a
2881 breakpoint emits a breakpoint event.
2882
6e681866
JB
28832012-01-03 Joel Brobecker <brobecker@adacore.com>
2884
2885 * gdb.base/auxv.exp: Reformat the copyright notice.
2886
3c2d6aff
YQ
28872012-01-03 Yao Qi <yao@codesourcery.com>
2888
2889 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
2890 (strace_trace_on_diff_addr): New.
2891 * gdb.trace/strace.c: (main): Add two local variables.
2892
0852fee3
UW
28932011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
2894
2895 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
2896 * gdb.cell/gcore.exp: Likewise.
2897 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
2898 to verify the correct instance of main is selected.
2899
12c3e59c
JB
29002012-01-02 Joel Brobecker <brobecker@adacore.com>
2901
2902 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
2903 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
2904 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
2905 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
2906 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
2907 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
2908 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
2909 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
2910 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
2911 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
2912 gdb.threads/thread_check.c: Reformat copyright header.
2913
c0f378ec
EBM
29142011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
2915
e4a7ca93 2916 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
c0f378ec
EBM
2917 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
2918 is not enabled.
2919
3bc96cfb
JK
29202011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2921
2922 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
2923 parameter to self_exec, adjust the function.
2924 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
2925 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
2926 (set var do_exit = 0): Remove test.
2927 (newline at end of file): Add one.
2928
095bcf5e
JB
29292011-12-27 Joel Brobecker <brobecker@adacore.com>
2930
2931 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
2932 New files.
2933
18d19bd1
JK
29342011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2935
2936 Fix racy FAILs.
2937 * gdb.threads/fork-thread-pending.c (barrier): New variable.
2938 (thread_function, thread_forker): Call pthread_barrier_wait for it.
2939 (main): Call pthread_barrier_init for it.
2940
e809353a
JK
29412011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2942
2943 Fix double send_gdb leading to racy FAILs.
2944 * gdb.base/break.exp (set silent break bp_location1): Replace
2945 3x send_gdb and gdb_expect by gdb_test.
2946 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
2947 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
2948 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
2949 instead of send_gdb. Twice.
2950 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
2951 3x send_gdb and gdb_expect by gdb_test.
2952 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
2953
da8cb7ec
JK
29542011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2955
2956 * gdb.linespec/linespec.exp: Compile using {c++}.
2957
ae1a303e
JK
29582011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2959
2960 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
2961 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
2962 (verify GCC PR debug/51668): New test.
2963
cc72b2a2
KP
29642011-12-23 Kevin Pouget <kevin.pouget@st.com>
2965
2966 Introduce gdb.FinishBreakpoint in Python.
2967 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
2968 py-finish-breakpoint2
2969 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
2970 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
2971 instead of line number.
2972 * gdb.python/py-finish-breakpoint.c: New file.
2973 * gdb.python/py-finish-breakpoint.exp: New file.
2974 * gdb.python/py-finish-breakpoint.py: New file.
2975 * gdb.python/py-finish-breakpoint2.cc: New file.
2976 * gdb.python/py-finish-breakpoint2.exp: New file.
2977 * gdb.python/py-finish-breakpoint2.py: New file.
2978
3b7962f9
JK
29792011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2980
2981 Partial fix of compatibility with gcc-4.7.
2982 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
2983 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
2984 Add comment to add a PASS case in the future.
2985
6538471c
JK
2986 Fix compatibility with gcc-4.7.
2987 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
2988
7052e42c
UW
29892011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
2990
2991 PR tdep/12797
2992 * gdb.base/callfuncs.exp: Remove KFAIL.
2993
9ac7f98e
JB
29942011-12-21 Joel Brobecker <brobecker@adacore.com>
2995
2996 * gdb.ada/task_bp: New testcase.
2997
f6eeced0
JK
29982011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2999
3000 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
3001 -DNO_SECTIONS.
3002 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
3003
72225e17
JK
30042011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3005
3006 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
3007 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
3008 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
3009 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
3010 conditional for gcc <= 4.5.
3011
13ac8d2c
JK
30122011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3013
3014 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
3015 by XFAIL.
3016 * gdb.cp/static-method.exp (info addr A::func())
3017 (list static-method.cc:xxx::(anonymous namespace)::A::func)
3018 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
3019 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
3020 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
3021 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
3022 (test value of F in k3_m): Likewise.
3023 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
3024 Likewise.
3025
049682ba
JK
30262011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3027
3028 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
3029 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
3030 Remove.
3031 * gdb.threads/attachstop-mt.c: Remove.
3032 * gdb.threads/attachstop-mt.exp: Remove.
3033
2c9d8796
MK
30342011-12-17 Mark Kettenis <kettenis@gnu.org>
3035
3036 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
3037
e0f9f062
DE
30382011-12-16 Doug Evans <dje@google.com>
3039
f4aa2101 3040 * boards/native-stdio-gdbserver.exp: New file.
966be4fd
DE
3041 * boards/native-gdbserver.exp: New file.
3042
e0f9f062
DE
3043 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
3044 gdbserver output.
3045 (gdbserver_default_get_remote_address): New function.
3046 (gdbserver_start): Call gdb,get_remote_address to compute argument
3047 to "target remote" command.
3048
80b6e756
PM
30492011-12-16 Phil Muldoon <pmuldoon@redhat.com>
3050
1c3ad6ab 3051 * gdb.python/py-function.exp: Change "on" to "full" for
80b6e756
PM
3052 python print-stack. Add set/show python print-stack
3053 off|full|message tests.
3054
1576bd00
YQ
30552011-12-15 Yao Qi <yao@codesourcery.com>
3056
3057 * gdb.trace/strace.c: New
3058 * gdb.trace/strace.exp: New.
3059
d6a0f6e0
TT
30602011-12-14 Tom Tromey <tromey@redhat.com>
3061
3062 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
3063
31015e1d
DE
30642011-12-14 Doug Evans <dje@google.com>
3065
3066 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
3067
7b50312a
PA
30682011-12-14 Pedro Alves <pedro@codesourcery.com>
3069
3070 PR threads/10729
3071
3072 * gdb.mi/watch-nonstop.c: New file.
3073 * gdb.mi/mi-watch-nonstop.exp: New file.
3074
924437bc
PA
30752011-12-13 Pedro Alves <pedro@codesourcery.com>
3076 Doug Evans <dje@google.com>
3077
3078 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
3079 (clean_restart): Remove references to the gdb_stub target board
3080 variable.
3081 (gdb_step_for_stub): Delete.
3082
3083 * gdb.base/annota1.exp: Remove all references to [target_info
3084 exists gdb_stub], gdb_step_for_stub and usestubs.
3085 * gdb.base/annota3.exp: Ditto.
3086 * gdb.base/async.exp: Ditto.
3087 * gdb.base/break.exp: Ditto.
3088 * gdb.base/code-expr.exp: Ditto.
3089 * gdb.base/commands.exp: Ditto.
3090 * gdb.base/completion.exp: Ditto.
3091 * gdb.base/condbreak.exp: Ditto.
3092 * gdb.base/consecutive.exp: Ditto.
3093 * gdb.base/cvexpr.exp: Ditto.
3094 * gdb.base/define.exp: Ditto.
3095 * gdb.base/display.exp: Ditto.
3096 * gdb.base/ena-dis-br.exp: Ditto.
3097 * gdb.base/environ.exp: Ditto.
3098 * gdb.base/gnu-ifunc.exp: Ditto.
3099 * gdb.base/maint.exp: Ditto.
3100 * gdb.base/pending.exp: Ditto.
3101 * gdb.base/sect-cmd.exp: Ditto.
3102 * gdb.base/sepdebug.exp: Ditto.
3103 * gdb.base/unload.exp: Ditto.
3104 * gdb.base/watchpoint-solib.exp: Ditto.
3105 * gdb.cp/annota2.exp: Ditto.
3106 * gdb.cp/annota3.exp: Ditto.
3107 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
3108 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
3109 * gdb.mi/mi-pending.exp: Ditto.
3110 * gdb.trace/circ.exp: Ditto.
3111 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
3112 * gdb.base/list.exp: Ditto.
3113
3114 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
3115 breakpoint function and all references to the usestubs macro.
3116 * gdb.base/exprs.c: Ditto.
3117 * gdb.base/freebpcmd.c: Ditto.
3118 * gdb.base/bitfields.c: Ditto.
3119 * gdb.base/bitfields2.c: Ditto.
3120 * gdb.base/break.c: Ditto.
3121 * gdb.base/call-sc.c: Ditto.
3122 * gdb.base/call-signals.c: Ditto.
3123 * gdb.base/callfuncs.c: Ditto.
3124 * gdb.base/charset.c: Ditto.
3125 * gdb.base/consecutive.c: Ditto.
3126 * gdb.base/constvars.c: Ditto.
3127 * gdb.base/funcargs.c: Ditto.
3128 * gdb.base/int-type.c: Ditto.
3129 * gdb.base/interrupt.c: Ditto.
3130 * gdb.base/langs0.c: Ditto.
3131 * gdb.base/list0.c: Ditto.
3132 * gdb.base/mips_pro.c: Ditto.
3133 * gdb.base/miscexprs.c: Ditto.
3134 * gdb.base/nodebug.c: Ditto.
3135 * gdb.base/opaque0.c: Ditto.
3136 * gdb.base/pointers.c: Ditto.
3137 * gdb.base/printcmds.c: Ditto.
3138 * gdb.base/ptype.c: Ditto.
3139 * gdb.base/recurse.c: Ditto.
3140 * gdb.base/reread1.c: Ditto.
3141 * gdb.base/reread2.c: Ditto.
3142 * gdb.base/restore.c: Ditto.
3143 * gdb.base/return.c: Ditto.
3144 * gdb.base/run.c: Ditto.
3145 * gdb.base/scope0.c: Ditto.
3146 * gdb.base/sepdebug.c: Ditto.
3147 * gdb.base/setshow.c: Ditto.
3148 * gdb.base/setvar.c: Ditto.
3149 * gdb.base/sigall.c: Ditto.
3150 * gdb.base/signals.c: Ditto.
3151 * gdb.base/structs.c: Ditto.
3152 * gdb.base/structs2.c: Ditto.
3153 * gdb.base/testenv.c: Ditto.
3154 * gdb.base/twice.c: Ditto.
3155 * gdb.base/unwindonsignal.c: Ditto.
3156 * gdb.base/watchpoint.c: Ditto.
3157 * gdb.base/watchpoints.c: Ditto.
3158 * gdb.base/whatis.c: Ditto.
3159 * gdb.cp/classes.cc: Ditto.
3160 * gdb.cp/cplusfuncs.cc: Ditto.
3161 * gdb.cp/derivation.cc: Ditto.
3162 * gdb.cp/formatted-ref.cc: Ditto.
3163 * gdb.cp/misc.cc: Ditto.
3164 * gdb.cp/overload.cc: Ditto.
3165 * gdb.cp/ovldbreak.cc: Ditto.
3166 * gdb.cp/ref-params.cc: Ditto.
3167 * gdb.cp/ref-types.cc: Ditto.
3168 * gdb.cp/templates.cc: Ditto.
3169 * gdb.cp/virtfunc.cc: Ditto.
3170 * gdb.hp/gdb.aCC/run.c: Ditto.
3171 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
3172 * gdb.hp/gdb.compat/xdb0.c: Ditto.
3173 * gdb.reverse/consecutive-reverse.c: Ditto.
3174 * gdb.reverse/sigall-reverse.c: Ditto.
3175 * gdb.reverse/until-reverse.c: Ditto.
3176 * gdb.reverse/watch-reverse.c: Ditto.
3177 * gdb.trace/actions.c: Ditto.
3178 * gdb.trace/circ.c: Ditto.
3179 * gdb.trace/collection.c: Ditto.
3180
fabde485
PA
31812011-12-13 Pedro Alves <pedro@codesourcery.com>
3182
3183 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
3184 (func6, func7): New.
3185 (main): Call func6 and func7.
3186 * gdb.base/watchpoint.exp (test_wide_location_1)
3187 (test_wide_location_2): New.
3188 (top level): Re-enable hardware watchpoints if necessary. Call
3189 test_wide_location_1 and test_wide_location_2.
3190
ff7d1690
YQ
31912011-12-11 Yao Qi <yao@codesourcery.com>
3192
3193 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
3194
a6af7abe
JB
31952011-12-11 Joel Brobecker <brobecker@adacore.com>
3196
3197 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
3198 expected output for unsupported case.
3199
61638e15
JK
32002011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3201
3202 PR testsuite/12649
3203 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
3204 Protect gdb_test_multiple by final $gdb_prompt match.
3205
0a00efc3
JK
32062011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3207
3208 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
3209 New variable, new test.
3210 (list static-method.cc:xxx::(anonymous namespace)::A::func)
3211 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
3212 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
3213 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
3214 them if HAVE_GCC_45682_FIXED is not set.
3215
4511b1ba
YQ
32162011-12-10 Yao Qi <yao@codesourcery.com>
3217
3218 * gdb.trace/status-stop.exp: New.
3219 * gdb.trace/status-stop.c: New.
3220
27949e73
JK
32212011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3222
3223 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
3224 timeout.
3225
d8ea7931
TT
32262011-12-08 Tom Tromey <tromey@redhat.com>
3227
3228 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
3229 condition.
3230
1cc310d2
SS
32312011-12-07 Stan Shebs <stan@codesourcery.com>
3232
3233 * gdb.trace/tfind.exp: Update for output changes.
3234
d482a875
PA
32352011-12-07 Pedro Alves <pedro@codesourcery.com>
3236
3237 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
3238 throws "Cannot insert catchpoints in this configuration".
3239 * gdb.ada/mi_catch_ex.exp: Likewise.
3240
f0ba3972
PA
32412011-12-06 Pedro Alves <pedro@codesourcery.com>
3242
3243 * gdb.base/break-always.exp: Test changing memory at addresses
3244 with breakpoints inserted.
3245
f8eba3c6
TT
32462011-12-06 Joel Brobecker <brobecker@acacore.com>
3247
3248 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
3249 involving a fully qualified function name.
3250
32512011-12-06 Tom Tromey <tromey@redhat.com>
3252
3253 * gdb.ada/homonym.exp: Add three breakpoint tests.
3254
32552011-12-06 Tom Tromey <tromey@redhat.com>
3256
3257 * gdb.base/solib-weak.exp (do_test): Remove kfail.
3258 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
3259 * gdb.objc/objcdecode.exp: Update for output changes.
3260 * gdb.linespec/linespec.exp: New file.
3261 * gdb.linespec/lspec.cc: New file.
3262 * gdb.linespec/lspec.h: New file.
3263 * gdb.linespec/body.h: New file.
3264 * gdb.linespec/base/two/thefile.cc: New file.
3265 * gdb.linespec/base/one/thefile.cc: New file.
3266 * gdb.linespec/Makefile.in: New file.
3267 * gdb.cp/templates.exp (test_template_breakpoints): Update for
3268 output changes.
3269 * gdb.cp/re-set-overloaded.exp: Remove kfail.
3270 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
3271 makes one breakpoint.
3272 * gdb.cp/method2.exp (test_break): Update for output changes.
3273 * gdb.cp/mb-templates.exp: Update for output changes.
3274 * gdb.cp/mb-inline.exp: Update for output changes.
3275 * gdb.cp/mb-ctor.exp: Update for output changes.
3276 * gdb.cp/ovsrch.exp: Use fully-qualified names.
3277 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
3278 has multiple matches.
3279 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
3280 error message change.
3281 * gdb.base/list.exp (test_list_filename_and_number): Update for
3282 error message change.
3283 * gdb.base/break.exp: Disable pending breakpoints. Update for
3284 output changes.
3285 * configure.ac: Add gdb.linespec.
3286 * configure: Rebuild.
3287 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
3288
c642a434
UW
32892011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
3290
3291 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
3292 last_break register on s390*-*-* targets.
3293
b18003d1
JB
32942011-12-06 Joel Brobecker <brobecker@adacore.com>
3295
3296 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
3297 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
3298 of parameter X in procedure Foo.
3299
fe96589c
SS
33002011-12-05 Stan Shebs <stan@codesourcery.com>
3301
3302 * gdb.trace/tfind.exp: Update help string matches.
3303
1820ab47
JK
33042011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3305
3306 * gdb.server/ext-run.exp (get process list): Accept also systemd
3307 as PID 1.
3308
e11ac3a3
JK
33092011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3310 Pedro Alves <pedro@codesourcery.com>
3311
3312 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
3313 starting GDB.
3314 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
3315 $use_gdb_stub.
3316 * gdb.base/display.exp: Likewise.
3317 * gdb.base/ending-run.exp: Likewise.
3318 * gdb.base/list.exp (test_listsize): Likewise.
3319 * gdb.base/setshow.exp: Likewise.
3320 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
3321 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
3322 check by global $use_gdb_stub.
3323 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
3324 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
3325 (default_gdb_init): Unset global $use_gdb_stub.
3326 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
3327 by global $use_gdb_stub.
3328 * lib/gdbserver-support.exp: Extend comments for set_board_info
3329 gdb_protocol and gdb,socketport.
3330 (gdbserver_start_extended): Set global gdbserver_protocol and
3331 gdbserver_gdbport. Clear global use_gdb_stub.
3332 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
3333 from target use_gdb_stub.
3334 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
3335
1d41d75c
DE
33362011-12-03 Doug Evans <dje@google.com>
3337
3338 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
3339 (gdb_step_for_stub): Add comments.
3340
d6d7a51a
MR
33412011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
3342
3343 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
3344 to the caller.
3345 (gdb_test_multiple): Likewise.
3346
05acf274
JK
33472011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3348
3349 Fix gdb.mi/mi-solib.exp without system debug info installed.
3350 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
3351 expect attribute, return 0 for it. Update comments.
3352
2268b414
JK
33532011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3354
3355 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
3356 (corrupted list): Adjust the expectation.
3357
585861ea
JK
33582011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3359
3360 PR threads/13448
3361 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
3362 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
3363 * gdb.threads/tls-var-main.c: New file.
3364 * gdb.threads/tls-var.c: New file.
3365 * gdb.threads/tls-var.exp: New file.
3366
968643aa
JK
33672011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3368
3369 PR testsuite/12649
3370 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
3371 Protect gdb_test_multiple by final $gdb_prompt match.
3372 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
3373 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
3374 (test_tracepoints): Likewise.
3375
9750bca9
JK
33762011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3377
3378 PR breakpoints/13346
3379 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
3380 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
3381 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
3382
ac1349b7
JB
33832011-12-01 Joel Brobecker <brobecker@adacore.com>
3384
3385 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
3386 * gdb.ada/homonym/homonym.adb: For use of all types defined
3387 locally inside both Get_Value subprograms.
3388
26d44faf
JK
33892011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3390
3391 Fix racy FAILs.
3392 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
3393 of send_gdb.
3394
514f6425
UW
33952011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
3396
3397 * gdb.base/testenv.exp: Skip on remote targets. Unset global
3398 environment variable after test completed.
3399
4255c8d2
UW
34002011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
3401
3402 * gdb.base/solib-nodir.exp: Skip if remote target.
3403 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
3404 application. Call gdb_load_shlibs.
3405 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
3406
a35ad96a
JB
34072011-11-29 Joel Brobecker <brobecker@adacore.com>
3408
3409 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
3410
1a1d5513
JB
34112011-11-28 Joel Brobecker <brobecker@adacore.com>
3412
3413 * gdb.ada/fullname_bp: New testcase.
3414
50b4ddf8
JK
34152011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3416
3417 PR testsuite/12649
3418 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
3419 Wrap send_gdb into a new gdb_test.
3420
fb0aec57
JK
3421 Code cleanup.
3422 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
3423 Convert send_gdb and gdb_expect to gdb_test_multiple.
3424
2376d946
JK
34252011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3426
3427 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
3428
1eec78bd
KS
34292011-11-23 Keith Seitz <keiths@redhat.com>
3430
3431 * lib/mi-support.exp (varobj_tree): New namespace and procs.
3432 (mi_varobj_tree_test_children_callback): New proc.
3433 (mi_walk_varobj_tree): New proc.
3434
36dfb11c
TT
34352011-11-22 Tom Tromey <tromey@redhat.com>
3436
3437 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
3438 Add "use_mi_command" argument.
3439 (mi_run_cmd, mi_run_with_cli): New procs.
3440 * gdb.mi/solib-lib.c: New file.
3441 * gdb.mi/solib-main.c: New file.
3442 * gdb.mi/mi-solib.exp: New file.
3443
0e965dd0
DE
34442011-11-21 Doug Evans <dje@google.com>
3445
3446 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
3447 _Unwind_DebugHook is missing.
3448
f196051f
SS
34492011-11-20 Stan Shebs <stan@codesourcery.com>
3450
3451 * gdb.trace/tstatus.exp: New.
3452 * gdb.trace/actions.c: Include string.h.
3453
bfccc43c
YQ
34542011-11-18 Yao Qi <yao@codesourcery.com>
3455
3456 * gdb.trace/pending.exp: New.
3457 * gdb.trace/pending.c: New.
3458 * gdb.trace/pendshr1.c: New.
3459 * gdb.trace/pendshr2.c: New.
3460 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
3461 tracepoint location becomes pending.
3462 (tracepoint_change_loc_2): New.
3463
73cd8ab1
DM
34642011-11-16 David S. Miller <davem@davemloft.net>
3465
3466 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
3467 target is sparc*-*-linux*
3468
77426730
PK
34692011-11-15 Paul Koning <paul_koning@dell.com>
3470
3471 * gdb.python/py-type.exp: New testcases for exceptions on scalar
3472 types.
3473
ed59ded5
DE
34742011-11-14 Doug Evans <dje@google.com>
3475
3476 * gdb.base/shell.exp: New file.
3477
405f8e94
SS
34782011-11-14 Stan Shebs <stan@codesourcery.com>
3479
3480 * gdb.trace/ftrace.c: New.
3481 * gdb.trace/ftrace.exp: New.
3482
1e4d1764
YQ
34832011-11-14 Yao Qi <yao@codesourcery.com>
3484
3485 * gdb.trace/change-loc-1.c: New.
3486 * gdb.trace/change-loc-2.c: New.
3487 * gdb.trace/change-loc.c: New.
3488 * gdb.trace/change-loc.exp: New.
3489 * gdb.trace/change-loc.h: New.
3490 * gdb.trace/trace-break.c (marker): Define new symbol.
3491 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
3492 New.
3493 (break_trace_same_addr_6): New.
3494
71eba9c2 34952011-11-12 Matt Rice <ratmice@gmail.com>
3496
3497 * gdb.base/info-macros.exp: Make tests for info definitions
3498 test info macro. Add tests for info macro argument processing.
3499 Rename a few tests.
3500
1d93e29a
KS
35012011-11-11 Keith Seitz <keiths@redhat.com>
3502
3503 PR gdb/12843
3504 * gdb.base/linespecs.exp: New file.
3505
a4b5b48a
DE
35062011-11-11 Doug Evans <dje@google.com>
3507
3508 * gdb.threads/print-threads.exp: Extend timeout for slower
3509 tests.
3510
f6b47be4
DE
35112011-11-10 Doug Evans <dje@google.com>
3512
792a0230
DE
3513 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
3514 "record to end of main" test.
3515
f6b47be4
DE
3516 * gdb.python/py-type.c (TS): New typedef.
3517 (ts): New global.
3518 * gdb.python/py-type.exp: Test field list of typedef.
3519
22355c90
JB
35202011-11-10 Joel Brobecker <brobecker@adacore.com>
3521
3522 * gdb.ada/small_reg_param: New testcase.
3523
a7860e76
TT
35242011-11-09 Tom Tromey <tromey@redhat.com>
3525
3526 * gdb.cp/destrprint.exp: New file.
3527 * gdb.cp/destrprint.cc: New file.
3528
72a2e3dc
MI
35292011-11-08 Meador Inge <meadori@codesourcery.com>
3530
3531 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
3532 (switch_stack_to_other): New test function.
3533 * gdb.arch/thumb-prologue.exp: New test cases.
3534
c7195df2 35352011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
7bf9deb0
MR
3536
3537 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
3538
d3895d7d
YQ
35392011-11-08 Yao Qi <yao@codesourcery.com>
3540
3541 * gdb.exp (supports_process_record): New.
3542 (supports_reverse): New.
3543 * gdb.reverse/break-precsave.exp: Call support_process_record
3544 to run test conditionally.
3545 * gdb.reverse/consecutive-precsave.exp: Likewise.
3546 * gdb.reverse/i386-precsave.exp: Likewise.
3547 * gdb.reverse/machinestate-precsave.exp: Likewise.
3548 * gdb.reverse/solib-precsave.exp: Likewise.
3549 * gdb.reverse/step-precsave.exp: Likewise.
3550 * gdb.reverse/until-precsave.exp: Likewise.
3551 * gdb.reverse/watch-precsave.exp: Likewise.
3552 * gdb.reverse/break-reverse.exp: Call support_reverse to run
3553 test conditionally.
3554 * gdb.reverse/consecutive-reverse.exp: Likewise.
3555 * gdb.reverse/finish-precsave.exp: Likewise.
3556 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
3557 * gdb.reverse/finish-reverse.exp: Likewise.
3558 * gdb.reverse/i386-reverse.exp: Likewise.
3559 * gdb.reverse/i386-sse-reverse.exp: Likewise.
3560 * gdb.reverse/machinestate.exp: Likewise.
3561 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
3562 * gdb.reverse/sigall-precsave.exp: Likewise.
3563 * gdb.reverse/sigall-reverse.exp: Likewise.
3564 * gdb.reverse/solib-reverse.exp: Likewise.
3565 * gdb.reverse/step-reverse.exp: Likewise.
3566 * gdb.reverse/until-reverse.exp: Likewise.
3567 * gdb.reverse/watch-reverse.exp: Likewise.
3568
a59306a3
YQ
35692011-11-05 Yao Qi <yao@codesourcery.com>
3570
3571 * gdb.trace/trace-break.exp: Add test on setting two
3572 fast tracepoints at the same address.
3573
87769f59
JK
35742011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3575
3576 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
3577
3065dfb6
SS
35782011-11-02 Stan Shebs <stan@codesourcery.com>
3579
3580 * gdb.trace/collection.c: Add code using strings.
3581 * gdb.trace/collection.exp: Add tests of string collection.
3582
89e208db
JK
35832011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3584
3585 * gdb.base/skip-solib.exp (executable_main): New variable.
3586 (binfile_main): Base it on that.
3587 Use $executable_main in clean_restart calls. Drop gdb_exit and
3588 gdb_start calls.
3589
405e54e9
JK
35902011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3591
3592 Fix racy FAILs.
3593 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
3594 breakpoint_re globals import by async. Set string_regex to .* for
3595 async. Remove the optional thread_selected_re and breakpoint_re
3596 globals expectations.
3597
58e8570a
JM
35982011-11-01 Joseph Myers <joseph@codesourcery.com>
3599
3600 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
3601 well as Cygwin.
3602
7b35ec7f 36032011-11-01 Justin Lebar <justin.lebar@gmail.com>
1bfeeb0f
JL
3604
3605 Add tests for skip command.
89e208db
JK
3606 * gdb.base/skip-solib-lib.c: New
3607 * gdb.base/skip-solib-main.c: New
3608 * gdb.base/skip-solib.exp: New
3609 * gdb.base/skip.c: New
3610 * gdb.base/skip.exp: New
3611 * gdb.base/skip1.c: New
3612 * gdb.base/Makefile.in: Adding new files.
1bfeeb0f 3613
b9fd1791
PA
36142011-10-31 Yao Qi <yao@codesourcery.com>
3615 Pedro Alves <pedro@codesourcery.com>
3616
3617 * gdb.trace/trace-break.c: New.
3618 * gdb.trace/trace-break.exp: New.
3619
4323fecc
JK
36202011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3621
3622 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
3623 break-here-2.
3624
0e5bf2a8
PA
36252011-10-28 Pedro Alves <pedro@codesourcery.com>
3626
3627 * gdb.threads/no-unwaited-for-left.c: New.
3628 * gdb.threads/no-unwaited-for-left.exp: New.
3629 * gdb.threads/non-ldr-exc-1.c: New.
3630 * gdb.threads/non-ldr-exc-1.exp: New.
3631 * gdb.threads/non-ldr-exc-2.c: New.
3632 * gdb.threads/non-ldr-exc-2.exp: New.
3633 * gdb.threads/non-ldr-exc-3.c: New.
3634 * gdb.threads/non-ldr-exc-3.exp: New.
3635 * gdb.threads/non-ldr-exc-4.c: New.
3636 * gdb.threads/non-ldr-exc-4.exp: New.
3637
3a3dad98
JK
36382011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3639
3640 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
3641 * gdb.base/attach-pie-misread.exp: Likewise.
3642 * gdb.base/break-interp.exp: Likewise.
3643 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
3644 testcases for use_gdb_stub.
3645 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
3646 (continue): New testcase.
3647 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
3648 * gdb.threads/attach-into-signal.exp: Likewise.
3649 * gdb.threads/attach-stopped.exp: Likewise.
3650 * gdb.threads/attachstop-mt.exp: Likewise.
3651
d6a5d40c
PK
36522011-10-28 Paul Koning <paul_koning@dell.com>
3653
3654 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
3655
ca539be8
JK
36562011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3657
3658 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
3659 (mi_gdb_test): Import globals thread_selected_re
3660 and breakpoint_re. Expect them optionally at the regex start.
3661
d234ef5c
DE
36622011-10-27 Doug Evans <dje@google.com>
3663
3664 * gdb.python/python.exp: Test source -s.
3665
ab964825
PK
36662011-10-26 Paul Koning <paul_koning@dell.com>
3667
3668 * gdb.python/lib-types.cc (struct A): New structure.
3669 * gdb.python/lib-types.exp (deepitems): New tests.
d234ef5c 3670
54d8a644
PK
36712011-10-25 Paul Koning <paul_koning@dell.com>
3672
3673 PR python/13327
d234ef5c 3674
54d8a644
PK
3675 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
3676 fetch_lazy method.
3677
b0221781
YQ
36782011-10-24 Yao Qi <yao@codesourcery.com>
3679
3680 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
3681 target is tic6x-*-*.
3682
6cda5a20
JB
36832011-10-21 Joel Brobecker <brobecker@adacore.com>
3684
3685 * gdb.ada/mi_task_info/task_switch.adb: New file.
3686 * gdb.ada/mi_task_info.exp: New file.
3687
5ed9db04
JK
36882011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3689
3690 * gdb.cp/expand-psymtabs-cxx.exp: New file.
3691 * gdb.cp/expand-psymtabs-cxx.cc: New file.
3692
9df2fbc4
PM
36932011-10-20 Phil Muldoon <pmuldoon@redhat.com>
3694
3695 PR python/12656
3696
3697 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
3698 global_block tests.
3699
736086ba
TT
37002011-10-18 Tom Tromey <tromey@redhat.com>
3701
3702 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
3703
4af31552
TT
37042011-10-18 Tom Tromey <tromey@redhat.com>
3705
3706 * gdb.base/source.exp: Don't include full file name in test name.
3707 * gdb.python/python.exp: Don't include full file name in test
3708 name.
3709
43136979
AR
37102011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3711
3712 * gdb.base/attach-pie-noexec.c: New files.
3713 * gdb.base/attach-pie-noexec.exp: New files.
3714
543a9323
JM
37152011-10-17 Joseph Myers <joseph@codesourcery.com>
3716
3717 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
3718 prompt for each extra line in command.
3719
21ae7a4d
JK
37202011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3721
3722 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
3723 Revert the part of:
3724 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3725 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
3726 Change the expected string.
3727
20ec36d9
JK
37282011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3729
3730 Fix results with system glibc debug info installed.
3731 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
3732 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
3733 Accept also __libc_ symbol prefix and no prefix.
3734
6501c2fc
KS
37352011-10-14 Keith Seitz <keiths@redhat.com>
3736
3737 PR c++/13225
3738 * gdb.cp/converts.cc (foo3_1): New function.
3739 (foo3_2): New functions.
3740 * gdb.cp/converts.exp: Add tests for int to pointer conversion
3741 and null pointer conversions of integer constant zero.
3742 Add test to check if all arguments are checked for incompatible
3743 conversion BADNESS.
3744
55b1fd0c
TT
37452011-10-14 Tom Tromey <tromey@redhat.com>
3746
3747 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
3748 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
3749 linespec.
3750
22c05d8a
JK
37512011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3752
3753 Fix internal error regression.
3754 * gdb.dwarf2/implptr-optimized-out.S: New file.
3755 * gdb.dwarf2/implptr-optimized-out.exp: New file.
3756
1d6edc3c
JK
37572011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3758
3759 Fix empty DWARF expressions DATA vs. SIZE conditionals.
3760 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
3761 (loclist): New.
3762 (4): New abbrev.
3763 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
3764 Use prepare_for_testing, remove clean_restart.
3765 (p arraynoloc, p arraycallnoloc): New tests.
3766
9ec72168
JK
37672011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3768
3769 * gdb.cp/namespace-enum.exp (executable): New variable.
3770 (binfile): Use ${objdir}/${subdir}/ prefix.
3771 Use ${executable} for clean_restart.
3772
9c6c53f7
SA
37732011-10-11 Sterling Augustine <saugustine@google.com>
3774
3775 * gdb.cp/Makefile.in: Add namespace-enum test.
3776 * gdb.cp/namespace-enum.exp: New file.
3777 * gdb.cp/namespace-enum.c: New file.
3778 * gdb.cp/namespace-enum-main.c: New file.
3779
fac7ceb3
UW
37802011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
3781
3782 * gdb.python/py-shared.exp: Relax filename check to handle remote:
3783 sysroot.
3784
941b2081
JK
37852011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3786
3787 Reimplement @entry in input expressions.
3788 * gdb.base/exprs.c (v_int_array_init): New variable.
3789 * gdb.base/exprs.exp (print v_int_array_init)
3790 (print *v_int_array_init@1, print *v_int_array_init@2)
3791 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
3792 (print v_int_array_init[1]@1): New tests.
3793
0344e878
JM
37942011-10-10 Joseph Myers <joseph@codesourcery.com>
3795
3796 * gdb.cp/gdb2495.exp: Do not include directories in filename in
3797 expected message.
3798
5a56e9c5
DE
37992011-10-09 Doug Evans <dje@google.com>
3800
3801 * gdb.base/alias.exp: Add tests for alias command.
3802
2bda9cc5
JK
38032011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3804
3805 * gdb.arch/amd64-entry-value.s: New file.
3806 * gdb.mi/mi2-amd64-entry-value.s: New file.
3807
a471c594
JK
38082011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3809
3810 Display @entry parameter values even for references.
3811 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
3812 functions.
3813 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
3814 reference and datap_input.
3815 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
3816 breakpoints.
3817 (continue to breakpoint: entry_reference: reference)
3818 (entry_reference: bt at entry)
3819 (continue to breakpoint: entry_reference: breakhere_reference)
3820 (entry_reference: bt, entry_reference: ptype regparam)
3821 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
3822 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
3823 (entry_reference: p regcopy, entry_reference: p nodataparam)
3824 (entry_reference: p nodataparam@entry): New tests.
3825
36b11add
JK
38262011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3827
3828 Support @entry in input expressions.
3829 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
3830 (entry_stack: p s1@entry, entry_stack: p s2@entry)
3831 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
3832 (tailcall: p j@entry): New tests.
3833 * gdb.cp/koenig.cc (A::entry): New function.
3834 (main): Call it.
3835 * gdb.cp/koenig.exp (p entry (c)): New test.
3836
e18b2753
JK
38372011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3838
3839 Display @entry parameter values (without references).
3840 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
3841 (different, validity, invalid): New functions.
3842 (main): Call them.
3843 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
3844 stacktest, breakhere_stacktest, different, breakhere_different,
3845 breakhere_validity and breakhere_invalid.
3846 (entry: bt): Update for @entry.
3847 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
3848 (entry_validity: *, entry_invalid: *): Many new tests.
3849 * gdb.base/break.exp
3850 (run until breakpoint set at small function, optimized file): Accept
3851 also the @entry suffix.
3852 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
3853 * gdb.mi/mi2-amd64-entry-value.c: New files.
3854 * gdb.mi/mi2-amd64-entry-value.exp: New files.
3855
2d6c5dc2
JK
38562011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3857
3858 Protect entry values against self tail calls.
3859 * gdb.arch/amd64-entry-value.cc (self2, self): New.
3860 (main): Call self.
3861 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
3862 (set debug entry-values 1, self: bt debug entry-values): New tests.
3863
111c6489
JK
38642011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3865
3866 Recognize virtual tail call frames.
3867 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
3868 (amb_b, amb_a): New.
3869 (main): Call a and b.
3870 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
3871 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
3872 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
3873 New tests.
3874
8e3b41a9
JK
38752011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3876
3877 Implement basic support for DW_TAG_GNU_call_site.
3878 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
3879 * gdb.arch/amd64-entry-value.cc: New file.
3880 * gdb.arch/amd64-entry-value.exp: New file.
3881
181cebd4
JK
38822011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3883
3884 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
3885 * gdb.dwarf2/implptr-64bit.S: New file.
3886 * gdb.dwarf2/implptr-64bit.exp: New file.
3887
741f5e3c
JK
38882011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3889
3890 Fix initial language detection with -readnow.
3891 * gdb.cp/readnow-language.cc: New file.
3892 * gdb.cp/readnow-language.exp: New file.
3893
a73d2258
JK
38942011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3895
3896 Fix printed anonymous struct name.
3897 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
3898
af369495
JM
38992011-10-09 Joseph Myers <joseph@codesourcery.com>
3900
3901 * gdb.base/solib-symbol.exp: Do not include directories in
3902 filenames in expected messages.
3903
1fa57852
DE
39042011-10-07 Doug Evans <dje@google.com>
3905
3906 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
3907
bd054e06
KP
39082011-10-07 Kevin Pouget <kevin.pouget@st.com>
3909
3910 Allow Python notification of new object-file loadings.
3911 * gdb.python/py-events.exp: Test newobjfile event.
3912 * gdb.python/py-events.py: Register newobjfile callback.
3913 * gdb.python/py-events.c: Add call to shared library
3914 * gdb.python/py-events-shlib.c: New file.
3915
8031b6f8
JM
39162011-10-06 Joseph Myers <joseph@codesourcery.com>
3917
3918 * gdb.base/fixsection.exp: Do not include directories in filename
3919 in expected message.
3920
7fea6923
PM
39212011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
3922
3923 Add tests for passing of environment variables to inferior.
3924 * gdb.base/testenv.c: New test source.
3925 * gdb.base/testenv.exp: New expect test.
3926
687f2a88
PK
39272011-10-04 Paul Koning <paul_koning@dell.com>
3928
3929 * gdb.python/py-value.c (main): Break before return.
3930
cb6be26b
KP
39312011-10-04 Kevin Pouget <kevin.pouget@st.com>
3932
3933 PR python/12691: Add the inferior to Python exited event
3934 * gdb.python/py-events.exp: Test the inferior attribute of exited
3935 event with a fork.
3936 * gdb.python/py-events.py: Print inferior number on exit.
3937 * gdb.python/py-events.c: Fork the inferior.
3938
fb213700
EBM
39392011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
3940
3941 * gdb.base/jit.exp: Add testcase name to log message
3942
aa2071bd
PK
39432011-10-03 Paul Koning <paul_koning@dell.com>
3944 Jan Kratochvil <jan.kratochvil@redhat.com>
3945
3946 * gdb.python/py-value.exp
3947 (python inval = gdb.parse_and_eval('*(int*)0'))
3948 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
3949 (set argc=2, python print argc_lazy): New tests.
3950
dd11a36c
JB
39512011-10-02 Joel Brobecker <brobecker@adacore.com>
3952
3953 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
3954
46f886f1
JK
39552011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3956 Pedro Alves <pedro@codesourcery.com>
3957
3958 * gdb.python/py-value.exp (test_value_in_inferior): New variable
3959 can_read_0, test for it.
3960 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
3961 (parse_and_eval with memory error): ... here, make it untested if
3962 can_read_0.
3963
c5cb204f
MP
39642011-09-30 Marek Polacek <mpolacek@redhat.com>
3965
3966 * gdb.python/python.exp (verify pagination beforehand)
3967 (verify pagination afterwards): Fix race by splitting the line.
3968
68fb0ec0
JM
39692011-09-29 Joseph Myers <joseph@codesourcery.com>
3970
3971 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
3972 for 64-bit multilibs from i?86-* targets.
3973
6aee0d90
MP
39742011-09-29 Marek Polacek <mpolacek@redhat.com>
3975
3976 * lib/gdb.exp: Fix a typo in one of the comments.
3977
e9101ff5
MP
39782011-09-29 Marek Polacek <mpolacek@redhat.com>
3979
3980 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
3981 matching pattern.
3982
7a81bdbf
PK
39832011-09-28 Paul Koning <paul_koning@dell.com>
3984
3985 * gdb.python/py-type.c (enum E): New.
3986 * gdb.python/py-type.exp (test_fields): Add tests for Python
3987 mapping access to fields.
3988 (test_enums): New test for field access on enums.
3989
6710bf39
SS
39902011-09-27 Stan Shebs <stan@codesourcery.com>
3991
3992 * gdb.trace/collection.exp: Test collection of $_ret.
3993
b2a6bdeb
AT
39942011-09-22 Andreas Tobler <andreast@fgznet.ch>
3995
3996 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
3997 list of compilation switches for <*-*-freebsd*>.
3998
3c9057f3
SS
39992011-09-19 Stan Shebs <stan@codesourcery.com>
4000
4001 * gdb.trace/tspeed.exp: New file.
4002 * gdb.trace/tspeed.c: New file.
4003
34518530
YQ
40042011-09-18 Yao Qi <yao@codesourcery.com>
4005
4006 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
4007 instructions.
4008 (test_adr_32bit, test_pop_pc): Likewise.
4009 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
4010 Thumb instructions.
4011 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
4012 in gdb_test_multiple.
4013 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
4014
ab254057
YQ
40152011-09-17 Yao Qi <yao@codesourcery.com>
4016
4017 * lib/gdb.exp (can_single_step_to_signal_handler): New.
4018 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
4019 support single step to signal handler.
4020
9c317b71
YQ
40212011-09-17 Yao Qi <yao@codesourcery.com>
4022
4023 * gdb.base/disp-step-fork.c: New.
4024 * gdb.base/disp-step-syscall.exp: New.
4025 * gdb.base/disp-step-vfork.c: New.
4026
a8123151
JB
40272011-09-16 Joel Brobecker <brobecker@adacore.com>
4028
4029 * gdb.ada/tasks.exp: Make the expected output for
4030 the `info tasks' tests more resilient to spacing
4031 changes.
4032
63a9aad8
JK
40332011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4034
4035 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
4036 (reached breakpoint 2, reached breakpoint 3): Update expected output.
4037
2aa48337
KP
40382011-09-15 Kevin Pouget <kevin.pouget@st.com>
4039
4040 PR Python/12692 Add gdb.selected_inferior() to Python interface.
4041 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
4042
6839b47f
KP
40432011-04-30 Kevin Pouget <kevin.pouget@st.com>
4044
4045 Handle multiple breakpoint hits in Python interface:
4046 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
4047 presence.
4048 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
4049 breakpoint hits.
4050
0935723e
JK
40512011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
4052 Jan Kratochvil <jan.kratochvil@redhat.com>
4053
4054 * gdb.python/py-events.exp: Remove pretty printing comment.
4055 * gdb.python/py-evsignal.exp: New file.
4056 * gdb.python/py-evthreads.c: Include signal.h.
4057 (thread3): Remove variable count3. Remove variable bad and use raise
4058 instead.
4059 (thread2): Remove variable count2. Move thread3 pthread_create here,
4060 merge pthread_join to a single line.
4061 (main): Remove variable count1. Merge pthread_join with pthread_create
4062 to a single line.
4063 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
4064 KFAIL python/12966 for gdbserver. Test return value of
4065 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
4066 gdb_expect by gdb_test and gdb_test_multiple.
4067 (thread 2, thread 3): New tests.
4068
4801a9a3
PA
40692011-09-12 Matt Rice <ratmice@gmail.com>
4070 Pedro Alves <pedro@codesourcery.com>
4071
4072 PR gdb/13175
4073
4074 * gdb.base/interp.exp: New tests.
4075 * gdb.base/interp.c: New file.
4076
24ece742
DE
40772011-09-12 Doug Evans <dje@google.com>
4078
4079 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
4080 * gdb.dwarf2/typeddwarf.exp: Ditto.
4081
7f062217
JK
40822011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4083
4084 Fix compatibility with x32 arch.
4085 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
4086 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
4087 is_x86_like_target.
4088 * testsuite/gdb.trace/collection.exp: Likewise.
4089 * testsuite/gdb.trace/report.exp: Likewise.
4090 * testsuite/gdb.trace/unavailable.exp: Likewise.
4091 * testsuite/gdb.trace/while-dyn.exp: Likewise.
4092 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
4093 (is_x86_like_target): Check also is_amd64_regs_target.
4094
08711b9a
JK
40952011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4096
4097 PR breakpoints/12435
4098 * gdb.arch/amd64-prologue-xmm.c: New file.
4099 * gdb.arch/amd64-prologue-xmm.exp: New file.
4100 * gdb.arch/amd64-prologue-xmm.s: New file.
4101
b99b5f66
JK
41022011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4103
4104 * gdb.dwarf2/dw2-param-error-main.c: New file.
4105 * gdb.dwarf2/dw2-param-error.S: New file.
4106 * gdb.dwarf2/dw2-param-error.exp: New file.
4107
a391a2f6
PA
41082011-09-08 Pedro Alves <pedro@codesourcery.com>
4109
4110 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
4111 inferior's pid and look for a core dump named core.$pid. Use
4112 `remote_file' commands on the host instead of hand coding shell
4113 commands on the build.
4114 * gdb.base/valgrind-db-attach.exp: Kill the program before
4115 finishing the test.
4116
7d8e6458 41172011-09-02 Matt Rice <ratmice@gmail.com>
4118
4119 * lib/prompt.exp: New file for testing the first prompt.
4120 * gdb.python/py-prompt.exp: Ditto.
4121 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
4122
68e77c9e
PA
41232011-09-02 Pedro Alves <pedro@codesourcery.com>
4124
4125 * gdb.threads/gcore-thread.exp: Set the global core_supported to
4126 0, before testing gcore.
4127
9655e943
JK
41282011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4129
df6dc84d
JK
4130 * dw2-ifort-parameter-debug.S: Update copyright year.
4131 * dw2-ifort-parameter.c: Update copyright year.
4132 * dw2-ifort-parameter.exp: Update copyright year.
4133
9655e943
JK
4134 * dw2-ifort-parameter-debug.S: New file.
4135 * dw2-ifort-parameter.c: New file.
4136 * dw2-ifort-parameter.exp: New file.
4137
353d1d73
JK
41382011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4139
4140 * gdb.base/commands.exp (error_clears_commands_left): New function.
4141 (): Call it.
4142
5c07461a
JK
41432011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4144
4145 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
4146 (C): Initialize `a'.
4147 * gdb.mi/mi-inheritance-syntax-error.exp
4148 (-data-evaluate-expression $path): Expect `a' as 5.
4149
0d932b2f
MK
41502011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
4151
4152 PR mi/11912
4153 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
4154 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
4155 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
4156 keyword in output of -var-info-path-expression.
4157
bdb54049
JK
41582011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4159
4160 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
4161 * gdb.trace/collection.exp: Likewise.
4162 * gdb.trace/report.exp: Likewise.
4163 * gdb.trace/unavailable.exp: Likewise.
4164 * gdb.trace/while-dyn.exp: Likewise.
4165
59cde39c
KS
41662011-08-18 Keith Seitz <keiths@redhat.com>
4167
4168 PR c++/12266
4169 * gdb.cp/meth-typedefs.cc: New file.
4170 * gdb.cp/meth-typedefs.exp: New file.
4171
fa3a4f15
PM
41722011-08-17 Phil Muldoon <pmuldoon@redhat.com>
4173
4174 * gdb.python/python.exp: Add extended-prompt tests.
4175
c1049fca
JK
41762011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4177
4178 * gdb.arch/i386-dr3-watch.exp
4179 (watchpoint on gap1 does not fit debug registers)
4180 (delete all watchpoints): Fix racy expect strings.
4181
d93f7b5c
YQ
41822011-08-14 Yao Qi <yao@codesourcery.com>
4183
4184 * gdb.base/maint.exp: set data_section to ".neardata".
4185 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
4186 * gdb.base/savedregs.exp: Handle SIGILL.
4187 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
4188 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
4189
457e09f0
DE
41902011-08-12 Doug Evans <dje@google.com>
4191
4192 * gdb.python/py-symbol.exp: Add test for symbol.type.
4193
5d0bb2fb
UW
41942011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
4195
4196 * gdb.threads/pthreads.exp: Enable on non-native configurations.
4197 * gdb.mi/mi-pthreads.exp: Likewise.
4198 * gdb.mi/mi2-pthreads.exp: Likewise.
4199 * gdb.mi/gdb669.exp.exp: Likewise.
4200
fcdfa280
PA
42012011-08-09 Pedro Alves <pedro@codesourcery.com>
4202
4203 * lib/mi-support.exp (detect_async): Rename to...
4204 (mi_detect_async): ... this.
4205 * gdb.mi/mi-nonstop-exit.exp: Adjust.
4206 * gdb.mi/mi-nonstop.exp: Adjust.
4207 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
4208 * gdb.mi/mi-nsintrall.exp: Adjust.
4209 * gdb.mi/mi-nsmoribund.exp: Adjust.
4210 * gdb.mi/mi-nsthrexec.exp: Adjust.
4211
9d8fa392
PA
42122011-08-09 Pedro Alves <pedro@codesourcery.com>
4213
4214 * gdb.base/display.c (do_loops): New `p_i' local.
4215 * gdb.base/display.exp: Test displaying a variable that is
4216 temporarily at a bad address.
4217
b6cede78
JK
42182011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4219
4220 * gdb.dwarf2/dw2-op-stack-value.S: New file.
4221 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
4222
67bedb8c
JK
42232011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4224
4225 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
3c542bc3
JK
4226 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
4227 (p fuNC_symtab): Permit also ppc64 leading dot.
67bedb8c 4228
af6e93b2
PA
42292011-08-05 Pedro Alves <pedro@codesourcery.com>
4230
4231 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
4232 procedure.
4233 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
4234
1cf0e11f
YQ
42352011-08-05 Yao Qi <yao@codesourcery.com>
4236
4237 * gdb.base/callfuncs.exp: Set language after main.
4238 * gdb.cp/cplusfuncs.exp: Likewise.
4239 * gdb.cp/inherit.exp: Likewise.
4240
a1e28cb2
UW
42412011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
4242
4243 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
4244 * gdb.base/watch-vfork.exp: Skip on remote targets.
4245
d4f5bbb9
UW
42462011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
4247
4248 * gdb.threads/thread-find.exp: Support remote targets.
4249
724f4f80
UW
42502011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
4251
4252 * gdb.base/jit.exp: Download solib_binfile to target.
4253 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
4254 and call dlopen without full path name.
4255 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
4256 dlopen without full path name.
4257
934709f0
PW
42582011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4259
4260 * gdb.base/break-always.exp: Complete the test
4261 with duplicated breakpoints and enabling/disabling them.
4262
c26106c4
TT
42632011-08-02 Tom Tromey <tromey@redhat.com>
4264
4265 PR gdb/11289:
4266 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
4267
9300444e 42682011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
fbe12357
PP
4269
4270 PR gdb/13045
4271 * gdb.base/float.exp: Add new test case for PR gdb/13045
4272 * gdb.base/float.c: New file.
4273
00bd41d6
PM
42742011-07-28 Phil Muldoon <pmuldoon@redhat.com>
4275
4276 * gdb.python/py-mi.exp: Test printers returning string hint, and
4277 also not returning a value.
4278 * gdb.python/py-prettyprint.c: Add testcase for above.
4279 * gdb.python/py-prettyprint.py: Add test printer for above.
4280
d24f74ce
JK
42812011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4282
4283 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
4284 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
4285 (.Ldie30) Add as field "data4".
4286 (.Ldie32) Rename field "b" to "shl".
4287 (abbrev4) Change for the "data4" field.
4288 (abbrev5, abbrev6) Remove.
4289 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
4290 (p &s.shl): ... here. Add comment.
4291 (p &s.data4): New.
4292
bb7da2bf
JK
42932011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4294
4295 Fix crash on lval_computed values.
4296 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
4297
11081198
JK
42982011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4299
4300 * gdb.base/help.exp (help whatis): Update the expected string.
4301
3c6e0cb3
JK
43022011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4303
4304 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
4305 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
4306 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
4307 Change the expected string.
4308
efa80663
PA
43092011-07-26 Pedro Alves <pedro@codesourcery.com>
4310
4311 * gdb.base/watchpoint.exp
4312 (test_disable_enable_software_watchpoint): New procedure.
4313 (top level): Run it.
4314
db8e4570
UW
43152011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
4316
4317 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
4318 executable file "${binfile}", C++ version "${binfile}-cxx".
4319 * gdb.python/py-prettyprint.exp: Likewise.
4320 * gdb.python/py-symbol.exp: Likewise.
4321 * gdb.python/py-type.exp: Likewise.
4322 * gdb.python/py-value.exp: Likewise.
4323 * gdb.python/py-template.exp (test_template_arg): Pass full executable
4324 file name instead of just suffix.
4325
543305c9
JK
43262011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4327
4328 Fix implicit pointer offsets.
4329 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
4330 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
4331 (continue to breakpoint: continue to baz breakpoint for implptr)
4332 (sanity check element 0, sanity check element 1)
4333 (enter the inlined function, check element 0 for the offset)
4334 (check element 1 for the offset)
4335 (continue to breakpoint: ignore the second baz breakpoint): New tests.
4336 (set foo breakpoint for implptr): Update the breakpoint number.
4337
b3215adc
UW
43382011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
4339
4340 * gdb.python/py-mi.exp: Use different file names for different
4341 versions of the executable under test.
4342 * gdb.python/py-prettyprint.exp: Likewise.
4343 * gdb.python/py-symbol.exp: Likewise.
4344 * gdb.python/py-template.exp: Likewise.
4345 * gdb.python/py-type.exp: Likewise.
4346 * gdb.python/py-value.exp: Likewise.
4347
182b9acc
UW
43482011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
4349
4350 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
4351 flag after restarting GDB if necessary.
4352
e6052b5d
UW
43532011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
4354
4355 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
4356
1ced966e
PA
43572011-07-22 Pedro Alves <pedro@codesourcery.com>
4358
4359 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
4360 backend doesn't leave used debug registers behind.
4361
3543a589
TT
43622011-07-22 Tom Tromey <tromey@redhat.com>
4363
4364 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
4365 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
4366 argument.
4367 * gdb.dwarf2/typeddwarf-amd64.S: New file.
4368
14d15303 43692011-07-21 Matt Rice <ratmice@gmail.com>
4370
4371 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
4372 in mostlyclean rule. Add files ending in .core.
4373
9b158ba0 43742011-07-21 Matt Rice <ratmice@gmail.com>
4375
4376 PR macros/12999
4377 * gdb.base/info-macros.c: New test sources.
4378 * gdb.base/info-macros.exp: New tests.
4379
d17b6f81
PM
43802011-07-21 Phil Muldoon <pmuldoon@redhat.com>
4381
4382 * gdb.python/python.exp: Add prompt substitution tests.
4383
918dd910
JK
43842011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4385
4386 Fix crash if referenced CU is aged out.
4387 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
4388 New.
4389 * gdb.dwarf2/implptr.exp: Likewise.
4390
0e37a63c
JK
43912011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4392
4393 * gdb.dwarf2/implptr.S: Rebuilt.
4394 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
4395 (bar): Use them for j, k, l.
4396 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
4397 COMPILE.
4398 (print j in implptr:bar): Update for the intp typedef.
4399 (print p[0].x in implptr:foo): Use more exact regex.
4400
f65cf84c
TT
44012011-07-18 Tom Tromey <tromey@redhat.com>
4402
4403 * gdb.cp/static-method.exp: Add missing single quote.
4404
d5b4a7be
YQ
44052011-07-18 Yao Qi <yao@codesourcery.com>
4406
4407 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
4408 supported.
4409 * gdb.mi/mi-nonstop-exit.exp: Likewise.
4410 * gdb.mi/mi-nonstop.exp: Likewise.
4411 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
4412 * gdb.mi/mi-nsintrall.exp: Likewise.
4413 * gdb.mi/mi-nsmoribund.exp: Likewise.
4414 * gdb.mi/mi-nsthrexec.exp: Likewise.
4415 * gdb.python/py-evthreads.exp: Likewise.
4416
e9ea2662
JK
44172011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4418
4419 Code cleanup.
4420 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
4421 it. Substitute it instead of test_compiler_info everywhere.
4422
ce451573
UW
44232011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
4424
4425 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
4426 remote targets as well.
4427
756d88a7
UW
44282011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
4429
4430 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
4431 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
4432
31f83dc5
UW
44332011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
4434
4435 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
4436 a remote machine, not the host.
4437 (gdb_compile_shlib): Set soname if target is remote.
4438
059241a0
PP
44392011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
4440
4441 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
4442
28a0b48c 44432011-07-13 Matt Rice <ratmice@gmail.com>
4444
4445 * gdb.python/py-objfile-script-gdb.py: Renamed to
4446 py-objfile-script-gdb.py.in.
4447 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
4448 py-objfile-script-gdb.py.
4449 * gdb.python/py-objfile-script.exp: Update reference to
4450 py-objfile-script-gdb.py.
4451
9a771b67
JK
44522011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4453
4454 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
4455 reference undefined label.
4456
04ad99e6
JK
44572011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4458
4459 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
4460 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
4461 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
4462 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
4463
713389e0
PM
44642011-07-11 Phil Muldoon <pmuldoon@redhat.com>
4465
4466 PR python/12438
4467 * gdb.python/python.exp: Add maint set/show python print-stack
4468 deprecated tests. Add set/show python print-backtrace tests.
4469
97d146f8
JK
44702011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4471
4472 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
4473 debug info.
4474
facde0e5 44752011-07-06 Matt Rice <ratmice@gmail.com>
4476
4477 * gdb.python/python.exp: Update filename paths.
4478 * gdb.python/py-symtab.exp: Ditto.
4479
438640d1
MP
44802011-07-06 Marek Polacek <mpolacek@redhat.com>
4481
4482 * gdb.python/py-evthreads.exp: Add missing `$'.
4483
33a365df
MF
44842011-07-06 Jie Zhang <jie.zhang@analog.com>
4485
4486 * config/bfin.exp: New file.
4487 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
4488 * gdb.asm/bfin.inc: New file.
4489
8f7ae686
MP
44902011-07-06 Marek Polacek <mpolacek@redhat.com>
4491
df46027d 4492 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
8f7ae686
MP
4493 the whole output.
4494
eb2a6f42
TT
44952011-07-05 Tom Tromey <tromey@redhat.com>
4496
4497 * gdb.java/jprint.java (jprint.hi): New field.
4498 * gdb.java/jprint.exp: Print string.
4499
177b42fe
TJB
45002011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
4501
4502 * gdb.base/call-sc.c: Fix typos.
4503 * gdb.base/ifelse.exp: Likewise.
4504 * gdb.base/structs.c: Likewise.
4505
3b2a0cf2
JB
45062011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4507
4508 * gdb.base/jit-so.exp: New test.
4509 * gdb.base/jit-dlmain.c: New file.
4510 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
4511
46fc714c
JK
45122011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4513
4514 * gdb.cp/m-static.exp: Call get_compiler_info.
e17476d7
JK
4515 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
4516 * gdb.cp/pr9167.exp (p b): Likewise.
4517 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
4518 (test value of P in inner_m, test type of Z in inner_m): Call
4519 setup_xfail for gcc <= 4.5.
46fc714c 4520
418c7cf7
JK
45212011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4522
4523 * gdb.cp/paren-type.cc: New files.
4524 * gdb.cp/paren-type.exp: New files.
4525
3d50dd94
JK
45262011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4527
4528 Stop on first linespec terminator instead of eating what we can.
4529 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
4530 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
4531 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
4532 (break C::f()): ... this one.
4533 (break C::operator()()): New test.
4534 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
4535 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
4536 test.
4537
dcf9f4ab
JK
45382011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4539
4540 Fall back linespec to minimal symbols.
4541 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
4542 error message.
4543 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
4544 * gdb.cp/minsym-fallback-main.cc: New file.
4545 * gdb.cp/minsym-fallback.cc: New file.
4546 * gdb.cp/minsym-fallback.exp: New file.
4547 * gdb.cp/minsym-fallback.h: New file.
4548
3f542ed1
JK
45492011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4550
4551 * gdb.cp/no-dmgl-verbose.cc: New file.
4552 * gdb.cp/no-dmgl-verbose.exp: New file.
4553
45542011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
900e11f9
JK
4555
4556 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
4557 __GI_.
4558 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
4559 (f): New function.
4560 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
4561 (complete p 'func<short>(): ... here.
4562 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
4563 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
4564 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
4565 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
4566 Make them KFAIL gcc/49546.
4567
00eb2c4a
JB
45682011-07-01 Joel Brobecker <brobecker@adacore.com>
4569
4570 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
4571
85a20c42
JK
45722011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4573
4574 Test GCC PR debug/49546.
4575 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
4576 (test type of F in k3_m, test value of F in k3_m): New.
4577 * gdb.cp/temargs.cc (struct S3, struct K3): New.
4578 (main): New variable k3. Call k3.k3_m.
4579
d2d43431
JB
45802011-07-01 Jean-Charles Delay <delay@adacore.com>
4581
4582 * gdb.ada/packed_array.exp: Fix expected outout.
4583
54ae186f
JB
45842011-07-01 Jean-Charles Delay <delay@adacore.com>
4585
4586 * gdb.ada/packed_array.exp: fixed expected output.
4587
8f17729f
JB
45882011-07-01 Joel Brobecker <brobecker@adacore.com>
4589
4590 * gdb.ada/same_enum: New testcase.
4591
f5aa6869
JB
45922011-07-01 Joel Brobecker <brobecker@adacore.com>
4593
4594 * gdb.ada/ptr_typedef: New testcase.
4595
828292f2
JB
45962011-07-01 Joel Brobecker <brobecker@adacore.com>
4597
4598 * gdb.ada/arrayptr.exp: Add ptype test.
4599
18920c42
JB
46002011-07-01 Joel Brobecker <brobecker@adacore.com>
4601
4602 * gdb.ada/char_enum: New testcase.
4603
3536d9e3 46042011-07-01 Yao Qi <yao@codesourcery.com>
54aeeb99
YQ
4605
4606 * gdb.base/dump.exp (capture_pointer_with_type): New.
4607 Get value from address instead of name.
4608 Start GDB once, and do `dump' and `restore'
4609 tests together.
4610
db863c42
MF
46112011-06-30 Jie Zhang <jie.zhang@analog.com>
4612 Mike Frysinger <vapier@gentoo.org>
4613
4614 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
4615 helper functions for getting/setting remotetimeout variable.
4616 * lib/gdb.exp (gdb_load): If the target is remote, set
4617 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
4618 with $loadtimeout. Set $load_ok to 0 before doing the load.
4619 Instead of returning, immediately, set $load_ok to 0. Call
4620 set_remotetimeout with $oldremotetimeout, and then return if
4621 $load_ok is 1.
4622
e9e642a8
AB
46232011-06-30 Andrew Burgess <aburgess@broadcom.com>
4624
4625 * gdb.python/py-template.exp: Don't run this test if the target
4626 does not support c++ tests.
4627
32019081
JK
46282011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4629
4630 Fix non-only rename list for Fortran modules import.
4631 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
4632 tests.
4633 * gdb.fortran/module.f90 (module moduse): New.
4634 (program module): use moduse, test var_x, var_y and var_z.
4635
0ecee54c
TT
46362011-06-29 Tom Tromey <tromey@redhat.com>
4637
4638 PR testsuite/12040:
4639 * gdb.fortran/array-element.exp: Use f90, not f77.
4640 * gdb.fortran/complex.exp: Use f90, not f77.
4641 * gdb.fortran/derived-type.exp: Use f90, not f77.
4642 * gdb.fortran/library-module.exp: Use f90, not f77.
4643 * gdb.fortran/logical.exp: Use f90, not f77.
4644 * gdb.fortran/module.exp: Use f90, not f77.
4645 * gdb.fortran/multi-dim.exp: Use f90, not f77.
4646 * gdb.fortran/subarray.exp: Use f90, not f77.
4647
3b2b8fea
TT
46482011-06-29 Tom Tromey <tromey@redhat.com>
4649
4650 * gdb.fortran/charset.exp: New file.
4651 * gdb.fortran/charset.f90: New file.
4652
42159ca5
TT
46532011-06-29 Tom Tromey <tromey@redhat.com>
4654
4655 PR testsuite/12040:
4656 * lib/future.exp: New file, mostly extracted from ada.exp.
4657 Rewrote compatibility code to use rename.
4658 (gdb_find_gfortran): New proc.
4659 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
4660 gfortran patch.
4661 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
4662 Move to future.exp.
4663 * lib/gdb.exp: Always load future.exp.
4664
af69a5ce
YQ
46652011-06-28 Yao Qi <yao@codesourcery.com>
4666
4667 * gdb.cp/exception.cc: Don't include iostream.
4668 (bar): Remove print statement.
4669 (catcher): New.
4670 (main): Remove print statements. Call function catcher.
4671 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
4672 Set breakpoint on catcher, and check the value of parameter.
4673
ab5c6a72
YQ
46742011-06-23 Yao Qi <yao@codesourcery.com>
4675
4676 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check breakpoint
4677 1.2 is disabled. KFAIL for uclinux.
4678
9497469f
MP
46792011-06-23 Marek Polacek <mpolacek@redhat.com>
4680
4681 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
4682 mi_gdb_test.
4683
b9132588
MP
46842011-06-23 Marek Polacek <mpolacek@redhat.com>
4685
5d197ed0 4686 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
b9132588 4687
e55595ca
MP
46882011-06-23 Marek Polacek <mpolacek@redhat.com>
4689
5d197ed0
MP
4690 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
4691
46922011-06-23 Marek Polacek <mpolacek@redhat.com>
4693
4694 * gdb.mi/mi2-basics.exp: Fix races. Honour the
4695 `test_exec_and_symbol_mi_operatons' return value.
4696 (test_mi_interpreter_selection): Use mi_gdb_test instead of
4697 gdb_test_multiple.
4698 (test_exec_and_symbol_mi_operatons): Likewise.
4699 (test_path_specification): Likewise.
e55595ca 4700
be777e08
YQ
47012011-06-23 Yao Qi <yao@codesourcery.com>
4702
4703 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
4704 supported.
4705 * lib/gdb.exp (support_displaced_stepping): New.
4706
615556d6
YQ
47072011-06-23 Yao Qi <yao@codesourcery.com>
4708
4709 * gdb.threads/execl.exp: Skip on remote target.
4710
833b0ca7
MP
47112011-06-21 Marek Polacek <mpolacek@redhat.com>
4712
5d197ed0 4713 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
833b0ca7
MP
4714 mi_gdb_test.
4715
1ee4023a
MP
47162011-06-20 Marek Polacek <mpolacek@redhat.com>
4717
5d197ed0 4718 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1ee4023a 4719
d0b1d624
MP
47202011-06-20 Marek Polacek <mpolacek@redhat.com>
4721
5d197ed0 4722 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
d0b1d624
MP
4723 mi_gdb_test.
4724
79aa92c1
MP
47252011-06-20 Marek Polacek <mpolacek@redhat.com>
4726
5d197ed0 4727 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
79aa92c1 4728
5ce5db06
YQ
47292011-06-14 Yao Qi <yao@codesourcery.com>
4730
4731 gdb/testsuite/
4732 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
4733
533a737e
JK
47342011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4735
4736 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
4737
d0e53741
TT
47382011-06-10 Tom Tromey <tromey@redhat.com>
4739
4740 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
4741 Add tests for pointer-to-member-function.
4742 * gdb.cp/temargs.cc (S::somefunc): New function.
4743 (K2): New class.
4744 (main): Instantiate K2; call method.
4745
b5916bbd
JB
47462011-06-08 Joel Brobecker <brobecker@adacore.com>
4747
4748 * gdb.python/py-inferior.c (f2): Make str an array rather
4749 than a pointer.
4750 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
4751
5be4dfca
JK
47522011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4753
4754 * gdb.base/async-shell.c: New file.
4755 * gdb.base/async-shell.exp: New file.
4756
9f47e254
PA
47572011-06-06 Pedro Alves <pedro@codesourcery.com>
4758
4759 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
4760
64b9b334
JB
47612011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
4762
4763 From Stephen Kitt <steve@sk2.org>
4764 * gdb.base/help.exp: Adjust following some spelling corrections
4765 in GDB.
4766
dbc0f131
YQ
47672011-06-01 Yao Qi <yao@codesourcery.com>
4768
4769 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
4770
fd336a18
KS
47712010-05-31 Keith Seitz <keiths@redhat.com>
4772
4773 PR c++/12750
4774 * gdb.cp/static-method.cc: New file.
4775 * gdb.cp/static-method.exp: New file.
4776
fa8b9902
KS
47772010-05-31 Keith Seitz <keiths@redhat.com>
4778
4779 PR symtab/12704
4780 * gdb.cp/anon-ns.cc: New file.
4781 * gdb.cp/anon-ns.exp: New file.
4782
0a5b1e09
PA
47832011-05-31 Pedro Alves <pedro@codesourcery.com>
4784
4785 * gdb.arch/i386-dr3-watch.c: New file.
4786 * gdb.arch/i386-dr3-watch.exp: New file.
4787
0578b8d1
YQ
47882011-05-30 Yao Qi <yao@codesourcery.com>
4789
4790 * gdb.base/callfuncs.c (t_structs_fc): New.
4791 (t_structs_dc, t_structs_ldc): New.
4792 (t_double_many_args):
4793 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
4794 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
4795 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
4796 * gdb.base/callfuncs.exp: Call new functions.
4797
6680506e
YQ
47982011-05-30 Yao Qi <yao@codesourcery.com>
4799
ff4d2c60
YQ
4800 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
4801 Call rerun_and_prepare for each test to isolate effects.
4802
48032011-05-30 Yao Qi <yao@codesourcery.com>
4804
4805 * gdb.base/varargs.c (find_max_float_real): New.
4806 (find_max_double_real, find_max_long_double_real): New.
4807 * gdb.base/varargs.exp: Call these new added functions.
6680506e
YQ
4808 * lib/gdb.exp (setup_kfail_for_target): New.
4809
e43ec454
YQ
48102011-05-30 Yao Qi <yao@codesourcery.com>
4811
4812 * gdb.base/funcargs.c (callca, callcb, callcc): New.
4813 (callcd, callce, callcf, callc1a, callc1b): New.
4814 (callc2a, callc2b): New.
4815 * gdb.base/funcargs.exp (complex_args): New.
4816 (complex_integral_args, complex_float_integral_args): New.
4817 * lib/gdb.exp (support_complex_tests): New. Determine
4818 whether to run test cases on _Complex types.
4819
432b4d03
JK
48202011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4821
4822 * gdb.threads/leader-exit.c: New file.
4823 * gdb.threads/leader-exit.exp: New file.
4824
6caf069d
MP
48252011-05-27 Marek Polacek <mpolacek@redhat.com>
4826
9497469f 4827 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
6caf069d 4828
97fce28b
MP
48292011-05-27 Marek Polacek <mpolacek@redhat.com>
4830
4831 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
4832 remove the `supported' variable.
4833 * gdb.mi/mi-nonstop.exp: Likewise.
4834 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
4835 * gdb.mi/mi-nsintrall.exp: Likewise.
4836 * gdb.mi/mi-nsmoribund.exp: Likewise.
4837 * gdb.mi/mi-nsthrexec.exp: Likewise.
4838
9da8c2a0
PA
48392011-05-26 Pedro Alves <pedro@codesourcery.com>
4840
4841 * gdb.reverse/finish-reverse-bkpt.exp: New test.
4842
2c03e5be
PA
48432011-05-26 Pedro Alves <pedro@codesourcery.com>
4844
4845 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
4846
2e21250d
KS
48472011-05-24 Keith Seitz <keiths@redhat.com>
4848
4849 PR breakpoint/12803
4850 * gdb.cp/cmpd-minsyms.cc (a): New method.
4851 (b): New method.
4852 (c): New method.
4853 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
4854
cdac0397
PA
48552011-05-24 Pedro Alves <pedro@codesourcery.com>
4856
4857 * gdb.base/commands.exp (watchpoint_command_test): Check that the
4858 watchpoint's command list didn't execute when the watchpoint went
4859 out of scope.
4860
ee5683ab
PM
48612011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
4862
4863 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
4864 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
4865 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
4866 * gdb.arch/i386-gnu-cfi.exp: Likewise.
4867 * gdb.arch/i386-permbkpt.exp: Likewise.
4868 * gdb.arch/i386-prologue.exp: Likewise.
4869 * gdb.arch/i386-size-overlap.exp: Likewise.
4870 * gdb.arch/i386-size.exp: Likewise.
4871 * gdb.arch/i386-unwind.exp: Likewise.
4872 * gdb.reverse/i386-precsave.exp: Likewise.
4873 * gdb.reverse/i386-reverse.exp: Likewise.
4874 * gdb.reverse/i386-sse-reverse.exp: Likewise.
4875 * gdb.reverse/i387-env-reverse.exp: Likewise.
4876 * gdb.reverse/i387-stack-reverse.exp: Likewise.
4877
c91c8c16
PA
48782011-05-24 Pedro Alves <pedro@codesourcery.com>
4879
4880 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
4881 file doesn't error, using MI.
4882
c50491a7
TT
48832011-05-23 Tom Tromey <tromey@redhat.com>
4884
4885 * gdb.base/charset.exp (string_display): Add tests to assign to
4886 arrays.
4887 * gdb.base/charset.c (short_array, int_array, long_array): New.
4888
4a07b7da
PA
48892011-05-20 Pedro Alves <pedro@codesourcery.com>
4890
4891 Cope with async mode.
4892
4a07b7da
PA
4893 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
4894 into gdb_test + mi_expect_stop.
4895
b275f2d2
PA
48962011-05-20 Pedro Alves <pedro@codesourcery.com>
4897
4898 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
4899 (callme): Remove printf call.
4900
eec52c44
PM
49012011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
4902
4903 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
4904 quote pattern to avoid problems with Cygwin/mingw expect versions.
4905 * gdb.base/default.exp (show convenience): Use double
4906 quote pattern for regular expressions.
4907
b3c8eb43
JK
49082011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4909
4910 Fix -readnow for -gdwarf-4 unused type units.
4911 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
4912 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
4913
ed731959
JK
49142011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4915
4916 * gdb.base/kill-after-signal.c: New file.
4917 * gdb.base/kill-after-signal.exp: New file.
4918
3b48433d
PA
49192011-05-16 Pedro Alves <pedro@codesourcery.com>
4920
4921 * gdb.ada/start.exp: Call untested with the correct test filename.
4922 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
4923 test filename. Make the test's binary unique.
4924 * gdb.arch/i386-signal.exp: Call untested with the correct test
4925 filename.
4926 * gdb.arch/i386-size-overlap.exp: Ditto.
4927 * gdb.arch/Makefile.in (EXECUTABLES): Update.
4928 * gdb.base/gcore-buffer-overflow.exp: Ditto.
4929 * gdb.cp/call-c.exp: Ditto.
4930 * gdb.mi/mi-reverse.exp: Call untested with the correct test
4931 filename. Make the test's binary unique.
4932 * gdb.mi/Makefile.in (EXECUTABLES): Update.
4933 * gdb.python/py-mi.exp: Ditto.
4934 * gdb.python/Makefile.in (EXECUTABLES): Update.
4935 * gdb.reverse/i386-precsave.exp: Ditto.
4936 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
4937 test filename.
4938 * gdb.reverse/i387-stack-reverse.exp: Ditto.
4939 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
4940 unique.
4941 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
4942 test filename.
4943 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
4944 * gdb.trace/tfile.exp: Ditto.
4945
ba4a8bdd
YQ
49462011-05-14 Yao Qi <yao@codesourcery.com>
4947
4948 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
4949 type.
4950
dbaefcf7
DE
49512011-05-13 Doug Evans <dje@google.com>
4952
4953 * gdb.python/py-objfile-script.exp: New file.
4954 * gdb.python/py-objfile-script.c: New file.
4955 * gdb.python/py-objfile-script-gdb.py: New file.
4956 * testsuite/gdb.python/py-section-script.exp: Test
4957 "info auto-load-scripts".
4958
9930639c
TT
49592011-05-13 Tom Tromey <tromey@redhat.com>
4960
4961 * gdb.dwarf2/clztest.exp: New file.
4962 * gdb.dwarf2/clztest.c: New file.
4963 * gdb.dwarf2/clztest.S: New file.
4964
05272e11
DE
49652011-05-13 Doug Evans <dje@google.com>
4966
cc63ef9b
DE
4967 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
4968 String16 tests.
05272e11 4969
6edba76f
TT
49702011-05-13 Tom Tromey <tromey@redhat.com>
4971
4972 * lib/gdb.exp (is_x86_like_target): New proc.
4973 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
4974 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
4975 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
4976 -nostdlib to compiler.
4977 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
4978 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
4979 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
4980 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
4981 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
4982
028d0ed5
TJB
49832011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
4984
4985 * gdb.python/py-function.exp: Test setting a value from a function
4986 which executes a command.
4987
8a9b8146
TT
49882011-05-12 Tom Tromey <tromey@redhat.com>
4989
4990 * gdb.dwarf2/typeddwarf.S: New file.
4991 * gdb.dwarf2/typeddwarf.c: New file.
4992 * gdb.dwarf2/typeddwarf.exp: New file.
4993
10483e8e
MP
49942011-05-12 Marek Polacek <mpolacek@redhat.com>
4995
4996 * gdb.mi/mi-basics.exp: Fix races. Honour the
4997 `test_exec_and_symbol_mi_operatons' return value.
4998 (test_mi_interpreter_selection): Use mi_gdb_test instead of
4999 gdb_test_multiple.
5000 (test_exec_and_symbol_mi_operatons): Likewise.
5001 (test_path_specification): Likewise.
5002
faf067f1
JK
50032011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5004
5005 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
5006 (gdb_touch_execfile): Remove catch wrappers. New variable time.
5007 Replace `file copy' and `file rename' by `file mtime'. Twice.
5008
7ff911a3
JK
50092011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5010
5011 * gdb.base/readline-ask.c: New file.
5012 * gdb.base/readline-ask.exp: New file.
5013 * gdb.base/readline-ask.inputrc: New file.
5014
a536c6d7
UW
50152011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
5016
5017 * gdb.cell/bt.exp: Delete breakpoints before running to signal
5018 to avoid race condition.
5019 * gdb.cell/coremaker.c: Use small stack size.
5020 * gdb.cell/ea-standalone.exp: Use file name without path as
5021 argument to c_to.
5022 * gdb.cell/fork.exp: Allow other output when continuing to end.
5023
d472a426
JK
50242011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5025
5026 * gdb.threads/corethreads.c: New file.
5027 * gdb.threads/corethreads.exp: New file.
5028
50292011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
774094b8
JK
5030
5031 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
5032 Try to compile the test using -Wl,-z,norelro first.
5033 (load_core): New variable libthread_db_seen, initialize it.
5034 (zeroed-threads cannot be listed): Protect it by XFAIL on
5035 !$libthread_db_seen.
5036
8be455d7
JK
50372011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5038
5039 PR 12573
5040 * gdb.dwarf2/dw2-skip-prologue.S: New file.
5041 * gdb.dwarf2/dw2-skip-prologue.c: New file.
5042 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
5043
1976171a
JK
50442011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5045
5046 * gdb.cp/psymtab-parameter.cc: New file.
5047 * gdb.cp/psymtab-parameter.exp: New file.
5048
7db6f30f
JK
50492011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5050
5051 Fix a race.
5052 * gdb.cp/static-print-quit.exp (print c): Split to ...
5053 (print c - <return>, print c - q <return>, print c - to quit):
5054 ... these. Make the testfile untested on gdb-7.1.
5055
85161e9e 50562011-5-05 Janis Johnson <janisjo@codesourcery.com>
56744f0a
JJ
5057
5058 * lib/gdb.exp (exec_target_file, exec_symbol_file,
5059 gdb_rename_execfile, gdb_touch_execfile): New.
5060 * gdb.base/reread.exp: Use new procs to handle multiple
5061 exec files.
5062
0c51be18
YQ
50632011-05-05 Yao Qi <yao@codesourcery.com>
5064
5065 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
5066 (test_adr_32bit, test_pop_pc): New.
5067 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
5068 (test_adr_32bit, test_pop_pc): New.
5069
4d393d60
JM
50702011-05-04 Joseph Myers <joseph@codesourcery.com>
5071
5072 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
5073 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
5074 targets.
5075 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
5076 handle targets.
5077
8ffd0459
JK
50782011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5079
5080 * gdb.base/completion.exp (complete help info wat): Rename to ...
5081 (complete 'help info wat'): ... here.
5082 Remove all `-re ".*' and `-re "^.*' redundant regexes.
5083 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
5084
8e28d804
PA
50852011-05-04 Pedro Alves <pedro@codesourcery.com>
5086
5087 * gdb.base/completion.exp: Use gdb_test_multiple instead of
5088 gdb_test and explicit $gdb_prompt/timeout matches.
5089
3eb2ef34
YQ
50902011-05-04 Yao Qi <yao@codesourcery.com>
5091
5092 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
5093 and __thumb2__.
5094
aaaf81a3
MP
50952011-05-03 Marek Polacek <mpolacek@redhat.com>
5096
5097 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
5098 in place of `gdb_test "delete breakpoints"'. This eliminates two
5099 testcases.
5100
c4cbc0df
PA
51012011-05-02 Pedro Alves <pedro@codesourcery.com>
5102
5103 PR testsuite/12649
5104 Fix races.
5105
5106 * gdb.base/completion.exp: Remove all sleep calls. Remove
5107 unnecessary regexs. Don't explicitly expect anything after the
5108 prompt. Eat the prompt if necessary.
5109
b4cbb4a3
EBM
51102011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
5111
5112 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
5113 accept to show the caller line again as well as the line after.
5114
d65aec65
PM
51152011-04-29 Phil Muldoon <pmuldoon@redhat.com>
5116
5117 PR mi/12531
5118
5119 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
5120 compile target.
5121 * gdb.python/py-prettyprint.exp: Add C++ object for
5122 CPLUS_FAKE_CHILD test.
5123
30852783
UW
51242011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
5125
5126 * gdb.base/signest.exp: New file.
5127 * gdb.base/signest.c: Likewise.
5128
c7b1f0d9
JK
51292011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5130
5131 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
5132 thread and breakpoint notifications.
5133
559a7a62
JK
51342011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5135
5136 * gdb.base/fortran-sym-case.c: New file.
5137 * gdb.base/fortran-sym-case.exp: New file.
5138 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
5139 * gdb.dwarf2/dw2-case-insensitive.c: New file.
5140 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
5141
8344e389
JK
51422011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5143
5144 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
5145 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
5146 false #1', `if true else false #2' and `if true else false #3'.
5147
2484c66b
UW
51482011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
5149
5150 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
5151 while delivering signal.
5152
8d3788bd
VP
51532011-04-27 Vladimir Prus <vladimir@codesourcery.com>
5154
5155 MI breakpoint notifications.
5156
5157 * testsuite/gdb.mi/mi-cli.exp: Adust.
5158 * testsuite/gdb.mi/mi2-cli.exp: Adust.
5159 * testsuite/gdb.mi/mi-watch.exp: Adust.
5160 * testsuite/gdb.mi/mi2-watch.exp: Adust.
5161 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
5162 notifications.
5163
3e03848b
JK
51642011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5165
5166 * gdb.base/gdbindex-stabs-dwarf.c: New file.
5167 * gdb.base/gdbindex-stabs.c: New file.
5168 * gdb.base/gdbindex-stabs.exp: New file.
5169
918c9108
YQ
51702011-04-25 Yao Qi <yao@codesourcery.com>
5171
5172 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
5173 with /*...*/.
5174 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
5175
90556b8c
JK
51762011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5177
5178 * gdb.python/py-value.exp (test_objfiles): Name the first test
5179 `py-value in file.filename'.
5180
03f2bd59
JK
51812011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5182
5183 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
5184 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
5185 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
5186 !gdbserver_reconnect_p..
5187 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
5188
7b08b9eb
JK
51892011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5190
5191 * gdb.cp/cpcompletion.exp (complete class methods)
5192 (complete class methods beginning with F): Move them above runto. New
5193 comment about the runto delimiter.
5194
b78974c3
PA
51952011-04-20 Pedro Alves <pedro@codesourcery.com>
5196
5197 * gdb.base/maint.exp: Test that "maint print registers" works
5198 without a running program.
5199
20429c40 52002011-04-20 Marek Polacek <mpolacek@redhat.com>
b78974c3 5201
20429c40
MP
5202 * gdb.base/setshow.exp: Fix racy tests.
5203 ($old_gdb_prompt): New variable.
5204
7a9dd1b2
TT
52052011-04-19 Tom Tromey <tromey@redhat.com>
5206
5207 * gdb.mi/mi-nsmoribund.exp:
5208 * gdb.hp/gdb.objdbg/objdbg01.exp:
5209 * gdb.base/structs.exp (test_struct_returns):
5210 * gdb.base/call-sc.exp (test_scalar_returns):
5211 * gdb.base/bigcore.exp: Remove duplicate words.
5212
02835898
JK
52132011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5214
5215 * gdb.base/break-interp-lib.c (v, vptr): New variables.
5216 * gdb.base/break-interp.exp (test_attach): New comment.
5217
254f582e
JK
52182011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5219
5220 * gdb.threads/gcore-thread.exp ($core0file): New variable.
5221 (clear __stack_user.next, clear stack_used.next)
5222 (save a zeroed-threads corefile): New test.
5223 Call core_load for $core0file.
5224 (zeroed-threads cannot be listed): New test.
5225
4fe85f5c
JK
52262011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5227
5228 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
5229 filename.
5230 ($srcfile): Preserve the original value.
5231 ($testfile): Match it the .exp filename.
5232 ($corefile): New variable. Substitute it around.
5233 Use clean_restart.
5234 ($prev_timeout): Remove.
5235 (load_core): Move core loading into this proc.
5236 Fix restore of $timeout if load_core fails.
5237
63524580
JK
52382011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5239
5240 * gdb.base/eu-strip-infcall.c: New file.
5241 * gdb.base/eu-strip-infcall.exp: New file.
5242
90359a16
JK
52432011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5244
5245 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
5246 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
5247
626e7282
JK
52482011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5249
5250 Fix Python access to inlined frames.
5251 * gdb.python/py-frame-inline.c: New file.
5252 * gdb.python/py-frame-inline.exp: New file.
5253
3363d018
EBM
52542011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
5255
5256 * gdb.base/gdb1090.exp: Change breakpoint location to read the
5257 content of 's24' correctly (avoiding "optimized out").
5258 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
5259
28781456
JK
52602011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5261
5262 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
5263
4a4106ca
TJB
52642011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
5265
5266 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
5267 expect a colon in watch -location output.
5268
d26ccb4f
JK
52692011-04-13 Marek Polacek <mpolacek@redhat.com>
5270
df46027d 5271 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
d26ccb4f
JK
5272 New testcase `expect response to define backtrace'. Also remove
5273 redundant `default' block.
5274
e1ab1f9c
JK
52752011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5276
5277 * gdb.python/py-prettyprint.c (struct hint_error): New.
5278 (main): New variable hint_error.
5279 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
5280 "print hint_error".
5281 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
5282 (register_pretty_printers): Register it.
5283
0c2e6019
TT
52842011-04-04 Tom Tromey <tromey@redhat.com>
5285
5286 * gdb.cp/maint.exp (test_help): Update.
5287 (test_namespace): Likewise.
5288
af57139d
JB
52892011-04-01 Joel Brobecker <brobecker@adacore.com>
5290
5291 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
5292 * gdb.ada/arrayptr.exp: Add new tests.
5293
956a9fb9
JB
52942011-04-01 Joel Brobecker <brobecker@adacore.com>
5295
5296 * gdb.ada/mi_catch_ex: New testcase.
5297
d0c4d642
PA
52982011-04-01 Pedro Alves <pedro@codesourcery.com>
5299
5300 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
5301 base::overload(void) method without specifying "const".
5302
18819fa6
UW
53032011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
5304
5305 * gdb.arch/thumb-singlestep.S: New file.
5306 * gdb.arch/thumb-singlestep.exp: Likewise.
5307
a4c8e806
TT
53082011-03-31 Tom Tromey <tromey@redhat.com>
5309
5310 * gdb.python/py-prettyprint.py (exception_flag): New global.
5311 (NoStringContainerPrinter._iterator.next): Check it.
5312 * gdb.python/py-prettyprint.c (main): New variable nstype2.
5313 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
5314
53832f31
TT
53152011-03-29 Tom Tromey <tromey@redhat.com>
5316
5317 * gdb.cp/anon-struct.cc: New file.
5318 * gdb.cp/anon-struct.exp: New file.
5319
e4620230
JK
53202011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5321
5322 Test STT_GNU_IFUNC support.
5323 * gdb.base/gnu-ifunc-lib.c: New file.
5324 * gdb.base/gnu-ifunc.c: New file.
5325 * gdb.base/gnu-ifunc.exp: New file.
5326
d0fb5eae
JK
53272011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5328
5329 Support a ring of related breakpoints.
5330 * gdb.base/watchpoint-delete.c: New file.
5331 * gdb.base/watchpoint-delete.exp: New file.
5332
20106cfb
JK
53332011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5334
5335 * gdb.ada/arrayparam.exp (print first after function call): Use
5336 explicit package name. Add a comment
5337 (print lasta after function call): Rename ...
5338 (print last after function call): ... it and use explicit package
5339 name.
5340 (print length after function call): Use explicit package name.
5341 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
5342 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
5343 (multiple matches for symbol i): Rename ...
5344 (multiple matches for symbol integervar): ... it.
5345 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
5346 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
5347
e7ab5e63
AB
53482011-03-25 Andrew Burgess <aburgess@broadcom.com>
5349
5350 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
5351 environment variable to make grep output more predictable. Move
5352 all the environment setup into gdb_init so it's done once per test
5353 case rather than each time we start gdb.
5354
9ef07c8c
TT
53552011-03-24 Tom Tromey <tromey@redhat.com>
5356
5357 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
5358 test.
5359
dd90784c
JK
53602011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5361
5362 * gdb.dwarf2/dw2-entry-value-main.c: New file.
5363 * gdb.dwarf2/dw2-entry-value.S: New file.
5364 * gdb.dwarf2/dw2-entry-value.exp: New file.
5365
05775840
PM
53662011-03-22 Phil Muldoon <pmuldoon@redhat.com>
5367
5368 PR python/12183
5369
5370 * gdb.python/py-function.exp: Add GdbError tests.
5371
8661b11b
PA
53722011-03-18 Pedro Alves <pedro@codesourcery.com>
5373
5374 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
5375 (reglocal_test_func, statlocal_test_func): New functions.
5376 (globals_test_func): Call new functions.
5377 * gdb.trace/unavailable.exp (gdb_collect_args_test)
5378 (gdb_collect_locals_test): New procedure.
5379 (gdb_trace_collection_test): Call new procedures.
5380
0fdb4f18
PA
53812011-03-18 Pedro Alves <pedro@codesourcery.com>
5382
5383 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
5384 (test_register, test_register_unavailable): New procedures.
5385 (gdb_unavailable_registers_test): New procedure.
5386 (gdb_trace_collection_test): Call it.
5387
99c3dc11
PM
53882011-03-18 Phil Muldoon <pmuldoon@redhat.com>
5389
5390 PR python/12149
5391
5392 * gdb.python/python.exp: Add gdb.write tests.
5393
29703da4
PM
53942010-03-17 Phil Muldoon <pmuldoon@redhat.com>
5395
5396 * gdb.python/Makefile.in: Add py-objfile.
5397 * gdb.python/py-objfile.exp: New file.
5398 * gdb.python/py-objfile.c: New file.
5399 * gdb.python/py-block.exp: Add is_valid tests.
5400 * gdb.python/py-inferior.exp: Ditto.
5401 * gdb.python/py-infthread.exp: Ditto.
5402 * gdb.python/py-symbol.exp: Ditto.
5403 * gdb.python/py-symtab.exp: Ditto.
5404
598997c8
KS
54052011-03-16 Keith Seitz <keiths@redhat.com>
5406
5407 PR c++/12273
5408 * gdb.cp/cmpd-minsyms.exp: New test.
5409 * gdb.cp/cmpd-minsyms.cc: New file.
5410
5411 PR c++/11734
5412 * gdb.cp/ovsrch.exp: New test.
5413 * gdb.cp/ovsrch.h: New file.
5414 * gdb.cp/ovsrch1.cc: New file.
5415 * gdb.cp/ovsrch2.cc: New file.
5416 * gdb.cp/ovsrch3.cc: New file.
5417 * gdb.cp/ovsrch4.cc: New file.
5418
c91513d8
PP
54192011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
5420
5421 PR gdb/12528
5422 * gdb.base/Makefile.in: Adjust EXECUTABLES.
5423 * gdb.base/break-on-linker-gcd-function.exp: New test.
5424 * gdb.base/break-on-linker-gcd-function.cc: New file.
5425
7470fc63
AT
54262011-03-15 Andreas Tobler <andreast@fgznet.ch>
5427
5428 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
5429
959e7469
PM
54302011-03-15 Phil Muldoon <pmuldoon@redhat.com>
5431
5432 * lib/gdb.exp (gdb_unload): Add another termination case.
5433
9373cf26
JK
54342011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5435
5436 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
5437 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
5438 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
5439 Provide a stub byte there.
5440 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
5441 DW_AT_entry_pc.
5442 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
5443
24e9cda0
UW
54442011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
5445
5446 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
5447 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
5448 "generic ABI, auto".
5449 (altivec_abi_tests): Accept vectors returned by reference.
5450
7371cf6d
PM
54512010-03-14 Phil Muldoon <pmuldoon@redhat.com>
5452
5453 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
5454
ce77046a
UW
54552011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
5456
5457 * gdb.python/py-section-script.exp: Skip test if no Python support.
5458
176400c3
UW
54592011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
5460
5461 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
5462
ecec24e6
PM
54632011-03-10 Phil Muldoon <pmuldoon@redhat.com>
5464
5465 * gdb.python/py-parameter.exp: Update tests to the new Python
5466 parameter API. Add "no documentation" test. Add deprecated API
5467 backward compatibility test.
5468
5dbdd470
TT
54692011-03-09 Tom Tromey <tromey@redhat.com>
5470
5471 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
5472 gdb_continue_to_end.
5473
b66e66ee
MK
54742011-03-09 Mark Kettenis <kettenis@gnu.org>
5475
5476 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
5477 tabs.
5478
eceb0c5f
TT
54792011-03-09 Tom Tromey <tromey@redhat.com>
5480
5481 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
5482 parentheses.
5483 (gdb_continue_to_end): Add "allow_extra" parameter. Use
5484 $command.
5485 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
5486 argument to gdb_continue_to_end.
5487 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
5488 argument to gdb_continue_to_end.
5489 * gdb.cp/annota3.exp: Fix regex.
5490 * gdb.cp/annota2.exp: Fix regex.
5491 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
5492 gdb_continue_to_end.
5493 * gdb.base/call-signal-resume.exp: Revert earlier patch.
5494 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
5495 gdb_continue_to_end.
5496
63154eca
PA
54972011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5498
5499 * gdb.server/ext-run.exp
5500 (load new file without any gdbserver inferior): New test.
5501
967d1f9b
TT
55022011-03-07 Tom Tromey <tromey@redhat.com>
5503
5504 * Makefile.in (TAGS): Rewrite.
5505
d68dcbb9
JK
55062011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5507
5508 * gdb.trace/report.exp (12.1: trace report #1): New match for the
5509 initial commands echo. New match for `Found trace'. Anchor all the
5510 other matches. Anchor and match for `No trace frame found' the final
5511 match.
5512
6bf58e63
TT
55132011-03-07 Tom Tromey <tromey@redhat.com>
5514
5515 * Makefile.in (TAGS): New target.
5516
fda326dd
TT
55172011-03-07 Tom Tromey <tromey@redhat.com>
5518
5519 * lib/opencl.exp (skip_opencl_tests): Update for exit message
5520 change.
5521 * lib/mi-support.exp (mi_gdb_test): Update for exit message
5522 change.
5523 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
5524 exit message change.
5525 (skip_altivec_tests): Update for exit message change.
5526 (skip_vsx_tests): Likewise.
5527 (gdb_continue_to_end): Likewise. Add 'command' argument.
5528 * lib/cell.exp (skip_cell_tests): Update for exit message change.
5529 * gdb.threads/tls.exp: Update for exit message change.
5530 * gdb.threads/thread-unwindonsignal.exp: Use
5531 gdb_continue_to_end.
5532 * gdb.threads/step.exp (step_it): Update for exit message change.
5533 (continue_all): Likewise.
5534 * gdb.threads/print-threads.exp (test_all_threads): Update for
5535 exit message change.
5536 * gdb.threads/interrupted-hand-call.exp: Use
5537 gdb_continue_to_end.
5538 * gdb.threads/execl.exp: Use gdb_continue_to_end.
5539 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
5540 gdb_continue_to_end.
5541 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
5542 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
5543 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
5544 * gdb.cp/method.exp: Update for exit message change.
5545 * gdb.cp/mb-templates.exp: Update for exit message change.
5546 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
5547 * gdb.cp/annota3.exp: Update for exit message change.
5548 * gdb.cp/annota2.exp: Update for exit message change.
5549 * gdb.cell/fork.exp: Use gdb_continue_to_end.
5550 * gdb.base/term.exp: Update for exit message change.
5551 * gdb.base/step-test.exp (test_i): Update for exit message change.
5552 * gdb.base/sigstep.exp (advance): Update for exit message change.
5553 (advancei): Likewise.
5554 * gdb.base/siginfo.exp: Update for exit message change.
5555 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
5556 * gdb.base/reread.exp: Use gdb_continue_to_end.
5557 * gdb.base/langs.exp: Use gdb_continue_to_end.
5558 * gdb.base/interrupt.exp: Update for exit message change.
5559 * gdb.base/gdb1555.exp: Update for exit message change.
5560 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
5561 * gdb.base/ending-run.exp: Update for exit message change.
5562 * gdb.base/chng-syms.exp: Update for exit message change.
5563 * gdb.base/checkpoint.exp: Update for exit message change.
5564 * gdb.base/catch-syscall.exp (check_for_program_end): Use
5565 gdb_continue_to_end.
5566 (test_catch_syscall_with_wrong_args): Likewise.
5567 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
5568 * gdb.base/break-interp.exp (test_ld): Update for exit message
5569 change.
5570 * gdb.base/bang.exp: Update for exit message change.
5571 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
5572 (do_call_attach_tests): Likewise.
5573 * gdb.base/a2-run.exp: Update for exit message change.
5574 * gdb.arch/ppc-dfp.exp: Update for exit message change.
5575 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
5576 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
5577
dd19bd70
JK
55782011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5579
5580 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
5581
30e62689
TT
55822011-03-03 Tom Tromey <tromey@redhat.com>
5583
5584 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
5585 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
5586 * gdb.hp/gdb.aCC/configure.ac: Remove.
5587 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
5588 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
5589 * gdb.hp/gdb.base-hp/configure.ac: Remove.
5590 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
5591 * gdb.hp/gdb.compat/configure (Makefile): Remove.
5592 * gdb.hp/gdb.compat/configure.ac: Remove.
5593 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
5594 * gdb.hp/gdb.defects/configure (Makefile): Remove.
5595 * gdb.hp/gdb.defects/configure.ac: Remove.
5596 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
5597 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
5598 * gdb.hp/gdb.objdbg/configure.ac: Remove.
5599 * gdb.hp/configure.ac: Remove.
5600 * gdb.hp/configure: Remove.
5601 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
5602 substitution.
5603 (Makefile): Remove rule.
5604 * gdb.cell/configure.ac: Remove.
5605 * gdb.cell/configure: Remove.
5606 * gdb.stabs/Makefile.in (Makefile): Remove.
5607 (distclean): Don't remove config.status or config.log.
5608 * gdb.stabs/configure (Makefile): Remove.
5609 * gdb.stabs/configure.ac: Remove.
5610 * configure: Rebuild.
5611 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
5612 Remove stabs- and cell-specific logic. Test for existence of
5613 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
5614 subdirectories, gdb.cell, and and gdb.stabs.
5615 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
5616
c171f854
JB
56172011-03-03 Joel Brobecker <brobecker@adacore.com>
5618
5619 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
5620 end of buffer.
5621
9a5193cb
JB
56222011-03-02 Joel Brobecker <brobecker@adacore.com>
5623
5624 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
5625 gdb_test when running a test where we expected no output back.
5626
9bb4c1bb
MS
56272011-02-28 Michael Snyder <msnyder@vmware.com>
5628
5629 * gdb.cp/overload.cc: Change initializer value to integer.
5630
3bd0f5ef
MS
56312011-02-27 Michael Snyder <msnyder@vmware.com>
5632
5633 * gdb.multi/base.exp: Add test for remove-inferiors.
5634
2279eaad
JB
56352011-02-26 Joel Brobecker <brobecker@adacore.com>
5636
5637 * gdb.python/py-frame.exp: Simplify the initialization phase
5638 using prepare_for_testing.
5639
c82c0b55
MS
56402011-02-25 Michael Snyder <msnyder@vmware.com>
5641
5642 * gdb.multi/base.exp: Add tests for info inferiors with args.
5643
1d94651b
JK
56442011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5645
5646 * gdb.dwarf2/dw2-ranges.S: Rename to ...
5647 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
5648 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
5649 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
5650 asmfile3. Comment the STABS (#3) file compilation. Compile
5651 everything through assembler. Provide KFAIL for symtab/12497.
5652 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
5653 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
5654 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
5655 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
5656
3bd0f5ef
MS
56572011-02-24 Michael Snyder <msnyder@vmware.com>
5658
5659 * gdb.base/break.exp: Add tests for delete breakpoints using
5660 convenience variables and value history references.
5661
12c1418e
MS
56622011-02-24 Michael Snyder <msnyder@vmware.com>
5663
5664 * gdb.base/break.exp: Remove debugging 'printf' accidentally
5665 left behind in previous check-in.
5666
e5a67952
MS
56672011-02-23 Michael Snyder <msnyder@vmware.com>
5668
5669 * gdb.base/break.exp: Add tests for "info break" with arguments.
5670 * gdb.trace/infotrace.exp: Update patterns for error and help.
5671 * gdb.base/completion.exp: Update pattern.
5672 * gdb.base/ena-dis-br.exp: Update pattern.
5673 * gdb.base/help.exp: Update patterns.
5674
56752011-02-23 Michael Snyder <msnyder@vmware.com>
fbcb778d
MS
5676
5677 * gdb.base/memattr.exp: New test.
5678 * gdb.base/memattr.c: Test load for memattr.exp.
5679
6e6fbe60
DE
56802011-02-22 Doug Evans <dje@google.com>
5681
5682 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
5683
1d41d745
MS
56842011-02-22 Michael Snyder <msnyder@vmware.com>
5685
5686 * Makefile.in: Make more clean.
5687 * gdb.ada/Makefile.in: Ditto.
5688 * gdb.arch/Makefile.in: Ditto.
5689 * gdb.asm/Makefile.in: Ditto.
5690 * gdb.base/Makefile.in: Ditto.
5691 * gdb.cp/Makefile.in: Ditto.
5692 * gdb.dwarf2/Makefile.in: Ditto.
5693 * gdb.java/Makefile.in: Ditto.
5694 * gdb.mi/Makefile.in: Ditto.
5695 * gdb.modula2/Makefile.in: Ditto.
5696 * gdb.python/Makefile.in: Ditto.
5697 * gdb.server/Makefile.in: Ditto.
5698 * gdb.stabs/Makefile.in: Ditto.
5699 * gdb.threads/Makefile.in: Ditto.
5700 * gdb.trace/Makefile.in: Ditto.
5701
79ba84ca
MS
57022011-02-22 Michael Snyder <msnyder@vmware.com>
5703
df46027d 5704 * gdb.threads/thread-find.exp: Add tests for bad input to
79ba84ca
MS
5705 info threads.
5706
b9b35694
JB
57072011-02-22 Joel Brobecker <brobecker@adacore.com>
5708
5709 * gdb.python/py-breakpoint.exp: Fix the expected output of
5710 one of the "maint info breakpoints" tests to accept the output
5711 generated on platforms that do not have hardware watchpoints.
5712
8bfb830f
JB
57132011-02-22 Joel Brobecker <brobecker@adacore.com>
5714
5715 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
5716 clean_restart. Be a little stricter in the expected output
5717 for one of the tests. Fix a typo in one of the comments.
5718
c45f3c54
JB
57192011-02-22 Joel Brobecker <brobecker@adacore.com>
5720
5721 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
5722 Delete variable binfile, no longer use. Add or modify test
5723 comments to make them unique.
5724
b97c863c
MS
57252011-02-21 Michael Snyder <msnyder@vmware.com>
5726
5727 * Makefile.in: Update for make clean.
5728 * gdb.ada/Makefile.in: Ditto.
5729 * gdb.arch/Makefile.in: Ditto.
5730 * gdb.asm/Makefile.in: Ditto.
5731 * gdb.base/Makefile.in: Ditto.
5732 * gdb.cp/Makefile.in: Ditto.
5733 * gdb.dwarf2/Makefile.in: Ditto.
5734 * gdb.java/Makefile.in: Ditto.
5735 * gdb.mi/Makefile.in: Ditto.
5736 * gdb.modula2/Makefile.in: Ditto.
5737 * gdb.python/Makefile.in: Ditto.
5738 * gdb.server/Makefile.in: Ditto.
5739 * gdb.stabs/Makefile.in: Ditto.
5740 * gdb.threads/Makefile.in: Ditto.
5741 * gdb.trace/Makefile.in: Ditto.
5742
aea5b279
MS
57432011-02-21 Michael Snyder <msnyder@vmware.com>
5744
5745 * gdb.threads/thread-find.exp: Update patterns for changes in
5746 output of "info threads" command.
5747
e3039479
UW
57482011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5749 Ulrich Weigand <uweigand@de.ibm.com>
5750
5751 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
5752 (skip_hw_watchpoint_tests): Likewise.
5753 (skip_hw_watchpoint_multi_tests): Likewise.
5754
b800ec70
UW
57552011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
5756
5757 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
5758 (skip_hw_watchpoint_tests): Likewise.
5759 (skip_hw_watchpoint_multi_tests): Likewise.
5760 (skip_hw_watchpoint_access_tests): Likewise.
5761
5762 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
5763 * gdb.base/pr11022.exp: Likewise.
5764 * gdb.base/watch-read.exp: Likewise.
5765 * gdb.base/watch_thread_num.exp: Likewise.
5766 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
5767 * gdb.base/watchpoint-hw.exp: Likewise.
5768 * gdb.base/watchpoint.exp: Likewise.
5769 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
5770 * gdb.threads/watchthreads-reorder.exp: Likewise.
5771 * gdb.threads/watchthreads.exp: Likewise.
5772 * gdb.threads/watchthreads2.exp: Likewise.
5773
91033e37
JB
57742011-02-21 Joel Brobecker <brobecker@adacore.com>
5775
5776 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
5777 the debugger is unable to find the array bounds.
5778
eeaafae2
JK
57792011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5780
5781 * gdb.cp/typedef-operator.exp: New file.
5782 * gdb.cp/typedef-operator.cc: New file.
5783
e338d953
MS
57842011-02-17 Michael Snyder <msnyder@vmware.com>
5785
5786 * gdb.threads/thread-find.exp: Fix regular expressions.
5787
e67ad678
JB
57882011-02-17 Joel Brobecker <brobecker@adacore.com>
5789
5790 * gdb.ada/packed_array: Expand testcase to test printing of
5791 unconstrained packed array.
5792
93084bca
JB
57932011-02-17 Joel Brobecker <brobecker@adacore.com>
5794
5795 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
5796
a0c78a73
PA
57972011-02-16 Pedro Alves <pedro@codesourcery.com>
5798
f65d5553 5799 * gdb.trace/collection.c (globalarr3): New global.
a0c78a73
PA
5800 (main): Initialize it before collecting, and and clear it
5801 afterwards.
f65d5553
PA
5802 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
5803 collecting with '{type} addr', where the addr expression is not an
5804 rvalue.
a0c78a73 5805
3dfcbbd2
KW
58062011-02-16 Ken Werner <ken.werner@de.ibm.com>
5807
5808 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
5809 a bool variable. Expect correct OpenCL names for vector types. Use the
5810 uc3 variable name instead of referring to the uchar3 built-in type.
5811 Escape the asterisk at the half pointer test.
5812
08807d5a
PA
58132011-02-16 Pedro Alves <pedro@codesourcery.com>
5814
f65d5553 5815 * gdb.trace/collection.c (globalarr2): New global.
08807d5a
PA
5816 (main): Initialize it before collecting, and and clear it
5817 afterwards.
f65d5553
PA
5818 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
5819 collecting overlapping memory ranges.
08807d5a 5820
60f98dde
MS
58212011-02-15 Michael Snyder <msnyder@vmware.com>
5822
5823 * gdb.base/default.exp: Add tests for thread commands.
5824 * gdb.base/help.exp: Add tests for thread commands.
5825 * gdb.threads/thread-find.exp: New test for thread find command.
5826
648cd113
KW
58272011-02-15 Ken Werner <ken.werner@de.ibm.com>
5828
5829 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
5830
494e194e
YQ
58312011-02-15 Yao Qi <yao@codesourcery.com>
5832
5833 PR tdep/12352
5834 * gdb.arch/arm-disp-step.S : New test for str instruction.
5835 * gdb.arch/arm-disp-step.exp : Likewise.
5836
d9492458
TJB
58372011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
5838
5839 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
5840 "vector_register2_vr" test strings. Test the extended floating
5841 point registers (F32~F63).
5842 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
5843 IBM XL C compiler. Make the test program use a register provided
5844 by the compiler for the lxvd2x instruction.
5845
8af8e3bc
PA
58462011-02-14 Pedro Alves <pedro@codesourcery.com>
5847
5848 * gdb.trace/unavailable.cc (class Base, class Middle, class
5849 Derived): New types.
5850 (derived_unavail, derived_partial, derived_whole): New globals.
5851 (virtual_partial): New global.
5852 (virtualp): Point at virtual_partial.
5853 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
5854 related to unavailable vptr.
5855
1b28d0b3
PA
58562011-02-14 Pedro Alves <pedro@codesourcery.com>
5857
5858 * gdb.trace/unavailable.cc (a, b, c): New globals.
5859 (main): Set and clear them.
5860 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
5861 `a' and `c', and check that `b' isn't collected, although `a' and
5862 `c' are.
5863
ec0a52e1
PA
58642011-02-14 Pedro Alves <pedro@codesourcery.com>
5865
5866 * gdb.trace/unavailable.cc (struct Virtual): New.
5867 (virtualp): New global pointer.
5868 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
5869 printing a pointer to an object whose type has a vtable, with
5870 print object on.
5871
24e6bcee
PA
58722011-02-14 Pedro Alves <pedro@codesourcery.com>
5873
5874 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
5875 value repeat handles unavailableness.
5876
39d37385
PA
58772011-02-14 Pedro Alves <pedro@codesourcery.com>
5878
5879 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
5880 tests for building arrays from unavailable values, subscripting
5881 non-memory rvalue unvailable arrays, and accessing fields or
5882 baseclasses of non-lazy unavailable values,
5883 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
5884 struct types.
5885 (g_smallstruct, g_smallstruct_b): New globals.
5886
06d72e16
PA
58872011-02-14 Pedro Alves <pedro@codesourcery.com>
5888
5889 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
5890
bc9a5551
JK
58912011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5892
5893 Fix const/volatile qualifiers of C++ types, PR c++/12328.
5894 * gdb.cp/overload-const.exp: New file.
5895 * gdb.cp/overload-const.cc: New file.
5896
54fcddd0
UW
58972011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
5898
5899 * gdb.opencl/callfuncs.cl: New file.
5900 * gdb.opencl/callfuncs.exp: New test.
5901 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
5902
d6dafb7c
UW
59032011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
5904
5905 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
5906 when computing result.
5907 * gdb.arch/altivec-abi.exp: Update expected results.
5908
a449c2d8
TJB
59092011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
5910
5911 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
5912 * gdb.base/jit.exp: Likewise.
5913 * gdb.base/pie-execl.exp: Likewise.
5914 * gdb.base/solib-nodir.exp: Likewise.
5915 * gdb.base/solib-overlap.exp: Likewise.
5916
764880b7
PA
59172011-02-07 Pedro Alves <pedro@codesourcery.com>
5918
5919 * gdb.trace/collection.c (global_pieces): New.
5920 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
5921 New procedure.
5922 (gdb_trace_collection_test): Call it.
5923
505500db
SW
59242011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
5925
5926 * gdb.python/py-evthreads.c: New file.
5927 * gdb.python/py-evthreads.exp: New file.
5928 * gdb.python/py-events.py: New file.
5929 * gdb.python/py-events.exp: New file.
5930 * gdb.python/py-events.c: New file.
5931
385203ed
DD
59322011-02-04 David Daney <ddaney@caviumnetworks.com>
5933
5934 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
5935
9011945e
AB
59362011-02-03 Andrew Burgess <aburgess@broadcom.com>
5937
5938 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
5939 gdb.base/disasm-end-cu.exp: New test for disassembling over the
5940 boundary between two compilation units.
5941
580688f3
PA
59422011-02-02 Pedro Alves <pedro@codesourcery.com>
5943
5944 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
5945 (Virtual): New structs.
5946 (virtual_o, virtual_middle_b): New globals.
5947 * gdb.cp/virtbase.exp: New tests.
5948
d3f0f853
PP
59492011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5950
5951 * gdb.base/jit.exp: New file.
5952 * gdb.base/jit-main.c: New file.
5953 * gdb.base/jit-solib.c: New file.
5954
b2030fb5
UW
59552011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
5956
5957 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
5958 proceed to initial kernel entry point.
5959 * gdb.opencl/datatypes.exp: Likewise.
5960 * gdb.opencl/operators.exp: Likewise.
5961 * gdb.opencl/vec_comps.exp: Likewise.
5962
2db19d1e
SW
59632011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
5964
5965 * gdb.cp/nsnested.cc: New.
5966 * gdb.cp/nsnested.exp: New.
5967 * gdb.cp/nsnoimports.exp: New.
5968 * gdb.cp/nsnoimports.cc: New.
5969
6b0c4c1f
JB
59702011-01-31 Joel Brobecker <brobecker@adacore.com>
5971
5972 * gdb.base/interact.exp: Add extra tests that verify that
5973 the value of the interactive-mode setting does not change
5974 after the script is sourced.
5975
80b23b6a
JK
59762011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5977
5978 * gdb.cp/noparam.exp: New file.
5979 * gdb.cp/noparam.cc: New file.
5980
ffd5ec24
PA
59812011-01-28 Pedro Alves <pedro@codesourcery.com>
5982
5983 * gdb.trace/tfile.exp: Test that with no traceframe selected,
5984 there's no stack or registers.
5985
a81766d8
TT
59862011-01-26 Tom Tromey <tromey@redhat.com>
5987
5988 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
5989 space before string output. Add test for "set print pretty off"
5990 case.
5991
585fdaa1
PA
59922011-01-25 Pedro Alves <pedro@codesourcery.com>
5993
5994 * gdb.base/frame-args.exp: Adjust.
5995 * gdb.dwarf2/dw2-noloc.exp: Adjust.
5996 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
5997 * gdb.dwarf2/pieces.exp: Adjust.
5998 * gdb.opt/clobbered-registers-O2.exp: Adjust.
5999 * gdb.opt/inline-locals.exp: Adjust.
6000 * gdb.threads/fork-child-threads.exp: Adjust.
6001
d468832a
KW
60022011-01-25 Ken Werner <ken.werner@de.ibm.com>
6003
6004 * gdb.opencl/convs_casts.cl: Move program scope variables into the
6005 OpenCL kernel function. Add a comment as marker. Add address space
6006 qualifiers for the remaining program scope variables.
6007 * gdb.opencl/datatypes.cl: Likewise.
6008 * gdb.opencl/operators.cl: Likewise.
6009 * gdb.opencl/vec_comps.cl: Likewise.
6010 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
6011 Add breakpoint at the marker comment.
6012 * gdb.opencl/datatypes.exp: Likewise.
6013 * gdb.opencl/operators.exp: Likewise.
6014 * gdb.opencl/vec_comps.exp: Likewise.
6015
490f124f
PA
60162011-01-24 Pedro Alves <pedro@codesourcery.com>
6017
6018 * gdb.base/printcmds.c (some_struct): New struct and instance.
6019 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
6020 procedure.
6021 <global scope>: Call it.
6022
6da78614
KW
60232011-01-21 Ken Werner <ken.werner@de.ibm.com>
6024
6025 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
6026 argument to the gdb_compile_opencl_hostapp call.
6027
ec64c9aa
YQ
60282011-01-19 Yao Qi <yao@codesourcery.com>
6029
6030 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
6031 positve list.
6032
810cfdbb
YQ
60332011-01-19 Yao Qi <yao@codesourcery.com>
6034
6035 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
6036 canonical form.
6037 Remove "xscale-*-*"
6038 * gdb.xml/tdesc-regs.exp: Likewise.
6039 * gdb.python/py-section-script.exp: Replace ARM target triplet
6040 with canonical form.
6041 Match arm*-*-symbianelf*.
6042 * gdb.base/dup-sect.exp: Likewise.
6043 * lib/dwarf.exp: New.
6044 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
6045 dwarf2_support.
6046 * gdb.dwarf2/dup-psym.exp: Likewise.
6047 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
6048 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6049 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
6050 * gdb.dwarf2/dw2-basic.exp: Likewise.
6051 * gdb.dwarf2/dw2-compressed.exp: Likewise.
6052 * gdb.dwarf2/dw2-const.exp: Likewise.
6053 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
6054 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
6055 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6056 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
6057 * gdb.dwarf2/dw2-filename.exp: Likewise.
6058 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6059 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
6060 * gdb.dwarf2/dw2-intercu.exp: Likewise.
6061 * gdb.dwarf2/dw2-intermix.exp: Likewise.
6062 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
6063 * gdb.dwarf2/dw2-noloc.exp: Likewise.
6064 * gdb.dwarf2/dw2-op-call.exp: Likewise.
6065 * gdb.dwarf2/dw2-producer.exp: Likewise.
6066 * gdb.dwarf2/dw2-ranges.exp: Likewise.
6067 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
6068 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
6069 * gdb.dwarf2/dw2-strp.exp: Likewise.
6070 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
6071 * gdb.dwarf2/implptr.exp: Likewise.
6072 * gdb.dwarf2/mac-fileno.exp: Likewise.
6073 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
6074 * gdb.dwarf2/pieces.exp: Likewise.
6075 * gdb.dwarf2/pr11465.exp: Likewise.
6076 * gdb.dwarf2/valop.exp: Likewise.
6077 * gdb.dwarf2/watch-notconst.exp: Likewise.
6078 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
6079
4694da01
TT
60802011-01-19 Tom Tromey <tromey@redhat.com>
6081
6082 * gdb.python/py-infthread.exp: Add thread tests.
6083
b075872c
JB
60842011-01-14 Joel Brobecker <brobecker@adacore.com>
6085
6086 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
6087
2c3e6e24
JB
60882011-01-14 Joel Brobecker <brobecker@adacore.com>
6089
6090 * gdb.ada/widewide: New testcase.
6091
de8fa76c
JB
60922011-01-13 Joel Brobecker <brobecker@adacore.com>
6093
6094 * gdb.base/interact.exp: New testcase.
6095
1b05df00
TT
60962011-01-12 Tom Tromey <tromey@redhat.com>
6097
6098 * gdb.mi/gdb2549.exp: Update for error message changes.
6099 * gdb.mi/mi-cli.exp: Likewise.
6100 * gdb.mi/mi-disassemble.exp: Likewise.
6101 * gdb.mi/mi-pthreads.exp: Likewise.
6102 * gdb.mi/mi-regs.exp: Likewise.
6103 * gdb.mi/mi-stack.exp: Likewise.
6104 * gdb.mi/mi-var-block.exp: Likewise.
6105 * gdb.mi/mi-var-cmd.exp: Likewise.
6106 * gdb.mi/mi2-cli.exp: Likewise.
6107 * gdb.mi/mi2-disassemble.exp: Likewise.
6108 * gdb.mi/mi2-pthreads.exp: Likewise.
6109 * gdb.mi/mi2-regs.exp: Likewise.
6110 * gdb.mi/mi2-stack.exp: Likewise.
6111 * gdb.mi/mi2-var-block.exp: Likewise.
6112 * gdb.mi/mi2-var-cmd.exp: Likewise.
6113
c2ff108b
JK
61142011-01-12 Andrew Burgess <aburgess@broadcom.com>
6115 Jan Kratochvil <jan.kratochvil@redhat.com>
6116
6117 PR fortran/11104 and DWARF unbound arrays detection.
6118 * gdb.fortran/multi-dim.exp: New file.
6119 * gdb.fortran/multi-dim.f90: New file.
6120
b716877b
AB
61212011-01-12 Andrew Burgess <aburgess@broadcom.com>
6122
6123 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
6124 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
6125 add new tests for opcode dumping.
6126
6c162d5e
TT
61272011-01-11 Tom Tromey <tromey@redhat.com>
6128
6129 * gdb.python/py-infthread.exp: Load gdb-python.exp.
6130
77b06cd7
TJB
61312010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
6132
6133 Convert hardware watchpoints to use breakpoint_ops.
6134 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
6135 type is not supported.
6136 * gdb.base/foll-fork.exp: Likewise.
6137 * gdb.base/foll-vfork.exp: Likewise.
6138
f39a75d0
PM
61392011-01-10 Phil Muldoon <pmuldoon@redhat.com>
6140
6141 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
6142 Use load_lib gdb-python.exp.
6143 * gdb.python/python.exp: Ditto.
6144 * gdb.python/py-function.exp: Ditto.
6145
fc529d80
AS
61462011-01-09 Andreas Schwab <schwab@linux-m68k.org>
6147
6148 * gdb.threads/tls.exp ("info address me"): Fix expected output.
6149
fb03cb59
JK
61502011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6151
6152 * configure: Regenerate.
6153
d8e22779
TT
61542011-01-06 Tom Tromey <tromey@redhat.com>
6155
6156 * gdb.python/py-frame.exp: Test gdb.newest_frame.
6157
09050809
JB
61582011-01-06 Joel Brobecker <brobecker@adacore.com>
6159
fc529d80
AS
6160 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
6161 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
6162 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
6163 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
6164 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
6165 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
6166 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
6167 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
6168 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
6169 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
6170 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
6171 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
6172 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
6173 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
6174 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
6175 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
6176 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
6177 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
6178 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
6179 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
6180 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
6181 gdb.ada/uninitialized_vars.exp,
6182 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
6183 Simplify by using clean_restart.
09050809 6184
8ed5dd9e
JB
61852011-01-06 Joel Brobecker <brobecker@adacore.com>
6186
6187 Add marker to be used as anchor for inserting breakpoints.
6188 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
6189 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
6190 Likewise.
6191
6192 Remove uses of gdb_start_cmd.
6193 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
6194 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
6195
6196 Do not run testcase if testing with GDBserver.
6197 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
6198 if testing with GDBserver.
6199
368a124f
JB
62002011-01-06 Joel Brobecker <brobecker@adacore.com>
6201
6202 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
6203 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
6204 copyright header.
6205
44944448
JB
62062011-01-05 Joel Brobecker <brobecker@adacore.com>
6207
6208 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
6209 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
6210 testsuite/gdb.fortran/complex.f,
6211 testsuite/gdb.fortran/derived-type.f90,
6212 testsuite/gdb.fortran/library-module-lib.f90,
6213 testsuite/gdb.fortran/library-module-main.f90,
6214 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
6215 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
6216 Copyright year update.
6217
31886ea6
JB
62182011-01-05 Joel Brobecker <brobecker@adacore.com>
6219
6220 * gdb.base/langs1.f: Add copyright header.
6221
ebedcab5
JK
62222011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6223
6224 * gdb.base/morestack.exp: New file.
6225 * gdb.base/morestack.c: New file.
6226
de1eb2f9
JK
62272011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6228
6229 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
6230
9e87a409
JB
62312010-12-29 Joel Brobecker <brobecker@adacore.com>
6232
6233 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
6234 * gdb.ada/arrayptr.exp: Add test printing that new variable.
6235
720d1a40
JB
62362010-12-29 Joel Brobecker <brobecker@adacore.com>
6237
6238 * gdb.ada/lang_switch.exp: Correct expected parameter value.
6239
a283af87
AS
62402010-12-25 Andreas Schwab <schwab@linux-m68k.org>
6241
5d3d9cba
AS
6242 * gdb.threads/tls.exp: Fix typo.
6243
a283af87
AS
6244 * gdb.threads/thread-specific.exp (get_thread_list): Update.
6245 * gdb.threads/execl.exp: Update.
6246
2a20745c
YQ
62472010-12-23 Yao Qi <yao@codesourcery.com>
6248
6249 * gdb.arch/arm-disp-step.exp: New.
6250 * gdb.arch/arm-disp-step.S: New.
6251
a7658b96
TT
62522010-12-21 Tom Tromey <tromey@redhat.com>
6253
6254 * gdb.threads/execl.exp: Update.
6255 * gdb.threads/linux-dp.exp: Update.
6256 * gdb.threads/manythreads.exp: Update.
6257 * gdb.threads/tls.exp: Update.
6258
5b79abe7
TT
62592010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6260
6261 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
6262 (NextOverThrowDerivates) <resumebpt>: New.
6263 (resumebpt_test): New.
6264 (main): Call resumebpt_test.
6265 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
6266
0914bcdb
SS
62672010-12-12 Stan Shebs <stan@codesourcery.com>
6268
6269 * gdb.trace/tsv.exp: Test print command on trace state variables.
6270
305aeedc
TT
62712010-12-09 Tom Tromey <tromey@redhat.com>
6272
6273 * gdb.base/interp.exp: Add regression test.
6274
186c406b
TT
62752010-12-09 Tom Tromey <tromey@redhat.com>
6276
6277 * gdb.java/jnpe.java: New file.
6278 * gdb.java/jnpe.exp: New file.
6279 * gdb.cp/nextoverthrow.exp: New file.
6280 * gdb.cp/nextoverthrow.cc: New file.
6281
aae1c79a
DE
62822010-12-07 Doug Evans <dje@google.com>
6283
6284 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
6285 of data-directory.
6286 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
6287 updated.
6288 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
6289
60f98dde 62902010-11-29 Michael Snyder <msnyder@vmware.com>
d426f7b4
MS
6291
6292 * gdb.base/callfuncs.exp: Test for skip_float_tests.
6293 * gdb.base/call-sc.exp: Ditto.
6294 * gdb.base/finish.exp: Ditto.
6295 * gdb.base/return.exp: Ditto.
6296 * gdb.base/return2.exp: Ditto.
6297
5fa290c1
DE
62982010-11-30 Doug Evans <dje@google.com>
6299
6300 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
6301 (gdb_expect_list): Fix spelling errors in comments.
6302 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
6303 send_gdb/gdb_expect_list where applicable.
6304 * gdb.base/call-ar-st.exp: Ditto.
6305 * gdb.base/funcargs.exp: Ditto.
6306 * gdb.base/gcore.exp: Ditto.
6307 * gdb.base/page.exp: Ditto.
6308 * gdb.base/sigaltstack.exp: Ditto.
6309 * gdb.base/siginfo.exp: Ditto.
6310 * gdb.base/sigstep.exp: Ditto.
6311 * gdb.base/trace-commands.exp: Ditto.
6312
4e04c971
DE
63132010-11-29 Doug Evans <dje@google.com>
6314
6315 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
6316 printer-name;subprinter-name.
6317
8cf6f0b1
TT
63182010-11-29 Tom Tromey <tromey@redhat.com>
6319
6320 * gdb.dwarf2/implptr.exp: New file.
6321 * gdb.dwarf2/implptr.c: New file.
6322 * gdb.dwarf2/implptr.S: New file.
6323
94b6973e
PM
63242010-11-29 Phil Muldoon <pmuldoon@redhat.com>
6325
fc529d80 6326 PR python/12199
94b6973e
PM
6327
6328 * gdb.python/py-breakpoint.exp: Test the delete method.
6329
8358c15c
JK
63302010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6331
6332 Fix step_resume_breakpoint unsaved during an infcall.
6333 * gdb.base/step-resume-infcall.exp: New file.
6334 * gdb.base/step-resume-infcall.c: New file.
6335
f6df29bc
TJB
63362010-11-24 Edjunior Machado <emachado@br.ibm.com>
6337
6338 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
6339
f2b5a5cf
TJB
63402010-11-24 Edjunior Machado <emachado@br.ibm.com>
6341
6342 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
6343 on ppc64's symbols; "finish" and "return" commands must accept to
6344 show the caller line again as well as the line after.
6345 * gdb.asm/powerpc64.inc: New file.
6346
6b0ecdc2
DE
63472010-11-23 Doug Evans <dje@google.com>
6348
6349 * lib/gdb.exp (gdb_test_sequence): New function.
6350 (gdb_expect_list): Add verbose -log call for each pattern.
6351 * gdb.base/signals.exp (test_handle_all_print): Call it.
6352 Reduce timeout increment from 6 minutes to 1 minute.
6353 * gdb.server/ext-run.exp: Call it.
6354
ea976c60
PM
63552010-11-23 Phil Muldoon <pmuldoon@redhat.com>
6356
f2b5a5cf 6357 PR python/12212
ea976c60
PM
6358
6359 * gdb.python/python.exp: Check that selected_thread raises an
6360 error when no inferior is loaded.
6361
c0efa795
JK
63622010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6363
6364 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
6365 * gdb.dwarf2/dw2-stack-boundary.S: New file.
6366
ec3aa567
JK
63672010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6368
6369 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
6370 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
6371
d8249011
DE
63722010-11-18 Doug Evans <dje@google.com>
6373
6374 * gdb.server/ext-run.exp: Fix intermittent failures.
6375
d4eba7d1
NF
63762010-11-12 Nathan Froyd <froydnj@codesourcery.com>
6377
6378 * gdb.stabs/gdb11479.exp: Use runto_main.
6379
b04c2f88
NF
63802010-11-12 Nathan Froyd <froydnj@codesourcery.com>
6381
6382 * gdb.base/break-entry.exp: Skip if using a stub.
6383
ae9d7ce4
NF
63842010-11-12 Nathan Froyd <froydnj@codesourcery.com>
6385
6386 * gdb.python/py-inferior.exp: Pack values in target endianness.
6387
621c8364
TT
63882010-11-12 Tom Tromey <tromey@redhat.com>
6389
6390 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
6391 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
6392 MemoryError.
6393 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
6394 type.
6395 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
6396 MemoryError.
6397 (test_subscript_regression): Update exception type.
6398
84f4c1fe
PM
63992010-11-11 Phil Muldoon <pmuldoon@redhat.com>
6400
6401 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
6402 breakpoint tests.
6403
a1442452
PA
64042010-11-09 Pedro Alves <pedro@codesourcery.com>
6405
6406 * gdb.base/watchpoint.exp: Test "watch -location" with an
6407 innacessible location.
6408
efd11a33
JK
64092010-11-09 Edjunior Machado <emachado@br.ibm.com>
6410 Luis Machado <luisgpm@br.ibm.com>
6411
6412 * gdb.base/maint.exp: Expect "." prefix.
6413 * gdb.base/nodebug.exp: Expect "." Likewise.
6414 * gdb.base/sepsymtab.exp: Expect "." Likewise.
6415 * gdb.base/watchpoint-cond-gone.exp: Likewise.
6416 * gdb.base/watchpoint.exp: Expect a software watch to be created for
6417 POWER server processors.
6418
aa00efb5
JK
64192010-11-08 Edjunior Machado <emachado@br.ibm.com>
6420 Luis Machado <luisgpm@br.ibm.com>
6421
6422 * gdb.base/break-entry.exp: convert entry point for
6423 ppc64 and expect leading `.' on ppc64's symbols
6424
99e7ae30
DE
64252010-11-05 Doug Evans <dje@google.com>
6426
6427 * gdb.base/help.exp: Update expected output.
b521dba8
DE
6428 * gdb.python/py-param.exp: Delete, contents moved to ...
6429 * gdb.python/py-parameter.exp: ... here. New file.
6430 Add test for gdb.parameter ("directories").
99e7ae30 6431
f4b8a18d
KW
64322010-11-05 Ken Werner <ken.werner@de.ibm.com>
6433
6434 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
6435 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
6436 * configure: Regenerate.
6437 * gdb.opencl/Makefile.in: New File.
6438 * gdb.opencl/datatypes.exp: Likewise.
6439 * gdb.opencl/datatypes.cl: Likewise.
6440 * gdb.opencl/operators.exp: Likewise.
6441 * gdb.opencl/operators.cl: Likewise.
6442 * gdb.opencl/vec_comps.exp: Likewise.
6443 * gdb.opencl/vec_comps.cl: Likewise.
6444 * gdb.opencl/convs_casts.exp: Likewise.
6445 * gdb.opencl/convs_casts.cl: Likewise.
6446 * lib/opencl.exp: Likewise.
6447 * lib/opencl_hostapp.c: Likewise.
6448 * lib/opencl_kernel.cl: Likewise.
6449 * lib/cl_util.c: Likewise.
6450 * lib/cl_util.c: Likewise.
6451 * gdb.base/default.exp (set language): Add "opencl" to the list of
6452 languages.
6453
a9d5ef47
SW
64542010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
6455
6456 * gdb.cp/overload.exp: Added test for inheritance overload.
6457 * gdb.cp/overload.cc: Ditto.
6458 * gdb.cp/oranking.exp: Removed releveant kfails.
6459
03eb1c79
JK
64602010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6461 Joel Brobecker <brobecker@adacore.com>
6462
6463 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
6464 check test_compiler_info.
6465
dbc98a8b
KW
64662010-11-03 Ken Werner <ken.werner@de.ibm.com>
6467
6468 * gdb.base/gnu_vector.exp: Adjust expect messages.
6469
120bd360
KW
64702010-11-03 Ken Werner <ken.werner@de.ibm.com>
6471
6472 * gdb.base/gnu_vector.exp: Add unary operator tests.
6473
c37f7098
KW
64742010-11-03 Ken Werner <ken.werner@de.ibm.com>
6475
6476 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
6477
7b51bc51
DE
64782010-11-02 Doug Evans <dje@google.com>
6479
6480 * gdb.python/py-pp-maint.c: New file.
6481 * gdb.python/py-pp-maint.exp: New file.
6482 * gdb.python/py-pp-maint.py: New file.
6483
50c97f38
TT
64842010-11-02 Tom Tromey <tromey@redhat.com>
6485
6486 * gdb.base/default.exp: Remove "scheme" from language list.
6487
a289b8f6
JK
64882010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6489
6490 Revert:
6491 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6492 * gdb.threads/sigstep-threads.exp: New file.
6493 * gdb.threads/sigstep-threads.c: New file.
6494
cd017491
MS
64952010-10-20 Michael Snyder <msnyder@vmware.com>
6496
6497 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
6498
8e6a5956
UW
64992010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
6500
6501 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
6502 Skip test completely if gdb,no_hardware_watchpoints.
6503
2c04da0d
UW
65042010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
6505
6506 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
6507 strict, but do not check for any particular function name within libc.
6508
79afc5ef
SW
65092010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
6510
6511 * gdb.cp/smartp.exp: New test.
6512 * gdb.cp/smartp.cc : New test.
6513
026ffab7
SW
65142010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
6515
6516 * gdb.cp/converts.exp: Test pointer to bool conversion.
6517 Test pointer to long conversion.
6518 * gdb.cp/oranking.exp: Removed relevant kfail.
6519
3a772aa4
TT
65202010-10-18 Tom Tromey <tromey@redhat.com>
6521
6522 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
6523 argument to lazy_string.
6524 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
6525 (pp_ls.to_string): Use it.
6526 * gdb.python/py-prettyprint.c (main): Move declarations to top.
6527 Add "estring2" local.
6528
5fc3827b
JK
65292010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6530
6531 Fix s390x compatibility.
6532 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
6533 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
6534
8aeb23f3
JK
65352010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6536
6537 * gdb.threads/sigstep-threads.exp: New file.
6538 * gdb.threads/sigstep-threads.c: New file.
6539
c1e56572
JK
65402010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6541
6542 * gdb.base/pie-execl.exp: New file.
6543 * gdb.base/pie-execl.c: New file.
6544
92163a10
JK
65452010-10-13 Doug Evans <dje@google.com>
6546 Jan Kratochvil <jan.kratochvil@redhat.com>
6547
6548 PR exp/12117
6549 * gdb.cp/ptype-cv-cp.cc: New file.
6550 * gdb.cp/ptype-cv-cp.exp: New file.
6551
7062b0a0
SW
65522010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
6553
6554 * gdb.cp/converts.cc: New test program.
6555 * gdb.cp/converts.exp: New test.
6556 * gdb.cp/overload.exp: Added test for void* vs int*.
6557 * gdb.cp/overload.exp: Ditto.
6558 * gdb.cp/oranking.exp: Removed related kfail.
6559
0e3509db
DE
65602010-10-13 Doug Evans <dje@google.com>
6561
6562 * lib/gdb-python.exp (gdb_check_python_config): New function.
6563 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
6564 * gdb.python/lib-types.cc: New file.
6565 * gdb.python/lib-types.exp: New file.
6566
8dc78533
JK
65672010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6568
6569 * gdb.python/py-error.exp: New file.
6570 * gdb.python/py-error.py: New file.
6571
93c17e06
JK
65722010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6573
6574 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
6575 gdb_test_multiple.
6576
d8b34041
JK
65772010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6578
6579 * gdb.base/break-interp.exp: Use ldlags for linking flags.
6580 * gdb.base/prelink.exp: Likewise.
6581 * gdb.base/solib-nodir.exp: Likewise.
6582 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
6583 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
6584 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
6585
e0cc584e
UW
65862010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
6587
6588 * break-interp.exp (test_ld): Use two separate gdb_expect statements
6589 for the "info files" test to avoid timeouts on slow machines.
6590
cfc353b1
JK
65912010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6592
6593 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
6594 (main): Make openlib dummy call.
6595
d3d7896d
JK
65962010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6597
6598 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
6599 * break-interp.exp (reach): Move the core body ...
6600 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
6601 (test_ld): Provide always real argument, even to the linker. Replace
6602 dl_main by _dl_debug_state.
6603
5e533c94
JK
66042010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6605
6606 Fix results of prelinked PIEs on ppc*.
6607 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
6608 Accept also DISPLACEMENT "PRESENT".
6609 (main): Replace "ZERO" displacements by "PRESENT".
6610
33540610
SW
66112010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
6612
6613 * gdb.cp/oranking.exp: New test.
6614 * gdb.cp/oranking.cc: New test program.
6615
3bdf2bbd
KW
66162010-10-08 Ken Werner <ken.werner@de.ibm.com>
6617
6618 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
6619 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
6620
2f608a3a
KW
66212010-10-06 Ken Werner <ken.werner@de.ibm.com>
6622
6623 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
6624 lush, lynx) New constant.
6625 * gdb.base/constvars.exp: Test const array types.
6626 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
6627
aa2e2d8d
DE
66282010-10-06 Doug Evans <dje@google.com>
6629
6630 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
6631 of syscall staging area.
6632
2844d6b5
KW
66332010-10-06 Ken Werner <ken.werner@de.ibm.com>
6634
6635 * gdb.base/gnu_vector.c: Add variable c4.
6636 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
6637 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
6638
7d8ac8bb
MR
66392010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
6640
6641 * gdb.arch/altivec-abi.exp: Fix a typo.
6642
84a02e58
MR
66432010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
6644
6645 * lib/mi-support.exp (thread_selected_re): Correct pattern used
6646 to match a thread ID.
6647
b18e6318
JK
66482010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6649
6650 Fix s390x testcase compatibility.
6651 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
6652
a2c09bd0
DE
66532010-10-01 Doug Evans <dje@google.com>
6654
6655 * lib/gdb-python.exp: New file.
6656 * gdb.python/py-block.exp: Use it.
6657 * gdb.python/py-breakpoint.exp: Ditto.
6658 * gdb.python/py-frame.exp: Ditto.
6659 * gdb.python/py-inferior.exp: Ditto.
6660 * gdb.python/py-param.exp: Ditto.
6661 * gdb.python/py-prettyprint.exp: Ditto.
6662 * gdb.python/py-shared.exp: Ditto.
6663 * gdb.python/py-symbol.exp: Ditto.
6664 * gdb.python/py-symtab.exp: Ditto.
6665 * gdb.python/py-type.exp: Ditto.
6666 * gdb.python/py-value.exp: Ditto.
6667 * gdb.python/python.exp: Ditto.
6668
38f12cfc
TT
66692010-09-30 Tom Tromey <tromey@redhat.com>
6670
6671 * gdb.base/anon.exp: New file.
6672 * gdb.base/anon.c: New file.
6673
9ae8282d
TT
66742010-09-30 Tom Tromey <tromey@redhat.com>
6675
6676 * gdb.base/completion.exp: Test completion through anonymous
6677 union.
6678 * gdb.base/break1.c (struct some_struct): Add anonymous union.
6679
e9e07ba6
JK
66802010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6681
6682 Fix printing parameters of inlined functions.
6683 * gdb.dwarf2/dw2-inline-param.exp: New file.
6684 * gdb.dwarf2/dw2-inline-param-main.c: New file.
6685 * gdb.dwarf2/dw2-inline-param.S: New file.
6686
cd2effb2
JK
66872010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6688
6689 PR corefiles/12071.
6690 * gdb.base/corefile.exp (quit with a process, no question: load core)
6691 (quit with a core file): New tests.
6692
bceffbf3
JK
66932010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6694
6695 Fix GDB crash on inferior calls with self-referencing classes.
6696 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
6697 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
6698 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
6699
1736ad11
JK
67002010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6701
6702 Fix lost siginfo_t for inferior calls.
6703 * gdb.base/siginfo-infcall.exp: New file.
6704 * gdb.base/siginfo-infcall.c: New file.
6705
a176ad92
JB
67062010-09-22 Joel Brobecker <brobecker@adacore.com>
6707
6708 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
6709
c2b0a229
JK
67102010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6711
6712 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
6713 New test.
6714 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
6715
e8ae22d1
JB
67162010-09-22 Joel Brobecker <brobecker@adacore.com>
6717
6718 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
6719 type of our const type.
6720
ec322823
SW
67212010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
6722
6723 * gdb.cp/pr12028.cc: New.
6724 * gdb.cp/pr12028.exp: New.
6725
72929c62
JB
67262010-09-22 Joel Brobecker <brobecker@adacore.com>
6727
6728 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
6729
875b4ff5 67302010-09-16 Phil Muldoon <pmuldoon@redhat.com>
fc529d80 6731 Jan Kratochvil <jan.kratochvil@redhat.com>
875b4ff5
PM
6732
6733 PR mi/11407
6734 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
6735 * gdb.mi/dw2-ref-missing-frame-main.c New File.
6736 * gdb.mi/dw2-ref-missing-frame.S New File.
6737 * gdb.mi/dw2-ref-missing-frame.exp New File.
6738
7155d578
TT
67392010-09-14 Tom Tromey <tromey@redhat.com>
6740
6741 PR symtab/8399:
6742 * gdb.threads/tls.exp: Remove kfail. Update expected output.
6743
515ed532
TT
67442010-09-14 Tom Tromey <tromey@redhat.com>
6745
6746 PR exp/11803:
6747 * gdb.threads/tls.exp: Use C++.
6748 (check_thread_local): Use K::another_thread_local.
6749 * gdb.threads/tls.c (class K): New.
6750 (another_thread_local): Now a member of K.
6751 (spin): Update. No longer K&R C.
6752
450ca57c
SW
67532010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
6754
6755 * gdb.cp/koenig.cc: created class for testing member lookup.
6756 * gdb.cp/koenig.exp: Added test for member lookup.
6757
dbd492a3
JK
67582010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6759
6760 Fix false FAILs on sourcetree topdir directory containing "kill".
6761 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
6762 source line matching regexp.
6763
8d4d924b
JK
67642010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6765
6766 * gdb.python/python.exp (set height 0, collect help from uiout)
6767 (verify help to uiout): New tests.
6768
8e64f2a0
JK
67692010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6770
6771 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
6772 is_lp64_target to check 64bit target.
6773
4569eed2
JK
67742010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6775
6776 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
6777 (test_ld) <powerpc64-*>: New.
6778
5e1617b1
DJ
67792010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
6780
6781 * gdb.cp/templates.exp (test_template_args): Allow "struct".
6782
c767944b
DJ
67832010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
6784
6785 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
6786 (FunctionArg::method): New function.
6787 (empty, arg): New variables.
6788 (main): Call arg.method.
6789 * gdb.cp/templates.exp (test_template_args): New function.
6790 (do_tests): Call it.
6791
27d3a3fc
UW
67922010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
6793
6794 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
6795 of "next" to proceed over pthread_exit call.
6796
55b7ce7f
UW
67972010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
6798
6799 * gdb.base/maint.exp: Avoid wildcards against potentially very long
6800 "maint print statistics" output to prevent expect timeouts.
6801
809df446
JK
68022010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6803
6804 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
6805 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
6806 (test_float_rejected): ... here.
6807 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
6808 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
6809 (test_float_rejected): ... here.
6810 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
6811 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
6812 (test_float_rejected): ... here.
6813 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
6814 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
6815 (test_float_rejected): ... here.
6816
8464be76
DJ
68172010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
6818
6819 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
6820 before disabling hardware watchpoints.
6821 (test_inaccessible_watchpoint): Check that hardware watchpoints
6822 are used. Test for watchpoints on a constant address.
6823
14dba4b4
JK
68242010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6825
6826 * gdb.base/ui-redirect.exp: New file.
6827
3f3540e1 68282010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
fc529d80 6829 Joel Brobecker <brobecker@adacore.com>
3f3540e1
JB
6830
6831 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
6832
0f254bb7
DE
68332010-08-31 Doug Evans <dje@google.com>
6834
6835 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
6836
03f17ccf
TT
68372010-08-30 Tom Tromey <tromey@redhat.com>
6838
6839 PR python/11792:
6840 * gdb.python/py-value.exp (test_subscript_regression): Add
6841 dynamic_type test.
6842
640617ad
DJ
68432010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
6844
6845 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
6846 instead of running to main. Do not test the main function.
6847 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
6848 Add new main.
6849
2ed91d1b
PA
68502010-08-26 Pedro Alves <pedro@codesourcery.com>
6851
6852 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
6853 one test.
6854
673bfd45
DE
68552010-08-24 Doug Evans <dje@google.com>
6856
6857 PR symtab/11942
6858 * gdb.dwarf2/dw4-sig-types.cc: New file.
6859 * gdb.dwarf2/dw4-sig-types.h: New file.
6860 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
6861 * gdb.dwarf2/dw4-sig-types.exp: New file.
6862
f9ffd4bb
TT
68632010-08-23 Tom Tromey <tromey@redhat.com>
6864
6865 PR python/11145:
6866 * gdb.python/py-value.c (Base, Derived): New types.
6867 (base): New global.
6868 * gdb.python/py-value.exp (test_subscript_regression): Add
6869 dynamic_cast test.
6870
d839c8a4
TT
68712010-08-23 Tom Tromey <tromey@redhat.com>
6872
6873 PR python/10676:
6874 * gdb.python/py-type.exp (test_fields): Add tests for type
6875 equality.
6876
702c2711
TT
68772010-08-23 Tom Tromey <tromey@redhat.com>
6878
6879 PR python/11915:
6880 * gdb.python/py-type.exp (test_fields): Add tests for array.
6881
832bafd3
KS
68822010-08-23 Keith Seitz <keiths@redhat.com>
6883
6884 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
6885 have any children. Create a new abbrev for it.
6886 Add missing terminal sequence to .debug_abbrev.
6887
c37bf528
KS
68882010-08-20 Keith Seitz <keiths@redhat.com>
6889
6890 PR symtab/11465:
6891 * gdb.dwarf2/pr11465.exp: New test.
6892 * gdb.dwarf2/pr11465.S: New file.
6893 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
6894 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
6895
4572cbac
TJB
68962010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
6897
6898 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
6899 registers. Update data sets with the new v2_double element in the
6900 VSX register union. Add vector_register3_vr data set for the AltiVec
6901 registers. Use gdb_test_no_output instead of send_gdb.
6902
e7fbb131
PA
69032010-08-19 Pedro Alves <pedro@codesourcery.com>
6904
6905 * gdb.python/py-shared.exp: New file, factored out from
6906 python.exp.
6907 * gdb.python/py-shared.c: New file.
6908 * gdb.python/py-shared-sl.c: New file.
6909 * gdb.python/python-1.c: New file.
6910 * gdb.python/python-sl.c: Delete.
6911 * gdb.python/python.c: Mention python-1.c.
6912 * gdb.python/python.exp: Move shared library tests to
6913 py-shared.exp.
6914 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
6915 (MISCELLANEOUS): New.
6916 (clean mostlyclean): Also remove $MISCELLANEOUS.
6917
d30f5e1f
DE
69182010-08-19 Doug Evans <dje@google.com>
6919
6920 PR exp/11926
6921 * gdb.base/printcmds.exp (test_float_accepted): New function.
6922 Move existing float tests there. Add tests for floats with suffixes.
6923 (test_float_rejected): New function.
6924 * gdb.java/jv-print.exp (test_float_accepted): New function.
6925 (test_float_rejected): New function.
6926 * gdb.objc/print.exp: New file.
6927 * gdb.pascal/print.exp: New file.
6928 * lib/objc.exp: New file.
6929
7b3fd859
PM
69302010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
6931
6932 * gdb.base/default.exp (info set): Avoid full buffer error and force
6933 reading up to final gdb prompt.
6934 (show): Likewise.
6935
c92817ce
TT
69362010-08-18 Tom Tromey <tromey@redhat.com>
6937
6938 PR symtab/11919:
6939 * gdb.base/completion.exp: Add test.
6940
f1208f9e
DE
69412010-08-18 Doug Evans <dje@google.com>
6942
6943 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
6944 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
6945 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
6946 Simplify, early exit if runto_main fails.
6947 * gdb.fortran/exprs.exp: load_lib fortran.exp.
6948 (set_lang_fortran): Moved to lib/fortran.exp.
6949 * gdb.fortran/types.exp: load_lib fortran.exp.
6950 (set_lang_fortran): Moved to lib/fortran.exp.
6951 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
6952 * gdb.java/jprint.exp (set_lang_java): Ditto.
6953 * gdb.java/jv-exp.exp: load_lib java.exp.
6954 If set_lang_java fails, issue a warning instead of failure to be
6955 consistent with other set_lang_foo uses.
6956 (set_lang_java): Moved to lib/java.exp.
6957 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
6958 If set_lang_java fails, issue a warning instead of failure to be
6959 consistent with other set_lang_foo uses.
6960 * gdb.pascal/types.exp: load_lib pascal.exp.
6961 (set_lang_pascal): Moved to lib/pascal.exp.
6962 * lib/fortran.exp: New file.
6963 * lib/java.exp (set_lang_java): New function.
6964 * lib/pascal.exp (set_lang_pascal): New function.
6965
2f06b485
YQ
69662010-08-18 Yao Qi <yao@codesourcery.com
6967
6968 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
6969 func_nofb_start and func_loopfb_start, so that address of functions
6970 is equal to these labels on Thumb.
6971
96e25403
YQ
69722010-08-18 Yao Qi <yao@codesourcery.com>
6973
6974 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
6975 to reflect latest c source file.
6976
36e6adc4
JK
69772010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6978
6979 * gdb.cp/infcall-dlopen.exp: New file.
6980 * gdb.cp/infcall-dlopen.cc: New file.
6981 * gdb.cp/infcall-dlopen-lib.cc: New file.
6982
f431efe5
PA
69832010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6984 Pedro Alves <pedro@codesourcery.com>
6985
6986 PR breakpoints/11371
6987
6988 * gdb.base/watch-cond-infcall.exp: New file.
6989 * gdb.base/watch-cond-infcall.c: New file.
6990
06a64a0b
TT
69912010-08-16 Tom Tromey <tromey@redhat.com>
6992
6993 * gdb.base/help.exp: Update.
6994 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
6995 watchpoint.
6996 (test_watch_location): New proc.
6997 (test_watchpoint_in_big_blob): Delete watchpoint.
6998 * gdb.base/watchpoint.c (func5): New function.
6999 (main): Call it.
7000
70ebf4ed
DE
70012010-08-16 Doug Evans <dje@google.com>
7002
7003 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
7004
ca5c20b6
PM
70052010-08-11 Phil Muldoon <pmuldoon@redhat.com>
7006
7007 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
7008 tests.
7009
7346b668
KW
70102010-08-11 Ken Werner <ken.werner@de.ibm.com>
7011
7012 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
7013 * gdb.base/gnu_vector.c: New File.
7014 * gdb.base/gnu_vector.exp: Likewise.
7015
cb2e07a6
PM
70162010-08-11 Phil Muldoon <pmuldoon@redhat.com>
7017
7018 * gdb.python/python.c: New File.
7019 * gdb.python/python-sl.c: New File.
7020 * gdb.python/python.exp: Test solib_address and decode_line
7021 * functions.
7022
5da1313b
JK
70232010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7024
7025 * gdb.python/python.exp (show height, set height 10)
7026 (verify pagination beforehand, verify pagination beforehand: q)
7027 (gdb.execute does not page, verify pagination afterwards)
7028 (verify pagination afterwards: q): New.
7029
49c3ccf7
DE
70302010-08-02 Doug Evans <dje@google.com>
7031
7032 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
7033 because of an older gcc, change test2
7034 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
7035 to unsupported.
7036
42c0c4f1
KH
70372010-07-30 Kazu Hirata <kazu@codesourcery.com>
7038
7039 * gdb.base/break-always.exp: Do not expect full paths to file
7040 names.
7041 * gdb.base/commands.exp: Likewise.
7042
d3765805
DE
70432010-07-30 Doug Evans <dje@google.com>
7044
c98ee71b
DE
7045 * gdb.cp/temargs.exp: For new tests that require newer gccs,
7046 xfail them when run with older gccs.
7047
fd961404
DE
7048 * lib/gdb.exp (build_executable): Forward "c++" option to
7049 get_compiler_info.
7050
999adef4
DE
7051 * gdb.python/py-type.exp (test_template): Mark as xfail tests
7052 "python print ttype.template_argument(1)" and
7053 "python print isinstance(ttype.template_argument(1), gdb.Value)"
7054 if using gcc 4.4 or earlier.
7055
d3765805
DE
7056 * gdb.base/valgrind-db-attach.exp: Use unique test name for
7057 attach-to-debugger handling.
7058
1276c759
JK
70592010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7060
7061 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
7062 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
7063 (main): Use copyreloc.
7064 * gdb.base/prelink.exp (split debug of executable)
7065 (.dynbss vs. .bss address shift): New tests.
7066
88caa9b9
PA
70672010-07-29 Pedro Alves <pedro@codesourcery.com>
7068
7069 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
7070 in gdb_test_multiple.
7071
c6f2ac43
PA
70722010-07-29 Pedro Alves <pedro@codesourcery.com>
7073
7074 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
7075 environment.
7076
326fd672
TT
70772010-07-28 Tom Tromey <tromey@redhat.com>
7078
7079 PR python/11060:
7080 * gdb.python/py-type.c (Temargs): New template.
7081 (temvar): New variable.
7082 * gdb.python/py-type.exp (test_template): New proc.
7083
3ce3b1ba
PA
70842010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
7085
7086 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
7087 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
7088
34eaf542
TT
70892010-07-28 Tom Tromey <tromey@redhat.com>
7090
7091 PR c++/9946:
7092 * gdb.cp/temargs.exp: New file.
7093 * gdb.cp/temargs.cc: New file.
7094
d41b819e
JK
70952010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7096
7097 * gdb.base/help.exp (help disassemble): Update the content.
7098
26ab7092
JK
70992010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7100
7101 * gdb.threads/ia64-sigill.exp: New file.
7102 * gdb.threads/ia64-sigill.c: New file.
7103
5283e9e1
TT
71042010-07-27 Tom Tromey <tromey@redhat.com>
7105
7106 * gdb.opt/inline-cmds.c (ATTR): New define.
7107 (func1): Use it.
7108 (func2): Likewise.
7109 (func3): Likewise.
7110 (outer_inline1): Likewise.
7111 (outer_inline2): Likewise.
7112 * gdb.opt/inline-bt.c (ATTR): New define.
7113 (func1): Use it.
7114 (func2): Likewise.
7115 * gdb.opt/inline-locals.c (ATTR): New define.
7116 (func1): Use it.
7117 (func2): Likewise.
7118
e992ef73
TT
71192010-07-27 Tom Tromey <tromey@redhat.com>
7120
7121 * gdb.stabs/gdb11479.c (hack): New function.
7122 (test): Use it.
7123 (test2): Use it.
7124 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
7125 (int32_search_buf, int64_search_buf): No longer static.
7126 (x): Remove.
7127 * gdb.base/relocate.c (hack): New function.
7128
5374244e
PM
71292010-07-27 Phil Muldoon <pmuldoon@redhat.com>
7130
7131 * gdb.python/py-value.exp (test_inferior_function_call): New function.
7132 * gdb.python/py-value.c (func1): New function.
7133 (func2): Likewise.
7134
a99aee83
CV
71352010-07-26 Corinna Vinschen <vinschen@redhat.com>
7136
7137 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
7138 as not to clash with .data section.
7139
a04ba985
JG
71402010-07-26 Jerome Guitton <guitton@adacore.com>
7141
7142 * gdb.base/code_elim.exp: New file.
7143 * gdb.base/code_elim1.c: New file.
7144 * gdb.base/code_elim2.c: New file.
7145
23bd0f7c
PA
71462010-07-21 Pedro Alves <pedro@codesourcery.com>
7147
7148 PR symtab/11827
7149
7150 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
7151 (some_volatile_enum): New variable.
7152 * gdb.base/printcmds.exp (test_print_enums): New.
7153 <top level>: Call it.
7154
883df6dd
SW
71552010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
7156
7157 * gdb.cp/fpointer.cc: New test.
7158 * gdb.cp/fpointer.exp: New test.
7159
569b05a5
JK
71602010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7161
7162 * gdb.base/solib-nodir.exp: New file.
7163 * lib/gdb.exp (runto): New case for a GDB internal error.
7164
51d7d803
JK
71652010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7166 Ulrich Weigand <uweigand@de.ibm.com>
7167 Tom Tromey <tromey@redhat.com>
7168
7169 * gdb.base/charset-malloc.c: New file.
7170 * gdb.base/charset.c (malloc_stub): New prototype.
7171 (main): Call it instead of malloc itself.
7172 * gdb.base/charset.exp: Use only prepare_for_testing.
7173 (binfile): Remove the variable.
7174
c0edd9ed
JK
71752010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7176
7177 Make core files the process_stratum.
7178 * gdb.base/corefile.exp (run: load core again)
7179 (run: sanity check we see the core file, run: with core)
7180 (run: core file is cleared, attach: load core again)
7181 (attach: sanity check we see the core file, attach: with core)
7182 (attach: core file is cleared): New tests.
7183 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
7184
3cbaedff
KW
71852010-07-14 Ken Werner <ken.werner@de.ibm.com>
7186
7187 * gdb.arch/altivec-abi.exp: New tests.
7188
91158a56
TT
71892010-07-13 Tom Tromey <tromey@redhat.com>
7190
7191 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
7192 (main): Use it.
7193 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
7194
0f5238ed
TT
71952010-07-13 Tom Tromey <tromey@redhat.com>
7196
7197 * gdb.base/label.exp: New file.
7198 * gdb.base/label.c: New file.
7199
add265ae
L
72002010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
7201 H.J. Lu <hongjiu.lu@intel.com>
7202
7203 * lib/gdb.exp (is_ilp32_target): New.
7204 (is_lp64_target): Likewise.
7205
7206 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
7207 target.
7208 * gdb.arch/amd64-disp-step.exp: Likewise.
7209 * gdb.arch/amd64-dword.exp: Likewise.
7210 * gdb.arch/amd64-i386-address.exp: Likewise.
7211 * gdb.arch/amd64-word.exp: Likewise.
889bf7c5 7212
add265ae
L
7213 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
7214 target.
7215 * gdb.arch/i386-bp_permanent.exp: Likewise.
7216 * gdb.arch/i386-byte.exp: Likewise.
7217 * gdb.arch/i386-disp-step.exp: Likewise.
7218 * gdb.arch/i386-gnu-cfi.exp: Likewise.
7219 * gdb.arch/i386-prologue.exp: Likewise.
7220 * gdb.arch/i386-size-overlap.exp: Likewise.
7221 * gdb.arch/i386-size.exp: Likewise.
7222 * gdb.arch/i386-sse.exp: Likewise.
7223 * gdb.arch/i386-unwind.exp: Likewise.
7224 * gdb.arch/i386-word.exp: Likewise.
7225
7226 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
7227 test only when building 64-bit executables. Do not hard-code
7228 -m64 option.
7229
2dfb8c17
DE
72302010-07-07 Doug Evans <dje@google.com>
7231
7232 * lib/gdb.exp (gdb_test_list_exact): New function.
7233 * gdb.base/default.exp (show convenience): Call it, add tests for
7234 $_sdata = void, $_thread = 0.
7235
4e5799b6
JK
72362010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7237 Joel Brobecker <brobecker@adacore.com>
7238
7239 Fix re-run of PIE executable, PR shlibs/11776.
7240 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
7241 Remove $displacement_main to match the solib-svr4.c change. New "kill"
7242 and re-"run" of the inferior.
7243
1a219cc7
JK
72442010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7245 Joel Brobecker <brobecker@adacore.com>
7246
7247 Cope with missing /usr/sbin/prelink.
7248 * lib/prelink-support.exp (prelink_no):
7249 <result == 1 && $output is "no such file or directory">: New.
7250 (prelink_yes): Likewise. Return on failed prelink_no.
7251
5e3b36f8
JK
72522010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7253 Joel Brobecker <brobecker@adacore.com>
7254
7255 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
7256 build_executable by build_executable_own_libs. Replace "prelink -R"
7257 execution by a call of prelink_yes. Comment why "prelink -r" needs no
7258 change.
7259 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
7260 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
7261 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
7262 Replace build_executable by build_executable_own_libs's function
7263 build_executable_own_libs.
7264 (prelinkNO): Create new stub to call prelink_no.
7265 (prelinkYES): Create new stub to call prelink_yes.
7266 (test_attach): Rename calls of copy to file_copy.
7267 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
7268 (copy): Move to ...
7269 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
7270 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
7271 * gdb.base/prelink.exp: Disable testcase also for is_remote and
7272 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
7273 special flags by gdb_compile_shlib. Replace second gdb_compile by
7274 build_executable_own_libs. Replace "prelink -R" execution by a call of
7275 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
7276 a second call of prelink_yes. Replace restart commands by
7277 clean_restart.
7278 (prelink): Rename to ...
7279 (seen displacement message): ... this test. Extend its expectation
7280 strictness.
7281
86e4bafc
JK
72822010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7283
7284 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
7285 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
7286 displacement message exactly once.
7287
3cd07d20
JK
72882010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7289 Joel Brobecker <brobecker@adacore.com>
7290
7291 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
7292 its restore after the <$relink_args != ""> loop. new comment.
7293
0a1e94c7
JK
72942010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7295 Joel Brobecker <brobecker@adacore.com>
7296
7297 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
7298 code for it. New variable relink_args.
7299 (prelinkYES): Call prelinkNO.
7300 (test_attach): Accept new parameter relink_args. Re-prelink the binary
7301 in such case. Move the core code to ...
7302 (test_attach_gdb): ... a new function. Send GDB command "file".
7303 Extend expected "Attaching to " string.
7304
2f70bcfb
TT
73052010-07-02 Tom Tromey <tromey@redhat.com>
7306
7307 * gdb.base/bitops.exp: Remove extraneous "pass".
7308
a17ac5b0
TT
73092010-07-02 Ken Werner <ken.werner@de.ibm.com>
7310
7311 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
7312
dc10affe
PA
73132010-07-01 Pedro Alves <pedro@codesourcery.com>
7314
d41c0fc8
PA
7315 * gdb.base/help.exp: Adjust expected output.
7316
73172010-07-01 Pedro Alves <pedro@codesourcery.com>
7318
7319 * gdb.base/help.exp: Adjust expected output.
dc10affe 7320
0a600c36
JK
73212010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7322
7323 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
7324 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
7325 c++/11702.
7326
37cc8bfe
JK
73272010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7328 Doug Evans <dje@google.com>
7329
7330 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
7331 add .dynamic entry'.
7332
254e6b9e
DE
73332010-06-29 Doug Evans <dje@google.com>
7334
7335 Test PR c++/11702.
7336 * gdb.cp/m-static.exp: Add testcase.
7337 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
7338
595939de 73392010-06-28 Phil Muldoon <pmuldoon@redhat.com>
889bf7c5
PA
7340 Tom Tromey <tromey@redhat.com>
7341 Thiago Jung Bauermann <bauerman@br.ibm.com>
595939de
PM
7342
7343 * gdb.python/py-inferior.c: New File.
7344 * gdb.python/py-infthread.c: New File.
7345 * gdb.python/py-inferior.exp: New File.
7346 * gdb.python/py-infthread.exp: New File.
7347
98751a41
JK
73482010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7349
7350 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
7351 (ptype ::C::OtherFileClass typedefs): New.
7352 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
7353 (C::OtherFileClass::cOtherFileClassVar2): New.
7354 (C::OtherFileClass::cOtherFileClassVar_use): Use also
7355 cOtherFileClassVar2.
7356 (C::cOtherFileType2, C::cOtherFileVar2): New.
7357 (C::cOtherFileVar_use): use also cOtherFileVar2.
7358 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
7359
41f62f39
JK
73602010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7361
7362 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
7363 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
7364 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
7365 (print ::C::cOtherFileVar)
7366 (whatis C::OtherFileClass::cOtherFileClassType)
7367 (whatis ::C::OtherFileClass::cOtherFileClassType)
7368 (print C::OtherFileClass::cOtherFileClassVar)
7369 (print ::cOtherFileClassVar)
7370 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
7371 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
7372 trailing content.
7373 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
7374 (C::OtherFileClass::cOtherFileClassVar)
7375 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
7376 (C::cOtherFileVar, C::cOtherFileVar_use): New.
7377
af53d231
JK
73782010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7379
7380 Test PR c++/11703 and PR gdb/1448.
7381 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
7382 gdb/1448.
7383
9655fd1a
JK
73842010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7385
7386 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
7387 (main) <rtti_data>: New.
7388 * gdb.cp/virtbase.exp (print rtti_data): New.
7389
824cc8dd
JK
73902010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7391 Joel Brobecker <brobecker@adacore.com>
7392
7393 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
7394
6036c742
JK
73952010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7396
7397 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
7398
de6a0421
DE
73992010-06-28 Doug Evans <dje@google.com>
7400
7401 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
7402
b2dae948
DE
74032010-06-27 Doug Evans <dje@google.com>
7404
7405 * gdb.cp/m-static.exp: Update expected test output.
7406
0f3bb72e
PH
74072010-06-25 Paul Hilfinger <hilfinger@adacore.com>
7408
889bf7c5
PA
7409 * gdb.gdb/selftest.exp: Adjust expected message for
7410 capturing start-up runtime.
0f3bb72e 7411
bc9f0842
TT
74122010-06-25 Tom Tromey <tromey@redhat.com>
7413
7414 PR python/10808:
7415 * gdb.python/python.exp: Add new tests.
7416
099ef718
SW
74172010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
7418
7419 * gdb.cp/operator.cc: Created an import loop.
7420 * gdb.cp/operator.exp: Added testcase for import loop.
7421
5868a632
JK
74222010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7423
7424 Test PR python/11407.
7425 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
7426 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
7427 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
7428 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
7429 executable_nofb and executable_fb. New variables srcsfile, objsfile,
7430 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
7431 binfile. Call gdb_compile with clean_restart twice.
7432 (func_nofb print, func_nofb backtrace, func_loopfb print)
7433 (func_loopfb backtrace): New.
7434
af76db58
JK
74352010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7436
7437 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
7438 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
7439 by a hand made one.
7440 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
7441 i?86 requirement. Remove variables srcfile and binfile. New variable
7442 sources, executable_nofb and executable_fb. Call prepare_for_testing.
7443
f2c7657e
UW
74442010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7445
7446 * gdb.cell/dwarfaddr.exp: New file.
7447 * gdb.cell/dwarfaddr.S: New file.
7448
628fe4e4
JK
74492010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7450
7451 Test PR 9436.
7452 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
7453
f1421989
HZ
74542010-06-24 Hui Zhu <teawater@gmail.com>
7455
7456 * gdb.base/eval.exp: New file.
7457
d03285ec
UW
74582010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7459
7460 * gdb.cell/fork.exp: New file.
7461 * gdb.cell/fork.c: Likewise.
7462 * gdb.cell/fork-spu.c: Likewise.
7463
41b2c92d
PM
74642010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
7465
7466 * lib/gdb.exp (banned_variables_traced): New global variable.
7467 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
7468 (gdb_init): Use `trace add variable' instead of obsolete
7469 `trace variable'.
7470
d5bc977f
DE
74712010-06-21 Doug Evans <dje@google.com>
7472
7473 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
7474
d2ed6730
UW
74752010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7476
7477 * gdb.arch/spu-ls.exp: New file.
7478 * gdb.arch/spu-ls.c: Likewise.
7479
6aed2dbc
SS
74802010-06-18 Stan Shebs <stan@codesourcery.com>
7481
7482 * gdb.threads/thread-specific.exp: Add tests of $_thread.
7483
e0756905
UW
74842010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7485
7486 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
7487 * gdb.base/watch-cond.exp: Likewise.
7488 * gdb.python/py-breakpoint.exp: Likewise.
7489
d8053d4d
PA
74902010-06-18 Pedro Alves <pedro@codesourcery.com>
7491
7492 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
7493 clean_restart, make sure every test has a distinct message, and
7494 that messages don't include the executable' full path.
7495
81ce510c
DE
74962010-06-17 Doug Evans <dje@google.com>
7497
7498 * gdb.arch/i386-size.exp: Updated expected output for
7499 DISASSEMBLY_OMIT_FNAME.
7500
65d79d4b
SDJ
75012010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7502 Sergio Durigan Junior <sergiodj@redhat.com>
7503
7504 * gdb.base/watch-notconst.c: New file.
7505 * gdb.base/watch-notconst.S: New file.
7506 * gdb.base/watch-notconst2.c: New file.
7507 * gdb.base/watch-notconst2.S: New file.
7508 * gdb.base/watch-notconst.exp: New file.
7509 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
7510 (func4): Add operations on `global_ptr_ptr'.
7511 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
7512 routine to test watchpoints created with a constant expression.
7513 (test_inaccessible_watchpoint): Include tests for watchpoints
7514 created with a constant expression.
7515
df0f4836
KB
75162010-06-14 Kevin Buettner <kevinb@redhat.com>
7517
7518 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
7519 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
7520 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
7521 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
7522 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
7523 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
7524 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
7525 of `_start'.
7526
b769def5
UW
75272010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7528
7529 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
7530 not supported on the target.
7531 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7532 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7533 * gdb.mi/mi-nsintrall.exp: Likewise.
7534 * gdb.mi/mi-nsmoribund.exp: Likewise.
7535 * gdb.mi/mi-nsthrexec.exp: Likewise.
7536
d914c394
SS
75372010-06-11 Stan Shebs <stan@codesourcery.com>
7538
7539 * gdb.base/permissions.exp: New file.
7540
75412010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
7542
7543 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
7544 does not support ELF executable class.
7545
f3ce5b9c
UW
75462010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7547
7548 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
7549
8e46892c
JK
75502010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7551
7552 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
7553 (runto): Catch "The target does not support running in non-stop mode.".
7554
6cc55c64
MS
75552010-06-11 Michael Snyder <msnyder@vmware.com>
7556
7557 * gdb.base/setshow.exp (set language asm): Don't use
7558 gdb_test_no_output, fails on some targets.
7559
caddefa4
UW
75602010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7561
7562 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
7563 * gdb.cp/pr9167.exp: Likewise.
7564
468b1aa7
UW
75652010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7566
7567 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
7568
5c3552dc
UW
75692010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7570
7571 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
7572
02e6fe6a
UW
75732010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7574
7575 * gdb.base/charset.c (main): Make sure malloc gets linked in.
7576
0e03807e
TT
75772010-06-11 Tom Tromey <tromey@redhat.com>
7578
7579 PR gdb/9977, PR exp/11636::
7580 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
7581 (pieces_test_f6): Update expected output.
7582
2bdf28a0
JK
75832010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7584
7585 * gdb.base/moribund-step.exp: New.
7586
f6978de9
MS
75872010-06-08 Michael Snyder <msnyder@vmware.com>
7588
7589 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
889bf7c5 7590 * gdb.ada/boolean_expr.exp:
f6978de9
MS
7591 * gdb.ada/frame_args.exp: Ditto.
7592 * gdb.ada/lang_switch.exp: Ditto.
7593 * gdb.ada/ptype_arith_binop.exp: Ditto.
7594 * gdb.ada/ref_param.exp: Ditto.
7595 * gdb.ada/type_coercion.exp:Ditto.
7596
7597 * gdb.asm/asm-source.exp: Ditto.
7598
7599 * gdb.base/attach.exp: Ditto.
7600 * gdb.base/bitfields2.exp: Ditto.
7601 * gdb.base/call-signal-resume.exp: Ditto.
7602 * gdb.base/callfuncs.exp: Ditto.
7603 * gdb.base/commands.exp: Ditto.
7604 * gdb.base/dbx.exp: Ditto.
7605 * gdb.base/default.exp: Ditto.
7606 * gdb.base/dump.exp: Ditto.
7607 * gdb.base/exprs.exp: Ditto.
7608 * gdb.base/freebpcmd.exp: Ditto.
7609 * gdb.base/interrupt.exp: Ditto.
7610 * gdb.base/list.exp: Ditto.
7611 * gdb.base/long_long.exp: Ditto.
7612 * gdb.base/maint.exp: Ditto.
7613 * gdb.base/ptype.exp: Ditto.
7614 * gdb.base/return.exp: Ditto.
7615 * gdb.base/setshow.exp: Ditto.
7616 * gdb.base/sigbpt.exp: Ditto.
7617 * gdb.base/sigrepeat.exp: Ditto.
7618
7619 * gdb.cp/classes.exp: Ditto.
7620
7621 * gdb.dwarf2/dw2-restore.exp: Ditto.
7622
7623 * gdb.gdb/selftest.exp: Ditto.
7624
7625 * gdb.multi/base.exp: Ditto.
7626 * gdb.multi/bkpt-multi-exec.exp: Ditto.
7627
7628 * gdb.python/py-block.exp: Ditto.
7629 * gdb.python/py-prettyprint.exp: Ditto.
7630 * gdb.python/py-template.exp: Ditto.
7631
7632 * gdb.server/ext-attach.exp: Ditto.
7633 * gdb.server/ext-run.exp: Ditto.
7634 * gdb.server/server-mon.exp: Ditto.
7635
7636 * gdb.threads/fork-thread-pending.exp: Ditto.
7637 * gdb.threads/hand-call-in-threads.exp: Ditto.
7638 * gdb.threads/interrupted-hand-call.exp: Ditto.
7639 * gdb.threads/linux-dp.exp: Ditto.
7640 * gdb.threads/manythreads.exp: Ditto.
7641 * gdb.threads/print-threads.exp: Ditto.
7642 * gdb.threads/pthreads.exp: Ditto.
7643 * gdb.threads/schedlock.exp: Ditto.
7644 * gdb.threads/thread-unwindonsignal.exp: Ditto.
7645 * gdb.threads/threadapply.exp: Ditto.
7646
de7ff789
MS
76472010-06-08 Michael Snyder <msnyder@vmware.com>
7648
889bf7c5 7649 * gdb.ada/exec_changed.exp:
de7ff789
MS
7650 Use ".*" instead of "" as wildcard regexp.
7651
7652 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
7653 * gdb.base/call-ar-st.exp: Ditto.
7654 * gdb.base/checkpoint.exp: Ditto.
7655 * gdb.base/default.exp: Ditto.
7656 * gdb.base/dump.exp: Ditto.
7657 * gdb.base/ending-run.exp: Ditto.
7658 * gdb.base/fileio.exp: Ditto.
7659 * gdb.base/miscexprs.exp: Ditto.
7660 * gdb.base/pointers.exp: Ditto.
7661 * gdb.base/readline.exp: Ditto.
7662 * gdb.base/reread.exp: Ditto.
7663 * gdb.base/restore.exp: Ditto.
7664 * gdb.base/shlib-call.exp: Ditto.
7665 * gdb.base/valgrind-db-attach.exp: Ditto.
7666 * gdb.base/volatile.exp: Ditto.
7667 * gdb.base/watchpoints.exp: Ditto.
7668
7669 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
7670
7671 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
7672 * gdb.python/py-value.exp: Ditto.
7673
7674 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
7675 * gdb.trace/circ.exp: Ditto.
7676 * gdb.trace/collection.exp: Ditto.
7677 * gdb.trace/packetlen.exp: Ditto.
7678 * gdb.trace/passc-dyn.exp: Ditto.
7679 * gdb.trace/report.exp: Ditto.
7680 * gdb.trace/tfile.exp: Ditto.
7681 * gdb.trace/tfind.exp: Ditto.
7682 * gdb.trace/while-dyn.exp: Ditto.
7683
3bebe2f2
JK
76842010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7685
7686 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
7687
5c631832
JK
76882010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7689
7690 Test PR 10640.
7691 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
7692
4c3376c8
SW
76932010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
7694
7695 * gdb.cp/koenig.exp: Test for ADL operators.
7696 * gdb.cp/koenig.cc: Added ADL operators.
7697 * gdb.cp/operator.exp: New test.
7698 * gdb.cp/operator.cc: New test.
7699
dc226d5a
MS
77002010-06-04 Michael Snyder <msnyder@vmware.com>
7701
dfb88a23
MS
7702 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
7703 * gdb.base/pending.exp: Ditto.
f7ae76b3 7704
dc226d5a
MS
7705 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
7706
967cf477
DE
77072010-06-04 Doug Evans <dje@google.com>
7708
7709 * gdb.python/py-prettyprint.exp: Add new test for enabled and
7710 disabled printers.
7711 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
7712 (enable_lookup_function): New function.
7713
eb801841
TT
77142010-06-04 Tom Tromey <tromey@redhat.com>
7715
7716 * gdb.python/py-value.exp (test_value_hash): Don't test equality
7717 of hash and id.
7718
38979823
JK
77192010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
7720
7721 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
7722 newline.
7723 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
7724 (empty verbose non-noisy clear, empty verbose noisy clear)
7725 (empty non-verbose noisy clear): Likewise.
7726
35ec993f
MS
77272010-06-03 Michael Snyder <msnyder@vmware.com>
7728
7729 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
7730 * gdb.base/display.exp: Ditto.
7731 * gdb.base/find.exp: Ditto.
7732 * gdb.base/ifelse.exp: Ditto.
7733 * gdb.base/multi-forks.exp: Ditto.
7734 * gdb.base/recurse.exp: Ditto.
7735 * gdb.base/setshow.exp: Ditto.
7736 * gdb.base/value-double-free.exp: Ditto.
7737 * gdb.base/watch-vfork.exp: Ditto.
7738 * gdb.base/watch_thread_num.exp: Ditto.
7739 * gdb.base/watchpoint-solib.exp: Ditto.
7740 * gdb.base/watchpoint.exp: Ditto.
7741 * gdb.base/watchpoints.exp: Ditto.
7742
7743 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
7744 * gdb.cp/overload.exp: Ditto.
7745 * gdb.cp/virtfunc.exp: Ditto.
7746
7747 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
7748
889bf7c5 7749 * gdb.reverse/watch-precsave.exp:
35ec993f
MS
7750 Replace gdb_test with gdb_test_no_output.
7751
889bf7c5 7752 * gdb.threads/attach-into-signal.exp:
35ec993f
MS
7753 Replace gdb_test with gdb_test_no_output.
7754 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
7755 * gdb.threads/watchthreads.exp: Ditto.
7756 * gdb.threads/watchthreads2.exp: Ditto.
7757
7758 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
7759 * gdb.trace/tfind.exp: Ditto.
7760
c22decce
JB
77612010-06-03 Joel Brobecker <brobecker@adacore.com>
7762
7763 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
7764 successful test if message is the empty string.
7765
fd5700c7
JK
77662010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7767
7768 * gdb.fortran/module.exp (stopped language detection): New test.
7769
f55ee35c
JK
77702010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7771
7772 Support DW_TAG_module as separate namespaces.
7773 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
7774 gdb.fortran/library-module-lib.f90: New.
7775 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
7776 (print i): Remove.
7777 (continue to breakpoint: i-is-1, print var_i value 1)
7778 (continue to breakpoint: i-is-2, print var_i value 2)
7779 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
7780 (print var_d, print var_i value 14, ptype modmany, complete `modm)
7781 (complete `modmany, complete `modmany`, complete `modmany`var)
7782 (show language, setting breakpoint at module): New tests.
7783 * gdb.fortran/module.f90 (module mod): Remove.
7784 (module mod1, module mod2, module modmany, subroutine sub1)
7785 (subroutine sub2, program module): New.
7786
b8e8282f
JK
77872010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7788
7789 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
7790 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
7791 * gdb.cp/anon-union.exp (pass): Rename to ...
7792 (print z 2): ... here.
b8e8282f 7793
019ebafc
MS
77942010-06-02 Michael Snyder <msnyder@vmware.com>
7795
e68d8fd4
MS
7796 * gdb.trace/actions.exp: Use gdb_test_no_output.
7797 * gdb.trace/circ.exp: Ditto.
7798 * gdb.trace/packetlen.exp: Ditto.
7799 * gdb.trace/save-trace.exp: Ditto.
7800 * gdb.trace/tracecmd.exp: Ditto.
7801 * gdb.trace/tsv.exp: Ditto.
7802
12b5d08a
MS
7803 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
7804 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
7805 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
7806 * gdb.threads/manythreads.exp: Ditto.
7807 * gdb.threads/print-threads.exp: Ditto.
7808 * gdb.threads/pthreads.exp: Ditto.
7809 * gdb.threads/schedlock.exp: Ditto.
7810 * gdb.threads/staticthreads.exp: Ditto.
7811 * gdb.threads/thread-specific.exp: Ditto.
7812 * gdb.threads/thread-unwindonsignal.exp: Ditto.
7813 * gdb.threads/threadapply.exp: Ditto.
7814 * gdb.threads/watchthreads.exp: Ditto.
7815 * gdb.threads/watchthreads2.exp: Ditto.
7816
89493308
MS
7817 * gdb.python/py-block.exp: Use gdb_test_no_output.
7818 * gdb.python/py-prettyprint.exp: Ditto.
7819 * gdb.python/py-template.exp: Ditto.
7820 * gdb.python/py-value.exp: Ditto.
7821
7822 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
7823 * gdb.reverse/watch-reverse.exp: Ditto.
7824
7825 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
7826 * gdb.server/ext-run.exp: Ditto.
7827
019ebafc
MS
7828 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
7829 * gdb.dwarf2/dw2-compressed.exp: Ditto.
7830 * gdb.dwarf2/dw2-intercu.exp: Ditto.
7831 * gdb.dwarf2/dw2-intermix.exp: Ditto.
7832 * gdb.dwarf2/dw2-producer.exp: Ditto.
7833 * gdb.dwarf2/mac-fileno.exp: Ditto.
7834
7835 * gdb.gdb/observer.exp: Use gdb_test_no_output.
7836 * gdb.gdb/selftest.exp: Ditto.
7837
7838 * gdb.multi/base.exp: Use gdb_test_no_output.
7839
7840 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
7841
3e0ca3a5
JK
78422010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7843
7844 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
7845
9db70545
MS
78462010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
7847
a8d52276
MS
7848 * gdb.cp/class2.exp: Use gdb_test_no_output.
7849 * gdb.cp/classes.exp: Ditto.
7850 * gdb.cp/extern-c.exp: Ditto.
7851 * gdb.cp/inherit.exp: Ditto.
7852 * gdb.cp/maint.exp: Ditto.
7853 * gdb.cp/mb-inline.exp: Ditto.
7854 * gdb.cp/mb-templates.exp: Ditto.
7855 * gdb.cp/method2.exp: Ditto.
7856 * gdb.cp/misc.exp: Ditto.
7857 * gdb.cp/ovldbreak.exp: Ditto.
7858 * gdb.cp/punctuator.exp: Ditto.
7859 * gdb.cp/templates.exp: Ditto.
7860 * gdb.cp/virtbase.exp: Ditto.
7861
889bf7c5 7862 * gdb.threads/attach-stopped.exp:
9db70545 7863 Replace uses of send_gdb / gdb_expect.
889bf7c5 7864 * gdb.threads/attachstop-mt.exp:
9db70545 7865 Replace uses of send_gdb / gdb_expect.
889bf7c5 7866 * gdb.threads/gcore-thread.exp:
9db70545 7867 Replace uses of send_gdb / gdb_expect.
889bf7c5 7868 * gdb.threads/hand-call-in-threads.exp:
9db70545
MS
7869 Replace uses of send_gdb / gdb_expect.
7870 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 7871 * gdb.threads/print-threads.exp:
9db70545
MS
7872 Replace uses of send_gdb / gdb_expect.
7873 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
7874 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
7875 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
7876
7877 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
7878 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
7879 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
7880 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
7881 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
7882 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
7883 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
7884 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
7885 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
7886 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
7887 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
7888
359cc68c
JK
78892010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7890
7891 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
7892
7d3fe98e
SW
78932010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
7894
7895 * gdb.cp/koenig.exp: Added new test case.
7896 * gdb.cp/koenig.cc: Ditto.
7897
27d3a1a2
MS
78982010-06-01 Michael Snyder <msnyder@vmware.com>
7899
7900 * gdb.base/arithmet.exp: Use gdb_test_no_output.
7901 * gdb.base/arrayidx.exp: Ditto.
7902 * gdb.base/attach.exp: Ditto.
7903 * gdb.base/auxv.exp: Ditto.
7904 * gdb.base/bigcre.exp: Ditto.
7905 * gdb.base/break-always.exp: Ditto.
7906 * gdb.base/break-interp.exp: Ditto.
7907 * gdb.base/break.exp: Ditto.
7908 * gdb.base/breakpoint-shadow.exp: Ditto.
7909 * gdb.base/call-ar-st.exp: Ditto.
7910 * gdb.base/call-sc.exp: Ditto.
7911 * gdb.base/call-signal-resume.exp: Ditto.
7912 * gdb.base/callfuncs.exp: Ditto.
7913 * gdb.base/catch-syscall.exp: Ditto.
7914 * gdb.base/charset.exp: Ditto.
7915 * gdb.base/code-expr.exp: Ditto.
7916 * gdb.base/commands.exp: Ditto.
7917 * gdb.base/cond-expr.exp: Ditto.
7918 * gdb.base/condbreak.exp: Ditto.
7919 * gdb.base/cursal.exp: Ditto.
7920 * gdb.base/cvexpr.exp: Ditto.
7921 * gdb.base/default.exp: Ditto.
7922 * gdb.base/del.exp: Ditto.
7923 * gdb.base/detach.exp: Ditto.
7924 * gdb.base/display.exp: Ditto.
7925 * gdb.base/ena-dis-br.exp: Ditto.
7926 * gdb.base/eval-skip.exp: Ditto.
7927 * gdb.base/foll-fork.exp: Ditto.
7928 * gdb.base/foll-vfork.exp: Ditto.
7929 * gdb.base/frame-args.exp: Ditto.
7930 * gdb.base/funcargs.exp: Ditto.
7931 * gdb.base/gcore-buffer-overflow.exp: Ditto.
7932 * gdb.base/gdbvars.exp: Ditto.
7933 * gdb.base/help.exp: Ditto.
7934 * gdb.base/ifelse.exp: Ditto.
7935 * gdb.base/included.exp: Ditto.
7936 * gdb.base/list.exp: Ditto.
7937 * gdb.base/macscp.exp: Ditto.
7938 * gdb.base/maint.exp: Ditto.
7939 * gdb.base/multi-fork.exp: Ditto.
7940 * gdb.base/overlays.exp: Ditto.
7941 * gdb.base/page.exp: Ditto.
7942 * gdb.base/pending.exp: Ditto.
7943 * gdb.base/pointers.exp: Ditto.
7944 * gdb.base/pr11022.exp: Ditto.
7945 * gdb.base/prelink.exp: Ditto.
7946 * gdb.base/printcmds.exp: Ditto.
7947 * gdb.base/psymtab.exp: Ditto.
7948 * gdb.base/randomize.exp: Ditto.
7949 * gdb.base/relational.exp: Ditto.
7950 * gdb.base/relocate.exp: Ditto.
7951 * gdb.base/remote.exp: Ditto.
7952 * gdb.base/sepdebug.exp: Ditto.
7953 * gdb.base/set-lang-auto.exp: Ditto.
7954 * gdb.base/setshow.exp: Ditto.
7955 * gdb.base/setvar.exp: Ditto.
7956 * gdb.base/signals.exp: Ditto.
7957 * gdb.base/signull.exp: Ditto.
7958 * gdb.base/sigstep.exp: Ditto.
7959 * gdb.base/sizeof.exp: Ditto.
7960 * gdb.base/solib-disc.exp: Ditto.
7961 * gdb.base/store.exp: Ditto.
7962 * gdb.base/structs.exp: Ditto.
7963 * gdb.base/structs2.exp: Ditto.
7964 * gdb.base/subst.exp: Ditto.
7965 * gdb.base/term.exp: Ditto.
7966 * gdb.base/trace-commands.exp: Ditto.
7967 * gdb.base/unwindonsignal.exp: Ditto.
7968 * gdb.base/valgrind-db-attach.exp: Ditto.
7969 * gdb.base/varargs.exp: Ditto.
7970 * gdb.base/watch-cond.exp: Ditto.
7971 * gdb.base/watch_thread_num.exp: Ditto.
7972 * gdb.base/watchpoint-cond-gone.exp: Ditto.
7973 * gdb.base/watchpoint.exp: Ditto.
7974 * gdb.base/whatis-exp.exp: Ditto.
7975
f8d3bf8f
MS
79762010-06-01 Michael Snyder <msnyder@vmware.com>
7977
7978 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
7979 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
7980 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
7981 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
7982 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
7983 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
7984 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
7985 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
7986 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
7987 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
7988 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
7989 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
7990 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
7991 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
7992 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
7993
3f9e0d32
JK
79942010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7995
7996 * gdb.base/commands.exp (begin commands on watch): Remove excessive
7997 trailing newline.
7998 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
7999 * gdb.java/jmisc.exp (p *args\n): Rename to ...
8000 (p *args): ... here and remove excessive trailing newline.
8001
f629457d
JB
80022010-05-31 Joel Brobecker <brobecker@adacore.com>
8003
8004 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
8005
09eef106
JK
80062010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
8007
8008 Accept the new Linux kernel "t (tracing stop)" string.
8009 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
8010 Update comment.
8011 (state_wait) <T (tracing stop)>: New.
8012 (main): Update the state_wait expect string.
8013
94f31136
PA
80142010-05-28 Pedro Alves <pedro@codesourcery.com>
8015
8016 * limits.c, limits.exp: Delete files.
8017 * Makefile.in (clean mostlyclean): Adjust.
8018 * tracecmd.exp: Adjust.
8019
096554ab
JK
80202010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8021
8022 * gdb.base/tui-layout.exp: New.
8023
27d3a1a2 80242010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50 8025
889bf7c5 8026 * gdb.reverse/break-precsave.exp:
bcd2dc50 8027 Replace uses of send_gdb / gdb_expect.
889bf7c5 8028 * gdb.reverse/break-reverse.exp:
bcd2dc50 8029 Replace uses of send_gdb / gdb_expect.
889bf7c5 8030 * gdb.reverse/consecutive-precsave.exp:
bcd2dc50 8031 Replace uses of send_gdb / gdb_expect.
889bf7c5 8032 * gdb.reverse/consecutive-reverse.exp:
bcd2dc50 8033 Replace uses of send_gdb / gdb_expect.
889bf7c5 8034 * gdb.reverse/finish-precsave.exp:
bcd2dc50 8035 Replace uses of send_gdb / gdb_expect.
889bf7c5 8036 * gdb.reverse/finish-reverse.exp:
bcd2dc50 8037 Replace uses of send_gdb / gdb_expect.
889bf7c5 8038 * gdb.reverse/i386-precsave.exp:
bcd2dc50 8039 Replace uses of send_gdb / gdb_expect.
889bf7c5 8040 * gdb.reverse/i386-reverse.exp:
bcd2dc50 8041 Replace uses of send_gdb / gdb_expect.
889bf7c5 8042 * gdb.reverse/i386-sse-reverse.exp:
bcd2dc50 8043 Replace uses of send_gdb / gdb_expect.
889bf7c5 8044 * gdb.reverse/i387-env-reverse.exp:
bcd2dc50 8045 Replace uses of send_gdb / gdb_expect.
889bf7c5 8046 * gdb.reverse/i387-stack-reverse.exp:
bcd2dc50 8047 Replace uses of send_gdb / gdb_expect.
889bf7c5 8048 * gdb.reverse/machinestate-precsave.exp:
bcd2dc50 8049 Replace uses of send_gdb / gdb_expect.
889bf7c5 8050 * gdb.reverse/machinestate.exp:
bcd2dc50 8051 Replace uses of send_gdb / gdb_expect.
889bf7c5 8052 * gdb.reverse/sigall-precsave.exp:
bcd2dc50 8053 Replace uses of send_gdb / gdb_expect.
889bf7c5 8054 * gdb.reverse/sigall-reverse.exp:
bcd2dc50 8055 Replace uses of send_gdb / gdb_expect.
889bf7c5 8056 * gdb.reverse/solib-precsave.exp:
bcd2dc50 8057 Replace uses of send_gdb / gdb_expect.
889bf7c5 8058 * gdb.reverse/solib-reverse.exp:
bcd2dc50 8059 Replace uses of send_gdb / gdb_expect.
889bf7c5 8060 * gdb.reverse/step-precsave.exp:
bcd2dc50 8061 Replace uses of send_gdb / gdb_expect.
889bf7c5 8062 * gdb.reverse/step-reverse.exp:
bcd2dc50 8063 Replace uses of send_gdb / gdb_expect.
889bf7c5 8064 * gdb.reverse/until-precsave.exp:
bcd2dc50 8065 Replace uses of send_gdb / gdb_expect.
889bf7c5 8066 * gdb.reverse/until-reverse.exp:
bcd2dc50 8067 Replace uses of send_gdb / gdb_expect.
889bf7c5 8068 * gdb.reverse/watch-precsave.exp:
bcd2dc50 8069 Replace uses of send_gdb / gdb_expect.
889bf7c5 8070 * gdb.reverse/watch-reverse.exp:
bcd2dc50
MS
8071 Replace uses of send_gdb / gdb_expect.
8072
3def43e0
JK
80732010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8074
8075 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
8076 excessive newline.
8077
27d3a1a2 80782010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
8079
8080 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
8081 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
8082 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
8083 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
8084 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
8085 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
8086 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
8087 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
8088 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
8089 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
8090 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
8091 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
8092 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
8093 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
8094 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
8095 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
8096 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
8097 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
8098 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 8099
27d3a1a2 81002010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 8101
22454424
MS
8102 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
8103 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
8104
8105 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
8106 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
8107 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
8108
889bf7c5 8109 * gdb.reverse/consecutive-reverse.exp:
22454424 8110 Replace uses of send_gdb / gdb_expect.
889bf7c5 8111 * gdb.reverse/consecutive-precsave.exp:
22454424
MS
8112 Replace uses of send_gdb / gdb_expect.
8113
8114 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
8115 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
8116 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 8117 * gdb.mi/mi-ns-stale-regcache.exp:
22454424
MS
8118 Replace uses of send_gdb / gdb_expect.
8119 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
8120 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
8121 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
8122 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
8123 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
8124 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
8125 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
8126 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
8127 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
8128
81292010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 8130
22454424 8131 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 8132
22454424 8133 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 8134
22454424
MS
8135 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
8136 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
8137 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
8138 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
8139 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
8140 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
8141 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
8142 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
8143 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 8144
6e5f2c59
TT
81452010-05-25 Tom Tromey <tromey@redhat.com>
8146
8147 * gdb.base/macscp.exp: Add missing space after setup_kfail.
8148
bbc8b958
TT
81492010-05-25 Tom Tromey <tromey@redhat.com>
8150
8151 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
8152 argument order.
8153 * gdb.base/macscp.exp: Fix setup_kfail argument order.
8154 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
8155 order.
8156 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
8157 order.
8158 * gdb.base/call-sc.exp (setup_kfails): Remove.
8159 (setup_compiler_kfails): Remove.
8160 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
8161 argument order.
8162 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
8163 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
8164 (advancei): Fix setup_kfail argument order.
8165 * gdb.base/radix.exp: Fix setup_kfail argument order.
8166 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
8167 order.
8168 * gdb.base/structs.exp (setup_kfails): Remove.
8169 (setup_compiler_kfails): Fix setup_kfail argument order.
8170 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
8171 order.
8172 * gdb.java/jmain.exp: Fix setup_kfail argument order.
8173 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
8174 setup_kfail argument order.
8175 * gdb.cp/overload.exp: Fix setup_kfail argument order.
8176
83d1babf
TT
81772010-05-25 Tom Tromey <tromey@redhat.com>
8178
8179 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
8180
6acb16a2
MS
81812010-05-25 Michael Snyder <msnyder@vmware.com>
8182
8183 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
8184 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
8185 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
8186 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
8187 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
8188 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
8189 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
8190 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
8191 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
8192 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
8193 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
8194 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
8195 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
8196 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
8197 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
8198 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
8199 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
8200 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
8201 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
8202 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
8203 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
8204 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
8205 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
8206 * gdb.base/default.exp: Replace send_gdb with gdb_test.
8207 * gdb.base/define.exp: Replace send_gdb with gdb_test.
8208 * gdb.base/display.exp: Replace send_gdb with gdb_test.
8209 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
8210 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
8211 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
8212 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
8213 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
8214 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
8215 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
8216 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
8217 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
8218 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
8219 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
8220 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
8221 * gdb.base/help.exp: Replace send_gdb with gdb_test.
8222 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
8223 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
8224 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
8225 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
8226 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
8227 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
8228 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
8229 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 8230 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
8231
82322010-05-25 Doug Evans <dje@google.com>
8233
8234 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
8235 gdb.string_to_argv.
ad3986f0 8236
d3b1e874
TT
82372010-05-21 Tom Tromey <tromey@redhat.com>
8238
8239 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
8240 Call it.
8241 * gdb.dwarf2/pieces.S: Update.
8242 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
8243
cb826367
TT
82442010-05-21 Tom Tromey <tromey@redhat.com>
8245
8246 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
8247 Call it.
8248 * gdb.dwarf2/pieces.c (struct C): New.
8249 (f6): New function.
8250 * gdb.dwarf2/pieces.S: Replace.
8251
74de6778
TT
82522010-05-21 Tom Tromey <tromey@redhat.com>
8253
8254 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
8255 Call it.
8256
afd74c5f
TT
82572010-05-21 Tom Tromey <tromey@redhat.com>
8258
8259 * gdb.dwarf2.pieces.exp: New file.
8260 * gdb.dwarf2.pieces.S: New file.
8261 * gdb.dwarf2.pieces.c: New file.
8262
a7b75dfd 82632010-05-20 Pedro Alves <pedro@codesourcery.com>
889bf7c5 8264 Joel Brobecker <brobecker@adacore.com>
a7b75dfd
JB
8265
8266 * lib/gdb.exp (gdb_test_no_output): New function.
8267 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
8268 when testing commands that should produce no output.
8269
c81c812a
JB
82702010-05-17 Joel Brobecker <brobecker@adacore.com>
8271
8272 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
8273 parameter that we want to watch being a constant.
8274
0cce5bd9
JB
82752010-05-17 Joel Brobecker <brobecker@adacore.com>
8276
8277 * gdb.ada/cond_lang: New testcase.
8278
47050449
JB
82792010-05-17 Joel Brobecker <brobecker@adacore.com>
8280
8281 * lib/gdb.exp (banned_variables): New variable/constant.
8282 (gdb_init): Add write trace on variables listed in banned_variables.
8283 (gdb_finish): Remove write traces on variables listed in
8284 banned_variables.
8285
77c01586
JB
82862010-05-17 Joel Brobecker <brobecker@adacore.com>
8287
8288 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
8289 * gdb.cp/koenig.exp: Likewise.
8290
88d4aea7
PM
82912010-05-14 Phil Muldoon <pmuldoon@redhat.com>
8292
889bf7c5 8293 PR python/11482
88d4aea7
PM
8294
8295 * gdb.python/py-value.exp (test_value_hash): New function.
8296
f5a010c0
PM
82972010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
8298
8299 PR exp/11530.
8300 * gdb.base/gdb11530.c: New file.
8301 * gdb.base/gdb11530.exp: New file.
8302
8ef4892f
JK
83032010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8304
8305 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
8306 * gdb.dwarf2/dw2-modula2-self-type.S: New.
8307
7322dca9
SW
83082010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
8309
8310 * gdb.cp/koenig.exp: New test.
8311 * gdb.cp/koenig.cc: New test program.
8312
02e7ea18
JB
83132010-05-05 Joel Brobecker <brobecker@adacore.com>
8314
8315 Remove the use of prms_id and bug_id throughout the testsuite.
8316
e1c34c5d
PM
83172010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
8318
8319 PR exp/11349.
8320 * testsuite/gdb.cp/ref-types.exp: Add test to examine
8321 use a reference local variable.
8322
8e1d0c49
JK
83232010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8324
8325 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
8326 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
8327 variable different_dir. Move debugfile into a full directory pathname
8328 under DIFFERENT_DIR.
8329 * lib/gdb.exp (separate_debug_filename): Remove.
8330 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
8331 variable debug_dir and mkdir of it. Update function comments.
8332
e66408ed
PA
83332010-04-29 Pedro Alves <pedro@codesourcery.com>
8334
8335 PR gdb/11557
8336
8337 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
8338 files.
8339
d7b32ed3
PM
83402010-04-29 Phil Muldoon <pmuldoon@redhat.com>
8341
889bf7c5 8342 * gdb.python/py-param.exp: New File.
d7b32ed3 8343
6aecb9c2
JB
83442010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
8345
8346 * gdb.base/default.exp: Fix "set language" test.
8347
bdf92a1c
PM
83482010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
8349
8350 PR breakpoints/11531.
8351 * gdb.base/gdb11531.c: New file.
8352 * gdb.base/gdb11531.exp: New file.
8353
3f172e24
TT
83542010-04-26 Tom Tromey <tromey@redhat.com>
8355
8356 * gdb.base/completion.exp: Add tests for completion and deprecated
8357 commands.
8358
64af4c92
JK
83592010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8360
8361 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
8362 (print /x char_array): Escape curly brackets.
8363
492928e4
JK
83642010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
8365
8366 Fix deadlock on looped list of loaded shared objects.
8367 * gdb.base/solib-corrupted.exp: New.
8368
66d09542
DE
83692010-04-23 Doug Evans <dje@google.com>
8370
8371 * gdb.python/py-section-script.c: New file.
8372 * gdb.python/py-section-script.exp: New file.
8373 * gdb.python/py-section-script.py: New file.
8374
8bd10a10
CM
83752010-04-20 Chris Moller <cmoller@redhat.com>
8376
8377 PR 10179
8378
8379 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
8380 * gdb.base/pr10179-a.c:
8381 * gdb.base/pr10179-b.c:
8382 * gdb.base/pr10179.exp: New files.
8383
c0201579
JK
83842010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8385
8386 Fix crashes on dangling display expressions.
8387 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
8388 is SEP.
8389 (lib_flags): Remove the "debug" keyword.
8390 (libsepdebug): New variable for iterating new loop.
8391 (save_pf_prefix): New variable wrapping the loop.
8392 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
8393 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
8394
793b0ff8
PM
83952010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
8396
8397 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
8398
097f51f7
PM
83992010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
8400
8401 PR stabs/11479.
8402 * gdb.stabs/gdb11479.exp: New file.
8403 * gdb.stabs/gdb11479.c: New file.
8404
9a22f0d0
PM
84052010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
8406
8407 * gdb.base/charset.c (Strin16, String32): New variables.
8408 * gdb.base/charset.exp (gdb_test): Test correct display
8409 of 16 or 32 bit strings.
8410
84112010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
8412
8413 PR 9167
8414 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
8415 * gdb.cp/pr9167.cc: New file.
8416 * gdb.cp/pr9167.exp: New file.
8417
8418
6e354e5e
PM
84192010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
8420
8421 PR pascal/11492.
8422 * gdb.pascal/gdb11492.pas: New file.
8423 * gdb.pascal/gdb11492.exp: New file.
8424
be942545
JB
84252010-04-20 Joel Brobecker <brobecker@adacore.com>
8426
1667e6e3 8427 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 8428
0c3acc09
JB
84292010-04-20 Joel Brobecker <brobecker@adacore.com>
8430
8431 * gdb.ada/dyn_loc: New testcase.
8432
ec31cde5
CM
84332010-04-20 Chris Moller <cmoller@redhat.com>
8434
8435 PR 10867
889bf7c5 8436
ec31cde5
CM
8437 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
8438 * gdb.cp/pr10687.cc: New file.
8439 * gdb.cp/pr10687.exp: New file.
8440
8441
ce4b0682
SDJ
84422010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8443 Sergio Durigan Junior <sergiodj@redhat.com>
8444
8445 * gdb.fortran/logical.exp: New testcase.
8446 * gdb.fortran/logical.f90: New file.
8447
3436961f
DE
84482010-04-19 Doug Evans <dje@google.com>
8449
8450 * gdb.base/help.exp (help source): Update expected output.
8451
4d836c09
JK
84522010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8453
8454 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
8455 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
8456 gdb_exit and return.
8457 (executable): New variable.
8458 (binfile): Use it.
8459
6149aea9
PA
84602010-04-19 Pedro Alves <pedro@codesourcery.com>
8461
8462 PR breakpoints/8554.
8463
8464 * gdb.trace/save-trace.exp: Adjust.
8465
ed41462c
L
84662010-04-17 H.J. Lu <hongjiu.lu@intel.com>
8467
8468 PR corefiles/11511
8469 * gdb.arch/system-gcore.exp: New.
8470 * gdb.arch/gcore.c: Likewise.
8471
3f7b2faa
DE
84722010-04-15 Doug Evans <dje@google.com>
8473
fa33c3cd
DE
8474 * gdb.python/py-progspace.c: New file.
8475 * gdb.python/py-progspace.exp: New file.
8476
3f7b2faa
DE
8477 * gdb.base/source.exp: Add tests for "source -s".
8478
79f283fe
PM
84792010-04-14 Phil Muldoon <pmuldoon@redhat.com>
8480
8481 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
8482 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
8483 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
8484 * gdb.python/py-mi.exp: New test for to_string returning None.
8485
fc8eb08a
PM
84862010-04-12 Phil Muldoon <pmuldoon@redhat.com>
8487
8488 * gdb.python/py-breakpoint.c: Make result global.
8489
26e197f6
JK
84902010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8491
8492 Fix non-GNU make compatibility.
8493 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
8494
adc36818
PM
84952010-04-09 Phil Muldoon <pmuldoon@redhat.com>
8496
8497 * gdb.python/py-breakpoint.exp: New File.
8498 * gdb.python/py-breakpoint.C: Ditto.
8499
64e17368
SS
85002010-04-08 Stan Shebs <stan@codesourcery.com>
8501
8502 * gdb.trace/actions.exp: Clear default-collect.
8503 * gdb.trace/save-trace.exp: Clear default-collect.
8504
fff5cc64
PM
85052010-04-08 Phil Muldoon <pmuldoon@redhat.com>
8506
8507 * gdb.python/py-value: Add null string variable.
8508 (test_lazy_string): Test zero length, NULL address lazy
8509 strings.
8510
a055a187
L
85112010-04-07 H.J. Lu <hongjiu.lu@intel.com>
8512
8513 * gdb.arch/i386-avx.c: New.
8514 * gdb.arch/i386-avx.exp: Likewise.
8515
8516 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
8517
96e39866
DE
85182010-04-06 Doug Evans <dje@google.com>
8519
8520 * gdb.base/source-test.gdb: New file.
8521 * gdb.base/source.exp: Test source -v.
8522
5984a431
UW
85232010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8524
8525 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
8526
ec8a089a
PM
85272010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
8528
8529 * gdb.stabs/aout.sed: Convert all backslash to double backslash
8530 within one line, unless it is followed by a double quote.
8531 * gdb.stabs/hppa.sed: Idem.
8532 * gdb.stabs/weird.def: Add char and String constants
889bf7c5
PA
8533 * gdb.stabs/weird.exp: Check for correct parsing of
8534 char and string constants.
ec8a089a
PM
8535 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
8536 in .stabs to .stabx substitution.
8537
fce3c1f0
SS
85382010-04-05 Stan Shebs <stan@codesourcery.com>
8539
8540 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
8541 constant global.
8542 * gdb.trace/tfile.exp: Try to print them.
8543
d77f58be
SS
85442010-04-04 Stan Shebs <stan@codesourcery.com>
8545
8546 * gdb.base/completion.exp: Update for new "info watchpoints".
8547 * gdb.base/default.exp: Ditto.
8548 * gdb.base/help.exp: Ditto.
8549 * gdb.base/watchpoint.exp: Ditto.
8550 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
889bf7c5 8551
af54718e
SS
85522010-04-04 Stan Shebs <stan@codesourcery.com>
8553
8554 * gdb.trace/tfile.exp: Sharpen tfind test.
8555
74d1f91e
JK
85562010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8557
8558 * gdb.base/break-entry.exp: New.
8559
eb8e76db 85602010-04-02 Hui Zhu <teawater@gmail.com>
889bf7c5 8561 Michael Snyder <msnyder@vmware.com>
eb8e76db
HZ
8562
8563 * gdb.reverse/i386-sse-reverse.exp: New file.
8564 * gdb.reverse/i386-sse-reverse.c: New file.
8565
bf65cad8
PA
85662010-04-02 Pedro Alves <pedro@codesourcery.com>
8567
8568 * gdb.trace/tfind.exp: Adjust expected disassembly output.
8569
fff87407
SS
85702010-04-01 Stan Shebs <stan@codesourcery.com>
8571
8572 * gdb.trace/actions.exp: Tweak expected output.
8573 * gdb.trace/while-stepping.exp: Tweak expected output.
8574
fe01d668
L
85752010-04-01 H.J. Lu <hongjiu.lu@intel.com>
8576
8577 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
8578
86b17b60
PA
85792010-04-01 Pedro Alves <pedro@codesourcery.com>
8580
8581 * gdb.base/commands.exp: Adjust.
8582 * gdb.cp/extern-c.exp: Adjust.
8583
2c58c0a9
PA
85842010-04-01 Pedro Alves <pedro@codesourcery.com>
8585
8586 * gdb.trace/collection.c (local_test_func): Define a local struct,
8587 and instanciate it.
8588
0db9b91c
PA
85892010-04-01 Pedro Alves <pedro@codesourcery.com>
8590
8591 * gdb.trace/collection.exp (gdb_collect_args_test)
8592 (gdb_collect_argarray_test): XFAIL the tests that assume the
8593 argarray argument's elements are collected.
8594
8072405b
JK
85952010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
8596
8597 * gdb.dwarf2/dw2-bad-parameter-type.exp,
8598 gdb.dwarf2/dw2-bad-parameter-type.S: New.
8599
8bf6485c
SS
86002010-03-31 Stan Shebs <stan@codesourcery.com>
8601
8602 * gdb.trace/save-trace.exp: Test save/restore of default-collect
8603 and tracepoint conditionals.
8604 (gdb_verify_tracepoints): Delete unused return.
8605
fd7f724a
KS
86062010-03-26 Keith Seitz <keiths@redhat.com>
8607
8608 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
8609 appear in the output before main.
8610 Remove KFAIL for gdb/2215 aka bz 9320.
8611
8d9e7719
DE
86122010-03-30 Doug Evans <dje@google.com>
8613
0906dd0b
DE
8614 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
8615 by dejagnu.
8616 * gdb.arch/amd64-dword.exp: Ditto.
8617
8d9e7719
DE
8618 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
8619 match.
8620 (break printf): Ditto.
8621
1da644f0
SW
86222010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
8623
8624 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
8625 gcc < 4.4.
8626 * gdb.cp/shadow.exp: Ditto.
8627
a8121990
PA
86282010-03-29 Pedro Alves <pedro@codesourcery.com>
8629
8630 * gdb.trace/collection.exp (run_trace_experiment): Make sure
8631 "tstart" is silent.
8632
6e79d367
PA
86332010-03-29 Pedro Alves <pedro@codesourcery.com>
8634
8635 * gdb.trace/collection.exp (executable): New.
8636 (binfile): Use it.
8637 (fpreg, spreg, pcreg): New.
8638 (test_register): Use gdb_test_multiple. Pass /x to print.
8639 (prepare_for_trace_test): New.
8640 (run_trace_experiment): Use "continue", not gdb_run_cmd.
8641 (gdb_collect_args_test, gdb_collect_argstruct_test)
8642 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
8643 prepare_for_trace_test.
8644 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
8645 fpreg, spreg and pcreg.
8646 (gdb_collect_expression_test, gdb_collect_globals_test): Use
8647 prepare_for_trace_test.
8648 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
8649 try to detect tracing support here. Don't set breakpoints at
8650 `begin' or `end' here.
8651 <global scope>: Use clean_restart. Run to main before checking
8652 for tracing support. Check for for tracing support here.
8653
09248348
JK
86542010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8655
8656 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
8657 " as $displacement" to "seen displacement message".
8658
d350db38
PA
86592010-03-28 Pedro Alves <pedro@codesourcery.com>
8660
8661 * gdb.trace/while-dyn.exp (executable): New variable.
8662 (binfile): Use it.
8663 (test_while_stepping): New function. Move most tests here. Call
8664 it once for each of the while-stepping, stepping and ws aliases.
8665
907af001
UW
86662010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8667
8668 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
8669 that do not provide the tagless_struct type name at all.
8670 (test_print_anon_union): Do not check value of uninitialized
8671 union member. Do not use cp_test_ptype_class, so we can accept
8672 "long" as well as "long int".
8673
610197fd
PA
86742010-03-26 Pedro Alves <pedro@codesourcery.com>
8675
8676 * gdb.trace/tfile.c (tohex, bin2hex): New.
8677 (write_error_trace_file): Hexify error description.
8678
6c28cbf2
SS
86792010-03-25 Stan Shebs <stan@codesourcery.com>
8680
8681 * gdb.trace/tfile.c: Generate an additional trace file, improve
8682 portability.
8683 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
8684 files in a better way.
8685
e62b8c7e
KS
86862010-03-25 Keith Seitz <keiths@redhat.com>
8687
8688 * gdb.java/jprint.exp: XFAIL printing of static class members
8689 because of GCC debuginfo problem.
8690
82ccf5a5
JK
86912010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8692
8693 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
8694
293e2f9e
DJ
86952010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
8696
8697 * gdb.base/completion.exp: Allow long instead of long int.
8698 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
8699 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
8700 variable p.
8701 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
8702 * gdb.base/pointers.exp: Allow long instead of long int.
8703 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
8704 * gdb.base/step-line.exp: Allow a directory before the source file name.
8705
95a42b64
TT
87062010-03-24 Tom Tromey <tromey@redhat.com>
8707
8708 PR breakpoints/9352:
8709 * gdb.base/default.exp: Update.
8710 * gdb.base/commands.exp: Update.
8711 * gdb.cp/extern-c.exp: Test setting commands on multiple
8712 breakpoints at once.
8713
2390201f
DJ
87142010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
8715
8716 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
8717 if gdb,nosignals.
8718 * gdb.base/watchpoints.c: Do not include unnecessary headers.
8719 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
8720 exited".
8721
8c9a6790
SS
87222010-03-24 Stan Shebs <stan@codesourcery.com>
8723
8724 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
8725
a6c727b2
DJ
87262010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
8727
8728 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
8729 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
8730 argument. Handle "short" and "long".
8731 (Top level): Pass overprototyped output for old_fptr and xptr.
8732
4dfd5423
PA
87332010-03-23 Pedro Alves <pedro@codesourcery.com>
8734
8735 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
8736 format strings and add casts to avoid compiler warnings.
8737
87382010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
8739
8740 * lib/trace-support.exp (gdb_trace_setactions):
8741 Don't expect whitespace after ">" prompt.
8742 * gdb.trace/actions.exp: Adjust for output changes.
8743 * gdb.trace/while-stepping.exp: Likewise.
8744
c847d045
JK
87452010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8746
8747 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
8748 and r157645).
8749
5f717f1d
JK
87502010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8751
8752 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
8753 New.
8754
7d6d51d5
DJ
87552010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
8756
8757 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
8758 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
8759
3b11a015
SS
87602010-03-19 Stan Shebs <stan@codesourcery.com>
8761
8762 * gdb.trace/ax.exp: New file.
8763
d7d158ed
DE
87642010-03-19 Doug Evans <dje@google.com>
8765
6bb85cd1
DE
8766 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
8767 output from gcc.
8768
d7d158ed
DE
8769 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
8770 named /usr/sbin/prelink<foo>.
8771
4daf5ac0
SS
87722010-03-18 Stan Shebs <stan@codesourcery.com>
8773
8774 * gdb.trace/circ.exp: Test circular-trace-buffer.
8775 * gdb.trace/tfile.exp: Update tstatus test.
8776
e8d05480
JB
87772010-03-18 Joel Brobecker <brobecker@adacore.com>
8778
8779 * gdb.dwarf2/dw2-anonymous-func.S: New file.
8780 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
8781
441b986a
UW
87822010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8783
8784 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
8785
4247603b
PA
87862010-03-18 Pedro Alves <pedro@codesourcery.com>
8787
8788 * gdb.base/default.exp: Adjust the expected output of the finish
8789 and until commands when the inferior is not being run.
8790
13387711
SW
87912010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
8792
8793 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
8794 * gdb.cp/nsusing.exp: Ditto.
8795
6e31430b
TT
87962010-03-15 Tom Tromey <tromey@redhat.com>
8797
8798 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
8799 * gdb.cp/userdef.cc (operator==): New function.
8800 (main): New locals mem1, mem2.
8801
e2d69cb5
JZ
88022010-03-15 Jie Zhang <jie@codesourcery.com>
8803
8804 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
8805 Declare and use new loadtimeout variable.
8806
f572f0a9
DJ
88072010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
8808
8809 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
8810 Use gdb_load later.
8811
51f4c0b0
PA
88122010-03-14 Pedro Alves <pedro@codesourcery.com>
8813
8814 * gdb.base/solib-disc.c (main): Make format of fprintf a string
8815 literal. Add missing endlines to prints to stderr.
8816
1c809c68
TT
88172010-03-12 Tom Tromey <tromey@redhat.com>
8818
8819 PR c++/9708:
8820 * gdb.cp/m-static.exp: Add regression test.
8821 * gdb.cp/m-static.cc (method): New method.
8822 (main): Call it.
8823
00ae8fef
SW
88242010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
8825
8826 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
8827 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
8828
759f0f0b
PA
88292010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
8830
21e24d21
PA
8831 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
8832
88332010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
8834
759f0f0b
PA
8835 * lib/gdb.exp (skip_stl_tests): New.
8836 (gdb_compile): Symbian needs -ldl.
8837 (shlib_target_file): New.
8838 (shlib_symbol_file): New.
8839 (gdb_load_shlibs): Use shlib_target_file.
8840 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
8841 * gdb.cp/exception.exp: Use skip_stl_tests.
8842 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
8843 * gdb.cp/try_catch.exp: Use skip_stl_tests.
8844 * gdb.cp/mb-templates.exp: Ditto.
8845 * gdb.base/commands.exp: Relax regexes.
8846 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
8847 shlib_target_file and shlib_symbol_file.
8848 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
8849 sections.
8850 * gdb.base/ending-run.exp: Accept E32Main for symbian.
8851 * gdb.base/solib-disc.exp: Use
8852 shlib_target_file and shlib_symbol_file.
8853 * gdb.base/unload.exp: Don't skip on symbian. Use
8854 shlib_target_file and shlib_symbol_file.
8855 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
8856
6a8f2671 88572010-03-12 Pedro Alves <pedro@codesourcery.com>
889bf7c5 8858
6a8f2671
PA
8859 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
8860 * gdb.trace/report.exp: Adjust for x86 and x86_64.
8861 Issue a tfind end before looking for a tracepoint frame.
8862 * gdb.trace/tfind.exp: Adjust tstatus output.
8863 Adjust disassembly output.
8864 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
8865
ccf26247
JK
88662010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8867
8868 * gdb.base/break-interp.exp: Create new displacement parameter value
8869 for the test_ld calls.
8870 (reach): New parameter displacement, verify its content. New push of
8871 pf_prefix "reach-$func:". Import global expect_out.
8872 (test_core): New parameter displacement, verify its content. New push
8873 of pf_prefix "core:". New command "set verbose on". Import global
8874 expect_out.
8875 (test_attach): New parameter displacement, verify its content. New
8876 push of pf_prefix "attach:". New command "set verbose on". Import
8877 global expect_out.
8878 (test_ld): New parameter displacement, pass it to the reach, test_core
8879 and test_attach calls and verify its content in the "ld.so exit" test.
8880 * gdb.base/prelink.exp: Remove gdb_exit and final return.
8881 (prelink): Update expected text, use gdb_test.
8882
e469c7fb
DE
88832010-03-10 Doug Evans <dje@google.com>
8884
8885 * gdb.base/checkpoint.exp: Fix comment.
8886 Lengthen timeout while doing >600 checkpoints test.
8887 Rename duplicate "kill all one" test to keep test names unique.
8888
60e1c644
PA
88892010-03-10 Pedro Alves <pedro@codesourcery.com>
8890
8891 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
8892
cec808ec
KS
88932010-03-08 Keith Seitz <keiths@redhat.com>
8894
889bf7c5
PA
8895 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
8896 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
8897 (dm_type_long): New function.
8898 (dm_type_unsigned_short): New function.
8899 (dm_type_unsigned_long): New function.
8900 (myint): New typedef.
8901 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
8902 long, unsigned shor and long, operator char*, and typedef.
8903 (test_lookup_operator_functions): Add operator char* test.
8904 (test_paddr_operator_functions): Likewise.
8905 (test_paddr_overloaded_functions): Use probe values for
8906 short, long, and unsigned short and long.
8907 (test_paddr_hairy_functions): If the demangler probe detected
8908 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
8909 demangler.
8910 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
8911 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
8912 and "print null_pmf".
8913 Add test "ptype a.*pmf".
8914 * gdb.cp/overload.exp: Allow optional "int" to appear with
8915 "short" and "long".
8916 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
8917 long expect value for men_overload1arg.
8918 Allow "int" to appear with "short" and "long".
8919 When testing "info break", add argument for main (void).
8920 Also allow "int" to appear with "short" and "long".
8921 Ditto with "unsigned" and "long long".
cec808ec
KS
8922 * gdb.java/jmain.exp: Do not enclose methods names in single
8923 quotes.
8924 * gdb.java/jmisc.exp: Likewise.
8925 * gdb.java/jprint.exp: Likewise.
8926 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
8927
8928 From Jan Kratochvil <jan.kratochvil@redhat.com>:
8929 * gdb.cp/exception.exp (backtrace after first throw)
8930 (backtrace after second throw): Allow a namespace before __cxa_throw.
8931 (backtrace after first catch, backtrace after second catch): Allow
8932 a namespace before __cxa_begin_catch.
8933
8934 * gdb.cp/cpexprs.exp: New file.
8935 * gdb.cp/cpexprs.cc: New file.
8936
8937 From Daniel Jacobowitz <dan@codesourcery.com>
8938 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
8939 to use string_to_regexp.
8940 (ctor, dtor): New functions. Use them to match constructor
8941 and destructor function types.
8942 (Top level): Use runto_main.
8943
f870a310
TT
89442010-03-05 Tom Tromey <tromey@redhat.com>
8945
8946 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
8947 gdb.target_charset.
8948 (pp_ns.to_string): Likewise.
8949
0c199f28
KS
89502010-03-04 Keith Seitz <keiths@redhat.com>
8951
8952 * gdb.cp/overload.exp: Test that the filename portion of a linespec
8953 can be quoted. Test that both the filename and function/line
8954 portions can be quoted at the same time.
8955
c7437ca6
PA
89562010-03-04 Pedro Alves <pedro@codesourcery.com>
8957
8958 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
8959
b111b805
DE
89602010-03-03 Doug Evans <dje@google.com>
8961
24486cb7
DE
8962 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
8963 libc contains libpthread.
8964
b111b805
DE
8965 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
8966 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
8967 of gdb_compile. Add another pattern to match android backtrace.
8968
a0e0ef55
TT
89692010-03-03 Tom Tromey <tromey@redhat.com>
8970
8971 PR gdb/11345:
8972 * gdb.base/printcmds.exp (test_printf): Add test.
8973
1ba53b71
L
89742010-03-02 H.J. Lu <hongjiu.lu@intel.com>
8975
8976 * gdb.arch/amd64-byte.exp: New.
8977 * gdb.arch/amd64-dword.exp: Likewise.
8978 * gdb.arch/amd64-pseudo.c: Likewise.
8979 * gdb.arch/amd64-word.exp: Likewise.
8980 * gdb.arch/i386-byte.exp: Likewise.
8981 * gdb.arch/i386-pseudo.c: Likewise.
8982 * gdb.arch/i386-word.exp: Likewise.
8983
f5dff777
DJ
89842010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
8985
8986 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
8987 types. Add structreg, bitfields, and flags registers.
8988 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
8989 registers.
8990
90884b2b
L
89912010-03-01 H.J. Lu <hongjiu.lu@intel.com>
8992
8993 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
8994 (load_description): Set architecture if defined.
8995
dc00d89f
PM
89962010-02-28 Phil Muldoon <pmuldoon@redhat.com>
8997
8998 * gdb.python/py-frame.exp: Add read_var block tests.
8999 * gdb.python/py-frame.c (block): New function.
9000
0e095b7e
JK
90012010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9002 Daniel Jacobowitz <dan@codesourcery.com>
9003
9004 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
9005
624f1a65
DM
90062010-02-25 David S. Miller <davem@davemloft.net>
9007
9008 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
9009 fix logic for setting all_syscalls_numbers.
9010
f3e9a817
PM
90112010-02-24 Phil Muldoon <pmuldoon@redhat.com>
9012
9013 * Makefile.in: Add py-block and py-symbol.
9014 * gdb.python/py-symbol.exp: New File.
9015 * gdb.python/py-symtab.exp: New File.
9016 * gdb.python/py-block.exp: New File.
9017 * gdb.python/py-symbol.c: New File.
9018 * gdb.python/py-block.c: New File.
9019
f6bbabf0
PM
90202010-02-24 Phil Muldoon <pmuldoon@redhat.com>
9021
9022 PR python/11314
9023 * lib/gdb.exp (skip_python_tests): New function.
9024 * gdb.python/py-cmd.exp: Use skip_python_tests.
9025 * gdb.python/py-frame.exp: Likewise.
9026 * gdb.python/py-function.exp: Likewise.
9027 * gdb.python/py-prettyprint.exp: Likewise.
9028 * gdb.python/py-template.exp: Likewise.
9029 * gdb.python/py-type.exp: Likewise.
9030 * gdb.python/py-value.exp: Likewise.
9031
85d721b8
PA
90322010-02-22 Pedro Alves <pedro@codesourcery.com>
9033
9034 PR9605
9035
9036 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
9037
48e32051
TT
90382010-02-19 Tom Tromey <tromey@redhat.com>
9039
9040 PR c++/8693, PR c++/9496:
9041 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
9042 regression tests.
9043
ac9c0048
JK
90442010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9045
9046 Fix compatibility with m68k as.
9047 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
9048 Use only /* comments */.
9049
57bb97a4
UW
90502010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9051
9052 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
9053 * configure: Regenerate.
9054
7d1bf85c
DJ
90552010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
9056
9057 * gdb.python/py-type.exp: Check for Python support.
9058
061b5285
PA
90592010-02-17 Pedro Alves <pedro@codesourcery.com>
9060
9061 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
9062 `regsub' syntax available.
9063
f8a8bc2c
PA
90642010-02-17 Pedro Alves <pedro@codesourcery.com>
9065
9066 * gdb.base/shmain.c (main): Remove printf call.
9067 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
9068 * gdb.base/unload.c (main): Make format of fprintf a string
9069 literal. Add missing endlines to prints to stderr.
9070 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
9071
6f451e5e
TT
90722010-02-17 Tom Tromey <tromey@redhat.com>
9073
9074 * gdb.java/jprint.java (jprint.props): New field.
9075 * gdb.java/jprint.exp (set_lang_java): Add regression test.
9076
12d79008
PA
90772010-02-17 Pedro Alves <pedro@codesourcery.com>
9078
ef801a0e 9079 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
9080 available.
9081
d252f7e5
DJ
90822010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9083
9084 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
9085 creation to support remote host testing.
9086
67bdab6c
DJ
90872010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9088
9089 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
9090 Recognize "command not found".
9091
bb391223
DJ
90922010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9093
9094 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
9095 single-stepping.
9096
70362913
DJ
90972010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9098
9099 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
9100 if arguments are not supported.
9101
493f3c00
DJ
91022010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9103
9104 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
9105 be const or non-const.
9106
8034c749
DJ
91072010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9108
9109 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
9110 mi_send_resuming_command to send -exec-continue.
9111
791dfb64
DJ
91122010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9113
9114 * gdb.base/list.exp (test_list_filename_and_function): Add test
9115 with single quotes.
9116 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
9117 matching.
9118 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
9119 Add KFAIL'd tests for PR gdb/11289.
9120
7c5fe868
DJ
91212010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9122
9123 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
9124
fdc498b8
DJ
91252010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9126
9127 * gdb.base/comp-dir/subdir/dummy.txt: New file.
9128 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
9129 a temporary directory.
9130
b519e2a6
DJ
91312010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9132
9133 * gdb.base/charset.exp: Use a single regular expression to match
9134 show host-charset and show target-charset output.
9135
74164c56
JK
91362010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9137
9138 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
9139 "Illegal process-id" expect string more exact.
9140 (attach to digits-starting nonsense is prohibited): New.
9141
701ed6dc
JK
91422010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9143
9144 * gdb.base/prelink.exp (set verbose on): New.
9145
889bf7c5 91462010-02-12 Tomas Holmberg <th@virtutech.com>
fa19b4e5
MS
9147
9148 * mi-reverse.exp: New file. Test for reverse option to the
9149 following MI commands: exec-continue, exec-finish, exec-next,
9150 exec-step, exec-next-instruction, exec-step-instruction.
889bf7c5 9151
dadf0e9c
JB
91522010-02-09 Joel Brobecker <brobecker@adacore.com>
9153
9154 * gdb.ada/ptype_tagged_param: New testcase.
9155
714f19d5
TT
91562010-02-08 Tom Tromey <tromey@redhat.com>
9157
9158 PR c++/8017:
9159 * gdb.cp/overload.exp: Add tests.
9160 * gdb.cp/overload.cc (struct K): New.
9161 (namespace N): New.
9162 (main): Call new functions.
9163 (K::staticoverload): Define.
9164
889bf7c5 91652010-02-08 Chris Moller <moller@mollerware.com>
83b10087
CM
9166
9167 PR gdb/10728
9168 * gdb.cp/pr10728-x.h: New file.
9169 * gdb.cp/pr10728-x.cc: New file.
9170 * gdb.cp/pr10728-y.cc: New file.
9171 * gdb.cp/pr10728.exp: New file.
9172 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
9173
889bf7c5 91742010-02-08 Chris Moller <moller@mollerware.com>
99903ae3
CM
9175
9176 PR gdb/9067
9177 * gdb.cp/pr9067.exp: New
9178 * gdb.cp/pr9067.cc: New
9179 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
9180
7b356089
JB
91812010-02-08 Joel Brobecker <brobecker@adacore.com>
9182
9183 * lib/gdb.exp (gdb_test_timeout): New global variable.
9184 Set it to timeout if not already set.
9185 (gdb_init): Reset the value of timeout to gdb_test_timeout.
9186
1be00882
DE
91872010-02-05 Doug Evans <dje@google.com>
9188
9189 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
9190 user.
9191
82856980
SW
91922010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
9193
9194 PR c++/7935:
9195 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
9196
1a334831
TT
91972010-02-04 Tom Tromey <tromey@redhat.com>
9198
9199 * gdb.cp/virtbase.exp: Make test case names unique.
9200
9c3c02fd
TT
92012010-02-02 Tom Tromey <tromey@redhat.com>
9202
9203 * gdb.cp/virtbase.exp: Add regression tests.
9204 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
9205 (main): Instantiate RHC.
9206
0cc2414c
TT
92072010-02-02 Tom Tromey <tromey@redhat.com>
9208
9209 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
9210 type-printing change.
9211
edf3d5f3
TT
92122010-02-02 Tom Tromey <tromey@redhat.com>
9213
9214 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
9215 * gdb.cp/virtbase.cc: New file.
9216 * gdb.cp/virtbase.exp: New file.
9217 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
9218
e4b7f41c
JK
92192010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9220
9221 PR libc/11214:
9222 * gdb.threads/current-lwp-dead.c: Include features.h.
9223 (HAS_NOMMU): New.
9224 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
9225
b381ea14
JK
92262010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9227
9228 * gdb.base/symbol-without-target_section.exp,
9229 gdb.base/symbol-without-target_section.c: New.
9230
c593ac0e
DJ
92312010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
9232
9233 * gdb.base/bigcore.exp: Reset increased timeout.
9234 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
9235
db25f29d
DJ
92362010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
9237
9238 * gdb.base/gcore.exp (capture_command_output): Use
9239 gdb_test_multiple.
9240
f9d67f43
DJ
92412010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
9242
9243 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
9244 * gdb.arch/thumb2-it.exp (test_it_break): New function.
9245 (Top level): Call it.
9246
177321bd
DJ
92472010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
9248
9249 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
9250
97f2ed50
DJ
92512010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
9252
9253 * gdb.base/call-strs.exp, gdb.base/default.exp,
9254 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
9255 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
9256 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
9257 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
9258 gdb.base/watchpoint-solib.exp: Save and restore timeout.
9259 * gdb.base/ending-run.exp: Correct restore of timeout.
9260 * gdb.base/page.exp: Remove unnecessary timeout setting.
9261
e4e2711a
JB
92622010-01-29 Joel Brobecker <brobecker@adacore.com>
9263
9264 * gdb.ada/rec_return: New testcase.
9265
ba581dc1
JB
92662010-01-29 Joel Brobecker <brobecker@adacore.com>
9267
9268 * gdb.ada/call_pn: New testcase.
9269
4ea95be9
DJ
92702010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
9271
9272 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
9273 (Top level): Use it to resume.
9274 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
9275 the Thumb mode displaced stepping error as unsupported.
9276
df83a9bf
SW
92772010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
9278
889bf7c5
PA
9279 * gdb.cp/nsusing.exp: Added more tests.
9280 * gdb.cp/nsrecurs.exp: Ditto.
9281 * gdb.cp/nsusing.cc: Added test functions.
9282 * gdb.cp/nsrecurs.cc: Ditto.
df83a9bf 9283
40b27cdc
JK
92842010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9285
9286 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
9287 absolute directory pathnames in gdb.sum file.
9288
de958931
SW
92892010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
9290
9291 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
9292 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
9293
708ead4e
TT
92942010-01-26 Tom Tromey <tromey@redhat.com>
9295
9296 PR exp/7643:
9297 * gdb.base/printcmds.exp (test_print_string_constants): Remove
9298 setup_kfail.
9299
b14e635e
SW
93002010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
9301
9302 * gdb.cp/nsrecurs.exp: New test.
9303 * gdb.cp/nsrecurs.cc: New test program.
9304 * gdb.cp/nsstress.exp: New test.
9305 * gdb.cp/nsstress.cc: New test program.
9306 * gdb.cp/nsdecl.exp: New test.
9307 * gdb.cp/nsdecl.cc: New test program.
9308
8540c487
SW
93092010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
9310
9311 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
9312 imported into file scope.
9313 Marked test as xfail.
9314 * gdb.cp/namespace-using.cc (marker5): New function.
9315 * gdb.cp/shadow.exp: New test.
9316 * gdb.cp/shadow.cc: New test program.
9317 * gdb.cp/nsimport.exp: New test.
9318 * gdb.cp/nsimport.cc: New test program.
9319
421d5d99
TT
93202010-01-25 Tom Tromey <tromey@redhat.com>
9321
9322 PR gdb/11049:
9323 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
9324 with "set print null-stop on".
9325
691f8dc1
JK
93262010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9327
9328 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
9329 Adjust it for DISASSEMBLY_OMIT_FNAME.
9330
0b92b5bb
TT
93312010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9332
9333 PR symtab/11199:
9334 * gdb.dwarf2/member-ptr-forwardref.exp,
9335 gdb.dwarf2/member-ptr-forwardref.S: New.
9336
23787403
JK
93372010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9338
9339 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
9340 (thread1_func): Protect thread1_tid with thread1_tid_cond by
9341 thread1_tid_mutex. Remove gdbstop_mutex handling.
9342 (thread2_func): Protect thread2_tid with thread2_tid_cond by
9343 thread2_tid_mutex. Remove gdbstop_mutex handling.
9344 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
9345 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
9346 pthread_cond_wait conditionalizations by while loops.
9347
b966cb8a
TT
93482010-01-20 Tom Tromey <tromey@redhat.com>
9349
9350 PR backtrace/10770:
9351 * gdb.dwarf2/pr10770.exp: New file.
9352 * gdb.dwarf2/pr10770.c: New file.
9353 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
9354
fcae584b
VP
93552010-01-20 Vladimir Prus <vladimir@codesourcery.com>
9356
9357 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
9358 that target was removed, and the test always runs native anyway.
9359
a0f49112
JK
93602010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9361
9362 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
9363 gdb.base/watchpoint-cond-gone-stripped.c: New.
9364
ceeb3d5a
TT
93652010-01-19 Tom Tromey <tromey@redhat.com>
9366
9367 PR c++/8000:
9368 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
9369 existing tests.
9370 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
9371 (main): Use AAA::SomeEnum.
9372
dd322c54
JK
93732010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9374
9375 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
9376 (test_ignore_count): Declare line_callme_body global.
9377 (run to breakpoint with ignore count): Use line_callme_body.
9378 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
9379 (set line_main_hello, set line_main_return): Reindent.
9380 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
9381 New.
9382 (continue to callee4): Use line_callee4_body.
9383 (check *stopped from CLI command): Use line_callee4_next.
9384 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
9385 (set line_main_hello, set line_main_return): Reindent.
9386 (set line_callee4_head, set line_callee4_body): New.
9387 (continue to callee4): Use line_callee4_body.
9388
4e8f195d
TT
93892010-01-18 Tom Tromey <tromey@redhat.com>
9390
9391 PR c++/9680:
9392 * gdb.cp/casts.cc: Add new classes and variables.
9393 * gdb.cp/casts.exp: Test new operators.
9394
9e14a9ba
JB
93952010-01-18 Tom Tromey <tromey@redhat.com>
9396 Thiago Jung Bauermann <bauerman@br.ibm.com>
9397
9398 * gdb.python/source2.py: New file.
9399 * gdb.python/source1: New file.
9400 * gdb.python/python.exp: Test "source" command.
9401
00bf0b85
SS
94022010-01-15 Stan Shebs <stan@codesourcery.com>
9403
9404 * gdb.trace/tfile.c: New file.
9405 * gdb.trace/tfile.exp: New file.
889bf7c5 9406
55235ad7
JK
94072010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9408
9409 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
9410
9f2982ff
JK
94112010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9412
9413 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
9414
bbfba9ed
JK
94152010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9416
9417 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
9418 (libfunc): New parameter action. Implement also selectable "sleep".
9419 * gdb.base/break-interp-main.c: Include assert.h.
9420 (libfunc): New parameter action.
9421 (main): New parameters argc and argv. Assert argc. Pass argv.
9422 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
9423 (test_attach): New proc.
9424 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
9425 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
9426
61f0d762
JK
94272010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9428
9429 * gdb.base/break-interp.exp (test_core): New proc.
9430 (test_ld): Call it.
9431
06a6f270
JK
94322010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9433
9434 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
9435 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
9436 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
9437 and gdb_compile_shlib. Use new -Wl compiler options.
9438 (dl bt, main bt): New tests.
9439
51bee8e9
JK
94402010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9441
9442 Support PIEs with no symfile_objfile.
9443 * gdb.base/break-interp.exp: New argument at the test_ld calls.
9444 (test_ld): New parameter trynosym.
9445 (test_ld <$trynosym>): New block.
9446
b8040f19
JK
94472010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9448
9449 * gdb.base/break-interp.exp: New file.
9450
be759fcf
PM
94512010-01-13 Phil Muldoon <pmuldoon@redhat.com>
9452
9453 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
9454 * gdb.python/py-prettyprint.py (pp_ls): New printer.
9455 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
9456 test.
9457 * gdb.python/py-prettyprint.c: Define lazystring test structure.
9458 * gdb.python/py-mi.exp: Add lazy string test.
9459
dc146f7c
VP
94602010-01-13 Vladimir Prus <vladimir@codesourcery.com>
9461
9462 * lib/mi-support.exp (mi_check_thread_states): Handle
9463 core number in thread listing.
9464
b4ba55a1
JB
94652010-01-12 Joel Brobecker <brobecker@adacore.com>
9466
9467 * gdb.base/maint.exp: Adjust the expected output for the
9468 "maint print type" test. Use gdb_test_multiple instead of
9469 gdb_sent/gdb_expect.
9470
08e24bd4
DE
94712010-01-11 Doug Evans <dje@google.com>
9472
6496a609
DE
9473 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
9474 from gdbserver_download. All callers updated.
9475
08e24bd4
DE
9476 * gdb.server/ext-run.exp: "info os processes" requires xml support.
9477
b5cfddf5
JK
94782010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9479
9480 Implement binary numbers parsing.
9481 * gdb.base/printcmds.exp (test_integer_literals_accepted)
9482 (test_integer_literals_rejected): New binary tests.
9483
3725885a
RW
94842010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9485
9486 * gdb.cell/configure: Regenerate.
9487
37aeb5df
JK
94882010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9489
9490 * gdb.base/corefile.exp: Move the core finding block out and call it as
9491 core_find, new variable $corefile, replace corefile by $corefile and
9492 [file tail $corefile] for usage vs. test names resp.
9493 * lib/gdb.exp (core_find): Move it as a new function here. New
9494 parameter binfile and deletefiles. New variable $destcore. Pre-delete
9495 $destcore. Return "" on error.
9496
d521f563
JK
94972010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9498
9499 Workaround PR binutils/10802.
9500 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
9501 (twice).
9502
28f24826
DJ
95032010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
9504
9505 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
9506
2de75e71
JB
95072010-01-08 Joel Brobecker <brobecker@adacore.com>
9508
9509 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
9510 call, to avoid interruption.
9511
fe00719b 95122010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
9513
9514 * gdb.stabs/weird.def (args93): New.
9515
d0ef5df8
DE
95162010-01-07 Doug Evans <dje@google.com>
9517
9518 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
9519
3a08d52f
TT
95202010-01-07 Tom Tromey <tromey@redhat.com>
9521
9522 * gdb.base/source.exp: Use correct line number.
9523
7a697b8d
SS
95242010-01-05 Stan Shebs <stan@codesourcery.com>
9525
9526 * gdb.trace/tracecmd.exp: Test ftrace.
9527
7803799a
UW
95282010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9529
9530 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
9531
c54eabfa
JK
95322010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9533
9534 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
9535 "uint_for_mi_testing".
9536
02e7ef19
JB
95372010-01-01 Joel Brobecker <brobecker@adacore.com>
9538
9539 Test indented comment in file being sourced.
9540 * gdb.base/commands.exp: Test indented comment in file being sourced.
9541
abd775ce
JB
95422010-01-01 Joel Brobecker <brobecker@adacore.com>
9543
9544 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
9545 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
9546 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
9547 notice.
9548
79b55b82
JB
95492010-01-01 Joel Brobecker <brobecker@adacore.com>
9550
9551 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
9552 notice.
9553
8997583e
JK
95542010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9555
9556 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
9557 missing $after_stopped and comma (,) expectation.
9558
6da95a67
SS
95592009-12-31 Stan Shebs <stan@codesourcery.com>
9560
9561 * gdb.trace/actions.exp: Test teval action.
889bf7c5 9562
218d2fc6
TJB
95632009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
9564
9565 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
9566 (top level): Call test_watchpoint_in_big_blob.
9567 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
9568 watchpoints.
9569 (func3): Write to buf.
9570
236f1d4d
SS
95712009-12-29 Stan Shebs <stan@codesourcery.com>
9572
9573 * gdb.trace/actions.exp: Test default-collect.
889bf7c5 9574
f61e138d
SS
95752009-12-28 Stan Shebs <stan@codesourcery.com>
9576
9577 * gdb.trace/tsv.exp: New file.
9578 * gdb.base/completion.exp: Update ambiguous info output.
889bf7c5 9579
0219b378
DJ
95802009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
9581
9582 * gdb.base/find.c (main): Reference search buffers.
9583 * gdb.base/included.c (main): Reference integer.
9584 * gdb.base/ptype.c (charfoo): Declare.
9585 (intfoo): Call charfoo.
9586 * gdb.base/scope0.c (useitp): New function.
9587 (usestatics): Use useitp.
9588 (useit): Add a type for val.
9589 * gdb.base/scope1.c (useit1): Take a pointer argument.
9590 (usestatics1): Update calls to useit1.
9591 * gdb.cp/call-c.cc: Declare foo.
9592 (main): Call foo.
9593 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
9594 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
9595 (main): Call C::ensureRefs and ensureOtherRefs.
9596 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
9597 variables.
9598 (ensureOtherRefs): New function.
9599 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
9600 * gdb.cp/templates.cc (main): Call t5i.value.
9601
3f78692f
JK
96022009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9603
9604 Fix compatibility with G++-4.5.
9605 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
9606 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
9607 (uncaught return): Remove.
9608
429374b8
JK
96092009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
9610 Phil Muldoon <pmuldoon@redhat.com>
9611
9612 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
9613 (bp_location13, bp_location14, bp_location17, bp_location18)
9614 (marker3_proto, marker4_proto): New variables.
9615 (breakpoint info): Update output.
9616 (run until breakpoint at marker3, run until breakpoint at marker4): New
9617 tests.
9618
859825b8
JK
96192009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
9620
9621 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
9622 Replace the printf call of Y by provided "y-set-1" label. New block
9623 for the second shared library.
9624 * gdb.base/unload.exp: Compile also the second library, call
9625 gdb_load_shlibs also for it. Use now gdb_breakpoint.
9626 (single pending breakpoint info): Rename to ...
9627 (pending breakpoint info before run): ... this extended test.
9628 (libfile2, libname2, libsrcfile2, libsrc2)
9629 (lib_sl2): New variables.
9630 (exec_opts): Set also SHLIB_NAME2.
9631 (pending breakpoint info on first run at shrfunc1)
9632 (pending breakpoint info on second run at shrfunc1)
9633 (pending breakpoint info on second run at shrfunc2)
9634 (print y from libfile, print y from libfile2): New tests.
9635 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
9636 * gdb.base/unloadshr2.c: New.
9637
e6a386cd
HZ
96382009-12-22 Hui Zhu <teawater@gmail.com>
9639
9640 * gdb.reverse/sigall-reverse.exp: Adjust.
9641
9e19b45e
VP
96422009-12-21 Vladimir Prus <vladimir@codesourcery.com>
9643
9644 PR gdb/10884
9645
9646 * gdb.mi/var-cmd.c (do_bitfield_tests): New
9647 (main): Call do_bitfield_tests.
aacf5b1e 9648 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 9649
d53a7b30
JB
96502009-12-20 Joel Brobecker <brobecker@adacore.com>
9651
9652 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
9653 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
9654 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
9655 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
9656 gdb.modula2/unbounded1.c: Update copyright header.
9657
191ca0a1
CM
96582009-12-10 Chris Moller <moller@mollerware.com>
9659
9660 PR gdb/9399
9661 * gdb.cp/virtfunc2.exp: New tests
9662 * gdb.cp/virtfunc2.cc: New tests
9663 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
9664
0fa6cf1b
MS
96652009-12-10 Oza Pawandeep (paawan1982@yahoo.com
9666
9667 * gdb.reverse/i387-env-reverse.c: New file.
9668 * gdb.reverse/i387-env-reverse.exp: New file.
9669 * gdb.reverse/i387-stack-reverse.c: New file.
9670 * gdb.reverse/i387-stack-reverse.exp: New file.
9671
361ae042
PM
96722009-12-08 Phil Muldoon <pmuldoon@redhat.com>
9673
9674 * gdb.python/py-type.exp (test_range): New test.
9675
bfd31e71
PM
96762009-12-03 Phil Muldoon <pmuldoon@redhat.com>
9677
9678 PR python/10805
9679
9680 * gdb.python/py-type.exp: New file.
9681 * gdb.python/py-type.c: New file.
9682 * Makefile.in: Add py-type.
9683
57a1d736
TT
96842009-12-03 Tom Tromey <tromey@redhat.com>
9685
9686 * gdb.python/py-value.exp (test_parse_and_eval): New
9687 function.
9688
1f3b5d1b
PP
96892009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
9690
9691 PR gdb/11022
9692
9693 * gdb.base/pr11022.exp: New test.
889bf7c5
PA
9694 * gdb.base/pr11022.c: New test.
9695
8b7dbdc9
JK
96962009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9697
9698 Fix spurious false FAILs.
9699 * gdb.base/structs.c (chartest): New.
9700 (main): Fill-in chartest.
9701 * gdb.base/structs.exp (anychar_re, first): New.
9702 (start_structs_test): Import global anychar_re and first.
9703 New gdb_test call "set print elements 300; ${testfile}"
9704 (start_structs_test <$first>): New block.
9705 (any): Import global anychar_re. New variable ac. Use ${ac}.
9706
6a53b2ec
JK
97072009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9708
9709 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
9710
d7167b4c
JK
97112009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9712
9713 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
9714 Force $srcfile file.
9715 * gdb.base/foll-fork.c (callee): Comment out the printf call.
9716
b1798462
UW
97172009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9718
9719 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
9720 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
9721 * gdb.threads/watchthreads-reorder.exp: Likewise.
9722
b6199126
DJ
97232009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
9724
9725 PR gdb/8704
9726
9727 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
9728 "if", and "thread". Correct matching in the previous test.
9729
b22a0510
DJ
97302009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
9731
9732 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
9733
930636d2
MS
97342009-11-23 Michael Snyder <msnyder@vmware.com>
9735
9736 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
9737 * gdb.reverse-watch-precsave.exp: Ditto.
9738
21a0512e
PP
97392009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
9740
9741 * gdb.asm/asm-source.exp: Adjust.
9742 * gdb.base/help.exp: Adjust.
889bf7c5 9743
fc30d5e0
PA
97442009-11-22 Pedro Alves <pedro@codesourcery.com>
9745
9746 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
9747 (do_syscall_tests_without_xml): Set data-directory to
9748 /the/path/to/nowhere.
9749
f6bc2008
PA
97502009-11-21 Pedro Alves <pedro@codesourcery.com>
9751
9752 * gdb.threads/local-watch-wrong-thread.c,
9753 gdb.threads/local-watch-wrong-thread.exp: New files.
9754
8c2fb5de
PA
97552009-11-21 Pedro Alves <pedro@codesourcery.com>
9756
9757 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
9758 assume new `regsub' syntax available.
9759
ebec9a0f
PA
97602009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9761
a79d3c27
JK
9762 * gdb.base/watchpoint-hw-hit-once.exp,
9763 gdb.base/watchpoint-hw-hit-once.c: New.
9764
97652009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9766
9767 * gdb.threads/watchthreads-reorder.exp,
9768 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 9769
276a961b
MK
97702009-11-17 Nathan Sidwell <nathan@codesourcery.com>
9771
9772 * gdb.xml/tdesc-regs.exp: Use for m68k.
9773
4867c1fb
PA
97742009-11-15 Pedro Alves <pedro@codesourcery.com>
9775
9776 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
9777
f6838f81
DJ
97782009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
9779
9780 * lib/gdb.exp (current_target_name): New procedure.
9781 (gdb_wrapper_target): New variable.
9782 (gdb_wrapper_init): Set gdb_wrapper_target.
9783 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
9784 wrapper.
9785
4ac4dd3f
DJ
97862009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
9787
9788 * gdb.base/remote.exp: Delete the slowest load test.
9789 Do not load with fixed packet sizes.
9790
a7881759
DJ
97912009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
9792
9793 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
9794
97a5b505
DJ
97952009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
9796
9797 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
9798 srcfile when setting a breakpoint.
9799
d3e1fc54
DJ
98002009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
9801
9802 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
9803 macros.
9804
7cbcbded
DJ
98052009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
9806
9807 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
9808 to be in memory.
9809 * gdb.base/display.c (force_mem): New.
9810 (do_loops): Use it. Add breakpoint comments.
9811 (do_vars): Add a breakpoint comment.
9812 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
9813 line numbers.
9814
bdea3a92
NF
98152009-11-13 Nathan Froyd <froydnj@codesourcery.com>
9816
9817 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
9818 instead of a bare "run".
9819
269f82e5
PP
98202009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
9821
9822 * gdb.python/py-prettyprint.exp: Adjust.
889bf7c5 9823
a69b7d9d
DJ
98242009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
9825
9826 * lib/cell.exp (skip_cell_tests): Clean up test files before
9827 returning.
9828
b598bfda
DJ
98292009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
9830
9831 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
9832 and the breakpoint menu. Do not call perror if a prompt is seen.
9833 Consume the following GDB prompt.
9834 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
9835 * gdb.cp/namespace.exp: Use gdb_test.
9836 * gdb.cp/templates.exp: Use gdb_test.
9837 (test_template_breakpoints): Use gdb_test_multiple.
9838
87728fa0
DJ
98392009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
9840
9841 * gdb.base/break1.c (struct some_struct, values): Move earlier.
9842 (marker4): Reference values.
9843
b67c692f
DJ
98442009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
9845
9846 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
9847 is missing.
9848
f0df251a
DJ
98492009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
9850
9851 * gdb.base/break.c (need_malloc): New.
9852 * gdb.base/constvars.c (main): Reference crass and crisp.
9853 * gdb.base/gdb1821.c (main): Reference bar.
9854 * gdb.cp/gdb1355.cc (main): Reference s1.
9855 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
9856 (main): Call them.
9857 * gdb.cp/hang2.cc (dummy2): Define.
9858 * gdb.cp/hang3.cc (dummy3): Define.
9859 * gdb.cp/m-data.cc (main): Reference shadow.
9860
bdf7534a
NF
98612009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
9862 Nathan Froyd <froydnj@codesourcery.com>
9863
9864 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
9865 remote host.
9866
f24fce77
NF
98672009-11-12 Nathan Froyd <froydnj@codesourcery.com>
9868
9869 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
9870 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
9871 * gdb.dwarf2/dw2-compressed.exp: Likewise.
9872 * gdb.dwarf2/dw2-intercu.exp: Likewise.
9873 * gdb.dwarf2/dw2-intermix.exp: Likewise.
9874 * gdb.dwarf2/dw2-producer.exp: Likewise.
9875 * gdb.dwarf2/mac-fileno.exp: Likewise.
9876 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
9877 py-prettyprint.py to the remote host.
9878 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
9879
40f0318e
KS
98802009-11-11 Keith Seitz <keiths@redhat.com>
9881
9882 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
9883 use it instead of "Foo".
9884 * gdb.cp/classes.exp (do_tests): Add a test to access
9885 a method through a typedef'd class name.
9886
f3d9f7fb
NF
98872009-11-11 Nathan Froyd <froydnj@codesourcery.com>
9888
9889 * gdb.base/long_long.exp: Permit leading zeros on floating-point
9890 exponents.
9891 * gdb.base/pointers.exp: Likewise.
9892 * gdb.cp/ref-types.exp: Likewise.
9893
a4216f37
KS
98942009-11-11 Keith Seitz <keiths@redhat.com>
9895
9896 * gdb.cp/cplusfuncs.cc (class foo): Add operators
9897 new[] and delete[].
9898 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
9899 "void".
9900 (probe_demangler): Remove all single-quoting of
9901 method and variable names.
9902 (info_func_regexp): Remove the word "void" from any
9903 occurrence of "(void)".
9904 (print_addr_2): Remove all single-quoting of
9905 method names.
9906 (print_addr_2_kfail): Likewise.
9907 (print_addr): Single-quote C function names before
9908 passing to print_addr_2.
9909 (test_paddr_operator_functions): Remove single-quoting
9910 for method names.
9911 Add tests for operator new[] and operator delete[].
9912
9b14d7aa
JK
99132009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9914
9915 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
9916
85feb311
KS
99172009-11-09 Keith Seitz <keiths@redhat.com>
9918
9919 * gdb.cp/overload.exp: Add tests for resolving overloaded
9920 methods in expression parsing/evaluation.
9921
fa335448
DJ
99222009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
9923
9924 * lib/gdb.exp (default_gdb_version): Use --version instead of
9925 --command.
9926
ec3c07fc
NS
99272009-11-10 Nathan Sidwell <nathan@codesourcery.com>
9928
9929 * lib/gdb.exp (gdb_compile_test): New.
9930 (skip_ada_tests, skip_java_tests): New.
9931 (gdb_compile): Use gdb_compile_test for f77.
9932 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
9933 * lib/java.exp (compile_java_from_source): Remove runtests check,
9934 use gdb_compile_test to record result.
9935 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
9936 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
9937 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
9938 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
9939 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
9940 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
9941 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
9942 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
9943 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
9944 adjust gdb_compile invocations.
9945
b8b4e42b
JK
99462009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9947
9948 * Makefile.in (abs_builddir): New.
9949 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
9950 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
9951 `$(abs_builddir)/site.exp'.
9952
f8b7eaf3
DJ
99532009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
9954
9955 * config/m68k-emc.exp, lib/emc-support.exp,
9956 gdb.trace/gdb_c_test.c: Delete.
9957 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
9958 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
9959 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
9960 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
9961 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
9962 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
9963 casing for m68k-*-elf.
9964
c4187697
NS
99652009-11-03 Pedro Alves <pedro@codesourcery.com>
9966
9967 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
9968 * gdb.arch/i386-prologue.exp: Likewise.
9969 * gdb.arch/i386-unwind.exp: Likewise.
9970
db16b772
DJ
99712009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
9972
9973 * lib/gdb.exp (gdb_expect): Fix timeout typo.
9974
bcf71277
DJ
99752009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
9976
9977 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
9978
0105cee2
DJ
99792009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
9980
9981 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
9982
24ddea62
JK
99832009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9984
9985 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
9986
287ccc17
JK
99872009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9988
9989 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
9990 * gdb.base/sepdebug2.c: New file.
9991
08bca259 99922009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
9993
9994 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
9995 the modified warnings for catch syscall. Verify if GDB was compiled
9996 with support for lib expat, and choose which tests to run depending
9997 on this.
9998
5d4e2b76
VP
99992009-10-30 Vladimir Prus <vladimir@codesourcery.com>
10000
10001 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
10002 that composite commands are parsed OK. And also test
10003 that breakpoint commands do work.
10004
240e538a
MS
100052009-10-23 Michael Snyder <msnyder@vmware.com>
10006
10007 gdb.reverse/consecutive-precsave.exp: Change expect pattern
10008 to allow for new disassembly style.
10009
9c419145
PP
100102009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
10011
10012 * gdb.asm/asm-source.exp: Adjust.
889bf7c5 10013
02506ff1
MS
100142009-10-22 Michael Snyder <msnyder@vmware.com>
10015
10016 * gdb.reverse/break-precsave.exp: New test.
10017 * gdb.reverse/consecutive-precsave.exp: Ditto.
10018 * gdb.reverse/finish-precsave.exp: Ditto.
10019 * gdb.reverse/i386-precsave.exp: Ditto.
10020 * gdb.reverse/machinestate-precsave.exp: Ditto.
10021 * gdb.reverse/sigall-precsave.exp: Ditto.
10022 * gdb.reverse/solilb-precsave.exp: Ditto.
10023 * gdb.reverse/step-precsave.exp: Ditto.
10024 * gdb.reverse/until-precsave.exp: Ditto.
10025 * gdb.reverse/watch-precsave.exp: Ditto.
10026
4cf866a3
MS
100272009-10-22 Michael Snyder <msnyder@vmware.com>
10028
10029 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
10030 for gdb_expect. Adjust one test's expect strings for the new
10031 format of disassemble.
10032 * gdb.reverse/finish-reverse.exp: Delete 'return'.
10033 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
10034 gdb_test_multiple.
10035 * gdb.reverse/step-reverse.exp: Delete 'return'.
10036 * gdb.reverse/until-reverse.exp: Delete blank lines.
10037 * gdb.reverse/watch-reverse.exp: Delete blank lines.
10038
2b28d209
PP
100392009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
10040
10041 * gdb.base/consecutive.exp: Adjust.
10042 * gdb.base/display.exp: Likewise.
10043 * gdb.base/pc-fp.exp: Likewise.
10044 * gdb.base/sigbpt.exp: Likewise.
889bf7c5 10045
33b9c32b
MS
100462009-10-19 Michael Snyder <msnyder@vmware.com>
10047
10048 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
10049 * gdb.reverse/finish-reverse.c: Ditto.
10050 * gdb.reverse/sigall-reverse.c: Ditto.
10051 * gdb.reverse/solib-reverse.c: Ditto.
10052 * gdb.reverse/step-reverse.c: Ditto.
10053 * gdb.reverse/watch-reverse.c: Ditto.
10054
6c95b8df
PA
100552009-10-19 Pedro Alves <pedro@codesourcery.com>
10056 Stan Shebs <stan@codesourcery.com>
10057
10058 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
10059 * gdb.base/foll-exec.exp: Adjust to expect a process id before
10060 "Executing new program".
10061 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
10062 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
10063 left listed after having been killed.
10064 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
10065 * gdb.base/maint.exp: Adjust test.
10066
10067 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
10068 * gdb.multi/Makefile.in: New.
10069 * gdb.multi/base.exp: New.
10070 * gdb.multi/goodbye.c: New.
10071 * gdb.multi/hangout.c: New.
10072 * gdb.multi/hello.c: New.
10073 * gdb.multi/bkpt-multi-exec.c: New.
10074 * gdb.multi/bkpt-multi-exec.exp: New.
10075 * gdb.multi/crashme.c: New.
10076
279017b7
TG
100772009-10-13 Tristan Gingold <gingold@adacore.com>
10078
10079 * gdb.base/sepdebug.exp: Check debug info are found.
10080
0413d738
PA
100812009-10-08 Pedro Alves <pedro@codesourcery.com>
10082
10083 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
10084 bits.
10085
c628eecc
JK
100862009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10087
10088 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
10089
38af1bfe
JB
100902009-10-07 Joel Brobecker <brobecker@adacore.com>
10091
10092 * gdb.base/watchpoints.c: Add copyright header. Reformat one
10093 of the comments.
10094
2b0adecd
PM
100952009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
10096
10097 * gdb.base/annota1.exp: Remove obsolete match_max increase.
10098 * gdb.base/annota3.exp: Idem.
10099 * gdb.base/maint.exp: Idem.
10100
8d417781
PM
101012009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
10102
889bf7c5 10103 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8d417781
PM
10104 to default.
10105
bb61102d
PM
101062009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
10107
889bf7c5 10108 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
bb61102d
PM
10109 mingw and cygwin targets.
10110
ace5c364
PM
101112009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
10112 Pedro Alves <pedro@codesourcery.com>
10113
889bf7c5 10114 * lib/gdb.exp (gdb_compile): Avoid adding
ace5c364
PM
10115 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
10116
c2d494a0
PM
101172009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
10118
e1b52ce2
PM
10119 * gdb.base/shr1.c: Use %p in format string.
10120 * gdb.base/unload.c: Avoid warning in fprintf.
10121 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 10122
209f53f5
PM
101232009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
10124
10125 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
10126 long type.
10127 (test_unlink): Correct printf string.
10128 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
10129 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
10130
8172766a
JK
101312009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10132
10133 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
10134 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
10135 * gdb.arch/ia64-breakpoint-shadow.S: New file.
10136
0f73703c
UW
101372009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10138
10139 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
10140 * gdb.objc/nondebug.exp: Likewise.
10141
b32306ca
UW
101422009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10143
10144 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
10145 target_info setting.
10146
10147 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
10148 that detect new threads during "info threads".
10149
0057022f
UW
101502009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10151
10152 * gdb.threads/manythreads.c (main): Increase thread stack size
10153 to 2*PTHREAD_STACK_MIN.
10154 * gdb.threads/multi-create.c (main): Likewise.
10155 (create_function): Likewise.
10156
f29c0325
UW
101572009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10158
10159 * gdb.base/dump.exp: Pass difference of pointer types instead
10160 of integer types as offset to restore in intarr3.srec case.
10161
fcb34849
UW
101622009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10163
10164 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
10165
d5142e3b
UW
101662009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10167
10168 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
10169
087b74b2 101702009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
889bf7c5 10171
087b74b2
PM
10172 New test for two watchpoints, with disabling of
10173 the first inserted.
10174 * testsuite/gdb.base/watchpoints.c: New file.
10175 * testsuite/gdb.base/watchpoints.exp: New file.
10176
96c07c5b
TT
101772009-09-25 Tom Tromey <tromey@redhat.com>
10178
10179 * gdb.base/charset.exp: Test utf-16 strings with Python.
10180
b8899f2b
TT
101812009-09-25 Tom Tromey <tromey@redhat.com>
10182
10183 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
10184 UCS-4.
10185 * gdb.base/charset.c (utf_32_string): Rename.
10186 (init_utf32): Rename.
10187 (main): Update.
10188
329719ec
TT
101892009-09-22 Tom Tromey <tromey@redhat.com>
10190
10191 * gdb.python/py-function.exp: Add regression tests.
10192
11ef0d76
KS
101932009-09-21 Keith Seitz <keiths@redhat.com>
10194
10195 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
10196 with invalid operator.
10197
3fe8f3b3
KS
101982009-09-21 Keith Seitz <keiths@redhat.com>
10199
10200 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
10201 and destructor using typedef name of class.
10202 * gdb.cp/classes.cc (class Base1): Add a destructor.
10203 (base1): New typedef.
10204 (use_methods): Instanitate an object of type base1.
10205 * gdb.cp/templates.exp (test_template_typedef): New procedure.
10206 (do_tests): Call test_template_typedef.
10207 * gdb.cp/templates.cc (Baz::~Baz): New method.
10208 (intBazOne): New typedef.
10209 (main): Instantiate intBazOne.
10210
7a9fe101
PM
102112009-09-21 Phil Muldoon <pmuldoon@redhat.com>
10212
10213 PR python/10633
10214
10215 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
10216 Function.
10217 (run_lang_tests): Add print elements test.
10218
2e4d963f
PM
102192009-09-21 Phil Muldoon <pmuldoon@redhat.com>
10220
10221 * gdb.python/py-value.exp (test_subscript_regression): New
10222 function. Test for invalid subscripts.
10223 * gdb.python/py-value.c (main): Add test array, and pointer to it.
10224 (ptr_ref): New function.
10225
ec7e75e7
PP
102262009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
10227
10228 * gdb.base/default.exp: Fix "show convenience".
10229
0cc7d26f
TT
102302009-09-15 Tom Tromey <tromey@redhat.com>
10231
10232 * lib/mi-support.exp (mi_create_varobj): Update.
10233 (mi_create_floating_varobj): Likewise.
10234 (mi_create_dynamic_varobj): New proc.
10235 (mi_varobj_update): Update.
10236 (mi_varobj_update_with_type_change): Likewise.
10237 (mi_varobj_update_kv_helper): New proc.
10238 (mi_varobj_update_dynamic_helper): Rewrite.
10239 (mi_varobj_update_dynamic): New proc.
10240 (mi_list_varobj_children): Update.
10241 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
10242 * gdb.python/python-prettyprint.py (pp_outer): New class.
10243 (pp_nullstr): Likewise.
10244 (lookup_function): Register new printers.
10245 * gdb.python/python-prettyprint.c (struct substruct): New type.
10246 (struct outerstruct): Likewise.
10247 (substruct_test): New function.
10248 (struct nullstr): New type.
10249 (string_1, string_2): New globals.
10250 (main): Add new tests.
10251 * gdb.python/python-mi.exp: Added regression tests.
10252 * gdb.mi/mi2-var-display.exp: Update.
10253 * gdb.mi/mi2-var-cmd.exp: Update.
10254 * gdb.mi/mi2-var-child.exp: Update.
10255 * gdb.mi/mi2-var-block.exp: Update.
10256 * gdb.mi/mi-var-invalidate.exp: Update.
10257 * gdb.mi/mi-var-display.exp: Update.
10258 * gdb.mi/mi-var-cmd.exp: Update.
10259 * gdb.mi/mi-var-child.exp: Update.
10260 * gdb.mi/mi-var-block.exp: Update.
10261 * gdb.mi/mi-break.exp: Update.
10262 * gdb.mi/gdb701.exp: Update.
10263
a96d9b2e
SDJ
102642009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
10265
10266 * Makefile.in: Inclusion of catch-syscall object.
10267 * gdb.base/catch-syscall.c: New file.
10268 * gdb.base/catch-syscall.exp: New file.
10269
b43b923a
MS
102702009-09-12 Michael Snyder <msnyder@vmware.com>
10271
10272 * gdb.reverse/step-reverse.exp: Explicitly check for targets
10273 that can support reverse debuggnig.
10274
cec03d70
TT
102752009-09-11 Tom Tromey <tromey@redhat.com>
10276
10277 * gdb.dwarf2/valop.S: New file.
10278 * gdb.dwarf2/valop.exp: New file.
10279
e23bb3fc
MK
102802009-09-11 Mark Kettenis <kettenis@gnu.org>
10281
10282 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
10283
37c3696d
DE
102842009-09-10 Doug Evans <dje@google.com>
10285
10286 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
10287 Add $gdb_prompt to second breakpoint regexp.
10288
5172aecb
JB
102892009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
10290
10291 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
10292 names, add missing ones.
10293 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
10294 * gdb.python/py-frame.c: Rename from python-frame.c.
10295 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
10296 testfile name.
10297 * gdb.python/py-function.exp: Rename from python-function.exp.
10298 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
10299 testfile name.
10300 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
10301 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
10302 Adjust testfile name.
10303 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
10304 * gdb.python/py-template.cc: Rename from python-template.cc.
10305 * gdb.python/py-template.exp: Rename from python-template.exp.
10306 Adjust testfile name.
10307 * gdb.python/py-value.c: Rename from python-value.c.
10308 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
10309 testfile name.
10310
b554e4bd
JK
103112009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10312
10313 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
10314 $bpt2address.
10315 (Second breakpoint address is valid on ia64)
10316 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
10317
9a68ae16
JM
103182009-09-03 Joseph Myers <joseph@codesourcery.com>
10319
10320 * gdb.base/ending-run.exp: Restrict regular expression matching
10321 line number to require closing brace following.
10322
146b9145
DE
103232009-09-03 Doug Evans <dje@google.com>
10324
10325 * gdb.base/store.exp (check_set): Fix typo in expected value message.
10326
787d21e1
TT
103272009-09-02 Tom Tromey <tromey@redhat.com>
10328
10329 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
10330
e7802207
TT
103312009-09-02 Tom Tromey <tromey@redhat.com>
10332
10333 * gdb.dwarf2/callframecfa.exp: New file.
10334 * gdb.dwarf2/callframecfa.S: New file.
10335
817aadd2
JK
103362009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10337
10338 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
10339 gdb.base/solib-overlap-main.c: New.
10340
4a76eae5
DJ
103412009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
10342
10343 PR gdb/10565
10344
10345 * gdb.base/bitfields.c (struct container, container): New.
10346 (main): Initialize it and call break5.
10347 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
10348
d4b96c9a
JK
103492009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10350
10351 Support constant DW_AT_data_member_location by GCC PR debug/40659.
10352 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
10353
4e22772d
JK
103542009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10355
10356 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
10357
2efab443
MS
103582009-08-26 Michael Snyder <msnyder@vmware.com>
10359
10360 * gdb.base/i386-reverse.c: New file.
10361 * gdb.base/i386-reverse.exp: New file.
10362 * gdb.base/Makefile.in: Add new files to be removed.
10363
07ab73a0
JM
103642009-08-26 Joseph Myers <joseph@codesourcery.com>
10365
10366 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
10367 environment-pwd for remote host.
10368 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
10369
676accff
KS
103702009-08-24 Keith Seitz <keiths@redhat.com>
10371
10372 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
10373 Add two new C++ completer tests which limit the output to a
889bf7c5 10374 given class.
676accff 10375
f9f7ad22
MS
103762009-08-24 Michael Snyder <msnyder@vmware.com>
10377
10378 * gdb.base/del.exp: Fix typo in comment.
10379 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
10380
81ecdfbb
RW
103812009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10382
10383 * configure: Regenerate.
10384 * gdb.hp/configure: Likewise.
10385 * gdb.hp/gdb.aCC/configure: Likewise.
10386 * gdb.hp/gdb.base-hp/configure: Likewise.
10387 * gdb.hp/gdb.compat/configure: Likewise.
10388 * gdb.hp/gdb.defects/configure: Likewise.
10389 * gdb.hp/gdb.objdbg/configure: Likewise.
10390 * gdb.stabs/configure: Likewise.
10391
cab0c772
UW
103922009-08-19 Doug Evans <dje@google.com>
10393
10394 * gdb.base/gdbvars.c: New file.
10395 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
10396
b8fa0bfa
PA
103972009-08-14 Pedro Alves <pedro@codesourcery.com>
10398
10399 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
10400 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
10401
b84aa90a
PA
104022009-08-13 Pedro Alves <pedro@codesourcery.com>
10403
10404 * gdb.base/default.exp: Adjust "set language test": it's now an
10405 enum command. Larger help string moved to "help set language".
10406 * gdb.base/help.exp: Adjust "help set language" expected output,
10407 now lists all known languages.
10408
0d8f9b2c
NF
104092009-08-11 Nathan Froyd <froydnj@codesourcery.com>
10410
10411 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
10412 all frame arguments.
10413 * gdb.arch/altivec-regs.exp: Likewise.
10414
bda180e0
TT
104152009-08-07 Tom Tromey <tromey@redhat.com>
10416
10417 * gdb.base/setshow.exp: Add tests for changes to set language, set
10418 check range, and set check type.
10419
48cb2d85
VP
104202009-08-03 Vladimir Prus <vladimir@codesourcery.com>
10421
10422 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
10423 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
889bf7c5 10424 Call it.
48cb2d85 10425
1ea34204
UW
104262009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10427
10428 * configure.ac: Run gdb.cell tests when appropriate.
10429 * configure: Regenerate.
10430 * lib/cell.exp: New file.
10431 * gdb.cell: New directory.
10432 * gdb.cell/configure.ac: New file.
10433 * gdb.cell/configure: New file.
10434 * gdb.cell/Makefile.in: New file.
10435 * gdb.cell/arch.exp: New file.
10436 * gdb.cell/break.c: New file.
10437 * gdb.cell/break.exp: New file.
10438 * gdb.cell/break-spu.c: New file.
10439 * gdb.cell/bt.c: New file.
10440 * gdb.cell/bt2-spu.c: New file.
10441 * gdb.cell/bt-spu.c: New file.
10442 * gdb.cell/bt.exp: New file.
10443 * gdb.cell/coremaker.c: New file.
10444 * gdb.cell/coremaker-spu.c: New file.
10445 * gdb.cell/core.exp: New file.
10446 * gdb.cell/gcore.exp: New file.
10447 * gdb.cell/data.c: New file.
10448 * gdb.cell/data.exp: New file.
10449 * gdb.cell/data-spu.c: New file.
10450 * gdb.cell/ea-cache.exp: New file.
10451 * gdb.cell/ea-cache.c: New file.
10452 * gdb.cell/ea-cache-spu.c: New file.
10453 * gdb.cell/ea-standalone.c: New file.
10454 * gdb.cell/ea-standalone.exp: New file.
10455 * gdb.cell/ea-test.c: New file.
10456 * gdb.cell/ea-test.exp: New file.
10457 * gdb.cell/f-regs.exp: New file.
10458 * gdb.cell/mem-access.c: New file.
10459 * gdb.cell/mem-access.exp: New file.
10460 * gdb.cell/mem-access-spu.c: New file.
10461 * gdb.cell/ptype.exp: New file.
10462 * gdb.cell/registers.exp: New file.
10463 * gdb.cell/size.c: New file.
10464 * gdb.cell/sizeof.exp: New file.
10465 * gdb.cell/size-spu.c: New file.
10466 * gdb.cell/solib.exp: New file.
10467 * gdb.cell/solib-symbol.exp: New file.
10468
85e747d2
UW
104692009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10470
10471 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
10472
58d6951d
DJ
104732009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
10474
10475 * gdb.base/float.exp: Handle VFP registers.
10476
6e0a4f15
MS
104772009-07-14 Michael Snyder <msnyder@vmware.com>
10478
dcd5da87
MS
10479 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
10480 to bring gdb to the beginning of the calling line.
10481
6e0a4f15
MS
10482 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
10483 confusing the i386 epilogue unwinder.
10484
782b2b07
SS
104852009-07-14 Stan Shebs <stan@codesourcery.com>
10486
10487 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
10488
f662c3bc
MS
104892009-07-14 Michael Snyder <msnyder@vmware.com>
10490
10491 * gdb.reverse/step-reverse.exp (stepi into function call):
10492 Call instruction may not be first instruction in the line.
10493 (reverse stepi from a function call): Used wrong line number.
10494
8f313923
JK
104952009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10496
10497 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
10498
4662c76e
JK
104992009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10500
10501 Fix gdb.base/macscp.exp when using custom inputrc.
10502 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
10503 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
10504 env(TERM) set.
10505 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
10506 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
10507
aa81e255
JK
105082009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10509
10510 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
10511 * gdb.base/annota1.exp (thread_test): Import global $testfile.
10512 Change the compilation target to match the testcase name.
10513 * gdb.base/sect-cmd.exp: Change the compilation target to match the
10514 testcase name.
10515 * a2-run.exp: Use for setup prepare_for_testing. Change the
10516 compilation target to match the testcase name.
10517 * gdb.base/commands.exp: Likewise.
10518 * gdb.base/finish.exp: Likewise.
10519 * gdb.base/float.exp: Likewise.
10520 * gdb.base/info-target.exp: Likewise.
10521 * gdb.base/relational.exp: Likewise.
10522 * gdb.base/term.exp: Likewise.
10523 * gdb.base/until.exp: Likewise.
10524 * gdb.base/volatile.exp: Likewise.
10525 * gdb.base/whatis-exp.exp: Likewise.
10526
4c93b1d7
HZ
105272009-07-11 Hui Zhu <teawater@gmail.com>
10528
10529 * gdb.base/help.exp (disassemble): Update expected help text.
10530
812f7342
TT
105312009-07-09 Tom Tromey <tromey@redhat.com>
10532
10533 * lib/gdb.exp: Handle TRANSCRIPT.
10534 (remote_spawn, remote_close, send_gdb): New procs.
10535
fbb8f299
PM
105362009-07-10 Phil Muldoon <pmuldoon@redhat.com>
10537
10538 * gdb.python/python-prettyprint.c: Add counted null string
10539 structure.
10540 * gdb.python/python-prettyprint.exp: Print null string. Test for
10541 embedded nulls.
10542 * gdb.python/python-prettyprint.py (pp_ns): New Function.
10543 * gdb.python/python-value.exp (test_value_in_inferior): Add
10544 variable length string fetch tests.
10545 * gdb.python/python-value.c (main): Add strings for string fetch tests.
10546
c0ac0ec7
JK
105472009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10548
10549 * gdb.base/dump.exp (inaccessible memory is reported): New test.
10550
30b66ecc
TT
105512009-07-07 Tom Tromey <tromey@redhat.com>
10552
10553 * gdb.base/call-rt-st.exp: Update for change to escape output.
10554 * gdb.base/callfuncs.exp: Likewise.
10555 * gdb.base/charset.exp: Likewise.
10556 * gdb.base/constvars.exp: Likewise.
10557 * gdb.base/long_long.exp: Likewise.
10558 * gdb.base/pointers.exp: Likewise.
10559 * gdb.base/printcmds.exp: Likewise.
10560 * gdb.base/setvar.exp: Likewise.
10561 * gdb.base/store.exp: Likewise.
10562 * gdb.cp/ref-types.exp: Likewise.
10563 * gdb.mi/mi-var-child.exp: Likewise.
10564 * gdb.mi/mi-var-display.exp: Likewise.
10565 * gdb.mi/mi2-var-display.exp: Likewise.
10566 * gdb.base/charset.exp: Test octal escape sequence length.
10567 Update for change to escape output.
10568
187c4a2b
JK
105692009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10570
10571 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
10572
d80a43f9
DJ
105732009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
10574
10575 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
10576
047427a8
JK
105772009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10578
10579 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
10580 gdbserver increasing $portnum if "Can't bind address" has been seen.
10581
8b5a0f4f
PA
105822009-07-05 Pedro Alves <pedro@codesourcery.com>
10583
10584 * gdb.base/ending-run.exp: Add "step out of main" pattern for
10585 mingw32ce.
10586
7d93ba58
PA
105872009-07-05 Pedro Alves <pedro@codesourcery.com>
10588
10589 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
10590 VFP format.
10591
2277426b
PA
105922009-07-02 Pedro Alves <pedro@codesourcery.com>
10593
10594 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
10595 linux. Adjust to use "inferior", "info inferiors", "detach
10596 inferior" and "kill inferior" instead of "restart", "info fork",
10597 "detach fork" and "delete fork".
10598 * gdb.base/ending-run.exp: Spell out "info".
10599 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
10600 the "kill" command.
10601
5af949e3
UW
106022009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10603
10604 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
10605 change to prefix TLS offset in hex with 0x.
10606
5d3729b5
UW
106072009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10608
10609 * gdb.base/default.exp: Update test case for "x" changes.
10610
af589bd0
TG
106112009-07-01 Tristan Gingold <gingold@adacore.com>
10612
10613 * gdb.base/bigcore.exp: Make darwin untested.
10614
40974f91
JK
106152009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10616
10617 * gdb.base/completion.exp (directory completion): Create the directory.
10618 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
10619 escapeuniquesub.
10620 (directory completion 2): Expect now ${escapeuniquesub}.
10621 (Glob remaining of directory test): Remove one excessive newline.
10622 Expect the real output.
10623
59dd3af6
JK
106242009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10625
10626 Fix `make check//%' target after `make check' has been ran.
10627 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
10628 a mkdir call.
10629 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
10630 (%/.dir): Remove.
10631
f4e164aa
JK
106322009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10633
10634 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
10635 the expected result record.
10636
69af2122
JK
106372009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10638
10639 Remove racy FAILs relying just on the timeouts.
10640 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
10641 (annotation_level 2): Remove racy FAILs.
10642
2fd481e1
PP
106432009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
10644
10645 gdb/10275
889bf7c5
PA
10646 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
10647
c38f313d
DJ
106482009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
10649
10650 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
10651
8b777f02
VP
106522009-06-30 Vladimir Prus <vladimir@codesourcery.com>
10653
10654 * gdb.mi/mi-stack.exp: Testing symbolic options
10655 to -stack-list-locals and -stack-list-arguments.
10656
00c7eacf
JK
106572009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10658
10659 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
10660
6bc80edc
TT
106612009-06-29 Tom Tromey <tromey@redhat.com>
10662
10663 * dg-extract-results.sh: New file.
10664 * Makefile.in (FORCE_PARALLEL): New variable.
10665 (CHECK_TARGET): New conditional variable.
10666 (check): Use CHECK_TARGET.
10667 (DO_RUNTEST): New variable.
10668 (check-single): New target.
10669 (TEST_DIRS): New variable.
10670 (TEST_TARGETS): Likewise.
10671 (check-parallel): New target.
10672 (check-gdb.%): New pattern.
10673 (BASE1_FILES): New variable.
10674 (BASE2_FILES): Likewise.
10675 (check-gdb.base%): New pattern.
10676 (%/.dir): New pattern.
10677 * configure: Rebuild.
10678 * aclocal.m4 (AM_CONDITIONAL): New defun.
10679 * configure.ac: Check whether user is using GNU make.
10680 (GMAKE): New conditional.
10681
794684b6
SW
106822009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
10683
10684 * gdb.cp/namespace-nested-import.cc: New test.
10685 * gdb.cp/namespace-nested-import.exp: New test.
10686
edb3359d
DJ
106872009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
10688
10689 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
10690 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
10691 * gdb.opt/Makefile.in (EXECUTABLES): Update.
10692 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
10693 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
10694 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
10695 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
10696 gdb.opt/inline-markers.c: New files.
10697 * lib/gdb.exp (skip_inline_frame_tests): New function.
10698 (skip_inline_var_tests): New function.
10699
cf657a0c
AS
107002009-06-27 Andreas Schwab <schwab@linux-m68k.org>
10701
10702 * gdb.cp/exception.exp: Don't require $hex before inner frame in
10703 backtrace.
10704
28d41a99
MS
107052009-06-27 Michael Snyder <msnyder@vmware.com>
10706
10707 * gdb.reverse: New directory.
10708 * gdb.reverse/break-reverse.c: New test.
10709 * gdb.reverse/break-reverse.exp: New test.
10710 * gdb.reverse/consecutive-reverse.c: New test.
10711 * gdb.reverse/consecutive-reverse.exp: New test.
10712 * gdb.reverse/finish-reverse.c: New test.
10713 * gdb.reverse/finish-reverse.exp: New test.
10714 * gdb.reverse/machinestate.c: New test.
10715 * gdb.reverse/ms1.c: New test.
10716 * gdb.reverse/machinestate.exp: New test.
10717 * gdb.reverse/Makefile.in: New file.
10718 * gdb.reverse/shr2.c: New test.
10719 * gdb.reverse/solib-reverse.c: New test.
10720 * gdb.reverse/solib-reverse.exp: New test.
10721 * gdb.reverse/step-reverse.c: New test.
10722 * gdb.reverse/step-reverse.exp: New test.
10723 * gdb.reverse/until-reverse.c: New test.
10724 * gdb.reverse/ur1.c: New test.
10725 * gdb.reverse/until-reverse.exp: New test.
10726 * gdb.reverse/watch-reverse.c: New test.
10727 * gdb.reverse/watch-reverse.exp: New test.
10728 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
10729 * configure: Regenerate.
10730
fe3c8b0d
DE
107312009-06-26 Doug Evans <dje@google.com>
10732
10733 * gdb.base/psymtab.exp: Turn off pending breakpoints.
10734
3a72a602
PM
107352009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
10736
10737 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
10738 windows problem for 'file delete $binfile'.
10739
27aa8d6a
SW
107402009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
10741
10742 * gdb.cp/namespace-using.exp: New test.
10743 * gdb.cp/namespace-using.cc: New test.
10744
8ac055f8
JB
107452009-05-20 Joel Brobecker <brobecker@adacore.com>
10746
10747 * gdb.ada/variant_record_packed_array: New testcase.
10748
85e306ed
TT
107492009-06-23 Tom Tromey <tromey@redhat.com>
10750
10751 * gdb.base/charset.exp (test_combination): Regression test.
10752 * gdb.base/charset.c (my_wchar_t): New typedef.
10753 (myvar): New global.
10754 (main): Set myvar.
10755
56643c5e
PM
107562009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
10757
10758 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
10759 target.
10760
1fac167a
UW
107612009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10762
10763 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
10764
7ccb0be9
UW
107652009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10766
10767 * gdb.mi/gdb680.exp: Update test for error message.
10768
568d6575
UW
107692009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10770
10771 * gdb.base/annota1.exp: Allow multiple occurrences of the
10772 frames-invalid annotation.
10773 * gdb.cp/annota2.exp: Likewise.
10774
7cd1089b
PM
107752009-06-15 Phil Muldoon <pmuldoon@redhat.com>
10776
10777 * gdb.cp/gdb2495.cc: New file.
10778 * gdb.cp/gdb2495.exp: New file.
10779
72c63395
JK
107802009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10781
10782 Report error on GDB crash during runto.
10783 * lib/gdb.exp (runto <eof>): New.
10784
3788363d
DJ
107852009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
10786
10787 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
10788 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
10789 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
10790 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
10791 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
10792 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
10793 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
10794 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
10795 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
10796 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
10797 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
10798 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
10799 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
10800 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
10801 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
10802 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
10803 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
10804 gdb.server/server-mon.exp, gdb.server/server-run.exp,
10805 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
10806 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
10807 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
10808 gdb.trace/passcount.exp, gdb.trace/report.exp,
10809 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
10810 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
10811 gdb.trace/while-stepping.exp: Use a unique name for the compiled
10812 executable.
10813
17592de3
PA
108142009-06-07 Pedro Alves <pedro@codesourcery.com>
10815
10816 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
10817 defined before referencing it.
10818
701e355d
DE
108192009-06-03 Doug Evans <dje@google.com>
10820
10821 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
10822 * gdb.arch/i386-see.c: Ditto.
10823
f2292c65
PM
108242009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
10825
10826 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
10827 (check_macro): Return 1 if undefined.
10828 If first test fails, check if macro debug information is available,
10829 and report unsupported test if no macro information is found.
10830
5a437975
DE
108312009-05-29 Doug Evans <dje@google.com>
10832
10833 * gdb.threads/hand-call-in-threads.exp: New.
10834 * gdb.threads/hand-call-in-threads.c: New.
10835
c141c696
MS
108362009-05-29 Michael Snyder <msnyder@vmware.com>
10837
10838 * gdb.base/break-always.exp: Change "1" to "on".
10839 Add confirmation check.
10840
b3444185
PA
108412009-05-28 Pedro Alves <pedro@codesourcery.com>
10842
10843 * gdb.threads/threxit-hop-specific.c: New.
10844 * gdb.threads/threxit-hop-specific.exp: New.
10845 * gdb.threads/thread-execl.c: New.
10846 * gdb.threads/thread-execl.exp: New.
10847
b6313243
TT
108482009-05-27 Tom Tromey <tromey@redhat.com>
10849 Thiago Jung Bauermann <bauerman@br.ibm.com>
10850
10851 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
10852 (mi_child_regexp): Likewise.
10853 (mi_list_varobj_children_range): Likewise.
10854 (mi_get_features): Likewise.
10855 (mi_list_varobj_children): Rewrite.
10856 * gdb.python/python-mi.exp: New file.
10857
a6bac58e
TT
108582009-05-27 Tom Tromey <tromey@redhat.com>
10859 Thiago Jung Bauermann <bauerman@br.ibm.com>
10860 Phil Muldoon <pmuldoon@redhat.com>
10861 Paul Pluzhnikov <ppluzhnikov@google.com>
10862
10863 * gdb.python/python-prettyprint.exp: New file.
10864 * gdb.python/python-prettyprint.c: New file.
10865 * gdb.python/python-prettyprint.py: New file.
10866 * gdb.base/display.exp: print/r is now valid.
10867
2c74e833
TT
108682009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
10869 Tom Tromey <tromey@redhat.com>
10870 Pedro Alves <pedro@codesourcery.com>
10871 Paul Pluzhnikov <ppluzhnikov@google.com>
10872
10873 * gdb.python/python-template.exp: New file.
10874 * gdb.python/python-template.cc: New file.
10875 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
10876 tests.
10877 * gdb.python/python-value.exp (py_objfile_tests): New proc.
10878 Call it.
10879 (test_value_after_death): New proc.
10880 * gdb.python/python-value.c (PTR): New typedef.
10881 (main): New variable 'x'.
10882
89c73ade
TT
108832009-05-27 Tom Tromey <tromey@redhat.com>
10884
10885 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
10886 tests.
10887 * gdb.python/python-value.exp (py_objfile_tests): New proc.
10888 Call it.
10889
a75724bc
PA
108902009-05-27 Pedro Alves <pedro@codesourcery.com>
10891
10892 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
10893
e58b0e63
PA
108942009-05-24 Pedro Alves <pedro@codesourcery.com>
10895
10896 * gdb.threads/fork-thread-pending.c: New.
10897 * gdb.threads/fork-thread-pending.exp: New.
10898
4ac36638
JK
108992009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10900
10901 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
10902 * gdb.dwarf2/dw2-strp.S (a_string2): New.
10903
889bf7c5 109042009-05-18 Jon Beniston <jon@beniston.com>
c28c63d8 10905
889bf7c5 10906 * gdb.asm/asm-source.exp: Add lm32 target.
c28c63d8 10907
b242c3c2
PA
109082009-05-17 Pedro Alves <pedro@codesourcery.com>
10909
10910 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
10911 `gdb_get_line_number'. Call `callee' in both parent and child.
10912 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
10913 `gdb_get_line_number' instead of hardcoding line numbers.
10914 (catch_fork_unpatch_child): New procedure to test detaching
10915 breakpoints from child fork.
10916 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
10917 hardcoding line numbers.
10918 (do_fork_tests): Run `catch_fork_unpatch_child'.
10919
ee342b23
VP
109202009-05-17 Vladimir Prus <vladimir@codesourcery.com>
10921
10922 * gdb.mi/mi-cmd-var.exp: Check that when varobj
10923 of structure type enters or leaves the scope, it
10924 is reported by -var-update.
10925
e2009e98
DE
109262009-05-11 Doug Evans <dje@sebabeach.org>
10927
10928 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
fc529d80 10929 * gdb.threads/pending-step.c (main): Fix off-by-one error.
e2009e98
DE
10930 * gdb.threads/schedlock.c (main): Fix off-by-one error.
10931
00903456
JK
109322009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10933
10934 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
10935
dc621c35
DE
109362009-04-30 Doug Evans <dje@google.com>
10937
10938 * gdb.threads/watchthreads2.exp: New testcase.
10939 * gdb.threads/watchthreads2.c: New testcase.
10940
9ab4e744
DE
109412009-04-29 Doug Evans <dje@google.com>
10942
10943 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
10944 * gdb.cp/mb-ctor.cc: Ditto.
10945 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
10946 * gdb.cp/mb-inline.h (multi_line_foo): New function.
10947 * gdb.cp/mb-inline1.cc: Call it.
10948 * gdb.cp/mb-inline2.cc: Ditto.
10949 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
10950 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
10951
484086b7
JK
109522009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10953
10954 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
10955 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
10956 Replace all uses of `decimal' by `nonzero'.
10957 (info macro FROM_COMMANDLINE): New test.
10958
379a77b5
TT
109592009-04-27 Tom Tromey <tromey@redhat.com>
10960
10961 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
10962
b92b73c2
DE
109632009-04-27 Doug Evans <dje@google.com>
10964
10965 * gdb.threads/watchthreads.c (main): Initialize args before starting
10966 the threads. Plus formatting cleanup.
10967 * gdb.threads/watchthreads.exp: Avoid errant failures due to
10968 biased scheduling of one thread.
10969
945a118d
JG
109702009-04-27 Jerome Guitton <guitton@adacore.com>
10971
10972 * gdb.cp/templates.cc (GetMax): New template.
10973 (main): Declare two instances of GetMax.
10974 * gdb.cp/templates.exp: Add new test.
10975
d389af10
JK
109762009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10977
10978 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
10979
e7f86de9
JM
109802009-04-22 Joseph Myers <joseph@codesourcery.com>
10981
10982 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
10983
334cc82d
TT
109842009-04-15 Tom Tromey <tromey@redhat.com>
10985
10986 * gdb.base/charset.exp: Add regression test.
10987
d12672cc
JB
109882009-04-14 Joel Brobecker <brobecker@adacore.com>
10989
10990 * gdb.base/exe-lock.exp: New testcase.
10991
18e8c3bc
TT
109922009-04-13 Tom Tromey <tromey@redhat.com>
10993
10994 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
10995 operator on Frame.
10996
5ecd5cbe
UW
109972009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10998
10999 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
11000 * gdb.server/ext-attach.exp: Likewise.
11001
7309f756
VP
110022009-04-03 Vladimir Prus <vladimir@codesourcery.com>
11003
11004 Eliminate some sleep usage.
11005
889bf7c5
PA
11006 * gdb.mi/basics.c (do_nothing): New.
11007 (main): Use do_nothing instead of printf, so that
11008 not to introduce race condition between output of
11009 inferiour and output of gdb. Do not use sleep as it
11010 is not generally available on embedded targets.
7309f756 11011
f4b95f6f
PA
110122009-04-02 Pedro Alves <pedro@codesourcery.com>
11013
11014 * gdb.server/ext-attach.exp: Expect an optional process id after
11015 "Detached from remote process".
11016
de40b933
JK
110172009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11018
11019 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
11020 gdb.dwarf2/dw2-unresolved.exp: New.
11021
2ae101a4
PA
110222009-04-02 Pedro Alves <pedro@codesourcery.com>
11023
11024 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
11025 mi_run_to_main.
11026
56a8e183
PA
110272009-04-02 Pedro Alves <pedro@codesourcery.com>
11028
11029 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
11030 mi_run_to_main. Skip thread exit test on remote targets.
11031 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
11032 mi_run_to_main.
11033 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
11034 mi_run_to_main.
11035 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
11036 when expecting ^connected. Detect when the target doesn't support
11037 non-stop mode.
11038 (mi_run_cmd): Detect if non-stop mode was requested by isn't
11039 supported. Return -1 on error, 0 on success.
11040 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
11041 (mi_runto): Return mi_runto_helper's result explicitly.
11042
c35fafde
PA
110432009-04-01 Pedro Alves <pedro@codesourcery.com>
11044
11045 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
11046
f8a8dce6
JB
110472009-04-01 Tom Tromey <tromey@redhat.com>
11048
11049 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
11050 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
11051 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
11052 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
11053
71c25dea
TT
110542009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
11055 Jan Kratochvil <jan.kratochvil@redhat.com>
11056
11057 PR gdb/931
11058 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
11059 output.
11060 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
11061 for gdb/931.
11062 * dw2-strp.S (DW_AT_language): Change to C++.
11063 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
11064
02d9a9ce
JB
110652009-03-31 Joel Brobecker <brobecker@adacore.com>
11066
11067 * gdb.ada/tasks: New testcase.
11068
1042e4c0
SS
110692009-03-30 Stan Shebs <stan@codesourcery.com>
11070
11071 * gdb.trace/actions.exp: Update to match new info trace format.
11072 * gdb.trace/deltrace.exp: Ditto.
11073 * gdb.trace/infotrace.exp: Ditto.
11074 * gdb.trace/passcount.exp: Ditto.
11075 * gdb.trace/save-trace.exp: Ditto.
11076 * gdb.trace/while-stepping.exp: Ditto.
11077 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
11078
f8f6f20b
TJB
110792009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
11080
11081 * gdb.python/python-frame.c: New file.
11082 * gdb.python/python-frame.exp: New file.
11083
c0c6f777
TJB
110842009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
11085
11086 * gdb.python/python-value.exp: Add tests for the address
11087 attribute.
11088
3cb51905
AS
110892009-03-29 Andreas Schwab <schwab@linux-m68k.org>
11090
11091 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
11092
88fc996f
DE
110932009-03-26 Doug Evans <dje@google.com>
11094
11095 * gdb.mi/mi-nonstop-exit.exp: New file.
11096 * gdb.mi/non-stop-exit.c: New file.
11097
56ef84b1
TT
110982009-03-26 Tom Tromey <tromey@redhat.com>
11099
11100 Update for change to prologue skipping:
11101 * gdb.mi/mi2-simplerun.exp: Update.
11102 * gdb.mi/mi2-break.exp: Update.
11103 * gdb.mi/mi-simplerun.exp: Update.
11104 * gdb.mi/mi-break.exp: Update.
11105 * gdb.base/ending-run.exp: Update.
11106
def2b000
TJB
111072009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
11108
11109 * gdb.python/python-value.exp (test_value_in_inferior): Test
11110 gdb.Value.is_optimized_out attribute.
11111
442ddf59
JK
111122009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
11113
11114 * gdb.dwarf2/dw2-noloc-main.c: New file.
11115 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
11116 (.text): Remove.
11117 (.data): New.
11118 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
11119 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
11120 (DW_TAG_subprogram func_cu1, noloc): Remove.
11121 (main): New.
11122 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
11123 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
11124 (file_symbols): New procedure.
11125
a8df5de4
TT
111262009-03-25 Tom Tromey <tromey@redhat.com>
11127
11128 * gdb.base/charset.exp (valid_target_charset): New proc.
11129 Use it to skip tests on invalid charsets.
11130
cc1d7add
PM
111312009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
11132
11133 * gdb.base/completion.exp: Add a test for directory completion.
11134
bcd5727b
JK
111352009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11136
11137 Fix a racy FAIL.
11138 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
11139 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
11140
cc924cad
TJB
111412009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
11142
11143 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
11144 * gdb.python/python-function.exp: Add test for function returning
11145 a GDB value.
11146
bc3b79fd
TJB
111472009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
11148
11149 * gdb.python/python-function.exp: New file.
11150
6c7a06a3
TT
111512009-03-20 Tom Tromey <tromey@redhat.com>
11152
11153 * gdb.base/store.exp: Update for change to escape output.
11154 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
11155 to escape output.
11156 * gdb.base/pointers.exp: Update for change to escape output.
11157 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
11158 to escape output.
11159 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
11160 escape output.
11161 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
11162 to escape output.
11163 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
11164 escape output.
11165 * gdb.base/setvar.exp: Update for change to escape output.
11166 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
11167 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
11168 to escape output.
11169 (test_print_string_constants): Likewise.
11170 * gdb.base/charset.exp (valid_host_charset): Check size of
11171 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
11172 cases. Handle "auto"-related output.
11173 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
11174 (uvar, Uvar): New globals.
11175
c31af87b
JG
111762009-03-19 Jerome Guitton <guitton@adacore.com>
11177
11178 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
11179 deltas.
11180 * gdb.ada/fixed_points.exp: Ditto.
11181
51272cf2
PA
111822009-03-18 Pedro Alves <pedro@codesourcery.com>
11183
11184 * return-nodebug.c: Don't include stdio.h.
11185 (init): Delete.
11186 (func): Delete definition and provide extern declaration.
11187 (t): New.
11188 (main): Don't call printf. Call func and store its result in t.
11189 * return-nodebug1.c: New.
11190 * return-nodebug.exp: Don't expect stdio output. Instead, print
11191 the global variable t. Drop printf formatters and cast types from
11192 foreach loop. Don't use prepare_for_testing. Compile
11193 return-nodebug.c and return-nodebug1.c in separate steps. Don't
11194 define FORMAT or CAST.
11195
d24948ac
PP
111962009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
11197
11198 * gdb.base/solib-display.exp: Disable test for remote targers.
11199
61ff14c6
JK
112002009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11201
11202 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
11203
cb4dce93
JK
112042009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11205
11206 Fix a racy FAIL.
11207 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
11208 code from `follow parent, print pids'.
11209 (`follow child, print pids', `follow parent, print pids'): Call it.
11210 Replace `gdb_test "break..."' by gdb_breakpoint.
11211
f7c60c5e
VP
112122009-03-13 Vladimir Prus <vladimir@codesourcery.com>
11213
11214 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 11215 sync and async modes.
f7c60c5e 11216
383ace49
JB
112172009-03-12 Joel Brobecker <brobecker@adacore.com>
11218
11219 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
11220 that was checked in by mistake. Remove loading of ada.exp, since
11221 this is not necessary in this case.
11222
4ce102af
JB
112232009-03-12 Joel Brobecker <brobecker@adacore.com>
11224
11225 * gdb.ada/ptype_arith_binop.exp: New testcase.
11226
529a2aef
JB
112272009-03-12 Joel Brobecker <brobecker@adacore.com>
11228
11229 * gdb.ada/mod_from_name: New testcase.
11230
8a38181c
JB
112312009-03-12 Joel Brobecker <brobecker@adacore.com>
11232
11233 * gdb.ada/tick_last_segv: New testcase.
11234
11436dee
VP
112352009-03-12 Vladimir Prus <vladimir@codesourcery.com>
11236
61ff14c6 11237 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 11238
1f31650a
VP
112392009-03-12 Vladimir Prus <vladimir@codesourcery.com>
11240
61ff14c6
JK
11241 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
11242 include the token in ^running and frame info in *stopped.
1f31650a 11243
a3247a22
PP
112442009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11245
11246 * solib-display.exp: New file.
11247 * solib-display-main.c: New file.
11248 * solib-display-lib.c: New file.
61ff14c6 11249
aae64587
PA
112502009-03-05 Pedro Alves <pedro@codesourcery.com>
11251
11252 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
11253
44aabfbc
JK
112542009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
11255
11256 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
11257 (list_and_check_macro): Use more specific test name.
11258 (next to definition): Make the test names unique.
11259
c087fcd3
PM
112602009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
11261
11262 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 11263
c86cf029
VP
112642009-02-17 Vladimir Prus <vladimir@codesourcery.com>
11265
11266 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
11267 notifications.
11268 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
11269 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
11270 * lib/mi-support.exp (library_loaded_re): New.
11271 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
11272
3ea85240
VP
112732009-02-17 Vladimir Prus <vladimir@codesourcery.com>
11274
11275 * gdb.gdb/observer.exp: Use test_notification observer, not
11276 normal_stop, everywhere.
11277 (test_normal_stop_notifications): Rename to...
11278 (test_notifications): ...this.
11279 (test_observer_normal_stop): Rename to...
11280 (test_observer): ...this.
11281
1903f0e6
DE
112822009-02-16 Doug Evans <dje@google.com>
11283
11284 * gdb.arch/amd64-disp-step.S (test_int3): New test.
11285 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
11286 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
11287 (test_prefixed_syscall,test_int3): New tests.
11288 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
11289 (test_prefixed_syscall,test_int3): New tests.
11290
1d33d6ba
VP
112912009-02-14 Vladimir Prus <vladimir@codesourcery.com>
11292
3cb51905
AS
11293 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
11294 (mi_expect_interrupt): Likewise.
11295 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
11296 response.
1d33d6ba 11297
faafb047
PM
112982009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
11299
11300 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
11301 * gdb.base/pc-fp.exp (get_valueofx): Remove.
11302 Replace calls to get_valueofx by get_hexadecimal_valueof.
11303
417e16e2
PM
113042009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
11305
11306 * lib/gdb.exp (get_valueof): Accept anything as a return value.
11307 (get_integer_valueof): New procedure.
11308 (get_sizeof): Use new get_integer_value_of.
11309 * gdb.base/sizeof.exp: Replace all uses of get_valueof
11310 by get_integer_valueof.
11311
7065b901
TT
113122009-02-13 Tom Tromey <tromey@redhat.com>
11313
11314 * gdb.base/remote.exp (get_sizeof): Remove.
11315 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
11316 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
11317 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
11318 * lib/gdb.exp (get_valueof): Move from long_long.exp.
11319 (get_sizeof): Likewise.
11320
5d7cb8df
JK
113212009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11322
11323 PR fortran/9806
11324 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
11325
b2febfff
PP
113262009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11327
11328 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
11329
4aa995e1
PA
113302009-02-06 Pedro Alves <pedro@codesourcery.com>
11331
11332 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
11333
d8906c6f
TJB
113342009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
11335
11336 * gdb.python/python-cmd.exp: New file.
11337
ff4ab08d
TG
113382009-02-06 Tristan Gingold <gingold@adacore.com>
11339
11340 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
11341
aacd552b
TG
113422009-02-05 Tristan Gingold <gingold@adacore.com>
11343
11344 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
11345 pointer is dereferenced and use this signal name in regexp.
11346 * gdb.base/signull.exp: Ditto.
11347 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
11348 * gdb.base/signull.c (main): Ditto.
11349
08c637de
TJB
113502009-02-04 Tom Tromey <tromey@redhat.com>
11351 Thiago Jung Bauermann <bauerman@br.ibm.com>
11352
11353 * gdb.python/python-value.exp: Use `gdb.history' instead of
11354 `gdb.value_from_history'.
11355 (test_value_numeric_ops): Add test for conversion of enum constant.
11356 * gdb.python/python-value.c (enum e): New type.
11357 (evalue): New global.
11358 (main): Use argv.
11359
20261af8
JG
113602009-02-04 Jerome Guitton <guitton@adacore.com>
11361
11362 * gdb.ada/uninitialized_vars: New test program.
11363 * gdb.ada/uninitialized_vars.exp: New testcase.
11364
52e44b43
TT
113652009-02-02 Tom Tromey <tromey@redhat.com>
11366
11367 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
11368 * gdb.cp/pr2489.cc: Rename...
11369 * gdb.cp/pr9594.cc: ... to this.
11370
1c71341a
TT
113712009-02-02 Tom Tromey <tromey@redhat.com>
11372
11373 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
11374 * gdb.cp/pr2489.cc: New file.
11375 * gdb.cp/cpcompletion.exp: New file.
11376
a4295225
TT
113772009-02-02 Tom Tromey <tromey@redhat.com>
11378
11379 PR exp/9059:
11380 * gdb.cp/call-c.exp: Add regression test.
11381 * gdb.cp/call-c.cc (FooHandle): New typedef.
11382 (main): New variable 'handle'.
11383
592375cd
VP
113842009-01-30 Vladimir Prus <vladimir@codesourcery.com>
11385
11386 * lib/mi-support.exp (et_mi_thread_list)
11387 (check_mi_and_console_threads): Adjust for current thread in
11388 -thread-list-ids output.
11389
41447f92
VP
113902009-01-30 Vladimir Prus <vladimir@codesourcery.com>
11391
889bf7c5
PA
11392 * gdb.mi/mi-break.exp (test_disabled_creation): New.
11393 Call it.
41447f92 11394
35669430
DE
113952009-01-28 Doug Evans <dje@google.com>
11396
11397 * gdb.arch/amd64-disp-step.S: New file.
11398 * gdb.arch/amd64-disp-step.exp: New file.
11399 * gdb.arch/i386-disp-step.S: New file.
11400 * gdb.arch/i386-disp-step.exp: New file.
11401
09f00d9a
PM
114022009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
11403
11404 * gdb.base/find.exp: Set newline variable
11405 using quotes instead of braces to fix cygwin failures.
11406
1e8fb976
PA
114072009-01-23 Pedro Alves <pedro@codesourcery.com>
11408
11409 * gdb.base/radix.exp: Add tests to ensure that that set
11410 input-radix 0 and set output-radix 0 are really rejected.
11411
da061712
PA
114122009-01-23 Pedro Alves <pedro@codesourcery.com>
11413
11414 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
11415 copyright years.
11416
dd7e2d2b
PA
114172009-01-23 Pedro Alves <pedro@codesourcery.com>
11418
11419 PR gdb/9664:
11420 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
11421
392452f6
PA
114222009-01-22 Pedro Alves <pedro@codesourcery.com>
11423
11424 PR c++/9631:
11425 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
11426
8653e71c
PM
114272009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
11428
11429 * gdb.server/file-transfer.exp: Use EXEEXT variable for
11430 binfile definition to fix Windows OS failure.
11431
a12cc160
DJ
114322009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
11433
11434 PR gdb/9346
11435 * gdb.base/interrupt.c (sigint_handler): New.
11436 (main): Install a SIGINT handler if SIGNALS is defined. Exit
11437 on error.
11438 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
11439 Test "signal SIGINT".
11440
b89667eb
DE
114412009-01-19 Doug Evans <dje@google.com>
11442
11443 * gdb.base/break.exp: Update expected gdb output.
11444 * gdb.base/sepdebug.exp: Ditto.
11445 * gdb.mi/mi-syn-frame.exp: Ditto.
11446 * gdb.mi/mi2-syn-frame.exp: Ditto.
11447 * gdb.base/call-signal-resume.exp: New file.
11448 * gdb.base/call-signals.c: New file.
11449 * gdb.base/unwindonsignal.exp: New file.
11450 * gdb.base/unwindonsignal.c: New file.
11451 * gdb.threads/interrupted-hand-call.exp: New file.
11452 * gdb.threads/interrupted-hand-call.c: New file.
11453 * gdb.threads/thread-unwindonsignal.exp: New file.
11454
adb483fe
DJ
114552009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
11456
11457 * gdb.base/define.exp: Test defining and hooking prefix commands.
11458 * gdb.python/python.exp: Update test for "show user" output.
11459
60023297
JK
114602009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11461
11462 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
11463 now the output exactly, using less wildcards. Expect also the output
11464 of gfortran-4.3. Update for the f-valprint.c modification from
11465 2008-04-22.
11466 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
11467 Remove gdb_test test names where matching the command.
11468
ccc57cf9
PA
114692009-01-01 Pedro Alves <pedro@codesourcery.com>
11470
11471 PR breakpoints/9681:
11472 * gdb.base/watchpoint.exp: Add regression test.
11473
c7a6ca08
PA
114742008-12-31 Pedro Alves <pedro@codesourcery.com>
11475
11476 * gdb.threads/attach-into-signal.exp: Don't use
11477 gdb_suppress_entire_file.
11478 * gdb.threads/attach-stopped.exp: Ditto.
11479 * gdb.threads/attachstop-mt.exp: Ditto.
11480
3a031f65
PA
114812008-12-31 Pedro Alves <pedro@codesourcery.com>
11482
11483 PR gdb/8812:
11484 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
11485
09e6485f
PA
114862008-12-29 Pedro Alves <pedro@codesourcery.com>
11487
11488 PR gdb/7536:
11489 * gdb.base/radix.exp: Add tests to ensure invalid input radices
11490 and unsupported output radices are really rejected.
11491
0cd53049
JK
114922008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
11493
11494 * gdb.cp/punctuator.exp: Backslash the '$' signs.
11495
ba163c7e
TT
114962008-12-22 Tom Tromey <tromey@redhat.com>
11497
11498 * gdb.cp/punctuator.exp: New file.
11499
6f4de6c9
JK
115002008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11501
11502 * gdb.base/completion.exp (Completing non-existing component): New test.
11503
0f34d0b4
JK
115042008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11505
11506 Fix for PR gdb/8648.
11507 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
11508 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
11509 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
11510 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
11511
db2ad4c3
JK
115122008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11513
11514 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
11515
bb5ef15e
DP
115162008-12-16 Christophe Lyon <christophe.lyon@st.com>
11517
11518 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
11519 compiler actually generate code at the expected line number.
11520
90142adc
JZ
115212008-12-15 Jie Zhang <jie.zhang@analog.com>
11522
11523 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
11524
fad6eecd
TT
115252008-12-12 Tom Tromey <tromey@redhat.com>
11526
11527 * gdb.base/commands.exp (redefine_hook_test): New proc.
11528 Call it.
11529
17c8aaf5
TT
115302008-12-11 Tom Tromey <tromey@redhat.com>
11531
11532 * gdb.base/macscp.exp: New regression test.
11533
7c8adf68
TT
115342008-12-11 Tom Tromey <tromey@redhat.com>
11535
11536 * gdb.base/macscp.exp: Print "address.addr".
11537 * gdb.base/macscp1.c (struct outer): New struct.
11538 (address): New global.
11539
b05dcbb7
TT
115402008-12-09 Tom Tromey <tromey@redhat.com>
11541
11542 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
11543 Call it.
11544
2d476de1
DE
115452008-12-04 Doug Evans <dje@google.com>
11546
11547 * gdb.server/ext-run.exp: Relax regexp for init program.
11548
87bdc959
TG
115492008-12-03 Tristan Gingold <gingold@adacore.com>
11550
11551 * gdb.base/macscp.exp: Generate an object file during compilation
11552 to work around Darwin dsymutil limitations.
11553
e0740f77
JK
115542008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11555
11556 Test resolving external references to TLS variables.
11557 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
11558 FILE2_THREAD_LOCAL.
11559 (testfile2, srcfile2): New variables.
11560 * gdb.threads/tls.c (file2_thread_local)
11561 (function_referencing_file2_thread_local): New.
11562 * gdb.threads/tls2.c: New file.
11563
67f0aac5
JB
115642008-11-28 Joel Brobecker <brobecker@adacore.com>
11565
11566 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
11567 rather than integer, as integer might not be big enough when
11568 on 64bit targets.
67f0aac5 11569
c332165e
JG
115702008-11-27 Jerome Guitton <guitton@adacore.com>
11571
11572 * gdb.cp/formatted-ref.exp: Add equality test.
11573 * gdb.ada/formatted_ref.exp: Ditto.
11574
fc9b693c
JK
115752008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11576
11577 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
11578 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
11579
a9c64011
AS
115802008-11-20 Andreas Schwab <schwab@suse.de>
11581
11582 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
11583 matching syscall entry point.
11584 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
11585 (tcatch_vfork_then_child_follow): Likewise. Finish through
11586 vfork even if we stopped at the syscall trampoline.
11587
e2fd701e
DE
115882008-11-20 Doug Evans <dje@google.com>
11589
11590 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
11591
69abc51c
TJB
115922008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
11593
11594 * gdb.arch/ppc-dfp.exp: New file.
11595 * gdb.arch/ppc-dfp.c: New file.
11596
c14c28ba
PP
115972008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11598
11599 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 11600
2e74121d
DE
116012008-11-17 Doug Evans <dje@google.com>
11602
11603 * gdb.mi/mi-syn-frame.exp: Update expected output.
11604 * gdb.mi/mi2-syn-frame.exp: Update expected output.
11605
66bb093b
VP
116062008-11-17 Vladimir Prus <vladimir@codesourcery.com>
11607
11608 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
11609 "thread N" results in =thread-selected.
11610 * lib/mi-support (mi_run_cmd, mi_expect_stop)
11611 (mi_send_resuming_command_raw): Be prepared for
11612 =thread-selected.
11613
3d043ef6
VP
116142008-11-17 Vladimir Prus <vladimir@codesourcery.com>
11615
a9c64011
AS
11616 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
11617 * lib/mi-support.exp: Likewise.
3d043ef6 11618
808104c8
JB
116192008-11-16 Joel Brobecker <brobecker@adacore.com>
11620
11621 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
11622 commands from the expected output for "help catch".
11623
00b22944
JB
116242008-11-15 Joel Brobecker <brobecker@adacore.com>
11625
11626 * gdb.ada/int_deref.exp: New testcase.
11627
59669435
TT
116282008-11-14 Nick Roberts <nickrob@snap.net.nz>
11629
11630 * gdb.mi/gdb2549.exp: New file.
11631
de04a248
DE
116322008-11-11 Doug Evans <dje@google.com>
11633
11634 * gdb.base/callexit.exp: New file.
11635 * gdb.base/callexit.c: New file.
11636
6b8ce727
DE
116372008-11-10 Doug Evans <dje@google.com>
11638
11639 * lib/gdb.exp (GDBFLAGS): Move -nx ...
11640 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
11641 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
11642 (default_gdb_start,default_gdb_exit): Ditto.
11643 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
11644 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
11645 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
11646 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
11647 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
11648 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
11649
1b14b8aa
AS
116502008-11-03 Andreas Schwab <schwab@suse.de>
11651
11652 * gdb.base/hashline2.exp: Fix typo.
11653 * gdb.base/hashline3.exp: Likewise.
11654
f3134b88
TT
116552008-10-30 Tom Tromey <tromey@redhat.com>
11656
11657 * gdb.base/pointers.exp: Add test.
11658 * gdb.base/pointers.c (k, S): New typedefs.
11659 (instance): New global.
11660
c2226152
AS
116612008-10-30 Andreas Schwab <schwab@suse.de>
11662
11663 * gdb.base/args.exp: Add tests for newlines.
11664
462f405c
JB
116652008-10-30 Joel Brobecker <brobecker@adacore.com>
11666
11667 gdb.base/foll-exec.exp: Update the expected output of a couple
11668 of "info breakpoints" tests.
11669
79a45b7d
TT
116702008-10-28 Tom Tromey <tromey@redhat.com>
11671
11672 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
11673
adc13a14
PA
116742008-10-24 Pedro Alves <pedro@codesourcery.com>
11675
11676 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
11677 gdb_start_cmd.
11678 Use runto_main before any test that requires execution.
11679
252fbfc8
PA
116802008-10-23 Pedro Alves <pedro@codesourcery.com>
11681
11682 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
11683 instead of SIGINT.
11684
28148e3d
JB
116852008-10-22 Joel Brobecker <brobecker@adacore.com>
11686
11687 * gdb.base/completion.exp: Update expected output following
11688 the addition of the "info tasks" command.
11689
c209f847
TT
116902008-10-22 Tom Tromey <tromey@redhat.com>
11691
11692 * gdb.base/exprs.exp (test_expr): Add test for string
11693 concatenation.
11694
f177e350
PA
116952008-10-19 Pedro Alves <pedro@codesourcery.com>
11696
11697 * configure.ac: Output gdb.python/Makefile.
11698 * configure: Regenerate.
11699 * gdb.python/Makefile.in: New.
11700
cce89356
JB
117012008-10-16 Joel Brobecker <brobecker@adacore.com>
11702
11703 * gdb.base/foll-fork.exp: Adjust the expected output to match
11704 the new description for fork/vfork catchpoints in the "info
11705 breakpoints" output.
11706
176d289d
TJB
117072008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
11708
11709 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
11710
a08702d6
TJB
117112008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
11712
11713 * gdb.python/python-value.c: New file.
11714 * gdb.python/python-value.exp: New file.
11715
1c5cfe86
PA
117162008-10-15 Pedro Alves <pedro@codesourcery.com>
11717
11718 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
11719
5a98ad69
DP
117202008-10-15 Denis Pilat <denis.pilat@st.com>
11721
41702f1b 11722 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 11723
dcb1a1e2
TT
117242008-10-09 Tom Tromey <tromey@redhat.com>
11725
11726 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
11727 'fprintf' and 'stderr'.
11728
9124fe48
JB
117292008-10-07 Joel Brobecker <brobecker@adacore.com>
11730
11731 * gdb.ada/ref_tick_size.exp: New testcase.
11732
45452591
DE
117332008-10-06 Doug Evans <dje@google.com>
11734
11735 * gdb.dwarf2/dw2-cu-size.exp: New file.
11736 * gdb.dwarf2/dw2-cu-size.S: New file.
11737
11738 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
11739 .Ltype_int for clarity.
11740
4fc5b208
PP
117412008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
11742
11743 PR gdb/2384:
11744 * gdb.cp/gdb2384.exp: Extended to test more cases.
11745 * gdb.cp/gdb2384.cc: Likewise.
11746 * gdb.cp/gdb2384-base.h: Likewise.
11747 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 11748
d78df370
JK
117492008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11750
11751 * gdb.base/maint.exp (maint print type): Remove printing
11752 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
11753
9a044a89
TT
117542008-09-30 Tom Tromey <tromey@redhat.com>
11755
11756 * gdb.base/macscp.exp: Add completion tests.
11757 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
11758 (TWENTY_THREE): Likewise.
11759 (FORTY_EIGHT): Likewise.
11760
506800a9
TT
117612008-09-30 Tom Tromey <tromey@redhat.com>
11762
11763 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
11764 everywhere.
11765 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
11766
1a6f01b5
JK
117672008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11768
11769 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
11770 testcase is derived from. Fix racy dependency on an expected PID
11771 number. No longer support the testcase on Linux kernel 2.4.x.
11772
2fae03e8
TT
117732008-09-27 Tom Tromey <tromey@redhat.com>
11774
11775 * gdb.base/macscp.exp: Add tests for stringification, splicing,
11776 and varargs.
11777
1ad15515
PA
117782008-09-22 Pedro Alves <pedro@codesourcery.com>
11779
11780 * lib/mi-support.exp (mi_expect_interrupt): New.
11781 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
11782 from gdb.mi/mi-nonstop.exp.
11783 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
11784 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
11785 lib/mi-support.exp.
11786 Use mi_check_thread_states throughout. Avoid ".*" and do not
11787 require an anchor after -exec-run.
11788
d0b76dc6
DJ
117892008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
11790
11791 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
11792 stop is pending. Avoid ".*" when two stops are pending.
11793 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
11794 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
11795 newlines in fullnames.
11796 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
11797 (mi_expect_stop): Update comments. Only anchor in sync mode.
11798 Do not match newlines.
11799 (mi_send_resuming_command_raw): Always return status.
11800 (mi_get_stop_line): Do not match more than one line by accident.
11801 Only anchor in sync mode.
11802 (mi_run_inline_test): If -exec-next fails, give up.
11803
9990c830
UW
118042008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11805
11806 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
11807 on SPU.
11808
ebcf6f00
JB
118092008-09-10 Joel Brobecker <brobecker@adacore.com>
11810
11811 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
11812
b6db24e5
JB
118132008-09-10 Joel Brobecker <brobecker@adacore.com>
11814
11815 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
11816 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
11817 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
11818 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
11819 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
11820 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
11821 gdb.ada/interface.exp, gdb.ada/null_array.exp,
11822 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
11823 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
11824 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
11825 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
11826 Include the "= " sequence in the expected output of print tests.
11827
2bf448e0
JB
118282008-09-10 Joel Brobecker <brobecker@adacore.com>
11829
11830 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
11831 description for boolean types.
11832
d51fd4c8
PA
118332008-09-09 Pedro Alves <pedro@codesourcery.com>
11834
11835 * gdb.base/hook-stop-continue.c: New.
11836 * gdb.base/hook-stop-continue.exp: New.
11837
694182d2
DJ
118382008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
11839
11840 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
11841
3b8a7fc0
JG
118422008-09-08 Jerome Guitton <guitton@adacore.com>
11843
11844 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
11845 (stack_check_probe_2, stack_check_probe_loop_1)
11846 (stack_check_probe_loop_2): New functions.
11847 (main): Add call to these new functions.
11848 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
11849 functions, check that the breakpoint is inserted at the appropriate
11850 location.
11851 (insert_breakpoint): Slightly refine this procedure so that it can
11852 be called several times in the test.
11853
96cc0ae8
JG
118542008-09-08 Jerome Guitton <guitton@adacore.com>
11855
11856 * gdb.base/stack-checking.c: New file.
11857 * gdb.base/stack-checking.exp: New file.
11858
1f08b409
TJB
118592008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
11860
11861 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
11862 * gdb.arch/altivec-regs.exp: Likewise.
11863 * gdb.arch/vsx-regs.exp: Likewise.
11864
3099e1c4
TJB
118652008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
11866
11867 * gdb.arch/ppc-fp.exp: New file.
11868 * gdb.arch/ppc-fp.c: New file.
11869
cc69bfc1
PP
118702008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11871
11872 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
11873 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 11874
b02a33db
MS
118752008-09-04 Michael Snyder <msnyder@vmware.com>
11876
11877 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
11878 as "at" (for non-debug functions such as _start).
11879
2992cbe0
UW
118802008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11881
11882 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
11883 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
11884 software watchpoints.
11885 * gdb.base/watch_thread_num.exp: Likewise.
11886
514f746b
AR
118872008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
11888
11889 * gdb.arch/i386-bp_permanent.exp: New test.
11890
876cecd0
TT
118912008-08-24 Tom Tromey <tromey@redhat.com>
11892
11893 * gdb.base/maint.exp: Update "maint print type".
11894
80f73d71
VP
118952008-08-21 Vladimir Prus <vladimir@codesourcery.com>
11896
11897 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
11898 support. Adjust the order of "*running" notifications.
11899 * gdb.mi/non-stop.c: Don't cast from int to void* and
11900 back.
11901
d9c78d7d
MK
119022008-08-20 Mark Kettenis <kettenis@gnu.org>
11903
11904 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
11905 expect to find it in the "info frame" output.
11906
97a2d1d3
DJ
119072008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
11908
11909 * gdb.base/interp.exp: Always consume both prompts.
11910
b96e2927
PA
119112008-08-20 Pedro Alves <pedro@codesourcery.com>
11912
11913 * gdb.base/pending.exp: Test pending breakpoints without symbols
11914 loaded.
11915
8cf6e61a
VP
119162008-08-19 Vladimir Prus <vladimir@codesourcery.com>
11917
11918 * lib/mi-support.exp (mi_expect_stop): Produce
11919 more details on failures.
11920 * gdb.mi/mi-nonstop.exp: New.
11921 * gdb.mi/non-stop.c: New.
11922
c6ebd6cf
VP
119232008-08-19 Vladimir Prus <vladimir@codesourcery.com>
11924
a9c64011
AS
11925 * gdb.mi/mi-async.exp: Use 'set target-async'.
11926 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 11927
46a9b8ed
DJ
119282008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
11929
11930 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
11931
44feb3ce
TT
119322008-08-17 Tom Tromey <tromey@redhat.com>
11933
11934 * gdb.base/help.exp (help catch): Rewrite.
11935
311a4e6b
TJB
119362008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
11937
11938 * gdb.base/define.exp: Test indented command documentation.
11939 * gdb.python/python.exp: Test indented multi-line command.
11940
604c2f83
LM
119412008-08-15 Luis Machado <luisgpm@br.ibm.com>
11942
11943 * testsuite/gdb.arch/vsx-regs.c: New source file.
11944 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
11945 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
11946
886a217c
TT
119472008-08-14 Tom Tromey <tromey@redhat.com>
11948
11949 * gdb.base/macscp.exp: Add regression test for "macro define" or
11950 "macro undef" with no arguments.
11951
c814a4f3
PP
119522008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11953
11954 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 11955
12ab8a60
UW
119562008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11957
11958 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
11959
d57a3c85
TJB
119602008-08-06 Tom Tromey <tromey@redhat.com>
11961
11962 * gdb.python/python.exp: New file.
11963
c7b778ff
JK
119642008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
11965
11966 Fix for PR gdb/1543.
11967 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
11968 $LOCATION.
11969 (location): New variable.
11970 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
11971 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
11972 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
11973 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
11974 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
11975 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
11976 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
11977 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
11978 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
11979 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
11980 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
11981 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
11982 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
11983 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
11984 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
11985 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
11986 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
11987 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
11988 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
11989 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
11990 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
11991 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
11992 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
11993 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
11994 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
11995 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
11996 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
11997 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
11998 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
11999 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
12000 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
12001 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
12002 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
12003 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
12004 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
12005 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
12006 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
12007 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
12008 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
12009 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
12010 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
12011 gdb.base/type-opaque.exp, gdb.base/until.exp,
12012 gdb.base/value-double-free.c, gdb.base/varargs.exp,
12013 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
12014 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
12015 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
12016 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
12017 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
12018 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
12019 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
12020 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
12021 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
12022 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
12023 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
12024 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
12025 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
12026 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
12027 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
12028 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
12029 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
12030 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
12031 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
12032 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
12033 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
12034 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
12035 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
12036 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
12037 gdb.pascal/types.exp, gdb.stabs/weird.exp,
12038 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
12039 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
12040 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
12041 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
12042 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
12043 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
12044 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
12045 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
12046 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
12047 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
12048 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
12049 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
12050 lib/mi-support.exp, lib/trace-support.exp: Remove reference
12051 to bug-gdb@prep.ai.mit.edu .
12052
5e06a3d1
VP
120532008-07-31 Vladimir Prus <vladimir@codesourcery.com>
12054
12055 * lib/mi-support.exp (mi_load_shlibs): New.
12056 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
12057
9d81d21b
VP
120582008-07-30 Vladimir Prus <vladimir@codesourcery.com>
12059
12060 * lib/mi-support.exp (get_mi_thread_list)
12061 (check_mi_and_console_threads): New, moved from ...
12062 * gdb.mi/mi-pthread.exp: ...here.
12063 * gdb.mi/gdb669.exp (get_mi_thread_list)
12064 (check_mi_and_console_threads): Delete.
12065 * gdb.mi/mi2-pthread.exp: Likewise.
12066
bae98fe0
TT
120672008-07-28 Tom Tromey <tromey@redhat.com>
12068
12069 * Makefile.in (just-check): Remove. Move body to...
12070 (check): ... here.
12071
57380f4e
DJ
120722008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
12073
12074 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
12075 Add a test for duplicated SIGINTs.
12076
e09490f1
DJ
120772008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
12078
12079 * gdb.threads/schedlock.exp (get_args): Update to work for any
12080 value of NUM.
12081 (Top level): Report the number of threads that did not resume.
12082
6387b45f
DJ
120832008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
12084
12085 * gdb.dwarf2/dw2-compressed.S: Also define __start.
12086
62f64ff2
DJ
120872008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
12088
12089 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
12090 non-MI prompt.
12091
fa8de41e
TT
120922008-07-26 Tom Tromey <tromey@redhat.com>
12093
12094 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
12095 (function_struct, function_struct_ptr): New globals.
12096 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
12097 function pointer in a struct.
12098
ccb3ac8a
TT
120992008-07-26 Tom Tromey <tromey@redhat.com>
12100
12101 * gdb.base/macscp.exp: Add test for macro lexing bug.
12102
d7d9f01e
TT
121032008-07-18 Tom Tromey <tromey@redhat.com>
12104
12105 * gdb.base/macscp.exp: Add macro tests.
12106
9bf07184
PP
121072008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
12108
12109 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
12110
becf6477
PP
121112008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
12112
12113 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
12114
0709f7d3
PP
121152008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
12116
12117 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 12118
7093c834
PP
121192008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
12120
12121 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 12122
b432ffe3
JK
121232008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12124
12125 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
12126
b1a268e5
VP
121272008-07-12 Vladimir Prus <vladimir@codesourcery.com>
12128
12129 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
12130
e2995f8e
KB
121312008-07-11 Kevin Buettner <kevinb@redhat.com>
12132
12133 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
12134 of regexp to account for changes made to GDB in the printing of
12135 byte vectors.
12136
14032a66
TT
121372008-07-11 Tom Tromey <tromey@redhat.com>
12138
12139 * gdb.base/completion.exp: Add 'help' completion test.
12140
981505ef
JK
121412008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
12142
12143 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
12144
10568435
JK
121452008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
12146
12147 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
12148
4487aabf
PA
121492008-07-09 Pedro Alves <pedro@codesourcery.com>
12150
12151 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
12152
a4a9b1c4
PA
121532008-07-09 Pedro Alves <pedro@codesourcery.com>
12154
12155 * gdb.base/fullname.exp: Restore pwd if compiling failed.
12156
3c3185ac
JK
121572008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12158
12159 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
12160
7ebd49dc
VP
121612008-06-28 Vladimir Prus <vladimir@codesourcery.com>
12162
12163 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
12164 previous commit. Add a comment.
12165
84e46146
PA
121662008-06-28 Pedro Alves <pedro@codesourcery.com>
12167
12168 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
12169
0f8d4a2f
VP
121702008-06-28 Vladimir Prus <vladimir@codesourcery.com>
12171
12172 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
12173
f747e0ce
PA
121742008-06-27 Pedro Alves <pedro@codesourcery.com>
12175
12176 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
12177 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
12178 compiling an executable, link in an object that forces unbuffered
12179 output.
12180 * lib/set_unbuffered_mode.c: New file.
12181
734a5c36
JK
121822008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12183
12184 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
12185
a2840c35
VP
121862008-06-25 Vladimir Prus <vladimir@codesourcery.com>
12187
a9c64011
AS
12188 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
12189 mi_expect_stop.
12190 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
12191 Demand that *running is output.
12192 (detect_async): Perform checking every time.
12193 (mi_send_resuming_command): Extract everything into...
12194 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
12195 (mi_expect_stop): Don't accept any output before *stopped.
12196
6ae37fef
VP
121972008-06-13 Vladimir Prus <vladimir@codesourcery.com>
12198
12199 Robustify mi-simplerun.
a9c64011
AS
12200 * gdb.mi/basics.c (main): Add a call to sleep.
12201 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
12202 * gdb.mi/mi2-cli.exp: Likewise.
12203 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 12204
b4aa76f0 122052008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
12206
12207 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
12208
e1ac3328
VP
122092008-06-10 Vladimir Prus <vladimir@codesourcery.com>
12210
a9c64011
AS
12211 * gdb.mi/mi-console.exp: Adjust.
12212 * gdb.mi/mi-syn-frame.exp: Adjust.
12213 * gdb.mi/mi2-console.exp: Adjust.
12214 * gdb.mi/mi2-syn-frame.exp: Adjust.
12215 * lib/mi-support.exp (mi_run_cmd): Adjust.
12216 (mi_send_resuming_command): Adjust.
e1ac3328 12217
f7f9a841
VP
122182008-06-10 Vladimir Prus <vladimir@codesourcery.com>
12219
12220 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
12221 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
12222 testing of stopped.
12223 * gdb.mi/mi2-syn-frame.exp: Likewise.
12224 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
12225 (async, detect_async): New.
12226 (mi_expect_stop, mi_continue_to_line): Adjust expectation
12227 depending on if we're running in sync or async mode.
f7f9a841 12228
37cd5d19
TT
122292008-06-09 Tom Tromey <tromey@redhat.com>
12230
12231 * gdb.base/completion.exp: New tests for field name completion
12232 with spaces, and field name completion with '->'.
12233
65d12d83
TT
122342008-06-06 Tom Tromey <tromey@redhat.com>
12235
12236 * gdb.base/break1.c (struct some_struct): New struct.
12237 (values): New global.
12238 * gdb.base/completion.exp: Add field name completion test.
12239
ebfe2e3f
PP
122402008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12241
12242 * gdb.cp/call-c.exp: Test for incorrect handling of reference
12243 to pointer.
12244 * gdb.cp/call-c.cc: Likewise.
12245
bcf6fc3a
NR
122462008-06-06 Nick Roberts <nickrob@snap.net.nz>
12247
12248 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
12249 annotation.
12250
49fd4a42 122512008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 12252 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
12253
12254 * gdb.threads/execl.c, gdb.threads/execl1.c,
12255 gdb.threads/execl.exp: New tests.
a9c64011 12256
8a34ac3f
AR
122572008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
12258 Daniel Jacobowitz <dan@codesourcery.com>
12259
12260 * gdb.cp/exception.exp: Activate test, make it work with pending
12261 catchpoints.
12262
86ae69ef
JK
122632008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
12264
12265 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
12266
f7f9ae2c
VP
122672008-05-28 Vladimir Prus <vladimir@codesourcery.com>
12268
a9c64011
AS
12269 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
12270 now printed.
12271 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 12272
2a2d4dc3
AS
122732008-05-27 Andreas Schwab <schwab@suse.de>
12274
12275 * gdb.base/frame-args.exp: Handle arguments that are optimized
12276 out.
12277
5099e4d9
LM
122782008-05-26 Luis Machado <luisgpm@br.ibm.com>
12279
12280 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
12281 quiet for ppc32 and group options into a single variable.
12282
d9c36a91
JB
122832008-05-23 Joel Brobecker <brobecker@adacore.com>
12284
12285 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
12286 of zero-size elements.
12287 * gdb.ada/null_array.exp: Test printing this new array.
12288
103a8671
JK
122892008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12290
12291 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
12292
07a4cc1a 122932008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
12294
12295 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
12296 of the "finish" command.
12297
55f996a7
NR
122982008-05-21 Nick Roberts <nickrob@snap.net.nz>
12299
12300 * gdb.base/annota1.exp: Test for new annotation.
12301
907fc202
UW
123022008-05-16 Pedro Alves <pedro@codesourcery.com>
12303
12304 * gdb.base/fixsection.exp: New file.
12305 * gdb.base/fixsection0.c: New file.
12306 * gdb.base/fixsection1.c: New file.
12307
e8f97270
UW
123082008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12309
12310 * gdb.base/annota1.exp: Accept printf@... in place of printf.
12311 * gdb.base/annota3.exp: Likewise.
12312
ac0bb574
NF
123132008-05-13 Nathan Froyd <froydnj@codesourcery.com>
12314
12315 * gdb.base/watch_thread_num.exp: Don't run tests that require
12316 watchpoints if the target doesn't support them.
12317
6fadd07a
DE
123182008-05-12 Doug Evans <dje@google.com>
12319
12320 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
12321
6e9a4a30
JB
123222008-05-09 Joel Brobecker <brobecker@adacore.com>
12323
12324 * gdb.ada/assign_1.exp: New testcase.
12325
08388c79
DE
123262008-05-09 Doug Evans <dje@google.com>
12327
a3c83fae
DE
12328 * gdb.base/find.exp: New file.
12329 * gdb.base/find.c: New file.
08388c79 12330
bd5ddfe8
DJ
123312008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
12332
12333 * gdb.base/commands.exp (watchpoint_command_test): Handle
12334 gdb,no_hardware_watchpoints.
12335 * gdb.base/float.exp: Allow ARM targets without floating point.
12336 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
12337
b5dd68e2 123382008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 12339 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
12340
12341 * gdb.ada/lang_switch: New test program.
12342 * gdb.ada/lang_switch.exp: New testcase.
12343
382d13d1
DE
123442008-05-05 Doug Evans <dje@google.com>
12345
12346 * gdb.base/help.exp (disassemble): Update expected help text.
12347
9dd789d0
PA
123482008-05-04 Pedro Alves <pedro@codesourcery.com>
12349
12350 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
12351
611c83ae
PA
123522008-05-04 Pedro Alves <pedro@codesourcery.com>
12353
12354 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
12355 different times.
12356
ff013f42
JK
123572008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
12358
12359 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
12360 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
12361 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
12362 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
12363
96dff6a2
VP
123642008-05-04 Vladimir Prus <vladimir@codesourcery.com>
12365
12366 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
12367 notification to appear.
12368
55cd6f92
DJ
123692008-05-04 Daniel Jacobowitz <dan@debian.org>
12370
12371 * gdb.base/fullname.c: New file.
12372 * gdb.base/fullname.exp: New file.
12373 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
12374
d705c43c
PA
123752008-05-03 Pedro Alves <pedro@codesourcery.com>
12376
12377 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
12378 expressions with macros.
12379
333222e1
JK
123802008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12381
12382 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
12383
5ac01682
DJ
123842008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
12385
12386 * gdb.base/completion.exp: Handle lack of other symbols beginning
12387 with "a".
12388
12389 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
12390
237fc4c9
PA
123912008-05-02 Jim Blandy <jimb@codesourcery.com>
12392
12393 * gdb.asm/asmsrc1.s: Add scratch space.
12394
ed5e9466
DJ
123952008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12396 Daniel Jacobowitz <dan@codesourcery.com>
12397
12398 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
12399 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
12400 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
12401
b39cc962
DJ
124022007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
12403
12404 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
12405
36d520f5
JB
124062008-05-01 Joel Brobecker <brobecker@adacore.com>
12407
12408 * gdb.base/info-target.exp: New testcase.
12409
8d4e3071
DJ
124102008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
12411
12412 * gdb.cp/hang.exp: Use .cc instead of .C.
12413 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
12414 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
12415
6f3f3097
DJ
124162008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
12417
12418 * gdb.base/gdb1250.exp: Remove perror.
12419 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
12420
5550a914
PA
124212008-04-30 Pedro Alves <pedro@codesourcery.com>
12422
12423 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
12424 .2byte.
12425
d848e687
DJ
124262008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
12427
12428 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
12429 (maybe_kfail): New.
12430
93b5768b
PA
124312008-04-25 Pedro Alves <pedro@codesourcery.com>
12432
12433 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
12434
721c02de
VP
124352008-04-24 Vladimir Prus <vladimir@codesourcery.com>
12436
a9c64011
AS
12437 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
12438 * gdb.mi/mi2-syn-frame.exp: Likewise.
12439 * lib/mi-support.exp: Likewise.
721c02de 12440
74960c60
VP
124412008-04-24 Vladimir Prus <vladimir@codesourcery.com>
12442
12443 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
12444 to specify regexp for the location to stop at.
12445 * gdb.base/break-always.c: New.
12446 * gdb.base/break-always.exp: New.
12447
d24317b4
VP
124482008-04-24 Vladimir Prus <vladimir@codesourcery.com>
12449
12450 * lib/mi-support.exp (mi_runto_helper): Adjust
12451 for the original-location field.
12452 (mi_create_breakpoint, mi_list_breakpoints): New.
12453 * gdb.mi/mi-break.exp: Adjust.
12454 * gdb.mi/mi2-break.exp: Adjust.
12455 * gdb.mi/mi-pending.exp: Adjust.
12456 * gdb.mi/mi-simplerun.exp: Adjust.
12457 * gdb.mi/mi2-simplerun.exp: Adjust.
12458 * gdb.mi/mi-syn-frame.exp: Adjust.
12459 * gdb.mi/mi2-syn-frame.exp: Adjust.
12460 * gdb.mi/mi-until.exp: Adjust.
12461 * gdb.mi/mi2-until.exp: Adjust.
12462 * gdb.mi/mi-var-display.exp: Adjust.
12463 * gdb.mi/mi2-var-display.exp: Adjust.
12464 * gdb.mi/mi-watch.exp: Adjust.
12465 * gdb.mi/mi2-watch.exp: Adjust.
12466
fdc59709 124672008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 12468
a9c64011
AS
12469 * aclocal.m4: Add override.m4.
12470 * configure: Regenerate.
fdc59709 12471
8e91f023
VP
124722008-04-19 Vladimir Prus <vladimir@codesourcery.com>
12473
12474 * gdb.mi/var-cmd.c (do_at_tests): Verify that
12475 '-var-update --all-values' reports new value even the type
12476 of a variable object has changed.
12477
233a11ab
CS
124782008-04-18 Craig Silverstein <csilvers@google.com>
12479
12480 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
12481 files.
d24317b4 12482
9c1137ad
JB
124832008-04-18 Joel Brobecker <brobecker@adacore.com>
12484
12485 * gdb.ada/atomic_enum: New test program.
12486 * gdb.ada/atomic_enum.exp: New testcase.
12487
66d0bbc7
DE
124882008-04-17 Doug Evans <dje@google.com>
12489
12490 * gdb.opt/Makefile.in: Fix whitespace.
12491
100906b0
UW
124922008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
12493
12494 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
12495
4584e32e
DE
124962008-04-17 Doug Evans <dje@google.com>
12497
12498 * gdb.base/hashline1.exp: New testcase.
12499 * gdb.base/hashline2.exp: New testcase.
12500 * gdb.base/hashline2.exp: New testcase.
12501
0a320680
PA
125022008-04-17 Pedro Alves <pedro@codesourcery.com>
12503
12504 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
12505
18ac113b
AR
125062008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
12507
12508 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
12509 temporary breakpoint to match "Temporary breakpoint".
12510 * gdb.base/break.exp (delete_breakpoints): Likewise.
12511 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
12512 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
12513 * gdb.base/display.exp: Likewise.
12514 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
12515 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
12516 * gdb.base/restore.exp (restore_tests): Likewise.
12517 * gdb.base/sepdebug.exp: Likewise.
12518 * gdb.base/watchpoint.exp: Likewise.
12519 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
12520 * gdb.mi/mi-pending.exp: Likewise.
12521 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
12522 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
12523 * gdb.mi/mi-var-cmd.exp: Likewise.
12524 * gdb.mi/mi-var-display.exp: Likewise.
12525 * gdb.mi/mi2-cli.exp: Likewise.
12526 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
12527 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
12528 * gdb.mi/mi2-var-display.exp: Likewise.
12529 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
12530 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
12531 new "disp" field.
a9c64011 12532 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
12533 reason. This is to support fix for PR2424.
12534
add38693
JK
125352008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12536
12537 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
12538
fcacd99f
VP
125392008-04-13 Vladimir Prus <vladimir@codesourcery.com>
12540
12541 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 12542 field. Add more floating varobj tests.
fcacd99f 12543 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
12544 field.
12545 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
12546 (main): Call do_at_tests.
12547 * lib/mi-support.exp (mi_create_floating_varobj)
12548 (mi_varobj_update_with_type_change): New.
fcacd99f 12549
de051565
MK
125502008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
12551
12552 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
12553 option of -var-evaluate-expression.
12554 * gdb.mi/mi2-var-display.exp: Likewise.
12555
dbc52822
VP
125562008-04-07 Vladimir Prus <vladimir@codesourcery.com>
12557
12558 Introduce test setup helpers.
a9c64011
AS
12559 * lib/gdb.exp (build_executable, clean_restart)
12560 (prepare_for_testing): New.
12561 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
12562 * gdb.base/return.exp: Likewise.
12563 * gdb.base/ending-run.exp: Likewise.
dbc52822 12564
473591da
NR
125652008-04-07 Nick Roberts <nickrob@snap.net.nz>
12566
12567 * gdb.mi/mi-async.exp: New test for asynchronous Machine
12568 Interface (MI) responses.
12569
2b2d9e11
VP
125702008-04-06 Vladimir Prus <vladimir@codesourcery.com>
12571
a9c64011
AS
12572 * gdb.cp/breakpoint.cc: New code to test conditions involving
12573 member variables.
12574 * gdb.cp/breakpoint.exp: Test condition involving member
12575 variables.
2b2d9e11 12576
bb378428
VP
125772008-04-05 Vladimir Prus <vladimir@codesourcery.com>
12578
12579 * lib/mi-support.exp (mi_expect_stop): New.
12580 (mi_run_cmd): Change the
12581 token. Use mi_send_resuming_command, use
12582 mi_expect_stop.
12583 (mi_execute_to_helper): Rename to mi_execute_to.
12584 (mi_send_resuming_command): Add more error patterns.
12585 (mi_wait_for_stop): Renamed to...
12586 (mi_get_stop_line): ...this.
12587 (mi_run_inline_test): Adjust.
12588
12589 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
12590 * gdb.mi/mi-console.exp: Likewise.
12591 * gdb.mi/mi-pending.exp: Likewise.
12592 * gdb.mi/mi-simplerun.exp: Likewise.
12593 * gdb.mi/mi-stack.exp: Likewise.
12594 * gdb.mi/mi-stepi.exp: Likewise.
12595 * gdb.mi/mi-syn-frame.exp: Add comment.
12596 * gdb.mi/mi-until.exp: Likewise.
12597 * gdb.mi/mi-var-display.exp: Likewise.
12598 * gdb.mi/mi-watch.exp: Likewise.
12599 * gdb.mi/mi2-cli.exp: Likewise.
12600 * gdb.mi/mi2-console.exp: Likewise.
12601 * gdb.mi/mi2-simplerun.exp: Likewise.
12602 * gdb.mi/mi2-stack.exp: Likewise.
12603 * gdb.mi/mi2-stepi.exp: Likewise.
12604 * gdb.mi/mi2-until.exp: Likewise.
12605 * gdb.mi/mi2-var-display.exp: Likewise.
12606 * gdb.mi/mi2-watch.exp: Likewise.
12607
62172bb9
UW
126082008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12609
12610 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
12611
12612 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
12613
a13e061a
PA
126142008-04-04 Pedro Alves <pedro@codesourcery.com>
12615
12616 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
12617 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
12618 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
12619 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
12620 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
12621 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
12622 expect an mi error duplicated in stderr.
12623
eae06beb
JB
126242008-04-03 Joel Brobecker <brobecker@adacore.com>
12625
12626 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
12627 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
12628 Add a couple of tests that verify the behavior when the new setting
12629 is set to "cancel" and "all".
12630 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
12631 "ask" before we start the testing.
12632
79c6ced6
AR
126332008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
12634
12635 * gdb.cp/casts.cc: Add class reference variables.
12636 * gdb.cp/casts.exp: New test cases for up/down casting references.
12637
6c2d1a6b
MK
126382008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
12639
12640 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
12641 instead of beginning to make an extra test pass.
12642 * gdb.mi/mi2-var-display.exp: Likewise.
12643
55b411d9
MR
126442008-03-31 Maciej W. Rozycki <macro@mips.com>
12645
12646 * gdb.base/break.exp: Mark failures as such. Fix formatting.
12647
c6140da2
MD
126482008-03-31 Markus Deuling <deuling@de.ibm.com>
12649 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12650
12651 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
12652 value. Add xfail for older kernels.
12653
79732189
AR
126542008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
12655
12656 Bring mi-support in line with gdb.exp.
12657 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
12658 (mi_gdb_start): New function.
12659
33c3676e
MR
126602008-03-28 Maciej W. Rozycki <macro@mips.com>
12661
12662 * gdb.mi/mi-var-cmd.exp: Fix a typo.
12663
92e28119
VP
126642008-03-26 Vladimir Prus <vladimir@codesourcery.com>
12665
12666 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
12667 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 12668
9e8e3afe
VP
126692008-03-26 Vladimir Prus <vladimir@codesourcery.com>
12670
12671 * lib/mi-support.exp (mi_create_varobj_checked): New.
12672 (mi_list_varobj_children): Allow to check for a
12673 value.
12674 (mi_list_array_varobj_children): New.
12675
12676 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
12677 and mi_list_varobj_children, as opposed to hardcoding
12678 expected strings.
12679 * gdb.mi/gdb701.exp: Likewise.
12680 * gdb.mi/gdb792.exp: Likewise.
12681 * gdb.mi/mi-var-block.exp: Likewise.
12682 * gdb.mi/mi-var-cmd.exp: Likewise.
12683 * gdb.mi/mi-var-invalidate.exp: Likewise.
12684 * gdb.mi/mi2-var-block.exp: Likewise.
12685 * gdb.mi/mi2-var-child.exp: Likewise.
12686 * gdb.mi/mi2-var-cmd.exp: Likewise.
12687 * gdb.mi/mi2-var-display.exp: Likewise.
12688
9df50351
JK
126892008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12690
12691 Fix random false FAILs on i386.
12692 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
12693
31e5d73a
DJ
126942008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
12695
12696 PR gdb/544
12697 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
12698
12f4afab
DJ
126992008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
12700
12701 PR gdb/544
12702 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
12703
b562a0cb
DJ
127042008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
12705
12706 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
12707 fixed PR gdb/544.
12708
17faa917
DJ
127092008-03-21 Pedro Alves <pedro@codesourcery.com>
12710
12711 * gdb.threads/fork-child-threads.exp: Test next over fork.
12712
6214f497
DJ
127132008-03-21 Chris Demetriou <cgd@google.com>
12714
12715 * gdb.base/break.exp (rbreak junk): New test for rbreak
12716 "Junk at end of arguments" issue.
12717
63092375
DJ
127182008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
12719
12720 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
12721 *& to work on created array elements.
12722 (Top level): Test print $pc with a file. Test string operations
12723 without a target.
12724 * gdb.base/ptype.exp: Do not expect *& to work on created array
12725 elements.
12726
b21991b0
DJ
127272008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
12728
12729 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
12730 gdb.threads/staticthreads.exp: Update exit query.
12731
c4b347c7
SL
127322008-03-07 Sandra Loosemore <sandra@codesourcery.com>
12733
12734 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
12735
fa4727a6
DJ
127362008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
12737
12738 * gdb.base/watchpoint.c (global_ptr, func4): New.
12739 (main): Call func4.
12740 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
12741 (test_inaccessible_watchpoint): New.
12742
2f34202f
MR
127432008-02-29 Maciej W. Rozycki <macro@mips.com>
12744
12745 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
12746 select the largest.
12747
0d6ba1b1
DJ
127482008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
12749
12750 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
12751 frames-invalid annotations.
12752
e691325a
PM
127532008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
12754
a9c64011 12755 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 12756
f85b5ecc
DE
127572008-02-27 Doug Evans <dje@google.com>
12758
12759 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
12760 for bug 1738.
12761 (breakpoint_to_handler_entry): Ditto.
12762
b40e7bf3
JB
127632008-02-27 Joel Brobecker <brobecker@adacore.com>
12764
12765 * gdb.base/ending-run.exp: Use the first line of code inside
12766 function body to test breakpoints.
12767 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
12768 location where the breakpoint is inserted when using the line
12769 where a function is declared. Fix typo in the description of
12770 one of the tests.
12771 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
12772
2faca73a
PM
127732008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
12774
12775 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 12776 tests.
2faca73a 12777
6f439c36
PM
127782008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
12779
12780 * gdb.base/args.exp: avoid same output for tests
12781 with single quotes.
12782
54e52265
VP
127832008-02-26 Vladimir Prus <vladimir@codesourcery.com>
12784
a9c64011
AS
12785 * gdb.base/annota1.exp: Adjust for 'info break'
12786 format changes.
12787 * gdb.base/annota3.exp: Likewise.
12788 * gdb.base/break.exp: Likewise.
12789 * gdb.base/condbreak.exp: Likewise.
12790 * gdb.base/pending.exp: Likewise.
12791 * gdb.base/sepdebug.exp: Likewise.
12792 * gdb.base/unload.exp: Likewise.
12793 * gdb.cp/ovldbreak.exp: Likewise.
12794 * gdb.mi/mi-pending.exp: Likewise.
54e52265 12795
897b09ca
DE
127962008-02-07 Doug Evans <dje@google.com>
12797
12798 * gdb.cp/mb-inline.exp: New.
12799 * gdb.cp/mb-inline.h: New.
12800 * gdb.cp/mb-inline1.cc: New.
12801 * gdb.cp/mb-inline2.cc: New.
12802
b1c32d35
PM
128032008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
12804
12805 * gdb.pascal/floats.pas: New test program.
12806 * gdb.pascal/floats.exp: New testcase.
12807
1a4ca44a
TJB
128082008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
12809
12810 * gdb.base/callfuncs.c (t_float_many_args): New function.
12811 (t_double_many_args): New function.
12812 * gdb.base/callfuncs.exp: Add tests for exceeding float
12813 and double parameters passed through the stack.
12814
439048e8
JB
128152008-02-05 Joel Brobecker <brobecker@adacore.com>
12816
12817 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
12818 gdb.ada/complete/foo.adb: New files.
12819 * gdb.ada/complete.exp: New testcase.
12820
81fe8080
DE
128212008-02-03 Doug Evans <dje@google.com>
12822
301f0ecf
DE
12823 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
12824
81fe8080
DE
12825 * gdb.cp/gdb2384.exp: New file.
12826 * gdb.cp/gdb2384.cc: New file.
12827 * gdb.cp/gdb2384-base.h: New file.
12828 * gdb.cp/gdb2384-base.cc: New file.
12829
4b071aec
DE
128302008-02-02 Doug Evans <dje@google.com>
12831
12832 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
12833
61137ba6
JB
128342007-02-01 Joel Brobecker <brobecker@adacore.com>
12835
12836 * gdb.ada/sym_print_name: New test program.
12837 * gdb.ada/sym_print_name.exp: New testcase.
12838
128392007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
12840
12841 * gdb.ada/nested/hello.adb: New file.
12842 * gdb.ada/nested.exp: New testcase.
12843 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
12844
98deb0da
VP
128452008-02-01 Vladimir Prus <vladimir@codesourcery.com>
12846
12847 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
12848 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
12849 don't cause future evaluations of function to report
12850 creation of internal breakpoints.
98deb0da 12851
723a2275
VP
128522008-02-01 Vladimir Prus <vladimir@codesourcery.com>
12853
12854 * gdb.mi/mi-break.exp (test_error): New.
12855 Call it.
12856
fb546a2f
LM
128572008-01-31 Luis Machado <luisgpm@br.ibm.com>
12858
12859 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
12860 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
12861
2d8fd90a
PM
128622008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
12863
12864 * gdb.pascal/integers.pas: New test program.
12865 * gdb.pascal/integers.exp: New testcase.
12866
a7fa0ded
PM
128672008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
12868
12869 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
12870
5e1a1926
TJB
128712008-01-30 Luis Machado <luisgpm@br.ibm.com>
12872
12873 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
12874 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
12875
8d04f9f0
JB
128762008-01-30 Paul Hilfinger <hilfinger@adacore.com>
12877
12878 * gdb.ada/formatted_ref: New test program.
12879 * gdb.ada/formatted_ref.exp: New testcase.
12880
12881 * gdb.cp/formatted-ref.cc: New file.
12882 * gdb.cp/formatted-ref.exp: New testcase.
12883
ce75a98f
JB
128842008-01-30 Joel Brobecker <brobecker@adacore.com>
12885
12886 * gdb.base/ptype.exp: Add testing of "ptype $pc".
12887
e835f6bf
NR
128882008-01-30 Nick Roberts <nickrob@snap.net.nz>
12889
12890 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
12891 (test_file_list_exec_source_file): Update to new macro-info field.
12892
d118ef87
PH
128932008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
12894
12895 * gdb.ada/exprs: New test program.
12896 * gdb.ada/exprs.exp: New testcase.
12897
7d35ab09
TJB
128982008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
12899
12900 * dfp-test.c (DELTA, DELTA_B): New definitions.
12901 (double_val1, double_val2, double_val3, double_val4, double_val5,
12902 double_val6, double_val7, double_val8, double_val9, double_val10,
12903 double_val11, double_val12, double_val13, double_val14, dec32_val1,
12904 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
12905 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
12906 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
12907 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
12908 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
12909 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
12910 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
12911 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
12912 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
12913 dec128_val16): New global variables.
12914 (decimal_dec128_align): New function.
12915 (decimal_mixed): Likewise.
12916 (decimal_many_args_dec32): Likewise.
12917 (decimal_many_args_dec64): Likewise.
12918 (decimal_many_args_dec128): Likewise.
12919 (decimal_many_args_mixed): Likewise.
12920 * dfp-test.exp: Add tests calling new inferior functions.
12921
2d717e4f
DJ
129222008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
12923
12924 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
12925 gdb.server/ext-run.exp: New files.
12926 * lib/gdbserver-support.exp (gdbserver_download): New.
12927 (gdbserver_start): New. Update gdbserver expected
12928 output.
12929 (gdbserver_spawn): Use them.
12930 (gdbserver_start_extended): New.
12931
e85a822c
DJ
129322008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
12933
12934 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
12935 Run on GNU/Linux.
12936 (do_exec_tests): Check for systems which do not support catchpoints.
12937 Do not match START.
12938 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
12939 Run on GNU/Linux. Enable verbose output.
12940 (check_fork_catchpoints): New.
12941 (explicit_fork_child_follow, catch_fork_child_follow)
12942 (tcatch_fork_parent_follow): Update expected messages.
12943 (do_fork_tests): Use check_fork_catchpoints.
12944 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
12945 Run on GNU/Linux. Enable verbose output.
12946 (check_vfork_catchpoints): New.
12947 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
12948 expected messages.
12949 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
12950
401ea829
JB
129512008-01-29 Jim Blandy <jimb@red-bean.com>
12952
12953 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
12954 host' errors.
12955 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
12956
aceaf3ad
JB
129572008-01-29 Jim Blandy <jimb@red-bean.com>
12958
12959 * gdb.threads/sigthread.c: Use barriers to ensure that
12960 child_thread and child_thread_two are always initialized before we
12961 start to use them.
12962
a5606eee
VP
129632008-01-29 Vladimir Prus <vladimir@codesourcery.com>
12964
12965 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
12966 * gdb.base/watchpoint-solib.c: New.
12967 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 12968
c55a82bb
PM
129692008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
12970
12971 * gdb.base/gdb1056.exp: Add unsigned integer test.
12972
0993fe05
DE
129732008-01-28 Doug Evans <dje@google.com>
12974
12975 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
12976
4fe42e7f
JB
129772008-01-27 Jim Blandy <jimb@codesourcery.com>
12978
c7a69933
JB
12979 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
12980
4fe42e7f
JB
12981 * gdb.base/expand-psymtabs.exp: Doc fix.
12982
5def8285
MK
129832008-01-26 Mark Kettenis <kettenis@gnu.org>
12984
12985 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
12986
5313c911
NR
129872008-01-24 Nick Roberts <nickrob@snap.net.nz>
12988
a9c64011 12989 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
12990 -var-set-format.
12991
93815fbf
VP
129922008-01-23 Chris Demetriou <cgd@google.com>
12993
12994 * gdb.threads/thread_events.c: New testcase source file.
12995 * gdb.threads/thread_events.exp: New testcase expect file.
12996
467a88ee
NR
129972008-01-23 Nick Roberts <nickrob@snap.net.nz>
12998
12999 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
13000
13001 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
13002 -var-set-format.
13003
d8f82aba
DJ
130042008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
13005 Vladimir Prus <vladimir@codesourcery.com>
13006
13007 * gdb.base/float.exp: Allow missing floating point for m68k and
13008 PowerPC.
13009
60c46647
VP
130102008-01-22 Vladimir Prus <vladimir@codesourcery.com>
13011
13012 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
13013 ignore count.
13014 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
13015 * gdb.mi/mi-cli.exp: Adjust.
13016 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 13017
c7dd36a1
PA
130182008-01-17 Pedro Alves <pedro@codesourcery.com>
13019
13020 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
13021 and 'dummy_ptr' integer pointer. Initialize struct_declarations
13022 with dummy_ptr's address.
13023 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
13024 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
13025 all targets.
13026 * gdb.mi/mi2-var-child.exp: Likewise.
13027
39d5313e
JB
130282008-01-09 Joel Brobecker <brobecker@adacore.com>
13029
13030 * gdb.ada/null_array: New test program.
13031 * gdb.ada/null_array.exp: New testcase.
13032
0aea4bf3
LM
130332008-01-09 Luis Machado <luisgpm@br.ibm.com>
13034
13035 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
13036 with required float modifiers.
13037
0b354900
JB
130382008-01-08 Joel Brobecker <brobecker@adacore.com>
13039
13040 * gdb.ada/funcall_param: New test program.
13041 * gdb.ada/funcall_param.exp: New testcase.
13042
cdb7f5d4
JB
130432008-01-08 Joel Brobecker <brobecker@adacore.com>
13044
13045 * gdb.ada/arrayparam: New test program.
13046 * gdb.ada/arrayparam.exp: New testcase.
13047
88e2547f
JB
130482008-01-08 Joel Brobecker <brobecker@adacore.com>
13049
13050 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
13051 landed. Should also fix random failures in the test following it.
13052
f6867ce0
TJB
130532008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
13054
13055 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
13056 for expressions with decimal float values.
13057 (test_dfp_conversions): New function to test casts to and from
13058 decimal float types.
13059 Call test_dfp_conversions.
13060 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
13061 elements.
13062 (main): Initialize ds.float4 and ds.double8 elements.
13063 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
13064 string to new error message.
13065 (d64_set_tests): Likewise.
13066 (d128_set_tests): Likewise.
13067 Add tests for expressions with decimal float variables. Add tests for
13068 conversions to and from decimal float types.
13069
f9c11282
JB
130702008-01-05 Joel Brobecker <brobecker@adacore.com>
13071
13072 * gdb.ada/packed_tagged/comp_bug.adb: New file.
13073 * gdb.ada/packed_tagged.exp: New testcase.
13074
0ecbca72
JB
130752008-01-04 Joel Brobecker <brobecker@adacore.com>
13076
13077 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
13078 gdb.ada/homonym/homonym_main.adb: New files.
13079 * gdb.ada/homonym.exp: New testcase.
13080
c18d3d89
JB
130812008-01-04 Joel Brobecker <brobecker@adacore.com>
13082
13083 * gdb.ada/packed_array.exp: Add testing of references to
13084 a packed array.
13085
ecc7085b
JB
130862008-01-04 Joel Brobecker <brobecker@adacore.com>
13087
13088 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
13089 New files.
13090 * gdb.ada/type_coercion.exp: New testcase.
13091
c474c922
JB
130922008-01-04 Joel Brobecker <brobecker@adacore.com>
13093
13094 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
13095 gdb.ada/tagged/foo.adb: New file.
13096 * gdb.ada/tagged.exp: New testcase.
13097
9005b927
JB
130982008-01-04 Joel Brobecker <brobecker@adacore.com>
13099
13100 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
13101 gdb.ada/ptype_field/foo.adb: New files.
13102 * gdb.ada/ptype_field.exp: New testcase.
13103
1a6aaad8
JB
131042008-01-03 Joel Brobecker <brobecker@adacore.com>
13105
13106 * gdb.ada/print_pc.exp: New testcase.
13107
0ef22f53
JB
131082008-01-03 Joel Brobecker <brobecker@adacore.com>
13109
13110 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
13111 gdb.ada/taft_type/p.adb: New files.
13112 * gdb.ada/taft_type.exp: New testcase.
13113
1689ecf8
JB
131142008-01-03 Joel Brobecker <brobecker@adacore.com>
13115
13116 * gdb.ada/array_bounds/bar.adb: New file.
13117 * gdb.ada/array_bounds.exp: New testcase.
13118
a4d0b9c3
JB
131192008-01-03 Joel Brobecker <brobecker@adacore.com>
13120
13121 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
13122 gdb.ada/arrayptr/foo.adb: New files.
13123 * gdb.ada/arrayptr.exp: New testcase.
13124
a31ace00
JB
131252008-01-03 Joel Brobecker <brobecker@adacore.com>
13126
13127 * gdb.base/set-lang-auto.exp: New testcase.
13128
a97fced3
JB
131292008-01-03 Joel Brobecker <brobecker@adacore.com>
13130
13131 * gdb.ada/fun_addr/foo.adb: New file.
13132 * gdb.ada/fun_addr.exp: New testcase.
13133
ef29ce1a
JK
131342008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13135
13136 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
13137 New files
13138
0fafefe3
JB
131392008-01-02 Joel Brobecker <brobecker@adacore.com>
13140
13141 * array_subscript_addr/p.adb: New file.
a9c64011 13142 * array_subscript_addr.exp: New testcase.
0fafefe3 13143
c4359f8d
JB
131442008-01-02 Joel Brobecker <brobecker@adacore.com>
13145
a9c64011 13146 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
13147 New files.
13148 * gdb.ada/str_cmp_ref.exp: New testcase.
13149
1aa1b15b
JB
131502008-01-01 Joel Brobecker <brobecker@adacore.com>
13151
13152 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
13153 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 13154 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 13155
81c9b2cf
JB
131562008-01-01 Joel Brobecker <brobecker@adacore.com>
13157
13158 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
13159 gdb.ada/ref_param/pck.ads: New files.
13160 * gdb.ada/ref_param.exp: New testcase.
13161
319e4674
JB
131622008-01-01 Joel Brobecker <brobecker@adacore.com>
13163
13164 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
13165 gdb.ada/interface/foo.adb: New files.
13166 * gdb.ada/interface.exp: New testcase.
13167
ef682c56
JB
131682007-12-31 Jim Blandy <jimb@codesourcery.com>
13169
13170 * gdb.base/multi-forks.exp: Consume all output from child
13171 processes before proceeding to next test.
13172
f6f3eb6c
JB
131732007-12-29 Jim Blandy <jimb@codesourcery.com>
13174
13175 * configure: Regenerated.
13176
f652e42f
JB
131772007-12-27 Joel Brobecker <brobecker@adacore.com>
13178
13179 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
13180 gdb.ada/fixed_cmp/fixed.adb: New files.
13181 * gdb.ada/fixed_cmp.exp: New testcase.
13182
6943e596
JB
131832007-12-27 Joel Brobecker <brobecker@adacore.com>
13184
13185 * gdb.ada/boolean_expr.exp: New testcase.
13186
aad9a193
JB
131872007-12-26 Jim Blandy <jimb@codesourcery.com>
13188
13189 * gdb.base/multi-forks.exp: Doc fix.
13190
fb5f3683
JB
131912007-12-26 Joel Brobecker <brobecker@adacore.com>
13192
13193 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
13194 * gdb.ada/char_param.exp: Do not compile our test program with
13195 -gnata, this is unnecessary.
13196 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
13197
384e4a9c
JB
131982007-12-24 Joel Brobecker <brobecker@adacore.com>
13199
13200 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
13201 gdb.ada/print_chars/foo.adb: New files.
13202 * gdb.ada/print_chars.exp: New testcase.
13203
01e044f7
JB
132042007-12-24 Joel Brobecker <brobecker@adacore.com>
13205
13206 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
13207 gdb.ada/char_param/foo.adb: New files.
13208 * gdb.ada/char_param.exp: New testcase.
13209
0ce17860
JB
132102007-12-22 Jim Blandy <jimb@codesourcery.com>
13211
13212 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
13213 hard-coding source line numbers into the test.
13214 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
13215 gdb_get_line_number to find.
13216
919809b9
JB
132172007-12-22 Joel Brobecker <brobecker@adacore.com>
13218
13219 * gdb.base/ptype.c (highest): New struct type.
13220 (the_highest): New variable of that type.
13221 (main): Add dummy assignment to a field of variable the_highest.
13222 * gdb.base/ptype.exp: Test type printing of our new variable.
13223
abc8a88d
PM
132242007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
13225
13226 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 13227 and record first explicitly generated thread number.
abc8a88d
PM
13228 Use that thread number for thread specific watchpoint test.
13229 Add iteration number to repetitive tests.
13230
5158f3e3
CES
132312007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
13232 Jim Blandy <jimb@codesourcery.com>
13233
13234 * gdb.base/expand-psymtabs.c: New testcase
13235 source file.
13236 * gdb.base/expand-psymtabs.exp: New testcase
13237 expect file.
13238
37e4754d
LM
132392007-12-17 Luis Machado <luisgpm@br.ibm.com>
13240
13241 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
13242 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
13243
551e5d04
JB
132442007-12-17 Joel Brobecker <brobecker@adacore.com>
13245
13246 * gdb.ada/frame_args/foo.adb: New file.
13247 * gdb.ada/frame_args/pck.ads: New file.
13248 * gdb.ada/frame_args/pck.adb: New file.
13249 * gdb.ada/frame_args.exp: New testcase.
13250
a05ee097
JB
132512007-12-17 Joel Brobecker <brobecker@adacore.com>
13252
13253 * gdb.base/frame-args.c: New file.
13254 * gdb.base/frame-args.exp: New testcase.
13255
c162e8c9 132562007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 13257 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
13258
13259 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
13260
afe8ab22 132612007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 13262
afe8ab22
VP
13263 * gdb.mi/mi-pending.exp: New.
13264 * gdb.mi/mi-pending.c: New.
13265 * gdb.mi/mi-pendshr.c: New.
13266
dfdfb3ca
JB
132672007-12-06 Jim Blandy <jimb@codesourcery.com>
13268
13269 * gdb.base/default.exp: Update expected output for 'info catch'.
13270
b7fca990
JK
132712007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
13272
13273 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
13274 must be set to binary.
13275
6a1afc1e
PA
132762007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
13277
13278 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
13279
a6b151f1
DJ
132802007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
13281
13282 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
13283 gdb.mi/mi-file-transfer.exp: New.
13284
43039443
JK
132852007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13286
13287 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
13288
0ef2251b
MR
132892007-11-22 Maciej W. Rozycki <macro@mips.com>
13290
13291 * gdb.trace/backtrace.exp: Fix a typo.
13292 * gdb.trace/circ.exp: Likewise.
13293 * gdb.trace/collection.exp: Likewise.
13294 * gdb.trace/limits.exp: Likewise.
13295 * gdb.trace/report.exp: Likewise.
13296 * gdb.trace/tfind.exp: Likewise.
13297 * gdb.trace/while-dyn.exp: Likewise.
13298
5443631e
NR
132992007-11-21 Nick Roberts <nickrob@snap.net.nz>
13300
13301 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
13302 objects of pointers that can't be dereferenced are now
13303 "noneditable".
13304
a4ce5b0d
UW
133052007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13306
13307 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
13308 (target_cpu): Remove.
13309
d6e956e5
VP
133102007-10-15 Vladimir Prus <vladimir@codesourcery.com>
13311
13312 * gdb.base/ending-run.exp: Expect the list of cleared
13313 breakpoint to come in natural order, not the reversed one.
a9c64011 13314
214270ab
VP
133152007-11-07 Vladimir Prus <vladimir@codesourcery.com>
13316
13317 * gdb.mi/mi-var-child.c (do_child_deletion): New.
13318 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 13319
1a619819
LM
133202007-11-05 Luis Machado <luisgpm@br.ibm.com>
13321
13322 * gdb.base/printcmds.exp: New function
13323 test_printf_with_dfp.
13324
5b01a6fa
DE
133252007-11-02 Doug Evans <dje@google.com>
13326
13327 * gdb.disasm/t01_mov.s: Remove carriage returns.
13328 * gdb.disasm/t02_mova.s: Ditto.
13329 * gdb.disasm/t03_add.s: Ditto.
13330 * gdb.disasm/t04_sub.s: Ditto.
13331 * gdb.disasm/t05_cmp.s: Ditto.
13332 * gdb.disasm/t06_ari2.s: Ditto.
13333 * gdb.disasm/t07_ari3.s: Ditto.
13334 * gdb.disasm/t08_or.s: Ditto.
13335 * gdb.disasm/t09_xor.s: Ditto.
13336 * gdb.disasm/t10_and.s: Ditto.
13337 * gdb.disasm/t11_logs.s: Ditto.
13338 * gdb.disasm/t12_bit.s: Ditto.
13339 * gdb.disasm/t13_otr.s: Ditto.
13340
ec33ab7f
JK
133412007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13342
13343 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
13344
ae0d01ff
UW
133452007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13346
13347 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
13348 provide DFP support.
13349
55eddb0f
DJ
133502007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
13351
13352 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
13353 Test "set powerpc vector-abi". Skip auto-detection tests for old
13354 toolchains.
13355
7020f05c
PA
133562007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
13357
13358 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
13359 with [string compare].
13360
84bc3db9
PA
133612007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
13362
13363 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
13364 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
13365
5876dc88
LM
133662007-10-25 Luis Machado <luisgpm@br.ibm.com>
13367
13368 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
13369 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
13370 * gdb.opt/Makefile.in: New makefile.
13371 * Makefile.in: Create new directory "gdb.opt".
13372 * configure.ac: Add "gdb.opt" directory.
13373 * configure: Regenerated.
a9c64011 13374
c3ea9a14
DE
133752007-10-25 Doug Evans <dje@google.com>
13376
13377 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
13378 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
13379
a9c64011 133802007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
13381 Thiago Jung Bauermann <bauerman@br.ibm.com>
13382
13383 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
13384 Floating Point expressions.
13385 * gdb.base/dfp-test.exp: new file adding tests for Decimal
13386 Floating Point variables.
13387 * gdb.base/dfp-test.c: new file containing program with Decimal
13388 Floating variables, used by gdb.base/dfp-test.exp.
13389
62a24a2b
DJ
133902007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
13391
13392 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
13393
e7b1eae6
UW
133942007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13395
13396 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
13397 compiling test case with GCC.
13398 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
13399
c641edcc
UW
134002007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13401
13402 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
13403 format changes.
13404
5e5ebfe6
MS
134052007-10-18 Michael Snyder <msnyder@specifix.com>
13406
13407 * gdb.base/dbx.exp: Add missing "-re " operator.
13408
e831e7b6
GM
134092007-10-16 Gaius Mulley <gaius@glam.ac.uk>
13410
13411 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
13412 * configure.ac: Removed trailing spaces after backslash.
13413 * gdb.modula2: New directory.
13414 * gdb.modula2/Makefile.in: New file.
13415 * gdb.modula2/unbounded-array.exp: New file.
13416 * gdb.modula2/unbounded1.c: New file.
13417
7cc46491
DJ
134182007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
13419
13420 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
13421
134222007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
13423
13424 * gdb.base/sigstep.c (main): Add checks for
13425 return values for setitimer call.
13426 Call setitimer again with itimer = ITIMER_REAL
13427 if first call to setitimer fails.
13428
e91528f0
KH
134292007-10-11 Kazu Hirata <kazu@codesourcery.com>
13430
13431 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
13432 of $timeout.
13433
2ec9a4f8
DJ
134342007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
13435
13436 * gdb.server/server-run.exp: Test for dynamic linker symbols.
13437
134382007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
13439
13440 * lib/gdb.exp (gdb_run_cmd): Move comment outside
13441 of gdb_expect call, to avoid interruption.
13442
64b2fa04
PA
134432007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
13444
13445 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
13446 (v_unsigned_long_long, v_long_long_array)
13447 (v_signed_long_long_array, v_unsigned_long_long_array)
13448 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
13449 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
13450 [!NO_LONG_LONG]: New.
13451 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
13452 v_long_long_member.
13453
13454 (v_long_long_func, v_signed_long_long_func)
13455 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
13456 (main) [!NO_LONG_LONG]: Initialize long long variants.
13457
13458 * gdb.base/whatis.exp: If board file requests no_long_long, build
13459 test with NO_LONG_LONG defined. Test long long, signed long long,
13460 and unsigned long long variants but only if board file doesn't
13461 disable it.
13462
a912286e 134632007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 13464 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
13465
13466 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
13467 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
13468 * configure: Regenerated.
13469 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
13470 gdb.pascal/types.exp, lib/pascal.exp: New files.
13471
471ba8c9
DJ
134722007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
13473
13474 * gdb.cp/classes.exp (do_tests): Always step to the line after the
13475 call.
13476 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
13477 to return to the call.
13478 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
13479 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
13480 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
13481 * gdb.mi/mi-until.exp (test_until): Likewise.
13482 * gdb.mi/mi2-until.exp (test_until): Likewise.
13483
fef8a650
DJ
134842007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
13485
13486 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
13487 two-char array.
13488 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
13489
d983da9c
DJ
134902007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
13491
13492 * gdb.threads/watchthreads.c (thread_function): Sleep between
13493 iterations.
13494 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
13495 at once for S/390. Generate matching fails and passes.
13496
17f62551
VP
134972007-09-27 Vladimir Prus <vladimir@codesourcery.com>
13498
13499 * gdb.mi/var-cmd.c (do_children_tests): Initialize
13500 the 'struct_declarations' variable to zeros.
a9c64011 13501
ed0616c6
VP
135022007-09-24 Vladimir Prus <vladimir@codesourcery.com>
13503
13504 * gdb.cp/mb-ctor.cc: New.
13505 * gdb.cp/mb-ctor.exp: New.
13506 * gdb.cp/mb-templates.cc: New.
13507 * gdb.cp/mb-templates.exp: New.
13508
41f1b697
DJ
135092007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
13510
13511 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
13512
3f213f78
PA
135132007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
13514
13515 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
13516 targets.
13517 * configure: Regenerate.
13518
0d381245 135192007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 13520
0d381245
VP
13521 * gdb.base/annota1.exp: Adjust for 'info break'
13522 format changes.
13523 * gdb.base/annota3.exp: Likewise.
13524 * gdb.base/break.exp: Likewise.
13525 * gdb.base/condbreak.exp: Likewise.
13526 * gdb.base/pending.exp: Likewise.
13527 * gdb.base/sepdebug.exp: Likewise.
13528 * gdb.base/unload.exp: Likewise.
13529 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 13530
fe3f5fa8
VP
135312007-09-22 Vladimir Prus <vladimir@codesourcery.com>
13532
13533 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
13534 messages.
13535 * gdb.base/chng-syms.exp: Likewise.
13536 * gdb.base/unload.exp: Likewise.
a9c64011 13537
a75cf6c0
DJ
135382007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
13539
13540 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
13541
18ecae38
DJ
135422007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
13543
13544 * schedlock.c (NUM): Change to 1.
13545 (main): Use args[0] for the main thread.
13546 * schedlock.exp: Only expect two threads. Only issue one pass or fail
13547 regardless of the number of threads.
13548
5509918f
MR
135492007-09-14 Maciej W. Rozycki <macro@mips.com>
13550
4a543daf
MR
13551 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
13552 type down.
13553 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
13554 test.
13555 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
13556 watchpoint type down.
13557 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
13558 test.
13559
135602007-09-14 Maciej W. Rozycki <macro@mips.com>
13561
5509918f
MR
13562 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
13563 Move all the tests here and run them twice, once using software
13564 watchpoints and once using hardware watchpoints.
13565 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
13566
40b53987
DJ
135672007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
13568
13569 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
13570 test.
13571
695e2681
MK
135722007-09-10 Mark Kettenis <kettenis@gnu.org>
13573
8b3fc8d8
MK
13574 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
13575 build-id.
13576
695e2681
MK
13577 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
13578 know about $ORIGIN. Calculate output dir from $dest instead of
13579 using ${objdir}/{$subdir}.
13580
58d69f29
MK
135812007-09-09 Mark Kettenis <kettenis@gnu.org>
13582
13583 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
13584 gcore, before continuing with the test.
13585
3e347599
DJ
135862007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
13587
13588 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
13589 * gdb.mi/mi-watch.exp: Likewise.
13590
ea37ba09
DJ
135912007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
13592 Jim Blandy <jimb@codesourcery.com>
13593
13594 * gdb.arch/i386-sse.exp: Do not expect character constants.
13595 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
13596 * gdb.base/display.exp: Allow print/s.
13597 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
13598 and unsigned char array changes.
13599
2025a643
DJ
136002007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
13601
13602 * gdb.base/display.exp: Add tests for printf %p.
13603
26669a27
PA
136042007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
13605
13606 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
13607 the dll name to unicode.
13608
c8f021f8
JK
136092007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13610
13611 * gdb.base/default.exp (show version): Update the version text.
13612 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
13613
4cf31eea
JK
136142007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13615
13616 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
13617 New files.
13618
4935890f
JK
136192007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13620
13621 * lib/gdb.exp (build_id_debug_filename_get): New function.
13622 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
13623 Remove the generate DEBUG file for the future testcase runs.
13624 New testcase for the NT_GNU_BUILD_ID retrieval.
13625 Move the final testing step to ...
13626 (test_different_dir): ... a new function.
13627 New parameter XFAIL to XFAIL all the tests performed.
13628 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
13629 New parameter TYPE to PF_PREFIX all the tests performed.
13630
02142340
VP
136312007-08-31 Vladimir Prus <vladimir@codesourcery.com>
13632
13633 * gdb.mi/mi-var-cp.cc (path_expression): New
13634 function.
13635 * gdb.mi/mi-var-cp.exp: Run path exression tests.
13636
36acd84e
UW
136372007-08-27 Markus Deuling <deuling@de.ibm.com>
13638
13639 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
13640 to fit into SPU Local Store memory.
13641
a896d121
JB
136422007-08-23 Joel Brobecker <brobecker@adacore.com>
13643
13644 * gdb.base/default.exp: Adjust the expected output of "info
13645 warranty" after the switch to GPLv3.
13646
7b433602
JB
136472007-08-23 Joel Brobecker <brobecker@adacore.com>
13648
13649 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
13650 to 30000 (from 20000).
13651
e22f8b7c
JB
136522007-08-23 Joel Brobecker <brobecker@adacore.com>
13653
13654 Switch the license of all .exp files to GPLv3.
13655 Switch the license of all .f and .f90 files to GPLv3.
13656 Switch the license of all .s and .S files to GPLv3.
13657
5a0e3bd0
JB
136582007-08-23 Joel Brobecker <brobecker@adacore.com>
13659
13660 * configure.ac: Switch license to GPLv3.
13661
cc00619d
JB
136622007-08-23 Joel Brobecker <brobecker@adacore.com>
13663
13664 Switch the licensing to GPLv3 for all .ads and .adb files.
13665
8d26208a
DJ
136662007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
13667
13668 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
13669 and t_int_double.
13670 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
13671
4fcb9948
JB
136722007-08-17 Joel Brobecker <brobecker@adacore.com>
13673
13674 * gdb.base/step-line.c: Switch license to GPL version 3, and
13675 update copyright year.
13676 * gdb.base/step-line.inp: Likewise.
13677
b9c34f67
JB
136782007-08-17 Joel Brobecker <brobecker@adacore.com>
13679
13680 * gdb.base/gdb1555.exp: Make expected output immune to formatting
13681 changes inside gdb1555.c.
13682 * gdb.base/pending.exp: Likewise.
13683
2cc17678
DJ
136842007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
13685
13686 * config/default.exp: New file.
13687
e48883f7
DJ
136882007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
13689
13690 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
13691 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
13692
1ab80e5b
MR
136932007-07-30 Maciej W. Rozycki <macro@mips.com>
13694
13695 * gdb.base/dump.exp: Force the correct endianness for binary
13696 formats not carrying this information.
13697
aba471f5
DJ
136982007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
13699
13700 * gdb.threads/staticthreads.exp: Match .*sem_post.
13701
d4e07204
DJ
137022007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
13703
13704 * gdb.base/readline.exp (operate_and_get_next): Match the final
13705 prompt.
13706
2b97317d
KB
137072007-07-23 Kevin Buettner <kevinb@redhat.com>
13708
13709 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
13710 to restarting SID.
13711
44efa07a
KB
137122007-07-18 Kevin Buettner <kevinb@redhat.com>
13713
13714 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
13715 prior to `gdb_start'.
13716
7b5ebade
KB
137172007-07-18 Kevin Buettner <kevinb@redhat.com>
13718
13719 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
13720 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
13721 Remove call to gdb_unload.
13722
255e7678
DJ
137232007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
13724 Daniel Jacobowitz <dan@codesourcery.com>
13725
13726 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
13727 for __WIN32__.
13728 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
13729 * gdb.base/unload.exp: Use shared library test routines.
13730
3a40aaa0
UW
137312007-07-03 Markus Deuling <deuling@de.ibm.com>
13732
13733 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
13734 * gdb.base/solib-symbol-lib.c: Likewise.
13735 * gdb.base/solib-symbol-main.c: Likewise.
13736
b0f4b84b
DJ
137372007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
13738
13739 * config/gdbserver.exp (gdb_reconnect): New.
13740 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
13741 gdb.base/solib-disc.exp: New files.
13742 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
13743 remote debugging".
13744 (gdb_compile): Add shlib_load flag.
13745 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
13746 port.
13747 (gdbserver_reconnect): New.
13748
1b05479a
DJ
137492007-07-01 Nick Roberts <nickrob@snap.net.nz>
13750 Daniel Jacobowitz <dan@codesourcery.com>
13751
13752 * gdb.base/annota3.exp: Test for if construct.
13753
86f78eb2
DJ
137542007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
13755
13756 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
13757
6a2eb474 137582007-06-21 Chris Dearman <chris@mips.com>
a9c64011 13759 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
13760
13761 * gdb.base/display.exp: Allow a newline after display/i.
13762 * gdb.base/pc-fp.exp: Likewise.
13763 * gdb.base/sigbpt.exp: Likewise.
13764
f8b73d13
DJ
137652007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
13766
13767 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
13768 required features to be included.
13769
4339e69e
DJ
137702007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
13771
13772 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
13773 in info threads output.
13774
23d964e7
UW
137752007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13776 Markus Deuling <deuling@de.ibm.com>
13777
13778 * gdb.arch/spu-info.exp: New testcase.
13779 * gdb.arch/spu-info.c: New file.
13780
fd20f75b
DJ
137812007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
13782
13783 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
13784 tpcs_offset. Restore lr after the call.
13785 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
13786
2226f861
DJ
137872007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
13788
13789 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
13790 (gdbserver_run): Kill any running gdbserver.
13791 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
13792
d12371a9
MR
137932007-05-17 Maciej W. Rozycki <macro@mips.com>
13794
13795 * gdb.base/sigbpt.exp: Preset segv_addr.
13796
93f02886
DJ
137972007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
13798
13799 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
13800 (gdb_compile_shlib): Likewise.
13801 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
13802 (default_gdb_init): Clear cleanfiles.
13803 (gdb_finish): Delete recorded cleanfiles.
13804 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
13805
13806 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
13807 Do not use isnative.
13808 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
13809 gdb.base/so-impl-ld.exp: Likewise.
13810 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
13811 * gdb.base/unload.exp: Likewise. Do not pass empty option to
13812 gdb_compile.
13813
b04e06d7
VP
138142007-05-15 Vladimir Prus <vladimir@codesourcery.com>
13815
13816 * config/unknown.exp: Remove.
13817
069ed931
UW
138182007-05-15 Markus Deuling <deuling@de.ibm.com>
13819
13820 * gdb.base/info-proc.exp: Check is_remote.
13821
09db0d03
UW
138222007-05-14 Markus Deuling <deuling@de.ibm.com>
13823
13824 * gdb.base/gcore.exp: Initialize variable core_supported.
13825
af2cbe8c
DJ
138262007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
13827
13828 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
13829
027c0295
DJ
138302007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
13831
13832 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
13833 * gdb.threads/print-threads.exp (test_all_threads): Allow
13834 negative and hexadecimal thread IDs.
13835
dc5000e7
DJ
138362007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
13837
13838 * gdb.java/jprint.java (public): Avoid invalid call to static
13839 method.
13840
2e74ed18
DP
138412007-05-14 Denis Pilat <denis.pilat@st.com>
13842
13843 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
13844 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
13845 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
13846 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
13847 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
13848
83547f02
UW
138492007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13850
13851 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 13852 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
13853 this mode.
13854 * gdb.base/ovlymgr.c: Provide stubs for spu target.
13855 * gdb.base/spu.ld: New file.
13856
b18be20d
DJ
138572007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
13858
13859 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
13860
be444858
DJ
138612007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
13862
13863 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
13864
b1d53152
DJ
138652007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
13866
13867 * gdb.java/jmain.exp: Handle demangled names with and without method
13868 signatures.
13869
d084b331
DJ
138702007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
13871
13872 * gdb.mi/mi-syn-frame.c (main, foo, bar)
13873 (have_a_very_merry_interrupt): Remove calls to puts.
13874 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
13875 inferior output.
13876 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
13877 test names.
13878
db9d7fc5
DJ
138792007-04-29 Markus Deuling <deuling@de.ibm.com>
13880 Daniel Jacobowitz <dan@codesourcery.com>
13881
13882 * gdb.base/auxv.exp (core_works): Also check is_remote.
13883 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
13884
ef783a7d 138852007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 13886
ef783a7d
VP
13887 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
13888 message, not the undefined 'module' variable.
13889 * gdb.base/siginfo.exp: Likewise.
13890 * gdb.base/sigstep.exp: Likewise.
13891 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
13892 serialport.
13893 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
13894
b7b73cae
CV
138952007-04-25 Corinna Vinschen <vinschen@redhat.com>
13896
13897 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
13898 target sim fails. Return 0 otherwise.
13899 (gdb_load): Return prematurely if gdb_target_sim fails.
13900
7d90fdfa
DP
139012007-04-16 Denis Pilat <denis.pilat@st.com>
13902
13903 * gdb.base/setshow.exp: Reset height after having set it to 100.
13904
5d3e9c85
DP
139052007-04-16 Denis Pilat <denis.pilat@st.com>
13906
13907 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
13908
18e75969
DP
139092007-04-16 Denis Pilat <denis.pilat@st.com>
13910
13911 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
13912
25d5ea92
VP
139132007-04-14 Vladimir Prus <vladimir@codesourcery.com>
13914
13915 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
13916 tests. Run the frozen varobjs test.
13917 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 13918 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 13919
0b49cb80
JK
139202007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13921
13922 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
13923 gdb.base/type-opaque.exp: New files.
13924
a73bafbc 139252007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
13926
13927 * gdb.mi/mi-var-child.c
a73bafbc
VP
13928 (do_children_tests): User char[2] instead of
13929 char so that automatic printing of pointers to char
13930 don't give unpredicable result.
13931 * gdb.mi/var-cmd.c (do_locals_test): Initialize
13932 local variables.
13933 * gdb.mi/mi-var-child.exp: Step to right line
13934 of do_children_tests.
13935 * gdb.mi/mi2-var-child.exp: Likewise.
13936 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 13937 do_locals_tests.
a73bafbc
VP
13938 (do_children_tests): User char[2] instead of
13939 char so that automatic printing of pointers to char
a9c64011 13940 don't give unpredicable result.
a73bafbc 13941 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 13942 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
13943 Pass test name to mi_wait_for_stop.
13944
7ce59000
DJ
139452007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
13946
13947 * gdb.asm/asm-source.exp: Remove d10v case.
13948 * lib/gdb.exp (skip_cplus_tests): Likewise.
13949 * gdb.asm/d10v.inc: Deleted.
13950
20389057
DJ
139512007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
13952
13953 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
13954
8807d78b
DJ
139552007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
13956
13957 * config/netware.exp: Delete file.
13958
aa3edb8e
JB
139592007-03-29 Joel Brobecker <brobecker@adacore.com>
13960
13961 * gdb.dwarf2/dw2-noloc.S: New file.
13962 * gdb.dwarf2/dw2-noloc.exp: New file.
13963
297561ac
PA
139642007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
13965
13966 * gdb.cp/method2.cc: New test.
13967 * gdb.cp/method2.exp: New test.
13968 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
13969
1f81bd39
DJ
139702007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
13971
13972 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
13973
9453113a
DJ
139742007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
13975
13976 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
13977
b741e217
DJ
139782007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
13979
13980 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
13981 (gdb_load): Delete, replace with...
13982 (gdb_reload): ...this.
13983 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
13984 * gdb.server/server-mon.exp: Likewise.
13985 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
13986 (gdb_start_cmd): New.
13987 (gdb_file_cmd): Save the last loaded file.
13988 (gdb_reload): New.
13989 (gdb_gnu_strip_debug): Use transform.
13990 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
13991 support here. Use new $last_loaded_file. Check mtime.
13992 (gdb_target_cmd): Handle ObjC failure case.
13993 (infer_host_exec): Delete.
13994 (gdbserver_load): Rename to...
13995 (gdbserver_run): ...this. Simplify.
13996 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
13997 (mi_gdb_load): Move most contents to a new function...
13998 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
13999 (mi_run_cmd): Use mi_gdb_target_load.
14000 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
14001 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
14002 Use gdb_run_cmd.
14003 * gdb.base/charsign.exp: Remove incorrect comment.
14004 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
14005 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
14006 gdb.base/start.exp: Use gdb_start_cmd.
14007
446ab585 140082007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 14009 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
14010
14011 * gdb.base/sigbpt.exp: Fix the message when skipping test.
14012 * gdb.base/signull.exp: Similarly.
14013
bbb88ebf
UW
140142007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14015
14016 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
14017 messages available to test cases (like chng-sym.exp).
14018
cb8c4a99
AS
140192007-03-14 Andreas Schwab <schwab@suse.de>
14020
14021 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
14022 format changes.
14023
4e463ff5
DJ
140242007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
14025
14026 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
14027 (optimized_1): New.
14028 (main): Call optimized_1.
14029 (gdb2029): Correct typos. Call gdb2029_marker.
14030 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
14031 for gdb2029.
14032
b6db2c47
MK
140332007-03-12 Mark Kettenis <kettenis@gnu.org>
14034
14035 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
14036 as tabs. Remove redundant test pattern.
14037
70ed3737
UW
140382007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14039
14040 * gdb.base/long_long.exp: Accept optional symbol name in <...>
14041 for /a format output.
14042
47b67b60
DJ
140432007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
14044
14045 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
14046 collect output incrementally.
14047
b8953b0e
UW
140482007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14049
14050 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
14051 for -var-create lpcharacter test.
14052 * gdb.mi/mi2-var-cmd.exp: Likewise.
14053
7acd5c40
UW
140542007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14055
14056 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
14057 pass on targets where address zero is readable.
14058
9c6759c1
UW
140592007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14060
14061 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
14062 just a single architecture.
14063
a2f1aeb4
UW
140642007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14065
14066 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
14067 (fetch_all_registers): New function, uses gdb_test_multiple and
14068 exp_continue to fetch inferior output line-by-line.
14069 Replace all uses of do_get_all_registers by fetch_all_registers.
14070
46579ac2
UW
140712007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14072
14073 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
14074 in target_info.
14075
fc133f24
MS
140762007-03-02 Michael Snyder <michael.snyder@palmsource.com>
14077
a9c64011 14078 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
14079 consistancy; add a default (timeout) case.
14080
7646a51d
MS
140812007-03-02 Michael Snyder <michael.snyder@palmsource.com>
14082
14083 * gdb.base/watchpoint.exp: Fix truncated comment.
14084
dcfff61f
MS
140852007-03-02 Michael Snyder <michael.snyder@palmsource.com>
14086
14087 * Makefile.in: Remove spurious single-quotes from sed command.
14088
664e3ee9
DJ
140892007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
14090
14091 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
14092 func.
14093 * gdb.mi/mi2-var-cmd.exp: Likewise.
14094
d7cc6f2f
JB
140952007-02-27 Joel Brobecker <brobecker@adacore.com>
14096
a9c64011
AS
14097 * gdb.dwarf2/dw2-producer.S: New file.
14098 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
14099
141002007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
14101
14102 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
14103 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
14104 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
14105 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
14106 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
14107 Revert tests to use mi_gdb_test and include value field in output
14108 of -var-create.
14109
93d42b30
DJ
141102007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
14111
14112 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
14113
c499ed39
DJ
141142007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
14115
14116 * gdb.base/maint.exp: Remove full paths from test names.
14117 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
14118 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
14119
9836f81b
JB
141202007-02-27 Joel Brobecker <brobecker@adacore.com>
14121
14122 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
14123
c74d0ad8
DJ
141242007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
14125
14126 * gdb.server/server-mon.exp: New test.
14127
2711e456
DJ
141282007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
14129
14130 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
14131
ff6f572f
DJ
141322007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
14133
14134 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
14135 register capitalization.
14136
fada3feb
DP
141372007-02-13 Denis Pilat <denis.pilat@st.com>
14138
14139 * gdb.mi/mi-var-invalidate.exp: New file.
14140
fb1e4ffc
DJ
141412007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
14142
14143 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
14144
3da939d7
DJ
141452007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
14146
14147 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
14148
123dc839
DJ
141492007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
14150
14151 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
14152 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
14153
877e3645 141542007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
14155
14156 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
14157 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
14158 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
14159 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
14160 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 14161 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 14162 Update tests to include value field in output of -var-create.
a9c64011 14163
3c0a2960
AS
141642007-02-08 Andreas Schwab <schwab@suse.de>
14165
14166 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
14167
108546a0
DJ
141682007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
14169
14170 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
14171 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
14172
d701dcab
DP
141732007-02-02 Denis Pilat <denis.pilat@st.com>
14174
14175 * gdb.threads/threadapply.exp: check that frame is not changed by
14176 the thread apply all command.
14177
783e3e2f
AS
141782007-01-31 Andreas Schwab <schwab@suse.de>
14179
6d9c3a87
AS
14180 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
14181
3c50d7b9
AS
14182 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
14183 in the dwarf sections.
14184 * gdb.dwarf2/mac-fileno.S: Likewise.
14185
783e3e2f
AS
14186 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
14187 bspstore register on ia64.
14188
78ff580e
AS
141892007-01-29 Andreas Schwab <schwab@suse.de>
14190
cc8e9b12
AS
14191 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
14192 "frame-begin" annotation.
14193
78ff580e
AS
14194 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
14195 number of "frames-invalid" annotations.
14196
704a4f78
DJ
141972007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
14198
14199 * gdb.base/commands.exp: Call if_commands_test.
14200 (gdb_test_no_prompt, if_commands_test): New.
14201
e741bf94
MK
142022007-01-28 Mark Kettenis <kettenis@gnu.org>
14203
14204 * gdb.threads/sigthread.c (NSIGS): Make bigger.
14205
474d0ad3
AS
142062007-01-27 Andreas Schwab <schwab@suse.de>
14207
14208 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
14209 .short/.int/.quad in the dwarf sections.
14210 * gdb.dwarf2/dw2-intercu.S: Likewise.
14211 * gdb.dwarf2/dw2-intermix.S: Likewise.
14212
e784b426
JK
142132007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14214
14215 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
14216 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
14217 array.
e784b426
JK
14218 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
14219 * gdb.base/setvar.exp: Likewise.
14220
37f08e04
AS
142212007-01-26 Andreas Schwab <schwab@suse.de>
14222
9a01813a
AS
14223 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
14224 test.
14225
37f08e04
AS
14226 * gdb.base/multi-forks.exp ("restart $i"): Also match
14227 __kernel_syscall_via_break.
14228
6e2a9270
VP
142292007-01-24 Vladimir Prus <vladimir@codesourcery.com>
14230
14231 * lib/mi-support.exp (mi_delete_varobj): New.
14232 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
14233 testcase.
14234 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
14235 (main): Call the above.
14236 (reference_update_test, base_in_reference_test)
14237 (reference_to_pointer): Delete the created varobjs.
a9c64011 14238
e515b470
DJ
142392007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
14240
14241 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
14242 * configure: Regenerated.
14243 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
14244 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
14245 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
14246 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
14247 * lib/gdb.exp (gdb_skip_xml_test): New function.
14248
08d8bcd7
DJ
142492007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
14250
14251 * gdb.base/sigrepeat.exp: Correct error message.
14252
142532007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
14254 Daniel Jacobowitz <dan@codesourcery.com>
14255
14256 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
14257 gdb.arch/i386-gnu-cfi-asm.S: New files.
14258
97c3f1f3
JK
142592007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14260
14261 * lib/gdb.exp: Abort on missing `site.exp'.
14262
cb1df416
DJ
142632007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14264 Daniel Jacobowitz <dan@codesourcery.com>
14265
14266 * gdb.base/included.c, gdb.base/included.exp,
14267 gdb.base/included.h: New files.
14268
35990120
DJ
142692007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
14270
14271 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
14272 (maximize_rlimit): Reduce limits on 64-bit systems.
14273
6e81a116 142742007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
14275
14276 From Marcus Deuling <deuling@de.ibm.com>:
14277 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
14278 every case.
14279
6c3c41f3
NR
142802007-01-13 Nick Roberts <nickrob@snap.net.nz>
14281
14282 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
14283 (test_path_specification): Use objdir instead of srcdir to always
14284 get an absolute filename.
14285
2f12c312
DJ
142862007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
14287
14288 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
14289
81121995
VP
142902007-01-11 Vladimir Prus <vladimir@codesourcery.com>
14291
14292 * gdb.mi/mi-var-cp.cc (reference_update_tests):
14293 Make sure the variable we're using is in scope.
14294 (reference_to_pointer): Likewise.
14295
4741b737
DJ
142962007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
14297
14298 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
14299 has no debug information.
14300
054410c3
DJ
143012007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
14302
14303 * gdb.base/annota1.exp: Remove extra send_gdb.
14304
818f79f6
DJ
143052007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
14306
14307 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
14308
f7a6bb70
DJ
143092007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
14310
14311 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
14312
57e66780
DJ
143132007-01-08 Nick Roberts <nickrob@snap.net.nz>
14314 Daniel Jacobowitz <dan@codesourcery.com>
14315
14316 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
14317 lcharacter or linteger change. Correct duplicated test name.
14318 * gdb.mi/mi2-var-cmd.exp: Likewise.
14319
3d799a95
DJ
143202007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
14321
14322 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
14323
143242007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 14325
a9c64011
AS
14326 * gdb.base/nofield.c: New file.
14327 * gdb.base/nofield.exp: New testcase.
51679ba9 14328
eafb94e8
NR
143292007-01-05 Nick Roberts <nickrob@snap.net.nz>
14330
14331 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
14332
14333 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
14334 test.
14335
5e572bb4
DJ
143362007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
14337
14338 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
14339
74a44383
DJ
143402007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
14341
14342 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
14343 when continuing.
14344
1b572db9
DJ
143452007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
14346
14347 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
14348 Expect ".exe" extension.
14349
381bc39b
DJ
143502007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
14351
14352 * gdb.base/charset.exp: Add explicit filename to break.
14353 * gdb.base/dbx.exp: Add explicit filename to breaks.
14354
2b70e4c6
DJ
143552007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
14356
14357 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
14358 * gdb.mi/mi2-file.exp: Likewise.
14359
303b6f5d
DJ
143602007-01-04 Vladimir Prus <vladimir@codesourcery.com>
14361
14362 Implement specification of MI tests as comments
14363 in C and C++ sources.
14364 * lib/mi-support.exp (mi_autotest_data): New variable.
14365 (mi_autotest_source): New variable.
14366 (count_newlines, mi_prepare_inline_tests)
14367 (mi_get_inline_test, mi_continue_to_line)
14368 (mi_run_inline_test, mi_tbreak)
14369 (mi_send_resuming_command, mi_wait_for_stop): New functions.
14370 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
14371 Run inline tests.
14372 * gdb.mi/mi-var-cp.cc: Define tests here.
14373
23da0d94
VP
143742007-01-04 Vladimir Prus <vladimir@codesourcery.com>
14375
14376 Simplify usage of mi_continue_to.
14377 * lib/mi-support.exp (mi_runto_helper): Renamed
14378 from mi_runto, added new parameter 'run_or_continue'.
14379 (mi_runto): Use mi_runto_helper.
14380 (mi_continue_to): Accept just function name as parameter.
14381 Use mi_runto_helper.
14382 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
14383 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 14384
f9e18282
JB
143852006-01-04 Joel Brobecker <brobecker@adacore.com>
14386
14387 Make this testcase a bit more realistic. The current code
14388 is too simplistic, and allows the compiler to optimize out
14389 some of the entities we need for this testcase.
14390 * gdb.ada/null_record/bar.ads (Void_Star): New type.
14391 (Do_Nothing): Add extra parameter.
14392 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
14393 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
14394 by using a variable of type Void_Star.
14395
fd678c65
JB
143962006-01-04 Joel Brobecker <brobecker@adacore.com>
14397
14398 * gdb.ada/catch_ex/foo.adb: New file.
14399 * gdb.ada/catch_ex.exp: New testcase.
14400
05cfdb42
DJ
144012007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
14402
14403 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
14404 pass --image-base to linker.
14405
2e03ee74
DJ
144062007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
14407 Daniel Jacobowitz <dan@codesourcery.com>
14408
14409 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
14410 secondary prompts.
14411
0d5de010
DJ
144122007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
14413
14414 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
14415 output. Test the types of members and member pointers.
14416 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
14417 gdb/2092.
14418 * gdb.cp/member-ptr.exp: Search for a comment instead of a
14419 statement. Enable for GCC. Update expected output for some tests
14420 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
14421 layout.
14422 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
14423 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
14424 (Diamond::vget_base): New.
14425 (main): Add new tests.
14426 * gdb.cp/printmethod.exp: Update expected output for member functions.
14427 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
14428 print pEe->D::vg().
14429
61a771aa
DJ
144302007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
14431
14432 * gdb.threads/tls.exp: Allow stops in sem_post.
14433
2fa63963
DJ
144342006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
14435
14436 * gdb.base/annota1.exp: Allow .*printf in backtraces.
14437 * gdb.base/annota3.exp: Likewise.
14438 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
14439 again (instead of timing out).
14440 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
14441 GCC bug 26475.
14442 * gdb.java/jmisc.exp: Adjust to work with method signatures including
14443 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
14444 test from jmisc1.exp.
14445 * gdb.java/jmisc1.exp: Delete.
14446 * gdb.java/jprint.exp: Adjust to work with method signatures including
14447 return types.
14448 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
14449 * gdb.threads/linux-dp.exp: Don't be confused by program output.
14450 * lib/java.exp (compile_java_from_source): Pass the correct type
14451 to target_compile.
14452
5eefc2b7
JB
144532006-12-31 Joel Brobecker <brobecker@adacore.com>
14454
14455 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
14456 (stack_align_edx): New function.
14457 (stack_align_eax): New function.
14458 (main): Add calls to stack_align_edx and stack_align_eax.
14459 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
14460 Add testing for the cases where the register used during a stack
14461 realignment is edx. Same for eax.
14462
227c54da
DJ
144632006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
14464
14465 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
14466 and generic PE targets.
14467
cab8ac94
JB
144682006-12-29 Joel Brobecker <brobecker@adacore.com>
14469
14470 * gdb.ada/array_return.exp: Update copyright date list.
14471
ba54f318
JB
144722006-12-27 Joel Brobecker <brobecker@adacore.com>
14473
14474 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
14475 (Create_Small_Float_Vector): New function.
14476 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
14477 function body.
14478 * gdb.ada/array_return/p.adb: Use new type and function from
14479 package Pck.
14480 * gdb.ada/array_return.exp: Add a test verifying that GDB is
14481 able to print the value returned by a function returning an
14482 array of float.
14483
6b7a35dd
JB
144842006-12-20 Joel Brobecker <brobecker@adacore.com>
14485
14486 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
14487 The associated tests should be PASSing.
14488
038224f6
VP
144892006-12-08 Vladimir Prus <vladimir@codesourcery.com>
14490
14491 Test for base in references.
14492 * gdb.mi/mi-var-cp.cc: Add test code.
14493 * gdb.mi/mi-var-cp.exp: Test for bases in references.
14494 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
14495 * gdb.mi/mi2-watch.exp: Likewise.
14496 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
14497 (mi_list_varobj_children): New function.
14498
b26ed50d
VP
144992006-12-08 Vladimir Prus <vladimir@codesourcery.com>
14500
14501 * lib/mi-support.exp
14502 (mi_runto): Accept "()" after function name.
14503 (mi_create_varobj): New function.
14504 (mi_varobj_update): New function.
14505 (mi_Check_varobj_value): New function.
14506 * gdb.mi/mi-var-cp.exp: New file.
14507 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 14508
08232497
DJ
145092006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
14510
14511 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
14512 gdb.base/weaklib2.c: New files.
14513
d394c993 145142006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 14515
ac6c2fba
NS
14516 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
14517 info. Adjust test names.
14518
8ec659a0 14519 * gdb.base/break.c (main): Move position of malloc.
d394c993 14520 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 14521
acd65feb
VP
145222006-11-28 Vladimir Prus <vladimir@codesourcery.com>
14523
14524 * gdb.mi/mi-var-cmd.exp: Check -var-update after
14525 assignement of arrays and function pointers.
14526 * gdb.mi/var-cmd.c: Add declaration necessary for above
14527 tests.
14528
f556d5e5
NS
145292006-11-27 Nathan Sidwell <nathan@codesourcery.com>
14530
14531 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
14532
14533 * gdb.threads/linux-dp.exp: Read thread table before and after
14534 creating each philosopher and verify it.
14535
697bc68d
NS
145362006-11-27 Nathan Sidwell <nathan@codesourcery.com>
14537 Paul Brook <paul@codesourcery.com>
14538 Daniel Jacobowitz <dan@codesourcery.com>
14539
14540 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 14541 main to remove duplication. Add start function of the form
697bc68d
NS
14542 '_*start[1-9]*'. Add RVDS start function.
14543
29d73ae4
DJ
145442006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
14545
14546 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
14547
c1d88655
UW
145482006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14549
14550 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
14551 * gdb.asm/spu.inc: New file.
14552 * gdb.base/term.exp: Disable if [target_info exists noargs].
14553 * gdb.gdb/complaints.exp: Disable if ![isnative].
14554 * gdb.gdb/selftest.exp: Likewise.
14555 * gdb.gdb/observer.exp: Likewise.
14556 * gdb.gdb/xfullpath.exp: Likewise.
14557 * gdb.base/attach.exp: Disable on SPU target.
14558 * gdb.cp/bs145503.exp: Likewise.
14559 * gdb.cp/exception.exp: Likewise.
14560 * gdb.cp/userdef.exp: Likewise.
14561
32a13b1a
DJ
145622006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
14563
14564 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
14565
d8295fe9
VP
145662006-11-10 Vladimir Prus <vladimir@codesourcery.com>
14567
14568 * gdb.base/completion.exp: Fix completion tests for
14569 'info' and 'info '.
14570 * gdb.base/help.exp (help_test_raw, test_class_help)
14571 (test_prefix_command_help): Move...
14572 * lib/gdb.exp: Here.
14573 * gdb.base/main.exp: Adjust.
14574 * gdb.cp/maint.exp: Adjust.
14575 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 14576
8c394015
VP
145772006-11-09 Vladimir Prus <vladimir@codesourcery.com>
14578
14579 * gdb.stabs/weird.exp (print_weird_var): Use
14580 gdb_test_multiple instead of gdb_expect.
14581
027fc1bc
VP
145822006-11-09 Vladimir Prus <vladimir@codesourcery.com>
14583
14584 * gdb.base/help.exp (help_test_raw): New.
14585 (test_class_help): New.
14586 (test_prefix_command_help): New.
14587 Adjust testcases.
14588
67609209
FR
145892006-11-09 Christophe Lyon <christophe.lyon@st.com>
14590
14591 * gdb.base/constvars.c (main): Write to crass and crips, so that
14592 they are allocated by the compiler.
14593
f73adfeb
AS
145942006-10-27 Andreas Schwab <schwab@suse.de>
14595
14596 * gdb.base/multi-forks.exp: Use "detach fork" instead of
14597 "detach-fork".
14598
2f83a18e
DJ
145992006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
14600
14601 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
14602 of patterns.
14603
94277a38
DJ
146042006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
14605
14606 * gdb.base/sepdebug.exp: Remove debug format test.
14607 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
14608 Handle no-symtab.
14609 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
14610
5bd2f6e2
DJ
146112006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
14612
14613 * gdb.threads/manythreads.c (thread_function, main): Don't cast
14614 int to pointer or pointer to int.
14615 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
14616
8c008720
DJ
146172006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
14618
14619 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
14620
9e35dae4
DJ
146212006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
14622
14623 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
14624
d9639e13
DJ
146252006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
14626
14627 PR c++/2116
14628 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
14629
390a1bd0
JB
146302006-10-06 Joel Brobecker <brobecker@adacore.com>
14631
14632 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
14633 the corresponding bug has been fixed in GDB (PR/2018).
14634
dd920c33
JB
146352006-10-06 Joel Brobecker <brobecker@adacore.com>
14636
14637 * gdb.base/subst.exp: New testcase.
14638
53bbefe9
JB
146392006-10-06 Joel Brobecker <brobecker@adacore.com>
14640
14641 * gdb.ada/array_return/pck.ads: Add copyright notice.
14642 * gdb.ada/array_return/pck.adb: Likewise.
14643 * gdb.ada/array_return/p.adb: Likewise.
14644 * gdb.ada/exec_changed/first.adb: Likewise.
14645 * gdb.ada/exec_changed/second.adb: Likewise.
14646
09851417
JB
146472006-10-06 Joel Brobecker <brobecker@adacore.com>
14648
14649 * gdb.ada/watch_arg/watch.adb: New file.
14650 * gdb.ada/watch_arg.exp: New testcase.
14651
041bf30d
VP
146522006-10-02 Vladimir Prus <vladimir@codesourcery.com>
14653
14654 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 14655 via string_to_regexp.
041bf30d 14656 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 14657
f286fbdd 146582006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
14659
14660 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
14661 Remove unused / obsolete files.
14662
7c07f349
NR
146632006-09-19 Nick Roberts <nickrob@snap.net.nz>
14664
14665 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
14666
cd5ff84a
VP
146672006-09-17 Vladimir Prus <vladimir@codesourcery.com>
14668
14669 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
14670 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 14671 the number of frames.
cd5ff84a 14672
ae018d1a
DJ
146732006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
14674
14675 * gdb.base/args.c (main): Add breakpoint marker.
14676 * gdb.base/args.exp: Use args_test for tests. Add new tests which
14677 really test empty arguments.
14678 (args_load): Delete.
14679 (args_test): New.
14680
b399c549
NR
146812006-09-13 Nick Roberts <nickrob@snap.net.nz>
14682
14683 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
889bf7c5 14684 check for one file.
b399c549 14685
2ab1eb7a
VP
146862006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
14687
14688 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
14689 HIGH_FRAME argument to -stack-list-locals can be larger than
14690 the number of frames.
a9c64011 14691
476308bf
FF
146922006-08-18 Fred Fish <fnf@specifix.com>
14693
14694 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
14695 '$' in front of skip_vmx_tests_saved when setting that.
14696
8625200f
AS
146972006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
14698
14699 * gdb.base/trace-commands.exp: New file.
14700
089ec8f1
DJ
147012006-08-10 Joel Brobecker <brobecker@adacore.com>
14702 Daniel Jacobowitz <dan@codesourcery.com>
14703
14704 * gdb.base/step-bt.exp: Make hexadecimal address optional in
14705 expected output of the backtrace commands.
14706
b60f0898
JB
147072006-08-09 Joel Brobecker <brobecker@adacore.com>
14708
14709 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
14710 untested followed by return combination.
14711 * gdb.arch/altivec-regs.exp: Likewise.
14712 * gdb.arch/e500-abi.exp: Likewise.
14713 * gdb.arch/e500-regs.exp: Likewise.
14714 * gdb.arch/gdb1291.exp: Likewise.
14715 * gdb.arch/gdb1431.exp: Likewise.
14716 * gdb.arch/gdb1558.exp: Likewise.
14717 * gdb.arch/i386-prologue.exp: Likewise.
14718 * gdb.arch/i386-unwind.exp: Likewise.
14719 * gdb.asm/asm-source.exp: Likewise.
14720 * gdb.base/a2-run.exp: Likewise.
14721 * gdb.base/advance.exp: Likewise.
14722 * gdb.base/all-bin.exp: Likewise.
14723 * gdb.base/annota1.exp: Likewise.
14724 * gdb.base/annota3.exp: Likewise.
14725 * gdb.base/args.exp: Likewise.
14726 * gdb.base/arithmet.exp: Likewise.
14727 * gdb.base/assign.exp: Likewise.
14728 * gdb.base/async.exp: Likewise.
14729 * gdb.base/attach.exp: Likewise.
14730 * gdb.base/bang.exp: Likewise.
14731 * gdb.base/bigcore.exp: Likewise.
14732 * gdb.base/bitfields.exp: Likewise.
14733 * gdb.base/bitfields2.exp: Likewise.
14734 * gdb.base/break.exp: Likewise.
14735 * gdb.base/call-sc.exp: Likewise.
14736 * gdb.base/call-strs.exp: Likewise.
14737 * gdb.base/callfuncs.exp: Likewise.
14738 * gdb.base/checkpoint.exp: Likewise.
14739 * gdb.base/chng-syms.exp: Likewise.
14740 * gdb.base/code-expr.exp: Likewise.
14741 * gdb.base/commands.exp: Likewise.
14742 * gdb.base/completion.exp: Likewise.
14743 * gdb.base/cond-expr.exp: Likewise.
14744 * gdb.base/condbreak.exp: Likewise.
14745 * gdb.base/consecutive.exp: Likewise.
14746 * gdb.base/constvars.exp: Likewise.
14747 * gdb.base/corefile.exp: Likewise.
14748 * gdb.base/cvexpr.exp: Likewise.
14749 * gdb.base/dbx.exp: Likewise.
14750 * gdb.base/define.exp: Likewise.
14751 * gdb.base/detach.exp: Likewise.
14752 * gdb.base/display.exp: Likewise.
14753 * gdb.base/dump.exp: Likewise.
14754 * gdb.base/ena-dis-br.exp: Likewise.
14755 * gdb.base/ending-run.exp: Likewise.
14756 * gdb.base/environ.exp: Likewise.
14757 * gdb.base/eval-skip.exp: Likewise.
14758 * gdb.base/exprs.exp: Likewise.
14759 * gdb.base/fileio.exp: Likewise.
14760 * gdb.base/finish.exp: Likewise.
14761 * gdb.base/float.exp: Likewise.
14762 * gdb.base/foll-exec.exp: Likewise.
14763 * gdb.base/foll-fork.exp: Likewise.
14764 * gdb.base/foll-vfork.exp: Likewise.
14765 * gdb.base/freebpcmd.exp: Likewise.
14766 * gdb.base/funcargs.exp: Likewise.
14767 * gdb.base/gcore.exp: Likewise.
14768 * gdb.base/gdb1090.exp: Likewise.
14769 * gdb.base/gdb1250.exp: Likewise.
14770 * gdb.base/huge.exp: Likewise.
14771 * gdb.base/info-proc.exp: Likewise.
14772 * gdb.base/interrupt.exp: Likewise.
14773 * gdb.base/jump.exp: Likewise.
14774 * gdb.base/langs.exp: Likewise.
14775 * gdb.base/lineinc.exp: Likewise.
14776 * gdb.base/list.exp: Likewise.
14777 * gdb.base/logical.exp: Likewise.
14778 * gdb.base/long_long.exp: Likewise.
14779 * gdb.base/macscp.exp: Likewise.
14780 * gdb.base/maint.exp: Likewise.
14781 * gdb.base/mips_pro.exp: Likewise.
14782 * gdb.base/miscexprs.exp: Likewise.
14783 * gdb.base/multi-forks.exp: Likewise.
14784 * gdb.base/opaque.exp: Likewise.
14785 * gdb.base/overlays.exp: Likewise.
14786 * gdb.base/pc-fp.exp: Likewise.
14787 * gdb.base/pointers.exp: Likewise.
14788 * gdb.base/printcmds.exp: Likewise.
14789 * gdb.base/psymtab.exp: Likewise.
14790 * gdb.base/ptype.exp: Likewise.
14791 * gdb.base/recurse.exp: Likewise.
14792 * gdb.base/relational.exp: Likewise.
14793 * gdb.base/relocate.exp: Likewise.
14794 * gdb.base/remote.exp: Likewise.
14795 * gdb.base/reread.exp: Likewise.
14796 * gdb.base/restore.exp: Likewise.
14797 * gdb.base/return.exp: Likewise.
14798 * gdb.base/return2.exp: Likewise.
14799 * gdb.base/scope.exp: Likewise.
14800 * gdb.base/sect-cmd.exp: Likewise.
14801 * gdb.base/sep.exp: Likewise.
14802 * gdb.base/sepdebug.exp: Likewise.
14803 * gdb.base/setshow.exp: Likewise.
14804 * gdb.base/setvar.exp: Likewise.
14805 * gdb.base/sigall.exp: Likewise.
14806 * gdb.base/sigbpt.exp: Likewise.
14807 * gdb.base/signals.exp: Likewise.
14808 * gdb.base/signull.exp: Likewise.
14809 * gdb.base/sizeof.exp: Likewise.
14810 * gdb.base/solib.exp: Likewise.
14811 * gdb.base/step-line.exp: Likewise.
14812 * gdb.base/step-test.exp: Likewise.
14813 * gdb.base/structs.exp: Likewise.
14814 * gdb.base/structs2.exp: Likewise.
14815 * gdb.base/term.exp: Likewise.
14816 * gdb.base/twice.exp: Likewise.
14817 * gdb.base/until.exp: Likewise.
14818 * gdb.base/varargs.exp: Likewise.
14819 * gdb.base/volatile.exp: Likewise.
14820 * gdb.base/watchpoint.exp: Likewise.
14821 * gdb.base/whatis-exp.exp: Likewise.
14822 * gdb.base/whatis.exp: Likewise.
14823 * gdb.cp/ambiguous.exp: Likewise.
14824 * gdb.cp/annota2.exp: Likewise.
14825 * gdb.cp/annota3.exp: Likewise.
14826 * gdb.cp/bool.exp: Likewise.
14827 * gdb.cp/breakpoint.exp: Likewise.
14828 * gdb.cp/casts.exp: Likewise.
14829 * gdb.cp/class2.exp: Likewise.
14830 * gdb.cp/classes.exp: Likewise.
14831 * gdb.cp/cplusfuncs.exp: Likewise.
14832 * gdb.cp/ctti.exp: Likewise.
14833 * gdb.cp/derivation.exp: Likewise.
14834 * gdb.cp/exception.exp: Likewise.
14835 * gdb.cp/gdb1355.exp: Likewise.
14836 * gdb.cp/hang.exp: Likewise.
14837 * gdb.cp/inherit.exp: Likewise.
14838 * gdb.cp/local.exp: Likewise.
14839 * gdb.cp/m-data.exp: Likewise.
14840 * gdb.cp/m-static.exp: Likewise.
14841 * gdb.cp/member-ptr.exp: Likewise.
14842 * gdb.cp/method.exp: Likewise.
14843 * gdb.cp/misc.exp: Likewise.
14844 * gdb.cp/namespace.exp: Likewise.
14845 * gdb.cp/overload.exp: Likewise.
14846 * gdb.cp/ovldbreak.exp: Likewise.
14847 * gdb.cp/pr-1023.exp: Likewise.
14848 * gdb.cp/pr-1210.exp: Likewise.
14849 * gdb.cp/pr-574.exp: Likewise.
14850 * gdb.cp/printmethod.exp: Likewise.
14851 * gdb.cp/psmang.exp: Likewise.
14852 * gdb.cp/ref-params.exp: Likewise.
14853 * gdb.cp/ref-types.exp: Likewise.
14854 * gdb.cp/rtti.exp: Likewise.
14855 * gdb.cp/templates.exp: Likewise.
14856 * gdb.cp/try_catch.exp: Likewise.
14857 * gdb.cp/userdef.exp: Likewise.
14858 * gdb.cp/virtfunc.exp: Likewise.
14859 * gdb.disasm/am33.exp: Likewise.
14860 * gdb.disasm/h8300s.exp: Likewise.
14861 * gdb.disasm/mn10300.exp: Likewise.
14862 * gdb.disasm/sh3.exp: Likewise.
14863 * gdb.disasm/t01_mov.exp: Likewise.
14864 * gdb.disasm/t02_mova.exp: Likewise.
14865 * gdb.disasm/t03_add.exp: Likewise.
14866 * gdb.disasm/t04_sub.exp: Likewise.
14867 * gdb.disasm/t05_cmp.exp: Likewise.
14868 * gdb.disasm/t06_ari2.exp: Likewise.
14869 * gdb.disasm/t07_ari3.exp: Likewise.
14870 * gdb.disasm/t08_or.exp: Likewise.
14871 * gdb.disasm/t09_xor.exp: Likewise.
14872 * gdb.disasm/t10_and.exp: Likewise.
14873 * gdb.disasm/t11_logs.exp: Likewise.
14874 * gdb.disasm/t12_bit.exp: Likewise.
14875 * gdb.disasm/t13_otr.exp: Likewise.
14876 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
14877 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
14878 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
14879 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
14880 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
14881 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
14882 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
14883 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
14884 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
14885 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
14886 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
14887 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
14888 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
14889 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
14890 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
14891 * gdb.mi/gdb701.exp: Likewise.
14892 * gdb.mi/gdb792.exp: Likewise.
14893 * gdb.mi/mi-basics.exp: Likewise.
14894 * gdb.mi/mi-break.exp: Likewise.
14895 * gdb.mi/mi-cli.exp: Likewise.
14896 * gdb.mi/mi-console.exp: Likewise.
14897 * gdb.mi/mi-disassemble.exp: Likewise.
14898 * gdb.mi/mi-eval.exp: Likewise.
14899 * gdb.mi/mi-file.exp: Likewise.
14900 * gdb.mi/mi-read-memory.exp: Likewise.
14901 * gdb.mi/mi-regs.exp: Likewise.
14902 * gdb.mi/mi-return.exp: Likewise.
14903 * gdb.mi/mi-simplerun.exp: Likewise.
14904 * gdb.mi/mi-stack.exp: Likewise.
14905 * gdb.mi/mi-stepi.exp: Likewise.
14906 * gdb.mi/mi-syn-frame.exp: Likewise.
14907 * gdb.mi/mi-until.exp: Likewise.
14908 * gdb.mi/mi-var-block.exp: Likewise.
14909 * gdb.mi/mi-var-child.exp: Likewise.
14910 * gdb.mi/mi-var-cmd.exp: Likewise.
14911 * gdb.mi/mi-var-display.exp: Likewise.
14912 * gdb.mi/mi-watch.exp: Likewise.
14913 * gdb.mi/mi2-basics.exp: Likewise.
14914 * gdb.mi/mi2-break.exp: Likewise.
14915 * gdb.mi/mi2-cli.exp: Likewise.
14916 * gdb.mi/mi2-console.exp: Likewise.
14917 * gdb.mi/mi2-disassemble.exp: Likewise.
14918 * gdb.mi/mi2-eval.exp: Likewise.
14919 * gdb.mi/mi2-file.exp: Likewise.
14920 * gdb.mi/mi2-read-memory.exp: Likewise.
14921 * gdb.mi/mi2-regs.exp: Likewise.
14922 * gdb.mi/mi2-return.exp: Likewise.
14923 * gdb.mi/mi2-simplerun.exp: Likewise.
14924 * gdb.mi/mi2-stack.exp: Likewise.
14925 * gdb.mi/mi2-stepi.exp: Likewise.
14926 * gdb.mi/mi2-syn-frame.exp: Likewise.
14927 * gdb.mi/mi2-until.exp: Likewise.
14928 * gdb.mi/mi2-var-block.exp: Likewise.
14929 * gdb.mi/mi2-var-child.exp: Likewise.
14930 * gdb.mi/mi2-var-cmd.exp: Likewise.
14931 * gdb.mi/mi2-var-display.exp: Likewise.
14932 * gdb.mi/mi2-watch.exp: Likewise.
14933 * gdb.stabs/exclfwd.exp: Likewise.
14934 * gdb.stabs/weird.exp: Likewise.
14935 * gdb.threads/gcore-thread.exp: Likewise.
14936 * gdb.trace/actions.exp: Likewise.
14937 * gdb.trace/backtrace.exp: Likewise.
14938 * gdb.trace/circ.exp: Likewise.
14939 * gdb.trace/collection.exp: Likewise.
14940 * gdb.trace/deltrace.exp: Likewise.
14941 * gdb.trace/infotrace.exp: Likewise.
14942 * gdb.trace/limits.exp: Likewise.
14943 * gdb.trace/packetlen.exp: Likewise.
14944 * gdb.trace/passc-dyn.exp: Likewise.
14945 * gdb.trace/passcount.exp: Likewise.
14946 * gdb.trace/report.exp: Likewise.
14947 * gdb.trace/save-trace.exp: Likewise.
14948 * gdb.trace/tfind.exp: Likewise.
14949 * gdb.trace/tracecmd.exp: Likewise.
14950 * gdb.trace/while-dyn.exp: Likewise.
14951 * gdb.trace/while-stepping.exp: Likewise.
14952
f4b618d1
JB
149532006-08-08 Joel Brobecker <brobecker@adacore.com>
14954
14955 * gdb.base/step-bt.c: New file.
14956 * gdb.base/step-bt.exp: New testcase.
14957
3d00d119
DJ
149582006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
14959
14960 * config/monitor.exp (gdb_load): Remove support for obsolete
14961 download-write-size.
14962 * gdb.base/remote.exp: Likewise. Update all callers of
14963 gdb_timed_load.
14964
017b5bd4
DJ
149652006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
14966
14967 * cursal.exp: Pass binfile to gdb_load.
14968
837c599d
DJ
149692006-08-01 Nathan Sidwell <nathan@codesourcery.com>
14970
14971 * gdb.base/cursal.exp: Add "" to gdb_load call.
14972
8dd4540b
MK
149732006-07-29 Mark Kettenis <kettenis@gnu.org>
14974
14975 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
14976 NetBSD/ELF targets.
14977
ab5c9f60
DJ
149782006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
14979
14980 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
14981 operator*.
14982
4c42eaff
DJ
149832006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
14984
14985 * gdb.base/completion.exp: Update for change in "file" behavior.
14986 * gdb.stabs/weird.exp: Likewise.
14987 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
14988 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
14989
0155cc76
NS
149902006-07-24 Nathan Sidwell <nathan@codesourcery.com>
14991
14992 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
14993 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
14994
16026cd7
AS
149952006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
14996
14997 * gdb.base/default.exp: Update source command error message.
14998 * gdb.base/help.exp: Update 'help source' message.
14999
16963cb6
DJ
150002006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
15001
15002 * gdb.cp/bs15503.exp: Update comment for no longer crashing
15003 test.
15004
6d7fd486
AS
150052006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
15006
15007 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
15008
29e8a844
DJ
150092006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
15010
15011 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
15012
6afcfa39
DJ
150132006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
15014
15015 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
15016
267a692b
MK
150172006-07-17 Mark Kettenis <kettenis@gnu.org>
15018
15019 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
15020 *-*-openbsd* from targets for wich we expect ARM FPA floating
15021 point format.
15022
85d2fec4
NR
150232006-07-17 Nick Roberts <nickrob@snap.net.nz>
15024
15025 * gdb.cp/annota3.exp: Expect frame-begin annotation.
15026
150272006-07-17 Mark Kettenis <kettenis@gnu.org>
15028
15029 * gdb.base/annota3.exp: Expect frame-begin annotation.
15030
85b4c6e8
JB
150312006-07-14 Joel Brobecker <brobecker@adacore.com>
15032
15033 * gdb.base/help.exp: Adjust "help unset" test to accept
15034 any list of unset commands.
15035
fb933624
DJ
150362006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
15037 Daniel Jacobowitz <dan@codesourcery.com>
15038
15039 * gdb.cp/ref-params.exp: New test.
15040 * gdb.cp/ref-params.cc: New source file.
15041 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
15042
1dff4b64
MK
150432006-07-08 Mark Kettenis <kettenis@gnu.org>
15044
15045 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
15046 spaces/tabs in regular expressions since they might not be there.
15047
40d2e0e3
AS
150482006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
15049
15050 * gdb.base/ifelse.exp: New file.
15051
f6c957d2
NS
150522006-07-04 Nathan Sidwell <nathan@codesourcery.com>
15053
15054 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
15055 line.
15056 * gdb.base/huge.exp: Loop over compilation to find a size that
15057 is acceptable.
15058 * gdb.base/remote.exp: Correct expected strings.
15059 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
15060
b9c5a23d
DJ
150612006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
15062
15063 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
15064
9af2e58d
DJ
150652006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
15066
15067 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
15068 native.
15069
30930ca5
DJ
150702006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
15071
15072 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
15073 enable stabs testing.
15074
aa32fa1d
DJ
150752006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
15076
bd4a4c80 15077 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
15078 gdb_test_multiple does.
15079
321fef15
DJ
150802006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
15081
15082 * Makefile.in (host_alias): Remove.
15083 (target_alias): Use @target_noncanonical@.
15084 (site.exp): Don't set host_alias.
15085 * aclocal.m4: Remove contents. Include acx.m4.
15086 * configure: Regenerated.
15087 * configure.ac: Use ACX_NONCANONICAL_TARGET.
15088
e1c2defa
NS
150892006-06-13 Nathan Sidwell <nathan@codesourcery.com>
15090
e63b55d1
NS
15091 * lib/gdb.exp (gdb_load_cmd): New.
15092
5600ea19
NS
15093 * gdb.base/fileio.c: Add system(NULL) test.
15094 * gdb.base/fileio.exp: Check it.
15095
e1c2defa
NS
15096 * gdb.base/break.c: Add 10a breakpoint at }
15097 * gdb.base/break.exp: Add test for breakpoint at }
15098 * gdb.cp/anon-union.cc: Add code at end of function.
15099 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
15100 * gdb.mi/var-cmd.c: Add code at end of function.
15101 * gdb.mi/mi-var-display.exp: Adjust end of next.
15102 * gdb.mi/mi2-var-display.exp: Likewise.
15103 * gdb.base/fileio.c: Add stop function and insert calls at
15104 stopping places.
15105 * gdb.base/fileio.exp: Breakpoint stop function and remove
15106 explicit line number references.
15107
6c0112ec
JB
151082006-05-19 Joel Brobecker <brobecker@adacore.com>
15109
a9c64011
AS
15110 * gdb.base/del.exp (test_delete_alias): New function.
15111 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 15112
154189a4
FF
151132006-05-18 Fred Fish <fnf@specifix.com>
15114
15115 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
15116 required. Check for spurious output after program exits normally.
15117
582e64c2
FF
151182006-05-17 Fred Fish <fnf@specifix.com>
15119
15120 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
15121 gdb_load, so it works in the simulator.
15122
8ef6493a
FF
151232006-05-11 Fred Fish <fnf@specifix.com>
15124
15125 * gdb.base/bang.exp: Ignore unexpected output between the
15126 "program exited normally" and the gdb prompt, as many other
15127 tests do.
15128
692b141c
MK
151292006-05-07 Mark Kettenis <kettenis@gnu.org>
15130
15131 * gdb.base/help.exp: Make "delete checkpoint" part option for
15132 "help d" and "help delete" tests.
15133
540b8a30
UW
151342006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15135
a9c64011 15136 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
15137 expected output in some mi_gdb_test statements.
15138 * gdb.mi/mi2-basics.exp: Likewise.
15139
9b6462d9
JB
151402006-05-05 Joel Brobecker <brobecker@adacore.com>
15141
15142 * gdb.base/del.c: New file.
15143 * gdb.base/del.exp: New testcase.
15144
954de43b
DM
151452006-05-05 David S. Miller <davem@sunset.davemloft.net>
15146
15147 * gdb.base/break.exp: Do not assume a breakpoint on
15148 main will actually be in $srcfile when optimizing.
1303f75e
DM
15149 * gdb.base/savedregs.exp: Do not require that the dummy
15150 frame location match up to a symbol and source file location.
c3242428
DM
15151 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
15152 will get printed without a mi_cmd_data_list_register_values prefix.
15153 (*-data-list-register-*): Correct regular expressions to expect the new
15154 pseudo d? floating point registers.
15155 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 15156
c7e64c9a
DJ
151572006-05-05 Christophe Lyon <christophe.lyon@st.com>
15158
15159 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
15160 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
15161 is allocated by the compiler.
15162 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
15163 anons, e, anone to force their allocation by the compiler.
15164
151652006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
15166
15167 * gdb.base/help.exp: Update expected text for help d and
15168 help delete.
15169
27ce9a6d
MK
151702006-05-02 Mark Kettenis <kettenis@gnu.org>
15171
15172 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
15173 NetBSD/ELF targets.
15174
8608915f
MK
151752006-04-30 Mark Kettenis <kettenis@gnu.org>
15176
15177 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
15178 single-step breakpoint fails; make this a KFAIL on
15179 sparc*-*-openbsd*.
15180 * gdb.base/siginfo.exp: Likewise.
15181 * gdb.base/sigstep.exp (advance, advancei): Likewise.
15182
b8db102d
MS
151832006-04-26 Michael Snyder <msnyder@redhat.com>
15184
15185 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
15186 which may have to consume output from other forks.
15187 Add tests to make sure that "delete fork" succeeded.
15188
c702009a
MS
151892006-04-20 Michael Snyder <msnyder@redhat.com>
15190
15191 * 2006-03-22 Jim Blandy <jimb@redhat.com>
15192 Add support for the Renesas M32C and M16C.
15193
15194 * gdb.asm/asm-source.exp: Add m32c target.
15195 * gdb.asm/m32c.inc: Support for m32c target.
15196
e28493f2
AS
151972006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
15198
15199 * gdb.base/commands.exp (recursive_source_test): New test.
15200
880da185
DM
152012006-04-04 David S. Miller <davem@sunset.davemloft.net>
15202
15203 * gdb.base/float.exp: Add pattern for sparc targets.
15204
61d9b92f
DJ
152052006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
15206
15207 * gdb.base/commands.exp (stray_arg0_test): New test.
15208
bd717df8
PB
152092006-03-30 Paul Brook <paul@codesourcery.com>
15210
15211 * gdb.mi/mi-until.exp: kfail broken until command.
15212 * gdb.mi/mi2-until.exp: Ditto.
15213
ec793d3c
NR
152142006-03-27 Nick Roberts <nickrob@snap.net.nz>
15215
15216 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
15217
831004b7
AO
152182006-03-08 Alexandre Oliva <aoliva@redhat.com>
15219
15220 * gdb.base/prelink.exp: Anchor tested-for regular expression
15221 on gdb prompt.
15222
effe49a0
PB
152232006-03-07 Paul Brook <paul@codesourcery.com>
15224
15225 * gdb.base/assign.exp: Correct fail message.
15226
e5461016
PB
152272006-03-07 Paul Brook <paul@codesourcery.com>
15228
15229 * lib/compiler.c: Extract armcc version number.
15230 * lib/compiler.cc: Ditto.
15231
fc91c6c2
PB
152322006-03-07 Paul Brook <paul@codesourcery.com>
15233
15234 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
15235 additional_flags=-w.
15236 * gdb.arch/altivec-regs.exp: Ditto.
15237 * gdb.arch/e500-abi.exp: Ditto.
15238 * gdb.arch/e500-regs.exp: Ditto.
15239 * gdb.base/all-bin.exp: Ditto.
15240 * gdb.base/annota1.exp: Ditto.
15241 * gdb.base/annota3.exp: Ditto.
15242 * gdb.base/args.exp: Ditto.
15243 * gdb.base/arithmet.exp: Ditto.
15244 * gdb.base/assign.exp: Ditto.
15245 * gdb.base/async.exp: Ditto.
15246 * gdb.base/bang.exp: Ditto.
15247 * gdb.base/break.exp: Ditto.
15248 * gdb.base/call-rt-st.exp: Ditto.
15249 * gdb.base/completion.exp: Ditto.
15250 * gdb.base/cond-expr.exp: Ditto.
15251 * gdb.base/condbreak.exp: Ditto.
15252 * gdb.base/consecutive.exp: Ditto.
15253 * gdb.base/define.exp: Ditto.
15254 * gdb.base/display.exp: Ditto.
15255 * gdb.base/ena-dis-br.exp: Ditto.
15256 * gdb.base/environ.exp: Ditto.
15257 * gdb.base/eval-skip.exp: Ditto.
15258 * gdb.base/info-proc.exp: Ditto.
15259 * gdb.base/jump.exp: Ditto.
15260 * gdb.base/logical.exp: Ditto.
15261 * gdb.base/long_long.exp: Ditto.
15262 * gdb.base/maint.exp: Ditto.
15263 * gdb.base/miscexprs.exp: Ditto.
15264 * gdb.base/pc-fp.exp: Ditto.
15265 * gdb.base/pointers.exp: Ditto.
15266 * gdb.base/relational.exp: Ditto.
15267 * gdb.base/reread.exp: Ditto.
15268 * gdb.base/sect-cmd.exp: Ditto.
15269 * gdb.base/sep.exp: Ditto.
15270 * gdb.base/sepdebug.exp: Ditto.
15271 * gdb.base/until.exp: Ditto.
15272 * gdb.base/whatis-exp.exp: Ditto.
15273 * gdb.cp/annota2.exp: Ditto.
15274 * gdb.cp/annota3.exp: Ditto.
15275 * gdb.trace/actions.exp: Ditto.
15276 * gdb.trace/backtrace.exp: Ditto.
15277 * gdb.trace/circ.exp: Ditto.
15278 * gdb.trace/collection.exp: Ditto.
15279 * gdb.trace/deltrace.exp: Ditto.
15280 * gdb.trace/infotrace.exp: Ditto.
15281 * gdb.trace/limits.exp: Ditto.
15282 * gdb.trace/packetlen.exp: Ditto.
15283 * gdb.trace/passc-dyn.exp: Ditto.
15284 * gdb.trace/passcount.exp: Ditto.
15285 * gdb.trace/report.exp: Ditto.
15286 * gdb.trace/save-trace.exp: Ditto.
15287 * gdb.trace/tfind.exp: Ditto.
15288 * gdb.trace/tracecmd.exp: Ditto.
15289 * gdb.trace/while-dyn.exp: Ditto.
15290 * gdb.trace/while-stepping.exp: Ditto.
15291 * lib/gdb.exp: Ditto.
15292 (gdb_compile): Handle nowarning option.
15293
5f4a23d9
AO
152942006-03-07 Alexandre Oliva <aoliva@redhat.com>
15295
15296 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
15297 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
15298 Rename executable to prelinkt. Don't re-prelink if we didn't
15299 get a core file. Test prelink -u exit status to tell whether
15300 prelinking failed. Use gdb_test_multiple.
15301
9733fc94
DJ
153022006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
15303
15304 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
15305 (do_tests): Call it.
15306
cc10cae3
AO
153072006-02-28 Alexandre Oliva <aoliva@redhat.com>
15308
15309 * gdb.base/prelink.exp: New test.
15310 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
15311
15c46491
WZ
153122006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
15313
15314 * gdb.fortran/derived-type.f90: New file.
15315 * gdb.fortran/derived-type.exp: New testcase.
15316
5c9f7ded
DJ
153172006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
15318
15319 * gdb.base/default.exp: Allow ';' as a directory separator.
15320
5b96932b
AS
153212006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
15322
15323 * gdb.base/help.exp (help add-symbol-file): Update.
15324
1986bccd
AS
153252006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
15326
15327 * gdb.base/help.exp (help load): Update expected results.
15328
a8b7528f
FF
153292006-02-19 Fred Fish <fnf@specifix.com>
15330
15331 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
15332 specifix hex value as part of results.
15333 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 15334
f8261448
FF
153352006-02-16 Fred Fish <fnf@specifix.com>
15336
15337 * gdb.base/whatis.c: Define variables using typedefs char_addr,
15338 ushort_addr, and slong_addr, so the typedefs are not optimized
15339 away.
15340 * gdb.base/whatis.exp: Add tests using type name for struct type,
15341 union type, enum type, and typedef.
a9c64011 15342
31d8bdd2
MK
153432006-02-13 Mark Kettenis <kettenis@gnu.org>
15344
15345 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
15346
34e41e63
JB
153472006-02-13 Jim Blandy <jimb@redhat.com>
15348
15349 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
15350 case where it takes two "next" commands to skip past the init
15351 call.
15352
ac6e4f31
FF
153532006-02-12 Fred Fish <fnf@specifix.com>
15354
15355 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
15356 to handle cases where it takes two "next" commands to skip
15357 past the init call.
15358
2db2d571
JB
153592006-02-07 Joel Brobecker <brobecker@adacore.com>
15360
15361 * gdb.ada/array_return.exp: Mark the last test as expected to fail
15362 on hppa32 targets.
15363
38fcd64c
DJ
153642006-02-06 Vladimir Prus <ghost@cs.msu.su>
15365
15366 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
15367 field.
15368
1315ad46
MK
153692006-01-29 Mark Kettenis <kettenis@gnu.org>
15370
15371 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
15372
5625b943
DJ
153732006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
15374
15375 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
15376 files.
15377
80df1bbe
DJ
153782006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
15379
15380 * gdb.cp/maint.exp: Set complaints to a positive value.
15381
9078e690
DJ
153822006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
15383
15384 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
15385 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
15386 function name.
15387
9c903399
DJ
153882006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
15389
15390 * gdb.base/checkpoint.c: Update copyright notice. Include
15391 <stdlib.h>.
15392
761ae4d6
JB
153932006-01-04 Jim Blandy <jimb@redhat.com>
15394
15395 * gdb.asm/asm-source.exp: Independently provide default values for
15396 asm-flags and debug-flags. Use 'string equal' to do the
15397 comparison, not the implicit expr's '==' operator. Remove
15398 now-unneeded assignments to asm-flags. In h8300 case, place
15399 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
15400
099ac3dd
MS
154012006-01-04 Michael Snyder <msnyder@redhat.com>
15402
15403 * gdb.base/checkpoint.c: New file.
15404 * gdb.base/checkpoint.exp: New file.
15405 * gdb.base/multi-fork.c: New file.
15406 * gdb.base/multi-fork.exp: New file.
15407 * gdb.base/pi.txt: New file (data for checkpoint.c test).
15408
f4d85314
FF
154092006-01-04 Fred Fish <fnf@specifix.com>
15410
15411 * gdb.base/ptype.c (foo): Add typedef.
15412 (intfoo): Add function.
15413 * gdb.base/ptype1.c: New file.
15414 * gdb.base/ptype.exp: Handle compilation and linking with two
15415 source files. Test that proper type for "foo" is found based
15416 on source context rather than first match found in symtabs.
15417
a1b06f35
MK
154182005-12-28 Mark Kettenis <kettenis@gnu.org>
15419
15420 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
15421 * gdb.asm/openbsd.inc: Indent commands.
15422
d082a1e2
MK
154232005-12-26 Mark Kettenis <kettenis@gnu.org>
15424
c65016bd
MK
15425 * gdb.base/freebpcmd.exp: Increase timeout.
15426
d082a1e2
MK
15427 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
15428
d3c32a0e
DJ
154292005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
15430
15431 * gdb.base/default.exp: Update check for "show version".
15432
9fdb1f50
RC
154332005-12-09 Randolph Chung <tausq@debian.org>
15434
15435 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
15436 * gdb.asm/pa64.inc: New file.
15437
5f2c56f7
RC
154382005-12-09 Randolph Chung <tausq@debian.org>
15439
15440 * gdb.asm/common.inc: Indent commands.
15441 * gdb.asm/asmsrc1.s: Likewise.
15442 * gdb.asm/asmsrc2.s: Likewise.
15443
8117349c
RC
154442005-12-09 Randolph Chung <tausq@debian.org>
15445
15446 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
15447 (get_addr_of_sym): Remove duplicate print.
15448 (gen_core): xfail hppa*-*-hpux*, update expected output.
15449 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
15450 * gdb.arch/pa64-nullify.s: New file.
15451
8f07f25a
RC
154522005-12-09 Randolph Chung <tausq@debian.org>
15453
15454 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
15455
55b39184
DJ
154562005-12-07 Christophe Lyon <christophe.lyon@st.com>
15457
15458 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
15459 code generation for these functions.
15460 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
15461 error message.
15462
31e2b00f
AS
154632005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
15464
15465 * gdb.base/help.exp (help b, help br, help bre, help brea)
15466 (help break): Update the expected message.
15467
c3d0b56e
SC
154682005-11-11 Stephane Carrez <stcarrez@nerim.fr>
15469
15470 * gdb.asm/m68hc11.inc: Setup the data section.
15471 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
15472 script for this test.
15473 (m6812-*-*): Likewise.
15474
36ae0ea9
RC
154752005-11-09 Randolph Chung <tausq@debian.org>
15476
15477 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
15478
9d6f42e9
WZ
154792005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
15480
15481 * gdb.base/break.exp: Fix a comment typo.
15482
e2126a14
EZ
154832005-11-03 Jim Blandy <jimb@redhat.com>
15484
a9c64011
AS
15485 Checked in by Elena Zannoni <ezannoni@redhat.com>
15486
889bf7c5 15487 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
e2126a14 15488
e0ac7199
CV
154892005-11-02 Corinna Vinschen <vinschen@redhat.com>
15490
15491 * gdb.arch/gdb1558.c: Include stdio.h.
15492
31d3fb18
MK
154932005-10-31 Mark Kettenis <kettenis@gnu.org>
15494
15495 * gdb.asm/asm-source.exp: Use -e instead of --entry.
15496
e52b687c
MK
154972005-10-31 Mark Kettenis <kettenis@gnu.org>
15498
15499 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
15500
f4711d79
PG
155012005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
15502
a9c64011
AS
15503 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
15504 vscr" tests to better match output.
f4711d79 15505
987a9106
JB
155062005-10-12 Jim Blandy <jimb@redhat.com>
15507
15508 * gdb.base/structs.exp (any): New function.
15509 (test_struct_returns): Don't make any assumptions at all about
15510 what value the function returns when GDB can't set the return
15511 value.
15512
2336bb58
JB
155132005-10-09 Joel Brobecker <brobecker@adacore.com>
15514
15515 * gdb.ada/arrayidx/p.adb: New file.
15516 * gdb.ada/arrayidx.exp: New testcase
15517
155182005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
15519
15520 * gdb.ada/array_return/pck.ads: New file.
15521 * gdb.ada/array_return/pck.adb: New file.
15522 * gdb.ada/array_return/p.adb: New file.
15523 * gdb.ada/array_return.exp: New testcase.
15524
705335ea
JB
155252005-10-03 Joel Brobecker <brobecker@adacore.com>
15526
a9c64011
AS
15527 * gdb.base/arrayidx.c: New file.
15528 * gdb.base/arrayidx.exp: New testcase.
705335ea 15529
11ee9940
NR
155302005-09-29 Nick Roberts <nickrob@snap.net.nz>
15531
15532 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
15533 frames-invalid and breakpoints-invalid are no longer generated
15534 with level 3 so don't expect them in the output.
15535
39fb8e9e
BR
155362005-09-27 Bob Rossi <bob@brasko.net>
15537
a9c64011 15538 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
15539 from test. Escape the | in mi_gdb_test call.
15540 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
15541 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
15542 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
15543 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
15544 expected regex's in mi_gdb_test calls.
15545 * lib/mi-support.exp: Remove arbitrary .* from tests.
15546 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
15547 Fully anchor GDB/MI expected results in mi_gdb_test.
15548 * lib/gdb.exp (string_to_regexp): Escape the ] character.
15549 * gdb.base/sizeof.exp: Remove escape character. Correct test.
15550
2af48f68
PB
155512005-09-26 Paul Brook <paul@codesourcery.com>
15552
15553 * long_long.exp: Exclude eabi targets from arm FPA float format test.
15554
f34502bc
WZ
155552005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
15556
15557 * bfp-test.c: New file.
15558 * bfp-test.exp: New testcase.
15559
ca929517
WZ
155602005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
15561
15562 * gdb.fortran/subarray.exp: New testcase to test the evaluation
15563 of subarray and substring variable.
15564 * gdb.fortran/subarray.f: New source file for the test of subarray
15565 and substring variable evaluation.
15566 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
15567 of string constant.
15568
c761af65
DJ
155692005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
15570
15571 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
15572 copyright dates.
15573
561d7a1d
PG
155742005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
15575
15576 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
15577 powerpc altivec' test with an almost identical 'info vector' test.
15578
b2b64cc9
PG
155792005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
15580
a9c64011
AS
15581 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
15582 vscr" tests to match output.
b2b64cc9 15583
6ac4d15a
PG
155842005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
15585
a9c64011
AS
15586 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
15587 output.
6ac4d15a 15588
40e55bef
BR
155892005-09-11 Bob Rossi <bob@brasko.net>
15590
889bf7c5
PA
15591 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
15592 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
15593 commands that return an MI output command and an asyncronous MI output
15594 command.
40e55bef
BR
15595 * gdb.mi/mi-console.exp: Ditto.
15596
3c7385ec
BR
155972005-09-11 Bob Rossi <bob@brasko.net>
15598
15599 * gdb.mi/mi-var-child.c: Include <string.h>.
15600
a6cd0eb3
DJ
156012005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
15602
15603 * killed.exp: Correct gdb_expect syntax.
15604
2f168eed
CV
156052005-08-09 Corinna Vinschen <vinschen@redhat.com>
15606
15607 * lib/mi-support.exp (mi_gdb_load): Fix typo.
15608
ecd3fd0f
BR
156092005-08-02 Bob Rossi <bob@brasko.net>
15610
15611 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
15612 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
15613 Change tests to inferior-tty-set/show.
15614 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
15615 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
15616 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
15617 inferior. Use mi_gdb_test to get GDB and Inferior output.
15618 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
15619 descriptor.
15620 (mi_inferior_tty_name): Add inferior PTY file name.
15621 (mi_gdb_start): Add INFERIOR_PTY parameter.
15622 (mi_gdb_test): Add IPATTERN parameter.
15623
f1ea48cb 156242005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 15625
f1ea48cb
BR
15626 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
15627 parameter to mi_gdb_test.
15628 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
15629
6e650a67
DJ
156302005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
15631
15632 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
15633 struct_declarations.
15634 * gdb.mi/mi-var-child.exp: Step over the initialization of
15635 struct_declarations.
15636
8be260b6
DJ
156372005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
15638
15639 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
15640 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
15641 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
15642 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
15643 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
15644 file.
15645
4e660f07
NR
156462005-07-27 Nick Roberts <nickrob@snap.net.nz>
15647
15648 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
15649 (do_children_tests): Assign values to the extra elements.
15650
15651 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
15652 them for tests for "-var-update --no-values" and
a9c64011 15653 "-var-update --all-values".
4e660f07
NR
15654 Add test for "-var-list-children --simple-values".
15655
15656 * gdb.mi/basics.c (callee4): Add integer array D[3]...
15657
15658 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
15659 "-stack-list-locals --simple-values" Improve doc strings and
15660 comments.
15661
6bdae935
MK
156622005-07-18 Mark Kettenis <kettenis@gnu.org>
15663
598b7a6f
MK
15664 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
15665 *-*-openbsd*.
15666 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
15667
6bdae935
MK
15668 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
15669 sigaltsatck'.
15670
1323e929 156712005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 15672
1323e929
BR
15673 * gdb.base/default.exp (tty): Changed output of command.
15674 * gdb.base/help.exp (help tty): Ditto.
15675
b1a9c082
MK
156762005-07-12 Mark Kettenis <kettenis@gnu.org>
15677
15678 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
15679
10a844a2
MK
156802005-07-10 Mark Kettenis <kettenis@gnu.org>
15681
15682 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
15683 -stack-select-frame without arguments.
15684 (test_stack_frame_listing): Add test for newly implemented command
15685 -stack-info-frame.
15686
3cb3b8df
BR
156872005-07-06 Bob Rossi <bob@brasko.net>
15688
15689 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
15690 command.
15691 (Copyright): Update copyright.
15692
a0c5fbcf
WZ
156932005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
15694
15695 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
15696 tests to evaluate exponentiation expression.
15697
984971d0
AS
156982005-06-29 Andreas Schwab <schwab@suse.de>
15699
15700 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
15701 main to avoid warnings.
15702
15703 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
15704
fe03833f
NR
157052005-06-20 Nick Roberts <nickrob@snap.net.nz>
15706
15707 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
15708 -stack-select-frame without arguments.
15709 (test_stack_frame_listing): Add test for newly implemented command
15710 -stack-info-frame.
a9c64011 15711
7a55f279
WZ
157122005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
15713
0ffa0ea5
DJ
15714 * gdb.fortran/array-element.f: New file.
15715 * gdb.fortran/array-element.exp: New testcase.
7a55f279 15716
26585198
DJ
157172005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
15718
15719 * gdb.base/bigcore.exp: Correct checks for systems which can
15720 not dump a large core file.
15721
c1bd25fd
DJ
157222005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
15723
15724 * gdb.base/relocate.c: Add a copyright notice.
15725 (dummy): Remove.
15726 * gdb.base/relocate.exp: Test printing the values of variables
15727 from a relocatable file.
15728
589e074d
DJ
157292005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
15730
15731 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
15732 excess MI output after an error.
15733
0915f927
JB
157342005-05-29 Joel Brobecker <brobecker@adacore.com>
15735
15736 * gdb.arch/alpha-step.c: New file.
15737 * gdb.arch/alpha-step.exp: New testcase.
15738
76ff342d
DJ
157392005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
15740 Dennis Brueni <dennis@slickedit.com>
15741
15742 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
15743 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
15744 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
15745 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
15746 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
15747 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
15748 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
15749
96b0c7ac
DJ
157502005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
15751 Wu Zhou <woodzltc@cn.ibm.com>
15752
15753 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
15754 IBM's xlc compiler.
15755 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
15756 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
15757
f21565d2
JB
157582005-05-13 Jim Blandy <jimb@redhat.com>
15759
15760 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
15761 calling gdb_suppress_entire_file.
15762 * gdb.base/charset.exp: Same.
15763 * gdb.base/call-rt-st.exp: Same.
15764
6006a3a1
BR
157652005-05-05 Bob Rossi <bob_rossi@cox.net>
15766
15767 * lib/gdb.exp (fullname_syntax): Added global regex.
15768 (fullname_syntax_POSIX): Ditto.
15769 (fullname_syntax_UNC): Ditto.
15770 (fullname_syntax_DOS_CASE): Ditto.
15771 (fullname_syntax_DOS): Ditto.
15772 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
15773 fullname_syntax variable to scope and use it.
15774 (test_file_list_exec_source_files): Ditto.
15775 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
15776
c3b69c04
DJ
157772005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
15778
15779 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
15780
3c95e6af
PG
157812004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
15782
a9c64011
AS
15783 * lib/gdb.exp (skip_altivec_tests): New function, based on
15784 check_vmx_hw_available from the GCC testsuite.
15785 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
15786 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 15787
78df6c56
JB
157882005-05-02 Jim Blandy <jimb@redhat.com>
15789
15790 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
15791 calling gdb_suppress_entire_file.
15792
1690f9cf
DJ
157932005-04-30 Randolph Chung <tausq@debian.org>
15794
15795 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
15796 Slightly relax "sem_post" name checking.
15797
5ea106f7
PG
157982005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
15799
15800 * gdb.base/unload.exp: Use new shared library infrastructure.
15801
bf7234cf
PG
158022005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
15803
15804 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 15805 infrastructure.
bf7234cf 15806
547b869a
CV
158072005-04-29 Corinna Vinschen <vinschen@redhat.com>
15808
15809 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
15810 * gdb.asm/h8300.inc: New file.
15811
f07e55f0
PG
158122005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
15813
15814 * gdb.base/shlib-call.exp: Change to use new shared library
15815 infrastructure.
15816
3cbba3d1
PG
158172005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
15818
a9c64011
AS
15819 * gdb.base/pending.exp: Change to use new shared library
15820 infrastructure.
3cbba3d1 15821
ed6df200
PG
158222005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
15823
a9c64011
AS
15824 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
15825 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 15826
8c8f4ebe
PG
158272005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
15828
a9c64011
AS
15829 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
15830 shared objects being adjusted and update copyright years.
8c8f4ebe 15831
607fbc54
DJ
158322005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
15833
15834 * ChangeLog: Correct some 2003-01-13 dates.
15835 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
15836 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
15837 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
15838 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
15839 gdb.trace/tfind.exp: Update copyright years.
15840
57bf0e56
DJ
158412005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
15842 Daniel Jacobowitz <dan@codesourcery.com>
15843
15844 * lib/gdb.exp (gdb_compile): Handle shlib=.
15845 (gdb_compile_shlib): New function.
15846
9b593790
PG
158472005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
15848
a9c64011 15849 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 15850
9494c6a5
DJ
158512005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
15852
15853 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
15854 gdb.server.
15855 * configure.ac: Likewise.
15856 * configure: Regenerated.
15857 * gdb.gdbserver/Makefile.in: Moved to...
15858 * gdb.server/Makefile.in: ... here.
15859 * gdb.gdbserver/server.c: Moved to...
15860 * gdb.server/server.c: ... here.
15861 * gdb.gdbserver/server-run.exp: Moved to...
15862 * gdb.server/server-run.exp: ... here.
15863
6f8eac0e
DJ
158642005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
15865
15866 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
15867 * configure.ac: Create gdb.gdbserver/Makefile.
15868 * configure: Regenerated.
15869 * lib/gdbserver-support.exp: New file, derived from
15870 config/gdbserver.exp.
15871 * config/gdbserver.exp: Use gdbserver-support.exp.
15872 * gdb.gdbserver/Makefile.in: New file.
15873 * gdb.gdbserver/server.c: New file.
15874 * gdb.gdbserver/server-run.exp: New file.
15875
6e87504d
PG
158762005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
15877
a9c64011
AS
15878 * lib/gdb.exp (test_compiler_info): Return compiler_info
15879 if no arguments are given.
6e87504d 15880
d1779be4
PG
158812005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
15882
15883 * gdb.arch/altivec-abi.exp: Check for compiler and set
15884 use altivec' flag accordingly.
15885 * gdb.arch/altivec-regs.exp: Likewise.
15886
88750304
DJ
158872005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
15888
15889 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
15890
f3fb768d
AS
158912005-03-27 Andreas Schwab <schwab@suse.de>
15892
15893 * gdb.base/bigcore.c (main): Add missing mode argument in open
15894 call.
15895
7e813ac5
DJ
158962005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
15897
15898 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
15899 downloads.
15900 * config/gdbserver.exp (gdb_load): Likewise.
15901
8e3049aa
PB
159022005-03-14 Paul Brook <paul@codesourcery.com>
15903
15904 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
15905 targets.
15906
a9df7c44
JB
159072005-03-09 Joel Brobecker <brobecker@adacore.com>
15908
15909 * gdb.dwarf2/dup-psym.S: New file.
15910 * gdb.dwarf2/dup-psym.exp: New testcase.
15911
9f0d94e8
JB
159122005-03-09 Joel Brobecker <brobecker@adacore.com>
15913
15914 * gdb.ada/exec_changed/first.adb: New file.
15915 * gdb.ada/exec_changed/second.adb: New file.
15916 * gdb.ada/exec_changed.exp: New testcase.
15917
5f579bc5
NS
159182005-03-08 Nathan Sidwell <nathan@codesourcery.com>
15919
36e9969c
NS
15920 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
15921 (A2): New class.
15922 (main): Test operator+.
15923 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
15924 breakpoint test.
15925
5f579bc5
NS
15926 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
15927 * gdb.base/signull.exp: Disable if gdb,nosignals.
15928 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
15929 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
15930 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
15931 * gdb.mi/mi2-console.exp: Likewise.
15932 * gdb.trace/collection.exp (run_trace_experiment): Consume the
15933 continue output at start.
15934 (gdb_collect_locals_test): Robustify regexp.
15935 * gdb.trace/passc-dyn.exp: Fix comment typo.
15936 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
15937
be46087e
CV
159382005-03-08 Corinna Vinschen <vinschen@redhat.com>
15939
15940 * gdb.asm/asm-source.exp: Add iq2000 case.
15941 * gdb.asm/iq2000.inc: New file.
15942
384e1a61 159432005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 15944
384e1a61
MI
15945 * gdb.base/command.exp: Change hardcoded value to regular expression.
15946 * gdb.base/float.exp: Add powerpc to the list of targets checked.
15947
584b6e9e
DJ
159482005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
15949
15950 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
15951 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
15952 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
15953 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
15954 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
15955
ab5b5d61
MK
159562005-03-05 Mark Kettenis <kettenis@gnu.org>
15957
15958 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
15959 changes.
15960
ae051c1b
PG
159612004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
15962
a9c64011
AS
15963 * lib/compiler.c: Add test for IBM's xlc compiler.
15964 * lib/compiler.cc: Likewise.
ae051c1b 15965
3f0f6ed2
JB
159662004-02-24 Joel Brobecker <brobecker@adacore.com>
15967
15968 * gdb.ada/fixed_points.exp: Create compilation object directory
15969 before running the test.
15970 * gdb.ada/null_record.exp: Likewise.
15971 * gdb.ada/packed_array.exp: Likewise.
15972 * gdb.ada/start.exp: Likewise.
15973
724f452b
JB
159742005-02-15 Joel Brobecker <brobecker@adacore.com>
15975
15976 * gdb.ada/packed_array/pa.adb: New file.
15977 * gdb.ada/packed_array.exp: New testcase.
15978
57f5cdfb 159792005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 15980
1f393151
MK
15981 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
15982 files.
15983
ebdda337
MK
15984 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
15985 on *-*-openbsd*. Correctly match whitespace in regukar
15986 expressions.
15987
cf309262
DJ
159882005-02-10 Daniel Jacobowitz <dan@debian.org>
15989
15990 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
15991 PR exp/1821
15992 * gdb.base/gdb1821.c: New test file.
15993 * gdb.base/gdb1821.exp: New test file.
15994
3be49e7a
JB
159952005-02-09 Joel Brobecker <brobecker@adacore.com>
15996
15997 * gdb.base/start.c: New file.
15998 * gdb.base/start.exp: New testcase.
15999
e292e67d
JB
160002005-02-09 Joel Brobecker <brobecker@adacore.com>
16001
16002 * gdb.ada/start/dummy.adb: New file.
16003 * gdb.ada/start.exp: New testcase.
16004
dbdfa66c
CV
160052005-02-09 Corinna Vinschen <vinschen@redhat.com>
16006
16007 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
16008 for printing symbols and statistics.
16009 Add test for using relative pathnames in "maint print msymbols" test.
16010 Mark "maint info sections DATA" XFAIL on Cygwin.
16011 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
16012 tests.
16013
d7941671
AC
160142005-02-09 Andreas Schwab <schwab@suse.de>
16015
16016 Committed by Andrew Cagney <cagney@gnu.org>
16017 * gdb.base/remotetimeout.exp: New file.
16018
74e5ef44
MK
160192005-02-07 Mark Kettenis <kettenis@gnu.org>
16020
16021 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
16022
464dd14d
JB
160232005-02-03 Joel Brobecker <brobecker@adacore.com>
16024
16025 * gdb.ada/gnat_ada.gpr: New file.
16026 * gdb.ada/gnat_ada.gin: Delete, no longer used.
16027 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
16028 * configure.ac: No longer generate gnat_ada.gpr.
16029 * configure: Regenerate.
16030 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
16031 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
16032 * gdb.ada/null_record/bar.ads: Likewise.
16033 * gdb.ada/null_record/bar.adb: Likewise.
16034 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
16035 * gdb.ada/null_record.exp (testdir): New variable.
16036 (testfile): executable is now in testdir subdirectory.
16037 (srcfile): Use full path to the main compilation unit.
16038 * gdb.ada/fixed_points.exp: Same changes as above.
16039
30d756ae
NR
160402005-02-03 Nick Roberts <nickrob@snap.net.nz>
16041
16042 * gdb.base/interp.exp: New test.
16043
9d799f85
AC
160442005-01-24 Andrew Cagney <cagney@gnu.org>
16045
16046 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
16047
15656118
AC
160482005-01-19 Andrew Cagney <cagney@gnu.org>
16049
a892c31b
AC
16050 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
16051 configure.ac not configure.in.
16052
15656118
AC
16053 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
16054 of powerpc*-*-*.
16055 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 16056 * gdb.base/list.exp (test_list_function)
15656118
AC
16057 (test_list_filename_and_function): Ditto.
16058 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
16059
a7b01baf
AC
160602005-01-16 Andrew Cagney <cagney@gnu.org>
16061
17d92a02
AC
16062 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
16063
a7b01baf
AC
16064 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
16065
bc8332bb
AC
160662005-01-14 Andrew Cagney <cagney@gnu.org>
16067
16068 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
16069 * gdb.mi/mi2-var-cmd.exp: Ditto.
16070
4d074752
CV
160712005-01-10 Corinna Vinschen <vinschen@redhat.com>
16072
16073 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
16074
bec39cab
AC
160752005-01-07 Andrew Cagney <cagney@gnu.org>
16076
16077 * configure.ac: Rename configure.in, require autoconf 2.59.
16078 * configure: Re-generate.
16079 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
16080 * gdb.stabs/configure: Re-generate.
16081 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
16082 * gdb.hp/configure: Re-generate.
16083 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
16084 autoconf 2.59.
16085 * gdb.hp/gdb.objdbg/configure: Re-generate.
16086 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
16087 autoconf 2.59.
16088 * gdb.hp/gdb.defects/configure: Re-generate.
16089 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
16090 autoconf 2.59.
16091 * gdb.hp/gdb.compat/configure: Re-generate.
16092 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
16093 autoconf 2.59.
16094 * gdb.hp/gdb.base-hp/configure: Re-generate.
16095 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
16096 autoconf 2.59.
16097 * gdb.hp/gdb.aCC/configure: Re-generate.
16098
f10b16d4
JB
160992004-12-15 Jim Blandy <jimb@redhat.com>
16100
16101 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
16102 under NPTL when there is debugging info available for libpthread.
16103
fb6e1814
JG
161042004-12-13 Jerome Guitton <guitton@gnat.com>
16105
16106 * gdb.ada/fixed_points.c: New file.
16107 * gdb.ada/fixed_points.exp: New file.
16108
fe46cd3a
RC
161092004-12-03 Randolph Chung <tausq@debian.org>
16110
16111 * gdb.arch/pa-nullify.exp: New file.
16112 * gdb.arch/pa-nullify.s: New file.
16113
8de0841b
RC
161142004-11-30 Randolph Chung <tausq@debian.org>
16115
16116 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
16117 instead of "tbug". Fix regexp to work properly with gdb_test.
16118
c8170782
PH
161192004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
16120
16121 * gdb.base/bitfields2.exp: New test.
16122 * gdb.base/bitfields2.c: New file.
16123
954269c2
RE
161242004-11-28 Richard Earnshaw <rearnsha@arm.com>
16125
16126 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
16127
0107feed
RC
161282004-11-16 Randolph Chung <tausq@debian.org>
16129
16130 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
16131
f073ae8c
DJ
161322004-11-14 Daniel Jacobowitz <dan@debian.org>
16133
16134 * gdb.threads/threadapply.exp: Correct "macro details" test.
16135
19ad59e7
JJ
161362004-11-11 Jeff Johnston <jjohnstn@redhat.com>
16137
16138 * gdb.threads/threadapply.exp: New test.
16139 * gdb.threads/threadapply.c: New file.
16140
9cf0961b
MK
161412004-11-07 Mark Kettenis <kettenis@gnu.org>
16142
16143 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
16144 frames.
16145
c789492a
FL
161462004-11-05 Felix Lee <felix+log1@specifixinc.com>
16147
16148 * gdb.base/cursal.exp: New file.
16149 * gdb.base/cursal.c: New file.
16150
a1e167bb
AC
161512004-11-03 Andrew Cagney <cagney@gnu.org>
16152
16153 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
16154
b7cbf173
MK
161552004-10-30 Mark Kettenis <kettenis@gnu.org>
16156
16157 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
16158 NetBSD/ELF targets.
16159
88f9d34f
JB
161602004-10-29 Joel Brobecker <brobecker@gnat.com>
16161
16162 * gdb.threads/bp_in_thread.c: New file, copied from
16163 pthread_cond_wait.c.
16164 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
16165 file, rather than reusing the .c file from another testcase.
16166
ca7d6a0c
JB
161672004-10-20 Joel Brobecker <brobecker@gnat.com>
16168
16169 * gdb.ada/null_record.exp: Check where we stopped after
16170 sending the start command, instead of where the associated
16171 temporary breakpoint was inserted.
16172
0d863d03
AC
161732004-10-14 Andrew Cagney <cagney@gnu.org>
16174
16175 * gdb.mi/gdb701.c (main): Return 0.
16176
d11e72cb
DJ
161772004-10-13 Daniel Jacobowitz <dan@debian.org>
16178
d40539a4 16179 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 16180
e1923096
JJ
161812004-10-12 Jeff Johnston <jjohnstn@redhat.com>
16182
16183 * gdb.threads/schedlock.c: Add comment markers to use to find
16184 line numbers.
16185 * gdb.threads/schedlock.exp: Adjust regex to handle the new
16186 comments.
16187 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
16188 breakpoint lines.
16189
ec8ba2c9
DJ
161902004-10-12 Daniel Jacobowitz <dan@debian.org>
16191
16192 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
16193
0eb3658b
DJ
161942004-10-12 Daniel Jacobowitz <dan@debian.org>
16195
16196 * configure.in: Add gdb.dwarf2.
16197 * configure: Regenerated.
16198 * Makefile.in: Add gdb.dwarf2.
16199 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
16200 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
16201 gdb.dwarf2/file1.txt: New files.
16202
a271cc33
OF
162032004-10-11 Orjan Friberg <orjanf@axis.com>
16204
a9c64011 16205 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
16206 of "run", since the latter doesn't work with remote targets. Adjust
16207 the breakpoint numbering accordingly.
16208 * gdb.threads/pthread_cond_wait.exp: Ditto.
16209
895ce074
MC
162102004-10-08 Michael Chastain <mec.gnu@mindspring.com>
16211
16212 * gdb.base/overlays.exp: Update copyright years.
16213
6be3092d
KI
162142004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
16215
16216 * gdb.base/overlays.exp: Disable if target is Linux.
16217
e05389b8
FL
162182004-10-06 Felix Lee <felix+log1@specifixinc.com>
16219
16220 * config/gdbserver.exp (gdb_load): Use right filename on remote.
16221
73cb587d
KI
162222004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
16223
16224 * gdb.asm/asm-source.exp: Add m32r-linux target.
16225 * gdb.asm/m32r-linux.inc: New file.
16226
3c0edcdc
AC
162272004-09-24 Andrew Cagney <cagney@redhat.com>
16228 David Anderson <anderson@redhat.com>
16229
16230 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
16231 command fails, assume things will work.
16232 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
16233 (_GNU_SOURCE): Define.
16234 (print_unsigned, print_hex): Change parameter to "long long".
16235 (print_byte_count): New function, use to print byte counts.
16236 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
16237 O_LARGEFILE.
16238 (main): Compute an upper bound on a corefile in max_core_size.
16239 Limit memory chunk size to max_core_size. Limit total memory
16240 allocated to max_core_size.
16241
4bb3667f
AC
162422004-09-23 Andrew Cagney <cagney@gnu.org>
16243
16244 * gdb.base/bigcore.exp: Replace the code that creates a corefile
16245 from a separate process with code that creates a corefile by
16246 making the inferior dump core.
16247
60fe1a51
MK
162482004-09-23 Mark Kettenis <kettenis@gnu.org>
16249
16250 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
16251 block.
16252
8e937346
MC
162532004-09-23 Michael Chastain <mec.gnu@mindspring.com>
16254
16255 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
16256 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
16257 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
16258 Likewise.
16259
7213f6d6
JJ
162602004-09-20 Jeff Johnston <jjohnstn@redhat.com>
16261
16262 * gdb.java/jprint.exp: New test case for java inferior call.
16263 * gdb.java/jprint.java: Ditto.
16264
eac69dca
JB
162652004-09-15 Joel Brobecker <brobecker@gnat.com>
16266
16267 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
16268
22227696
MC
162692004-09-14 Michael Chastain <mec.gnu@mindspring.com>
16270
16271 * gdb.threads/killed.c: Include <stdlib.h>.
16272 * gdb.threads/pthreads.c: Likewise.
16273
7dd403a4
MC
162742004-09-14 Michael Chastain <mec.gnu@mindspring.com>
16275
16276 * gdb.threads/killed.c: Add copyright notice.
16277
33f2d567
JM
162782004-09-10 Jason Molenda (jmolenda@apple.com)
16279
a9c64011
AS
16280 * gdb.base/define.exp: Two new tests to verify zero space chars
16281 after 'if' and 'while' commands in a user-defined command is correctly
16282 parsed.
33f2d567 16283
e05b62ac
AC
162842004-09-08 Andrew Cagney <cagney@gnu.org>
16285
16286 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
16287 delivery test with duplicate at end of file.
16288
9cbe82da
MK
162892004-09-06 Mark Kettenis <kettenis@jive.nl>
16290
16291 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
16292
564803d9
MC
162932004-09-05 Michael Chastain <mec.gnu@mindspring.com>
16294
16295 * config/hppro.exp: Removed.
16296
7c6807ce
MC
162972004-09-05 Michael Chastain <mec.gnu@mindspring.com>
16298
16299 * config/sparclet.exp: Removed.
16300
bf7e26dd
MC
163012004-09-05 Michael Chastain <mec.gnu@mindspring.com>
16302
16303 * config/udi.exp: Removed.
16304
714e341b
MC
163052004-09-02 Michael Chastain <mec.gnu@mindspring.com>
16306
16307 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
16308 of "exp_continue".
16309 (advancei): Likewise.
16310
1236e623
JJ
163112004-09-01 Jeff Johnston <jjohnstn@redhat.com>
16312
16313 * gdb.base/unload.exp: Fix so messages aren't duplicated.
16314
3bdcad15
MI
163152004-09-01 Manoj Iyer <manjo@austin.ibm.com>
16316
228af206 16317 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
16318 to check for nodebug in executable.
16319 * gdb.gdb/observer.exp (setup_test): Likewise.
16320 * gdb.gdb/selftest.exp (test_with_self): Likewise.
16321 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
16322
c72b934c
AC
163232004-09-01 Andrew Cagney <cagney@gnu.org>
16324
16325 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
16326 files.
16327
edd9b715
JJ
163282004-09-01 Jeff Johnston <jjohnstn@redhat.com>
16329
16330 * gdb.base/unload.exp: Fix expected warning message to match
16331 latest format.
16332
fb4ce06b
CV
163332004-09-01 Corinna Vinschen <vinschen@redhat.com>
16334
16335 * gdb.base/call-rt-st.exp: Fix typos.
16336
ce78e7c3
MI
163372004-08-31 Manoj Iyer <manjo@austin.ibm.com>
16338
16339 * gdb.threads/thread_check.exp: New testcase.
16340 * gdb.threads/thread_check.c: New testcase.
16341
2dedb159
AC
163422004-08-31 Andrew Cagney <cagney@gnu.org>
16343
16344 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
16345 (skip_to_handler_entry): New procedures. Test stepping into a
16346 handler when the breakpoint is at the handler's entry point.
16347
68f53502
AC
163482004-08-30 Andrew Cagney <cagney@gnu.org>
16349
16350 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
16351 gdb/1757.
16352
3e3ffd2b
MC
163532004-08-27 Michael Chastain <mec.gnu@mindspring.com>
16354
16355 With code from Manoj Iyer <manjo@austin.ibm.com>:
16356 * lib/gdb.exp (gdb_file_cmd): Return more information in the
16357 return value. Add an arm for "no debugging symbols found".
16358 Change a stray "error" to "perror".
16359 (gdb_run_cmd): Adapt to new return value.
16360 * gdb.base/remote.exp: Adapt to new return value.
16361 * gdb.gdb/complaints.exp: Likewise.
16362 * gdb.gdb/observer.exp: Likewise.
16363 * gdb.gdb/selftest.exp: Likewise.
16364 * gdb.gdb/xfullpath.exp: Likewise.
16365
4b6f5fd2
JB
163662004-08-27 Joel Brobecker <brobecker@gnat.com>
16367
16368 * gdb.threads/bp_in_thread.exp: New testcase.
16369
e5b25496
MC
163702004-08-27 Michael Chastain <mec.gnu@mindspring.com>
16371
16372 Fix PR testsuite/1735.
16373 * gdb.threads/schedlock.c (thread_function): Add a cast
16374 to suppress a gcc warning.
16375 * gdb.threads/thread-specific.c (thread_function): Likewise.
16376
934353d6
MC
163772004-08-26 Michael Chastain <mec.gnu@mindspring.com>
16378
16379 * gdb.base/unload.c: Include <stdlib.h>.
16380
f98a0aef 163812004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 16382
f98a0aef 16383 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
16384 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
16385 synchronized after the "return".
16386
5a2e8882
MC
163872004-08-26 Michael Chastain <mec.gnu@mindspring.com>
16388
16389 * gdb.mi/basics.c: Include <stdio.h>.
16390 * gdb.mi/pthreads.c: Include <stdlib.h>.
16391 * gdb.mi/var-cmd.c: Include <stdlib.h>.
16392
a9640423
MC
163932004-08-26 Michael Chastain <mec.gnu@mindspring.com>
16394
16395 * gdb.threads/schedlock.c: Add copyright notice.
16396
b04e311d
AC
163972004-08-25 Andrew Cagney <cagney@gnu.org>
16398
16399 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
16400 (skip_over_handler, breakpoint_over_hander): New test procedures.
16401 (advance, advancei): Add a proper prefix, do not use
16402 rerun_to_main.
16403 * gdb.base/sigstep.c (main): Change to use an infinite loop.
16404
7c27f15b
MC
164052004-08-24 Michael Chastain <mec.gnu@mindspring.com>
16406
16407 * gdb.mi/basics.c: Add copyright notice.
16408 * gdb.mi/var-cmd.c: Add copyright notice.
16409
fffc87ae
MC
164102004-08-23 Michael Chastain <mec.gnu@mindspring.com>
16411
16412 * lib/gdb.exp: Remove signed_keyword_not_used.
16413 * lib/compiler.c: Likewise.
16414 * lib/compiler.cc: Likewise.
16415
d782e0bf
MC
164162004-08-23 Michael Chastain <mec.gnu@mindspring.com>
16417
16418 * gdb.base/whatis.c: Remove conditional disabling of "signed".
16419 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
16420
96033e83
MC
164212004-08-23 Michael Chastain <mec.gnu@mindspring.com>
16422
16423 * gdb.base/whatis.c: Add copyright notice.
16424
cf38c229
MK
164252004-08-20 Mark Kettenis <kettenis@gnu.org>
16426
16427 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
16428 it to skip the breakpoints encoded in the inline assembly.
16429
f4b49756
MC
164302004-08-20 Michael Chastain <mec.gnu@mindspring.com>
16431
16432 * Makefile.in: Add gdb.fortran.
16433
2f193b69
MC
164342004-08-20 Michael Chastain <mec.gnu@mindspring.com>
16435
16436 * gdb.base/call-sc.exp (test_scalar_returns):
16437 Fix cut-and-paste glitch in "Make fun return now".
16438
89a237cb
MC
164392004-08-17 Michael Chastain <mec.gnu@mindspring.com>
16440
16441 * configure.in: Add gdb.fortran.
16442 * configure: Regenerate.
16443 * gdb.fortran/Makefile.in: New file.
16444 * lib/gdb.exp (skip_fortran_tests): New procedure.
16445
469aff8e
MC
164462004-08-17 Michael Chastain <mec.gnu@mindspring.com>
16447
16448 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
16449 reference to bug-gnu@prep.ai.mit.edu.
16450 * gdb.mi/mi-var-child.exp: Likewise.
16451 * gdb.mi/mi-var-cmd.exp: Likewise.
16452 * gdb.mi/mi-var-display.exp: Likewise.
16453 * gdb.mi/mi2-var-block.exp: Likewise.
16454 * gdb.mi/mi2-var-child.exp: Likewise.
16455 * gdb.mi/mi2-var-cmd.exp: Likewise.
16456 * gdb.mi/mi2-var-display.exp: Likewise.
16457
00b51b9f
MK
164582004-08-15 Mark Kettenis <kettenis@gnu.org>
16459
16460 * gdb.base/unload.c (main): Make local variable msg const.
16461
45f07fef
MC
164622004-08-15 Michael Chastain <mec.gnu@mindspring.com>
16463
16464 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
16465 to bug-gnu@prep.ai.mit.edu.
16466 * gdb.mi/mi-disassemble.exp: Likewise.
16467 * gdb.mi/mi-eval.exp: Likewise.
16468 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
16469 default line number.
16470 * gdb.mi/mi-return.exp: Likewise.
16471 * gdb.mi/mi-simplerun.exp: Likewise.
16472 * gdb.mi/mi-stack.exp: Likewise.
16473 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
16474 number with explicit range test.
16475 * gdb.mi/mi-watch.exp: Likewise.
16476 * gdb.mi/mi2-break.exp: Likewise.
16477 * gdb.mi/mi2-cli.exp: Likewise.
16478 * gdb.mi/mi2-disassemble.exp: Likewise.
16479 * gdb.mi/mi2-eval.exp: Likewise.
16480 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
16481 default line number.
16482 * gdb.mi/mi2-return.exp: Likewise.
16483 * gdb.mi/mi2-simplerun.exp: Likewise.
16484 * gdb.mi/mi2-stack.exp: Likewise.
16485 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
16486 number with explicit range test.
16487 * gdb.mi/mi2-watch.exp: Likewise.
16488
dd8c8ee7
MC
164892004-08-15 Michael Chastain <mec.gnu@mindspring.com>
16490
16491 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
16492 * gdb.cp/m-static.exp: Likewise.
16493 * gdb.cp/rtti.exp: Likewise.
16494
4e838464
MK
164952004-08-14 Mark Kettenis <kettenis@gnu.org>
16496
16497 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
16498
8d8cb839
EZ
164992004-08-14 Eli Zaretskii <eliz@gnu.org>
16500
16501 * ChangeLog: Prefix Local Variables with semi-colons and indent
16502 the reference to older ChangeLog files, to fix fontification in
16503 Emacs.
16504
deea8bb0
MC
165052004-08-13 Michael Chastain <mec.gnu@mindspring.com>
16506
16507 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
16508 * gdb.mi/mi2-break.exp: Likewise.
16509
c3297504
MC
165102004-08-13 Michael Chastain <mec.gnu@mindspring.com>
16511
16512 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
16513
25808999
MC
165142004-08-13 Michael Chastain <mec.gnu@mindspring.com>
16515
16516 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
16517
226a8d71
MC
165182004-08-13 Michael Chastain <mec.gnu@mindspring.com>
16519
16520 * gdb.cp/classes.exp: Remove unused declarations. Just let
16521 test names default instead of providing special names. Remove
16522 extraneous demangler test.
16523
37fdf854
JJ
165242004-08-12 Jeff Johnston <jjohnstn@redhat.com>
16525
16526 * gdb.base/unload.exp: New test for breakpoints in dynamically
16527 loaded libraries.
16528 * gdb.base/unload.c: Ditto.
16529 * gdb.base/unloadshr.c: Ditto.
16530
2d3a7986
MC
165312004-08-12 Michael Chastain <mec.gnu@mindspring.com>
16532
16533 * gdb.cp/classes.exp (test_ptype_class_objects): Call
16534 cp_test_ptype_class.
16535 (test_enums): Likewise.
16536
c72b934c
AC
165372004-08-10 Andrew Cagney <cagney@gnu.org>
16538
16539 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
16540 files.
16541
cc503c8a
AC
165422004-08-10 Andrew Cagney <cagney@gnu.org>
16543
16544 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
16545 init_malloc call.
16546
902f2ccb
MC
165472004-08-10 Michael Chastain <mec.gnu@mindspring.com>
16548
16549 * ChangeLog: Add copyright notice. The notice is copied
16550 from emacs 21.3 top level ChangeLog.
16551
78c90502
MC
165522004-08-09 Michael Chastain <mec.gnu@mindspring.com>
16553
16554 * lib/cp-support.exp: New file.
16555 * lib/cp-support.exp (cp_test_type_class): New function.
16556 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
16557 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
16558 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
16559 cp_test_ptype_class.
16560
88e5ea78
MC
165612004-08-09 Michael Chastain <mec.gnu@mindspring.com>
16562
16563 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
16564 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
16565 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
16566 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
16567 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
16568 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
16569 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
16570 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
16571 gdb.mi/mi2-watch.exp: Update copyright years.
16572
6a89fc9c
MK
165732004-08-09 Mark Kettenis <kettenis@gnu.org>
16574
16575 * gdb.base/sigaltstack.exp: Provide proper anchoring.
16576
1482e0de
MC
165772004-08-09 Michael Chastain <mec.gnu@mindspring.com>
16578
16579 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
16580 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
16581 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
16582 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
16583 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
16584 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
16585 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
16586 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
16587 gdb.mi/mi-watch.exp: Update copyright years.
16588
1a5ce3f3
DJ
165892004-08-08 Daniel Jacobowitz <dan@debian.org>
16590
16591 PR gdb/1738
16592 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
16593 from a breakpoint with a pending signal.
16594
04f6ecf2
DJ
165952004-08-08 Daniel Jacobowitz <dan@debian.org>
16596
16597 PR gdb/1736
16598 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
16599 * gdb.base/sigaltstack.exp (finish_test): Consume output until
16600 the prompt.
16601 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
16602
54d90d35
DJ
166032004-08-08 Daniel Jacobowitz <dan@debian.org>
16604
16605 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
16606
d2f6abb0
DJ
166072004-08-08 Daniel Jacobowitz <dan@debian.org>
16608
16609 PR gdb/1736
16610 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
16611 for i?86-*-linux*.
16612
5598c03d
DJ
166132004-08-08 Daniel Jacobowitz <dan@debian.org>
16614
16615 * gdb.arch/i386-prologue.exp: Compile without debug information.
16616
c6fee705
MC
166172004-08-08 Michael Chastain <mec.gnu@mindspring.com>
16618
16619 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
16620 rather than asking gdb to search.
16621
dd90efdb
MC
166222004-08-05 Michael Chastain <mec.gnu@mindspring.com>
16623
16624 * gdb.base/gcore.c: Include <string.h>.
16625
1e84bec1
MC
166262004-08-05 Michael Chastain <mec.gnu@mindspring.com>
16627
16628 * gdb.base/gcore.c: Add copyright notice.
16629
e425eb2b
MC
166302004-08-05 Michael Chastain <mec.gnu@mindspring.com>
16631
16632 * gdb.base/freebpcmd.c: Include <stdio.h>.
16633 * gdb.base/long_long.c: Include <string.h>.
16634 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
16635 * gdb.base/siginfo.c: Include <string.h>.
16636 * gdb.base/sigstep.c: Include <string.h>.
16637
cb9aaed5
MC
166382004-08-04 Michael Chastain <mec.gnu@mindspring.com>
16639
16640 * gdb.base/complex.c: Include <stdlib.h>.
16641
55944f3d
MC
166422004-08-04 Michael Chastain <mec.gnu@mindspring.com>
16643
16644 * gdb.base/complex.c: Add copyright notice.
16645
7b2953d9
MC
166462004-08-04 Michael Chastain <mec.gnu@mindspring.com>
16647
16648 * gdb.base/charset.c: Include <stdlib.h>.
16649
c9133d23
MC
166502004-08-04 Michael Chastain <mec.gnu@mindspring.com>
16651
16652 * gdb.base/auxv.c: Include <stdlib.h>.
16653
0a8490ad
MC
166542004-08-04 Michael Chastain <mec.gnu@mindspring.com>
16655
16656 * gdb.base/auxv.c: Add copyright notice.
16657
3426d5ec
MC
166582004-08-04 Michael Chastain <mec.gnu@mindspring.com>
16659
16660 * gdb.base/coremaker.c: Add copyright notice.
16661 * gdb.base/coremaker2.c: Add copyright notice.
16662
8da195dd
AC
166632004-08-04 Andrew Cagney <cagney@gnu.org>
16664
16665 * gdb.base/store.exp: Update copyright.
16666 (check_set, up_set, check_struct, up_struct): Add a prefix to test
16667 names, do not import gdb_prompt.
16668
8d394f98
AC
166692004-08-01 Andrew Cagney <cagney@gnu.org>
16670
16671 Fix PR testsuite/1729.
16672 * gdb.base/dump.exp: Add test name to callers of capture_value, do
16673 not use capture_value with value 4.
16674 (capture_value): Add optional test name parameter.
16675 (test_reload_saved_value, test_restore_saved_value): Use $msg as
16676 the prefix, pass to capture_value.
16677
b6702b23
MK
166782004-08-01 Mark Kettenis <kettenis@gnu.org>
16679
16680 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
16681 * gdb.arch/i386-prologue.c (standard): New prototype and function.
16682 (main): Call new function.
16683
c203e0ca
MC
166842004-07-31 Michael Chastain <mec.gnu@mindspring.com>
16685
16686 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
16687
a7995a30
MC
166882004-07-31 Michael Chastain <mec.gnu@mindspring.com>
16689
16690 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
16691
9366563b
MC
166922004-07-31 Michael Chastain <mec.gnu@mindspring.com>
16693
b6eeaf26 16694 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
16695 Accept more values of vtbl pointer. Remove some messages
16696 about "obsolete gcc or gdb".
16697
2fc1f950
MC
166982004-07-30 Michael Chastain <mec.gnu@mindspring.com>
16699
16700 * gdb.cp/classes.exp: Accept more varieties of ptype output.
16701
c724d49b
MC
167022004-07-30 Michael Chastain <mec.gnu@mindspring.com>
16703
16704 * gdb.base/asm-source.exp: Properly convert target board
16705 debug flags from gcc format to binutils format.
16706
736b0fce
MK
167072004-07-28 Mark Kettenis <kettenis@gnu.org>
16708
16709 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
16710 gdb1718". PR backtrace/1718 partially fixed.
16711
5633ea5c
JJ
167122004-07-27 Jeff Johnston <jjohnstn@redhat.com>
16713
16714 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
16715
575eebb1
NC
167162004-07-26 Nick Clifton <nickc@redhat.com>
16717
16718 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
16719 good default value for a specific architecture is available then
16720 set it to that value. Otherwise default to the -gstabs switch.
16721 Remove the -g... switches from the asm-flags variable. Allow the
16722 target board info to override the value if it wants to. Pass the
16723 switch on the assembler command line.
16724
62104619
MK
167252004-07-23 Mark Kettenis <kettenis@gnu.org>
16726
16727 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
16728 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
16729 (main): Call new function.
16730
4a1135b8
MC
167312004-07-22 Michael Chastain <mec.gnu@mindspring.com>
16732
16733 Test for PR exp/1715.
16734 * gdb.base/radix.exp: Refactor common procedures. Make all
16735 test names unique. Change XFAIL to KFAIL.
16736
8a12c1f0
MC
167372004-07-20 Michael Chastain <mec.gnu@mindspring.com>
16738
16739 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
16740 * gdb.ada/gnat_ada.gin: ... to here.
16741 * configure.in: Use gnat_ada.gin.
16742 * configure: Regenerate.
16743
23b451cf
AC
167442004-07-20 Andrew Cagney <cagney@gnu.org>
16745
16746 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
16747 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
16748 XFAILs. Clean up test messages and comments. Check backtraces.
16749 Delete re-sync code.
16750
ab618a02
MC
167512004-07-19 Michael Chastain <mec.gnu@mindspring.com>
16752
16753 Fix PR cli/740.
16754 * gdb.base/annota1.exp: Honor gdb,nosignals.
16755 * gdb.base/annota3.exp: Likewise.
16756
46dad340
MC
167572004-07-19 Michael Chastain <mec.gnu@mindspring.com>
16758
16759 * lib/java.exp: Update copyright notice.
16760
756d8c70
AC
167612004-07-19 Andrew Cagney <cagney@gnu.org>
16762
16763 * gdb.base/selftest.exp: Copy file from here ...
16764 * gdb.gdb/selftest.exp: ... to here.
16765
586027e6
AC
167662004-07-16 Andrew Cagney <cagney@redhat.com>
16767
16768 * lib/insight-support.exp: Delete file.
16769 * lib/java.exp (java_init): Fix copyright.
16770
029d2200
AC
167712004-07-16 Andrew Cagney <cagney@gnu.org>
16772
16773 * gdb.base/restore.c: Append "prologue" to comments marking the a
16774 function's prologue.
16775 * gdb.base/restore.exp: Update copyright, re-indent.
16776 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
16777 callerN" prefix where needed. Update patterns that match a
16778 function's prologue.
16779
653b62c5
MC
167802004-07-16 Michael Chastain <mec.gnu@mindspring.com>
16781
16782 * gdb.base/restore.c: Add copyright notice.
16783
f7d690e5
AC
167842004-07-16 Andrew Cagney <cagney@gnu.org>
16785
16786 * gdb.base/logical.exp: Update copyright.
16787 (evaluate): New procedure. Use to re-implement tests using
16788 several tables.
16789
d629a7cb
MH
167902004-07-14 Martin Hunt <hunt@redhat.com>
16791
16792 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
16793 which fixes some problems where init.tcl was not found.
16794
9c7bb332
AC
167952004-07-13 Andrew Cagney <cagney@gnu.org>
16796
6bf46641
AC
16797 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
16798 (check_sizeof, check_valueof): Do not include the output in the
16799 test name. Use gdb_test.
16800 (get_valueof): Use gdb_test_multiple.
16801
c4ffd4c0
AC
16802 * gdb.base/step-test.exp: Update copyright. Use
16803 gdb_test_multiple. Ensure that test names do not include
16804 architecture dependent output.
16805
ab89363a
AC
16806 * gdb.gdb/observer.exp: Update copyright.
16807 (setup_test): Use gdb_test_multiple.
16808 (attach_first_observer, attach_second_observer)
16809 (attach_third_observer, detach_first_observer)
16810 (detach_second_observer, detach_third_observer)
16811 (reset_counters, check_counters): Make $message a prefix.
16812 (test_normal_stop_notifications): Add "args" parameter - a list of
16813 init functions to be called. Make $message a prefix,
16814 (test_observer_normal_stop): Change the message prefixes so that
16815 they are unique, pass the attach / detach procedures to
16816 test_normal_stop_notifications.
16817
ec58997a
AC
16818 * gdb.base/signull.exp (test_segv): Prefix all tests with
16819 "${name}". Clean up test messages.
16820
b475183b
AC
16821 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
16822
9c7bb332
AC
16823 * gdb.base/ena-dis-br.exp: Update copyright.
16824 (break_at): New function. Replace send_gdb with gdb_test,
16825 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
16826 ignore count, not stopped at bpt", with KFAIL.
16827
2dd95497
CV
168282004-07-13 Corinna Vinschen <vinschen@redhat.com>
16829
16830 * gdb.base/attach.exp: Remove cleanupfile handling.
16831
419e626b
AC
168322004-07-12 Andrew Cagney <cagney@gnu.org>
16833
16834 * gdb.base/annota1.exp: Cleanup corefile test name.
16835 * gdb.base/annota3.exp: Ditto.
16836
8b1b3228
AC
168372004-07-12 Andrew Cagney <cagney@gnu.org>
16838
78650829
AC
16839 * gdb.base/signals.exp: Clean up copyright, re-indent.
16840
8b1b3228
AC
16841 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
16842 gdb_test and gdb_test_multiple.
16843
935c2760
JJ
168442004-07-08 Jeff Johnston <jjohnstn@redhat.com>
16845
16846 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 16847 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
16848 provide line number info for first statement in main.
16849
1544280f
AC
168502004-07-08 Andrew Cagney <cagney@gnu.org>
16851
1279f4ff
AC
16852 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
16853
1544280f
AC
16854 * gdb.base/sigbpt.exp: Make the common part of each test name a
16855 prefix instead of suffix.
16856
bcc82369
BR
168572004-07-07 Bob Rossi <bob_rossi@cox.net>
16858
16859 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
16860 test from test_tbreak_creation_and_listing to
16861 test_file_list_exec_source_file
16862 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
16863 Changed name of test from test_tbreak_creation_and_listing to
16864 test_file_list_exec_source_file
16865
23f4b0aa
JJ
168662004-07-07 Jeff Johnston <jjohnstn@redhat.com>
16867
16868 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
16869 the jmisc() constructor instead of <init>.
16870 * gdb.java/jmisc1.exp: Ditto.
16871
56401cd5
AC
168722004-07-07 Andrew Cagney <cagney@gnu.org>
16873
16874 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
16875 corrupting the PC.
16876
44ae2f6a
MC
168772004-07-06 Michael Chastain <mec.gnu@mindspring.com>
16878
16879 * gdb.cp/templates.exp: Accept whitespace change in demangler
16880 output.
16881
45a83408
AC
168822004-07-06 Andrew Cagney <cagney@gnu.org>
16883
16884 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
16885
d205ad70
MC
168862004-07-02 Michael Chastain <mec.gnu@mindspring.com>
16887
16888 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
16889 * lib/compiler.cc: Likewise.
16890
06ea1a61
MC
168912004-06-30 Michael Chastain <mec.gnu@mindspring.com>
16892
16893 * lib/compiler.cc: Work around string preprocessing problem
16894 with old hp c++ compiler.
16895 * lib/compiler.c: Likewise.
16896
daab1251
CV
168972004-06-29 Corinna Vinschen <vinschen@redhat.com>
16898
16899 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
16900 directives to conditionalize symbol prefixing.
16901 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
16902 additional_flags handling. Add underscore prefix for Cygwin.
16903 * gdb.arch/i386-unwind.c: Use preprocessor directives to
16904 conditionalize symbol prefixing.
16905 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
16906 additional_flags handling. Add underscore prefix for Cygwin.
16907
cc984116
CV
169082004-06-29 Corinna Vinschen <vinschen@redhat.com>
16909
16910 * gdb.base/bigcore.exp: Skip test on Cygwin.
16911
c279b077
MC
169122004-06-28 Michael Chastain <mec.gnu@mindspring.com>
16913
16914 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
16915 formats for "info register". Use gdb_test_multiple. Fix
16916 the "invalid register" test.
16917
0e915747
CV
169182004-06-28 Corinna Vinschen <vinschen@redhat.com>
16919
16920 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
16921 PID for Cygwin. Add Cygwin specific strings to check for in some
16922 tests.
16923 (do_attach_tests): Add a test for user interaction when attaching
16924 to a process with no matching symbol table already loaded.
16925
11422c86
AC
169262004-06-26 Andrew Cagney <cagney@gnu.org>
16927
16928 Test PR java/1567 and PR java/1565.
16929 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
16930 * gdb.java/jmisc2.exp: Delete file.
16931
cefbce26
MC
169322004-06-26 Michael Chastain <mec.gnu@mindspring.com>
16933
16934 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
16935
e19f872c
CV
169362004-06-25 Corinna Vinschen <vinschen@redhat.com>
16937
16938 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
16939 attach process.
16940
d931ba3b
MC
169412004-06-23 Michael Chastain <mec.gnu@mindspring.com>
16942
16943 * gdb.cp/pr-1553.exp: Remove.
16944
aef68c48
MC
169452004-06-22 Michael Chastain <mec.gnu@mindspring.com>
16946
16947 * gdb.cp/pr-1553.cc: Remove.
16948 * gdb.cp/pr-1553.exp: Disable this test.
16949
8d5df71a
JB
169502004-06-20 Jim Blandy <jimb@redhat.com>
16951
a9c64011 16952 Fix PR testsuite/1680.
8d5df71a
JB
16953 * gdb.arch/i386-sse.exp: Properly quote curly braces in
16954 regular expressions.
16955
4ac6f39d
MC
169562004-06-19 Michael Chastain <mec.gnu@mindspring.com>
16957
16958 Fix PR testsuite/1679.
16959 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
16960 Issue an UNSUPPORTED result instead.
16961
1b413552
JB
169622004-06-18 Jim Blandy <jimb@redhat.com>
16963
16964 * gdb.base/charset.exp: Only send a control-C if we see a new
16965 prompt and incomplete command.
16966
6daa6ebd
MC
169672004-06-18 Michael Chastain <mec.gnu@mindspring.com>
16968
16969 * gdb.cp/pr-574.cc: Add copyright notice.
16970
51fa4ae0
JB
169712004-06-17 Jim Blandy <jimb@redhat.com>
16972
16973 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
16974 cases where the regexp has no groups; this grabs random text from
16975 the previous test suite, whatever that was.
16976
8fea26c5
MC
169772004-06-17 Michael Chastain <mec.gnu@mindspring.com>
16978
16979 * gdb.cp/printmethod.cc: Add copyright notice.
16980
1e3aeb41
MC
169812004-06-16 Michael Chastain <mec.gnu@mindspring.com>
16982
16983 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
16984
9d9030bc
AC
169852004-06-16 Andrew Cagney <cagney@gnu.org>
16986
16987 * gdb.base/signull.c: Update copyright. Include <string.h>.
16988 (bowler): Replace data_pointer with data_read
16989 and data_write cases. Add code_descriptor case.
16990 (zero, desc): New array and pointer.
16991 (data, code): Change to simple pointers.
16992 * gdb.base/signull.exp: Fix probe pattern matching a function
16993 descriptor SIGSEGV. Replace data_pointer with data_read and
16994 data_write tests.
16995
acd4ad44
AC
169962004-06-16 Andrew Cagney <cagney@gnu.org>
16997
16998 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
16999
08fd625c
MC
170002004-06-15 Michael Chastain <mec.gnu@mindspring.com>
17001
17002 * gdb.base/long_long.c: Add copyright notice.
17003
1903502c
MC
170042004-06-15 Michael Chastain <mec.gnu@mindspring.com>
17005
17006 * gdb.base/long_long.exp: Remove reference to
17007 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
17008 to gdb_breakpoint and gdb_continue_to_breakpoint.
17009
83313cb1
JB
170102004-06-14 Jim Blandy <jimb@redhat.com>
17011
17012 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
17013 endian case.
17014
1bf404ef
AC
170152004-06-14 Andrew Cagney <cagney@gnu.org>
17016
17017 * gdb.base/gcore.exp (capture_command_output): Delete the always
17018 passing tests containing inferior values.
17019 * gdb.base/ending-run.exp: Do not include the breakpoint address
17020 in the test message. Update copyright.
17021 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
17022 size in the test name, use gdb_test_multiple. Update copyright.
17023
ef220b33
MC
170242004-06-14 Michael Chastain <mec.gnu@mindspring.com>
17025
17026 * gdb.cp/ref-types.cc: Add copyright notice.
17027
4f70a4c9
MC
170282004-06-14 Michael Chastain <mec.gnu@mindspring.com>
17029
17030 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
17031 hp_aCC_compiler.
17032 * lib/compiler.cc: Likewise.
17033 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
17034 'set' commands. Log diagnostics for other lines. Set
17035 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
17036
335928ac
MC
170372004-06-13 Michael Chastain <mec.gnu@mindspring.com>
17038
17039 * gdb.cp/try_catch.cc: Add copyright notice.
17040
2efb12e8
MC
170412004-06-12 Michael Chastain <mec.gnu@mindspring.com>
17042
17043 * gdb.cp/userdef.cc: Add copyright notice.
17044
0bbed51a
MC
170452004-06-11 Michael Chastain <mec.gnu@mindspring.com>
17046
17047 * gdb.cp/virtfunc.cc: Add copyright notice.
17048
e12a46c9
RC
170492004-06-11 Randolph Chung <tausq@debian.org>
17050
17051 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
17052 problem.
17053
338e05af
AC
170542004-06-10 Andrew Cagney <cagney@gnu.org>
17055
17056 * lib/compiler.cc, lib/compiler.c: Append either
17057 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
17058 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
17059 instead of gcc-3-3.
17060
dc3f10cb
AC
170612004-06-09 Andrew Cagney <cagney@gnu.org>
17062
b4d946af
AC
17063 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
17064 gdb/1455, bug is specific to "long long" and "double".
a9c64011 17065
dc3f10cb
AC
17066 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
17067 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
17068 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
17069 fixed.
17070
b5c0bfa2
AC
170712004-06-09 Andrew Cagney <cagney@gnu.org>
17072
17073 * gdb.base/structs.exp (test_struct_returns): Replace
17074 "return_value_unknown" and "finish_value_unknown" by
17075 "return_value_known" and "finish_value_known". Instead of
17076 "return_value_unknown" iff "finish_value_unknown", check
17077 "return_value_known" implies "finish_value_known".
17078
caeb605f
MH
170792004-06-08 Martin Hunt <hunt@redhat.com>
17080
17081 * gdb.base/float.exp: Add pattern for mips targets.
17082
c892bb64
RC
170832004-06-08 Randolph Chung <tausq@debian.org>
17084
17085 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
17086 message for unknown architectures more clear.
17087
48306d3e
JB
170882004-06-08 Joel Brobecker <brobecker@gnat.com>
17089
17090 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
17091 start the execution of the program.
17092
83ecb59f
JB
170932004-06-07 Jim Blandy <jimb@redhat.com>
17094
17095 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
17096 * gdb.arch/i386-cpuid.h: New helper file.
17097
55264cb4
RC
170982004-06-07 Randolph Chung <tausq@debian.org>
17099
17100 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
17101 has started.
17102
23cadb28
RM
171032004-06-04 Roland McGrath <roland@redhat.com>
17104
17105 Fix PR gdb/1647.
17106 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
17107 differently to be robust to output buffering differences.
17108
51d01eda
MC
171092004-06-04 Michael Chastain <mec.gnu@mindspring.com>
17110
17111 * gdb.threads/pthreads.exp: Update copyright years.
17112 (check_control_c): Change asynchronous 'after' to synchronous.
17113
f4fc3b93
RM
171142004-06-04 Roland McGrath <roland@redhat.com>
17115
17116 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
17117 next gdb prompt.
17118
4013522b
MC
171192004-06-02 Michael Chastain <mec.gnu@mindspring.com>
17120
17121 Fix PR gdb/1636.
17122 * gdb.threads/manythreads.exp: Change asynchronous 'after'
17123 calls to synchronous.
17124
7a8f1e6b
JB
171252004-05-26 Jim Blandy <jimb@redhat.com>
17126
17127 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
17128
81bb3443
RC
171292004-05-24 Randolph Chung <tausq@debian.org>
17130
17131 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
17132 * gdb.asm/pa.inc: New file.
17133
8f5a3103
MK
171342004-05-22 Mark Kettenis <kettenis@gnu.org>
17135
17136 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
17137
734b8fe8 171382004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 17139 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
17140
17141 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
17142 GDB prompt.
17143
725603e1
UW
171442004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17145
f4fc3b93 17146 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
17147 setjmp/longjmp. Use sigaction instead of signal.
17148
8b923272 171492004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 17150 Michael Snyder <msnyder@redhat.com>
8b923272
JB
17151
17152 * gdb.threads/pthread_cond_wait.c: New file.
17153 * gdb.threads/pthread_cond_wait.exp: New testcase.
17154
8bfabb04
AC
171552004-05-13 Andrew Cagney <cagney@redhat.com>
17156
17157 * gdb.base/signull.exp, gdb.base/signull.c: New files.
17158 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
17159
42edda50
AC
171602004-05-11 Andrew Cagney <cagney@redhat.com>
17161
17162 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
17163 fixed but revealed gdb/1639.
17164
d303a6c7
AC
171652004-05-10 Andrew Cagney <cagney@redhat.com>
17166
17167 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
17168 func1" and "next to 2nd alarm", kernel bug avoided.
17169
bf08c2a1
DJ
171702004-05-10 Daniel Jacobowitz <dan@debian.org>
17171
17172 PR external/1568
17173 * gdb.base/bigcore.exp: Check the size of the dumped core file.
17174 XFAIL if it is smaller than bytes_allocated.
17175 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
17176 (main): Make chunks_allocated unsigned. Correct comment.
17177
c0586a34
JB
171782004-05-07 Joel Brobecker <brobecker@gnat.com>
17179
17180 * gdb.arch/powerpc-aix-prologue.c: New file.
17181 * gdb.arch/powerpc-aix-prologue.exp: New file.
17182
f2785d12
JB
171832004-05-07 Jim Blandy <jimb@redhat.com>
17184
17185 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
17186 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
17187
bd7f6e30
JB
171882004-05-06 Joel Brobecker <brobecker@gnat.com>
17189
17190 * gdb.base/sep.exp: No longer setup_kfail when the program was
17191 built with dwarf2.
17192
0a5e7efe
JI
171932004-05-05 Jim Ingham <jingham@apple.com>
17194
17195 * gdb.base/pending.exp: Make sure pending breakpoints
17196 preserve the ignore count.
f4fc3b93 17197
a8958849
MK
171982004-04-27 Jerome Guitton <guitton@gnat.com>
17199
17200 * i386-prologue.exp: Add testcase for jump instruction as first
17201 instruction of the real code.
17202 * i386-prologue.c (jump_at_beginning): New function.
17203
7e103f5b
MK
172042004-04-28 Mark Kettenis <kettenis@gnu.org>
17205
17206 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
17207 x86_64-*-*.
17208
5d38b224
MK
172092004-04-28 Mark Kettenis <kettenis@gnu.org>
17210
17211 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
17212 i*86-*-*.
17213
0ef32fd9
MK
172142004-04-25 Mark Kettenis <kettenis@gnu.org>
17215
17216 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
17217 expression that checks the return type.
17218
71d7dd7c
AC
172192004-04-23 Andrew Cagney <cagney@redhat.com>
17220
17221 * gdb.base/call-sc.exp: New test of scalar call/return values.
17222 * gdb.base/call-sc.c: Ditto.
17223
1e9f977e
JJ
172242004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17225
17226 * gdb.threads/manythreads.c: Reduce thread stack size.
17227
899d9e3a
JJ
172282004-04-23 Jeff Johnston <jjohnstn@redhat.com>
17229
17230 * gdb.threads/manythreads.c: Add copyright notice.
17231
61bcae62
AC
172322004-04-23 Andrew Cagney <cagney@redhat.com>
17233
17234 * gdb.base/siginfo.exp: Better handle step out of signal.
17235 * gdb.base/sigstep.exp: Ditto.
17236
7339a42e 172372004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 17238 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
17239
17240 * gdb.threads/manythreads.c: New testcase.
17241 * gdb.threads/manythreads.exp: Ditto.
17242
5c98409b
JB
172432004-04-22 Jim Blandy <jimb@redhat.com>
17244
17245 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
17246 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
17247
3b611f1a
MC
172482004-04-21 Michael Chastain <mec.gnu@mindspring.com>
17249
17250 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
17251
f0fd9238
AC
172522004-04-21 Andrew Cagney <cagney@redhat.com>
17253
17254 * gdb.base/sigstep.c: New file.
17255 * gdb.base/sigstep.exp: New file.
17256
90990674
JB
172572004-04-16 Joel Brobecker <brobecker@gnat.com>
17258
17259 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
17260 call to observer_notify_normal_stop.
17261
78cef34b
AC
172622004-04-15 Andrew Cagney <cagney@redhat.com>
17263
17264 * gdb.base/siginfo.c: New file.
17265 * gdb.base/siginfo.exp: New file.
17266
d2343407
JB
172672004-04-12 J. Brobecker <brobecker@gnat.com>
17268
17269 * gdb.base/sep.exp: Fix typo in comment.
17270
a2dba3c8
JB
172712004-04-12 J. Brobecker <brobecker@gnat.com>
17272
17273 * gdb.base/sep.c: New file.
17274 * gdb.base/sep-proc.c: New file.
17275 * gdb.base/sep.exp: New testcase.
17276
15f7b60e
MK
172772004-04-09 Mark Kettenis <kettenis@gnu.org>
17278
17279 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
17280 support.
17281
44f4de1a
AC
172822004-04-05 Andrew Cagney <cagney@redhat.com>
17283
17284 * gdb.base/sigaltstack.c: New file.
17285 * gdb.base/sigaltstack.exp: New file.
17286
ef04f396
JB
172872004-04-04 Joel Brobecker <brobecker@gnat.com>
17288
17289 * gdb.base/foll-fork.exp: Update the expected output for
17290 "help set follow-fork-mode", to match a change that was made
17291 to the help of this variable on 2004-01-13.
17292
d40d2c92
JB
172932004-04-01 Joel Brobecker <brobecker@gnat.com>
17294
17295 * lib/ada.exp: Add copyright notice.
17296 * bar.ads: Likewise.
17297 * bar.adb: Likewise.
17298 * null_record.adb: Likewise.
17299 * null_record.exp: Likewise.
17300 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
17301
f86ef5a3
JB
173022004-04-01 Joel Brobecker <brobecker@gnat.com>
17303
17304 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
17305 * configure: Regenerate.
17306
414e70e3
JB
173072004-04-01 Joel Brobecker <brobecker@gnat.com>
17308
17309 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
17310 to build the application. Remove the message printed when in
17311 verbose mode, redundant with the UNSUPPORTED message above.
17312
f0aaee49
JB
173132004-03-31 Joel Brobecker <brobecker@gnat.com>
17314
17315 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
17316 * gdb.ada (null_record.exp): New testcase.
17317
ac81cb54
JB
173182004-03-31 Joel Brobecker <brobecker@gnat.com>
17319
17320 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
17321
854af2f7
JB
173222004-03-31 Joel Brobecker <brobecker@gnat.com>
17323
17324 * gdb.ada: New subdirectory.
17325 * gdb.ada/Makefile.in: New file.
17326 * gdb.ada/gnat_ada.gpr.in: New file.
17327
034cb681
JB
173282004-03-31 Joel Brobecker <brobecker@gnat.com>
17329
17330 * lib/ada.exp: New file.
17331
78a1a894
DJ
173322004-03-24 Daniel Jacobowitz <drow@mvista.com>
17333
17334 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
17335 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
17336
4b2b3b3e
AC
173372004-03-22 Andrew Cagney <cagney@redhat.com>
17338
17339 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
17340 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
17341 Problem identified by Ulrich Weigand.
17342
23c73aa3
DC
173432004-03-17 David Carlton <carlton@kealia.com>
17344
17345 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
17346 PR c++/826.
17347
d63a86f8
RM
173482004-03-16 Roland McGrath <roland@redhat.com>
17349
17350 * gdb.base/auxv.exp: New file.
17351 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
17352
0e02aa50
DC
173532004-03-12 David Carlton <carlton@kealia.com>
17354
17355 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
17356 * gdb.cp/pr-1553.cc: Ditto.
17357 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
17358 pass branch.
17359
c20b71be
MC
173602004-03-12 Michael Chastain <mec.gnu@mindspring.com>
17361
17362 * gdb.cp/templates.exp: Accept more template types.
17363
c7414a01
MC
173642004-03-09 Michael Chastain <mec.gnu@mindspring.com>
17365
17366 From Corinna Vinschen with modifications.
17367 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
17368 local variable obj_with_enum.
17369 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
17370 results with obj_with_enum.
17371
ed69573c
MC
173722004-03-09 Michael Chastain <mec.gnu@mindspring.com>
17373
17374 * gdb.cp/classes.cc: New file, copied from misc.cc.
17375 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
17376
28301461
MC
173772004-03-09 Michael Chastain <mec.gnu@mindspring.com>
17378
17379 * gdb.cp/misc.cc: Add copyright notice.
17380
1198ecbe
DC
173812004-03-05 David Carlton <carlton@kealia.com>
17382
17383 * gdb.cp/rtti.exp: Add 'print *obj3' test.
17384 * gdb.cp/rtti.h: Update copyright.
17385 (namespace n2::n3): New.
17386 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
17387 (n2::n3::func3): New.
17388 (main): Call n2::n3::func3.
17389 * gdb.cp/rtti2.cc: Update copyright.
17390 (n2::create3): New.
17391
9e08c470
MK
173922004-03-04 Mark Kettenis <kettenis@gnu.org>
17393
17394 * gdb.asm/openbsd.inc: Fix typo.
17395
4bebc3aa
FF
173962004-03-03 Fred Fish <fnf@redhat.com>
17397
17398 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
17399 "val" instead of unused "size". Update copyright year.
17400
6ea9fb37
DJ
174012004-02-29 Daniel Jacobowitz <drow@mvista.com>
17402
17403 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
17404 to use unsigned char.
17405 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
17406 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
17407
23b23974
DJ
174082004-02-29 Daniel Jacobowitz <drow@mvista.com>
17409
17410 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
17411 line of output.
17412
7574fd53
DJ
174132004-02-28 Daniel Jacobowitz <drow@mvista.com>
17414
17415 * gdb.base/relocate.c (dummy): Initialize.
17416
a195357f
DJ
174172004-02-28 Daniel Jacobowitz <drow@mvista.com>
17418
17419 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
17420 a breakpoint at exit.
17421
72fd54a9
FF
174222004-02-27 Fred Fish <fnf@redhat.com>
17423
17424 * gdb.base/chng-syms.exp: Add expect condition to match failing
17425 case that isn't a timeout.
17426
b9d23137
AC
174272004-02-27 Andrew Cagney <cagney@redhat.com>
17428
17429 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
17430 support.
17431
15d208f6 174322004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 17433
15d208f6
FF
17434 * gdb.arch/gdb1431.c: Remove.
17435 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
17436 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
17437 of "until" incorrectly.
17438
98f9cd2d
JB
174392004-02-26 J. Brobecker <brobecker@gnat.com>
17440
17441 * gdb.cp/class2.cc (empty): New class.
17442 (refer): New function.
17443 (main): Declare an object of type empty and use it.
17444 * gdb.cp/class2.exp: Print the value of an object of type empty.
17445
9b50c11b
JJ
174462004-02-26 Jeff Johnston <jjohnstn@redhat.com>
17447
17448 * gdb.base/langs.exp: Update query string to match the
17449 new nquery format used for pending breakpoints.
17450
0dcd613f
AC
174512004-02-26 Andrew Cagney <cagney@redhat.com>
17452
17453 Fix PR i18n/1570.
17454 * gdb.base/charset.c: Update copyright notice.
17455 (main, init_string): Remove the escape character '\e' tests.
17456 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
17457 * gdb.base/charset.exp (valid_host_charset): Ditto.
17458 * gdb.base/setvar.exp: Ditto.
17459
b8a56647
AC
174602004-02-24 Andrew Cagney <cagney@redhat.com>
17461
90d59e34
AC
17462 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
17463 mmapped data in core file" PASS and FAIL messages consistent.
17464
b8a56647
AC
17465 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
17466 setting a breakpoint. Work around PR java/1565.
17467
9f27c604
JJ
174682004-02-23 Jeff Johnston <jjohnstn@redhat.com>
17469
17470 * lib/gdb.exp (gdb_breakpoint): Update query string to match
17471 new nquery format.
17472 * gdb.base/pending.exp: Ditto.
17473
3224a706
MK
174742004-02-22 Mark Kettenis <kettenis@gnu.org>
17475
17476 * configure.in: Run stabs tests on *BSD.
17477 * configure: Regenerated.
17478
41e0a9ca
MK
174792004-02-21 Mark Kettenis <kettenis@gnu.org>
17480
17481 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
17482
1e1b3428
FF
174832004-02-20 Fred Fish <fnf@redhat.com>
17484
17485 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
17486 blank in test for "returns short", for consistency with other
17487 "returns xxx" tests. Update copyright year.
17488
f9a7572a
FF
174892004-02-19 Fred Fish <fnf@redhat.com>
17490
17491 New testcase for PR breakpoint/1558.
17492 * gdb.arch/gdb1558.exp: New file.
17493 * gdb.arch/gdb1558.c: New file.
17494
b2ce2854
EZ
174952004-02-19 Elena Zannoni <ezannoni@redhat.com>
17496
17497 * gdb.base/nodebug.exp: Fix typo.
17498
e7c9ff01
JB
174992004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17500
17501 Committed by Jim Blandy <jimb@redhat.com>.
17502
62f4b920
JB
17503 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
17504
2db536a1
JB
17505 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
17506
e7c9ff01
JB
17507 * gdb.base/float.exp: Support s390*-*-* targets.
17508
f3205b34
AF
175092004-02-17 Adam Fedor <fedor@gnu.org>
17510
17511 * gdb.base/gdb1555.exp: New file.
17512 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
17513
9d62932d
EZ
175142004-02-17 Elena Zannoni <ezannoni@redhat.com>
17515
17516 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
17517
344c9711
FF
175182004-02-16 Fred Fish <fnf@redhat.com>
17519
17520 * gdb.arch/gdb1291.c: Remove
17521 * gdb.arch/gdb1291.s: New test input file.
17522 * gdb.arch/gdb1291.exp: Expand test to check case that should not
17523 fail. Test for correct result, known incorrect result, other
17524 failures and timeouts.
17525
2d822687
AC
175262004-02-16 Andrew Cagney <cagney@redhat.com>
17527
17528 * gdb.base/bigcore.exp: New file.
17529 * gdb.base/bigcore.c: New file.
17530
dac15b66
AC
175312004-02-13 Andrew Cagney <cagney@redhat.com>
17532
17533 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
17534 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
17535 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
17536 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
17537 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
17538 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
17539 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
17540 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
17541 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
17542 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
17543
6bdfc2c4
JJ
175442004-02-11 Jeff Johnston <jjohnstn@redhat.com>
17545
17546 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
17547 executed is an alloc instruction.
17548
87b3ede8
DC
175492004-02-11 David Carlton <carlton@kealia.com>
17550
17551 * gdb.cp/breakpoint.exp: New.
17552 * gdb.cp/breakpoint.cc: New.
17553
6e19e2bf
MC
175542004-02-11 Michael Chastain <mec.gnu@mindspring.com>
17555
17556 Partial fix for PR gdb/1543.
17557 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
17558 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
17559 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
17560 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
17561 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
17562 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
17563 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
17564 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
17565 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
17566 to bug-gdb@prep.ai.mit.edu .
17567 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
17568 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
17569 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
17570 Likewise.
17571
5c5455dc
AC
175722004-02-10 Andrew Cagney <cagney@redhat.com>
17573
17574 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
17575 using gdb_internal_error_resync.
17576
9cf689d7
DJ
175772004-02-09 Daniel Jacobowitz <drow@mvista.com>
17578
17579 * gdb.threads/thread-specific.exp: Stop early if no threads are
17580 found.
17581
d2dc51db
MC
175822004-02-09 Michael Chastain <mec.gnu@mindspring.com>
17583
17584 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
17585
14b1a056
DJ
175862004-02-08 Daniel Jacobowitz <drow@mvista.com>
17587
17588 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
17589 breakpoints.
17590
83f66e8f
DJ
175912004-02-07 Daniel Jacobowitz <drow@mvista.com>
17592
17593 * config/sim.exp (gdb_load): Handle $arg == "".
17594 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
17595 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
17596
30fc0091
EZ
175972004-02-07 Elena Zannoni <ezannoni@redhat.com>
17598
a9c64011
AS
17599 * gdb.base/maint.exp: Update test to reflect
17600 obstack changes.
30fc0091 17601
4d806929
JJ
176022004-02-04 Jeff Johnston <jjohnstn@redhat.com>
17603
17604 * gdb.base/pendshr.c (pendfunc): New function that calls
17605 pendfunc1.
17606 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
17607
7bfdd688
FF
176082004-02-04 Fred Fish <fnf@redhat.com>
17609
17610 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
17611 function symbols and update copyright years.
17612 * gdb.arch/gdb1291.c: Ditto.
17613
aaa08ee4
MC
176142004-02-03 Michael Chastain <mec.gnu@mindspring.com>
17615
17616 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
17617
dbad7755
MC
176182004-02-03 Michael Chastain <mec.gnu@mindspring.com>
17619
17620 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
17621
ec4646ef
MC
176222004-02-03 Michael Chastain <mec.gnu@mindspring.com>
17623
17624 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
17625
1b802196
FF
176262004-02-02 Fred Fish <fnf@redhat.com>
17627
17628 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
17629 remote targets. Update copyright years.
17630
18fe2033
JJ
176312004-02-02 Jeff Johnston <jjohnstn@redhat.com>
17632
17633 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
17634 support.
17635 * gdb.base/langs.exp: Fix test which attempts to create
17636 breakpoint on non-existent function to handle new pending
17637 support.
17638 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
17639 a breakpoint.
17640 * gdb.base/pending.exp: New test.
17641 * gdb.base/pending.c: New file.
17642 * gdb.base/pendshr.c: Ditto.
17643
8d577d32
DC
176442004-02-02 David Carlton <carlton@kealia.com>
17645
17646 * gdb.cp/overload.exp: Add overloadNamespace tests.
17647 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
17648 (overloadNamespace, XXX): New.
17649 (main): Call XXX::marker2.
17650
3ad13771
FF
176512004-02-01 Fred Fish <fnf@redhat.com>
17652
17653 * gdb.base/dump.exp: Use runto_main instead of "runto main".
17654 * gdb.base/finish.exp: Ditto.
17655 * gdb.base/gcore.exp: Ditto.
17656 * gdb.base/huge.exp: Ditto.
17657 * gdb.base/info-proc.exp: Ditto.
17658 * gdb.base/return2.exp: Ditto.
17659 * gdb.threads/gcore-thread.exp: Ditto.
17660
44c75849
DJ
176612004-02-01 Daniel Jacobowitz <drow@mvista.com>
17662
17663 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
17664
005bc093
MK
176652004-02-01 Mark Kettenis <kettenis@gnu.org>
17666
17667 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
17668 that opening the file succeeds on OpenBSD.
17669
c47cebdb
DJ
176702004-02-01 Daniel Jacobowitz <drow@mvista.com>
17671
17672 * gdb.threads/thread-specific.c: New file.
17673 * gdb.threads/threads-specific.exp: New test script.
17674 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
17675 to expect_out.
17676
5a01311c
MK
176772004-02-01 Mark Kettenis <kettenis@gnu.org>
17678
17679 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
17680 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
17681 only on the "print_small_structs from print_long_arg_list" test.
17682
ce22a4f1
DJ
176832004-02-01 Daniel Jacobowitz <drow@mvista.com>
17684
17685 * gdb.base/completion.exp: Kill a stray backslash.
17686
17687 From Jim Ingham <jingham@apple.com>:
17688 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
17689 agrees with the result from sending a tab.
17690
abbab9d3
DJ
176912004-01-31 Daniel Jacobowitz <drow@mvista.com>
17692
17693 * gdb.base/chng-syms.exp: Remove stray newline.
17694
53904d1e
MK
176952004-01-31 Mark Kettenis <kettenis@gnu.org>
17696
17697 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
17698 *-*-openbsd*.
17699 * gdb.asm/openbsd.inc: New file.
17700
3a4b3aac
MK
177012004-01-30 Mark Kettenis <kettenis@gnu.org>
17702
17703 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
17704 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
17705 *-*solaris2*. Remove commented out default settings for
17706 asm-flags. Replace gdb_compile with target_link.
17707
ebac27b4
MC
177082004-01-29 Michael Chastain <mec.gnu@mindspring.com>
17709
17710 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
17711 for all tests. Remove old hp-ux and cygnus xfail cases.
17712
d8679d84
PH
177132004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
17714
17715 * gdb.base/chng-syms.exp: New file.
17716 * gdb.base/chng-syms.c: New file.
17717
0a55bc22
MC
177182004-01-24 Michael Chastain <mec.gnu@mindspring.com>
17719
17720 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
17721 Provide arms for current output in all my configurations.
17722
94b8e876
MC
177232004-01-24 Michael Chastain <mec.gnu@mindspring.com>
17724
17725 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
17726 * lib/compiler.cc: Likewise.
17727 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
17728 get the right preprocessor. Eval the output directly. Remove
17729 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
17730 hp_f77_compiler and hp_f90_compiler completely.
17731 (gdb_preprocess): Delete.
17732 (get_compiler): Delete.
17733
7cf03d44
MK
177342004-01-24 Mark Kettenis <kettenis@gnu.org>
17735
17736 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
17737 <string.h>.
17738
68b6dce9
NR
177392004-01-24 Nick Roberts <nick@nick.uklinux.net>
17740
17741 * gdb.mi/mi-stack.exp: Update copyright.
17742
b368761e
DC
177432004-01-23 David Carlton <carlton@kealia.com>
17744
17745 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
17746 test for cp_lookup_transparent_type.
17747 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
17748 call them.
17749
f2061b53
DJ
177502004-01-23 Daniel Jacobowitz <drow@mvista.com>
17751
17752 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
17753 after -var-update.
17754
37fc574a
DC
177552004-01-23 David Carlton <carlton@kealia.com>
17756
17757 * gdb.cp/namespace.cc (C::ensureRefs): New.
17758 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
17759
8e94b928
NR
177602004-01-20 Nick Roberts <nick@nick.uklinux.net>
17761
17762 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
17763 case "-stack-list-locals 2".
17764 * gdb.mi/mi-var-child.exp: Test for case
17765 "-var-list-children --all-values NAME".
17766
997b0952
MC
177672004-01-18 Michael Chastain <mec.gnu@mindspring.com>
17768
17769 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
17770
52470da3
MK
177712004-01-18 Mark Kettenis <kettenis@gnu.org>
17772
7049b4b8
MK
17773 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
17774 used with gdb_test_multiple.
17775
52470da3
MK
17776 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
17777 read at address 0. This fixes PR testsuite/1504.
17778
da6012e5
DJ
177792004-01-18 Daniel Jacobowitz <drow@mvista.com>
17780
17781 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
17782 Remove downloading, guessing the host executable, the calls to
17783 gdb_file_cmd and gdb_target_cmd, and "load" support.
17784 (infer_host_exec): New function broken out from gdb_load.
17785 (gdb_load): New wrapper for gdbserver_gdb_load.
17786 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
17787 gdb_target_cmd. Use -target-select.
17788 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
17789 Download binaries to the host. Clear last_mi_remote_file when
17790 we load a new binary.
17791 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
17792 call gdbserver_gdb_load and mi_gdb_target_cmd.
17793
32c70722
MC
177942004-01-17 Michael Chastain <mec.gnu@mindspring.com>
17795
17796 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
17797 type patterns.
17798
b0cecf36
MC
177992004-01-17 Michael Chastain <mec.gnu@mindspring.com>
17800
17801 * gdb.cp/templates.exp: Fix typo in test name of
17802 "print Foo<volatile char*>::foo".
17803
4120d7e6
MC
178042004-01-15 Michael Chastain <mec.gnu@mindspring.com>
17805
17806 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
17807
f679e530
BE
178082004-01-16 Ben Elliston <bje@wasabisystems.com>
17809
17810 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
17811 (clean mostlyclean): Remove empty rm.
17812
091c48f6
MC
178132004-01-15 Michael Chastain <mec.gnu@mindspring.com>
17814
17815 * gdb.base/setvar.exp: Add copyright years.
17816
3e5fc8d2
DC
178172004-01-14 David Carlton <carlton@bactrian.org>
17818
17819 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
17820 PR c++/1511 and update coment.
17821 * gdb.cp/templates.exp: Update patterns to match current output.
17822 If changes involve something other than whitespace, KFAIL
17823 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
17824
63d06c5c
DC
178252004-01-14 David Carlton <carlton@kealia.com>
17826
17827 * gdb.cp/namespace.exp: Add tests involving classes defined within
17828 namespaces.
17829 * gdb.cp/namespace.cc (C::CClass): New.
17830 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
17831
a51dab88
EZ
178322004-01-14 Elena Zannoni <ezannoni@redhat.com>
17833
17834 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
17835 what debug info we have. Print a better message if something goes
17836 wrong while producing the separate debug info file.
17837
a476ccc9
MC
178382004-01-14 Michael Chastain <mec.gnu@mindspring.com>
17839
17840 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
17841
f453692c
MC
178422004-01-14 Michael Chastain <mec.gnu@mindspring.com>
17843
17844 * gdb.base/callfuncs.c: Add copyright notice.
17845
f40063a5
MC
178462004-01-13 Michael Chastain <mec.gnu@mindspring.com>
17847
17848 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
17849 inheritance. PR gdb/1498, PR gcc/13539.
17850
19ac3974
EZ
178512004-01-13 Elena Zannoni <ezannoni@redhat.com>
17852
a9c64011
AS
17853 * gdb.threads/gcore-thread.exp: Prefix name of binary with
17854 test specific name.
17855 * gdb.mi/gdb669.exp: Ditto.
17856 * gdb.mi/mi-pthreads.exp: Ditto.
17857 * gdb.mi/mi1-pthreads.exp: Ditto.
17858 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 17859
56c97c6e
MC
178602004-01-12 Michael Chastain <mec.gnu@mindspring.com>
17861
17862 * gdb.cp/member-ptr.cc: Add copyright notice.
17863
a0644324
MC
178642004-01-12 Michael Chastain <mec.gnu@mindspring.com>
17865
17866 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
17867 some patterns for recent versions of gcc and hpacc. Delete
17868 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
17869 Delete tests that access a NULL pointer-to-member-data. This
17870 script is still disabled for gcc.
17871
32fabe09
EZ
178722004-01-12 Elena Zannoni <ezannoni@redhat.com>
17873
17874 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 17875 escaped correctly.
32fabe09 17876
1f8a6abb
EZ
178772004-01-12 Elena Zannoni <ezannoni@redhat.com>
17878
17879 * gdb.base/sepdebug.exp: New file.
17880 * gdb.base/sepdebug.c: New file.
17881 * lib/gdb.exp (separate_debug_filename): New procedure.
17882 (gdb_gnu_strip_debug): New procedure.
17883
48efe704
AC
178842004-01-12 Andrew Cagney <cagney@redhat.com>
17885
17886 * gdb.mi/ChangeLog: Delete file. Renamed to ...
17887 * gdb.mi/ChangeLog-1999-2003: New file.
17888
a9415475
AC
178892004-01-12 Andrew Cagney <cagney@redhat.com>
17890
17891 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
17892 "Renaming a directory to a non-empty directory returns ENOTEMPTY
17893 or EEXIST", treat EBUSY as an XFAIL.
17894
83b8cf9d
MC
178952004-01-11 Michael Chastain <mec.gnu@mindspring.com>
17896
17897 * gdb.base/scope.exp: Remove obsolete setup_xfail for
17898 hp_cc_compiler.
17899
9939d2a8
MC
179002004-01-10 Michael Chastain <mec.gnu@mindspring.com>
17901
17902 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
17903 decorations.
17904
1ff8cadf
MC
179052004-01-10 Michael Chastain <mec.gnu@mindspring.com>
17906
17907 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
17908 and "(aCC)" decorations. Remove obsolete doco about old
17909 test results.
17910
6fa9022e
MC
179112004-01-09 Michael Chastain <mec.gnu@mindspring.com>
17912
17913 * gdb.cp/exception.exp: Fix typo in doco.
17914
209721fe
MK
179152004-01-09 Mark Kettenis <kettenis@gnu.org>
17916
17917 * gdb.base/gdb1476.exp: Fix typo.
17918
ef11303e
MC
179192004-01-09 Michael Chastain <mec.gnu@mindspring.com>
17920
17921 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
17922 file.
17923
041ab88c
MC
179242004-01-09 Michael Chastain <mec.gnu@mindspring.com>
17925
17926 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
17927 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
17928 Use gdb_compile. Remove restriction on gcc. Add some patterns
17929 for recent version of gdb. Delete second half, which was a copy
17930 of the first half with different build flags. This test is
17931 still disabled because it is still not ready for production.
17932
e36d075a
MC
179332004-01-08 Michael Chastain <mec.gnu@mindspring.com>
17934
17935 * gdb.cp/exception.cc: Add copyright notice.
17936 * gdb.cp/exception.exp: Add a notice that this file is broken
17937 because of line number changes caused by addition of copyright
17938 notice.
17939
42b190ad
MC
179402004-01-08 Michael Chastain <mec.gnu@mindspring.com>
17941
17942 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
17943 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
17944
8f25f06b
MC
179452004-01-08 Michael Chastain <mec.gnu@mindspring.com>
17946
17947 * gdb.cp/classes.exp: Accept gnu abi 2.
17948 * gdb.cp/derivation.exp: Likewise.
17949 * gdb.cp/overload.exp: Likewise.
17950 * gdb.cp/virtfunc.exp: Likewise.
17951
06ded8b8
MC
179522004-01-08 Michael Chastain <mec.gnu@mindspring.com>
17953
17954 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
17955 semicolon after end of function.
17956
77c26ae3
MC
179572004-01-07 Michael Chastain <mec.gnu@mindspring.com>
17958
17959 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
17960 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
17961 boilerplate code for compiling and running the program under
17962 test. Add some string method tests.
17963
20757486
MC
179642004-01-07 Michael Chastain <mec.gnu@mindspring.com>
17965
17966 * gdb.cp/bs15503.cc: Add copyright notice.
17967 * gdb.cp/bs15503.exp: Adjust line number.
17968
0fd3b503
MC
179692004-01-07 Michael Chastain <mec.gnu@mindspring.com>
17970
17971 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
17972 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
17973
10d1bea8
MC
179742004-01-07 Michael Chastain <mec.gnu@mindspring.com>
17975
17976 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
17977 hp_cc_compiler.
17978
2789202a
MC
179792004-01-07 Michael Chastain <mec.gnu@mindspring.com>
17980
17981 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
17982 * gdb.cp/ctti.exp: Use the marker instead of "next".
17983 With gcc, run further before bailing.
17984
b862f14c
MC
179852004-01-07 Michael Chastain <mec.gnu@mindspring.com>
17986
17987 * gdb.cp/cttiadd.cc: Add copyright notice.
17988 * gdb.cp/cttiadd1.cc: Likewise.
17989 * gdb.cp/cttiadd2.cc: Likewise.
17990 * gdb.cp/cttiadd3.cc: Likewise.
17991
96da2469
MC
179922004-01-07 Michael Chastain <mec.gnu@mindspring.com>
17993
17994 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
17995 Use gdb_test, gdb_test_multiple. Use floating-point values that
17996 have exact representations in IEEE-ish formats.
17997
053248ff
MC
179982004-01-07 Michael Chastain <mec.gnu@mindspring.com>
17999
18000 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
18001 compilers. Delete duplicate call to get_compiler_info.
18002 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
18003 * gdb.base/volatile.exp: Likewise.
18004
84acecdd
MK
180052004-01-07 Mark Kettenis <kettenis@gnu.org>
18006
18007 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
18008 memory at address 0.
18009
fe11a27f
MC
180102004-01-07 Michael Chastain <mec.gnu@mindspring.com>
18011
18012 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
18013 to test for hp-ux assembler. Fix copyright years.
18014
60ad077b
AC
180152004-01-07 Andrew Cagney <cagney@redhat.com>
18016
18017 * gdb.base/fileio.c (strerrno): Add "EBUSY".
18018
1c9b8f33
AC
180192004-01-07 Andrew Cagney <cagney@redhat.com>
18020
18021 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
18022 when creating the read-only file. From analysis by Roland McGrath
18023 and Elena Zannoni.
18024
753ccc7a
MC
180252004-01-06 Michael Chastain <mec.gnu@mindspring.com>
18026
18027 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
18028
eca3e36b
MC
180292004-01-06 Michael Chastain <mec.gnu@mindspring.com>
18030
18031 * gdb.base/cvexpr.c: Be type-safe with function pointers and
18032 data pointers.
18033
f8d4bac4
MC
180342004-01-06 Michael Chastain <mec.gnu@mindspring.com>
18035
18036 * gdb.cp/m-static.exp: Compile one source file at a time.
18037 Delete unused call to get_compiler_info.
18038
9b4e0f94
MC
180392004-01-06 Michael Chastain <mec.gnu@mindspring.com>
18040
18041 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
18042 * gdb.base/call-rt-st.exp: Likewise.
18043 * gdb.base/nodebug.exp: Likewise.
18044 * gdb.base/volatile.exp: Likewise.
18045 * gdb.cp/ref-types.exp: Likewise.
18046 * gdb.cp/templates.exp: Likewise.
18047
023c1024
MK
180482004-01-05 Mark Kettenis <kettenis@gnu.org>
18049
18050 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
18051
19703c4a
MC
180522004-01-05 Michael Chastain <mec.gnu@mindspring.com>
18053
18054 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
18055 hppa*-hp-hpux*.
18056
18b67037
MK
180572004-01-04 Mark Kettenis <kettenis@gnu.org>
18058
ba6219c8
MK
18059 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
18060 x86_64-*-*.
18061
18b67037
MK
18062 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
18063 sparc64-*-* and sparc*-solaris2*.
18064
1bfbbb9d
MK
180652004-01-04 Mark Kettenis <kettenis@gnu.org>
18066
18067 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
18068 return ${tests}" test. The ${tests} already mentions the
18069 filename.
18070
06846494
MC
180712004-01-02 Michael Chastain <mec.gnu@mindspring.com>
18072
18073 * gdb.cp/local.exp: Accept gcc abi 2.
18074
3b0cb202
MC
180752004-01-02 Michael Chastain <mec.gnu@mindspring.com>
18076
18077 * gdb.cp/templates.exp: Accept gcc abi 2.
18078
0643ec3f
MC
180792004-01-02 Michael Chastain <mec.gnu@mindspring.com>
18080
18081 * lib/compiler.cc: Remove supports_template_debugging.
18082 * gdb.cp/templates.exp: Do not test supports_template_debugging.
18083
d231d0b1
MC
180842004-01-01 Michael Chastain <mec.gnu@mindspring.com>
18085
18086 * gdb.cp/namespace.exp: Accept gcc abi 2.
18087
44ffb27c
MC
180882004-01-01 Michael Chastain <mec.gnu@mindspring.com>
18089
18090 * gdb.cp/method.exp: Accept gcc abi 2.
18091
184ad485
MC
180922004-01-01 Michael Chastain <mec.gnu@mindspring.com>
18093
18094 * gdb.cp/classes.exp: Generate identical results as old version.
18095 * gdb.cp/derivation.exp: Likewise.
18096 * gdb.cp/overload.exp: Likewise.
18097 * gdb.cp/virtfunc.exp: Likewise.
18098
116f09e7
MC
180992004-01-01 Michael Chastain <mec.gnu@mindspring.com>
18100
18101 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
18102 mysterious bug with sourceware version of expect.
18103
b1379776
MC
181042004-01-01 Michael Chastain <mec.gnu@mindspring.com>
18105
18106 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
18107 current versions of gcc, including gcc abi 2. Remove gratuitous
18108 restart of test program. Use gdb_test_multiple and gdb_test for
18109 all tests. Add patterns to xfail missing "const" in "const char *"
18110 and kfail PR gdb/1155.
18111
6b7a4c0e
MC
181122004-01-01 Michael Chastain <mec.gnu@mindspring.com>
18113
18114 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
18115 current versions of gcc, including gcc abi 2. Remove gratuitous
18116 restart of test program. Use gdb_test_multiple and gdb_test for
18117 all tests. Add patterns to kfail PR gdb/1498.
18118
51615d72
MC
181192003-12-31 Michael Chastain <mec.gnu@mindspring.com>
18120
18121 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
18122 current versions of gcc, including gcc abi 2. Use "breakpoint"
18123 and "continue" instead of restarting the target program. Use
18124 gdb_test_multiple and gdb_test for all tests.
18125
7b79a9d7
MK
181262004-01-01 Mark Kettenis <kettenis@gnu.org>
18127
18128 * gdb.asm/asm-source.exp: Update copyright year. Link statically
18129 for *-*-solaris2*.
18130
1cd3489f
MC
181312003-12-31 Michael Chastain <mec.gnu@mindspring.com>
18132
18133 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
18134 current versions of gcc, including gcc abi 2. Use "breakpoint"
18135 and "continue" instead of restarting the target program several
18136 times. Use gdb_test_multiple and gdb_test for all tests.
18137
850742db
MC
181382003-12-18 Michael Chastain <mec.gnu@mindspring.com>
18139
18140 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
18141 source files.
18142
eb4bbda8
MC
181432003-12-16 Michael Chastain <mec.gnu@mindspring.com>
18144
18145 * gdb.base/environ.exp: Handle compiling test case from multiple
18146 source files.
18147
e42c7771
MC
181482003-12-16 Michael Chastain <mec.gnu@mindspring.com>
18149
18150 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
18151
80e4b428
JB
181522003-12-17 Jim Blandy <jimb@redhat.com>
18153
5f06973a
JB
18154 * gdb.base/freebpcmd.c: Add copyright notice.
18155
80e4b428
JB
18156 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
18157
0ab84fb7
MC
181582003-12-16 Michael Chastain <mec.gnu@mindspring.com>
18159
18160 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
18161
1b3bb3d0
JB
181622003-12-13 Jim Blandy <jimb@redhat.com>
18163
18164 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
18165
3a4c9371
KB
181662003-12-12 Kevin Buettner <kevinb@redhat.com>
18167
18168 * gdb.asm/frv.inc: New file.
18169 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
18170
a1dea79a
FF
181712003-12-09 Fred Fish <fnf@redhat.com>
18172
18173 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
18174 functions to break1.c and leave prototypes behind. Add more
18175 "set breakpoint NN here" comments.
18176 * gdb.base/break1.c: New file.
18177
18178 * gdb.base/break.exp: Handle compiling test case from multiple
18179 source files and change source file references as needed.
18180 * gdb.base/completion.exp: Ditto.
18181 * gdb.base/condbreak.exp: Ditto.
18182 * gdb.base/define.exp: Ditto.
18183 * gdb.base/ena-dis-br.exp: Ditto.
18184 * gdb.base/info-proc.exp: Ditto.
18185 * gdb.base/maint.exp: Ditto.
18186 * gdb.base/until.exp: Ditto.
18187
18188 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
18189 hardcoded line numbers.
18190 * gdb.base/define.exp: Ditto.
18191 * gdb.base/ena-dis-br.exp: Ditto.
18192 * gdb.base/maint.exp: Ditto.
18193 * gdb.base/until.exp: Ditto.
18194
18195 * gdb.base/completion.exp: Use "break1" for completion tests since
18196 "break" is no longer a unique prefix.
18197
5266b69c
AC
181982003-12-06 Andrew Cagney <cagney@redhat.com>
18199
18200 * gdb.base/structs.exp (test_struct_returns): When applicable, set
18201 "return_value_unimplemented". When an unimplemented struct return
18202 architecture, report incorrect values as a KFAIL
18203
374451f0
MC
182042003-12-05 Michael Chastain <mec.gnu@mindspring.com>
18205
18206 * gdb.cp/rtti.exp: Accept new wording of warning from
18207 cp_lookup_rtti_type.
18208
ba9b20a7
MC
182092003-12-05 Michael Chastain <mec.gnu@mindspring.com>
18210
18211 Partial fix for PR testsuite/1456.
18212 * gdb.base/scope.exp (test_at_main): Replace references to
18213 gcc_compiled with calls to test_compiler_info.
18214 (test_at_foo): Likewise.
18215 (test_at_bar): Likewise.
18216
b74b6d0b
MC
182172003-12-04 Michael Chastain <mec.gnu@mindspring.com>
18218
18219 Partial fix for PR testsuite/1456.
18220 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
18221 to test_compiler_info.
18222
ccfa3402
MC
182232003-12-03 Michael Chastain <mec.gnu@mindspring.com>
18224
18225 * gdb.base/so-impl-ld.exp: Update copyright notice.
18226
f6246aba
MC
182272003-12-02 Michael Chastain <mec.gnu@mindspring.com>
18228
18229 Partial fix for PR testsuite/1456.
18230 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
18231 to test_compiler_info.
18232
13ae734a
MC
182332003-11-28 Michael Chastain <mec.gnu@mindspring.com>
18234
18235 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
18236 from current versions of gdb. Clean up regular expressions.
18237 Delete redundant timeout case.
18238
d8e1cdee
MC
182392003-11-28 Michael Chastain <mec.gnu@mindspring.com>
18240
18241 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
18242 from current versions of gdb. Clean up regular expressions.
18243 Delete redundant timeout case.
18244
96457b64
MC
182452003-12-01 Michael Chastain <mec.gnu@mindspring.com>
18246
18247 Partial fix for PR testsuite/1456.
18248 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
18249 gcc_compiled with call to test_compiler_info.
18250
f35309fc
MC
182512003-11-30 Michael Chastain <mec.gnu@mindspring.com>
18252
18253 Partial fix for PR testsuite/1456.
18254 * gdb.base/list.exp (test_list_function): Delete unused declaration
18255 of gcc_compiled.
18256
d7afdf9b
MC
182572003-11-29 Michael Chastain <mec.gnu@mindspring.com>
18258
18259 Partial fix for PR testsuite/1456.
18260 * gdb.base/complex.exp: Replace reference to gcc_compiled with
18261 call to test_compiler_info.
18262
71507b56
MK
182632003-11-29 Mark Kettenis <kettenis@gnu.org>
18264
18265 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
18266 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
18267 it to create the appropriate note.inc.
18268 * gdb.asm/asmsrc1.s: Include "note.inc".
18269 * gdb.asm/netbsd.inc: New file.
18270 * gdb.asm/empty.inc: New file.
18271
f81f93f7
MC
182722003-11-28 Michael Chastain <mec.gnu@mindspring.com>
18273
18274 Partial fix for PR testsuite/1456.
18275 * gdb.base/constvars.exp: Replace references to gcc_compiled with
18276 calls to test_compiler_info.
18277
9a77938e
MC
182782003-11-27 Michael Chastain <mec.gnu@mindspring.com>
18279
18280 Partial fix for PR testsuite/1456.
18281 * gdb.base/volatile.exp: Replace references to gcc_compiled with
18282 calls to test_compiler_info.
18283
e8367dc7
MK
182842003-11-27 Mark Kettenis <kettenis@gnu.org>
18285
18286 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
18287 pattern for the KFAILs.
18288
526c61ee
AF
182892003-11-25 Adam Fedor <fedor@gnu.org>
18290
18291 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
18292 * gdb.objc/objcdecode.m: New file.
18293
28f2d600
AF
182942003-11-25 Adam Fedor <fedor@gnu.org>
18295
18296 * gdb.objc/nondebug.exp: Test for PR objc/1236.
18297 * gdb.objc/nondebug.m: New file.
18298
a3895cee
BE
182992003-11-26 Ben Elliston <bje@wasabisystems.com>
18300
18301 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
18302 NetBSD as it does on FreeBSD. Modelled on a similar change by
18303 Mark Kettenis on 2003-05-30.
18304 (link-flags): Set to "--entry _start" regardless of target.
18305 Special linker flags are to be appended to $link-flags.
18306 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
18307
c9f2c8a3
MC
183082003-11-25 Michael Chastain <mec.gnu@mindspring.com>
18309
18310 * gdb.cp/method.exp: Accept output of new demangler.
18311
15a0587a 183122003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
18313
18314 * gdb/class2.exp: New file.
18315 * gdb/class2.cc: New file.
18316
3c00b570
MC
183172003-11-25 Michael Chastain <mec.gnu@mindspring.com>
18318
18319 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
18320 of new demangler.
18321
7027acc7
MK
183222003-11-23 Mark Kettenis <kettenis@gnu.org>
18323
18324 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
18325 of gdb_test "run".
18326
b0e1598a
MK
183272003-11-23 Mark Kettenis <kettenis@gnu.org>
18328
18329 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
18330 "continue" into "run".
18331
4d9eda44
MC
183322003-11-23 Michael Chastain <mec.gnu@mindspring.com>
18333
18334 Partial fix for PR testsuite/1456.
18335 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
18336 call to test_compiler_info.
18337 * gdb.cp/ctti.exp: Likewise.
18338 * gdb.cp/derivation.exp: Likewise.
18339 * gdb.cp/member-ptr.exp: Likewise.
18340 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
18341 reference to gcc_compiled.
18342
183432003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
18344
18345 Fix PR testsuite/1463.
18346 * gdb.base/structs.exp (start_structs_test): Call
18347 get_debug_format before using the debug format.
18348
d422fe19
AC
183492003-11-22 Andrew Cagney <cagney@redhat.com>
18350
18351 * lib/gdb.exp (gdb_test_multiple): Add simple example.
18352 * gdb.base/structs.exp: Use gdb_test_multiple.
18353
039cf96d
AC
183542003-11-20 Andrew Cagney <cagney@redhat.com>
18355
6882279b
AC
18356 * gdb.base/structs.exp: Handle and recover from internal errors.
18357 Replace "foo${n}" with "foo<n>" in test messages.
18358
e53890ae
AC
18359 * gdb.base/structs.exp: Update copyright. Rewrite.
18360 * gdb.base/structs.c: Update copyright. Rewrite.
18361
2b211c59
AC
18362 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
18363 resync count exceeded.
d63a86f8 18364
039cf96d
AC
18365 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
18366 from the internal error.
18367 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
18368 Original from Jim Blandy.
18369 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 18370
eac98b22
AC
183712003-11-19 Andrew Cagney <cagney@redhat.com>
18372
18373 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
18374 KFAIL.
18375
67455b2a
MK
183762003-11-17 Mark Kettenis <kettenis@gnu.org>
18377
18378 New testcase for PR backtrace/1435.
18379 * gdb.arch/i386-unwind.exp: New file.
18380 * gdb.arch/i386-unwind.c: New file.
18381
853d6e5b
AC
183822003-11-17 Andrew Cagney <cagney@redhat.com>
18383
18384 * lib/gdb.exp (compiler_info): New global.
18385 (test_compiler_info): New function.
18386 (get_compiler_info): Set compiler_info.
18387 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
18388 "compiler_info" to gcc-<major>-<minor>.
18389
38cf6e11
MC
183902003-11-15 Michael Chastain <mec.gnu@mindspring.com>
18391
18392 * gdb.trace/configure: Remove.
18393
a50d3602
EZ
183942003-11-13 Elena Zannoni <ezannoni@redhat.com>
18395
18396 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 18397 breakpoints.
a50d3602
EZ
18398 * gdb.base/break.exp: Remove all references to explicit line
18399 numbers.
18400
d9407aaa
NC
184012003-11-11 Nick Clifton <nickc@redhat.com>
18402
18403 * gdb.base/shreloc.exp: Do not run for targets which do not
18404 support shared objects.
18405
db488fc1
CV
184062003-11-10 Corinna Vinschen <vinschen@redhat.com>
18407
18408 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
18409 Don't run tests if nofileio flag is given.
18410
6a90a18e
EZ
184112003-11-07 Elena Zannoni <ezannoni@redhat.com>
18412
18413 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 18414 as well as 'Watchpoint'.
6a90a18e 18415
0b915e9c
EZ
184162003-11-06 Elena Zannoni <ezannoni@redhat.com>
18417
18418 Reported by Jim Ingham <jingham@apple.com>:
18419 * gdb.base/annota1.exp: Match at least one occurrence of the
18420 signal handler annotation.
18421
d7e4b55f
EZ
184222003-11-06 Elena Zannoni <ezannoni@redhat.com>
18423
a9c64011
AS
18424 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
18425 as well as 'Watchpoint'.
d7e4b55f 18426
2fe4e8d0
MC
184272003-11-05 Michael Chastain <mec@shout.net>
18428
18429 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
18430
6ef88553
KW
184312003-11-03 Kris Warkentin <kewarken@qnx.com>
18432
18433 * gdb.arch/gdb1291.c: New test file.
18434 * gdb.arch/gdb1291.exp: New test script.
18435 * gdb.arch/gdb1431.c: New test file.
18436 * gdb.arch/gdb1431.exp: New test script.
18437
ae7dc4d8
MC
184382003-10-22 Michael Chastain <mec@shout.net>
18439
18440 * gdb.mi/pthreads.c: Add copyright notice.
18441
c39d7427
MC
184422003-10-22 Michael Chastain <mec@shout.net>
18443
18444 * gdb.threads/pthreads.c: Add copyright notice.
18445
8b7d96c1
MC
184462003-10-20 Michael Chastain <mec@shout.net>
18447
18448 * gdb.base/gdb1056.exp: New test script.
18449
d1d69fdd
DJ
184502003-10-13 Daniel Jacobowitz <drow@mvista.com>
18451
18452 * gdb.threads/killed.exp: Use gdb_run_cmd.
18453
7d605576
DJ
184542003-10-13 Daniel Jacobowitz <drow@mvista.com>
18455
18456 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
18457 create a core file.
18458 * gdb.threads/gcore-thread.exp: Likewise.
18459
618ec112
CV
184602003-10-13 Corinna Vinschen <vinschen@redhat.com>
18461
18462 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
18463 type, based on char type.
18464 (struct bit_flags_short_t): New bitfield type, based on short type.
18465 (init_bit_flags_char): New fuction.
18466 (init_bit_flags_short): Ditto.
18467 (print_bit_flags_char): Ditto.
18468 (print_bit_flags_short): Ditto.
18469 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
18470
9367a73c
MC
184712003-10-11 Michael Chastain <mec@shout.net>
18472
18473 * gdb.base/call-rt-st.exp: Update copyright year.
18474
1decf120
KI
184752003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
18476
18477 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
18478 * gdb.disasm/sh3.s: Ditto.
18479
5445b2ae
DJ
184802003-10-07 Daniel Jacobowitz <drow@mvista.com>
18481
18482 * gdb.threads/switch-threads.exp: New test.
18483 * gdb.threads/switch-threads.c: New source file.
18484
aec24853
CV
184852003-10-07 Corinna Vinschen <vinschen@redhat.com>
18486
18487 * gdb.base/ending-run.exp: Add sh specific case.
18488
adc7428d
AC
184892003-10-06 Andrew Cagney <cagney@redhat.com>
18490
18491 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
18492 * gdb.disasm/mn10200.exp: Delete obsolete file.
18493
c9d37158
DJ
184942003-09-29 Daniel Jacobowitz <drow@mvista.com>
18495
18496 * ChangeLog: Correct an entry command.exp -> commands.exp.
18497 * gdb.base/commands.exp (bp_deleted_in_command_test)
18498 (temporary_breakpoint_commands): Check noargs.
18499
79c2c32d
DC
185002003-09-25 David Carlton <carlton@kealia.com>
18501
18502 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
18503 of some print tests, where appropriate. Add tests for C::D::cd,
18504 E::ce, F::cXfX, G::XgX.
18505 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
18506
594e6d67
RE
185072003-09-25 Richard Earnshaw <rearnsha@arm.com>
18508
18509 * lib/java.exp (java_init): Import target_alias before using it.
18510
10f0d451
DC
185112003-09-25 David Carlton <carlton@kealia.com>
18512
18513 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
18514
274bcba0
EZ
185152003-09-23 Elena Zannoni <ezannoni@redhat.com>
18516
d63a86f8 18517 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 18518 weirdness.
274bcba0 18519
cdbf20f7
MC
185202003-09-17 Michael Chastain <mec@shout.net>
18521
18522 * gdb.cp/gdb1355.exp: New file.
18523 * gdb.cp/gdb1355.c: New file.
18524
71e06f80
CV
185252003-09-15 Corinna Vinschen <vinschen@redhat.com>
18526
18527 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
18528 * gdb.asm/sh.inc: New file.
18529
5c4e30ca
DC
185302003-09-11 David Carlton <carlton@kealia.com>
18531
bd45b7af
DC
18532 * gdb.cp/namespace.exp: Add tests for namespace types.
18533 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
18534 (test_namespace): New.
18535
1c199746
EZ
185362003-09-11 Elena Zannoni <ezannoni@redhat.com>
18537
a9c64011 18538 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 18539 * gdb.stabs/weird.exp: Ditto.
1c199746 18540
04ed252f
MC
185412003-09-08 Michael Chastain <mec@shout.net>
18542
18543 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
18544
d8a2d9e7
MC
185452003-09-07 Michael Chastain <mec@shout.net>
18546
18547 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
18548 'parse error'.
18549
161afb24
MK
185502003-09-07 Mark Kettenis <m.kettenis@osp.nl>
18551
18552 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
18553
49f2741a
MC
185542003-08-30 Michael Chastain <mec@shout.net>
18555
18556 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
18557 * gdb.gdb/observer.exp: Ditto.
18558 * gdb.gdb/xfullpath.exp: Ditto.
18559
8afa723e
MK
185602003-08-29 Mark Kettenis <kettenis@gnu.org>
18561
18562 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
18563 *-*-*bsd*.
18564
f31dfe3b
JJ
185652003-08-28 Jeff Johnston <jjohnstn@redhat.com>
18566
18567 * gdb.base/dump.exp: Skip for ia64.
18568
4630e498
JJ
185692003-08-25 Jeff Johnston <jjohnstn@redhat.com>
18570
18571 * gdb.asm/asm-source.exp: Add ia64 support.
18572 * gdb.asm/ia64.inc: New file.
18573
1105b7ef
MC
185742003-08-22 Michael Chastain <mec@shout.net>
18575
18576 * gdb.cp: New directory.
18577 * gdb.cp/*: Copy from gdb.c++/*.
18578 * gdb.c++/*: Remove.
18579 * Makefile.in: Change gdb.c++ to gdb.cp.
18580 * configure.in: Ditto.
18581 * configure: Regnerate.
18582
c945b932
MK
185832003-08-18 Mark Kettenis <kettenis@gnu.org>
18584
18585 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
18586 * gdb.arch/i386-prologue.c (gdb1338): Add function.
18587
2b66634b
DJ
185882003-08-17 Daniel Jacobowitz <drow@mvista.com>
18589
18590 * mi-var-display.exp (-var-list-children weird): Accept function
18591 pointers with argument types.
18592 * mi1-var-display.exp (-var-list-children weird): Likewise.
18593 * mi2-var-display.exp (-var-list-children weird): Likewise.
18594
a356f73b
DJ
185952003-08-17 Daniel Jacobowitz <drow@mvista.com>
18596
18597 * gdb.base/annota3.exp: Add missing newline.
18598
483417b8
MC
185992003-08-06 Michael Chastain <mec@shout.net>
18600
18601 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
18602
c99c59c3
MS
186032003-08-12 Michael Snyder <msnyder@redhat.com>
18604
18605 * gdb.base/float.exp: Add test for SH.
18606
55ed7501
MK
186072003-08-10 Mark Kettenis <kettenis@gnu.org>
18608
18609 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
18610
1a371f2e
EZ
186112003-08-07 Elena Zannoni <ezannoni@redhat.com>
18612
18613 * gdb.base/completion.exp: Remove reduntant completion test
18614 on filename.
18615
e0f353ce
EZ
186162003-08-07 Elena Zannoni <ezannoni@redhat.com>
18617
a9c64011
AS
18618 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
18619 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
18620 gdb.trace/save-trace.exp: Make sure that full pathnames are
18621 escaped correctly.
e0f353ce 18622
5710a1af 186232003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 18624
a9c64011
AS
18625 * configure.in: Don't generate config.h from config.hin.
18626 * configure: Regenerate.
18627 * config.hin: Remove file.
18628 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
18629 * gdb.threads/pthreads.c: Ditto.
5710a1af 18630
dcd81ce9
DJ
186312003-08-07 Daniel Jacobowitz <drow@mvista.com>
18632
18633 From Kei Sakamoto <sakamoto.kei@renesas.com>:
18634 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
18635 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
18636 Replace ld24 with seth/add3.
18637
6009d884
AC
186382003-08-02 Andrew Cagney <cagney@redhat.com>
18639
18640 * gdb.base/annota3.exp: New file.
18641 * gdb.base/annota3.c: New file.
18642 * gdb.c++/annota3.exp: New file.
18643 * gdb.c++/annota3.cc: New file.
18644
51514e06
MC
186452003-07-29 Michael Chastain <mec@shout.net>
18646
18647 * gdb.threads/tls.c (spin): Check errno only if sem_wait
18648 actually failed.
18649 (do_pass): Likewise.
18650 * gdb.threads/tls.exp: Always initialize no_of_threads.
18651
4ee6625b
DJ
186522003-07-27 Daniel Jacobowitz <drow@mvista.com>
18653
18654 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
18655 pattern.
18656 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
18657 * gdb.threads/tls.exp: Recognize one case of the host library not
18658 supporting TLS.
18659
225f2bf6
AC
186602003-07-27 Andrew Cagney <cagney@redhat.com>
18661
18662 * gdb.base/fileio.exp: Use SH when running commands using
18663 remote_exec.
18664
bcb27c9f
DJ
186652003-07-24 Daniel Jacobowitz <drow@mvista.com>
18666
18667 From Kei Sakamoto <sakamoto.kei@renesas.com>:
18668 * gdb.base/relocate.c (dummy): New padding array.
18669
3d67be83
MS
186702003-07-22 Michael Snyder <msnyder@redhat.com>
18671
d63a86f8 18672 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
18673
18674 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
18675 patterns to be more general, accepting old and new output.
18676 Some output chars (such as '+') also must be quoted.
d63a86f8 18677 Some addresses are displayed numerically instead of
3d67be83
MS
18678 symbolically.
18679
57ba3b85
MS
186802003-07-23 Michael Snyder <msnyder@redhat.com>
18681
686d097c
MS
18682 * gdb.base/return2.exp: Don't test long-long return.
18683
57ba3b85
MS
18684 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
18685 * gdb.disasm/t01_mov.exp: Ditto.
18686 * gdb.disasm/t02_mova.s: Ditto.
18687 * gdb.disasm/t02_mova.exp: Ditto.
18688 * gdb.disasm/t03_add.s: Ditto.
18689 * gdb.disasm/t03_add.exp: Ditto.
18690 * gdb.disasm/t04_sub.s: Ditto.
18691 * gdb.disasm/t04_sub.exp: Ditto.
18692 * gdb.disasm/t05_cmp.s: Ditto.
18693 * gdb.disasm/t05_cmp.exp: Ditto.
18694 * gdb.disasm/t06_ari2.s: Ditto.
18695 * gdb.disasm/t06_ari2.exp: Ditto.
18696 * gdb.disasm/t07_ari3.s: Ditto.
18697 * gdb.disasm/t07_ari3.exp: Ditto.
18698 * gdb.disasm/t08_or.s: Ditto.
18699 * gdb.disasm/t08_or.exp: Ditto.
18700 * gdb.disasm/t09_xor.s: Ditto.
18701 * gdb.disasm/t09_xor.exp: Ditto.
18702 * gdb.disasm/t10_and.s: Ditto.
18703 * gdb.disasm/t10_and.exp: Ditto.
18704 * gdb.disasm/t11_logs.s: Ditto.
18705 * gdb.disasm/t11_logs.exp: Ditto.
18706 * gdb.disasm/t12_bit.s: Ditto.
18707 * gdb.disasm/t12_bit.exp: Ditto.
18708 * gdb.disasm/t13_otr.s: Ditto.
18709 * gdb.disasm/t13_otr.exp: Ditto.
18710
e00759ef
EZ
187112003-07-22 Elena Zannoni <ezannoni@redhat.com>
18712
18713 * gdb.threads/tls.exp :Add kfail for 'info address' case.
18714
8bc2021f
EZ
187152003-07-22 Elena Zannoni <ezannoni@redhat.com>
18716
a9c64011
AS
18717 * gdb.threads/tls.c : New file.
18718 * gdb.threads/tls.exp : New file.
18719 * gdb.threads/tls-main.c : New file.
18720 * gdb.threads/tls-shared.c : New file.
18721 * gdb.threads/tls-shared.exp : New file.
8bc2021f 18722
89320c4c
AS
187232003-07-22 Andreas Schwab <schwab@suse.de>
18724
18725 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
18726
180dea7c
AS
187272003-07-20 Andreas Schwab <schwab@suse.de>
18728
18729 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
18730 due to insn reordering.
18731
0714963c
AC
187322003-07-15 Andrew Cagney <cagney@redhat.com>
18733
18734 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
18735
98a23b3f
MC
187362003-07-15 Michael Chastain <mec@shout.net>
18737
18738 * gdb.base/gdb1250.exp: New file.
18739 * gdb.base/gdb1250.c: New file.
18740
27e417a2
ML
187412003-07-09 Michal Ludvig <mludvig@suse.cz>
18742
18743 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
18744 expansion of size_t to 'unsigned long', not only to 'unsigned'.
18745
8bc2021f
EZ
187462003-07-09 Elena Zannoni <ezannoni@redhat.com>
18747
a9c64011
AS
18748 * gdb.threads/tls.c: New file.
18749 * gdb.threads/tls.exp: New file.
18750 * gdb.threads/tls-main.c: New file.
18751 * gdb.threads/tls-shared.c: New file.
18752 * gdb.threads/tls-shared.exp: New file.
8bc2021f 18753
d99968dc
EZ
187542003-07-09 Elena Zannoni <ezannoni@redhat.com>
18755
18756 * gdb.base/annota1.exp: Make sure that we properly escape the
18757 full path of the source file. Xfail more permissive patterns,
d63a86f8 18758 due to a compiler debug info problem.
d99968dc 18759
83876b3b
AS
187602003-07-07 Andreas Schwab <schwab@suse.de>
18761
2705e972
AS
18762 * gdb.asm/m68k.inc: New file.
18763 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
18764
83876b3b
AS
18765 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
18766 arguments"): Also match negative number.
18767
18768 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
18769
3a871b37
DJ
187702003-07-03 Daniel Jacobowitz <drow@mvista.com>
18771
18772 * gdb.base/store.c (charest): New typedef.
18773 (add_char): Rename to add_charest, update.
18774 (wack_char): Rename to wack_charest, update types. Return l + r
18775 to keep r live across the call.
18776 (wack_short, wack_int, wack_long, wack_longest, wack_float)
18777 (wack_double, wack_doublest): Return l + r to keep r live across
18778 the call.
18779 * gdb.base/store.exp: Accomodate store.c changes.
18780
b2a7f303
DC
187812003-06-30 David Carlton <carlton@kealia.com>
18782
18783 * gdb.c++/maint.exp (test_invalid_name): New.
18784 (test_first_component): Add tests for invalid names.
18785
3c6cb4a1
MC
187862003-06-29 Michael Chastain <mec@shout.net>
18787
18788 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
18789 output of '<VTT for class>' for virtual base classes.
18790
f1c2644b
DJ
187912003-06-29 Daniel Jacobowitz <drow@mvista.com>
18792
18793 * gdb.base/completion.exp: Tab-complete "complet" instead of
18794 "compl".
18795 * gdb.base/complex.exp, gdb.base/complex.c: New files.
18796
18080350
DJ
187972003-06-29 Daniel Jacobowitz <drow@mvista.com>
18798
18799 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
18800 * gdb.base/volatile.exp: Likewise.
18801
f56973f8
DJ
188022003-06-29 Daniel Jacobowitz <drow@mvista.com>
18803
18804 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
18805 gdb/1265.
18806
188072003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
18808 Daniel Jacobowitz <drow@mvista.com>
18809
18810 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
18811 initial line count of 'captured_main' from 26 to 32.
18812 (test_with_self): Allow xmalloc call to be interleaved with the
18813 preceding two lines.
18814
e766d4d6
JB
188152003-06-24 Joel Brobecker <brobecker@gnat.com>
18816
18817 * gdb.base/bang.exp: New testcase.
18818
f125c9a4
JB
188192003-06-23 Joel Brobecker <brobecker@gnat.com>
18820
18821 * gdb.base/langs.exp: Add some tests for the "minimal" language
18822 support.
18823
6e25beaf
EZ
188242003-06-23 Elena Zannoni <ezannoni@redhat.com>
18825
18826 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
18827 the testcase.
18828
2f816dda
DJ
188292003-06-22 Daniel Jacobowitz <drow@mvista.com>
18830
18831 * gdb.base/relocate.exp: Test add-symbol-file with a variable
18832 offset.
18833
db5a5748
DJ
188342003-06-22 Daniel Jacobowitz <drow@mvista.com>
18835
18836 * gdb.c++/pr-1210.cc: New file.
18837 * gdb.c++/pr-1210.exp: New file.
18838
1df0c130
DJ
188392003-06-21 Daniel Jacobowitz <drow@mvista.com>
18840
18841 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
18842 000-exec-continue.
18843
a92feac0
MK
188442003-06-15 Mark Kettenis <kettenis@gnu.org>
18845
18846 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
18847 on *-*-*bsd* instead of *-*-freebsd*.
18848
81a58f5b
AC
188492003-06-14 Andrew Cagney <cagney@redhat.com>
18850
18851 * gdb.base/store.exp: Test longest and doublest. Test all
18852 parameters. Weaken return statement match.
18853 * gdb.base/store.c: Add longest and doublest - aka long long and
18854 long double functions. Put all parameters into local register
18855 variables. Use negative values.
18856
b257a0d3
AC
188572003-06-14 Andrew Cagney <cagney@redhat.com>
18858
18859 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
18860 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
18861 exit status.
18862 * gdb.base/fileio.exp: Disable target when nointerrupts and
18863 noinferiorio, instead of limiting it to remote. Use remote_exec
18864 instead of system.
d63a86f8 18865
21c38304
JJ
188662003-06-12 Jeff Johnston <jjohnstn@redhat.com>
18867
18868 * gdb.base/float.exp: Add ia64 support.
18869
1bcdb424
CV
188702003-06-12 Corinna Vinschen <vinschen@redhat.com>
18871
18872 * gdb.base/fileio.exp: Run only on remote targets.
18873
6aeb981f
CV
188742003-06-10 Corinna Vinschen <vinschen@redhat.com>
18875
18876 * gdb.base/fileio.c: New file, testing File-I/O.
18877 * gdb.base/fileio.exp: Ditto.
18878
53df362e
RG
188792003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
18880
18881 * gdb.base/shreloc.exp: New file, check symbol values obtained from
18882 shared objects after relocation at load time (gdb PR/1132).
18883 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 18884 as above, part of the shared object relocation test.
53df362e 18885
ffee1b46
MK
188862003-06-08 Mark Kettenis <kettenis@gnu.org>
18887
b5ca3722
MK
18888 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
18889 fully filled history list.
18890 * gdb.base/gdb_history: New file.
18891
03ed860d
MK
18892 * gdb.base/signals.exp: XFAIL "continue to func1" on
18893 i*86-*-freebsd*.
18894
ffee1b46
MK
18895 * gdb.base/attach.exp: When trying to attach to a nonexistent
18896 process, make it possible to specify the PID based on the target,
18897 and do so for *-*-freebsd*.
18898
d80dbb52
RH
188992003-06-02 Richard Henderson <rth@redhat.com>
18900
18901 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
18902
6dd77b81
RH
189032003-06-02 Richard Henderson <rth@redhat.com>
18904
18905 * gdb.base/selftest.exp: Next over lim_at_start initialization.
18906
f6347e16
RH
189072003-06-02 Richard Henderson <rth@redhat.com>
18908
18909 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
18910
2c161407
DJ
189112003-06-01 Daniel Jacobowitz <drow@mvista.com>
18912
18913 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
18914 of globalvar.
18915
572eb746
MK
189162003-06-01 Mark Kettenis <kettenis@gnu.org>
18917
18918 * gdb.asm/asm-source.exp: Check for memory read errors in
18919 disassembler test on *BSD too.
18920
9e9617a5
RH
189212003-06-01 Richard Henderson <rth@redhat.com>
18922
18923 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
18924 for .frame.
18925 (gdbasm_call): Lose ldgp.
18926 (gdbasm_startup): Add frame information.
18927 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
18928
7b34ad4e
MK
189292003-05-31 Mark Kettenis <kettenis@gnu.org>
18930
18931 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
18932 i?86-*-*.
18933
10059fdf
MK
189342003-05-30 Mark Kettenis <kettenis@gnu.org>
18935
18936 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
18937 FreeBSD.
18938
acf4b816
RH
189392003-05-29 Richard Henderson <rth@redhat.com>
18940
18941 * gdb.asm/alpha.inc: New file.
18942 * gdb.asm/asm-source.exp: Use it.
18943
e9ecd949
JB
189442003-05-29 Jim Blandy <jimb@redhat.com>
18945
18946 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
18947 'core.PID'.
18948
e3e5a4f3
JB
189492003-05-22 Jim Blandy <jimb@redhat.com>
18950
18951 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
18952 backtrace.
d63a86f8 18953
72fe3d25
DC
189542003-05-20 David Carlton <carlton@math.stanford.edu>
18955
18956 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
18957 this time.
18958
58da2eb2
DC
189592003-05-19 David Carlton <carlton@bactrian.org>
18960
18961 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
18962 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
18963
1fcb5155
DC
189642003-05-19 David Carlton <carlton@bactrian.org>
18965
18966 * gdb.c++/namespace.exp: Add namespace scope and anonymous
18967 namespace tests.
18968 Bump copyright date.
18969 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
18970 (main): Call C::D::marker2.
18971 * gdb.c++/namespace1.cc: New file.
18972
85e85163
JJ
189732003-05-14 Jeff Johnston <jjohnstn@redhat.com>
18974
18975 Roland McGrath <roland@redhat.com>
d63a86f8 18976 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
18977 there is no manager thread.
18978
a25fbfec
JJ
189792003-05-08 Jeff Johnston <jjohnstn@redhat.com>
18980
d63a86f8
RM
18981 * gdb.threads/schedlock.exp: Remove assumption that all threads
18982 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
18983 in one of the child threads rather than the main thread.
18984
be375bae
JB
189852003-05-07 Jim Blandy <jimb@redhat.com>
18986
09bf6082
JB
18987 Add support for assembly source testing on the s390x.
18988 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
18989 architecture.
18990 * gdb.asm/s390x.inc: New file.
18991
be375bae
JB
18992 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
18993 succession of 'if' statements.
18994
00905d52
AC
189952003-05-05 Andrew Cagney <cagney@redhat.com>
18996
18997 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
18998
b1e29e33
AC
189992003-05-05 Andrew Cagney <cagney@redhat.com>
19000
19001 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
19002 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
19003
e33d66ec
EZ
190042003-05-02 Elena Zannoni <ezannoni@redhat.com>
19005
19006 * gdb.base/charset.exp: Update based on new behavior of set/show
19007 charset commands.
19008
2b6fd0d8
AC
190092003-05-01 Andrew Cagney <cagney@redhat.com>
19010
19011 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
19012 variable do not give memory errors.
19013
130cacce
AF
190142003-04-30 Adam Fedor <fedor@gnu.org>
19015
19016 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
19017 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
19018 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
19019 gdb.objc/basicclass.m: : New files
19020
19021 * lib/gdb.exp (gdb_compile_objc): New procedure.
19022
bea71854
DJ
190232003-04-27 Daniel Jacobowitz <drow@mvista.com>
19024
19025 * gdb.base/signals.exp: Make backtrace tests more specific.
19026
0f20eeea
DC
190272003-04-23 David Carlton <carlton@bactrian.org>
19028
19029 * gdb.c++/maint.exp (test_first_component): Add tests for
19030 'operator' in more locations.
19031
c8c4d8dc
KB
190322003-04-16 Kevin Buettner <kevinb@redhat.com>
19033
19034 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
19035
3fe60e3c
EZ
190362003-04-16 Elena Zannoni <ezannoni@redhat.com>
19037
19038 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 19039 func marke' instead. Update test name.
3fe60e3c 19040
9219021c
DC
190412003-04-15 David Carlton <carlton@math.stanford.edu>
19042
19043 * gdb.c++/maint.exp: New file.
19044
5dd55bdd
EZ
190452003-04-14 Elena Zannoni <ezannoni@redhat.com>
19046
19047 * gdb.threads/schedlock.c: Change type of thread function argument
19048 to long, to avoid warnings on 64-bit platforms.
19049
00890572
EZ
190502003-04-14 Elena Zannoni <ezannoni@redhat.com>
19051
a9c64011
AS
19052 * gdb.base/attach.exp: Add new message from ptrace in case of
19053 attaching to nonexistent process.
d63a86f8 19054
93201743
JB
190552003-04-11 Jim Blandy <jimb@redhat.com>
19056
19057 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
19058 gdb.c++/userdef.cc: Place comments on the lines to which the
19059 marker function might return.
19060 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
19061 gdb.c++/userdef.exp: Look for those comments to check that we've
19062 returned to the right place, instead of checking line numbers.
19063
2a11c64d
EZ
190642003-04-11 Elena Zannoni <ezannoni@redhat.com>
19065
a9c64011
AS
19066 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
19067 match on sourcefile name, instead of directory name.
2a11c64d 19068
68ab8fc5
EZ
190692003-04-10 Elena Zannoni <ezannoni@redhat.com>
19070
d63a86f8 19071 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
19072 working directory name.
19073
5624293a
JB
190742003-04-09 Jim Blandy <jimb@redhat.com>
19075
19076 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
19077 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
19078 after an inferior function call, report the failure, but allow the
19079 test to continue.
19080
f1f02ee4
SC
190812003-04-05 Stephane Carrez <stcarrez@nerim.fr>
19082
19083 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
19084 with -DPROTOTYPES.
19085
6eb79af0
SC
190862003-04-05 Stephane Carrez <stcarrez@nerim.fr>
19087
19088 * gdb.base/break.exp: Revert last patch.
19089
8dfb4cf0
SC
190902003-04-04 Stephane Carrez <stcarrez@nerim.fr>
19091
19092 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
19093 with -DPROTOTYPES.
19094
ed4c619a
AC
190952003-04-02 Andrew Cagney <cagney@redhat.com>
19096
19097 * gdb.base/callfuncs.exp: Make "print add" messages unique.
19098 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
19099 matching directories by the name breakpoint.
19100 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
19101 Make "continue to marker1" consistent.
19102 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
19103 message consistent.
19104 * lib/gdb.exp: Put "the program is no longer running", and "the
19105 program exited" in parenthesis.
19106 * lib/mi-support.exp: Ditto.
d63a86f8 19107
4e35d5f0 191082003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 19109
4e35d5f0
BR
19110 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
19111
71900fe8
AC
191122003-03-29 Andrew Cagney <cagney@redhat.com>
19113
19114 * gdb.base/sizeof.c (main): Print the value of '\377'.
19115 * gdb.base/sizeof.exp: Check the sign of '\377'.
19116
c0655a16
MC
191172003-03-27 Michael Chastain <mec@shout.net>
19118
19119 * gdb.base/gdb1090.exp: New file.
19120 * gdb.base/gdb1090.cc: New file.
19121
5b2a3989
JB
191222003-03-27 J. Brobecker <brobecker@gnat.com>
19123
19124 * gdb.gdb/observer.exp: New regression test.
19125
79876890
MC
191262003-03-27 Michael Chastain <mec@shout.net>
19127
19128 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
19129 * gdb.base/ptype.exp: Likewise.
19130
6eac95e3
CV
191312003-03-27 Corinna Vinschen <vinschen@redhat.com>
19132
19133 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
19134
e8c71839
MC
191352003-03-26 Michael Chastain <mec@shout.net>
19136
19137 * gdb.base/ptype.exp: Actually use some typedef'd types.
19138
71b10041
SC
191392003-03-21 Stephane Carrez <stcarrez@nerim.fr>
19140
19141 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
19142 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
19143
2512cf80
CV
191442003-03-20 Corinna Vinschen <vinschen@redhat.com>
19145
19146 * gdb.base/default.exp: Fix regular expression.
19147
0d195a4f
CV
191482003-03-20 Corinna Vinschen <vinschen@redhat.com>
19149
19150 * gdb.base/args.exp: Fix regular expression.
19151
8a2dbca8
CV
191522003-03-20 Corinna Vinschen <vinschen@redhat.com>
19153
19154 * gdb.base/help.exp: Allow Win32 child process.
19155
bf028682
CV
191562003-03-20 Corinna Vinschen <vinschen@redhat.com>
19157
19158 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
19159 when stepping out of main().
19160
182dbe85
CV
191612003-03-20 Corinna Vinschen <vinschen@redhat.com>
19162
19163 * gdb.base/default.exp: Check for win32 specific message when calling
19164 "run" without executable.
19165
d67a6ba5
CV
191662003-03-20 Corinna Vinschen <vinschen@redhat.com>
19167
19168 * gdb.base/args.exp: Expect .exe in output.
19169
a955b5bb
CV
191702003-03-20 Corinna Vinschen <vinschen@redhat.com>
19171
19172 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
19173 Cygwin native.
19174
bf6bad4b
AC
191752003-03-17 Andrew Cagney <cagney@redhat.com>
19176
19177 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
19178 vector registes.
19179 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
19180 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
19181
293e9a31
DC
191822003-03-17 David Carlton <carlton@math.stanford.edu>
19183
19184 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
19185 test, for PR breakpoints/38.
19186 Call test_watchpoint_and_breakpoint.
19187 * gdb.base/watchpoint.c (func3): New function.
19188 (main): Call func3.
19189
5330f2db
DC
191902003-03-04 David Carlton <carlton@math.stanford.edu>
19191
19192 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
19193 Garply<Garply<char> >:: garply".
19194 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
19195 with respect to PR c++/1111; note also PR c++/1113.
19196 (test_template_breakpoints): KFAIL "constructor breakpoint" with
19197 respect to PR c++/1062.
19198 KFAIL "destructor breakpoint" with respect to PR c++/1112.
19199
6ece72da
DC
192002003-03-03 David Carlton <carlton@math.stanford.edu>
19201
19202 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
19203 with respect to PR c++/57.
19204 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
19205 c++/826.
19206 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
19207 respect to PR c++/57.
19208
85ca1584
DC
192092003-03-03 David Carlton <carlton@math.stanford.edu>
19210
19211 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
19212 respect to PR c++/33 into FAILs.
19213
98e9c5b8
MC
192142003-03-03 Michael Chastain <mec@shout.net>
19215
7bedbf27
MC
19216 * configure.in: Update copyright years.
19217
192182003-03-03 Michael Chastain <mec@shout.net>
19219
19220 * Makefile.in: Update copyright years.
98e9c5b8 19221
f683e100
DC
192222003-02-28 David Carlton <carlton@math.stanford.edu>
19223
19224 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
19225 print class instead of struct and/or superfluous protection
19226 specifiers, as long as the resulting output is equivalent to the
19227 source code.
19228 Delete FIXME from end of messages on tests that don't need
19229 fixing.
19230
a9e0cf2c
DC
192312003-02-28 David Carlton <carlton@math.stanford.edu>
19232
19233 * gdb.c++/templates.exp (do_tests): Allow const in the two
19234 Foo<volatile char *>::foo tests.
19235
e8d359df
MS
192362003-02-27 Michael Snyder <msnyder@redhat.com>
19237
d63a86f8 19238 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
19239 will be consistant.
19240
0b71dc91
DC
192412003-02-26 David Carlton <carlton@math.stanford.edu>
19242
19243 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
19244 char *>::foo" test with respect to PR c++/33. Create a new test
19245 which is identical to that one except that it doesn't put the
19246 space between the "char" and the "*"; KFAIL it, too.
19247
dd14ab43
DC
192482003-02-26 David Carlton <carlton@math.stanford.edu>
19249
19250 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
19251 template types into either PASSes or KFAILs (corresponding to PR
19252 c++/57). Tweak indentation. Update copyright.
19253
1146c7f1
SC
192542003-02-23 Stephane Carrez <stcarrez@nerim.fr>
19255
19256 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
19257
74641dfb
MC
192582003-02-13 Michael Chastain <mec@shout.net>
19259
19260 * gdb.base/exprs.exp: Remove i960 remnants.
19261 * gdb.base/funcargs.exp: Likewise.
19262 * gdb.base/list.exp: Likewise.
19263 * gdb.base/ptype.exp: Likewise.
19264
559cd2d0
DC
192652003-02-14 David Carlton <carlton@math.stanford.edu>
19266
19267 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
19268 pEe->D::vg()" from XFAIL to KFAIL.
19269
c4f90d87
JM
192702003-02-13 Jason Molenda (jmolenda@apple.com)
19271
19272 * gdb.base/maint.exp: Update maint print statistics regexp to include
19273 new entries.
19274
cbc4d97c
MC
192752003-02-13 Michael Chastain <mec@shout.net>
19276
19277 * gdb.c++/inherit.exp: Remove call to get_debug_format.
19278
40f235b7
MC
192792003-02-12 Michael Chastain <mec@shout.net>
19280
19281 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
19282 * gdb.c++/inherit.exp: Likewise.
19283 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
19284 * gdb.c++/templates.exp: Likewise.
19285 * gdb.c++/virtfunc.exp: Likewise.
19286
c56716b0
JM
192872003-02-06 Jason Molenda (jason-cl@molenda.com)
19288
19289 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
19290 why the code is written that way.
19291
070afcf8
MC
192922003-02-05 Michael Chastain <mec@shout.net>
19293
19294 * gdb.base/dump.exp: Add missing copyright line.
19295
5d0331e5
JM
192962003-02-05 Jason Molenda (jason-cl@molenda.com)
19297
f7ae6d3e 19298 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
19299 at the beginning so the breakpoint doesn't get set on the loop.
19300
92851186
MC
193012003-02-05 Michael Chastain <mec@shout.net>
19302
19303 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
19304 output for configurations with gcc 2.95.3.
19305
cbf1e085
AC
193062003-02-05 Keith Seitz <keiths@redhat.com>
19307 Andrew Cagney <ac131313@redhat.com>
19308
19309 * gdb.mi/mi-cli.exp: New file.
d63a86f8 19310
29518e1e
MC
193112003-02-04 Michael Chastain <mec@shout.net>
19312
19313 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
19314 Call perror and then continue.
19315
5af1d5f3
MC
193162003-02-03 Michael Chastain <mec@shout.net>
19317
19318 * gdb.c++/pr-1023.cc: New file.
19319 * gdb.c++/pr-1023.exp: New file.
19320
6b549786
JB
193212003-02-05 Jim Blandy <jimb@redhat.com>
19322
19323 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
19324 it's local to foobar. Check for it there, and check that it's not
19325 present in main.
19326 * gdb.c++/local.cc (marker2): New function.
19327 (foobar): Call marker1.
19328 (main): Call marker2 instead of marker1.
19329
67f16606
AC
193302003-02-04 Andrew Cagney <ac131313@redhat.com>
19331
19332 * gdb.disasm/mn10200.exp: Obsolete file.
19333 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
19334 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
19335 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
19336
1c5cb38e
DC
193372003-02-04 David Carlton <carlton@math.stanford.edu>
19338
19339 * gdb.c++/overload.exp: Test intToChar(1).
19340 * gdb.c++/overload.cc (intToChar): New.
19341 (main): Call intToChar.
19342
d1fe6965
DC
193432003-02-03 David Carlton <carlton@math.stanford.edu>
19344
19345 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
19346 'might_kfail' arg.
19347 KFAIL some of the continue_to_bp_overloaded calls, according to
19348 PR c++/1025.
19349
9ba61c5d
MC
193502003-02-01 Michael Chastain <mec@shout.net>
19351
19352 * gdb.base/advance.c (marker1): New marker function.
19353 * gdb.base/advance.exp: When the 'advance' command lands on the
19354 return breakpoint, it can legitimately stop on either the
19355 current line or the next line. Accommodate both outcomes.
19356 * gdb.base/until.exp: Likewise.
19357
e7494ffb
AC
193582003-02-02 Andrew Cagney <ac131313@redhat.com>
19359
19360 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
19361 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
19362 now a list, not a tuple.
19363 * gdb.mi/mi-var-display.exp: Ditto.
19364 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 19365
075559bc
AC
193662003-02-01 Andrew Cagney <ac131313@redhat.com>
19367
19368 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
19369 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
19370 stack backtraces.
19371 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 19372
2bd4c7b1
MK
193732003-02-01 Mark Kettenis <kettenis@gnu.org>
19374
19375 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
19376 gdb.mi/mi1-pthreads.exp: Return instead of calling
19377 gdb_suppress_entire_file.
19378
eabd8992
MS
193792003-02-01 Mark Salter <msalter@redhat.com>
19380
19381 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
19382
71469e2f
MS
193832003-01-31 Mark Salter <msalter@redhat.com>
19384
19385 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
19386 Support empty arg.
19387
38a94d44
MC
193882003-01-30 Michael Chastain <mec@shout.net>
19389
19390 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
19391 This was a workaround for a UTF-8 bug in readline 4.3. The bug
19392 has been fixed in gdb/readline on 2003-01-09.
19393
19ea9e73
MS
193942003-01-29 Michael Snyder <msnyder@redhat.com>
19395
e8d359df
MS
19396 * gdb.base/maint.exp: Allow for leading underscore in symbol.
19397 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
19398 * gdb.base/args.exp: Skip if target does not support args passing.
19399
2307bd6a
DJ
194002003-01-22 Daniel Jacobowitz <drow@mvista.com>
19401
19ea9e73 19402 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
19403 gdb_test. Accept a list of expect arguments as the third
19404 parameter.
19405 (gdb_test): Use it.
19406
f2dd3617
EZ
194072003-01-20 Elena Zannoni <ezannoni@redhat.com>
19408
19409 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
19410 allow for different test tree configurations. Update some
19411 tescases accordingly.
19412 * gdb.arch/altivec-regs.exp: Ditto.
19413 * gdb.asm/asm-source.exp: Ditto.
19414 * gdb.base/advance.exp: Ditto.
19415 * gdb.base/display.exp: Ditto.
d63a86f8 19416 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
19417 * gdb.base/mips_pro.exp: Ditto.
19418 * gdb.base/overlays.exp: Ditto.
19419 * gdb.base/relocate.exp: Ditto.
19420 * gdb.base/setshow.exp: Ditto.
19421 * gdb.base/step-line.exp: Ditto.
19422 * gdb.base/step-test.exp: Ditto.
19423 * gdb.base/until.exp: Ditto.
19424 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
19425
c71cdefd
DC
194262003-01-17 David Carlton <carlton@math.stanford.edu>
19427
19428 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
19429 corresponding to PR c++/945.
19430 Update copyright.
19431
fdba05d7
DC
194322003-01-17 David Carlton <carlton@math.stanford.edu>
19433
19434 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
19435 corresponding to PR c++/68.
19436
194372003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
19438
19439 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
19440 (test_paddr_hairy_functions): Call print_addr_2_kfail for
19441 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
19442
c362c33a
EZ
194432003-01-15 Elena Zannoni <ezannoni@redhat.com>
19444
0fbc361c
EZ
19445 * gdb.base/break.exp: Fix change of default location, because of
19446 removal of until tests.
19447 * gdb.base/help.exp: Update test for new 'until' help message.
19448 Add test for help on 'advance'.
a9c64011 19449 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 19450
dabf8a35
MK
194512003-01-15 Mark Kettenis <kettenis@gnu.org>
19452
19453 * gdb.base/default.exp: Adapt "info float" test for recent changes
19454 to that command. Add test for "info vector".
19455 * gdb.base/float.exp: New file. Add test for "info float" that
19456 resembles the old test in gdb.base/default.exp.
19457
a1769aca
DC
194582003-01-15 David Carlton <carlton@math.stanford.edu>
19459
19460 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
19461
82025e13
EZ
194622003-01-15 Elena Zannoni <ezannoni@redhat.com>
19463
19464 * gdb.base/break.exp: Move the tests of until command from here...
19465 * gdb.base/until.exp: ... to here. New file. Add other tests.
19466 * gdb.base/advance.c: New file.
19467 * gdb.base/advance.exp: New file.
19468
8f9ab801
EZ
194692003-01-14 Elena Zannoni <ezannoni@redhat.com>
19470
a9c64011
AS
19471 * gdb.base/args.c: New file.
19472 * gdb.base/args.exp: New file.
8f9ab801 19473
9ae66589
DJ
194742003-01-14 Daniel Jacobowitz <drow@mvista.com>
19475
19476 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
19477
8d77e5c3
DJ
194782003-01-14 Daniel Jacobowitz <drow@mvista.com>
19479
19480 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
19481
12d2f0a1
DJ
194822003-01-14 Daniel Jacobowitz <drow@mvista.com>
19483
19484 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
19485 dates.
19486
6ca37014
DJ
194872003-01-13 Daniel Jacobowitz <drow@mvista.com>
19488
19489 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
19490
b0023472
DJ
194912003-01-13 Daniel Jacobowitz <drow@mvista.com>
19492
19493 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
19494 (ptype &*"foo").
19495 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
19496
607fbc54 194972003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
19498
19499 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
19500 * gdb.mi/mi1-console.exp: Likewise.
19501
607fbc54 195022003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
19503
19504 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
19505 * gdb.mi/mi1-console.exp: Likewise.
19506
a1fb14a2
DJ
195072003-01-13 Daniel Jacobowitz <drow@mvista.com>
19508
19509 * gdb.c++/overload.exp: Remove some fixed XFAILs.
19510
c4cf40b7
DJ
195112003-01-09 Daniel Jacobowitz <drow@mvista.com>
19512
19513 * gdb.base/detach.exp: New test.
19514
696d5a5b
DJ
195152003-01-09 Daniel Jacobowitz <drow@mvista.com>
19516
19517 * Makefile.in (ALL_SUBDIRS): New variable.
19518 (subdirs, clean, distclean): Use it.
19519 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
19520 regenerating Makefile, since it is generated from the top level.
19521 * gdb.asm/Makefile.in: Likewise.
19522 * gdb.base/Makefile.in: Likewise.
19523 * gdb.c++/Makefile.in: Likewise.
19524 * gdb.disasm/Makefile.in: Likewise.
19525 * gdb.java/Makefile.in: Likewise.
19526 * gdb.mi/Makefile.in: Likewise.
19527 * gdb.threads/Makefile.in: Likewise.
19528 * gdb.trace/Makefile.in: Likewise.
19529
754533e4
DC
195302003-01-09 David Carlton <carlton@math.stanford.edu>
19531
19532 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
19533 Add copyright year 2003.
19534
d8b3e9ee
MC
195352003-01-06 Michael Chastain <mec@shout.net>
19536
19537 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
19538 When selecting a thread, 'line' and 'file' are optional.
19539 * gdb.mi/mi1-pthreads.exp: Likewise.
19540
8e9e0fe6
AS
195412003-01-06 Andreas Schwab <schwab@suse.de>
19542
19543 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
19544 failures.
19545
b5ab8ff3
DJ
195462003-01-04 Daniel Jacobowitz <drow@mvista.com>
19547
19548 Fix PR gdb/844
19549 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
19550 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
19551
19552 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
19553 instead of calling gdb_suppress_entire_file.
19554 * gdb.threads/print-threads.exp: Likewise.
19555 * gdb.threads/schedlock.exp: Likewise.
19556
19557 * gdb.threads/killed.exp: Return instead of calling
19558 gdb_suppress_entire_file.
19559 * gdb.threads/linux-dp.exp: Likewise.
19560 * gdb.threads/pthreads.exp: Likewise.
19561
1e698235
DJ
195622003-01-04 Daniel Jacobowitz <drow@mvista.com>
19563
19564 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
19565 stabs.
19566 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
19567 * gdb.base/whatis.exp: Always allow (void) after function names.
19568
147ff08c
DJ
195692003-01-04 Daniel Jacobowitz <drow@mvista.com>
19570
19571 * gdb.c++/casts.exp: Correct regexp.
19572
dc62bfc2
MK
195732003-01-04 Mark Kettenis <kettenis@gnu.org>
19574
19575 * configure.in: Call AC_CONFIG_HEADER. Don't call
19576 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
19577 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
19578 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
19579 aforementioned directories in the AC_OUPUT call.
19580 * config.hin: New file.
19581 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
19582 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
19583 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
19584 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
19585 pass -I$objdir instead of -I$objdir/$subdir in compilation.
19586 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
19587 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
19588 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
19589 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
19590 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
19591 gdb.threads/configure.in, gdb.threads/configure,
19592 gdb.threads/config.in, gdb.trace/configure.in,
19593 gdb.trace/configure: Removed.
19594
77afa639
MC
195952003-01-03 Michael Chastain <mec@shout.net>
19596
19597 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
19598 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
19599
7634bb6e
DJ
196002003-01-03 Daniel Jacobowitz <drow@mvista.com>
19601
19602 * gdb.base/store.exp: Fix regular expressions.
19603
b39c905e
MK
196042002-12-28 Mark Kettenis <kettenis@gnu.org>
19605
19606 * configure.in: Rewrite.
19607 * configure: Regenerated.
19608
0a8551dd
DC
196092003-01-03 David Carlton <carlton@math.stanford.edu>
19610
19611 * gdb.base/psymtab.exp: New file.
19612 * gdb.base/psymtab1.c: Ditto.
19613 * gdb.base/psymtab2.c: Ditto.
19614
c60b7188
AF
196152002-12-23 Adam Fedor <fedor@gnu.org>
19616
19617 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
19618
ee73db83
DC
196192002-12-23 David Carlton <carlton@math.stanford.edu>
19620
19621 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
19622 and current_directory initialization.
19623
d6c1774e
JB
196242002-12-22 Jim Blandy <jimb@redhat.com>
19625
f0a847b8
JB
19626 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
19627 rather than as part of the output file name.
19628
d6c1774e
JB
19629 * gdb.base/attach.exp: There's no need to copy the test program to
19630 /tmp; that was only ever necessary on HP/UX, and this test is
19631 entirely disabled there anyway.
19632
f0708dbb
JB
196332002-12-21 Jim Blandy <jimb@redhat.com>
19634
4c2acfea
JB
19635 * gdb.c++/psmang.exp: Doc fix.
19636
f0708dbb
JB
19637 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
19638 test.
19639
9579e000
DC
196402002-12-20 David Carlton <carlton@math.stanford.edu>
19641
19642 * gdb.c++/annota2.exp: KFAIL annotate-quit.
19643
d1810171
MC
196442002-12-18 Michael Chastain <mec@shout.net>
19645
19646 * gdb.c++/annota2.exp: Add copyright year 2002.
19647
76565097
DC
196482002-12-17 David Carlton <carlton@math.stanford.edu>
19649
19650 * gdb.c++/try_catch.cc: Add marker comments.
19651 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
19652 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
19653 * gdb.c++/m-static.cc: Ditto.
19654 * gdb.c++/m-static1.cc: Ditto.
19655 * gdb.c++/try_catch.cc: Ditto.
19656
da81390b
JJ
196572002-12-16 Jeff Johnston <jjohnstn@redhat.com>
19658
19659 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
19660 to see whether we are using the new -environment-directory
19661 command which resets via -r or the old version of the command
19662 which may prompt the user. Part of fix for gdb/741.
19663
b304d130
AC
196642002-12-13 Andrew Cagney <ac131313@redhat.com>
19665
19666 * gdb.fortran/types.exp: Update obsolete comment.
19667 * gdb.fortran/exprs.exp: Ditto.
19668 * lib/gdb.exp: Delete obsolete code.
19669 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
19670 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
19671 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
19672 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
19673 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
19674 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
19675 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
19676 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
19677 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
19678 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
19679 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
19680 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
19681 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
19682 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
19683 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
19684 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
19685 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
19686 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
19687 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
19688 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
19689 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
19690 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
19691 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
19692 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
19693 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
19694 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
19695 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
19696 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
19697 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
19698 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
19699 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
19700 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
19701 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
19702 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
19703 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
19704 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
19705 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
19706
a23b6e6a
DC
197072002-12-11 David Carlton <carlton@math.stanford.edu>
19708
19709 * gdb.c++/m-data.exp: Add test for members that shadow global
19710 variables: see PR gdb/804.
19711 * gdb.c++/m-data.cc: Ditto.
19712
6604731b
DJ
197132002-12-10 Daniel Jacobowitz <drow@mvista.com>
19714
19715 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
19716
de46ecd7
DC
197172002-12-06 David Carlton <carlton@math.stanford.edu>
19718
19719 * gdb.base/store.c: Don't declare functions static.
19720
27e829d0
AC
197212002-12-04 Andrew Cagney <ac131313@redhat.com>
19722
19723 * gdb.base/store.exp, gdb.base/store.c: New files.
19724
92806416
DJ
197252002-12-03 Daniel Jacobowitz <drow@mvista.com>
19726
19727 * gdb.base/selftest.exp: Update for current gdb.
19728
3bcbaac5
DJ
197292002-12-03 Daniel Jacobowitz <drow@mvista.com>
19730
19731 * gdb.base/maint.exp: Only dump symbols from one source file
19732 or objfile.
19733
f4f00b1f
DJ
197342002-12-03 Daniel Jacobowitz <drow@mvista.com>
19735
19736 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
19737 function call.
19738
f1c8a949
JB
197392002-11-25 Jim Blandy <jimb@redhat.com>
19740
19741 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
19742 function appearing in error message.
19743
9e297a97
DJ
197442002-11-21 Daniel Jacobowitz <drow@mvista.com>
19745
19746 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
19747
1f312e79
JJ
197482002-11-08 Jeff Johnston <jjohnstn@redhat.com>
19749
d63a86f8
RM
19750 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
19751 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
19752 should be in mi console format. This is part of fix for PR gdb/604.
19753
83c31e7d
FN
197542002-09-18 Fernando Nasser <fnasser@redhat.com>
19755
19756 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
19757 which explicitly prints the zero offset as "+0".
19758
322b3f65
DJ
197592002-10-22 Daniel Jacobowitz <drow@mvista.com>
19760
19761 * gdb.threads/schedlock.c (args): Make unsigned.
19762
197632002-10-21 Daniel Jacobowitz <drow@mvista.com>
19764
19765 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
19766 numbers. Allow "foo2|selected stack frame".
19767 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
19768 * gdb.asm/asmsrc2.s: Likewise.
19769 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
19770 comments.
19771 * gdb.asm/mips.inc: New file.
19772
5e2fe5b8
AF
197732002-10-18 Adam Fedor <fedor@gnu.org>
19774
19775 * gdb.base/default.exp: Update expected output to include 'ObjC'.
19776 * gdb.base/help.exp: Likewise.
19777
abe1a5d0
KB
197782002-10-17 Kevin Buettner <kevinb@redhat.com>
19779
19780 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
19781 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
19782
10abb1d4
JB
197832002-10-02 Jim Blandy <jimb@redhat.com>
19784
19785 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
19786
1f609b42
AC
197872002-10-01 Andrew Cagney <ac131313@redhat.com>
19788
19789 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
19790 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
19791 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
19792 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
19793 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
19794 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
19795 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
19796
0aee02e4
AC
197972002-09-29 Andrew Cagney <ac131313@redhat.com>
19798
19799 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
19800 * mi0-disassemble.exp, mi0-eval.exp: Delete.
19801 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
19802 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
19803 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
19804 * mi0-var-block.exp, mi0-var-child.exp: Delete.
19805 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 19806
6fde09ad
KB
198072002-09-27 Kevin Buettner <kevinb@redhat.com>
19808
19809 * gdb.base/annota1.exp (info break): Make directory components of
19810 path optional since not all compilers emit this debug information.
19811
889bf7c5
PA
19812 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
19813 step ends up stepping out of the function instead of stopping on
19814 the epilogue.
6fde09ad 19815
9e8aab75
KS
198162002-09-26 Keith Seitz <keiths@redhat.com>
19817
19818 * lib/insight-support.exp (gdbtk_start): Figure out where
19819 the insight executable is based on where gdb is. Use this
19820 executable to start insight instead of gdb.
19821
e36180d7
AC
198222002-09-25 Andrew Cagney <cagney@redhat.com>
19823
19824 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
19825
9dd34b2b
AC
198262002-09-24 Andrew Cagney <ac131313@redhat.com>
19827
19828 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
19829 test_isolated_complaints.
19830 (test_empty_complaint): New function.
19831 (test_empty_complaints): New function. Check no output when no
19832 complaints.
d63a86f8 19833
dea97812
KB
198342002-09-19 Jim Blandy <jimb@redhat.com>
19835
a9c64011 19836 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 19837
54951bd7
AC
198382002-09-19 Andrew Cagney <ac131313@redhat.com>
19839
19840 * gdb.gdb/complaints.exp: New file.
19841
dec43320
AC
198422002-09-18 Andrew Cagney <ac131313@redhat.com>
19843
19844 * gdb.base/maint.exp: Check `help maint internal-warning'.
19845
e70d6e3f
DC
198462002-09-18 David Carlton <carlton@math.stanford.edu>
19847
19848 * gdb.c++/m-static.exp: Remove breakpoints depending on line
19849 numbers, and replace them by a single breakpoint after the
19850 constructors are all finished.
19851 Add test 4.
19852 * gdb.c++/m-static.cc: Add test 4.
19853 * gdb.c++/m-static.h: New file.
19854 * gdb.c++/m-static1.cc: New file.
19855
19856 * gdb.c++/printmethod.exp: New file.
19857 * gdb.c++/printmethod.cc: New file.
19858
19859 * gdb.c++/pr-574.exp: New file.
19860 * gdb.c++/pr-574.cc: New file.
19861
afb5c968
CV
198622002-09-18 Corinna Vinschen <vinschen@redhat.com>
19863
19864 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
19865 embedded targets which never actually exit.
19866
31e45dee
FN
198672002-09-18 Fernando Nasser <fnasser@redhat.com>
19868
19869 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
19870 "don't step after run" as unresolved or unsupported, instead of xfail.
19871
a283c5a1
CV
198722002-09-18 Corinna Vinschen <vinschen@redhat.com>
19873
19874 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
19875 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
19876 Add newline to expected string in "step out of main (status wrapper)"
19877 case.
19878
11350d2a
CV
198792002-09-18 Corinna Vinschen <vinschen@redhat.com>
19880
19881 * lib/gdb.exp (rerun_to_main): Allow restarting application.
19882 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
19883
0deec7d6
TT
198842002-09-17 Tom Tromey <tromey@redhat.com>
19885
19886 * gdb.base/printcmds.exp (test_print_string_constants): Expect
19887 \000, not \0, in double-quoted string.
19888
b2b4a1b5
CV
198892002-09-14 Corinna Vinschen <vinschen@redhat.com>
19890
c9d37158 19891 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
19892 string after running the commands execution on breakpoint tests.
19893
1c56143a
CV
198942002-09-13 Corinna Vinschen <vinschen@redhat.com>
19895
19896 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
19897
37f8da45
JB
198982002-09-12 Joel Brobecker <brobecker@gnat.com>
19899
19900 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
19901
08b468e0
KS
199022002-09-10 Keith Seitz <keiths@redhat.com>
19903
19904 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
19905 runto proc.
19906 (mi_run_to_main): Use mi_runto.
19907 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
19908
dc360f58
KS
199092002-09-10 Keith Seitz <keiths@redhat.com>
19910
19911 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
19912 regexp for stopping at main. Could have multiple event notifications.
19913 Don't assume that main was declared with no parameters.
19914 (mi_next): Use mi_step_to.
19915 (mi_step): Use mi_next_to.
19916
ce3abcfb
CV
199172002-09-09 Corinna Vinschen <vinschen@redhat.com>
19918
19919 * gdb.base/default.exp: Fix expected string in `info float' test.
19920
d1f5b980
BE
199212002-09-09 Ben Elliston <bje@redhat.com>
19922
19923 * config/mips.exp: Update comments.
19924 * config/mips-idt.exp: Likewise.
19925 * config/nind.exp: Likewise.
19926 * config/slite.exp: Likewise.
19927 * config/sparclet.exp: Likewise.
19928 * config/udi.exp: Likewise.
19929 * config/vx.exp: Likewise.
19930 * config/vxworks29k.exp: Likewise.
19931
2f71430b
JB
199322002-09-05 Jim Blandy <jimb@redhat.com>
19933
19934 * gdb.threads/killed.exp: Fix test failure message.
19935
7ddebc7e
KS
199362002-09-04 Keith Seitz <keiths@redhat.com>
19937
19938 * lib/mi-support.exp: Update copyright.
19939 (mi_gdb_test): Increase the priority of the expected pattern
19940 so that it matches gdb_test.
19941
0ae67eb3
KS
199422002-09-03 Keith Seitz <keiths@redhat.com>
19943
19944 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
19945 Use integer comparison instead of string comparison for testing
19946 whether binary was built.
19947
38fc42c8
JB
199482002-09-03 Jim Blandy <jimb@redhat.com>
19949
19950 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
19951
b6ff0e81
JB
199522002-08-29 Jim Blandy <jimb@redhat.com>
19953
19954 * gdb.threads/pthreads.exp: Move the portable thread compilation
19955 code into a function in lib/gdb.exp, and call that from here.
19956 * lib/gdb.exp (gdb_compile_pthreads): New function.
19957
07c98896
KS
199582002-08-29 Keith Seitz <keiths@redhat.com>
19959
19960 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
19961 expect_out so that callers can get at it.
19962
0312286c
DJ
199632002-08-23 Daniel Jacobowitz <drow@mvista.com>
19964
19965 * gdb.threads/print-threads.c: New file.
19966 * gdb.threads/print-threads.exp: New file.
19967 * gdb.threads/schedlock.c: New file.
19968 * gdb.threads/schedlock.exp: New file.
19969
dd039bc4
EZ
199702002-08-22 Elena Zannoni <ezannoni@redhat.com>
19971
a9c64011
AS
19972 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
19973 not altivec.c.
dd039bc4 19974
1f36144c
MK
199752002-08-17 Mark Kettenis <kettenis@gnu.org>
19976
19977 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
19978 targets. The problem should be fixed now.
19979
16057ec7 199802002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
19981
19982 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
19983 2002-07-24 change that removes final dots from error messages.
19984
3c1499ad
TT
199852002-08-13 Tom Tromey <tromey@redhat.com>
19986
19987 * gdb.base/readline.exp: New file.
19988
a20ce2c3
AC
199892002-08-01 Andrew Cagney <ac131313@redhat.com>
19990
19991 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
19992 supress message.
19993
db034ac5
AC
199942002-08-01 Andrew Cagney <cagney@redhat.com>
19995
19996 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
19997 CHILL_FOR_TARGET and CHILL_LIB.
19998 * configure.in (configdirs): Remove gdb.chill.
19999 * configure: Regenerate.
20000 * lib/gdb.exp: Obsolete references to chill.
20001 * gdb.fortran/types.exp: Ditto.
20002 * gdb.fortran/exprs.exp: Ditto.
20003
3e000b18
KB
200042002-07-30 Kevin Buettner <kevinb@redhat.com>
20005
20006 * gdb.base/shlib-call.exp (additional_flags): Conditionally
20007 set Irix-specific compile and link flags.
20008
28f4966b
KB
200092002-07-29 Kevin Buettner <kevinb@redhat.com>
20010
20011 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
20012 source files. The ``-o'' option doesn't work with the ``-E'' option
20013 when using the Irix compiler.
20014
46c0d5a6
DJ
200152002-07-19 Daniel Jacobowitz <drow@mvista.com>
20016
20017 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
20018 Improve support for reusing an exec file. Copy exec file
20019 to target, and run gdbserver on the target instead of on the host.
20020
eecf4bed
JB
200212002-07-18 Jim Blandy <jimb@redhat.com>
20022
0f815cdf
JB
20023 * gdb.base/ending-run.exp: Don't expect to see the program end in
20024 some orderly fashion when we're running on a real stand-alone
20025 board.
20026
eecf4bed
JB
20027 * gdb.base/interrupt.exp: Correct logic for skipping tests on
20028 targets that don't support interrupts.
20029
52d309e4
JB
200302002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
20031
20032 * gdb.base/attach.exp: Add patterns to match output from /proc-based
20033 systems.
20034 Move comments in expect statements to inside the actions, so that they
20035 don't get matched against.
20036
ff683d9e
MK
200372002-07-10 Mark Kettenis <kettenis@gnu.org>
20038
20039 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
20040 function when asleep" test.
20041
b5356753
AC
200422002-07-10 Andrew Cagney <ac131313@redhat.com>
20043
20044 * gdb.base/page.exp: Rewrite to handle problems with very long
20045 `info set' output. Update copyright.
20046
6aa4d13a
AC
200472002-06-26 Andrew Cagney <ac131313@redhat.com>
20048
20049 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
20050 gdb.threads-hp.
20051 * gdb.hp/configure: Regenerate.
20052 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
20053 * gdb.hp/gdb.threads-hp/configure: Delete file.
20054 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
20055
8cf8c2b8
AC
200562002-06-22 Andrew Cagney <ac131313@redhat.com>
20057
20058 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
20059 setlocale, bindtextdomain and textdomain.
20060
6827a8f8
JB
200612002-06-11 Jim Blandy <jimb@redhat.com>
20062
919d772c
JB
20063 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
20064 preprocessor macro information is present.
20065
6827a8f8
JB
20066 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
20067 tests.
20068
c15b0d21
MS
200692002-06-06 Michael Snyder <msnyder@redhat.com>
20070
c5984d70
MS
20071 * gdb.base/overlays.exp: Record addresses of overlay
20072 functions in TCL variables rather than in GDB variables,
20073 to avoid having GDB convert them to pointers (with loss
20074 of information).
20075
d63a86f8 20076 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 20077 default linker script changes.
c15b0d21
MS
20078 * gdb.base/long_long.exp: Add check for sizeof (long double).
20079
be26fe0d
ML
200802002-06-06 Michal Ludvig <mludvig@suse.cz>
20081
20082 * gdb.asm/asm-source.exp: Add x86-64 target.
20083 * gdb.asm/x86_64.inc: New.
d63a86f8 20084
258093ca 200852002-05-30 Michael Chastain <mec@shout.net>
258093ca 20086
4b3153f1 20087 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
20088 * gdb.c++/m-static.cc: New file.
20089 * gdb.c++/m-static.exp: New file.
20090
241264c6
MS
200912002-05-28 Michael Snyder <msnyder@redhat.com>
20092
20093 * gdb.base/call-ar-st.exp: Allow for reduced floating point
20094 precision.
20095
9bba8c8f 200962002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 20097
4b3153f1 20098 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
20099 * gdb.c++/m-data.cc: New file.
20100 * gdb.c++/m-data.exp: New file.
20101
201022002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 20103
4b3153f1 20104 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 20105 * gdb.c++/try_catch.cc: New file.
d63a86f8 20106 * gdb.c++/try_catch.exp: New file.
9bba8c8f 20107
def1b996
MC
201082002-05-27 Michael Chastain <mec@shout.net>
20109
20110 * gdb.c++/local.exp: Accept more nested types in output.
20111
522ba268
MC
201122002-05-26 Michael Chastain <mec@shout.net>
20113
20114 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
20115
277254ba
MS
201162002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
20117
20118 * lib/gdb.exp (gdb_wrapper_init): Just because
20119 gdb_wrapper_file exists, this does not mean that the file
20120 should not be rebuilt. That is what gdb_wrapper_initialized
20121 is for.
20122 (default_gdb_init): Reset gdb_wrapper_initialized.
20123
b61a8733
MS
201242002-05-23 Michael Snyder <msnyder@redhat.com>
20125
d63a86f8 20126 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
20127 the precision of the floating point test results.
20128 * gdb.base/call-rt-st.exp: Ditto.
20129
b61a8733
MS
20130 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
20131 * gdb.base/call-rt-st.exp: Ditto.
20132
56f6e910
MC
201332002-05-19 Michael Chastain <mec@shout.net>
20134
20135 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
20136
ad0b0016
EZ
201372002-05-19 Elena Zannoni <ezannoni@redhat.com>
20138
a9c64011
AS
20139 * configure.in (configdirs): Add gdb.arch.
20140 * configure: Regenerate.
ad0b0016 20141
f617d2b6
JB
201422002-05-17 Jim Blandy <jimb@redhat.com>
20143
20144 * gdb.base/completion.exp: Recognize the more detailed error
20145 messages produced by the macro expander's lexical analyzer.
20146
eac2a696
EZ
201472002-05-14 Elena Zannoni <ezannoni@redhat.com>
20148
a9c64011
AS
20149 * gdb.arch/altivec-abi.c: New file.
20150 * gdb.arch/altivec-abi.exp: New file.
20151 * gdb.arch/altivec-regs.c: New file.
20152 * gdb.arch/altivec-regs.exp: New file.
eac2a696 20153
2fdde8f8
DJ
201542002-05-14 Daniel Jacobowitz <drow@mvista.com>
20155
20156 * gdb.base/maint.exp (maint print type): Update for new type
20157 structure.
d63a86f8 20158
e31f1a7c
EZ
201592002-05-14 Elena Zannoni <ezannoni@redhat.com>
20160
20161 * gdb.arch: New directory.
20162 * gdb.arch/configure.in: New file.
20163 * gdb.arch/configure: New file.
20164 * gdb.arch/Makefile.in: New file.
20165
db589741
CV
201662002-05-13 Corinna Vinschen <vinschen@redhat.com>
20167
20168 * gdb.asm/asm-source.exp: Add v850 as supported target.
20169 * gdb.asm/v850.inc: New file.
20170
8ce2a7dc
DJ
201712002-05-13 Daniel Jacobowitz <drow@mvista.com>
20172
20173 * gdb.c++/annota2.exp (annotate-quit): Add comment.
20174
df763c7f
DJ
201752002-05-12 Daniel Jacobowitz <drow@mvista.com>
20176
20177 * gdb.base/break.exp: Check 'break "marker2"'.
20178
377daeed
MS
201792002-05-10 Michael Snyder <msnyder@redhat.com>
20180
20181 * gdb.base/long_long.exp: Fix typo.
20182
c4b7bc2b
JB
201832002-05-10 Jim Blandy <jimb@redhat.com>
20184
ecac9a4e
JB
20185 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
20186 a bug.
20187
c4b7bc2b
JB
20188 * gdb.base/printcmds.exp (test_integer_literals_rejected):
20189 Recognize more detailed error message produced by the macro
20190 expander's lexical analyzer.
20191 * lib/gdb.exp (test_print_reject): Same.
20192
e71019a1
MK
201932002-05-09 Mark Kettenis <kettenis@gnu.org>
20194
20195 * gdb.c++/method.exp: Fix typo.
20196
fedfc8e6
MS
201972002-05-08 Michael Snyder <msnyder@redhat.com>
20198
166a1957
MS
20199 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
20200 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 20201 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
20202 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
20203 Add iftarget clause for strongarm.
d63a86f8 20204
f1c47eb2
MS
202052002-05-06 Michael Snyder <msnyder@redhat.com>
20206
cb9a9d3e
MS
20207 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
20208 (gdb_continue_to_end): Accept output from status wrapper.
20209 * gdb.base/ending-run.exp: Add case for output from status wrapper.
20210 Clean up fail messages to match pass messages.
20211
f1c47eb2
MS
20212 Enable the "needs_status_wrapper" testsuite feature.
20213 * lib/gdb.exp (gdb_wrapper_init): New procedure.
20214 (gdb_compile): Conditionally call gdb_wrapper_init.
20215 * gdb.base/a2-run.exp: Recognize output from status wrapper.
20216 * gdb.c++/method.exp: Recognize output from status wrapper.
20217
6079c749
BE
202182002-05-06 Ben Elliston <bje@redhat.com>
20219From Graydon Hoare <graydon@redhat.com>
20220
20221 * config/sid.exp: Include support for "rawsid" protocol.
20222
188baff3
JB
202232002-05-03 Jim Blandy <jimb@redhat.com>
20224
20225 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
20226 * gdb.c++/hang3.C: New file.
20227
b9c07f0f
AC
202282002-05-04 Andrew Cagney <ac131313@redhat.com>
20229
20230 * gdb.base/default.exp: Remove obsolete code.
20231 * gdb.c++/misc.exp: Ditto. Update copyright.
20232 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
20233 * gdb.base/whatis.exp: Ditto. Update copyright.
20234 * gdb.base/scope.exp: Ditto. Update copyright.
20235 * gdb.base/ptype.exp: Ditto. Update copyright.
20236 * gdb.base/printcmds.exp: Ditto. Update copyright.
20237 * gdb.base/opaque.exp: Ditto. Update copyright.
20238 * gdb.base/list.exp: Ditto.
20239 * gdb.base/funcargs.exp: Ditto. Update copyright.
20240 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
20241 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
20242 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
20243 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
20244 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
20245 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
20246
5c7a0397
MS
202472002-05-02 Michael Snyder <msnyder@redhat.com>
20248
d6dcc264 20249 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
20250 * gdb.base/long_long.exp: Add xscale target.
20251 * gdb.base/default.exp: Add xscale target.
20252
eb7f1c48
JB
202532002-05-01 Jim Blandy <jimb@redhat.com>
20254
20255 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
20256 gdb.c++/hang.exp: New test.
20257
a6befae8
FF
202582002-05-01 Fred Fish <fnf@redhat.com>
20259
20260 * gdb.base/completion.exp: Handle completions of "./Make" for
20261 more than one completion possibility, as is the case when we
20262 build and test in the source tree.
20263
0a310277
AG
202642002-04-29 Anthony Green <green@redhat.com>
20265
20266 * gdb.java/jmisc1.exp: New file.
20267 * gdb.java/jmisc2.exp: New file.
20268
6ff9af88
DJ
202692002-04-24 Daniel Jacobowitz <drow@mvista.com>
20270
20271 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
20272
96b3d632
EZ
202732002-04-23 Elena Zannoni <ezannoni@redhat.com>
20274
20275 * gdb.base/help.exp: Change 'help status' to allow for target
20276 dependent output differences.
20277
5019bb54
MC
202782002-04-22 Michael Chastain <mec@shout.net>
20279
20280 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
20281
a805a116
MC
202822002-04-22 Michael Chastain <mec@shout.net>
20283
20284 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
20285
a1706bfd
DM
202862002-04-17 David S. Miller <davem@redhat.com>
20287
20288 * gdb.asm/sparc64.inc: New file.
20289 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
20290
a73a20a2
EZ
202912002-04-19 Elena Zannoni <ezannoni@redhat.com>
20292
20293 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
20294 instruction file directly into the build tree. Clean up at end of
20295 test.
20296
ba678339
DM
202972002-04-18 David S. Miller <davem@redhat.com>
20298
20299 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
20300 handle 64-bit platforms correctly.
20301 * gdb.base/maint.exp: Likewise.
20302
b03399da
KB
203032002-04-18 Kevin Buettner <kevinb@redhat.com>
20304
20305 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
20306 ``-fpic'' when compiling files comprising a shared library, but
20307 it does need additional linker flags in order to find shared
20308 libraries at run time.
20309
e2004992
KB
203102002-04-18 Kevin Buettner <kevinb@redhat.com>
20311
20312 * gdb.base/cvexpr.c (use): New function.
20313 (main): Invoke use() on all global variables to prevent
20314 some linkers from deleting these otherwise unused symbols.
20315
d8937120
MC
203162002-04-17 Michael Chastain <mec@shout.net>
20317From David S. Miller <davem@redhat.com>
20318
20319 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
20320 handle 64-bit platforms correctly.
20321
ffd61a58
MS
203222002-04-12 Michael Snyder <msnyder@redhat.com>
20323From Jim Blandy <jimb@redhat.com>
a9c64011 20324 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
20325 script can handle this instead.
20326 * gdb.base/bar.c (barx): Same.
20327 * gdb.base/baz.c (bazx): Same.
20328 * gdb.base/grbx.c (grbxx): Same.
20329
20330 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
20331 manager doesn't automatically unmap overlays unnecessarily.
20332
6b8426a6
MH
203332002-04-10 Martin M. Hunt <hunt@redhat.com>
20334
20335 * gdb.base/ending-run.exp: Fix pattern for Mips targets
20336 stepping out of main.
20337
34af4875
MC
203382002-04-09 Michael Chastain <mec@shout.net>
20339
20340 * gdb.c++/local.cc (main): Move call to marker1() inside nested
20341 scope so that the nested scope tests will make sense.
20342 * gdb.c++/local.exp: Write patterns that actually work with gcc
20343 (the HP patterns "were never known to work with gcc").
20344 Keep the old aCC patterns too.
20345
2d1676a0
DJ
203462002-04-09 Daniel Jacobowitz <drow@mvista.com>
20347
20348 * gdb.base/attach.exp: Correct target board test.
20349
3a63e3f9
MC
203502002-04-08 Michael Chastain <mec@shout.net>
20351
20352 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
20353 in a const method. Add some xfail and fail cases for configurations
20354 that do not emit the "const ...".
20355
f18dabd2
MC
203562002-04-07 Michael Chastain <mec@shout.net>
20357
20358 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
20359 Accept "A * const" and "const A * const" as type of "this".
20360 Fix spelling of getFunky throughout. Make messages uniform.
20361
0fcddd82
EZ
203622002-04-07 Elena Zannoni <ezannoni@redhat.com>
20363
a9c64011 20364 Work around for PR gdb/285:
0fcddd82
EZ
20365 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
20366
16a8534a
EZ
203672002-04-07 Elena Zannoni <ezannoni@redhat.com>
20368
20369 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
20370 instructions file at run time instead of configure time.
20371 Sometimes we run the test in a directory that is not the one we
20372 configured in.
20373 * gdb.asm/configure.in: Delete creation of symlink.
20374 * gdb.asm/configure: Regenerate.
20375
24181d81
JB
203762002-04-05 J. Brobecker <brobecker@gnat.com>
20377
20378 * gdb.gdb/xfullpath.exp: New test, to exercise the new
20379 xfullpath () function.
20380
7cdb7107
DJ
203812002-04-04 Daniel Jacobowitz <drow@mvista.com>
20382
20383 * gdb.asm/Makefile.in: Correct dependencies.
20384
20385 * gdb.asm/powerpc.inc: New file.
20386 * gdb.asm/asm-source.exp: Add PowerPC.
20387 * gdb.asm/configure.in: Likewise.
20388 * gdb.asm/configure: Regenerated.
20389
a7d17088
DJ
203902002-04-04 Daniel Jacobowitz <drow@mvista.com>
20391
20392 * gdb.base/relocate.exp: New file.
20393 * gdb.base/relocate.c: New file.
20394
cd721503
FF
203952002-04-04 Fred Fish <fnf@redhat.com>
20396
20397 * gdb.base/step-test.exp: Update comment regarding stopping in
20398 memcpy/bcopy calls inserted as part of the compiler runtime.
20399
b22ad7a7
MS
204002002-04-04 Michael Snyder <msnyder@redhat.com>
20401
20402 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
20403
5f279fa6
DJ
204042002-04-03 Daniel Jacobowitz <drow@mvista.com>
20405
20406 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
20407 (gdb_expect): Remove $notransfer hack.
20408
dd0fd3ce
DJ
204092002-04-02 Daniel Jacobowitz <drow@mvista.com>
20410
20411 * gdb.c++/classes.exp ("calling method for small class"): Match
20412 updated register output.
20413
1e50cda1
DJ
204142002-03-30 Daniel Jacobowitz <drow@mvista.com>
20415
20416 Fix PR gdb/452
20417 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
20418 when finished. Make gdb_file_cmd send "exec-file" when
20419 appropriate.
20420
24015922
DJ
204212002-03-30 Daniel Jacobowitz <drow@mvista.com>
20422
20423 * gdb.base/attach.exp: Remove extra setup_xfail.
20424
dd7dfd64
MS
204252002-03-26 Michael Snyder <msnyder@redhat.com>
20426
20427 * gdb.base/default.exp: Add tests for dump, append, and restore.
20428 * gdb.base/help.exp: Add tests for dump, append, and restore.
20429 * gdb.base/dump.exp: New file, test dump, append and restore.
20430 * gdb.base/dump.c: New file.
20431
48b2f8d7
MS
204322002-03-27 Michael Snyder <msnyder@redhat.com>
20433
d63a86f8 20434 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
20435 clean-ups in help messages.
20436
05b4d525
FF
204372002-03-26 Fred Fish <fnf@redhat.com>
20438
20439 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
20440 have debugging info for those functions and the compiler uses them
20441 internally to copy structs around.
20442
d7679631
FF
204432002-03-26 Fred Fish <fnf@redhat.com>
20444
20445 * gdb.base/list.exp: Revert the change made yesterday and add note
20446 about why we don't list the default lines for remote targets.
20447
523ac3f9
MS
204482002-03-25 Michael Snyder <msnyder@redhat.com>
20449
20450 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
20451
754b2b8d
FF
204522002-03-25 Fred Fish <fnf@redhat.com>
20453
20454 * gdb.base/list.exp: This test works on remote targets so remove
20455 the short circuit for remote targets. Update copyright.
20456
33c3e192
FF
204572002-03-25 Fred Fish <fnf@redhat.com>
20458
20459 * gdb.base/attach.exp: Fix logic error that was suppressing this
20460 test for all non hppa*-*-hpux* targets, instead of the hp target.
20461 Move comments closer to the suppression point. Also now need to
20462 check that we are running natively.
20463
d43e73ee
MS
204642002-03-22 Michael Snyder <msnyder@redhat.com>
20465
882c8f02
MS
20466 * gdb.base/default.exp: Add test for gcore. Update copyright.
20467 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 20468
04c12f60
FF
204692002-03-06 Fred Fish <fnf@redhat.com>
20470
20471 * gdb.base/funcargs.c: Remove extraneous ';' character.
20472 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
20473
b43df995
MC
204742002-03-04 Michael Chastain <mec@shout.net>
20475
20476 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
20477 accommodate gcc v3 function signature.
20478 * gdb.mi/mi0-var-cmd-exp: Ditto.
20479
92362027
AC
204802002-02-24 Andrew Cagney <ac131313@redhat.com>
20481
20482 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
20483 ``GNU/Linux'' or ``Linux kernel''
20484 * testsuite/gdb.threads/pthreads.c: Ditto.
20485
258ad32d
MC
204862002-02-24 Michael Chastain <mec@shout.net>
20487
20488 * gdb.threads/pthreads.c (thread1): Add a return statement.
20489 (thread2): Likewise.
20490 (foo): Likewise.
20491
04c3b3d4
MC
204922002-02-23 Michael Chastain <mec@shout.net>
20493
20494 * gdb.threads/linux-dp.c (philosopher): Add a return statement
20495 to placate gcc.
20496
5a2a0a20
MC
204972002-02-23 Michael Chastain <mec@shout.net>
20498
20499 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
20500 test "ptype bint". The test passes on all my stabs configurations.
20501
a640f7fc
JB
205022002-02-21 Jim Blandy <jimb@redhat.com>
20503
27924826
JB
20504 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
20505 filename at a time, and watch for the ones we want to see.
20506
a640f7fc
JB
20507 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
20508 types of pointers to prototyped functions.
20509
edcc8c75
AC
205102002-02-20 Andrew Cagney <ac131313@redhat.com>
20511
20512 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
20513 signed, unsigned and straight char.
20514 (padding_char, padding_short, padding_int, padding_long,
20515 padding_long_long, padding_float, padding_double,
20516 padding_long_double): New global variables.
20517 (fill, fill_structs): New functions.
20518
20519 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
20520 for correctly sized writes. Update copyright.
20521 (get_valueof): New procedure.
20522 (get_sizeof): Call get_valueof.
20523 (check_valueof): New procedure.
20524 (check_padding): New procedure.
20525
ac57ea44
MC
205262002-02-20 Michael Chastain <mec@shout.net>
20527
20528 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
20529 to setup_xfail. Document some of the remaining calls.
20530
7a10c941
MC
205312002-02-18 Michael Chastain <mec@shout.net>
20532
20533 * gdb.c++/userdef.exp: Update copyright year.
20534
fb8acdcc
DJ
205352002-02-18 Daniel Jacobowitz <drow@mvista.com>
20536
20537 * gdb.c++/userdef.exp: Test overloaded operators properly.
20538 Remove xfails.
20539
fda6ae12
MS
205402002-02-14 Michael Snyder <msnyder@redhat.com>
20541
20542 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
20543
676a0442
DJ
205442002-02-14 Daniel Jacobowitz <drow@mvista.com>
20545
20546 * gdb.base/a2-run.exp: Check for a remote target properly.
20547 * gdb.base/annota1.exp: Likewise.
20548 * gdb.base/list.exp: Likewise.
20549 * gdb.base/reread.exp: Likewise.
20550 * gdb.base/scope.exp: Likewise.
20551 * gdb.base/shlib-call.exp: Likewise.
20552 * gdb.base/term.exp: Likewise.
20553 * gdb.c++/annota2.exp: Likewise.
20554
78b4f468
RE
205552002-02-13 Richard Earnshaw <rearnsha@arm.com>
20556
20557 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
20558
9a81ba51
MC
205592002-02-10 Michael Chastain <mec@shout.net>
20560
20561 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
20562 (call_after_alloca): Ditto.
20563
004af6c7
DJ
205642002-02-10 Daniel Jacobowitz <drow@mvista.com>
20565
20566 * gdb.base/ending-run.exp: Guard "cont" test with
20567 gdb_skip_stdio_test.
20568
37225f62
JB
205692002-02-06 Jim Blandy <jimb@redhat.com>
20570
20571 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
20572 from here...
20573 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
20574 To here. Disable this test on non-HP platforms. Add big comment.
20575
fe6fdd96
MS
205762002-02-04 Michael Snyder <msnyder@redhat.com>
20577
20578 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
20579 other than d10v and m32r.
20580
036fad3f
RE
205812002-02-02 Richard Earnshaw <rearnsha@arm.com>
20582
20583 * gdb.base/default.exp: Rewrite test patterns to reduce time
20584 taken to match them.
20585
7148ab62
DJ
205862002-01-30 Daniel Jacobowitz <drow@mvista.com>
20587
20588 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
20589 Allow a start function above main.
20590 * gdb.threads/linux-dp.exp: Fix copyright date.
20591
396cc255
DJ
205922002-01-30 Daniel Jacobowitz <drow@mvista.com>
20593
a9c64011
AS
20594 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
20595 (check_philosopher_stack): Check for manager thread before checking
20596 for a just-starting thread.
396cc255 20597
f038d31b
DJ
205982002-01-30 Daniel Jacobowitz <drow@mvista.com>
20599
20600 From Neil Booth <neil@daikokuya.demon.co.uk>:
20601 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
20602 warnings.
20603
b3ff9d9a
FF
206042002-01-21 Fred Fish <fnf@redhat.com>
20605
20606 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
20607 not caller.
20608
39ad761d
JB
206092002-01-21 Jim Blandy <jimb@redhat.com>
20610
20611 * gdb.base/reread.exp: Check that GDB properly re-reads the
20612 executable file when it changes while no inferior is running.
20613
aaf320fa
FF
206142002-01-21 Fred Fish <fnf@redhat.com>
20615
a9c64011
AS
20616 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
20617 optionally accept the "shlib events" variation.
aaf320fa 20618
808a31f5
JB
206192002-01-21 Jim Blandy <jimb@redhat.com>
20620
20621 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
20622 call `fflush' after every `printf', so that the output is produced
20623 at predictable points, regardless of whatever buffering does (or
20624 doesn't) take place.
20625 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
20626 at different points.
20627
4420d5e2
DJ
206282002-01-20 Daniel Jacobowitz <drow@mvista.com>
20629
20630 * gdb.c++/inherit.exp: Update copyright years.
20631 * gdb.c++/method.exp: Likewise.
20632
3e36a0f4
DJ
206332002-01-20 Daniel Jacobowitz <drow@mvista.com>
20634
20635 * gdb.c++/classes.exp: Update for improved v3 support and skipping
20636 artificial methods/arguments.
20637 * gdb.c++/derivation.exp: Likewise.
20638 * gdb.c++/inherit.exp: Likewise.
20639 * gdb.c++/method.exp: Likewise.
20640 * gdb.c++/virtfunc.exp: Likewise.
20641
b4ceaee6
AC
206422002-01-18 Andrew Cagney <ac131313@redhat.com>
20643
20644 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
20645 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
20646 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
20647 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
20648 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
20649 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
20650
ecace851
JB
206512002-01-17 Jim Blandy <jimb@redhat.com>
20652
20653 * gdb.asm/asm-source.exp (info symbol): Take another shot at
20654 anchoring the pattern matching the entry point symbol's name.
20655
375fc983
AC
206562002-01-17 Andrew Cagney <ac131313@redhat.com>
20657
20658 * gdb.base/maint.exp: Update ``maint internal-error'' to match
20659 continue/quit query. Update copyright.
20660
fe6fdd96
MS
206612002-01-14 Michael Snyder <msnyder@redhat.com>
20662
20663 * gdb.base/gcore.exp: Remove extra debugging output.
20664
e017c81f
DJ
206652002-01-13 Daniel Jacobowitz <drow@mvista.com>
20666
20667 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
20668 for slightly dubious v2 mangled string.
20669
37ab3bf8
DJ
206702002-01-13 Daniel Jacobowitz <drow@mvista.com>
20671
20672 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
20673
1bc05c3a 206742002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 20675
1bc05c3a 20676 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 20677
1bc05c3a
JM
20678 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
20679 constructors.
20680 * gdb.c++/derivation.exp: Likewise.
20681 * gdb.c++/templates.exp: Likewise.
20682 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 20683
1bc05c3a
JM
206842002-01-10 Michael Snyder <msnyder@redhat.com>
20685
20686 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 20687
a911c360
MS
206882002-01-08 Michael Snyder <msnyder@redhat.com>
20689
20690 * gdb.base/gcore.exp: New test for generate-core-file command.
20691 * gdb.base/gcore.c: Testcase for above.
20692 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
20693
ea2119ec
JM
206942002-01-08 Jason Merrill <jason@redhat.com>
20695
20696 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
20697
68203136
FF
206982002-01-07 Fred Fish <fnf@redhat.com>
20699
20700 * gdb.c++/overload.exp: Remove unconditional xfails for:
20701 print foo_instance1.overloadargs(1)
20702 print foo_instance1.overloadargs(1, 2)
20703 print foo_instance1.overloadargs(1, 2, 3)
20704 print foo_instance1.overloadargs(1, 2, 3, 4)
20705 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
20706 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
20707 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
20708 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
20709 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
20710 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
20711 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
20712 print foo_instance1.overload1arg()
20713 print foo_instance1.overload1arg((char)arg2)
20714 print foo_instance1.overload1arg((signed char)arg3)
20715 print foo_instance1.overload1arg((unsigned char)arg4)
20716 print foo_instance1.overload1arg((int)arg7)
20717 print foo_instance1.overload1arg((unsigned int)arg8)
20718 print foo_instance1.overload1arg((float)arg11)
20719 print foo_instance1.overload1arg((double)arg12)
d63a86f8 20720
21b9b5b1
MS
207212002-01-07 Michael Snyder <msnyder@redhat.com>
20722
20723 * gdb.base/huge.exp: New test. Print a very large target data object.
20724 (skip_huge_test): New test variable. Define if you want to skip this
20725 test. The test reads an 8 megabyte data object from the target, so it
20726 might be very time consuming on remote targets with a slow connection.
20727 * gdb.base/huge.c: New file. Test case for above.
20728
725f922e
FF
207292002-01-07 Fred Fish <fnf@redhat.com>
20730
20731 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
20732 g_instance.bfoo, and g_instance.cfoo.
20733
889bf7c5 207342002-01-07 Jeffrey A Law <law@redhat.com>
634d57ec 20735
889bf7c5
PA
20736 * gdb.base/break.c (multi_line_if_conditional): New function.
20737 (multi_ilne_while_conditional): Likewise.
20738 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
20739 IF or WHILE condition puts the breakpoint at the start of
20740 the condition.
f286b2c3 20741
634d57ec
JL
20742 * gdb.base/selftest.exp (backtrace through signal handler): Remove
20743 hppa*-*-hpux* expected failure.
20744 * gdb.base/structs.exp (do_function_calls): Similarly.
20745
20746 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
20747 watchpoints.
20748
9fbfe2dc
AC
207492002-01-06 Andrew Cagney <ac131313@redhat.com>
20750
20751 Fix PR gdb/66.
20752 * gdb.base/structs.exp: Replace skip for a29k with skip for
20753 gdb,cannot_call_functions.
20754 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
20755 * gdb.base/callfuncs.exp: Ditto.
20756 * gdb.base/call-rt-st.exp: Ditto.
20757 * gdb.base/call-strs.exp: Ditto.
20758 * gdb.base/callfwmall.exp: Ditto.
20759 * gdb.base/scope.exp: Obsolete xfail a29k.
20760 * gdb.c++/misc.exp: Ditto.
20761 * gdb.c++/cplusfuncs.exp: Ditto.
20762 * gdb.base/ptype.exp: Ditto.
20763 * gdb.base/printcmds.exp: Ditto.
20764 * gdb.base/opaque.exp: Ditto.
20765 * gdb.base/list.exp: Ditto.
20766 * gdb.base/funcargs.exp: Ditto.
20767 * gdb.base/default.exp: Ditto.
20768
8ddad156
MS
207692002-01-04 Michael Snyder <msnyder@redhat.com>
20770
ca4976a6 20771 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
20772 * gdb.base/maint.exp: Add tests for maint info sections options.
20773
1b074332
JL
20774Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
20775
20776 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
20777
7d159115
CV
207782001-12-20 Corinna Vinschen <vinschen@redhat.com>
20779
20780 * gdb.asm/arm.inc: New file.
20781 * gdb.asm/asm-source.exp: Add arm targets.
20782 * gdb.asm/configure.in: Ditto.
20783 * gdb.asm/configure: Recreated from configure.in.
20784
8fb87725
JL
20785Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
20786
afabe08c
JL
20787 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
20788 with HP's compiler.
20789 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
20790 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
20791 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
20792 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
20793
20794 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
20795 either HP's compilers or GCC.
20796
db521deb
JL
20797 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
20798 a SIGBUS or SIGSEGV.
20799
20800 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
20801
20802 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
20803 can be compiled with either HP's compiler or GCC.
20804
cfa88ab7
JL
20805 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
20806 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
20807 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
20808
ca344dff
JL
20809 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
20810 to match current gdb output. Update due to using auto-solib-limit
20811 for limiting instead of overloading auto-solib-add.
20812 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
20813 test program.
20814
3f3c6e55 20815 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
20816 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
20817 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
20818 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
20819 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
20820 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
20821 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
20822 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
20823 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
20824 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
20825 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
20826 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
20827 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 20828
8fb87725
JL
20829 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
20830 a SIGTRAP to the inferior.
20831
cf599fa7
CV
208322001-12-19 Corinna Vinschen <vinschen@redhat.com>
20833
20834 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
20835 Substitute call to target_link by call to gdb_compile.
20836
2cd045cd
JL
20837Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
20838
a9c64011
AS
20839 * gdb.base/break.exp: Fix HP specific search string when testing
20840 backtracing in a called function.
2cd045cd 20841
a9c64011
AS
20842 * gdb.base/constvars.exp: Only set lang to C++ if we're
20843 compiling the test with HP's compilers.
20844 * gdb.base/volatile.exp: Similarly.
2cd045cd 20845
99ebe9ac
JB
208462001-12-19 Jim Blandy <jimb@redhat.com>
20847
20848 * gdb.base/printcmds.exp: Expect the null character to be printed
20849 as '\0', and the '\013' to be printed as '\v'.
20850 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
20851 * gdb.base/setvar.exp: Same.
20852
b9891b29
JB
208532001-12-17 Jim Blandy <jimb@redhat.com>
20854
0eba65ab
JB
20855 * gdb.base/completion.exp: Rather than completing very long
20856 filenames, which can make the readline library produce output we
20857 don't recognize, cd to the directory first, and then complete
20858 using nice, short relative paths.
20859
6970b5b1
JB
20860 * gdb.base/completion.exp: On some systems, there is, in fact, a
20861 variable named `b' in scope, since GDB treats all static
a9c64011
AS
20862 variables as being in scope. So use `no_var_named_this'
20863 instead of `b'.
6970b5b1 20864
b9891b29 20865 * gdb.base/corefile.exp: Recognize the message saying that GDB
889bf7c5 20866 can't find the core file's registers as a failure.
b9891b29 20867
e6ccd35f
JSC
208682001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
20869
a9c64011
AS
20870 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
20871 test expect string more specific.
e6ccd35f 20872
105ba819
CV
208732001-12-13 Corinna Vinschen <vinschen@redhat.com>
20874
20875 * gdb.asm/asm-source.exp: Add support for xstormy16.
20876 * gdb.asm/configure.in: Ditto.
20877 * gdb.asm/configure: Rebuild.
20878 * gdb.asm/xstormy16.inc: New file.
20879
e9e79dd9
FF
208802001-12-10 Fred Fish <fnf@redhat.com>
20881
20882 * gdb.base/maint.exp: Update to match changes in type dumping code.
20883
347dc97d
JB
208842001-12-10 Jim Blandy <jimb@redhat.com>
20885
20886 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
889bf7c5
PA
20887 matching the entry point symbol's name at the beginning of the
20888 line.
347dc97d 20889
5178b9d6
DJ
208902001-12-07 Daniel Jacobowitz <drow@mvista.com>
20891
20892 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
20893 gdb.c++/inherit.exp, gdb.c++/method.exp,
20894 gdb.c++/namespace.exp, gdb.c++/templates.exp,
20895 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
20896 and class layout support.
20897
af890c52
DJ
208982001-12-07 Daniel Jacobowitz <drow@mvista.com>
20899
20900 * gdb.c++/classes.exp: Add test for static member function.
20901 * gdb.c++/misc.cc: Add class with static member function.
20902
7a345fb3
JB
209032001-12-07 Jim Blandy <jimb@redhat.com>
20904
f2e54a80 20905 If GDB says it can't find the struct the function returned, report
8032bf31
JB
20906 those tests as `unsupported'.
20907 * gdb.base/call-rt-st.exp (print_struct_call): New function.
20908 Rewrite subsequent tests to use it.
20909
20910 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
20911 those tests as `unsupported'.
20912 * gdb.base/structs.exp (call_struct_func): New function.
20913 (do_function_calls): Use call_struct_func to call the functions
20914 returning structs.
20915
0bc69509
JB
20916 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
20917 whether functions are prototyped or not, so we can't possibly pass
20918 arguments to t_float_values2 properly.
20919
7a345fb3
JB
20920 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
20921 value of `timeout' for targets other than the mips*tx39-*.
20922
edb6ede1
MS
209232001-12-06 Michael Snyder <msnyder@redhat.com>
20924
d63a86f8 20925 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
20926 and detect whether the start symbol has a leading underscore.
20927
2d842f13
JB
209282001-12-04 Jim Blandy <jimb@redhat.com>
20929
20930 * gdb.base/completion.exp: Clarify indentation.
20931
68550daf
JB
209322001-12-03 Jim Blandy <jimb@redhat.com>
20933
20934 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
20935 variables on the S/390, not `.word'.
20936
cd5195a8
JB
209372001-11-30 Jim Blandy <jimb@redhat.com>
20938
20939 Add assembly-source tests for s390-ibm-linux.
20940 * gdb.asm/s390.inc: New file.
20941 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
20942 the S/390 architecture.
a9c64011 20943 * gdb.asm/configure: Regenerated.
cd5195a8 20944
ca9efc90
MS
209452001-11-30 Michael Snyder <msnyder@redhat.com>
20946
20947 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
20948 next, info source, info sources, info line, global and static
20949 variables, and static functions.
20950 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
20951 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
20952 * gdb.asm/asmsrc1.s: Add a static function and some variables.
20953 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
20954 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
20955 (gdbasm_leave): Restore frame pointer.
20956 (gdbasm_startup): Copy stack set-up from crt0.S.
20957
d0e66976
FN
209582001-11-26 Fernando Nasser <fnasser@redhat.com>
20959
20960 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
20961 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
20962 to a local (non-static) variable. Copy tstruct.a to a static buffer
20963 and return a pointer to that buffer.
20964 * gdb.base/callfwmall.c (t_structs_a): Ditto.
20965
e2334072
MK
209662001-11-24 Mark Kettenis <kettenis@gnu.org>
20967
20968 * gdb.asm/configure.in: Fix recognition of ix86 target.
20969 * gdb.asm/configure: Regenerate.
20970
756caa3d
MS
209712001-11-21 Michael Snyder <msnyder@redhat.com>
20972
20973 * gdb.asm/sparc.inc: New file.
20974 * gdb.asm/asm-source.exp: Recognize sparc target.
20975 * gdb.asm/configure.in: Recognize sparc target.
20976 * gdb.asm/configure: Regenerate.
d63a86f8 20977
9a4d72d5
MS
209782001-11-21 Michael Snyder <msnyder@redhat.com>
20979
20980 * gdb.asm/m32r.inc: New file.
20981 * gdb.asm/asm-source.exp: Recognize m32r target.
20982 * gdb.asm/configure.in: Recognize m32r target.
20983 * gdb.asm/configure: Regenerate.
20984
a773d1cd
MS
209852001-11-20 Michael Snyder <msnyder@redhat.com>
20986
017ac23d
MS
20987 * gdb.asm/i386.inc: New file.
20988 * gdb.asm/asm-source.exp: Recognize ix86 target.
20989 * gdb.asm/configure.in: Recognize ix86 target.
20990 * gdb.asm/configure: Regenerate.
20991
a773d1cd
MS
20992 * gdb.c++/namespace.exp: Fix quotes in output messages.
20993
bb632afb
MS
209942001-11-14 Michael Snyder <msnyder@redhat.com>
20995
25d559ca 20996 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
20997 qualifier in a type cast expression, to designate an address
20998 in the instruction space (Harvard architecture).
20999
4749e309
MS
210002001-11-13 Michael Snyder <msnyder@redhat.com>
21001
21002 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
21003 Tests for expressions using 'const' and 'volatile'.
21004
25050984
CV
210052001-11-13 Corinna Vinschen <vinschen@redhat.com>
21006
21007 * gdb.asm/asm-sources.exp: Allow defining linker flags.
21008
1902c51f
DJ
210092001-11-12 Daniel Jacobowitz <drow@mvista.com>
21010
21011 * lib/mi-support.exp (mi_run_to_helper): Move comments
21012 outside of gdb_expect.
21013
dcf95b47
DJ
210142001-11-11 Daniel Jacobowitz <drow@mvista.com>
21015
21016 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
21017 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
21018 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
21019 mi0_run_to): New functions.
21020 * gdb.mi/mi-simplerun.exp: Use them.
21021 * gdb.mi/mi0-simplerun.exp: Likewise.
21022 * gdb.mi/mi-var-cmd.exp: Likewise.
21023 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 21024
45b074e1
AC
210252001-11-10 Andrew Cagney <ac131313@redhat.com>
21026
21027 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
21028 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
21029
bf50d346
AC
210302001-11-09 Andrew Cagney <ac131313@redhat.com>
21031
21032 * gdb.base/restore.exp: Include $expected value in restored test
21033 message.
21034
9383332c
AC
210352001-11-09 Andrew Cagney <ac131313@redhat.com>
21036
21037 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
21038 implemented.
21039
db62520a
MS
210402001-11-08 Michael Snyder <msnyder@redhat.com>
21041
21042 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
21043 Add pass/fail message for stop at breakpoint in call dummy function.
21044
b5703437
MS
210452001-11-07 Michael Snyder <msnyder@redhat.com>
21046
d63a86f8
RM
21047 * gdb.c++/templates.exp (test_template_breakpoints):
21048 If we get an overload menu, but it does not match what
760f6330 21049 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
21050 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
21051 making the whitespace optional. Argument for "new" may be
21052 "unsigned" as well as "unsigned int/long".
d63a86f8 21053 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
21054 making the whitespace optional. Also replace "(void) with
21055 "((void|)), making the keyword "void" optional.
d63a86f8 21056 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
21057 making the whitespace optional. Also replace "(void) with
21058 "((void|)), making the keyword "void" optional.
3bf40917
MS
21059 * gdb.base/callfuncs.c (t_float_values): This function must
21060 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 21061 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
21062 can be tested against both cases. Usually one case involves
21063 promotion of float to double, while the other does not.
21064 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
21065 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
21066 includes a stack frame for "start".
21067
c8ab4e6d
JB
210682001-11-05 Jim Blandy <jimb@redhat.com>
21069
21070 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
21071 pointers are 32 bits long, and that offsets of relocs are always
21072 stored in the data (REL-style), and not in the reloc entry itself
21073 (RELA-style).
21074 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
21075 stabs.
21076
3f08ced9
MS
210772001-11-01 Michael Snyder <msnyder@redhat.com>
21078
21079 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
21080 and regular expression operators by using quoting.
21081
cbfa24cd
MS
210822001-10-31 Michael Snyder <msnyder@redhat.com>
21083
21084 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
21085 depending on what the symbol table contains.
21086 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
21087 the output of the ptype command. Similarly, accept both "const &"
21088 and "const&".
21089
aaa68313
CV
210902001-10-31 Corinna Vinschen <vinschen@redhat.com>
21091
21092 * gdb.base/miscexprs.c (main): Add usage of preprocessor
21093 symbol `STORAGE' to allow to choose the storage class of
21094 the local datastructures.
21095 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
21096 compiler directive.
21097
91740388
MS
210982001-10-30 Michael Snyder <msnyder@redhat.com>
21099
21100 * gdb.base/jump.exp: Allow it to run for all targets.
21101
1b7c05e7
CV
211022001-10-29 Corinna Vinschen <vinschen@redhat.com>
21103
21104 * gdb.base/call-ar-st.c (print_double_array): Match for loop
21105 with new double_array size.
21106 (main): Change storage class of all local variables to static.
21107 Reduce size of double_array to 9.
21108 * gdb.base/call-ar-st.exp: Increase timeout value.
21109 Change expected output for double array to match new size in
21110 call-ar-st.c.
21111
36a22261
CV
211122001-10-29 Corinna Vinschen <vinschen@redhat.com>
21113
21114 * gdb.base/ending-run.exp: Create identical output when passing
21115 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 21116 Stormy16 target.
36a22261 21117
92b8ae91
MK
211182001-10-28 Mark Kettenis <kettenis@gnu.org>
21119
21120 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
21121 that we catch the expected failure under Linux/x86.
21122
cb135b83
OF
211232001-10-29 Orjan Friberg <orjanf@axis.com>
21124
21125 * gdb.base/setvar.exp: Escape curly braces.
21126 * gdb.stabs/weird.exp: Ditto.
21127
6884aa54
DJ
211282001-10-27 Daniel Jacobowitz <drow@mvista.com>
21129
21130 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
21131 * gdm.mi/mi0-hack-cli.exp: Likewise.
21132
0398c9aa
AC
211332001-10-25 Andrew Cagney <ac131313@redhat.com>
21134
21135 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
21136 messages.
21137
d20bf2e8
AC
211382001-10-21 Andrew Cagney <ac131313@redhat.com>
21139
21140 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
21141 checking MI enabled.
21142
03dd63aa
CV
211432001-10-09 Corinna Vinschen <vinschen@redhat.com>
21144
21145 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
21146
1d9d99f3
FCE
211472001-10-04 Frank Ch. Eigler <fche@redhat.com>
21148
21149 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
21150 if gdb child process crashes, just signal an error.
21151
838ae6c4
JB
211522001-10-02 Jim Blandy <jimb@redhat.com>
21153
21154 * lib/gdb.exp (test_xfail_format): Simplify.
21155
21156 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
21157 front of the variable name `format'. Simplify `if'.
21158
8f0cbc1c
DJ
211592001-10-01 Daniel Jacobowitz <drow@mvista.com>
21160
21161 * gdb.threads/pthreads.exp: Wait for output and delay
21162 before sending ^C.
21163
1f08dafd
DJ
211642001-10-01 Daniel Jacobowitz <drow@mvista.com>
21165
21166 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
21167 some incorrect output instead of timing out.
21168 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
21169
674f90ff
CV
211702001-09-28 Corinna Vinschen <vinschen@redhat.com>
21171
21172 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
21173 check to allow additional `int'.
21174
9b284272
DJ
211752001-09-27 Daniel Jacobowitz <drow@mvista.com>
21176
21177 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
21178 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
21179
b55a4771
MS
211802001-09-27 Michael Snyder <msnyder@redhat.com>
21181
21182 * lib/gdb.exp (test_debug_format): New proc.
21183 (setup_xfail_format): Use new proc test_debug_format.
21184 * gdb.base/constvars.exp (local_compiler_xfail_check): New
21185 proc; use new service proc test_debug_format.
21186 Replace all other "gcc_compiled" tests with this test.
21187 * gdb.base/volatile.exp (local_compiler_xfail_check): New
21188 proc; use new service proc test_debug_format.
21189 Replace all other "gcc_compiled" tests with this test.
21190
211912001-09-27 Michael Snyder <msnyder@redhat.com>
21192
21193 * gdb.base/cvexpr.exp: New file.
21194 * gdb.base/cvexpr.c: New file
21195 Test for expressions using const and volatile keywords.
21196
4e6667ac
CV
211972001-09-26 Corinna Vinschen <vinschen@redhat.com>
21198
21199 * gdb.base/constvars.exp: Check for different orders of keywords
21200 and additional "int" strings in output.
21201
4f337972
AC
212022001-09-22 Andrew Cagney <ac131313@redhat.com>
21203
21204 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
21205 responses from "help maint".
21206
2015650d
FCE
212072001-09-19 Frank Ch. Eigler <fche@redhat.com>
21208
21209 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
21210 to localhost:NNN instead of :NNN, in case Xvfb is listening
21211 only on TCP.
21212
f3bcedc1
CV
212132001-09-19 Corinna Vinschen <vinschen@redhat.com>
21214
21215 * gdb.base/recurse.exp: When checking leaving the watchpoint
21216 scope, recognize when gdb is in function's epilogue and pass.
21217
6b819c92
KS
212182001-09-18 Keith Seitz <keiths@redhat.com>
21219
21220 * lib/insight-support.exp (_gdbtk_export_target_info): Add
21221 support for running tests against sid targets.
21222 (gdbtk_done): Ditto.
21223
a10c9419
CV
212242001-09-18 Corinna Vinschen <vinschen@redhat.com>
21225
21226 * gdb.base/ending-run.c (main): Set stdout buffersize
21227 to the same reasonable value for any target.
21228 * gdb.base/ending-run.exp: Add a regular expression
21229 to make testsuite happy on Sanyo Stormy16 target.
21230
739d0d99
CV
212312001-09-17 Corinna Vinschen <vinschen@redhat.com>
21232
21233 * gdb.base/display.c (do_loops): Add float variable `f'.
21234 Increment f in loop.
21235 * gdb.base/display.exp: Increment timeout by 60 seconds.
21236 Change float display test to use variable `f'.
21237
1b8947f0
JB
212382001-09-17 Jim Blandy <jimb@redhat.com>
21239
21240 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
21241 overflowing the limited breakpoint tables on some ROM monitors
21242 (like the ROM68K).
21243
9890ac81
FCE
212442001-09-15 Frank Ch. Eigler <fche@redhat.com>
21245
21246 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
21247 the "-ac" (disable access control) flag.
21248
6db765ea
JH
212492001-08-30 Jeff Holcomb <jeffh@redhat.com>
21250
21251 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
21252 ints.
21253
4c32cc04
KS
212542001-08-30 Keith Seitz <keiths@redhat.com>
21255
21256 * lib/gdb.exp: Move all insight-related functionality into
21257 separate file.
21258 * lib/insight-support.exp: New file.
21259
8d6e6f81
FCE
212602001-08-29 Frank Ch. Eigler <fche@redhat.com>
21261
21262 * config/sid.exp (sid_start): Never set sid verbosity; disable
21263 expect_background {} that consumed its stdout; tolerate </dev/null.
21264 Attempt to set endianness override in "sid" protocol mode. Cleanup.
21265
6a90e1d0
AC
212662001-08-18 Andrew Cagney <ac131313@redhat.com>
21267
21268 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
21269 CLI jump command to start it.
21270 (mi_run_to_main): Fail immediatly when unexpected output.
21271
1759b3c3
AC
212722001-08-18 Andrew Cagney <ac131313@redhat.com>
21273
21274 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
21275 beginning of function. Fix PR gdb/191.
21276
61d11d80
FCE
212772001-08-16 Frank Ch. Eigler <fche@redhat.com>
21278
21279 * config/sid.exp (sid_start): Don't warn if we cannot figure out
21280 what to force sid endianness to.
21281
942a4df2
KS
212822001-08-15 Keith Seitz <keiths@redhat.com>
21283
21284 * lib/gdb.exp (gdbtk_start): Don't set environment
21285 variables for TCL_LIBRARY and friends. Insight will
21286 now figure these out for itself.
21287
0521c418
MS
212882001-08-02 Michael Snyder <msnyder@redhat.com>
21289
21290 * gdb.base/completion.exp: Remove the symbol "a64l" from
21291 the expect string; this is target-specific, and not related
21292 to what is being tested.
21293
74a9a58a
DB
212942001-08-02 Dave Brolley <brolley@redhat.com>
21295
21296 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
21297
c70819fa
MS
212982001-07-25 Michael Snyder <msnyder@redhat.com>
21299
c2b8fa57
MS
21300 * gdb.base/consecutive.exp: New file. Test stepping over
21301 breakpoints on consecutive instructions.
21302 * gdb.base/consecutive.c: New file.
21303
c70819fa
MS
21304 * gdb.base/call-rt-st.exp: Use double-backslash to quote
21305 curly braces in regular expressions.
21306
2b1a1355
MS
213072001-07-25 Michael Snyder <msnyder@redhat.com>
21308
21309 * gdb.base/ending-run.exp: Accept "Program exited normally" as
21310 legitimate output from stepping out of main.
21311
413eca6f
KS
213122001-07-22 Keith Seitz <keiths@redhat.com>
21313
21314 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
21315 the empty string, do not run the tests.
21316
7e5a9322
SC
213172001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
21318
21319 * gdb.base/long_long.exp: Detect size of pointer. Take into
21320 account 2-byte pointers when testing for p/a results.
21321
de58f10f
SC
213222001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
21323
d63a86f8 21324 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
21325 and defined to 1K for m68hc11.
21326 (random_data): Reduce table to 1K for embedded platforms (68hc11).
21327 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
21328 (sizeof_random_data): New variable to tell the size of the data table;
21329 don't test past this size; always run to main.
21330
d6f5fea1
SC
213312001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
21332
21333 * gdb.base/return2.exp: return of long long and double fails for
21334 68HC11; don't execute these tests on that platform.
21335 * gdb.base/return.exp: Return of a double fails for 68hc11.
21336
c477543d
SC
213372001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
21338
21339 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
21340 tests that print a float.
21341 * call-rt-st.exp: Likewise.
21342
63cf1c79
MK
213432001-07-12 Mark Kettenis <kettenis@gnu.org>
21344
21345 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
21346 running this test on Linux.
21347
112f9ab5
MC
213482001-06-24 Michael Chastain <chastain@redhat.com>
21349
21350 * gdb.base/arithmet.exp: Remove some tests to make all test names
21351 unique.
21352
4970cb0f
MS
213532001-07-03 Michael Snyder <msnyder@redhat.com>
21354
21355 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
21356 the output of the ptype command.
21357
d85da69f
MS
213582001-07-02 Michael Snyder <msnyder@redhat.com>
21359
4c8a82de
MS
21360 * gdb.base/completion.exp: Don't assume that break.c is the only
21361 source file that may contain functions named "marker".
d85da69f
MS
21362 * gdb.base/corefile.exp: Quote the curly braces in regexp.
21363
8afc772b
AC
213642001-06-28 Andrew Cagney <ac131313@redhat.com>
21365
21366 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
21367 of files to delete.
21368
21369 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
21370 * gdb.disasm/h8300s.exp: New file.
21371 gdb.disasm/h8300s.s: Likewise.
21372
cff22675
AC
213732001-06-27 Andrew Cagney <ac131313@redhat.com>
21374
21375 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
21376 empty breakpoint tables.
21377
68c81b54
AC
213782001-06-25 Andrew Cagney <ac131313@redhat.com>
21379
21380 * lib/mi-support.exp: Update args=... part of stop-reason
21381 patterns. Accept either a list or a tuple.
21382
2dd62704
AC
213832001-06-23 Andrew Cagney <ac131313@redhat.com>
21384
21385 * lib/mi-support.exp: Remove local emacs variable defining
21386 change-log-default-name.
21387
b4127474
MC
213882001-06-22 Michael Chastain <chastain@redhat.com>
21389
21390 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
21391 This is operationally compatible with the previous version.
21392
8dbfb380
JB
213932001-06-13 Jim Blandy <jimb@redhat.com>
21394
21395 * lib/gdb.exp (gdb_test): Doc fix.
21396
f2d8c86d
MC
213972001-06-10 Michael Chastain <chastain@redhat.com>
21398
21399 * gdb.base/exprs.exp: Remove a duplicate test.
21400
81564d34
JB
214012001-06-06 Jim Blandy <jimb@redhat.com>
21402
21403 * gdb.base/return2.exp (main): Use values to test float and double
21404 returns that are not NaN's, to avoid being confused by IEEE
21405 comparison rules.
21406
da55addb
MS
214072001-06-04 Michael Snyder <msnyder@redhat.com>
21408
21409 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 21410 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
21411 rather than wait for 12 more tests to time out.
21412
42c65987
JB
214132001-06-06 Jim Blandy <jimb@redhat.com>
21414
b18bced9 21415 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 21416 Don't forget to match the GDB prompt.
b18bced9 21417
42c65987
JB
21418 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
21419
5b41e5f0
JB
214202001-06-04 Jim Blandy <jimb@redhat.com>
21421
21422 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
21423 command.
21424
015e046f
KB
214252001-05-31 Kevin Buettner <kevinb@redhat.com>
21426
21427 * gdb.base/annota1.exp (info break): Match four or more spaces
21428 after "Address".
21429
fb1ffbbe
MC
214302001-05-31 Michael Chastain <chastain@redhat.com>
21431
21432 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
21433 (dm_type_int_star): Likewise.
21434 (dm_type_long_star): Likewise.
21435 (dm_type_void_star): Likewise.
21436
5ea2a32c
KB
214372001-05-29 Kevin Buettner <kevinb@redhat.com>
21438
21439 * gdb.base/completion.exp (INPUTRC): Set this environment variable
21440 to a known value in order to get consistent results regardless
21441 of the setting of INPUTRC or the presence or contents of .inputrc.
21442
ae23c492
MS
214432001-05-24 Michael Snyder <msnyder@redhat.com>
21444
ac55707e
MS
21445 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
21446 Don't require that the main thread and the manager thread are the
21447 first in the list.
21448
ae23c492
MS
21449 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
21450 debugging. If test fails, issue an "unsupported" not a "fail".
21451
400071f1
JB
214522001-05-24 Jim Blandy <jimb@redhat.com>
21453
21454 Don't assume that short is shorter than int.
21455 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
21456 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 21457 this isn't true.
400071f1
JB
21458 ("print unsigned char == (~0)"): Add test that verifies that ~0,
21459 an int, is not equal to ~0 stored in an unsigned char. This tests
21460 the same thing that the previous test meant to, but works on
21461 16-bit machines, too.
21462 ("print unsigned char != (~0)"): Same test, complemented.
21463
0816a3e5
MS
214642001-05-24 Michael Snyder <msnyder@redhat.com>
21465
21466 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 21467 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
21468 and prevents dejagnu getting out of step.
21469
f6dc23a9
KB
214702001-05-23 Kevin Buettner <kevinb@redhat.com>
21471
21472 * gdb.base/finish.exp (finish_void): Revise pattern for
21473 stopping on the call statement to not permit stopping at
21474 the start of the instructions comprising the call sequence.
21475
7dbd117d
MC
214762001-05-19 Michael Chastain <chastain@redhat.com>
21477
21478 * gdb.base/callfuncs.exp: Make all test names unique.
21479 * gdb.base/commands.exp: Make all test names unique.
21480 * gdb.base/condbreak.exp: Make all test names unique.
21481 * gdb.base/dbx.exp: Make all test names unique.
21482 * gdb.base/default.exp: Make all test names unique.
21483 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
21484 and TIMEOUT messages to their corresponding PASS message.
21485 * gdb.base/ending-run.exp: Make all test names unique.
21486 * gdb.base/long_long.exp: Remove duplicate test.
21487
6b0b0a9e
KB
214882001-05-21 Kevin Buettner <kevinb@redhat.com>
21489
21490 * gdb.base/finish.exp (finish_void): Allow "finish" command to
21491 stop on the call statement as well as the statement after the
21492 call.
21493
2caa35cb
MS
214942001-05-21 Michael Snyder <msnyder@redhat.com>
21495
21496 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
21497
40713331
EZ
214982001-05-10 Elena Zannoni <ezannoni@redhat.com>
21499
a9c64011
AS
21500 * gdb.base/completion.exp: Revamp test. Make it execute on all
21501 platforms.
40713331 21502
c2c1be8d
EZ
215032001-05-10 Elena Zannoni <ezannoni@redhat.com>
21504
a9c64011
AS
21505 * config/gdbserver.exp (gdb_load): Handle the case
21506 in which the arguments to gdbserver are given in the
21507 baseboard configuration file.
21508 Also handle the case in which the server needs to do a
21509 load.
2c9cd303 21510
9671de48
KS
215112001-05-07 Keith Seitz <keiths@cygnus.com>
21512
a9c64011
AS
21513 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
21514 set up the display for testing.
21515 (gdbtk_start): Convert all paths to paths that tcl will like.
21516 Export target information to environment.
21517 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
21518 necessary.
21519 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
21520 (to_tcl_path): New proc to convert a given pathname into
21521 a path acceptible as an argument to a tcl command.
21522 (_gdbtk_export_target_info): New proc to export target info
21523 into the environment for gdbtk testing.
21524 (gdbtk_done): New proc to signal end-of-test.
9671de48 21525
5a360f47
JB
215262001-05-06 Jim Blandy <jimb@redhat.com>
21527
21528 * restore.c: Make the code of caller0 correspond to its comment.
21529
66c756c6
MS
215302001-05-03 Michael Snyder <msnyder@redhat.com>
21531
21532 * config/sid.exp (gdb_target_sid): Check for error messages.
21533 On error or timeout, don't make expect exit (which will terminate
21534 all subsequent tests); instead just make gdb exit.
d63a86f8 21535 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
21536 return a negative value.
21537
a966fde5
JB
215382001-04-24 Jim Blandy <jimb@redhat.com>
21539
851c18e0
JB
21540 * gdb.c++/templates.exp: If we see the prompt for the overload
21541 list, but we haven't recognized any of the longer patterns,
21542 arrange for this test to fail, not hang.
21543
a966fde5
JB
21544 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
21545 variations.
21546
db144853
MC
215472001-04-22 Michael Chastain <chastain@redhat.com>
21548
21549 * gdb.c++/local.exp: Use the 'runto' library function.
21550 * gdb.c++/namespace.exp: Likewise.
21551 * gdb.c++/overload.exp: Likewise.
21552
3207ec21
KB
215532001-03-26 Kevin Buettner <kevinb@redhat.com>
21554
21555 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
21556 * gdb.base/step-line.exp: New file. Test step/next in presence of
21557 #line directives.
21558 * gdb.base/step-line.c: New file. Test program for the above.
21559 * gdb.base/step-line.inp: New file. We pretend that this file has
21560 been transformed by some other tool into step-line.c.
21561
13b57657
JB
215622001-03-21 Jim Blandy <jimb@redhat.com>
21563
21564 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
21565 unmangled operator names.
21566
754cbe1c
JB
215672001-03-20 Jim Blandy <jimb@redhat.com>
21568
21569 * gdb.threads/linux-dp.exp: Recognize an additional message
21570 generated by GDB when it doesn't understand how to debug threads
21571 on the target system.
21572
177495c9
AC
215732001-03-19 Andrew Cagney <ac131313@redhat.com>
21574
21575 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
21576
f266096b
MC
215772001-03-12 Michael Chastain <chastain@redhat.com>
21578
21579 * gdb.c++/derivation.exp: Use the 'runto' library function.
21580
cac3c2ff
MC
215812001-03-12 Michael Chastain <chastain@redhat.com>
21582
21583 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
21584
b6c11a24
MC
215852001-02-24 Michael Chastain <chastain@redhat.com>
21586
21587 * gdb.c++/ref-types.exp: Change handwritten code to library
21588 function 'runto'.
21589
6bae5bce
OF
215902001-03-16 Orjan Friberg <orjanf@axis.com>
21591
21592 * gdb.base/signals.exp: Set count to 0 explicitly.
21593
0015fd9a
MS
215942001-03-15 Mark Salter <msalter@redhat.com>
21595
21596 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
21597 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
21598 (gdb_load): Add support for additional target_info: gdb_download_size
21599 and gdb_load_timeout.
0015fd9a 21600
fc33412a
DT
21601Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
21602
21603 * gdb.base/annota1.exp: Move test of isnative to earlier in the
889bf7c5
PA
21604 file -- to prevent failing when the compile fails but we have no
21605 intention of running the tests anyway.
fc33412a
DT
21606
21607 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
21608 tests if set.
21609
21610 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
889bf7c5 21611 integers.
fc33412a
DT
21612
21613 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
21614 * gdb.c++/namespace.exp: Ditto.
21615
115f06de
OF
216162001-03-07 Orjan Friberg <orjanf@axis.com>
21617
21618 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
21619 * gdb.base/pointers.exp: Relax pattern match of decimals.
21620
b6ba6518
KB
216212001-03-06 Kevin Buettner <kevinb@redhat.com>
21622
21623 * Makefile.in, config/abug.exp, config/cfdbug.exp,
21624 config/cpu32bug.exp, config/dve.exp, config/est.exp,
21625 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
21626 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
21627 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
21628 config/sh.exp, config/sid.exp, config/slite.exp,
21629 config/sparclet.exp, config/udi.exp, config/unknown.exp,
21630 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
21631 config/vxworks.exp, config/vxworks29k.exp,
21632 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
21633 gdb.base/all-bin.exp, gdb.base/annota1.exp,
21634 gdb.base/arithmet.exp, gdb.base/assign.exp,
21635 gdb.base/async.exp, gdb.base/attach.exp,
21636 gdb.base/bitfields.exp, gdb.base/bitops.exp,
21637 gdb.base/break.exp, gdb.base/call-ar-st.exp,
21638 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
21639 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
21640 gdb.base/commands.exp, gdb.base/completion.exp,
21641 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
21642 gdb.base/constvars.exp, gdb.base/corefile.exp,
21643 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
21644 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
21645 gdb.base/ending-run.exp, gdb.base/environ.exp,
21646 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
21647 gdb.base/finish.exp, gdb.base/foll-exec.exp,
21648 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
21649 gdb.base/funcargs.exp, gdb.base/help.exp,
21650 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
21651 gdb.base/logical.exp, gdb.base/long_long.exp,
21652 gdb.base/maint.exp, gdb.base/mips_pro.exp,
21653 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
21654 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
21655 gdb.base/pointers.exp, gdb.base/printcmds.exp,
21656 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
21657 gdb.base/regs.exp, gdb.base/relational.exp,
21658 gdb.base/remote.exp, gdb.base/reread.exp,
21659 gdb.base/restore.exp, gdb.base/return2.exp,
21660 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
21661 gdb.base/selftest.exp, gdb.base/setshow.exp,
21662 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
21663 gdb.base/sigall.exp, gdb.base/signals.exp,
21664 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
21665 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
21666 gdb.base/step-test.exp, gdb.base/structs.c,
21667 gdb.base/structs.exp, gdb.base/structs2.exp,
21668 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
21669 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
21670 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
21671 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
21672 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
21673 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
21674 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
21675 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
21676 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
21677 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
21678 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
21679 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
21680 gdb.fortran/types.exp, gdb.java/jmisc.exp,
21681 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
21682 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
21683 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
21684 gdb.trace/circ.exp, gdb.trace/collection.exp,
21685 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
21686 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
21687 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
21688 gdb.trace/report.exp, gdb.trace/save-trace.exp,
21689 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
21690 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
21691 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
21692 notices.
21693
dc96c6c7 216942001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
21695
21696 * gdb.base/varargs.c (find_max_double): Fix printf format string:
21697 first arg is int not float.
21698
dc96c6c7 216992001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
21700
21701 * gdb.base/reread.exp: Unsupported for non-native targets;
21702 doesn't work for remote debugging.
21703
9b0c4aeb
FN
217042001-02-19 Fernando Nasser <fnasser@redhat.com>
21705
21706 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
21707 * gdb.base/ending-run.exp: Properly handle the BSP state when
21708 stepping past the end of main.
9b0c4aeb 21709
02aa71d5
MC
217102001-02-19 John Moore <jmoore@redhat.com>
21711
21712 * gdb.base/commands.exp (infrun_breakpoint_command_test):
21713 Converted HPUX fix for non-expected items following multiple
21714 step commands into general solution for all platforms.
21715
1fa449a4
MC
217162001-02-18 Michael Chastain <chastain@redhat.com>
21717
21718 * gdb.c++/classes.exp (do_tests): Change runto statements
21719 from "runto 'foo(void)'" to "runto 'foo'". This makes the
21720 statements demangler agnostic.
21721 * gdb.c++/virtfunc.exp (do_tests): Likewise.
21722 (gdb_virtfunc_restart): Likewise.
21723
b2f9ec70
MC
217242001-02-14 Michael Chastain <chastain@redhat.com>
21725
21726 * gdb.c++/inherit.exp (do_tests): Change runto statements
21727 from "runto 'foo(void)'" to "runto 'foo'". This makes the
21728 statements demangler agnostic.
21729
cf74b8ca
AC
21730Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
21731
21732 * gdb.threads/pthreads.exp: Unify pass/fail messages for
889bf7c5
PA
21733 ``continue to bkpt at common_routine in thread 2'' and ``stopped
21734 before calling common_routine 15 times'' tests.
cf74b8ca 21735
99f78f56
MC
217362001-02-11 Michael Chastain <chastain@redhat.com>
21737
21738 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
21739 Helps the test script figure out which demangler is in use.
21740 (dm_type_foo_ref): Ditto.
21741 (dm_type_int_star): Ditto.
21742 (dm_type_long_star): Ditto.
21743 (dm_type_unsigned_int): Ditto.
21744 (dm_type_void): Ditto.
21745 (dm_type_void_star): Ditto.
99707966 21746 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
21747 Probe the gdb demangler and set variables to accommodate
21748 formatting differences.
21749 (info_func_regexp): New function. Same as info_func, but
21750 matches against a regexp.
21751 (info_func): Match against a literal string.
21752 (print_addr_2): New function. Match against a literal string,
21753 which can be different from the input to gdb.
21754 (print_addr): Simply call print_addr_2 with the same argument twice.
21755 (test_lookup_operator_functions): Use demangler formatting variables.
21756 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
21757 the tests in the same order as the C++ class declaration.
21758 (test_paddr_operator_functions): Ditto.
21759 (test_paddr_overloaded_functions): Ditto.
21760 (test_paddr_hairy_functions): Use demangler formatting variables.
21761 Add reference to gdb/19 for related tests.
21762 (do_tests): Call probe_demangler.
21763
1de8f023
KB
217642001-01-30 Kevin Buettner <kevinb@redhat.com>
21765
21766 * gdb.c++/templates.cc (printf): Remove unused function definition.
21767
ca3f91ed
MS
217682001-01-26 Felix Lee <flee@redhat.com>
21769
21770 * sid.exp (sid_exit): Pass host, not target, to remote_close.
21771
217722001-01-25 matthew green <mrg@redhat.com>
21773
21774 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
21775 up sid.
21776 (sid_exit): Call `remote_pop_conn' after GDB is gone.
21777
217782001-01-25 matthew green <mrg@redhat.com>
21779
21780 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 21781 Deprecate $sid_spawn_id.
ca3f91ed
MS
21782 (sid_exit): Remove code necessary only for `spawn.'
21783
217842001-01-25 matthew green <mrg@redhat.com>
21785
21786 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
21787
fb18ec4a
MC
217882001-01-28 Michael Chastain <chastain@redhat.com>
21789
21790 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
21791 to call when tests fail. It takes gdb out of the overloaded
21792 function choice menu back to the main prompt, so that the test
21793 program stays synchronized.
21794 (set_bp_overloaded): New proc to collect all the common
21795 code for setting a breakpoint on an overloaded name. Calls
21796 take_gdb_out_of_choice_menu when needed.
21797 (menu_overload1arg): New variable to collect the repeated
21798 instances of the expected menu for an overloaded name. Change
21799 the regular expression to handle changes in g++ type encoding:
21800 "void" can be either "void" or "", and "unsigned int" can be
21801 either "unsigned int" or "unsigned".
21802 (continue_to_bp_overloaded): Change regular expressions to handle
21803 changes in g++ type encoding.
21804 (no proc): Call take_gdb_out_of_choice_menu when needed.
21805 Remove redundant calls to "info break". Accept either "canceled"
21806 or "cancelled". Change regular expressions in "info break"
21807 calls to handle changes in g++ type encoding. Give all tests
21808 unique strings.
21809
9c646a6e
BE
218102001-01-17 Ben Elliston <bje@redhat.com>
21811
21812 * config/sid.exp: New file.
21813
9549d9c1
AC
21814Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
21815
21816 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
21817
dc96c6c7 218182000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
21819
21820 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
21821 Add a RE to accept a non-ascii char if one is ever presented.
21822
b4df4f68
FN
218232000-12-20 Fernando Nasser <fnasser@redhat.com>
21824
297dd0fd 21825 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 21826
dc96c6c7 218272000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 21828
d63a86f8 21829 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
21830 in regexp. One '\' does not suffice on Linux.
21831
4a7bddb6
MC
218322000-12-09 Michael Chastain <chastain@redhat.com>
21833
21834 * gdb.base/break.exp (test_clear_command): Use a marker function
21835 rather than 'main' for the test function. Also move this
21836 test to an execution point where the marker function names are
21837 guaranteed to be bound to functions. (Executing tests after a
21838 'finish' from main runs into name conflicts with local names
21839 in __libc_start_main).
21840
dc96c6c7 218412000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
21842
21843 * gdb.base/finish.exp: New test for gdb's "finish" command.
21844 * gdb.base/return2.exp: New test for gdb's "return" command.
21845 * gdb.base/return2.c: New source file for above.
21846
dc96c6c7 218472000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
21848
21849 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
21850 * gdb.base/miscexprs.exp: Ditto.
21851 * gdb.base/pointers.exp: Ditto.
21852 * gdb.c++/derivation.exp: Ditto.
21853 * gdb.c++/local.exp: Ditto.
21854 * gdb.c++/namespace.exp: Ditto.
21855 * gdb.c++/overload.exp: Ditto.
21856 * gdb.c++/ref-types.exp: Ditto.
21857
dc96c6c7 218582000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
21859
21860 * gdb.base/constvars.exp: Test result of "up" command.
21861 * gdb.base/miscexprs.exp: Ditto.
21862 * gdb.base/pointers.exp: Ditto.
21863 * gdb.base/scope.exp: Ditto.
21864 * gdb.c++/derivation.exp: Ditto.
21865 * gdb.c++/local.exp: Ditto.
21866 * gdb.c++/namespace.exp: Ditto.
21867 * gdb.c++/overload.exp: Ditto.
21868 * gdb.c++/ref-types.exp: Ditto.
21869
44097287
FN
218702000-11-22 Michael Chastain <chastain@redhat.com>
21871
21872 * mips_pro.exp: Accept either "middle -> top -> main" or
21873 "middle -> main" in the backtrace, because gcc can optimize
21874 tail calls to jumps. Remove setup_xfail for the hppa case.
21875 Add a comment with the original warning messages from PR 3016,
21876 which was filed in 1993, to preserve them for posterity.
21877
9d2e1bab
ND
218782000-11-17 Nick Duffek <nsd@redhat.com>
21879
21880 * lib/gdb.exp (gdb_test): Override timeout with board info.
21881
1aca8eb7
ND
218822000-11-17 Nick Duffek <nsd@redhat.com>
21883
21884 * gdb.base/display.exp: Don't kill running stub. Add "again" to
21885 the second kill and detach messages.
21886
93076499
ND
218872000-11-17 Nick Duffek <nsd@redhat.com>
21888
21889 * configure.in: Add AC_EXEEXT.
21890 * configure: Regenerate.
21891 * Makefile.in (just-check): Export EXEEXT.
21892 * lib/gdb.exp ($EXEEXT): Import from environment.
21893 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
21894 expect "maint dump-me" on Cygwin.
21895 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
21896 $EXEEXT.
21897
30e87cd3
ND
218982000-11-17 Nick Duffek <nsd@redhat.com>
21899
21900 * gdb.base/break.exp: Test backtrace and finish from called
21901 function on all platforms, not just HP-UX.
21902
dc96c6c7 219032000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
21904
21905 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
21906 code from gdb_target_monitor, so it can be used independantly
21907 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 21908
dc96c6c7 219092000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
21910
21911 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
21912 * gdb.base/corefile.exp: Expect the message "Program is being
21913 debugged already" when we send the "corefile" command, since
21914 the preceeding gdb_load may have connected gdb to a remote target.
21915 * gdb.base/display.exp: Disable hardware watchpoints if new
21916 board info variable "no_hardware_watchpoints" is true.
21917 Replace single-letter commands with more readable ones.
21918 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
21919 if new board info variable "no_hardware_watchpoints" is true.
21920 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
21921 to see if stdio (printf) testing is possible.
21922 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
21923 board info variable "no_hardware_watchpoints" is true. Use new
21924 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
21925
39124dea
FN
219262000-11-13 Fernando Nasser <fnasser@redhat.com>
21927
21928 From Orjan Friberg <orjanf@axis.com>:
21929 * gdb.base/printcmds.exp: Escape curly braces followed by a number
21930 in array print pattern match.
21931
a9e2e984
FN
219322000-11-09 Fernando Nasser <fnasser@redhat.com>
21933
21934 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
21935 spelling "cancelled" to U.S. spelling "canceled" to match changes
21936 made to gdb.
21937 * gdb.c++/ovldbreak.exp: Ditto.
21938
c7db355b
PS
219392000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
21940
21941 * gdb.base/callfuncs.c (main): Moved to end of file, call
21942 t_double_values to initialize the FPU before inferior calls are made.
21943 * gdb.base/callfuncs.exp: Test for register preservation after calling
21944 inferior functions. Add tests for continuining, finishing and
21945 returning from a stop in a call dummy.
21946
dc96c6c7 219472000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
21948
21949 * gdb.base/commands.exp: Break up long lines, and re-indent.
21950
dc96c6c7 219512000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
21952
21953 * config/gdbserver.exp: Rewritten from the ground up, to make it
21954 compatible with the current dejagnu tree, and to make it work with
21955 the new "gdbserver" in libremote.
21956
dc96c6c7 219572000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
21958
21959 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
21960 * gdb.base/varargs.exp: Skip entire test if no printf support.
21961 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
21962 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
21963
dc96c6c7 219642000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
21965
21966 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
21967 no floating point support.
21968 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
21969 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
21970 * gdb.base/call-rt-st.exp: Ditto.
21971 * gdb.base/call-strs.exp: Ditto.
21972
bac5fc66
JG
219732000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
21974
21975 * gdb.base/sizeof.c: include <stdio.h>.
21976
21977 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
21978 'finish', otherwise uncaptured gdb_prompt would potentially
21979 throw remaining test points out of sync.
bac5fc66 21980
b22a6027
SB
219812000-07-26 Scott Bambrough <scottb@netwinder.org>
21982
21983 * gdb.base/recurse.exp: Run tests for all targets.
21984 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
21985 gnu-oldld case on ARM.
21986 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
21987 for ARM targets.
d63a86f8 21988
d8231941
AG
21989Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
21990
21991 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
21992 * gdb.java/configure: Rebuild.
21993
8caabe69
AG
21994Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
21995
21996 * gdb.java/jv-exp.exp: New file.
21997
9d273ca3
AG
21998Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
21999
22000 * configure: Rebuilt.
22001 * configure.in (configdirs): Add gdb.java.
22002 * gdb.java/jmisc.java: New file.
22003 * gdb.java/jmisc.exp: New file.
22004 * gdb.java/Makefile.in: New file.
22005 * gdb.java/configure: Rebuilt.
22006 * gdb.java/configure.in: New file.
22007 * lib/java.exp: New file.
22008
4f823a66
AC
22009Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
22010
22011 * gdb.base/exprs.exp: Test casts to a pointer including over and
889bf7c5 22012 underflow.
4f823a66 22013
2391e11d
AC
22014Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
22015
22016 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
889bf7c5 22017 and the compilers sizes.
2391e11d 22018
54602222
ND
220192000-07-09 Nick Duffek <nsd@redhat.com>
22020
22021 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
22022 (use_methods): New function.
22023 (main): Call use_methods().
22024 * gdb.c++/classes.exp (test_method_param_class): New procedure.
22025 (do_tests): Call test_method_param_class.
22026
2bec0572
ND
220272000-07-09 Nick Duffek <nsd@redhat.com>
22028
22029 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
22030 spelling.
22031 (test_enums): New procedure. Move enum tests from end of script
22032 to here. Set breakpoint on function name instead of line number.
22033 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
22034 (enums2): New marker function.
22035 (enums1): New function.
22036 (main): Call enums1(). Move enum tests to enums1().
22037
78492fde
AC
22038Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
22039
22040 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
889bf7c5 22041 compile/link program. Update line numbers.
78492fde
AC
22042 * gdb.asm/d10v.inc: Define ``startup''.
22043 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 22044
49a2cef8
AC
22045Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
22046
22047 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
22048
3e6c8688
EZ
220492000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22050
22051 * gdb.base/maint.exp: Add 'maint print architecture' item to output
889bf7c5 22052 of 'help maint print' command.
3e6c8688 22053
9ff5cbe9
AC
22054Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
22055
22056 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
889bf7c5 22057 they use gdb_expect_list.
9ff5cbe9 22058
17c579bd
AC
22059Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
22060
22061 * gdb.base/commands.exp: Use ``set remote
889bf7c5
PA
22062 memory-read-packet-size'' instead of ``set endian big'' to test
22063 long commands.
17c579bd 22064
e6d71bf3
DB
220652000-06-03 Daniel Berlin <dan@cgsoftware.com>
22066
22067 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 22068 g++, and stop skipping them.
e6d71bf3
DB
22069
22070 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
22071 work under g++.
22072
d63a86f8 22073 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
22074 initialization.
22075
dc96c6c7 220762000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
22077
22078 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
22079 the regular expression: accept an (almost) arbitrary sequence of
22080 "frames-invalid" and "breakpoints-invalid" messages both before
22081 and after the "starting" message.
22082
dc96c6c7 220832000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
22084
22085 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 22086
dc96c6c7 220872000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
22088
22089 * gdb.base/annota1.exp (annotate-signal-handler-caller):
22090 Relax the regular expression a little, make it pass on Solaris 8.
22091
8216cda9
KB
220922000-05-12 Kevin Buettner <kevinb@redhat.com>
22093
22094 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 22095 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
22096 Instead, it is permissible for gdb to stop on the line of the
22097 call itself.
22098
1a570b2f
MS
220992000-05-12 Michael Snyder <msnyder@.cygnus.com>
22100
22101 * gdb.base/break.exp (bp on small function, optimized file):
22102 Add a second pass pattern. The behavior differs here between stabs
22103 and dwarf for one-line functions. Stabs preserves two line symbols
22104 (one before the prologue and one after) with the same line number,
22105 but dwarf regards these as duplicates and discards one of them.
22106 Therefore the address after the prologue (where the breakpoint is)
22107 has no exactly matching line symbol, and GDB reports the breakpoint
22108 as if it were in the middle of a line rather than at the beginning.
22109
dc96c6c7 221102000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 22111
d63a86f8 22112 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
22113 rather than "send_gdb" (for consistancy).
22114
7d418785
AC
22115Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
22116
22117 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
22118 * gdb.c++/templates.cc: Properly check for GCC version number.
22119 * lib/compiler.cc: Likewise
22120
dc96c6c7 221212000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 22122
d63a86f8 22123 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
22124 gdb may not stop at the first line of main, due to code motion.
22125
dc96c6c7 221262000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
22127
22128 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
22129 This test depends on parsing the printf output from the target.
22130 Since the sparclet stub doesn't do stdio, this will never work.
22131 * gdb.base/call-rt-st.exp: ditto.
22132 * gdb.base/call-strs: ditto.
22133
dc96c6c7 221342000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
22135
22136 * gdb.base/miscexprs.exp: make sizeof long array test portable.
22137
22138 * gdb.base/ending-run.exp: After connecting to a remote target,
22139 but before running, the target will appear to be in a random
22140 location. Specify both a file and a line for breakpoints.
22141 Also, the function that calls main may be called 'init'
22142 rather than 'start'.
22143
a5a51225
EZ
221442000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22145
22146 * gdb.base/help.exp: Update output for add-symbol-file command.
22147
7930cc7c
FN
221482000-04-10 Fernando Nasser <fnasser@cygnus.com>
22149
22150 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
22151 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
22152
23e37ab1
C
221532000-04-07 J.T. Conklin <jtc@redback.com>
22154
e93c542c
C
22155 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
22156
23e37ab1
C
22157 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
22158
591b8fa3
PDM
22159Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
22160
22161 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
889bf7c5 22162 values that can be represented exactly.
591b8fa3
PDM
22163 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
22164 above change, and to not check against the directory part of the source
22165 file name.
22166 (step into print_long_arg_list): Likewise.
22167 (print print_small_structs from print_long_arg_list): Likewise.
22168 (print print_long_arg_list): Likewise.
22169
7a495180
EZ
221702000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22171
30b53638 22172 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 22173
beb998c6
AC
22174Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
22175
22176 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
22177
1c689132
DB
221782000-03-25 Daniel Berlin <dan@cgsoftware.com>
22179
22180 * gdb.base/commands.exp (deprecated_command_test): Add test for
22181 deprecate with no arguments.
22182
c1790a9d
JL
221832000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
22184
22185 * gdb.base/break.exp: Add new test for setting breakpoints on
22186 optimized code so we can test breakpoints work even when function
22187 prologues may be optimized away
22188
003ba290
FN
221892000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
22190
22191 From David Whedon <dwhedon@gordian.com>
a9c64011 22192 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 22193
6837a0a2
DB
221942000-03-22 Daniel Berlin <dan@cgsoftware.com>
22195
22196 * gdb.base/help.exp: Added test for new apropos command.
22197
b9593231
KB
221982000-03-21 Kevin Buettner <kevinb@redhat.com>
22199
22200 * gdb.base/pointers.c (usevar): New function.
22201 (main): Make sure that global variables v_int_pointer2, rptr,
22202 and y are all referenced someplace in the program by calling
22203 usevar() on them. [Some linkers delete symbols which are
22204 never referenced. The space remains, but there's no way to
22205 get a (symbolic) handle on the variable from the debugger.]
22206
751a959b
EZ
222072000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22208
22209 * gdb.base/printcmds.c: Add typedeffed arrays.
22210
22211 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
889bf7c5 22212 procedure to test arrays that are typedef'd.
751a959b 22213
73a93a32
JI
222142000-03-13 James Ingham <jingham@leda.cygnus.com>
22215
22216 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 22217 the library directories.
73a93a32 22218
fb40c209
AC
22219Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
22220
22221 * configure.in (configdirs): Add sub directory gdb.mi.
22222 * configure: Re-generate.
22223
22224 * gdb.mi: New directory.
d63a86f8 22225
ee4dd2c9
AC
222262000-02-25 Scott Bambrough <scottb@netwinder.org>
22227
22228 * gdb.base/long_long.exp: Correct test suite failure when printing
889bf7c5 22229 a long long value as a double on ARM platforms.
ee4dd2c9 22230
70f0cc22
JB
222312000-02-16 Jim Blandy <jimb@redhat.com>
22232
22233 * gdb.base/break.exp ("breakpoint line number"): Make sure the
22234 default source file is set properly before running this test.
22235
853819b8
EZ
222362000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22237
22238 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
889bf7c5 22239 gdbtk/library directory, not in gdbtcl2.
853819b8 22240
dfcd3bfb
JM
222412000-02-04 Jim Blandy <jimb@redhat.com>
22242
22243 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
22244 backslash from regexp pattern.
22245
22246 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
22247 procedure. Use it to run all the "continue to bp overloaded"
22248 tests. Note that this changes the names of the tests slightly.
22249 If the breakpoint hit message includes a hex PC value, because
22250 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
22251 from the real source code, still consider that a pass.
22252
22253 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
22254 XFAIL here if the breakpoint message contains a hex address. Note
22255 similar change on 1999-11-02.
22256
22257 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
22258
22259 * gdb.base/ptype.exp: Establish a default source file before
22260 calling get_debug_format.
22261
222622000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
22263
22264 * gdb.base/watchpoint.exp: Remove duplication of test messages.
22265
8b93c638
JM
222662000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
22267
22268 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
22269 of successive stepi commands -- while in the prologue we should see
22270 the function entry bracket.
22271
222722000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
22273
22274 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
22275 reach __change_mode() when stepping through the end of main().
22276
c5394b80
JM
222772000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
22278
22279 * gdb.base/default.exp: Fix expected pattern.
22280 * gdb.base/help.exp: Same.
22281
0d06e24b
JM
222822000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22283
22284 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
889bf7c5 22285 Don't use xfail's because that affects only the following test.
d63a86f8 22286
0d06e24b 22287 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
889bf7c5 22288 solaris or linux.
0d06e24b
JM
22289
22290 * gdb.base/selftest.exp: Update to reflect changes to main.c.
22291
dc96c6c7 222922000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 22293
d63a86f8 22294 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
22295 "A syntax error" rather than "A parse error". Accept both.
22296
222972000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
22298
22299 * gdb.base/default.exp: Remove OS dependent string from "target
22300 remote" test.
22301 * gdb.base/help.exp: Same for "help target remote" test.
22302
c3f6f71d
JM
223032000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22304
22305 From Jim Kingdon <kingdon@redhat.com>:
22306
22307 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
889bf7c5
PA
22308 prompt (cleanup rather than necessity, but still might keep output
22309 from spilling to next test).
c3f6f71d
JM
22310
223112000-01-02 Fred Fish <fnf@cygnus.com>
22312
22313 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
22314 AIX, which defines them in <sys/types.h>.
22315
ed9a39eb 223161999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 22317
ed9a39eb 22318 * gdb.base/default.exp: Match arm* etc instead of arm in "info
889bf7c5 22319 float" test.
ed9a39eb
JM
22320
223211999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 22322
ed9a39eb 22323 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
22324
22325 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
22326 outermost frame disallowed".
22327
223281999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
22329
22330 * gdb.base/setvar.exp: New tests for setting the value of a struct
22331 with a constant list.
22332
223331999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
22334
22335 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
22336 require the user to type a cast before setting the value of a struct.
22337
de57eccd
JM
223381999-12-06 Jim Blandy <jimb@cygnus.com>
22339
22340 * gdb.base/default.exp: Expect the new 'info float' command on
22341 all i386 platforms.
22342
22343 * gdb.threads/linux-dp.exp: Expand our ability to recognize
22344 LinuxThreads libraries that don't support debugging.
22345
c2d11a7d
JM
22346Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
22347
22348 * gdb.base/remote.c: Fill the buffer with truely random data.
889bf7c5
PA
22349 Change the buffer type to ``unsigned char'' to simplify size
22350 arithmetic.
c2d11a7d
JM
22351
22352 * gdb.base/remote.exp: Reduce download numbers by one. Typical
889bf7c5
PA
22353 stub only handles 400-1 byte packets. Verify that the download
22354 worked.
c2d11a7d
JM
22355
223561999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
22357
22358 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
22359 tests, using UNRESOLVED for the untested cases. Also, does not wait
22360 for a timeout if the prompt was received before a recognizable pattern.
22361
223621999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
22363
22364 * lib/gdb.exp (gdb_expect_list): Fix spelling.
22365
223661999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22367
22368 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
889bf7c5 22369 watchpoints.
c2d11a7d
JM
22370
223711999-11-24 Jason Merrill <jason@casey.cygnus.com>
22372
22373 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
22374
22375 * gdb.c++/local.exp: Be more flexible in recognizing local class
22376 name mangling. Don't allow horribly truncated method names.
22377 * gdb.c++/derivation.exp: Expect protected inheritance.
22378 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
22379 * gdb.c++/virtfunc.exp: Likewise.
22380 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
22381 when printing a nested enum.
22382
223831999-11-22 Jim Blandy <jimb@cygnus.com>
22384
22385 * gdb.base/step-test.exp: Properly await GDB's response to setting
22386 a breakpoint on the call to large_struct_by_value.
22387
22388 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
22389 just because we have debug info for the `start' function.
22390
223911999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
22392
22393 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
22394 "Unknown signal" messages, which indicate (on LinuxThreads) that
22395 GDB doesn't know how to debug threads on this system. This is
22396 better than hanging while philosopher 0 dumps chatter into gdb.log.
22397
223981999-11-18 Tom Tromey <tromey@cygnus.com>
22399
22400 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
22401
224021999-11-18 Fred Fish <fnf@cygnus.com>
22403
22404 * gdb.base/coremaker2.c: Add sample program for generating
22405 cores that is more self contained than coremaker.c. Eventually
22406 I'll add more code to this and tie it into the testsuite.
22407
4ce44c66
JM
224081999-11-12 Stan Shebs <shebs@andros.cygnus.com>
22409
22410 * gdb.base/dollar.exp: Remove, now in gdb.hp.
22411
224121999-11-10 Jimmy Guo <guo@cup.hp.com>
22413
22414 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
889bf7c5 22415 from $srcdir/lib/.
4ce44c66 22416 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
889bf7c5 22417 and gdb.c++/.
4ce44c66
JM
22418
22419 * gdb.c++/derivation.exp: remove redundant get compiler info code.
22420
d63a86f8 22421 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
22422 'continue with watch' test point.
22423
224241999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
22425
22426 Merged from p2linux-990323-branch:
d63a86f8 22427
4ce44c66
JM
22428 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
22429
11cf8741
JM
22430Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
22431
22432 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
889bf7c5 22433 {limit,fixed}''. Test ``set download-write-size''.
11cf8741
JM
22434
22435Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
22436
22437 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
889bf7c5 22438 gdb_expect_list.
11cf8741
JM
22439
22440Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
22441
22442 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
22443
224441999-11-03 Mark Salter <msalter@cygnus.com>
22445
22446 * gdb.base/break.exp: Fix "stub continue" pattern.
22447
224481999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
22449
22450 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
22451
224521999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
22453
22454 * gdb.base/display.exp ("finish"): Add timeout clause.
22455
22456 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
22457 plain prompt clause, so this doesn't have to time out in order to
22458 fail.
22459
22460 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
889bf7c5 22461 breakpoint hit messages include an address.
11cf8741
JM
22462
22463 * gdb.base/display.exp: Don't forget to escape parens in regular
22464 expressions. Unix regexp notatation sucks.
22465
224661999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22467
22468 * gdb.base/annota1.exp: Test for annotate-signalled: change output
889bf7c5 22469 order for 'signalled' message.
11cf8741 22470
5c44784c
JM
224711999-11-01 Stan Shebs <shebs@andros.cygnus.com>
22472
22473 From Jimmy Guo <guo@cup.hp.com>:
22474 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
22475 * gdb.base/annota1.c: Add code for tests to work with.
22476
224771999-10-26 Frank Ch. Eigler <fche@cygnus.com>
22478
22479 * gdb.base/remote.exp: New test for remote downloading settings.
22480 * gdb.base/remote.c: New file with large .data.
22481
917317f4
JM
224821999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
22483
22484 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
22485 for LinuxThreads support, merged from the Code Fusion branch.
22486
22487Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
22488
22489 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
889bf7c5
PA
22490 containing exp_continue into a while within an expect. Don't
22491 attempt a start more than three times. Check return value from
22492 gdb_load.
d63a86f8 22493
2df3850c
JM
22494Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
22495
22496 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
889bf7c5 22497 a pass case.
2df3850c 22498
2acceee2
JM
224991999-10-01 Kevin Buettner <kevinb@cygnus.com>
22500
22501 * gdb.base/break.c (main): Added a statement that we can step
22502 off of.
22503 * gdb.base/break.exp: Added tests for setting a breakpoint
22504 at an offset and stepping onto a breakpoint.
22505
225061999-10-01 Fred Fish <fnf@cygnus.com>
22507
d63a86f8 22508 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
22509 gdb output.
22510
c2c6d25f
JM
225111999-09-18 Jim Blandy <jimb@cris.red-bean.com>
22512
22513 * gdb.base/break.exp: Code locations are in hex, don't forget!
22514 (For HP-UX.)
22515
225161999-09-17 Stan Shebs <shebs@andros.cygnus.com>
22517
22518 * condbreak.exp: Use break.c as test program.
22519 * condbreak.c: Remove, redundant with break.c.
22520
225211999-09-15 Stan Shebs <shebs@andros.cygnus.com>
22522
22523 * config/monitor.exp (gdb_target_monitor): Disable X- and
889bf7c5 22524 Z-packets if the target needs it.
c2c6d25f
JM
22525
225261999-09-13 James Ingham <jingham@leda.cygnus.com>
22527
22528 * gdb.c++/overload.exp: Added tests for listing overloaded
22529 functions with function pointers in the arg, explicitly calling
22530 out the version you want.
22531
cff3e48b
JM
225321999-09-09 Stan Shebs <shebs@andros.cygnus.com>
22533
22534 * long_long.exp: Add variations of test cases that work for
22535 targets with 16-bit ints and 32-bit doubles.
22536
d4f3574e
SS
225371999-09-08 Stan Shebs <shebs@andros.cygnus.com>
22538
22539 * break.c (main): Compare a possibly-uninitialized argc with an
22540 unlikely value that fits in 16 bits.
22541
225421999-09-07 Stan Shebs <shebs@andros.cygnus.com>
22543
22544 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
22545 0xfeeb, don't want negative numbers if ints are 16 bits.
22546
22547 * lib/gdb.exp (skip_cplus_tests): New proc.
22548 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
889bf7c5
PA
22549 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
22550 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
22551 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
22552 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
22553 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
22554 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
22555 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
d4f3574e
SS
22556
22557 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
22558
22559Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
22560
22561 * gdb.base/corefile.exp (up): Allow a parameter to appear
22562 in the frame that we're going up to.
22563
22564 From Jim Blandy <jimb@cygnus.com>:
22565
22566 * gdb.base/default.exp (info float): Expect some output now.
22567
22568 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
22569 returning floating-point values to fail on the x86.
22570 * gdb.base/callfwmall.exp (do_function_calls): Same.
22571
22572 * gdb.base/list.exp (test_listsize): Correct expectations for
22573 listing line 1 with listsize 2. Also, listing a single line
22574 works now, as does listing three lines. [Kevin's note: There
22575 were a number of other cases fixed too where the expectations
22576 differed...]
22577
225781999-09-02 Stan Shebs <shebs@andros.cygnus.com>
22579
22580 * gdb.base/selftest.exp: Add case for when version prints as
22581 constant string instead of char pointer.
22582
104c1213
JM
225831999-08-25 Stan Shebs <shebs@andros.cygnus.com>
22584
22585 * gdb.base/ending-run.exp: Add Solaris case for what happens when
889bf7c5 22586 stepping out of main.
104c1213
JM
22587
22588 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
22589 G++ used.
22590
22591 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
889bf7c5 22592 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
104c1213
JM
22593
22594 * gdb.c++/ovldbreak.exp: Update match string in test that
22595 includes a warning of multiple breakpoints.
22596
225971999-08-24 Stan Shebs <shebs@andros.cygnus.com>
22598
22599 * gdb.base/display.exp: Improve precision of step-after-finish
22600 added yesterday.
22601
22602 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
889bf7c5 22603 test.
104c1213
JM
22604
22605 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
22606 configs when using G++, not just hppa*.
22607
226081999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22609
22610 * gdb.base/async.c: New file.
22611 * gdb.base/async.exp: New file.
22612
22613Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
22614
22615 * gdb.base/break.exp: Tweak PA specific tests to properly handle
22616 PA64.
22617
53a5351d
JM
22618Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
22619
104c1213
JM
22620 * gdb.base/display.exp: "finish" can leave us mid-line on many
22621 targets, deal with it. Add a small constant to main, instead of
22622 1000 since main+1000 may not be a valid address in the target.
22623
53a5351d
JM
22624 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
22625 on hpux11.
22626
22627 * gdb.base/attach.exp: Handle another hpux11 error message variant
22628 when attaching to a process that does not exist.
22629
226301999-08-19 J.T. Conklin <jtc@redback.com>
22631
22632 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
889bf7c5 22633 characters in 'continue to 1241' test.
53a5351d
JM
22634
226351999-08-17 Stan Shebs <shebs@andros.cygnus.com>
22636
22637 * gdb.base/call-ar-st.exp: Add a shorter match case for the
22638 stop in print_long_arg_list, define and use a whitespace
22639 variable in print_small_structs test, add an XFAIL for Solaris.
22640 * gdb.base/dbx.exp: XFAIL func commands until somebody is
22641 interested enough to fix.
22642
7be570e7
JM
226431999-08-13 Keith Seitz <keiths@cygnus.com>
22644
22645 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
22646 (dbx_gdb_load): Remove. Use gdb_load instead, since that
22647 proc knows about targets other than the natives.
22648 (test_assign): Use "gdb_run_cmd" to "run" the target.
22649 Check that we've actually hit the breakpoint at main.
22650 When we attempt to assign a value to a local variable, check
22651 that the variable is in the current scope, i.e., don't use
22652 a test with an empty result.
22653
22654Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
22655
22656 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
889bf7c5 22657 command.
7be570e7
JM
22658
226591999-08-09 Stan Shebs <shebs@andros.cygnus.com>
22660
22661 From Jimmy Guo <guo@cup.hp.com> and others at HP:
22662 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
22663 gdb.compat, gdb.threads-hp.
22664 gdb.hp/configure, gdb.hp/configure.in: New files.
22665 gdb.hp/Makefile.in: Recurse into new subdirs.
22666 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
22667 gdb.hp/gdb.objdbg: New directory, tests for debugging info
22668 in object files.
22669 gdb.hp/tools: New directory, aux tools for HP-specific tests.
22670
96baa820
JM
226711999-08-05 Stan Shebs <shebs@andros.cygnus.com>
22672
22673 * gdb.base/display.exp: Help expect by putting a newline in the
889bf7c5 22674 funky printf, remove a bogus p/a test.
96baa820
JM
22675
226761999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22677
22678 * gdb.base/display.exp: Make sure that when we say 'run', we are
889bf7c5
PA
22679 connected to the target. This is necessary when running not
22680 natively.
96baa820
JM
22681
226821999-08-03 Stan Shebs <shebs@andros.cygnus.com>
22683
22684 * gdb.base/step-test.exp: Removed some extraneous messages.
22685
22686 * gdb.base/long_long.exp: Don't run memory examination tests
22687 on little-endian targets (they will need a different set of
22688 results to match).
22689
226901999-08-02 Stan Shebs <shebs@andros.cygnus.com>
22691
22692 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
22693 until somebody decides to fix GDB.
22694
22695 * gdb.base/long_long.c: Stop compiler complaint by specifying long
889bf7c5 22696 constant as "ULL".
96baa820
JM
22697 * gdb.base/long_long.exp: Loosen x/c test, add partial result
22698 matches for a couple x/2 commands.
22699
a0b3c4fd
JM
227001999-07-30 Stan Shebs <shebs@andros.cygnus.com>
22701
22702 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
22703 by merging in ref-types2 tests.
22704 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
22705
22706 From Jimmy Guo <guo@cup.hp.com> and others at HP:
22707 * gdb.c++/Makefile.in: Add standard actions.
22708 (EXECUTABLES): Rename from PROGS, update list.
22709 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
22710 from gdb.hp.
22711 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
22712 foo and bar locals.
22713 * gdb.c++/anon-union.exp: Fix tests to match.
22714 * gdb.c++/classes.exp: Run if HP compiler used, add extra
22715 expect matches to handle output variations.
22716 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
22717 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
889bf7c5 22718 output, add HP alternatives for new and delete prints.
a0b3c4fd 22719 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
889bf7c5 22720 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
a0b3c4fd
JM
22721 * gdb.c++/demangle.exp: Use $style when reporting failure.
22722 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
22723 * gdb.c++/inherit.exp: Run if HP compiler used, add some
22724 match alternatives.
22725 * gdb.c++/local.exp: Add match alternatives or xfails for HP
889bf7c5 22726 compilers.
a0b3c4fd
JM
22727 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
22728 * gdb.c++/method.exp: Add match alternatives.
22729 * gdb.c++/misc.cc: Add bool types.
22730 * gdb.c++/misc.exp: Add tests for bool types.
22731 * gdb.c++/overload.exp: Add xfails.
22732 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
22733 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
22734 add some more template parameter tests (only for HP currently).
22735 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
22736 * gdb.c++/virtfunc.cc: Add return type and value for main.
22737 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
22738 match alternatives.
d63a86f8 22739
a0b3c4fd
JM
227401999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22741
22742 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
22743
227441999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
22745
22746 * gdb.base/signals.exp: Don't expect getting a backtrace from
22747 within a signal handler to fail on Linux.
22748
227491999-07-29 Stan Shebs <shebs@andros.cygnus.com>
22750
22751 From Jimmy Guo <guo@cup.hp.com> and others at HP:
22752 * lib/gdb.exp: Remove some gratuitious semicolons.
22753 (delete_breakpoints): Increase timeout.
22754 (gdb_expect): Add -notransfer option.
22755 (gdb_test): Use -notransfer option.
22756 (get_compiler_info): Add f77 case.
22757 (get_compiler): New proc, split out from gdb_preprocess, add f77
889bf7c5 22758 case.
a0b3c4fd
JM
22759 (gdb_preprocess): Call get_compiler.
22760
22761 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
22762 * gdb.base/attach.exp, gdb.base/display.exp,
889bf7c5
PA
22763 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
22764 gdb.base/long_long.exp, gdb.base/printcmds.exp,
22765 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
22766 third arg to gdb_test.
a0b3c4fd
JM
22767 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
22768 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
889bf7c5 22769 HP-UX xfails, add others.
a0b3c4fd
JM
22770 * gdb.base/completion.exp: Reflect name change of self-test.
22771 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
889bf7c5
PA
22772 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
22773 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
22774 HP failure number.
a0b3c4fd
JM
22775 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
22776 useless HP-UX 10.30 references.
22777 * gdb.base/maint.exp: Loosen matches.
22778 * gdb.base/pointers.c (main): Declare more_code.
22779 * gdb.base/pointers.exp: Match on output of a `next'.
22780 * gdb.base/structs.c: Add prototypes.
22781 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
22782 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
22783
227841999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22785
22786 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
889bf7c5 22787 command.
a0b3c4fd
JM
22788
227891999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22790
22791 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
22792 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
22793
22794 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
22795 debug info. Deal with lack of signal hanlder info in stack.
22796
a9c64011 22797 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
22798 * gdb.base/annota1.exp: If printf has debug info, deal with it.
22799
5a2468f5
JM
228001999-07-19 Stan Shebs <shebs@andros.cygnus.com>
22801
22802 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
889bf7c5 22803 gdb.base/foll-vfork.exp: Don't run for crosses.
5a2468f5 22804
adf40b2e
JM
22805Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
22806
22807 * gdb.base/configure.in: Check for gdbvars.exp instead of
889bf7c5 22808 a1-selftest.exp.
adf40b2e
JM
22809 * gdb.base/configure: Re-generate.
22810
228111999-07-12 Stan Shebs <shebs@andros.cygnus.com>
22812
22813 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
22814 in trying to run first and name is too long.
22815
22816 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
22817 pointers2.c and pointers2.exp, respectively.
22818 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
22819 doschk happier.
22820
43e526b9
JM
228211999-07-08 Stan Shebs <shebs@andros.cygnus.com>
22822
22823 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
22824 callfuncs2.c and callfuncs2.exp.
22825
22826 * gdb.base/list.exp: Remove mistaken xfails.
22827 * gdb.base/list0.h: Add optional prototypes.
22828
9846de1b
JM
22829Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
22830
a9c64011 22831 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
889bf7c5 22832 calling malloc.
a9c64011
AS
22833 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
22834 * ptype.exp: Move test for get_debug_format to before its first
889bf7c5 22835 use.
9846de1b
JM
22836
228371999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22838
22839 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
22840 * gdb.base/annota2.cc, annota2.exp: Move from here.
22841 * gdb.c++/annota2.cc, annota2.exp: To here.
22842 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
22843
43ff13b4
JM
22844Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
22845
22846 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
889bf7c5 22847 a consistent format.
43ff13b4 22848
085dd6e6
JM
228491999-06-25 Stan Shebs <shebs@andros.cygnus.com>
22850
22851 From Jimmy Guo <guo@cup.hp.com> and others at HP:
22852 * lib/gdb.exp (get_compiler_info): Add detection for assorted
22853 HP compilers, also set the globals $true and $false.
22854
22855 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
889bf7c5
PA
22856 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
22857 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
22858 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
22859 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
22860 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
22861 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
22862 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
22863 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
22864 whatis.c} Add C++ compatible function definitions and return
22865 types, add includes for library functions.
085dd6e6
JM
22866 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
22867 * gdb.base/step-test.c (myglob): Rename from glob.
22868 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
889bf7c5
PA
22869 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
22870 files, move here from gdb.hp.
085dd6e6 22871 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
889bf7c5
PA
22872 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
22873 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
22874 Adjust line numbers in regexps.
085dd6e6
JM
22875
22876 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
22877 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
22878 instead of 0/1.
22879
22880 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
22881 foll-vfork.exp: New files, move here from gdb.hp.
22882 * gdb.base/page.exp: New file, test of pagination command.
22883
22884 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
22885 recursion test.
22886 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
22887
22888 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
889bf7c5 22889 gdb.base/solib.exp: Fix compiler invocation process.
085dd6e6
JM
22890
22891 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
889bf7c5 22892 HP-UX 11, turn off overload resolution explicitly.
085dd6e6 22893 * gdb.base/commands.exp: Set argument list explicitly, add
889bf7c5 22894 watchpoint test.
085dd6e6
JM
22895 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
22896 them work.
22897 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
22898 expressions properly.
22899 * gdb.base/corefile.exp: Loosen the match slightly.
22900 * gdb.base/default.exp: Allow "Error accessing memory" message
22901 also.
22902 * gdb.base/display.exp: Skip over x/0 j if PA64.
22903 * gdb.base/funcargs.exp: Add xfails for HP-UX.
22904 * gdb.base/interrupt.exp: Ditto.
22905 * gdb.base/langs.exp: Add symbolic matches governed by compiler
22906 in use.
22907 * gdb.base/list.exp: Add xfails for HP-UX.
22908 * gdb.base/long_long.exp: Refine some of the numeric matches.
22909 * gdb.base/mips_pro.exp: Xfail on HP-UX.
22910 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
22911 * gdb.base/nodebug.exp: Succeed on more varieties of output.
22912 * gdb.base/opaque.exp: Remove some HP-UX xfails.
22913 * gdb.base/ptype.exp: Succeed on more varieties of output.
22914 * gdb.base/scope.exp: Add xfails for HP-UX.
22915 * gdb.base/sect-cmd.exp: Add more cases.
22916 * gdb.base/setvar.exp: Add xfails for HP-UX.
22917 * gdb.base/shlib-call.exp: Loosen some matches slightly.
22918 * gdb.base/signals.exp: Match on void symbolically.
22919 * gdb.base/step-test.exp: Add case for PA64.
22920 * gdb.base/term.exp: Add exit and restart.
22921 * gdb.base/twice.exp: Clean up after self.
22922 * gdb.base/varargs.exp: Disable overload resolution explicitly.
22923 * gdb.base/whatis.exp: Allow more ways to pass tests.
22924
22925 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
889bf7c5 22926 no longer useful.
085dd6e6
JM
22927
22928Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
22929
22930 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
889bf7c5 22931 list of patterns.
085dd6e6 22932 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
889bf7c5
PA
22933 print_double_array(double_array)", "continuing to breakpoint
22934 1018", "print print_double_array(array_d)" and "continuing to
22935 1034" tests.
d63a86f8 22936
085dd6e6
JM
229371999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
22938
a9c64011 22939 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
22940
229411999-06-24 Stan Shebs <shebs@andros.cygnus.com>
22942
22943 * config/mt-*: Remove, these haven't been used since 1996.
22944
229451999-06-22 Stan Shebs <shebs@andros.cygnus.com>
22946
22947 * gdb.base/call-strs.c, gdb.base/ending-run.c,
889bf7c5 22948 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
085dd6e6
JM
22949 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
22950
9e0b60a8
JM
229511999-06-18 Stan Shebs <shebs@andros.cygnus.com>
22952
22953 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
22954 simpler match case for the ptype of the big class.
22955
229561999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
22957
22958 * gdb.exp: Fix test for gdb_prompt existence.
22959
229601999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
22961
22962 * gdb.exp (gdb_test): Add fail after calls to perror.
22963
229641999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
22965
22966 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
22967
229681999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
22969
22970 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
22971
0f71a2f6
JM
22972Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
22973
22974 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
889bf7c5 22975 malloc() is linked in.
0f71a2f6
JM
22976
229771999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
22978
22979 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
22980 step at end.
22981
22982 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
22983
229841999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
22985
22986 * gdb.java/jv-print.exp: New file. (Our first Java test!)
22987
cce74817
JM
22988Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
22989
22990 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
22991 * gdb.base/mips_pro.exp: Likewise.
22992
229931999-06-02 Keith Seitz <keiths@cygnus.com>
22994
22995 * gdb.c++/templates.cc: Change all "new" operators to throw
22996 an exception.
22997 * gdb.c++/cplusfuncs.cc: Likewise.
22998
22999 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
23000
23001Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
23002
23003 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
23004 * gdb.base/ending-run.exp: When stepping out of main, accept a
23005 step into an arbitrary assembler file.
cce74817 23006
392a587b
JM
230071999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23008
d63a86f8 23009 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 23010 "breakpoint-invalid" to be printed.
d63a86f8 23011 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
23012 number of "frames-invalid" and "breakpoint-invalid" to be printed.
23013 * gdb.base/annota2.cc: Initialize a.x to 0.
23014
9e086581
JM
230151999-05-17 Keith Seitz <keiths@cygnus.com>
23016
23017 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
23018 when "skip_float_tests" set.
23019 Ditto for "print print_double_array(array_d)", "print print_small_structs",
23020 "print print_ten_doubles", and "step into print_long_arg_list".
23021 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
23022 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
23023 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
23024 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
23025 "skip_float_tests" is set.
23026 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
23027 when "skip_float_tests" set.
d63a86f8 23028
cd0fc7c3
SS
230291999-05-06 Keith Seitz <keiths@cygnus.com>
23030
23031 * gdb.base/annota2.cc: Include stdio.h.
23032
23033Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
23034
23035 * gdb.base/crossload.exp: Remove, this has been disabled ever
23036 since BFD stopped including all targets, and cross-GDB gets
23037 plenty of testing anyway.
23038 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
889bf7c5
PA
23039 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
23040 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
cd0fc7c3
SS
23041 * gdb.base/README: Remove, was doc for this.
23042 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
889bf7c5 23043 needed.
cd0fc7c3 23044
b83266a0
SS
230451999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23046
23047 * gdb.base/call-ar-st.exp: Fix one regular expression in test
23048 output.
23049
23050 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
23051 * gdb.base/annota2.exp: New file. More annotation tests.
23052 * gdb.base/annota1.c: New file. Source file for annota1.exp.
23053 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
23054
230551999-04-23 Angela Marie Thomas <angela@cygnus.com>
23056
23057 * config/cfdbug.exp: New file.
23058
7a292a7a
SS
230591999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
23060
23061 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
23062 Marcus Daniel's and Dale Hawkins's demangler crashes.
23063
23064 * gdb.c++/demangle.exp (test_gnu_style_demangling,
889bf7c5
PA
23065 test_lucid_style_demangling, test_arm_style_demangling,
23066 test_hp_style_demangling): Try Tom Tromey's core-dumping
23067 identifier under each demangling style.
7a292a7a
SS
23068
230691999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
23070
23071 * gdb.c++/demangle.exp: Include the current demangling style
23072 in all test names.
23073 (current_demangling_style): New global variable.
23074 (set_demangling_style, test_demangling_core, test_demangling,
23075 test_demangling_exact): New functions.
23076 (test_gnu_style_demangling, test_lucid_style_demangling,
23077 test_arm_style_demangling, test_hp_style_demangling): Use those,
23078 instead of calling gdb_test and gdb_test_exact directly.
23079 (catch_demangling_errors): New function, which reports errors
23080 signalled by the demangling test functions in an orderly way.
23081 (do_tests): Use catch_demangling_errors.
23082
230831999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
23084
23085 * gdb.base/signals.exp (test_handle_all_print): Use () for
889bf7c5 23086 grouping in expressions, not {}.
7a292a7a
SS
23087
23088 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
889bf7c5 23089 initialized yet.
7a292a7a
SS
23090
230911999-04-01 Stan Shebs <shebs@andros.cygnus.com>
23092
23093 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
23094 are listed.
23095
230961999-03-26 Stan Shebs <shebs@andros.cygnus.com>
23097
23098 * gdb.stabs/weird.exp: Test for CC being defined before
23099 looking at its value.
23100
231011999-03-25 Stan Shebs <shebs@andros.cygnus.com>
23102
23103 * gdb.base/call-ar-st.exp: Remove stray '#'.
23104 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
23105 "short int" and "long int".
23106 * gdb.c++/overload.cc: Cast the string added in the previous
889bf7c5 23107 change, to mollify finicky HP compiler.
7a292a7a
SS
23108 * gdb.hp/reg-test.exp (testfile): Fix file name.
23109 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 23110
7a292a7a
SS
23111 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
23112 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
23113 alternate form of enum ptype.
23114
c906108c
SS
231151999-03-23 Stan Shebs <shebs@andros.cygnus.com>
23116
7a292a7a
SS
23117 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
23118 * gdb.hp/*.exp: Change all to run compiler probe only after
889bf7c5
PA
23119 passing skip_hp_tests, so as not to waste time on guaranteed
23120 failure.
7a292a7a 23121
c906108c
SS
23122 * gdb.c++/overload.cc: Pass string instead of char addr, always
23123 init ccpfoo.
23124 * gdb.c++/templates.cc: Fix syntax error.
23125
7a292a7a
SS
23126Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23127
23128 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 23129 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
23130 command.
23131
231321999-03-18 James Ingham <jingham@cygnus.com>
23133
23134 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
23135
23136 * gdb.c++/method.exp: It was testing an uninitialized int on the
23137 stack and assuming it was positive.
23138
23139 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
23140
23141 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 23142 keep it from killing the rest of the tests.
7a292a7a
SS
23143 Use gdb_continue_to_end.
23144
23145 * gdb.base/sigall.exp: use gdb_continue_to_end.
23146
23147 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
23148
23149 * gdb.base/display.exp: use runto_main, not run.
23150
d63a86f8
RM
23151 * gdb.base/default.exp: Check for the current error message in the
23152 r abbreviation test.
7a292a7a
SS
23153 Add strongarm to the targets that know info float.
23154
d63a86f8 23155 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
23156 run which doesn't work with monitors.
23157
23158 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
23159
23160 * gdb.base/break.exp: use the gdb_continue_to_end proc.
23161
23162 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
23163 program. Traps the case (in Cygmon) when the program never really
23164 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
23165 more places, so I used my name. Sorry Mark...
23166
23167 * config/monitor.exp (gdb_target_monitor): added another
23168 target_info parameter: remotebinarydownload. This will set the
23169 remotebinarydownload flag if this is causing some boards trouble.
23170
231711999-03-18 Mark Salter <msalter@cygnus.com>
23172
23173 * lib/gdb.exp (continue_to_exit): New function.
23174
23175 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
23176 * gdb.base/ending-run.exp: Ditto.
23177 * gdb.base/step-test.exp: Ditto.
23178
231791999-03-16 Stan Shebs <shebs@andros.cygnus.com>
23180
23181 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
23182 (suggested by Art Haas <ahaas@neosoft.com>).
23183
231841999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
23185
889bf7c5 23186 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7a292a7a
SS
23187
23188Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
23189
23190 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
889bf7c5 23191 descriptions of types (short unsigned int vs unsigned short, etc).
7a292a7a
SS
23192
231931999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
23194
23195 * gdb.base/call-strs.exp: Don't assume that `step' will step over
23196 a call to strlen; sometimes we do have sources.
23197
231981999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
23199
23200 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
889bf7c5 23201 character, so GDB won't print garbage after its end.
d63a86f8 23202
c906108c
SS
23203 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
23204 breakpoint there instead. Sometimes GCC emits memcpy to handle
23205 the large structures being passed by value, so we step into that
23206 instead of sum_array_print, which obscures what we're really testing.
23207 * gdb.base/step-test.exp: However, we do want a test that notices
889bf7c5
PA
23208 the bizarre steps into memcpy, so do that here. Add check for
23209 stepping into function calls that pass large structures by value.
23210 ("Is that a noun clause, or are you just happy to see me?")
c906108c
SS
23211 Remove all references to specific line numbers.
23212 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
23213 New type and function.
23214 (main): Call large_struct_by_value, passing it a large struct by value.
23215 * lib/gdb.exp (gdb_get_line_number): New function.
23216
23217 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
23218 more portable.
23219
7a292a7a
SS
232201999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
23221
c906108c
SS
23222 * lib/gdb.exp: Doc fixes.
23223
7a292a7a
SS
232241999-03-05 Nick Clifton <nickc@cygnus.com>
23225
d63a86f8 23226 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
23227
232281999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
23229
c906108c 23230 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
889bf7c5
PA
23231 commands. They're not germane to this test, and they don't work
23232 that way on remote targets.
c906108c 23233
3fc11d3e
JM
232341999-03-01 James Ingham <jingham@cygnus.com>
23235
23236 * Changelog entries merged over from gdb development branch.
23237
3fc11d3e
JM
23238 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
23239
23240 * lib/gdb.exp (gdbtk_analyze_results): Generic function
23241 for outputting results of test run.
23242
2d4a1622 23243 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
23244
23245 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 23246
7a292a7a
SS
232471999-02-25 Felix Lee <flee@cygnus.com>
23248
23249 * lib/gdb.exp (debug_format): initialize
23250
c906108c
SS
232511999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
23252
23253 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
23254 * gdb.base/call-rt-st.c: Ditto.
23255
c906108c
SS
232561999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
23257
23258 * gdb.threads/pthreads.exp (horiz): New variable.
23259 (test_startup): Fix regexps that capture thread numbers.
23260
232611999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
23262
23263 * gdb.base/smoke.exp: Disambiguate two test case names (both
23264 called ``print'').
23265
23266Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
23267
23268 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
889bf7c5 23269 compilation.
c906108c
SS
23270
232711999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
23272
23273 * gdb.base/miscexprs.exp: Change patterns to match GDB's
23274 actual output formatting.
23275 * gdb.base/smoke.exp: GDB removes leading 0's.
23276 * gdb.base/volatile.exp: Don't check type of remuneration;
23277 that variable is no longer defined in constvars.c.
23278 * gdb.base/step-test.c (main): Exit with explicit exit code.
23279 * gdb.base/step-test.exp: Remove two nexti checks--they are
23280 not portable.
23281
232821999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
23283
23284 * gdb.base/help.exp ("help delete display"): Fix test to match
23285 gdb's output.
23286
23287 * gdb.base/long_long.c (known_types): Initialize values to zero.
23288 * gdb.base/long_long.exp: Step one more line
23289 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
23290 leading zeros. Explicitly ask for hex formatting. Use
23291 unique test case names.
c906108c
SS
23292
23293Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23294
d63a86f8 23295 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
23296
23297 * gdb.c++/method.exp: Add missing close brace.
23298
232991999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
23300
23301 * gdb.base/maint.exp: Use 'set height 0' to disable page
23302 prompting, not 'set height 400'.
23303
23304 Fix a bunch of timeouts.
23305 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
23306 four separate tests, so expect doesn't take forever to match a ton
23307 of text against a regexp with lots of .* forms.
23308 ("maint print psymbols", "maint print symbols"): Make some of
23309 these greps more selective, so that expect doesn't try to wade
23310 through huge piles of output and time out.
23311
23312 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
23313
23314 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
889bf7c5
PA
23315 tests: one which doesn't expect shlib events to be reported, and
23316 another which does, but is XFAIL for all platforms other than
23317 HP/UX.
c906108c
SS
23318
23319 * gdb.base/break.exp: Teach the test suite that the `catch
23320 fork', `catch vfork', and `catch exec' commands produce error
23321 messages on platforms that don't provide these features.
23322
23323Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
23324
23325 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
889bf7c5
PA
23326 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
23327 (shortening names from solib_threshold.exp etc), won't run on
23328 anything but HP-UX for the foreseeable future.
c906108c 23329 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
889bf7c5 23330 reflect move.
c906108c
SS
23331
23332Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
23333
23334 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
889bf7c5 23335 gdb.trace/Makefile.in (clean): Remove all test executables.
c906108c
SS
23336
23337Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
23338
23339 * gdb.base/shlib-call.exp: add test cases to verify that gdb
23340 successfully re-sets breakpoints in shared libraries.
23341 * gdb.base/shmain.c (main): return 0, don't fall off the end.
23342
23343Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23344
d63a86f8
RM
23345 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
23346 and compiled w/o GCC.
c906108c
SS
23347
23348 * gdb.hp/watch-cmd.exp: ditto.
23349
23350 * gdb.hp/watch-hp.exp: ditto.
23351
23352 * gdb.hp/xdb1.exp: ditto.
23353
23354 * gdb.hp/xdb2.exp: ditto.
23355
23356 * gdb.hp/dbx.exp: ditto.
23357
23358Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
23359
23360 * constvars.c: Remove C++-isms.
23361 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
889bf7c5 23362 with GCC.
c906108c
SS
23363
23364Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
23365
23366 The following changes are part of the HP merge.
23367
23368 * gdb.base/break.exp: new tests to verify that catchpoints for
23369 fork, vfork, and exec don't trigger inappropriately.
23370
23371 * gdb.base/opaque.exp: compile one file at a time, then link.
23372
23373 * gdb.base/signals.exp: be more restrictive about which hppa
23374 systems receive a setup_xfail. new tests.
23375
23376 * gdb.base/solib_threshold.build: new file.
23377 * gdb.base/solib_threshold.exp: new file.
23378 * gdb.base/solib_threshold.link_opts: new file.
23379 * gdb.base/solib_threshold.mk: new file.
23380 * gdb.base/gen_solib_threshold.c: new file.
23381
23382 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
23383 tests. New tests for enums inside classes.
23384
23385 * gdb.c++/compiler.cc: indicate support of template debugging.
23386
23387 * gdb.c++/demangle.exp: run hp style demangling tests.
23388
23389 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
23390 tests.
23391
23392 * gdb.c++/misc.cc: changes to support new tests.
23393
23394 * gdb.c++/templates.cc: changes to support HP's compiler; changes
23395 to support new tests.
23396
23397 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
23398 gcc, then skip these tests.
23399
23400Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
23401
23402 The following files are part of the HP merge; some had longer
23403 names at HP, but have been renamed to be no more than 14
23404 characters in length.
23405
23406 * gdb.hp/ambiguous.cc: new file.
23407 * gdb.hp/ambiguous.exp: new file.
23408 * gdb.hp/attach.exp: new file.
23409 * gdb.hp/attach2.exp: new file.
23410 * gdb.hp/classes-hp.exp: new file.
23411 * gdb.hp/ctti.exp: new file.
23412 * gdb.hp/ctti-add.cc: new file.
23413 * gdb.hp/ctti-add1.cc: new file.
23414 * gdb.hp/ctti-add2.cc: new file.
23415 * gdb.hp/ctti-add3.cc: new file.
23416 * gdb.hp/dbx.exp: new file.
23417 * gdb.hp/exception.cc: new file.
23418 * gdb.hp/exception.exp: new file.
23419 * gdb.hp/foll-exec.c: new file.
23420 * gdb.hp/foll-exec.exp: new file.
23421 * gdb.hp/foll-fork.c: new file.
23422 * gdb.hp/foll-fork.exp: new file.
23423 * gdb.hp/foll-vfork.c: new file.
23424 * gdb.hp/foll-vfork.exp: new file.
23425 * gdb.hp/inherit-hp.exp: new file.
23426 * gdb.hp/more-steps.exp: new file.
23427 * gdb.hp/namespace.cc: new file.
23428 * gdb.hp/namespace.exp: new file.
23429 * gdb.hp/optimize.exp: new file.
23430 * gdb.hp/pxdb.c: new file.
23431 * gdb.hp/pxdb.exp: new file.
23432 * gdb.hp/quicksort.exp: new file.
23433 * gdb.hp/reg-test.exp: new file.
23434 * gdb.hp/reg-test.s: new file.
23435 * gdb.hp/sized-enum.c: new file.
23436 * gdb.hp/sized-enum.exp: new file.
23437 * gdb.hp/start-stop.exp: new file.
23438 * gdb.hp/templ-hp.cc: new file.
23439 * gdb.hp/templ-hp.exp: new file.
23440 * gdb.hp/thr-lib.c: new file.
23441 * gdb.hp/thr-lib.exp: new file.
23442 * gdb.hp/thr-lib.h: new file.
23443 * gdb.hp/thr-liblib.c: new file.
23444 * gdb.hp/virtfun-hp.c: new file.
23445 * gdb.hp/virtfun-hp.exp: new file.
23446 * gdb.hp/watch-cmd.exp: new file.
23447 * gdb.hp/watch-hp.exp: new file.
23448 * gdb.hp/xdb1.exp: new file.
23449 * gdb.hp/xdb2.exp: new file.
23450 * gdb.hp/xdb3.exp: new file.
23451
23452Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
23453
23454 The following files are part of the HP merge; some had longer
23455 names at HP, but have been renamed to be no more than 14
23456 characters in length.
23457
23458 * gdb.base/ss.h: new file.
23459 * gdb.base/call-ar-st.c: new file.
23460 * gdb.base/call-ar-st.exp: new file.
23461 * gdb.base/call-rt-st.c: new file.
23462 * gdb.base/call-rt-st-exp: new file.
23463 * gdb.base/call-strs.exp: new file.
23464 * gdb.base/ena-dis-br.exp: new file.
23465 * gdb.base/environ.exp: new file.
23466 * gdb.base/long_long.exp: new file.
23467 * gdb.base/sect-cmd.exp: new file.
23468 * gdb.base/shlib-cl2.exp: new file.
23469 * gdb.base/smoke.exp: new file.
23470 * gdb.base/so-impl-ld.c: new file.
23471 * gdb.base/so-impl-ld.exp: new file.
23472 * gdb.base/so-indr-cl.c: new file.
23473 * gdb.base/so-indr-cl.exp: new file.
23474 * gdb.base/varargs.exp: new file.
23475 * gdb.base/volatile.exp: new file.
23476 * gdb.base/whatis-exp.exp: new file.
7a292a7a 23477 * gdb.base/display.exp: new file.
c906108c
SS
23478 * gdb.c++/derivation.exp: new file.
23479 * gdb.c++/local.exp: new file.
23480 * gdb.c++/member-ptr.exp: new file.
23481 * gdb.c++/overload.exp: new file.
23482 * gdb.c++/ovldbreak.exp: new file.
23483 * gdb.c++/ref-types.exp: new file.
23484 * gdb.c++/ref-types2.exp: new file.
23485 * gdb.c++/userdef.exp: new file.
d63a86f8 23486
c906108c
SS
23487Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
23488
23489 * gdb.base/default.exp: Reflect wording change in remote.c.
23490
dc96c6c7 23491Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23492
23493 * gdb.base/help.exp: Update to reflect current text.
23494
23495Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
23496
23497 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
23498 they're stack variables and contain garbage.
23499 * gdb.c++/anon-union.exp: new file.
23500
23501 The following changes were made by David Taylor
889bf7c5
PA
23502 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
23503 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
23504 in changes by HP.
c906108c
SS
23505
23506 * gdb.base/bitops.exp: new file.
23507 * gdb.base/default.exp: change expected messages for catch and
23508 info catch tests to reflect HP merge changes.
23509 * gdb.base/enable-disable-break.exp
23510 * gdb.base/ending-run.c: new file.
23511 * gdb.base/long_long.c: new file.
23512 * gdb.base/maint.exp: new file.
23513 * gdb.base/pointers2.exp: new file.
23514 * gdb.base/shlib-call2.exp: new file.
23515 * gdb.base/solib.exp: new file.
23516 * gdb.base/step-test.c: new file.
23517 * gdb.c++/anon-union.cc: new file.
23518 * gdb.c++/local.cc: new file.
23519 * gdb.c++/member-pointer.cc: new file.
23520 * gdb.c++/method.cc: new file.
23521 * gdb.c++/ref-types.cc: new file.
23522 * gdb.c++/ref-types2.cc: new file.
23523 * gdb.c++/userdef.cc: new file.
d63a86f8 23524
c906108c
SS
23525 * gdb.base/scope.exp: compile one file at a time, then link.
23526 * gdb.base/langs.exp: ditto.
23527 * gdb.base/list.exp: ditto.
d63a86f8 23528
c906108c
SS
23529Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
23530
23531 The following changes were made by David Taylor
889bf7c5
PA
23532 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
23533 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
23534 in changes by HP.
d63a86f8 23535
c906108c
SS
23536 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
23537 skip tests. When compiling pass c++ flag to gdb_compile.
23538 * gdb.c++/
d63a86f8 23539
c906108c
SS
23540 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
23541 test for on hppa*-*-hpux*; use args to see if c++ was specified.
23542 (skip_hp_tests): new function.
23543 (gdb_preprocess): new function.
23544
23545 * configure.in (hpdir): decide whether to configure gdb.hp.
23546 * configure: regenerated.
23547
23548 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
23549 to delete on clean.
23550 (EXECUTABLES): update to reflect new additions.
23551 * gdb.base/commands.exp: update message expected.
23552 * gdb.base/default.exp: add copyright notice.
23553 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
23554 * gdb.base/help.exp: update messages to reflect current text.
23555 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
23556 targets for recurse tests.
23557 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
23558 skip this file.
23559
23560 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
23561 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
23562 compilation.
23563 * gdb.c++/misc.exp: ditto.
23564 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
23565 run the tests. tell gdb_compile that it's a c++ compilation.
23566
23567 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 23568
c906108c
SS
23569 * gdb.base/all-bin.exp: new file.
23570 * gdb.base/arithmet.exp: new file.
23571 * gdb.base/assign.exp: new file.
23572 * gdb.base/completion.exp: new file.
23573 * gdb.base/cond-expr.exp: new file.
23574 * gdb.base/condbreak.exp: new file.
23575 * gdb.base/define.exp: new file.
23576 * gdb.base/dollar.exp: new file.
23577 * gdb.base/environment.exp: new file.
23578 * gdb.base/eval-skip.exp: new file.
23579 * gdb.base/jump.exp: new file.
23580 * gdb.base/logical.exp: new file.
23581 * gdb.base/pointers.exp: new file.
23582 * gdb.base/relational.exp: new file.
23583 * gdb.base/section_command.exp: new file.
23584 * gdb.base/whatis-expr.exp: new file.
23585
23586 * gdb.base/all-types.c: new file.
23587 * gdb.base/call-array-struct.c: new file.
23588 * gdb.base/call-return-struct.c: new file.
23589 * gdb.base/call-strings.c: new file.
23590 * gdb.base/callfuncs2.c: new file.
23591 * gdb.base/condbreak.c: new file.
23592 * gdb.base/constvars.c: new file.
23593 * gdb.base/display.c: new file.
23594 * gdb.base/int-type.c: new file.
23595 * gdb.base/jump.c: new file.
23596 * gdb.base/miscexprs.c: new file.
23597 * gdb.base/pointers.c: new file.
23598 * gdb.base/pointers2.c: new file.
23599 * gdb.base/shmain.c: new file.
23600 * gdb.base/shr1.c: new file.
23601 * gdb.base/shr2.c: new file.
23602 * gdb.base/solib.c: new file.
23603 * gdb.base/solib1.c: new file.
23604 * gdb.base/solib2.c: new file.
23605 * gdb.base/varargs.c: new file.
23606 * gdb.c++/derivation.cc: new file.
23607 * gdb.c++/overload.cc: new file.
23608 * gdb.c++/ovldbreak.cc: new file.
23609 * gdb.hp/attach.c: new file.
23610 * gdb.hp/attach2.c: new file.
23611 * gdb.hp/average.c: new file.
23612 * gdb.hp/compiler.c: new file.
23613 * gdb.hp/compiler.cc: new file.
23614 * gdb.hp/execd-program.c: new file.
23615 * gdb.hp/follow-exec.c: new file.
23616 * gdb.hp/follow-fork.c: new file.
23617 * gdb.hp/follow-vfork-and-exec.c: new file.
23618 * gdb.hp/misc-hp.cc: new file.
23619 * gdb.hp/more-steps.c: new file.
23620 * gdb.hp/optimize.c: new file.
23621 * gdb.hp/quicksort.c: new file.
23622 * gdb.hp/run-hp.c: new file.
23623 * gdb.hp/start-stop.c: new file.
23624 * gdb.hp/sum.c: new file.
23625 * gdb.hp/templates-hp.cc: new file.
23626 * gdb.hp/thread-local-in-lib.c: new file.
23627 * gdb.hp/thread-local-in-lib.h: new file.
23628 * gdb.hp/thread-local-in-lib.lib.c: new file.
23629 * gdb.hp/vforked-program.c: new file.
23630 * gdb.hp/virtfunc-hp.cc: new file.
23631 * gdb.hp/watchpoint-hp.c: new file.
23632 * gdb.hp/xdb.c: new file.
23633 * gdb.hp/xdb0.c: new file.
23634 * gdb.hp/xdb0.h: new file.
23635 * gdb.hp/xdb1.c: new file.
23636
23637Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
23638
23639 The following change was made by Edith Epstein
889bf7c5
PA
23640 <eepstein@cygnus.com> as part of a project to merge in changes
23641 originally made by HP; HP did not create ChangeLog entries.
c906108c
SS
23642
23643 * gdb.c++/demangle.exp: changed the expected output for some
23644 ARM-style mangling -- removed second reference to datatype.
889bf7c5 23645 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 23646 T1<char>::~T1<char>(void)
c906108c 23647 becomes,
a9c64011
AS
23648 maint demangle __dt__11T1__pt__2_cFv
23649 T1<char>::~T1(void)
c906108c 23650
889bf7c5 23651 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 23652
c906108c
SS
23653Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
23654
23655 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
23656 * gdb.trace/backtrace.exp: Likewise.
23657 * gdb.trace/circ.exp: Likewise.
23658 * gdb.trace/collection.exp: Likewise.
23659 * gdb.trace/deltrace.exp: Likewise.
23660 * gdb.trace/infotrace.exp: Likewise.
23661 * gdb.trace/limits.exp: Likewise.
23662 * gdb.trace/packetlen.exp: Likewise.
23663 * gdb.trace/passc-dyn.exp: Likewise.
23664 * gdb.trace/passcount.exp: Likewise.
23665 * gdb.trace/report.exp: Likewise.
23666 * gdb.trace/save-trace.exp: Likewise.
23667 * gdb.trace/tfind.exp: Likewise.
23668 * gdb.trace/tracecmd.exp: Likewise.
23669 * gdb.trace/while-dyn.exp: Likewise.
23670 * gdb.trace/while-stepping.exp: Likewise.
23671
236721998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
23673
23674 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
23675
23676Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
23677
23678 From Brendan Kehoe:
23679 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
23680 int return types.
23681
23682Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
23683
23684 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
889bf7c5 23685 remote dos host testing right.
c906108c
SS
23686
23687Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
23688
23689 * gdb.base/corefile.exp: remove some xfails.
23690
23691Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
23692
23693 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
889bf7c5 23694 have different timestamps.
c906108c
SS
23695
23696Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
23697
23698 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
889bf7c5 23699 gdb.base/default.exp: Replace "exec" with "executable".
c906108c
SS
23700
23701Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
23702
23703 * gdb.base/default.exp: Change else if to elseif from previous
889bf7c5 23704 delta.
c906108c
SS
23705
23706Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
23707
23708 * gdb.base/default.exp: Add brace missing from previous delta.
23709
23710Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
23711
23712 * gdb.base/default.exp: Support test for info float for all
23713 varieties of arm toolchain.
23714
dc96c6c7 23715Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23716
23717 * gdb.trace/*.exp: remove "remote_download" command.
23718
dc96c6c7 23719Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23720
23721 * gdb.trace/*.exp: remove -gdwarf from compile.
23722
23723Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
23724
23725 * gdb.trace/configure.in(AC_INIT): typo
23726 * gdb.trace/configure: regenerated
23727
dc96c6c7 23728Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23729
23730 * config/m68k-emc.exp: New file.
23731 * lib/<emc-support.exp trace-support.exp}: New files.
23732 * configure.in: add new test directory gdb.trace.
23733 * gdb.trace/{configure configure.in Makefile.in}: New files.
23734 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
23735 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
23736 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
23737 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
23738 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
23739 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
23740 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 23741
dc96c6c7 23742Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23743
23744 * gdb.c++/classes.exp: Change all regular expressions to match
23745 arbitrary combinations of newline/carriage-return, so that they
23746 will work equally well on Unix and Windows.
23747 * gdb.c++/inherit.exp: ditto.
23748 * gdb.c++/virtfunc.exp: ditto.
23749
237501998-08-11 Dawn Perchik <dawn@cygnus.com>
23751
23752 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
23753
c2d11a7d
JM
23754Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
23755
23756 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
23757 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
23758 to use a0-a3/d0-d3 as needed.
23759
23760Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
23761
23762 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
23763 * gdb.disasm/am33.exp: Corresponding changes.
23764
c906108c
SS
237651998-07-11 Felix Lee <flee@cygnus.com>
23766
23767 * gdb.base/callfuncs.exp: add cmp10 test.
23768 * gdb.base/callfuncs.c (cmp10): new function.
23769
23770Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
23771
d63a86f8 23772 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
23773 into two parts to get around a synchronization problem in expect.
23774
3fc11d3e
JM
23775Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
23776
23777 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
23778
23779 * configure.in: Add options for gdbtk testsuite.
23780
23781 * configure: Regenerate.
23782
23783 * gdb.gdbtk: New directory to hold gdbtk tests.
23784
c906108c
SS
23785Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
23786
23787 * gdb.fortran/types.exp: Escape brackets in expect patterns
23788 for test_float_literal_types_accepted tests.
23789 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
23790 before run test.
23791
c2d11a7d
JM
23792Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
23793
23794 * am33.exp: Just compile, do not link the testcase.
23795 * am33.s: Add ".am33" pseudoop to force am33 mode.
23796
c906108c
SS
237971998-06-25 Felix Lee <flee@cygnus.com>
23798
23799 * gdb.base/setshow.exp: make sure $pc is sane.
23800
23801 * gdb.stabs/weird.exp: split expect patterns properly.
23802
c2d11a7d
JM
23803Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
23804
23805 * gdb.disasm/am33.s: New disassembler testfile for the am33.
23806 * gdb.disasm/am33.exp: Run it.
23807
dc96c6c7 23808Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23809
23810 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
23811 match processing (and eliminate spurious timeouts when running).
23812
dc96c6c7 23813Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23814
23815 * gdb.base/signals.exp (test_handle_all_print): put back Mach
23816 exception test, but conditionalize it on target [mach | gnu].
23817
dc96c6c7 23818Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23819
23820 * gdb.base/overlays.exp: fixup compile line for linker script.
23821
23822Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
23823
23824 * gdb.fortran/types.exp: don't guess at float size.
23825
23826Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
23827
23828 * gdb.base/exprs.exp: delete test that depends on int size.
23829
23830Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
23831
23832 * config/sim.exp: Removed checks for target triplets.
23833 (gdb_target_sim): Use gdb,target_sim_options.
23834
23835Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
23836
23837 * gdb.base/reread.exp: New file.
23838 * gdb.base/reread1.c: New file.
23839 * gdb.base/reread2.c: New file.
23840
23841Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
23842
23843 * config/sim.exp: Use 'target sim -sparclite' when running
23844 SPARClite programs.
23845
23846Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
23847
23848 * gdb.base/structs2.exp: New file.
23849 * gdb.base/structs2.c: New file.
23850
23851Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
23852
23853 * gdb.asm/common.inc: New file.
23854 * gdb.asm/d10v.inc: New file.
23855 * asm-source.exp: Pass -I's to gas to find .inc files.
23856 Update line numbers in expected output.
23857 * asmsrc1.s: Rewrite.
23858 * asmsrc2.s: Rewrite.
23859 * configure.in: Create arch.inc symlink.
23860 * configure: Regenerate.
23861 * Makefile.in (distclean): Delete arch.inc.
23862
23863Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
23864
23865 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
889bf7c5
PA
23866 (t_enum_value2): ditto
23867 (t_enum_value3): ditto
23868 (main): ditto
c906108c
SS
23869Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
23870
23871 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
23872 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
23873 change.
23874 Use gdb_test instead of send_gdb/gdb_expect sequences.
23875
23876Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
23877
23878 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
23879 not void.
23880
23881Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
23882
23883 * gdb.base/branches.c: Code with lots of loops and
889bf7c5
PA
23884 subroutines. Used to test gdbs ability to single step through PC
23885 changes, especially to test mips-tdep.c:mips_next_pc
c906108c
SS
23886
23887Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
23888
23889 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
23890 more rigorous EGCS C++ error checking.
23891
23892Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23893
a9c64011
AS
23894 * gdb.base/help.exp: Clean up `help set args' and `help show args'
23895 tests.
23896 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
23897 function when asleep.
23898 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
23899 for i*86 Linux and SVR4 signal handling problems.
23900 Remove linux xfail for `next to handler in signals_tests_1', fixed
23901 by recent infrun.c change.
23902 Limit backtrace to 10 frames to avoid timeout problems with infinite
23903 stack backtraces.
23904 Adjust expect pattern in `handle all print' test to match Apr 28 1997
23905 target.[ch] change.
c906108c
SS
23906
23907Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
23908
23909 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
23910 for a newline from gdb before continuing.
23911 (default_gdb_exit): Just look for y or n.
23912 (gdb_test): Detect abnormal exit from GDB running on DOS; if
23913 it does, fail the rests of the tests in the file.
23914
23915Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
23916
23917 * config/cygmon.exp: New file.
23918
23919Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
23920
23921 * gdb.base/list.exp: Fix problem with "list default lines around
889bf7c5 23922 main" test on remote targets.
c906108c
SS
23923
23924 * gdb.base/scope.exp: Fix problem with filelocal_bss before
23925 run test on remote targets.
23926
23927Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
23928
23929 * gdb.asm: New directory.
23930 * configure.in: Configure it.
23931 * configure: Regenerate.
23932 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
23933 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
23934
23935Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
23936
23937 * config/mn10300-eval.exp: New file to support MN10300 eval board.
23938
dc96c6c7 23939Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 23940
a9c64011
AS
23941 * gdb.base/overlays (several files): Merge the two overlay
23942 managers into one. Change variables (foox, barx, bazx, grbxx)
23943 back into ints but force them to load in their proper sections.
c906108c
SS
23944
23945Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
23946
23947 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
889bf7c5 23948 on-chip insn memory and IMAP1 to upper 128k.
c906108c
SS
23949 (D10VCopy): Handle memory regions crossing 16k boundaries.
23950 (D10VCopy): Transfer data in 32 bit chunks.
23951
23952Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
23953
23954 * gdb.base/overlays.c (main): Exit normally when result is
889bf7c5 23955 correct.
c906108c
SS
23956
23957 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
889bf7c5 23958 map. Include space for printf in .text segment.
c906108c
SS
23959
23960 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
889bf7c5 23961 updated d10v memory VMA/LMA map.
c906108c 23962 (D10VCopy): Call D10VTranslate.
d63a86f8 23963
c906108c
SS
23964Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
23965
23966 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
23967
23968 * gdb.base/bar.c (barx, bar): Change variable to small array so
889bf7c5
PA
23969 that it won't be put into the .sdata - small data -
23970 section. Update reference.
c906108c
SS
23971 * gdb.base/baz.c (bazx, baz): Ditto.
23972 * gdb.base/foo.c (foox, foo): Ditto.
23973 * gdb.base/grbx.c (grbxx, grbx): Ditto.
23974
23975 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
889bf7c5 23976 to be arrays.
d63a86f8 23977
dc96c6c7 23978Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 23979
a9c64011
AS
23980 * gdb.base/overlays.exp: fix up and get working again.
23981 Add tests for backtraces from an overlay function.
d63a86f8 23982
c906108c
SS
23983Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
23984
23985 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
23986 "calling function with watchpoint enabled".
23987
23988Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
23989
23990 * gdb.base/break.exp (test_next_with_recursion): Remove
889bf7c5 23991 gdb_suppress_tests for d10v-*-*.
c906108c
SS
23992 * lib/gdb.exp (gdb_suppress_tests): Disable this function
23993 pending review of whether it is useful or not.
23994
23995Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
23996
23997 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
23998
23999Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
24000
24001 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
24002 * config/dve.exp: New file to support Densan boards.
24003
24004Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
24005
24006 * gdb.base/interrupt.exp: Document problem of simulators, signals,
889bf7c5 24007 reads and BSD.
c906108c
SS
24008
24009Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
24010
24011 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
24012 response.
24013
24014 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
24015
24016Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
24017
24018 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
889bf7c5 24019 test.
c906108c
SS
24020
24021 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
889bf7c5 24022 target_sizeof_long and target_bigendian_p.
c906108c 24023 (structs_by_value, structs_by_reference): Check values according
889bf7c5 24024 to targets word size and endianess.
d63a86f8 24025
c906108c
SS
24026Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
24027
24028 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
889bf7c5 24029 output.
c906108c
SS
24030
24031Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
24032
24033 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
889bf7c5 24034 Update test of set args help to match source change.
c906108c
SS
24035
24036Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
24037
24038 * gdb.base/default.exp: Expect help system output to be in
24039 alphabetical order.
24040 * gdb.base/help.exp: Ditto.
24041
24042Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
24043
24044 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
24045 "i*86-pc-linux-gnu*".
24046 * gdb.base/interrupt.exp: Ditto.
24047 * gdb.base/corefile.exp: Ditto.
24048
24049 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
889bf7c5 24050 define vxworks when building the testcase.
c906108c
SS
24051
24052 * gdb.base/ptype.exp: Fix testnames to be unique.
24053 * gdb.base/radix.exp: Ditto.
24054 * gdb.base/term.exp: Ditto.
24055 * gdb.base/whatis.exp: Ditto.
24056 * gdb.c++/classes.exp: Ditto.
24057
24058Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
24059
24060 * gdb.base/callfuncs.exp: Fix indentation.
24061
24062 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
24063 suppress_flag has been set.
24064 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
24065 target feature.
24066
24067Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
24068
24069 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
24070 the testcase.
24071
24072 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
889bf7c5 24073 set_debug_traps() and breakpoint().
c906108c
SS
24074 * gdb.c++/misc.cc (main): Ditto.
24075 * gdb.c++/templates.cc (main): Ditto.
24076 * gdb.c++/virtfunc.cc (main): Ditto.
24077
24078Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
24079
24080 * lib/gdb.exp(gdb_step_for_stub): New function.
24081 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
24082 exists, reload the executable and do a "continue" instead of
24083 doing a jump.
24084 (runto_main): Use gdb_step_for_stub.
d63a86f8 24085
c906108c 24086 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
889bf7c5 24087 tests to have unique names.
c906108c
SS
24088 * gdb.base/callfuncs.exp: Ditto.
24089 * gdb.base/commands.exp: Ditto.
24090 * gdb.base/default.exp: Ditto.
24091 * gdb.base/help.exp: Ditto.
24092 * gdb.base/list.exp: Ditto.
24093 * gdb.base/opaque.exp: Ditto.
24094 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
24095 similar tests.
d63a86f8 24096
c906108c
SS
24097 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
24098 * gdb.c++/cplusfuncs.cc: Ditto.
24099 * gdb.c++/virtfunc.cc: Ditto.
24100
24101 * config/monitor.exp: Keep track of the last file we saw, rather
24102 than trying to get the info from gdb.
24103
24104 * gdb.fortran/types.exp: Move comment to previous line.
24105
24106Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
24107
24108 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
889bf7c5 24109 target mode.
c906108c
SS
24110
24111Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
24112
24113 From Bob Manson:
24114 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
889bf7c5 24115 string from GDB when it connects.
c906108c
SS
24116
24117 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
24118
24119Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
24120
24121 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
889bf7c5
PA
24122 if we can't get a debug format from GDB (we may be testing an
24123 older GDB). Use a 10 second timeout when checking for the format.
c906108c
SS
24124
24125 * gdb.stabs/weird.exp: Fix quoting.
24126
24127 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
24128
24129Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
24130
24131 * config/arm-ice.exp: New file.
24132
24133Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
24134
24135 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
889bf7c5 24136 until it has been modified to work with the new testsuite.
c906108c 24137
99707966 24138 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
889bf7c5
PA
24139 testcase won't compile, cause all of the testcases in the file to
24140 fail instead.
c906108c
SS
24141
24142 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
24143 (gdb_clear_suppressed): New procedure.
24144 (gdb_stop_suppressing_tests): Only clear suppress_flag if
24145 it contains a positive value.
24146
24147Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
24148
24149 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
24150
24151 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
24152
24153Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
24154
24155 * lib/gdb.exp (setup_xfail_format): New function.
24156 (get_debug_format): New function to get debug format.
24157 (debug_format): New global variable to hold last value set
24158 by get_debug_format.
24159 * gdb.base/list.exp: Call get_debug_format and expect some
889bf7c5 24160 tests to fail for DWARF 1 and COFF formats.
c906108c
SS
24161 * gdb.c++/ptype.exp: Ditto.
24162 * gdb.c++/classes.exp: Ditto.
24163 * gdb.c++/cplusfuncs.exp: Ditto.
24164 * gdb.c++/inherit.exp: Ditto.
24165 * gdb.c++/templates.exp: Ditto.
24166 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 24167
c906108c
SS
24168Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
24169
24170 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
24171 host doesn't have a currently-open connection.
24172
24173 * config/sparclet.exp: Cleanups and fixes to make it generic for
889bf7c5
PA
24174 any gdb stub target. Handle cases where gdb doesn't respond when
24175 interrupted in a sane fashion.
c906108c
SS
24176
24177 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
889bf7c5 24178 same thing in a totally different way.
c906108c
SS
24179
24180 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
889bf7c5 24181 setting "timeout".
c906108c 24182 (gdb_start): We set the global gdb_prompt variable in
889bf7c5 24183 default_gdb_init now.
c906108c
SS
24184
24185Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
24186
24187 * gdb.base/printcmds.exp: Fix "check for floating addition"
24188 regexp to accept results within approx +/- .01 of exact value.
24189 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
24190
24191Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
24192
24193 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
889bf7c5 24194 properly.
c906108c
SS
24195 (gdb_expect): Add optional timeout parameter, and add timeout
24196 value to various calls.
24197 (gdb_suppress_tests): Only give one warning message per group.
24198
24199Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
24200
24201 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
889bf7c5
PA
24202 global variables. Handle getting a value for $timeout more
24203 gracefully.
c906108c
SS
24204
24205Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
24206
24207 * lib/gdb.exp: Close connection to remote host if gdb doesn't
889bf7c5 24208 initialize.
c906108c 24209 (default_gdb_init): New procedure; allow gdb_init to be overridden
889bf7c5 24210 by a target configuration file.
c906108c
SS
24211 (gdb_expect): Pass the timeout to remote_expect.
24212
24213 * config/monitor.exp(gdb_load): Fix typo in regexp.
24214
24215Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
24216
24217 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
24218
24219Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
24220
24221 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
889bf7c5
PA
24222 here. Call gdb_target_exec before rebooting the target, to make
24223 sure the connection to the target is closed.
c906108c
SS
24224 (gdb_load): Pass the name of the executable to gdb_target_monitor.
24225 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
24226 Also detect "Timeout reading from remote" error.
24227
24228 * config/gdbserver.exp: Pass the executable being loaded to
889bf7c5
PA
24229 gdb_target_monitor. Don't call gdb_file_cmd here; let
24230 gdb_target_monitor do it.
c906108c
SS
24231
24232 * gdb.disasm/hppa.exp: Don't use exec_output.
24233
24234Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
24235
24236 * gdb.base/list.exp: If we're debugging a non-native target,
24237 try to set the pc register to point to the start of the
24238 program before doing the first list command.
24239
24240 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
889bf7c5 24241 test_calls after restarting.
c906108c
SS
24242
24243 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
889bf7c5 24244 reloading.
c906108c
SS
24245
24246 * gdb.base/watchpoint.exp: Fix typo.
24247
24248 * gdb.base/setshow.exp: Check for use_gdb_stub.
24249
24250 * gdb.base/break.exp: Fix continue until exit test for the gdb
889bf7c5 24251 stub case.
c906108c
SS
24252 * gdb.base/langs.exp: Ditto.
24253
24254 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
889bf7c5
PA
24255 gdb_load_offset. If we weren't given a file to load, figure out
24256 what the current file is and use it.
c906108c
SS
24257
24258 * config/i386-bozo.exp: New file.
24259
24260Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
24261
24262 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
24263 feature.
24264
24265 * config/proelf.exp: New entry.
24266
24267Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
24268
24269 * lib/gdb.exp: Remove spurious .* patterns at the beginning
24270 of regexps.
24271
24272 * gdb.base/watchpoint.exp: Don't run the test_stepping
24273 tests if gdb can't call functions on the target.
24274
24275 * gdb.base/setshow.exp: Don't run the set prompt tests if
24276 the board has gdb_prompt set.
24277
24278Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
24279
24280 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
24281 * gdb.base/commands.exp: Likewise.
24282 * gdb.base/setshow.exp: Likewise.
24283
24284Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
24285
24286 * config/monitor.exp(gdb_start): Look for gdb_prompt target
24287 feature.
24288
24289 * config/i960.exp: New file.
24290
24291Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
24292
24293 * gdb.base/funcargs.exp: Check for gdb,short_int target
24294 feature instead of looking for explicit target triplets.
24295
dc96c6c7 24296Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 24297
d63a86f8 24298 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
24299 "p 123DEADBEEF", to check parse_number.
24300 * top.c: change "to enable to enable" to "to enable" in a couple
24301 of help strings.
24302
24303Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
24304
24305 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
24306 on the mn10300.
d63a86f8 24307
c906108c
SS
24308Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
24309
24310 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
24311 where the test executable is run with explicit args.
24312 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
24313
24314Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
24315
24316 * gdb.base/run.c: Use FAKEARGV to build test executable that
24317 does not require a command line arg, since most simulators
24318 don't currently support passing such an arg into the simulated
24319 program.
24320 * gdb.base/commands.exp: Change tests to insert the proper
24321 value as the arg to the first recursive factorial call. Change
24322 compilation line to define FAKEARGV at compile time.
24323
24324Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
24325
24326 * gdb.base/recurse.exp: Enable these tests for the mn10300.
24327 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
24328 function with watchpoint enabled" test.
24329
24330Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
24331
24332 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
889bf7c5 24333 Don't call gdb_test when the command doesn't return to a gdb prompt.
c906108c
SS
24334
24335 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
889bf7c5 24336 "Tests restarted" messages.
c906108c
SS
24337
24338Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
24339
24340 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
24341
dc96c6c7 24342Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
24343
24344 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
24345 for INFO SYMBOL; add help tests for OVERLAY commands.
24346 * gdb.base/default.exp: add tests for INFO SYMBOL command;
24347 add tests for OVERLAY commands
24348 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
24349 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
24350 * gdb.base/sigall.c: add usestubs code frag
24351 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 24352
c906108c
SS
24353Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
24354
24355 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
24356 failures.
24357 (gdb_stop_suppressing_tests): Note that tests have restarted.
24358
24359Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
24360
24361 * config/h8300.exp: New file.
24362
24363Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
24364
24365 * gdb.base/setshow.exp: Check for the existence of a
24366 feature, not its value.
24367
24368Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
24369
24370 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
24371
24372 * gdb.base/scope.exp: It's now init0(), not init().
24373
24374 * gdb.base/scope0.c: For now, change init() to be init0().
24375
24376 * config/monitor.exp: Use gdb_serial in preference to serial
24377 or netport.
24378
24379 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
889bf7c5 24380 and it's not already set.
c906108c
SS
24381
24382Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
24383
24384 * gdb.base/setshow.exp: Only test the run command if the target
889bf7c5 24385 isn't using a stub and if it supports argument passing.
c906108c
SS
24386
24387Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
24388
24389 * config/udi.exp(gdb_start): Make sure UDICONF is set
24390 properly before starting gdb.
24391
24392Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
24393
24394 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
24395 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
24396 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
24397
24398Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
24399
24400 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
889bf7c5 24401 specialized code to reboot the board, use remote_reboot instead.
c906108c
SS
24402
24403 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
24404
24405 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
24406
24407 * config/monitor.exp: Make sure we disconnect from the target.
24408 Also, try a reboot/reload cycle instead of failing if the
24409 load fails.
24410
24411Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
24412
24413 * gdb.base/default.exp: Don't set match_max.
24414 * gdb.base/help.exp: Ditto.
24415 * gdb.base/list.exp: Ditto.
24416 * gdb.base/signals.exp: Ditto.
24417
24418 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
24419 set, use remote_ld to download the testcase instead of
24420 the GDB loader.
24421
24422Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
24423
24424 * config/vr5000.exp: New file.
24425
24426 * config/monitor.exp(gdb_target_monitor): Add pattern for
24427 "Ending remote" to detect errors in connecting.
24428
24429 * gdb.base/setshow.exp: Add .* within auto language test.
24430
24431 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
24432 target feature.
24433
24434 * config/monitor.exp(gdb_load): Check for a failure when loading,
889bf7c5 24435 and reboot the board if necessary.
c906108c
SS
24436
24437 * gdb.base/setvar.exp(test_set): Handle multiple prints within
24438 a set of tests. Remove print.* from the patterns being checked.
24439
24440Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
24441
24442 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
24443 refer to gdb_spawn_id.
24444
24445 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
24446 longer used.
24447 * config/sparclet.exp: Ditto.
24448 * config/sparclet-old.exp: Ditto.
24449 * config/slite.exp: Ditto.
24450 * config/sim.exp: Ditto.
24451 * gdb.base/funcargs.exp: Ditto.
24452
24453 * lib/gdb.exp:Remove references to gdb_spawn_id.
24454 (gdb_expect): Move to remote.exp.
24455
24456Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
24457
24458 * config/monitor.exp: Detect the "Couldn't establish connection"
24459 message from GDB.
24460
24461Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
24462
24463 * gdb.base/bitfields.exp: Use runto instead of explicit
24464 gdb_run_cmd/gdb_expect sequences.
24465
24466 * gdb.base/break.exp(text_next_with_recursion): Add match for
24467 gdb_expect call.
24468
24469 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
24470 We also need to handle the "A program is being debugged already"
24471 prompt from gdb. Use gdb_test to set the baud rate.
24472
24473 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
24474 to 20000. Really. I mean it.
24475
24476Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
24477
24478 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
889bf7c5
PA
24479 fails. If suppress_flag is set, skip perror message about not
24480 being able to send to GDB.
c906108c 24481 (send_gdb): If suppress_flag is set, don't try to send commands to
889bf7c5 24482 GDB.
c906108c
SS
24483 (gdb_expect): If suppress_flag is set, always fail immediately.
24484 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
24485 (gdb_init): Call gdb_stop_suppressing_tests.
24486 (default_gdb_exit): Ditto.
24487 (default_gdb_start): Ditto.
24488
24489 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
889bf7c5 24490 gdb_stop_suppressing_tests as appropriate.
c906108c 24491 * gdb.base/break.exp: Ditto.
889bf7c5 24492 * gdb.base/callfuncs.exp: Ditto.
c906108c
SS
24493 * gdb.base/commands.exp: Ditto.
24494 * gdb.base/exprs.exp: Ditto.
889bf7c5 24495 * gdb.base/funcargs.exp: Ditto.
c906108c
SS
24496 * gdb.base/list.exp: Ditto.
24497 * gdb.base/recurse.exp: Ditto.
889bf7c5 24498 * gdb.base/scope.exp: Ditto.
c906108c
SS
24499 * gdb.base/structs.exp: Ditto.
24500 * gdb.c++/inherit.exp: Ditto.
24501
24502Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
24503
24504 * config/vr4300.exp: New file.
24505
99707966 24506 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 24507
99707966 24508 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
24509
24510Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
24511
24512 * lib/gdb.exp(gdb_init): New function.
24513
24514 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
889bf7c5 24515 for each individual variable set.
c906108c
SS
24516
24517 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
24518 name.
24519
24520 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
24521
24522 * gdb.base/scope.exp: Use gdb_test.
24523
24524 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
24525 aborting; the testsuite driver will do that for us (see
24526 gdb_finish). Also, use gdb_test in a few more places.
24527
24528Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
24529
24530 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
24531
24532Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
24533
24534 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
24535 and "add_tests" are not at the same address.
24536
24537Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
24538
24539 * gdb.base/ptype.exp: Use gdb_test.
24540
24541Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
24542
24543 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
24544 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
24545 left in. No longer expect them to fail.
24546
24547 * gdb.stabs/*.mt; Deleted, no longer used.
24548 * gdb.stabs/configure.in: Remove references to target makefile
24549 frags.
24550 * gdb.stabs/configure: Rebuilt.
24551
24552 * gdb.disasm/*.mt: Deleted, no longer used.
24553 * gdb.disasm/configure.in: Remove references to target makefile
24554 frags. Use "sh3.s" as the unique filename for this directory.
24555 * gdb.disasm/configure: Rebuilt.
24556
24557 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
24558 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
24559 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
24560
24561Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
24562
24563 * config/udi.exp: Use mondfe,name instead of remote_host.
24564
24565Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
24566
24567 * gdb.base/watchpoint.exp: Don't expect a failure when calling
24568 a function with a watchpoint enabled on the mn10200.
24569
24570 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
24571 before trying to create it!
24572
24573Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
24574
24575 * config/vx.exp: Use hostname instead of netport.
24576
24577 * config/vxworks.exp: New file.
24578
24579 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
24580
24581 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
889bf7c5 24582 gdb before assuming everything worked. Send a ^C if a timeout
c906108c
SS
24583 occurs.
24584
24585 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
24586 $gdb_spawn_id directly.
24587 (gdb_run_cmd): Try _start as well as start. Use the target feature
24588 gdb,start_symbol as the symbol to start from when jumping.
24589
24590Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
24591
24592 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
24593 redundant) test.
24594
24595 * gdb.base/recurse.exp: Relax final value test for 'b' so that
24596 it doesn't lose for 16bit integer systems.
24597
24598Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
24599
24600 * gdb.fortran/types.exp: If the target doesn't support "double"
24601 data types, then expect "real" types to only be 4 bytes.
24602
24603 * gdb.c++/virtfunc.exp: Expect failure for virtual function
24604 call tests if the target doesn't support inferior function calls.
24605
24606 * gdb.base/printcmds.exp: Allow minor deviation in FP values
24607 in printf tests.
24608
24609Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
24610
24611 * gdb.base/help.exp: Disable "help set", "help show", and
24612 "help support". Simplify regexp for "help stack".
24613
24614 * gdb.base/default.exp: Set match_max to 5000 and the timeout
24615 to 60 seconds. Temporarily set match_max to 15000 around the
24616 "info copying" test.
24617
24618 * gdb.base/nodebug.exp: Don't try to do an inferior function
24619 call if the target doesn't support them.
24620 * gdb.base/printcmds.exp: Likewise.
24621 * gdb.base/setvar.exp: Likewise.
24622 * gdb.base/structs.exp: Likewise.
24623 * gdb.c++/templates.exp: Likewise.
24624 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
24625
24626 * gdb.base/recurse.exp: Enable for the mn10200.
24627
24628 * configure.in: Do configure gdb.stabs directory for *-*-elf
24629 targets.
24630 * configure: Rebuilt.
24631
24632 * gdb.base/break.exp: Check for gdb,noresults before testing
24633 exit status and/or results from the target.
24634 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
24635 * lib/gdb.exp: Remove old (now bogus) initialization of
24636 noinferior, noargs, noresults and nosignals.
24637
24638Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
24639
24640 * config/sh.exp: New file.
24641
24642 * config/slite.exp: Try to connect multiple times to the board
24643 before rebooting. Only send a "monitor run" if need_monitor_run
24644 is set.
24645
24646 * gdb.base/break.exp: Don't do the "stub continue" test if
24647 the target has gdb_stub set.
24648
24649 * gdb.base/callfuncs.exp: Increase the timeout.
24650
24651 * gdb.base/interrupt.exp: Don't even try to compile the testcase
24652 if the target has gdb,noinferiorio set.
24653
24654 * gdb.base/list.exp: Increase match_max to 10000 characters.
24655
24656 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
24657
24658 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
24659 target.
24660
24661 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
24662
24663Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
24664
24665 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
889bf7c5
PA
24666 trying to delete the copy of gdb. Catch the file delete so we
24667 don't die if the delete fails; also, the file should be copied to
24668 the host, not to the build.
c906108c
SS
24669
24670Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
24671
24672 * lib/gdb.exp(gdb_test): Surround the result pattern with
889bf7c5 24673 parenthesis in case it contains multiple regexps separated
c906108c
SS
24674 with |.
24675
24676 * gdb.base/watchpoint.exp: Use gdb_test.
24677 * gdb.base/default.exp: Ditto.
24678
24679Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
24680
99707966 24681 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 24682
c906108c
SS
24683 * gdb.base/scope.exp: Use gdb_test.
24684 * gdb.c++/classes.exp: Ditto.
24685 * gdb.c++/inherit.exp: Ditto.
24686
24687Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
24688
24689 * gdb.base/crossload.exp: Don't use execute_anywhere, use
24690 remote_exec instead.
24691 * gdb.base/corefile.exp: Don't be ridiculous.
24692 * gdb.base/*.c: Add missing stub invocations.
24693
24694Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
24695
24696 * config/slite.exp: Miscellaneous fixes.
24697
24698 * lib/gdb.exp: Fix runto.
24699
24700 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
24701 the target.
24702
24703 * gdb.base/watchpoint.exp: Fix regexp.
24704
24705 * lib/gdb.exp(default_gdb_exit): Add a catch to the
24706 close and wait commands, as the descriptor may now be
24707 invalid. Always call "remote_close host".
24708
24709Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
24710
24711 Major rewrite for testsuite revision.
d63a86f8 24712
c906108c
SS
24713 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
24714 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
24715 instead of relying on spawn_id to always contain a valid
24716 spawn id.
24717 (get_compiler_info): New procedure to build the ${binfile}.ci
24718 file, instead of replicating this in N different places.
24719 (gdb_compile): New procedure.
d63a86f8 24720
c906108c 24721 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
889bf7c5
PA
24722 appropriate arguments) instead of compile. Use gdb_test in a lot
24723 more places. Use send_gdb instead of send. Always run gdb_start
c906108c
SS
24724 at the start of a testcase, as this is no longer done magically.
24725
24726 config/*-gdb.exp: Rename without the -gdb suffix.
24727
24728 config/mips.exp: Use remote_close instead of exit_remote_shell.
24729 config/monitor.exp: Use target_info instead of looking at
24730 baud, timeout, etc.
24731 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
24732
24733Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24734
24735 * gdb.c++/templates.exp (test_ptype_of_templates),
24736 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
24737 Update expect patterns for destructors and assignment operators
24738 to match corresponding c-typeprint.c changes.
24739 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
24740 to destructor breakpoint test, GDB should be able to set the
24741 destructor breakpoint without specifying arguments.
24742
24743Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
24744
24745 * gdb.threads/pthreads.exp: Change result for failure to compile due
24746 to lack of pthreads runtime support from an error to simply an
24747 unsupported test, per dejagnu standards.
24748
24749Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24750
24751 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
24752 where GDB exits to reduce pattern match time.
24753 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
24754
24755 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
24756
dc96c6c7 24757Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
24758
24759 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
24760 * gdb.base/default.exp: ditto.
24761 * gdb.base/nodebug.exp: ditto.
24762 * gdb.base/printcmds.exp: ditto.
24763 * gdb.base/ptype.exp: ditto.
24764 * gdb.base/setvar.exp: ditto.
24765 * gdb.base/structs.exp: ditto.
24766 * gdb.base/setshow.c: Guard against uninitialized values of argc.
24767
24768Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
24769
24770 * configure, */configure: Rebuild with autoconf 2.12.
24771
24772Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
24773
24774 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
24775 use new i*86-pc-linux*-gnu quads.
24776 * gdb.base/corefile.exp: Ditto.
24777 * gdb.base/signals.exp: Ditto.
24778 * gdb.base/sigall.exp: Ditto.
24779 * gdb.base/interrupt.exp: Ditto.
24780
24781 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
24782 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
24783 RedHat 4.0.
d63a86f8 24784
c906108c 24785 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
889bf7c5
PA
24786 linux. This allows the test case to at least compile on latest
24787 linux, but still not run due to missing the threads runtime library.
c906108c
SS
24788
24789Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24790
24791 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
24792 directory to search gdb directory. Accept and step over conditional
24793 stack alignment code. Consume $prompt in failure cases.
24794 Reset timeout to $oldtimeout instead of some arbitrary value.
24795 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
24796 timeout problems with infinite stack backtraces.
24797 * gdb.base/ptype.exp (ptype struct link, union tu_link):
24798 Accept function parameters for linkfunc member.
24799
24800Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
24801
24802 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
24803 (CXXFLAGS): Remove, unreferenced.
24804 (B_OPTIONS): Add for -B options and add code to initialize with
889bf7c5
PA
24805 previous -B options and also add -B option to pick up cross compiled
24806 runtime.
c906108c
SS
24807 (TARGET_INCLUDES): Add for -I options and add code to initialize when
24808 doing cross compiles.
24809 (target_alias): Declare global.
24810 (xgcc): Set variable to full path of gcc in build tree. Use findfile
24811 to verify that gcc exists in build tree, and if so set CC to that
24812 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 24813
c906108c
SS
24814Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
24815
24816 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
24817 ptype test for anonymous union. Fixup testcase to match
24818 current gcc debug output.
24819
24820Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
24821
24822 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
24823 force argument to an unsigned long type.
24824
24825Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
24826
24827 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
889bf7c5 24828 tests and anonymous union print/ptype tests.
c906108c
SS
24829 * gdb.base/list.exp (test_forward-search): Increase timeout by
24830 5 minutes for the "search extremely long line" case.
24831 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
24832 completely optional and that the pass/fail messages use the command as
24833 the message if that third arg is a null string.
24834 (gdb_test_exact): Arrange that a null string pattern means match a
24835 null string output rather than any output, which might include random
889bf7c5 24836 errors.
c906108c
SS
24837 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
24838 backtrace test.
24839 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
24840 always failing and failure is now exposed by gdb.exp changes.
24841
24842Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
24843
24844 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
24845 weren't being noted.
24846
24847Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24848
24849 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
24850 * gdb.stabs/weird.exp: Remove v_comb xfails.
24851
dc96c6c7 24852Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
24853
24854 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 24855 list.exp scope.exp watchpoint.exp]
c906108c 24856 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 24857
dc96c6c7 24858Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
24859
24860 * config/monitor.exp: Increase download timeout to 1000 seconds.
24861
dc96c6c7 24862Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
24863
24864 * config/m32r.exp: Increase timeout to 120 seconds.
24865
24866Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
24867
24868 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
24869 and accept older ordering as obsolescent gcc or gdb.
24870 * gdb.c++/templates.exp: Ditto.
24871 * gdb.c++/virtfunc.exp: Ditto.
24872
24873Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
24874
24875 * gdb.base/coremaker.c: Add code to mmap some data so we
24876 can check that it ends up in the core file.
24877 * gdb.base/corefile.exp: Add test to read mmapped data
24878 from core file.
24879
dc96c6c7 24880Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
24881
24882 * config/m32r.exp: New file.
24883
24884Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
24885
24886 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
24887 that cflags can contains -gstabs, and work correctly for other tests.
24888
dc96c6c7 24889Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
24890
24891 * gdb.base/setshow.exp: New file, tests show and set.
24892 * gdb.base/setshow.c: New file, tests show and set.
24893 * gdb.base/help.exp: Add test for help set|show annotate.
24894 * gdb.base/default.exp: Add test for set|show annotate.
24895
24896Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
24897
24898 * testsuite/gdb.base/break.exp: Make backtrace from factorial
24899 errors unique.
24900 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
24901 explicitly.
24902
24903Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
24904
24905 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
24906 and width commands. This is done elsewhere.
24907 * (gdb_start): Don't call gdb_start_sim here. That's already
24908 done in gdb_load. This fixes lots of failures in default.exp.
24909
24910Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
24911
24912 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
24913 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
24914 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
24915 in the same we we treat other failures (since it may be an expected
889bf7c5 24916 condition), rather than as an error.
c906108c
SS
24917 * gdb.base/signals.exp (test_handle_all_print): Revert back to
24918 old test format.
24919
24920Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
24921
24922 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
24923 (distclean maintainer-clean realclean): No need to remove files
889bf7c5 24924 twice. Nuke the duplicates.
c906108c 24925 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 24926 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
24927 Remove config.h along with other config files.
24928
24929Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
24930
24931 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
24932 "p func1 ()" and note that rests of tests are skipped.
24933 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 24934 setup_xfails for "print func2::coremaker_local".
c906108c
SS
24935 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
24936 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
24937 affected by the previous run test.
24938 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
24939 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
24940 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
24941 "pass int powerset tuple" and "pass modeless int powerset tuple".
24942 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
24943 "real write 4" and "real write 8".
24944 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 24945 setup_xfails for "print vs1 after tuple assign 2",
c906108c
SS
24946 "print \$i after tuple assign 2", and
24947 "print vs2 after tuple assign 2".
24948 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
24949 meaningful error message and return -1 so the caller can
24950 suppress further tests and avoid a cascade of errors.
d63a86f8 24951
c906108c
SS
24952Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
24953
24954 * gdb.base/a1-selftest.exp: Tweak tests to account for new
24955 format for printing version.
24956 * gdb.base/default.exp: Ditto.
24957 * gdb.base/interrupt.exp: Fix problem with cascade of
24958 errors if child process dies while calling a function.
d63a86f8 24959
c906108c
SS
24960Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
24961
24962 * Makefile.in (VPATH): Add
24963 * Makefile.in (Makefile, config.status): Fix rules so things get
24964 remade when necessary.
24965
24966Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
24967
24968 * Makefile.in (just-check): Add path to sibling expect dir
24969 to environment variable specified by RPATH_ENVVAR.
24970
24971Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
24972
24973 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
24974 (just-check): Add shared library paths for libstdc++, tk,
24975 tcl, bfd, and opcodes to the environment variable specified
24976 in RPATH_ENVVAR.
24977 * configure.in: Add support to recognize --enable-shared flag
24978 and generate correct value for RPATH_ENVVAR.
24979 * configure: Regenerated with autoconf.
24980
24981Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
24982
24983 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
889bf7c5 24984 include all osf versions.
c906108c
SS
24985 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
24986 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
24987 when target is linux. When failing to build pthreads test
24988 executable, give more meaningful message.
24989 * gdb.threads/pthreads.c: Hpux also uses old definition of second
24990 arg for pthread_create.
d63a86f8 24991
c906108c
SS
24992Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
24993
24994 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
889bf7c5 24995 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
c906108c 24996 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
889bf7c5 24997 and -lpthreads (everybody else).
c906108c
SS
24998 (test_startup): Fail gracefully if threads are not supported.
24999 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
25000 "p/c array_index("abcdef",2)" when not gcc compiled.
25001 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
25002 "print func2::coremaker_local" when not gcc compiled.
25003 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
25004 "ptype on opaque struct tagname (statically)",
25005 "ptype on opaque struct tagname (dynamically) 1", and
25006 "ptype on opaque struct tagname (dynamically) 2"
25007 for not compiled with gcc.
25008 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
25009 backtrace when compiled with gcc.
d63a86f8 25010 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
25011 than always return success.
25012
25013Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
25014
25015 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
25016
25017Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
25018
25019 * gdb.base/structs.exp: Undo last change.
25020
25021Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
25022
25023 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
25024 encapsulate all the steps/nexts done during self test, starting
25025 at main, and makes them less sensitive to optimization issues.
25026 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
25027 signal handler" test.
25028 * gdb.threads/pthreads.exp: Only run this for native configs.
25029 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
25030 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
25031 tests.
25032 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
25033 for "runto test_calls(void)" test.
d63a86f8 25034
c906108c
SS
25035Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
25036
25037 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
25038 and don't expect address info in breakpoint confirmations.
25039
25040Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
25041
25042 * gdb.base/list.exp (test_forward_search): Increase timeout
25043 temporarily by 60 seconds for searching extremely long line,
889bf7c5 25044 and then reset to old value when done. Increase expect input
c906108c
SS
25045 buffer to 10000.
25046
25047Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
25048
25049 * gdb.base/list.exp (test_forward_search): Fix to handle very
25050 long source line without overflowing expect's input buffer.
25051
25052Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
25053
25054 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
25055 "buffer_full".
25056
25057 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
25058 "buffer_full".
25059
25060 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
25061 "buffer_full".
25062
25063 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
25064 "buffer_full".
25065
25066Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
25067
25068 * configure.in (configdirs): Add gdb.threads.
25069 * configure: Regenerated with autoconf.
25070 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
25071 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
25072 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 25073
c906108c
SS
25074Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
25075
25076 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
25077
25078Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
25079
25080 * gdb.base/signals.exp (test_handle_all_print): Test separately for
25081 each signal's status in the output of "handle all print".
25082 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
25083 the \r\n sequence that immediately precedes the gdb prompt.
25084 * gdb.base/a1-selftest.exp: Save original timeout and restore
25085 after test.
25086
25087Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
25088
25089 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
25090 symbol.
25091
25092Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
25093
25094 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
25095
25096Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
25097
25098 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
25099 timeout by 60 seconds.
25100
25101Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
25102
25103 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
25104 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
25105 error return.
25106
25107Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
25108
25109 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
25110 gdb initialization, also report how long dejagnu waited. Restore
25111 old timeout before doing error return. Temporarily increase timeout
889bf7c5 25112 by 3 minutes to allow for slow startups over heavy NFS use.
c906108c
SS
25113
25114Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
25115
25116 * lib/gdb.exp: Report timeout value for verbosity level 2.
25117 * config/gdbserver.exp: Ditto.
25118 * config/hppro.exp: Ditto.
25119 * config/mips-gdb.exp: Ditto.
25120 * config/monitor.exp: Ditto.
25121 * config/netware.exp: Ditto.
25122 * config/sim-gdb.exp: Ditto.
25123 * config/slite-gdb.exp: Ditto.
25124 * config/udi-gdb.exp: Ditto.
25125 * config/unix-gdb.exp: Ditto.
25126 * config/vx-gdb.exp: Ditto.
25127 * gdb.base/a1-selftest.exp: Ditto.
25128 * gdb.base/a2-run.exp: Ditto.
25129 * gdb.base/break.exp: Ditto.
25130 * gdb.base/corefile.exp: Ditto.
25131 * gdb.base/list.exp: Ditto.
25132 * gdb.base/recurse.exp: Ditto.
25133 * gdb.base/scope.exp: Ditto.
25134 * gdb.base/signals.exp: Ditto.
25135
25136Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
25137
25138 * gdb.threads/Makefile.in (docdir): Removed.
25139
25140Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
25141
25142 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 25143 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 25144 @srcdir@.
d63a86f8 25145 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
25146 autoconf 2.5 or higher.
25147 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
25148
25149Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
25150
25151 * configure: Regenerated.
25152 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
25153 avoid name clashes with SunOS headers.
25154
25155Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
25156
25157 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
25158
25159Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
25160
25161 * gdb.base/callfuncs.exp: Finish last change -- make sure the
25162 prototype information ends up in the compiler info file.
25163
25164Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
25165
25166 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
25167 attempting to regenerate it. Eliminate use of a temporary file
25168 and just generate the info file directly. Source it immediately,
25169 for consistency of use.
25170 * gdb.base/corefile.exp: Ditto
25171 * gdb.base/exprs.exp: Ditto.
25172 * gdb.base/funcargs.exp: Ditto.
25173 * gdb.base/langs.exp: Ditto.
25174 * gdb.base/list.exp: Ditto.
25175 * gdb.base/mips_pro.exp: Ditto.
25176 * gdb.base/nodebug.exp: Ditto.
25177 * gdb.base/opaque.exp: Ditto.
25178 * gdb.base/ptype.exp: Ditto.
25179 * gdb.base/scope.exp: Ditto.
25180 * gdb.base/setvar.exp: Ditto.
25181 * gdb.base/signals.exp: Ditto.
25182 * gdb.base/whatis.exp: Ditto.
25183 * gdb.c++/templates.exp: Ditto.
25184 * gdb.c++/virtfunc.exp: Ditto.
25185 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
889bf7c5 25186 whether or not to add -lstdc++ to the compile command line args.
c906108c
SS
25187
25188Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25189
25190 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
25191 it got fixed by the recent lookup_minimal_symbol_by_pc change.
25192 Increase timeout, a lot of single stepping might be needed if the
25193 target has no hardware watchpoints.
25194
25195Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
25196
25197 * gdb.base/break.exp: Ignore compiler warnings when compiling
25198 break.c.
25199 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
25200 * gdb.base/default.exp: Add h8300 xfails. Handle messages
25201 from remote-sim.
25202 * gdb.base/exprs.exp: Add h8300 xfails.
25203 * gdb.base/funcargs.exp: Likewise.
25204 * gdb.base/nodebug.exp: Likewise.
25205 * gdb.base/printcmds.exp: Likewise.
25206 * gdb.base/ptype.exp: Likewise.
25207 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
25208 h8300 xfails.
d63a86f8 25209 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
25210 on the h8300.
25211 * gdb.base/funcargs.c: Explicitly make last constant argument to
25212 call_after_alloca_subr an unsigned long type.
25213 * gdb.base/return.c: Include stdio.h.
25214
25215Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
25216
25217 * config/abug.exp: New file for the older Motorola Bug monitor
25218 that runs on the mvme13x series VME boards.
25219 * config/monitor.exp: Use the new config array for target settings
25220 if they exist.
25221
25222Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
25223
25224 * sim-gdb.exp: Make the SH simulator allocate less space when
25225 it is targeted.
25226
25227Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
25228
25229 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
25230 test.
25231
25232Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
25233
25234 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
25235 "rs6000-*-*" for "list function in include file" when gcc compiled.
25236 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
25237 for "p ctable1[120]".
25238 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
25239 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
25240 Remove setup_xfail for "rs6000-*-*" for
25241 "print 'scope0.c'::filelocal before run".
25242 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
25243 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
25244 since some compilers don't allow both options to be given
25245 on the same command line. Create object file and move it.
d63a86f8 25246
c906108c
SS
25247Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
25248
25249 * gdb.base/corefile.exp: Always regenerate the core file, since
25250 we always regenerate the coremaker program. Detect special case
25251 where registers cannot be read from core file.
d63a86f8 25252
c906108c
SS
25253Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
25254
25255 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
25256 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
25257 * gdb.c++/templates.exp: Only match on basename of file since
25258 some formats like xcoff don't encode directory information.
25259 * gdb.stabs/weird.exp: Use the right sed script for powerpc
25260 and rs6000 AIX xcoff targets.
25261 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
25262 * configure: Regenerate.
25263 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
25264 here, rather than in distclean.
d63a86f8 25265
c906108c
SS
25266Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
25267
25268 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
25269 defined, and use it to compile the test case with -O2. The
25270 native compilation still uses no optimization.
25271 * gdb.base/mips_pro.c: Remove inline assembly code since
25272 it is compiled PIC by default, which results in assembler
25273 warnings that make the testsuite think the compilation
25274 was unsuccessful.
25275
25276Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
25277
25278 * gdb.c++/misc.exp: Add note to message for
25279 "print s.a for foo struct" that this is a known gcc 2.7.2
25280 and earlier bug.
25281
25282Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
25283
25284 * gdb.base/break.exp: Fix pattern for matching "Delete all
25285 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
25286 setup_xfail for deleting all breakpoints test. Fix various
25287 timeout messages to include "(timeout)".
25288 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
25289 for "p t_float_values2(3.14159,float_val2)".
25290 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
25291 for "continue to call2g" when gcc compiled.
25292 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
25293 "up to foo in langs.exp", "show language at foo in langs.exp",
25294 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
25295 and "show language at fsub in langs.exp".
25296 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
25297 "list line 1 in include file", "list message for lines past EOF",
25298 "list function in include file", "list list0.h:foo", and
25299 "list filename:function; nonexistant function".
25300 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
25301 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
25302 and "ptype t_char_array" to be for native cc only.
d63a86f8 25303
c906108c
SS
25304Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
25305
d63a86f8 25306 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c 25307 setup_xfail for "print coremaker_bss", "print coremaker_ro",
889bf7c5 25308 "print func2::coremaker_local", and "backtrace in corefile.exp".
c906108c
SS
25309
25310Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
25311
25312 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
25313 "bt in signals.exp". This problem only appears when running
25314 the testsuite, and then only intermittently.
25315
25316Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
25317
25318 * gdb.base/return.exp (return_tests): Differentiate between
25319 two tests of continuing.
25320
25321Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
25322
25323 * */Makefile.in (maintainer-clean): Remove config.log.
25324 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
25325 * gdb.c++/Makefile.in (PROGS): Add inherit.
25326 (clean): Remove *.ci.
25327
25328Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
25329
25330 * gdb.c++/misc.cc: Add test code from Mike Stump.
25331 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
25332
25333Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
25334
25335 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
25336 to "alpha-*-osf2*" and add comment.
25337 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
889bf7c5
PA
25338 setup_xfail for "step over execarg initialization" and
25339 "step over corearg initialization".
c906108c
SS
25340 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
25341 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
25342 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
889bf7c5 25343 gcc compiled for "print coremaker_bss", "print coremaker_ro",
c906108c
SS
25344 "print func2::coremaker_local", and "backtrace in corefile.exp".
25345 * gdb.base/signals.exp: Build and source signals.ci.
25346 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
25347 to be for gcc only.
25348 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 25349
c906108c
SS
25350Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25351
25352 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
25353 Feb 3 procfs.c change.
25354
25355Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
25356
25357 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
25358
25359Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
25360
25361 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
25362 from dejagnu's apparent default of 10 seconds, which gives random
25363 results when running the tests over NFS on moderately loaded systems.
25364 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
25365
25366Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
25367
25368 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
25369 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
889bf7c5 25370 result reports.
c906108c
SS
25371
25372Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
25373
25374 * configure.in (CY_AC_PATH_TCLH): Remove.
25375 * configure: Regenerate.
25376
25377Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
25378
25379 * gdb.c++/Makefile.in (clean): Add missing '{'.
25380
25381Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
25382
25383 * lib/gdb.exp: Provide a default value for noinferior.
25384
25385 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
25386 Load libgloss.exp.
25387
25388Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
25389
25390 * gdb.disasm/hppa.exp: Compile directly into an executable, use
25391 the executable, not the .o to run the tests from.
25392
25393Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
25394
25395 * gdb.base/break.exp: Don't test for program exit or exit status
25396 if $noresults if nonzero.
25397 * gdb.base/langs.exp: Likewise.
25398 * gdb.base/watchpoint.exp: Likewise.
25399
25400 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
25401 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
25402 trying to compile the testcase.
25403
25404Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
25405
25406 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
25407 * gdb.base/signals.exp (continue to handler): Likewise.
25408
25409Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
25410
25411 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
25412
25413 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
25414
25415Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
25416
25417 * gdb.base/corefile.exp: Recognize "not found" as failure
25418 when trying to determine if a core file was generated.
25419 If no core file was generate the first time, try again without
25420 the ulimit -c to work around braindamaged shells.
25421
25422Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
25423
25424 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
25425 [] tests with "test" and enclose string in quotes.
25426 * gdb.stabs/configure: Rebuild
d63a86f8 25427
c906108c
SS
25428Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
25429
25430 Changes in sync with expect:
25431 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
25432 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
25433 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
25434 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
25435 argument to AC_REQUIRE.
25436 * configure: Regenerated.
25437
25438Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
25439
25440 * gdb.base/corefile.exp: When generating a core, discard any
25441 error messages about ulimit not found and the "core dumped"
25442 message from the shell that runs the coredumper.
25443
25444Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
25445
25446 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
25447
25448 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
25449 which sed script to run. Expect failure for v_comb test
25450 on PA targets too.
d63a86f8 25451
c906108c
SS
25452Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
25453
25454 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
889bf7c5 25455 "print func2::coremaker_local" and for "backtrace in corefile.exp"
c906108c
SS
25456
25457Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
25458
25459 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
25460 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
889bf7c5 25461 "sparc-sun-solaris*" xfails for "p v_comb".
c906108c
SS
25462 * lib/gdb.exp (default_gdb_start): Fix typo.
25463 * gdb.base/corefile.exp: Allow "Core was generated by ..."
25464 messages to not include the full program name that caused
25465 the core dump since some systems (such as solaris) apparently
25466 truncate this path to about 80 characters.
25467 When generating a core file first try increasing the core file
25468 size limit to unlimited since some systems may default it to
25469 zero, and it is harmless to try it. Move the test for failing
25470 to generate a core file to where it will actually get executed.
25471 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
25472 new gdb result from g++ debug info improvements and make old
25473 pattern obsolescent. Also account for size_t differences
25474 (may be int or long).
25475 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
25476 initialization before function call is placed in the delay slot
25477 and thus appears to be skipped over by commands such as "next".
25478
25479Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
25480
25481 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
25482
25483Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
25484
25485 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
25486 input source file; fix code to compile test to deal with this
25487 convention.
25488 * gdb.c++/*.exp: Likewise.
25489
25490Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
25491
25492 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
25493 "bt in signals.exp".
25494
25495Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
25496
25497 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
25498 "step over execarg initialization" and
889bf7c5 25499 "step over corearg initialization".
c906108c
SS
25500
25501Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
25502
25503 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
25504 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
25505
25506Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
25507
25508 From Rob Savoye (rob@poseidon.cygnus.com)
25509 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
25510 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
889bf7c5
PA
25511 configure.in}, gdb.disasm/{Makefile.in, configure.in},
25512 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
25513 configure.in}: Major reworking for autoconfig.
c906108c
SS
25514 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
25515 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
889bf7c5 25516 New files.
c906108c
SS
25517 * config/unix-gdb.exp: Make GDB global.
25518 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
889bf7c5
PA
25519 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
25520 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
25521 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
25522 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
25523 term.exp, twice.exp, watchpoint.exp, whatis.exp},
c906108c 25524 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
889bf7c5
PA
25525 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
25526 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
25527 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
25528 pr-8136.exp, result.exp, string.exp, tuples.exp},
c906108c 25529 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
889bf7c5
PA
25530 to returns as necessary, arrange for test to compile own testcase
25531 executable.
c906108c 25532 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 25533
c906108c
SS
25534Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
25535
25536 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
889bf7c5 25537 clear_xfail at end of test which might not call either pass or fail.
c906108c
SS
25538 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
25539 "backtrace through signal handler".
25540
25541Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25542
25543 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
25544 continuing from a job control stop signal.
25545 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
25546
25547Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
25548
25549 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
25550 * gdb.base/corefile.exp: Likewise.
25551 * gdb.base/funcargs.exp: Likewise.
25552
25553Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
25554
25555 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
25556 * config/monitor.exp: Add support for setting baud rate.
25557
25558Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
25559
25560 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
25561 i*86-*-linux* xfails for "backtrace through signal handler".
25562 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
25563 "print func2::coremaker_local".
25564 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
889bf7c5 25565 alpha-dec-osf2* xfail for
c906108c
SS
25566 "delete all breakpoints when none".
25567
25568Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
25569
25570 * gdb.base/break.exp: Change test that deletes all breakpoints
25571 when no user breakpoints are installed. A post 4.15 change
25572 causes gdb to no longer prompt in this case.
25573
25574Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
25575
25576 * gdb.base/return.exp (return_tests): Change xfail for test
25577 "correct value returned double test" to stop xfailing at
25578 Solaris 2.5. Apparently the bug has been fixed.
25579
25580Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
25581
25582 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
25583 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
25584
25585Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
25586
25587 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
25588 * gdb.disasm/hppa.s: Corresponding changes.
25589
25590Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
25591
25592 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
25593 makefile fragment.
25594 * config/mt-hpux: Deleted.
25595
25596Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
25597
d63a86f8 25598 * Many files: When warning about suppressed tests due to a
c906108c
SS
25599 nonexistant test binary, avoid incrementing the warning count.
25600
25601Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
25602
25603 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 25604
c906108c
SS
25605Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25606
25607 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
25608 "sparc-*-solaris2*".
25609
25610Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25611
25612 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
25613 Add global and local variables and initialize them.
25614 * gdb.base/corefile.exp: Test correct mapping of corefile sections
25615 by printing variables. Remove rs6000 and powerpc xfails, BFD now
25616 extracts the file name and terminating signal from the core file.
25617 * TODO: Remove note about tests for correct mapping of corefile.
25618 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
25619 from optimizing it away.
25620 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
25621 handles common blocks.
25622
25623Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
25624
25625 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
25626 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
25627
25628Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
25629
25630 * Makefile.in (maintainer-clean): New target, synonym for
25631 realclean.
25632 * gdb.base/Makefile.in (maintainer-clean): Likewise.
25633 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
25634 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
25635 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
25636 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
25637 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
25638
25639Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
25640
25641 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
25642 xfails when not gcc compiled for "print foo::funclocal".
25643 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
25644 "print foo::funclocal at foo",
25645 "print 'scope1.c'::foo::funclocal at foo",
25646 "print foo::funclocal_bss at foo",
25647 "print 'scope1.c'::foo::funclocal_bss at foo",
25648 "print foo::funclocal_ro at foo",
25649 "print 'scope1.c'::foo::funclocal_ro at foo",
25650 "print bar::funclocal at foo" and
25651 "print 'scope1.c'::bar::funclocal at foo".
25652 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
25653 gcc compiled for "print foo::funclocal at bar".
25654 Expand all messages to ensure that they identify that
25655 the test is at bar().
25656 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
25657 gcc compiled for:
25658 "ptype on opaque struct pointer (statically)",
25659 "ptype on opaque struct tagname (statically)",
25660 "ptype on opaque struct pointer (dynamically) 1",
25661 "ptype on opaque struct tagname (dynamically) 1",
25662 "ptype on opaque struct pointer (dynamically) 2" and
25663 "ptype on opaque struct tagname (dynamically) 2
25664 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
25665 gcc compiled for:
25666 "p datalocal"
25667 "whatis datalocal",
25668 "ptype datalocal",
25669 "p bsslocal",
25670 "whatis bsslocal", and
25671 "ptype bsslocal".
25672 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
25673 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
25674 when not gcc compiled.
25675 * gdb.base/funcargs.exp (float_and_integral_args): Add
25676 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
25677 compiled.
25678 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
25679 "backtrace from call6a" when not gcc compiled.
25680 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
25681 "backtrace from call7a" when not gcc compiled.
25682 * gdb.base/callfuncs.exp (do_function_calls):
25683 Add "hppa*-*-hpux*" xfail when not gcc compiled for
25684 "p t_char_array_values(char_array_val2,char_array_val1)",
25685 "p t_char_array_values(char_array_val1,char_array_val2)",
25686 "p t_char_array_values("carray 1","carray 2")",
25687 "p t_char_array_values("carray 1",char_array_val2)",
25688 "p t_char_array_values(char_array_val1,"carray 2")",
25689 "p sum_args(1,{2})",
25690 "p sum_args(2,{2,3})",
25691 "p sum_args(3,{2,3,4})",
25692 "p sum_args(4,{2,3,4,5})"
25693 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
25694 "backtrace in corefile.exp" when not gcc compiled.
25695
25696Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25697
25698 * gdb.base/signals.exp: Rewrite `handle all print' test as
25699 a procedure. Accept blanks or TABs as whitespace, increase
25700 timeout and expect input buffer size for the large output
25701 from the command. Remove "i*86-*-bsdi2.0" xfail.
25702
25703Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25704
25705 * gdb.base/setvar.exp: Add new testcases for truncation when
25706 assigning invalid values to bitfields.
25707
25708Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
25709
d63a86f8 25710 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
25711 mips-sgi-irix* xfail for
25712 "call inferior func with struct - returns char *"
25713 and fix test so that an optional (unsigned char *) cast is
889bf7c5 25714 accepted in the result.
c906108c
SS
25715
25716Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
25717
25718 * gdb.base/funcargs.exp (float_and_integral_args): Remove
25719 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
25720 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
25721 * gdb.base/signals.exp: Remove duplicate "handle all print" test
25722 that accidentally got checked in.
25723
25724Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
25725
d63a86f8 25726 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
25727 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
25728 compiled test.
25729 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
25730 Add mips-sgi-irix5* xfail for not gcc compiled.
25731 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
25732 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
25733 "p top", "whatis top", "p middle", and "whatis middle".
25734 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
25735 "whatis signed char" for not gcc compiled.
25736 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
25737 "set variable signed char=-1 (-1)" and
25738 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
25739 * gdb.base/funcargs.exp (float_and_integral_args):
25740 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
25741 Add mips-sgi-irix* xfail when not gcc compiled for
25742 "continue to call2b".
25743 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
25744 "continue to call2g".
25745 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
25746 "backtrace from call6a"
25747 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
25748 "backtrace from call7k".
25749 Add mips-sgi-irix5* xfail when not gcc compiled for
25750 "backtrace from call7a".
25751 (localvars_after_alloca): Fix gdb_test cmds for
25752 "print * after runto ...".
25753 Remove rs6000-*-* xfails for
25754 "print i after runto localvars_after_alloca" and
25755 "print l after runto localvars_after_alloca"
25756 for all compilers.
25757 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
889bf7c5 25758 when not compiled with gcc, for:
c906108c
SS
25759 "print signed char == (minus)",
25760 "print signed char != (minus)",
25761 "print signed char < (minus)",
25762 "print signed char > (minus)".
25763 * gdb.base/callfuncs.exp (do_function_calls):
25764 Add mips-sgi-irix* xfail, when compiled with native compiler, for
25765 "call inferior func with struct - returns char *".
d63a86f8 25766 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
25767 "correct value returned double test" to include Solaris 2.4.
25768 * gdb.base/funcargs.exp (float_and_integral_args):
25769 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 25770
c906108c
SS
25771Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25772
25773 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
25774 enumeration bitfields if compiling with GNU C.
25775 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
25776 to empty' prompt.
25777
25778Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
25779
25780 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
25781 test for PRO targets.
25782
25783 * gdb.base/funcargs.exp: Avoid ever setting more than 8
25784 breakpoints in the inferior at any given time by making
25785 two groups of breakpoints for call2*, call6* and call7*
25786 tests.
25787
25788Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25789
25790 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
25791 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
25792 from optimizing it away.
25793 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
25794 "call inferior func with struct".
25795
25796Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
25797
25798 * configure.in: Only configure gdb.chill for particular targets.
25799
25800Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
25801
25802 * gdb.base/Makefile.in: Add action to .c.o transformation
25803 rule that generates a .ci file for each .o file and remove
25804 explicit .c.o rules except for callfuncs.o.
25805 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
25806 generates a .ci file for each .o file and remove explicit
25807 .cc.o rules.
25808 (clean): Remove *.tmp *.ci files.
25809 (EXECUTABLES): Remove templ-info.exp.
25810 * gdb.base/compiler.c: New file.
25811 * gdb.c++/compiler.cc: New file
25812 * gdb.base/scope.exp: Source gdb.base/scope.ci.
25813 Change rs6000-*-* xfail for
25814 "print 'scope0.c'::filelocal_ro" and
25815 "print 'scope1.c'::filelocal" and
25816 "print 'scope1.c'::filelocal_bss" and
25817 "print 'scope1.c'::filelocal_ro" and
25818 "print 'scope1.c'::foo::funclocal" and
25819 "print 'scope1.c'::foo::funclocal_ro" and
25820 "print 'scope1.c'::bar::funclocal" and
25821 "print 'scope0.c'::filelocal_ro" and
25822 "print 'scope1.c'::filelocal at foo" and
25823 "print 'scope1.c'::filelocal_bss at foo" and
25824 "print 'scope1.c'::filelocal_ro at foo" and
25825 "print 'scope1.c'::foo::funclocal at foo" and
25826 "print 'scope1.c'::foo::funclocal_bss at foo" and
25827 "print 'scope1.c'::foo::funclocal_ro at foo" and
25828 "print 'scope1.c'::bar::funclocal at foo" and
25829 "print 'scope0.c'::filelocal_ro" and
25830 "print 'scope1.c'::filelocal" and
25831 "print 'scope1.c'::filelocal_bss" and
25832 "print 'scope1.c'::filelocal_ro" and
25833 "print 'scope1.c'::foo::funclocal" and
25834 "print 'scope1.c'::foo::funclocal_bss" and
25835 "print 'scope1.c'::foo::funclocal_ro" and
25836 "print 'scope1.c'::bar::funclocal" and
25837 "print 'scope1.c'::bar::funclocal_bss"
25838 to only be xfail'd when not compiled with gcc.
d63a86f8 25839 Add rs6000-*-* xfail for
c906108c
SS
25840 "print 'scope0.c'::filelocal_bss before run"
25841 when compiled with gcc.
25842 (test_at_main): Add rs6000-*-* xfail for
25843 "print filelocal_ro in test_at_main"
25844 when compiled with gcc.
25845 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
889bf7c5 25846 Add rs6000-*-aix* xfail for
c906108c
SS
25847 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
25848 "ptype t_char_array", not compiled with gcc.
25849 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
25850 xfail for "list foo (in include file)" when gcc compiled.
25851 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
889bf7c5 25852 (integral_args): Add rs6000-*-* xfail for
c906108c
SS
25853 "run to call0a" if not compiled with gcc.
25854 (unsigned_integral_args): Add rs6000-*-* xfail for
25855 "run to call1a" if not compiled with gcc.
25856 (float_and_integral_args): Add rs6000-*-* xfail for
25857 "run to call2a" if not compiled with gcc and for
25858 "continue to call2b" for any compiler.
25859 Add rs6000-*-* xfail to
25860 "print f1 after run to call2a" for gcc compiled.
25861 (discard_and_shuffle): Add rs6000-*-* xfail for
25862 "run to call6a".
25863 (shuffle_round_robin): Add rs6000-*-* xfail for
25864 "backtrace from call7a" if not compiled with gcc.
25865 Add rs6000-*-* xfail for
25866 "backtrace from call7b" if compiled with gcc.
25867 (call_after_alloca): Add rs6000-*-* xfail for
25868 "print c in call_after_alloca" and
25869 "print s in call_after_alloca" and
25870 "backtrace from call_after_alloca_subr"
25871 if not compiled with gcc.
25872 (localvars_in_indirect_call): Add rs6000-*-* xfail for
25873 "print c in localvars_in_indirect_call" and
25874 "print c in localvars_in_indirect_call" and
25875 "backtrace in indirectly called function" and
25876 "stepping into indirectly called function"
25877 if not compiled with gcc.
25878 (localvars_after_alloca): Add rs6000-*-* xfail for
25879 "print c after runto localvars_after_alloca" and
25880 "print s after runto localvars_after_alloca" and
25881 "print i after runto localvars_after_alloca" and
25882 "print l after runto localvars_after_alloca"
25883 for all compilers.
25884 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
25885 than whatis-info.exp.
25886 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
25887 than opaque-info.exp.
25888 Setup rs6000-*-* xfail for
d63a86f8 25889 "ptype on opaque struct pointer (statically)" and
c906108c
SS
25890 "ptype on opaque struct pointer (dynamically)" when
25891 not compiled with gcc.
25892 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
25893 rather than callf-info.exp.
25894 (do_function_calls): Add clear_xfail for rs6000-*-* for
25895 "p t_float_values2(3.14159,float_val2)". Seems to work
25896 fine there, both with xlc and gcc. Need to find out what
25897 it is doing right and fix other platforms.
25898 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
25899 "call inferior func with struct - returns int",
25900 "call inferior func with struct - returns long",
25901 "call inferior func with struct - returns float",
25902 "call inferior func with struct - returns double",
25903 "call inferior func with struct - returns char *",
25904 but only if not gcc compiled (presumes xlc compiled).
25905 Change rs6000-*-* xfails for
25906 "call inferior func with struct - returns char" and
25907 " call inferior func with struct - returns short" to only
25908 xfail if not using gcc.
25909 (clean mostlyclean): Remove *.ci and *.tmp files.
25910 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
25911 than templ-info.exp.
25912 * gdb.base/langs.exp: Source gdb.base/langs.ci.
25913 Add rs6000-*-* xfail for "up to foo in langs.exp"
25914 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
889bf7c5 25915 when not gcc compiled.
d63a86f8 25916
c906108c
SS
25917Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
25918
25919 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
25920 * gdb.base/corefile.exp: Likewise.
25921 * gdb.base/list.exp: Likewise.
25922 * gdb.base/scope.exp: Likewise.
25923 * gdb.base/siganls.exp: Likewise.
25924
25925 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
25926 compiler output.
25927 * gdb.base/whatis.exp: Likewise.
25928
25929Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
25930
25931 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
25932 failure (opcode table has been fixed to match reality).
25933
25934Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
25935
25936 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
25937 "call inferior func with struct - returns char",
25938 "call inferior func with struct - returns short"
25939
25940 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
25941 "print 'scope0.c'::filelocal at main",
25942 "print 'scope0.c'::filelocal_bss in test_at_main",
25943 "print 'scope0.c'::filelocal at foo",
25944 "print 'scope0.c'::filelocal_bss in test_at_foo",
25945 "print 'scope0.c'::filelocal at bar",
25946 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 25947
c906108c
SS
25948 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
25949 in source file 1". This bug seems to have been fixed with both
25950 gcc and native cc (was native assembler bug?).
25951
25952Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
25953
25954 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
25955 "backtrace through signal handler" to "i*86-*-sysv4*".
25956 * gdb.base/signals.exp: Add xfail for "'next' behaved as
25957 continue" case. Add "known SVR4 bug" to fail message.
25958 Add "i*86-*-bsdi2.0" xfail for "handle all print".
25959 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
25960 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
25961 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
25962 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
25963 "up to foo in langs.exp", "show language at foo in
25964 langs.exp", "up to cppsub_ in langs.exp", "show
25965 language at cppsub_ in langs.exp", "up to fsub in
25966 langs.exp", and "show language at fsub in langs.exp".
25967 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
25968 "bactrace in corefile.exp".
25969 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
25970 "call inferior function with struct - returns float" and
25971 "call inferior function with struct - returns double".
d63a86f8 25972
c906108c
SS
25973Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
25974
25975 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
25976 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
25977 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
25978 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
25979
25980Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
25981
25982 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
25983 (or overriden) "CHILL" macro rather then bare "gcc".
25984 Also look for ../../gcc/xgcc since that is what we will
25985 actually need, not "Makefile". Remove following assignment
25986 of CHILL to CHILL_FOR_TARGET because that results in
25987 recursive definition.
25988
25989Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
25990
25991 * gdb.base/corefile.exp: Change xfail for backtrace in
25992 corefile.exp from linuxaout to all linux.
25993 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
25994 cases where we miss the breakpoint at the signal handler
25995 for some reason. Setup xfail for linuxoldld/linuxaout and
25996 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
25997 hitting SIGURG breakpoint.
25998 * gdb.base/signals.exp: Setup xfail for "next" acting like
25999 continue to add linuxoldld. Setup xfail for all linux for
26000 "next to handler in signals_tests_1", "backtrace in
26001 signals_tests_1", "continue to func1", "pass SIGUSR1",
26002 and continue to handler".
26003
26004Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
26005
26006 * Update all FSF addresses except those in COPYING* files.
26007
26008Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
26009
26010 * gdb.base/a2-run.exp: Change messages to be more explicit about
26011 the status of args, and quote binfile in results.
26012
26013Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
26014
26015 * gdb.base/callfuncs.exp: Add tests for passing structs to
26016 inferior functions and return various types.
26017 * gdb.base/callfuncs.c: Add functions to receive a struct
26018 and return a member of the struct, in various types.
26019
26020Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26021
26022 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
26023
26024Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
26025
26026 * config/vxworks29k.exp: New file, sources vxworks.exp.
26027
26028Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
26029
26030 * config/gdbremote.exp: New file. Testing framework using
26031 gdbserver.
26032
26033Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
26034
26035 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
26036 "call function when asleep" and "send end of file".
26037 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
26038 for "backtrace in corefile.exp".
26039 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
26040 for "backtrace through signal handler".
26041 * gdb.base/corefile.exp: Make sure we actually generate a core file
26042 before trying the core tests. Some systems allow the user to suppress
26043 generation of core files and default to that (linux for example).
26044 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
26045 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
26046
26047Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
26048
26049 * gdb.threads: New directory with some crude multi-threaded
26050 gdb tests (step.exp and step2.exp).
26051 * config/mt-lynx (STEP_EXECUTABLE): Define.
26052 (THREADFLAGS): Define.
26053
26054Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
26055
26056 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
26057
26058 * gdb.base/signals.exp: Disable whole file for lynx until
26059 further notice.
26060
26061 * gdb.base/signals.exp: xfail test where "next" acts like
26062 "continue" for lynx.
26063
26064 * gdb.base/interrupt.exp: xfail test for calling function while
26065 inferior is asleep for lynx.
26066
26067 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
26068 than one cr-lf after each command.
26069
26070Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26071
26072 * configure.in: Reinstate setting of stabsdirs variable, fix
26073 typo in setting up configdirs for native builds.
26074
26075 * gdb.base/return.exp: Fix typo in return double test.
26076 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
26077 compiler from optimizing them away.
26078
26079Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
26080
26081 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
26082 sequences to be echo'd by gdb when using gdb_test.
26083 * gdb.chill/chexp.exp: Likewise.
26084 * gdb.fortran/exprs.exp: Likewise
26085
26086Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
26087
26088 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
26089 after the inferior gdb has started.
26090
26091 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
26092 after each command.
26093 * gdb.base/funcargs.exp: Likewise.
26094 * gdb.base/gdbvars.exp: Likewise.
26095 * gdb.base/interrupt.exp: Likewise.
26096 * gdb.base/list.exp: Likewise.
26097 * gdb.base/watchpoint.exp: Likewise.
26098 * gdb.c++/demangle.exp: Likewise.
26099 * gdb.c++/inherit.exp: Likewise.
26100 * gdb.chill/chexp.exp: Likewise.
26101 * gdb.fortran/exprs.exp: Likewise.
26102
26103 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
26104 test if we can't handle IO to/from the inferior.
26105
26106 * gdb.c++/misc.exp: Always check for a program already being
26107 started after sending a "run" command to gdb.
26108
26109 * gdb.base/twice.exp: Start with a fresh gdb.
26110
26111 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
26112 only depend on gdb's expression code, not the chill runtime.
26113
26114 * gdb.base/return.c: Put return values into variables so we
26115 can have gdb print them rather than depending on the program
26116 to print them.
26117 * gdb.base/return.exp: Corresponding changes.
26118
26119 * lib/gdb.exp: Provide default value for noinferiorio.
26120 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
26121 the inferior.
26122
26123 * gdb.base/break.exp: Always check for a program already being
26124 started after sending a "run" command to gdb.
26125 (text_next_with_recursion): Don't check the output from the
26126 program's printf statement. Instead just make sure the program
26127 exited.
26128
26129 * gdb.base/commands.exp: Protect tests which need arguments with
26130 $noargs conditionals.
26131
26132Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26133
26134 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
26135 of structure member arrays to match gdb/valops.c:value_addr change.
26136
26137Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
26138
26139 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
26140 cases.
26141
26142Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
26143
26144 * configure.in (configdirs): Remove gdb.chill from default list
26145 of subdirs and then add it back in only if doing a native build.
26146 The current chill compiler does not yet work in any cross build.
26147 * Revert all signal changes from Jul 6.
26148 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
26149 for sh-hms targets, allowing these tests to link, with no other
26150 changes. Testing is suppressed by setting "nosignals" in site.exp.
26151
26152Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
26153
26154 * configure.in (signaldirs): Define and add to configdirs for all
26155 targets except some specific ones that are known to not support signals.
26156 Also clean up formatting.
26157 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
26158 (signals, sigall): Remove rules to build.
26159 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
26160 Moved to new gdb.signals directory.
26161 * gdb.signals: New test directory.
26162 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
26163 signals.c signals.exp}: New or moved files.
26164
26165Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
26166
26167 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
26168
26169Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
26170
26171 * gdb.base/return.exp: Xfail `return double' test failure
26172 on at least Solaris 2.3 and handle future/past versions on
26173 a case by case basis as appropriate. Also update message
26174 to include i*86 failures.
26175
26176Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26177
26178 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
26179
26180 * lib/gdb.exp: Fix comment which erroneously identified
26181 gdb_file_cmd as gdb_load (the 19 May change was in fact to
26182 gdb_file_cmd not gdb_load).
26183 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
26184
26185 * gdb.base/setvar.exp: Make test names consistent between pass and
26186 fail cases. Use gdb_test more.
26187
26188Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26189
26190 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
26191
26192Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26193
26194 * gdb.base/help.exp: Fix expected help string for `show commands'.
26195
26196Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
26197
26198 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
26199
26200 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
26201 of a text section.
26202
26203Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
26204
26205 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
26206 that loop eventually terminates. Fix Connection refused logic so
26207 that testsuite will expire nicely.
26208
26209Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
26210
26211 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
26212 config/rom68k.exp: New tcl glue for the appropriate monitors.
26213 These all just end up calling monitor.exp.
26214 * config/monitor.exp (gdb_target_monitor): Handle `Connection
26215 refused' by retrying. Cleanup some timeout issues.
26216 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
26217 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
26218 callers don't have to set/restore global timeout variable.
26219
26220 * The following set of changes centralizes management of the global
26221 timeout variable. This way, it can be set in one target dependent
26222 place instead of dozens of places scattered throughout the test suite.
26223 If you need to lengthen a timeout, then you should either set timeout
26224 in one of the config/{target}.exp files, or multiply it by a factor.
26225 Setting it to an absolute value is always going to lose for some
26226 targets.
26227 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
26228 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
26229 * gdb.base/funcargs.exp: Don't set timeout.
26230 * gdb.base/list.exp (test_forward_search): Only use local timeout.
26231 * gdb.base/printcmds.exp (test_print_string_constants
26232 test_print_array_constants): Don't set timeout.
26233 * gdb.base/ptype.exp: Don't set timeout.
26234 * gdb.base/recurse.exp: Don't set timeout.
26235 * gdb.base/return.exp: Don't set timeout.
26236 * gdb.base/watchpoint.exp: Don't set timeout.
26237 * gdb.c++/classes.exp (do_tests): Don't set timeout.
26238 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
26239
26240Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
26241
26242 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
26243
26244Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26245
26246 * lib/gdb.exp: Disable chill tests for irix5.
26247
26248Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26249
26250 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
26251 each test pass or fail.
26252
26253Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26254
26255 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
26256 xlc not gcc.
26257
26258Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
26259
26260 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
26261
26262Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
26263
26264 * config/est.exp: Fix copyright and comments. Remove dead code.
26265 Use targetname, serialport and baud variables instead of fixed
26266 constants.
26267 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
26268 * config/cpu32bug.exp: New file to support cpu32bug monitors.
26269
26270Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26271
26272 * gdb.base/watchpoint.exp: Don't run
26273 test_watchpoint_triggered_in_syscall for sunos.
26274
26275Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26276
26277 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
26278 they don't seem to exist. Do include stdio.h.
26279
26280Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26281
26282 * gdb.base/a1-selftest.exp: Add alpha xfail.
26283
26284Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26285
26286 * gdb.base/watchpoint.c (main): Prompt before calling read().
26287 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
26288 Revise accordingly. Remove cruft about sending "123" several
26289 times, until it gets noticed. Clean up the "print buf[0]" stuff
26290 so that it passes or fails, and waits for prompts in the usual way.
26291
26292Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26293
26294 * gdb.base/recurse.exp: Fix comment.
26295
26296 * TODO: Remove item about printing variables in nodebug.exp. Add
26297 item about enabling tests which are only run on some targets.
26298
26299 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
26300 fail, make test names unique, use new gdb_test convention
26301 regarding pattern, use gdb_test more, etc.).
26302
26303 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
26304 fail, make test names unique, etc.).
26305
26306Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26307
26308 * gdb.base/nodebug.c: Change return type of top and middle to
26309 short.
26310 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
26311 are fixed by the recent mdebugread.c changes. Allow `short ()'
26312 as type for top and middle.
26313
26314Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26315
26316 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
26317 nearly as I can tell, the whole thing was an accident in Stu's
26318 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
26319 to replace a send/expect pair with gdb_test, but ended up only
26320 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
26321 of 30 Mar 1995 took care of it, but left this vestigial comment
26322 which I am now nuking.
26323
26324Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26325
26326 * gdb.base/break.exp: Look for different line number for
26327 breakpoint at main depending on usestubs.
26328
26329Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26330
26331 * gdb.base/list.exp: Adjust some alternate expect patterns to
26332 match recent list0.c change. Add alternate expect pattern for
26333 output from `list default lines around main' for optimizing
26334 compilers.
26335
26336Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26337
26338 * lib/gdb.exp: If nosignals is not set, set it to 0.
26339
26340Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
26341
26342 * config/slite-gdb.exp: Responds to load symbol table prompt.
26343 * gdb.base/break.exp: Adjust line number, fix rerun.
26344 * gdb.base/langs0.c: Add #ifdef usestubs.
26345
26346Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
26347
26348 * gdb.base/list.exp: Adjust line contents after adding new lines in
26349 list0.c. Also fix a syntax error.
26350
26351 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
26352 * gdb.base/break.exp: ditto.
26353 * gdb.base/list.exp: ditto.
26354 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
26355 * gdb.base/run.c: ditto.
26356 * gdb.base/list0.c: ditto.
26357 * gdb.base/funcargs.c: ditto.
26358
26359Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
26360
26361 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
26362 $targetname, $serialport and $baud instead of hardwired variables.
26363 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
26364 target doesn't support signals.
26365
26366Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
26367
26368 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
26369
26370Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26371
26372 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
26373 Don't rely on the value of an auto variable before it has been
26374 initialized. Use gdb_test more.
26375
26376Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26377
26378 * lib/gdb.exp (default_gdb_version): A version number must start
26379 with a digit, but other than that contains all characters up to
26380 the first whitespace character.
26381
26382Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26383
26384 * gdb.base/commands.exp (breakpoint_command_test): New tests.
26385
26386Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26387
26388 * gdb.c++/*.exp: Warn if executable does not exist. The original
26389 reason for skipping the warning was that configure.in sometimes
26390 intentionally skipped building the executables but the tcl code
26391 had no way of knowing. That (a) was always bogus with respect to
26392 error handling, (b) is no longer true (right now there is no way
26393 to skip C++ tests).
26394
26395 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
26396
26397Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26398
26399 * gdb.base/list.exp: Add expect patterns for output from
26400 SunPRO compiled executables.
26401 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
26402 types.
26403
26404Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26405
26406 * gdb.base/break.exp (test_next_with_recursion): Accept any line
26407 number (we are already testing that the correct source line text
26408 gets printed).
26409
26410 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
26411 that is what is intended, but something needed to be done to get
26412 sunos4 native working again.
26413
26414 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
26415
26416 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
26417 apparently went with a (very) old xfail.
26418
26419Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
26420
26421 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
26422 runto_main is a proc in gdb.exp that will do 'step' for target use
26423 stubs.
26424 * gdb.base/exprs.exp: ditto.
26425 * gdb.base/interrupt.exp: ditto.
26426 * gdb.base/opaque.exp: ditto.
26427 * gdb.base/printcmds.exp: ditto.
26428 * gdb.base/ptype.exp: ditto.
26429 * gdb.base/scope.exp: ditto.
26430 * gdb.base/setvar.exp: ditto.
26431 * gdb.base/signals.exp: ditto.
26432 * gdb.base/twice.exp: ditto.
26433 * gdb.c++/classes.exp: ditto.
26434 * gdb.c++/inherit.exp: ditto.
26435 * gdb.c++/templates.exp: ditto.
26436 * gdb.base/break.exp: no run and hit main for stubs. Change line
26437 numbers for breakpoints and info breakpoint.
26438 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
26439 breakpoint().
26440 * gdb.base/callfuncs.c: ditto.
26441 * gdb.base/exprs: ditto.
26442 * gdb.base/interrupt.c: ditto.
26443 * gdb.base/opaque0.c: ditto.
26444 * gdb.base/printcmds.c: ditto.
26445 * gdb.base/ptype.c: ditto.
26446 * gdb.base/scope0.c: ditto.
26447 * gdb.base/setvar.c: ditto.
26448 * gdb.base/signals.c: ditto.
26449 * gdb.base/twice.c: ditto.
26450 * gdb.c++/misc.cc: ditto.
26451 * gdb.c++/templates.cc: ditto.
26452
26453Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26454
26455 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
26456
26457 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
26458 somewhere between `read' and `main.c'. I'm pretty sure the
26459 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
26460 and it isn't particularly useful.
26461
26462 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
26463
26464Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26465
26466 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
26467
26468Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
26469
26470 * config/mt-slite: add LIBS and -nostdlib.
26471 * config/slite-gdb.exp: add this new file to support sparclite target.
26472
26473Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
26474
26475 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
26476
26477 * gdb.base/a2-run.exp: Change argument to istarget from
26478 "*-*-vxworks" to "*-*-vxworks*".
26479 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
26480
26481Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
26482
26483 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
26484 will not runto main but do a 'step' to step out of breakpoint().
26485 * config/mt-slite: add -Dusestubs.
26486
26487Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26488
26489 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
26490 instead of just @.
26491
26492 * gdb.base/signals.exp: Add test for "handle all print".
26493 * TODO: Remove "handle all print". Also remove item about
26494 checking copyright date (I don't like the idea of a spurious FAIL
26495 based on when we run the tests).
26496
26497 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
26498 for SunOS4 (reason for failure not investigated). Remove
26499 redundant test for $binfile.
26500
26501 * gdb.base/nodebug.c (array_index): Call malloc.
26502
26503 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
26504
26505Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
26506
26507 * gdb.base/recurse.exp: Update gdb_test invocation to use new
26508 conventions and slightly simplify the matching regexp.
26509
26510Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26511
26512 * gdb.base/break.exp: Update gdb_test invocation to use new
26513 convention.
26514
26515 * lib/gdb.exp: If noargs is not set, set it to 0.
26516
26517 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
26518 tests unique.
26519
26520 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
26521
26522Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26523
26524 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
26525 one argument of type "<non-float parameter>".
26526
26527Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
26528
26529 * config/rom68k.exp: New file to support Motorola IDP board.
26530 * gdb.base/a2-run.exp: Skip this file if noargs is set.
26531 * gdb.base/break.c: Change things around so that this program
26532 doesn't depend upon args. This is necessary to make remote
26533 targets work (in general, they can't take args).
26534 * gdb.base/break.exp: Don't try to send args to program. Don't
26535 expect output. Also, replace lots of code with gdb_test.
26536
26537Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26538
26539 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
26540 printing of '\'' (which is what the comment says we are testing,
26541 even though we were not), not '''.
26542 (test_integer_literals_rejected): Test that printing ''' is an error.
26543
26544 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
26545 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
26546 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
26547 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
26548 Use gdb_test not test_print_accept.
26549 * lib/gdb.exp: Remove test_print_accept.
26550
26551 * gdb.base/signals.exp (signal_tests_1): Make pass message
26552 consistent with fail message.
26553
26554 * gdb.base/whatis.exp: Remove xfails for printing char vs.
26555 unsigned char; the bug (PR 1821) is fixed.
26556
26557 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
26558
26559 * gdb.base/scope.exp (test_at_localscopes): Call pass for
26560 successful tests--makes xfailing them work right.
26561
26562Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26563
26564 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
26565 only \r\n, not .*. The test can pass .* as the last thing in
26566 $pattern if that is what it wants. In addition to providing this
26567 flexibility, this change should speed up pattern matching in cases
26568 where the pattern already ended with .* (there were a number of
26569 them). This change also helps catch bad patterns--in the old
26570 scheme the typo "char \*" instead of "char \\*" would pass. Now
26571 it is caught.
26572 * Many .exp files: Update callers.
26573
26574 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
26575 clearer and does not spuriously match multiple ('s. Likewise for
26576 ) and *.
26577
26578 * gdb.base/nodebug.exp: Test ability to call a function and pass
26579 it a string (even with no debugging info).
26580
26581 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
26582 "p '\'", which is the same as "p ''" once tcl gets done with
26583 quoting, to "p '\\'", which I suspect is what is intended (one
26584 backslash gets sent to GDB).
26585
26586 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
26587
26588Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26589
26590 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
26591 1817) was fixed literally years ago.
26592
26593Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26594
26595 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
26596 test, it causes stepping out of call_after_alloca_subr with
26597 optimizing compilers.
26598 (localvars_in_indirect_call): Consume GDB prompt if `finish'
26599 fails.
26600
26601 * gdb.c++/templates.exp: Source templ-info.exp only if
26602 the templates executable exists.
26603
26604 * gdb.c++/misc.cc (class Contains_static_instance,
26605 class Contains_nested_static_instance),
26606 gdb.c++/classes.exp (test_static_members): Test printing of
26607 a class that contains a static instance of the class.
26608
26609Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26610
26611 * gdb.base/langs2.c (cppsub_): Don't prototype.
26612 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
26613 only, I believe).
26614
26615Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26616
26617 * lib/gdb.exp (skip_chill_tests): New procedure.
26618
26619 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
26620
26621Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
26622
26623 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
26624 each expect pattern. Cuts runtime from 12 to about 4 seconds.
26625
26626Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26627
26628 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
26629
26630 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
26631 disassemble 8, not 16, instructions for part 4.
26632
26633 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
26634 support the latter anymore.
26635
26636 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
26637 -DNO_PROTOTYPES.
26638 * gdb.base/callfuncs.c: Control use of prototypes based on
26639 NO_PROTOTYPES, not __STDC__.
26640 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
26641 t_float_values2 tests if prototypes in use.
26642
26643 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
26644 t_double_values): When checking differences against DELTA, check
26645 that difference is within the range (-DELTA,DELTA), not just
26646 (-infinity,DELTA).
26647
26648Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
26649
26650 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
26651 'file' command firts, then 'target', then 'load', this is due to gdb
26652 target set up.
26653 * config/mips-gdb.exp: Fix a couple regular exp bugs.
26654
26655Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
26656
26657 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
26658 FP load/store variants.
26659 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
26660
26661Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
26662
26663 * gdb.base/term.exp: Do not give a warning if not native, it is
26664 not an abnormal condition.
26665
26666Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
26667
26668 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
26669 t_char_array".
26670
26671Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
26672
26673 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
26674 are getting the version number.
26675
26676 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
26677 if not native, it is not an abnormal condition.
26678
26679Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26680
26681 * lib/gdb.exp: Just use "file exists", rather than undocumented
26682 dejagnu procedure "findfile".
26683
26684Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
26685
26686 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
26687 (LDFLAGS): Set to -Xlinker -Ur.
26688
26689 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
26690 Removed, these values are set by lib/gdb.exp.
26691
26692 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
26693
26694Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
26695
26696 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
26697 of replicating gdb startup code.
26698
26699 * config/mt-vxworks (LDFLAGS): Set to -r.
26700 (CFLAGS_FOR_TARGET): Removed.
26701
26702 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
26703 (gdb) and gdb for vxworks uses (vxgdb).
26704
26705 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
26706 executable is not in the tree and host != target, use sed and
26707 program_transform_name to determine the gdb name used by the
26708 target.
26709
26710 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
26711 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
26712
26713Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26714
26715 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
26716 floats, chars, and shorts where there are ANSI-style function
26717 definitions.
26718
26719 * gdb.base/langs.exp, gdb.base/langs*: New test.
26720 * gdb.base/Makefile.in: Build it.
26721 * TODO: Remove item about checking that C names don't get C++
26722 demangling applied; this test tests it.
26723
26724Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26725
26726 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
26727 went with the const70 xfail. The xfail went away a year ago.
26728
26729 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
26730
26731 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
26732 for hp300.
26733
26734 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
26735
26736 * gdb.base/a1-selftest.exp: Don't run on hp300.
26737
26738Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26739
26740 * Makefile.in (site.exp): Set host_alias and target_alias as well
26741 as host_triplet and target_triplet.
26742
26743Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26744
26745 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
26746
26747 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
26748 places as other ecoff systems).
26749
26750 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
26751 ultrix.
26752
26753Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26754
26755 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
26756 remove them.
26757 * gdb.base/nodebug.exp: Accept "function" in addition to "text
26758 variable and "variable" in addition to "data variable".
26759 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
26760
26761 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
26762 2.
26763 * gdb.base/list1.c (long_line): Add additional statement at start
26764 of function.
26765 * gdb.base/list.exp (test_forward_search): Update line number to
26766 reflect new statement.
26767
26768Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26769
26770 * gdb.base/signals.exp: Reinitialize searched source directories
26771 after gdb_start call.
26772
26773Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
26774
26775 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
26776 * gdb.stabs/Makefile.in: Likewise.
26777
26778 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
26779 change. Instead split the tests into smaller pieces.
26780 * gdb.disasm/hppa.s: Corresponding changes.
26781
26782Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26783
26784 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
26785 Quote ^C when passing it to stty. For some shells ^ is a pipe.
26786
26787 * gdb.base/funcargs.exp: Modify many tests so that every test
26788 either passes or fails. Make some test names unique.
26789
26790Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26791
26792 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
26793 Call stty to set interrupt character.
26794
26795 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
26796 for HP assembler versus GNU assembler based on actual behavior of
26797 $(CC), rather than assuming that $(AS) is always the GNU assembler.
26798
26799 * TODO: Suggest a few more stepping tests.
26800
26801Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
26802
26803 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
26804 restart GDB for h8300 after a continue.
26805 (return): Add pattern to match a29k-udi behavior.
26806 * gdb.base/nodebug.exp: Remove obsolete comment.
26807 * gdb.base/regs.exp: New file, testing of register displays.
26808 * gdb.base/return.exp: Fix typo in reference to $objdir.
26809 * gdb.base/whatis.exp: Always start with a fresh GDB.
26810
26811Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26812
26813 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
26814 higher, these tests generate a lot of output.
26815
26816Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26817
26818 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
26819 code following the catch silently ignored some errors; without the
26820 catch they should be thrown like any other tcl error. Also, the
26821 catch used "" instead of {} which meant all the callers who wanted
26822 to include one of the characters "[]$ had to quote it an extra time.
26823 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
26824 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
26825 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
26826 Remove extra quoting.
26827
26828Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
26829
26830 * gdb.base/commands.exp: Make test names unique; every test either
26831 passes or fails. Update some comments.
26832
26833 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
26834
26835Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26836
26837 The following fixes a FAIL caused by the fact that the alpha stabs
26838 configuration didn't use the ".if alpha" code in weird.def.
26839 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
26840 bit pointer, so the 32 bit version works even on the alpha.
26841 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
26842 Remove the stuff which allowed us to have separate versions for
26843 alpha and everything else.
26844
26845 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
26846 regexp which "info func operator\[\](" is supposed to match. Fix
26847 string to send to GDB. Note that GDB still doesn't work right. Add a
26848 new test for "info func .perator\[\](" which GDB does handle correctly.
26849
26850 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
26851
26852Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26853
26854 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
26855 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
26856 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
26857 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
26858 it makes the tests harder to understand and confuses test-o-matic.
26859 The preferred style is that each test provides a PASS or a FAIL,
26860 and has a unique message (e.g. "continue #54" not just "continue")
26861 which is the same for the pass and the fail.
26862 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
26863 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
26864 to lib/gdb.exp.
26865 * gdb.base/printcmds.exp: Use test_print_accept. Remove
26866 prt_accept which was basically the same thing. Likewise for
26867 test_print_reject and prt_reject.
26868 * lib/gdb.exp (test_print_reject): Add some more error message
26869 patterns to match from the former printcmds.exp (prt_reject).
26870 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
26871 One defect of the passcount stuff is that some of it failed to
26872 report XPASS where appropriate.
26873 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
26874 stuff before and after arg in expected pattern.
26875 (test_paddr_operator_functions): Re-do test without print_addr_of;
26876 this is the only test which seems to want extra stuff there.
26877
26878Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
26879
26880 * gdb.base/nodebug.exp: Update new tests to reflect improved
26881 wording of gdb output.
26882
26883 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
26884 and "ptype" work on variables in files compiled without -g.
26885 Replaces commented out "maint print msymbol" tests.
26886
26887Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
26888
26889 * gdb.base/setvar.c (dummy): Call malloc.
26890
26891 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
26892 losing with the irix4 sed.
26893
26894 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
26895 ALRM" on irix4.
26896
26897Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
26898
26899 * TODO: Remove items about corefile.exp testing new exec-file and
26900 backtrace; both are now done. Add items about printing enums.
26901
26902Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
26903
26904 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
26905 "get signal $thissig" test fails.
26906
26907 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
26908
26909Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
26910
26911 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
26912 compiler warning with dec alpha compiler.
26913
26914 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
26915 extra \n from gdb_test call (this explains why the prompt test
26916 that I removed yesterday was there).
26917 (user_defined_command_test): Remove extra \n and prompt test.
26918
26919 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
26920 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
26921 doesn't exist.
26922 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
26923 Also remove alpha workaround, which turns out to be because
26924 SIGABRT == SIGLOST.
26925
26926 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
26927
26928 * gdb.base/help.exp: Don't test "help show".
26929
26930Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
26931
26932 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
26933 "set print address" is on.
26934 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
26935 pass prompt to gdb_test; gdb_test already looks for the prompt.
26936
26937 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
26938
26939 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
26940 was a vestige of the manual TESTSTRATEGY, and the purpose of it
26941 was to make sure that gdb can read a core file. But (a) the "read
26942 the corefile" part didn't make it to a1-selftest.exp, we just
26943 delete the corefile after creating it, and (b) we test reading
26944 corefiles in corefile.exp anyway. Also, this test left around a
26945 xgdb process on Solaris.
26946
26947 * gdb.base/corefile.exp: Also test backtrace.
26948
26949Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
26950
26951 * gdb.base/commands.exp: Test a simple user defined command with
26952 arguments and if/while statements; verify the full user command is
26953 printed by "show user".
26954
26955 * gdb.base/commands.exp: Test if/while commands as part of a
26956 breakpoint command list; verify they appear in breakpoint
26957 information.
26958
26959Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
26960
26961 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
26962 than by dividing by zero.
26963
26964Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
26965
26966 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
26967 performing an inferior call with watchpoints enabled.
26968 * gdb.base/watchpoint.c (main): Delete second unnecessary read
26969 call.
26970
26971Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
26972
26973 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
26974 of "file" command.
26975
26976 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
26977 Add additional pattern for when "int operator int(void);" appears
26978 in a different order.
26979
26980Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
26981
26982 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
26983
26984 * gdb.base/help.exp: Replace most of docstrings for "info signals"
26985 and "signal" with ".*".
26986
26987Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26988
26989 * TODO: Add note about "handle all nostop".
26990
26991 * gdb.base/{sigall.c, sigall.exp}: New test.
26992 * gdb.base/Makefile.in: Add it.
26993
26994Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
26995
26996 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
26997 when invoking GDB, suppresses any windowing interface.
26998
26999Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
27000
27001 * config/sim-gdb: New file, simulator testing support.
27002
27003Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
27004
27005 * gdb.base/interrupt.exp: Test calling func1 twice.
27006
27007Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
27008
27009 * gdb.base/list.exp (test_forward_search): Set timeout higher
27010 when we'll be getting lots of output from gdb.
27011
27012 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
27013 "init_malloc" to after the expect statement. Run it if that
27014 regexp is taken, but also for two others which happen if source
27015 cannot be found.
27016
27017Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27018
27019 * gdb.base/printcmds.exp: New test, for printing register before
27020 program is running.
27021
27022Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27023
27024 * gdb.base/list.exp: Correct some alternate expect patterns
27025 to reflect changes in list1.c.
27026
27027Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27028
27029 * TODO: Add item regarding large frames.
27030
27031 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
27032
27033 * TODO: Remove item about enabling return.exp; it
27034 is enabled. Suggest a few more "return" tests.
27035
27036Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27037
27038 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
27039 anonymous unions.
27040
27041Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27042
27043 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
27044 and pr-5646.o, so "make" is the same as "make all", not "make
27045 pr-4975.o".
27046
27047Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
27048
27049 * gdb.base/list.exp: Adjust expectations to reflect changes in
27050 list1.c.
27051 (test_forward_search): New test proc.
27052 * gdb.base/list1.c (long_line): New function, has long source line.
27053
27054Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
27055
27056 * gdb.base/a1-selftest.exp: Change initial stepping to know about
27057 additional line of code that was added.
27058
27059Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
27060
27061 * gdb.disasm/hppa.s: Break the large branching tests into smaller
27062 tests so as not to overflow expect's input buffers.
27063 * gdb.disasm/hppa.exp: Corresponding changes.
27064
27065Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27066
27067 Beginnings of template debugging tests.
27068 * gdb.c++/templ-info.cc: New file to test for template
27069 debugging capability of the compiler.
27070 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
27071 templ-info.cc.
27072 * gdb.c++/templates.cc: Add explicit template instantiations
27073 to enable compiling with -fno-implicit-templates. Add destructor
27074 and 'value' method to T5 class for template tests.
27075 * gdb.c++/templates.exp: Add testcases for printing of template
27076 types, setting breakpoints on template methods and calling a
d63a86f8 27077 template method.
c906108c
SS
27078
27079Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
27080
27081 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
27082 branch target since some assemblers (gas-2.5) may emit a
27083 relocation for the branch instead of resolving it in the
27084 assembler.
27085
27086Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27087
27088 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
27089 through signal handler.
27090
27091Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27092
27093 * configure.in (*-*-netware): Use config/mt-netware.
27094
27095 * config/mt-netware: New file.
27096 * config/mt-i386-netware: Removed, separate configs for different
27097 netware architectures are no longer needed now that we have
27098 --with-headers.
27099
27100Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27101
27102 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
27103 by the recent changes to use ANSI C arithmetic conversions.
27104
27105Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27106
27107 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
27108 bug involving using inferior_pid to figure out whether to select a
27109 frame.
27110
27111Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
27112
27113 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
27114 match the current disassembler output.
27115
27116Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
27117
27118 * gdb.fortran/exprs.exp: Expect VOID instead of void.
27119 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
27120 types, expect "int" as type of integer values (for now).
27121
27122Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
27123
27124 * gdb.base/commands.exp: New tests for if/while commands.
27125
27126Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
27127
27128 * lib/gdb.exp (runto): Replace sub-pattern for hex value
27129 by .*, since hex values have different syntax in Chill mode.
27130
27131Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27132
27133 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
27134 linefeed from expect pattern for repeated types with indices > 9.
27135
27136Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
27137
27138 First part of Fortran test suite.
27139 * gdb.fortran: New directory.
27140 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
27141
27142Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27143
27144 * gdb.base/default.exp: Update expect pattern for load command
27145 without arguments.
27146
27147Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
27148
27149 * configure.in: Change i386 to i[345]86.
27150 * gdb.base/configure.in: Likewise.
27151 * gdb.c++/configure.in: Likewise.
27152 * gdb.chill/configure.in: Likewise.
27153
27154Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
27155
27156 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
27157 patterns, since that is not a valid context for comments.
27158
27159Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
27160
27161 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
27162 repeated types and repeated types with indices > 9.
27163
27164Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
27165
27166 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
27167 2417; old bug has been fixed.
27168
27169Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
27170
27171 * gdb.base/interrupt.exp: When trying to wake up the inferior,
27172 send the newline ourselves instead of assuming gdb_test will do
27173 so when passed an empty input string.
27174
27175 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
27176 stabs testcode.
27177
27178Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27179
27180 * lib/gdb.exp (gdb_test): Don't send anything if the first
27181 argument is an empty string. This makes cases where we want to
27182 match output that is already in expect's buffers (for example,
27183 matching a breakpoint after gdb_run_cmd has been called) work
27184 reliably.
27185
27186Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27187
27188 * config/netware.exp: New file.
27189
27190Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27191
27192 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
27193 the -B and -L prefixes so we can find the debugging stub.
27194
27195 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
27196 there and we are using the gcc from the tree.
27197
27198 * gdb.base/types.c: Removed.
27199
27200 * gdb.base/configure.in: Look for makefile fragments in ../config.
27201 Recognize i386-*-netware.
27202 * gdb.c++/configure.in: Likewise.
27203
27204Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27205
27206 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
27207 the correct TCL syntax.
27208
27209Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27210
27211 * gdb.base/opaque.exp: use runto instead of messing around with
27212 breakpoints. Simplify by using gdb_test.
27213
27214 * gdb.base/bitfields.exp: restart between tests on netware targets
27215 because breakpoints aren't relocated after target death. Run
27216 processes to completion.
27217
27218 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
27219
27220Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
27221
27222 * Makefile.in: Remove extra tabs that confuse some versions
27223 of "make". Use the newly built gdb to test with by default,
27224 rather than the first one in the tester's search path.
27225
27226Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
27227
27228 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
27229
27230 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
27231 condition help.
27232
27233Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27234
27235 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
27236
27237 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
27238 running.
27239 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
27240 * gdb.base/funcargs.exp: Likewise.
27241
27242 * gdb.base/bitfields.exp: Simplify by using gdb_test.
27243 * gdb.base/funcargs.exp: Likewise.
27244
27245 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
27246 message is "".
27247
27248Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27249
27250 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
27251 return,signals,twice}.exp: Handle non-existant binaries
27252 consistantly.
27253
27254 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
27255 * gdb.base/Makefile.in: Don't try to generate a core dump, we
27256 might testing a cross development system.
27257
27258Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27259
27260 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
27261 runtest script is relative to ${srcdir}, not ${rootdir}.
27262
27263Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
27264
27265 * gdb.base/signals.exp: Allow for optionality of breakpoint
27266 address.
27267
27268Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27269
27270 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
27271
27272Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27273
27274 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
27275 for size_t definition.
27276 * gdb.c++/templates.cc: Likewise
27277
27278 * config/mt-i386-netware: New file.
27279
27280 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
27281 defined.
27282
27283 * gdb.base/Makefile.in: Added support for systems that name core
27284 files by appending "core" to the program name.
27285 * gdb.base/a1-selftest.exp: Likewise.
27286
27287Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27288
27289 * gdb.base/return.exp: Add comment and message for `return double'
27290 test failure on Sparc Solaris.
27291
27292Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
27293
27294 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
27295
27296Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27297
27298 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
27299 from optimizing them away.
27300 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
27301 patterns to include default constructors and assignment operators,
27302 to match gcc versions beyond 2.5.8. Accept any cplus demangling
27303 character in the output of the virtual base pointer.
27304
27305Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27306
27307 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
27308 expression match in print_addr_of to avoid unintented matches.
27309 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
27310 versions up to 2.5.8.
27311
27312Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27313
27314 * gdb.base/list.exp: Tweak alternate pattern for listing of an
27315 included file to run under newer versions of expect.
27316 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
27317 consecutive >'s in templates to accomodate recent cplus-dem.c change.
27318 Remove xfail for the virtual table of BDDHookV.
27319
27320Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
27321
27322 * lib/gdb.exp (string_to_regexp): Set a default result.
27323 (default_gdb_start): Fix misleading message.
27324
27325Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
27326
27327 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
27328 Remove all CC, etc definitions.
27329 * config/mt-hpux: New file.
27330 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
27331 (CFLAGS, LDFLAGS): Define.
27332 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
27333
27334 * Makefile.in (site.exp): Don't insert host_os, etc.
27335 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
27336 (distclean): Check existence of subdir.
27337 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
27338 * gdb.base/Makefile.in: General cleanup and simplification.
27339 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
27340 to build executables. Use default rule to build .o files.
27341 (EXPECT, RUNTEST, CC): Fix relative pathname.
27342 (site.exp): Don't insert host_os, etc.
27343 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
27344 and/or SIGUSR1 defined.
27345 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
27346 * gdb.c++/Makefile.in: General cleanup and simplification.
27347 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
27348 (CFLAGS): Remove.
27349 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
27350
27351Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
27352
27353 * gdb.base/recurse.exp: Misc changes to get tests running again
27354 after Kung's changes to the watchpoint code.
27355 * gdb.base/watchpoint.exp: Likewise.
27356
27357Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
27358
27359 * lib/gdb.exp (string_to_regexp): Convert {\} also.
27360
27361Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
27362
27363 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
27364 * lib/gdb.exp (default_gdb_start): Define.
27365 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
27366 gdb.base/funcargs.exp, gdb.base/opaque.exp,
27367 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
27368 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
27369 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
27370 Don't call gdb_target_udi in between tests.
27371
27372Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27373
27374 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
27375 (which was basically just a local version of the same thing). In
27376 addition to avoiding duplication, gdb_test_exact is faster.
27377 * lib/gdb.exp (gdb_test_exact): Fix typo.
27378
27379 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
27380 don't give an error.
27381
27382 * gdb.base/term.exp: Call delete_breakpoints before starting.
27383
27384 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
27385 (t10): Add comment.
27386
27387Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
27388
27389 Reorganization of the GDB Test Suite.
27390
27391 * gdb.base: New directory, contains all the basic tests.
27392 * gdb.c++: New directory, tests specific to C++.
27393 * gdb.chill: New directory, tests specific to Chill.
27394 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
27395 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
27396 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
27397 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
27398 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
27399 t30-31 to chill).
27400 * */gdbme.*: Rename to match appropriate expect scripts.
27401 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
27402 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
27403 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
27404 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
27405 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
27406 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
27407 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
27408 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
27409 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
27410 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
27411 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
27412 gdb.c++/virtfunc.cc: New names of C++ files.
27413 * gdb.chill/chillvars.ch: New name of Chill file.
27414 * gdb.base/configure.in, gdb.c++/configure.in,
27415 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
27416 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
27417 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
27418 * configure.in (configdirs): Update to reflect directory changes.
27419 (target_abbrev): No longer define for any configuration.
27420 * Makefile.in: Cosmetic improvements to header comments.
27421
27422Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
27423
27424 Various changes to gdb.t31:
27425
27426 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
27427 * gdbme.ch: Make all key-words and predefineds be upper-case.
27428 * chillvars.exp: Expect key-words and predefinds in upper-case.
27429
27430 * chillvars.exp: Use gdb_test_exact many places.
27431 Change expected output for arrays (which now includes index labels).
27432
27433 * pr-5020.exp, gdme.ch (module PR_5020):
27434 New test, for PR-5020.
27435
27436Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
27437
27438 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
27439 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
27440
27441Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
27442
27443 * Makefile.in: Fix bit-rot in definitions of CHILL,
27444 CHILL_FOR_TARGET and Chill_LIB.
27445 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
27446 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
27447 CHILL, and CHILL_LIB.
27448
27449Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
27450
27451 * Revert the previous changes. Please see Rob's directory
27452 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
27453
27454Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
27455
27456 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
27457 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
27458 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
27459 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
27460 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
27461 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
27462 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
27463 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
27464 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
27465 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
27466 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
27467 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
27468 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
27469 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
27470 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
27471 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
27472 changes from 94Q1.
27473
27474Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
27475
27476 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
27477 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
27478 Rob's new testing fragments.
27479
27480Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
27481
27482 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 27483 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
27484
27485Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
27486
27487 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
27488 version also, match on casted version strings, and match on
27489 gdb startup case where the line numbers might be messed up.
27490
27491Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
27492
27493 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 27494 (CFLAGS): Delete it from here.
c906108c
SS
27495
27496Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
27497
27498 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
27499
27500Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
27501
27502 * Makefile.in (RUNTEST): Default to just "runtest".
27503
27504Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27505
27506 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
27507 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
27508 the code has been restructured.
27509
27510Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27511
27512 * gdb.t00/default.exp (set write): Allow any number of \r and/or
27513 \n, not just one of each.
27514
27515 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
27516 /bin/cc gives a warning if you do.
27517
27518Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
27519
d63a86f8 27520 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
27521 __t10ListS_link1ZUiRCUiPT0
27522
27523Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27524
27525 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
27526 on local variables in recursive functions.
27527
27528 * gdb.t07/Makefile.in: Build the new test.
27529
27530Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27531
27532 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
27533 directly. Instead compare the return values from actual calls.
27534
27535Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
27536
27537 * Makefile.in (check): Set TCL_LIBRARY for runtest.
27538
27539Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27540
27541 * From Peter Schauer with minor modifications.
a9c64011
AS
27542 * gdb.t15/return.exp (return_tests): Handle targets where "return"
27543 stops in mid-line in the caller. Add xfail for returning a float
27544 value on X86 targets.
c906108c
SS
27545
27546Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27547
27548 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
27549 to avoid expect lossage.
27550 (fmem_LRbug_tests): Likewise.
27551 * gdb.disasm/hppa.s: Corresponding changes.
27552
27553 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
27554 conditions to work with latest dejagnu/expect.
27555
27556 * gdb.t15/funcargs.exp (finish from indirect call): No longer
27557 expected to fail on the PA.
27558 (backtrace in call with trampolines): Explicitly require main
27559 to be frame #1 (no trampolines should show up in backtrace).
27560
27561 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
27562 "continue -expect".
27563 * gdb.t06/break.exp: Likewise.
27564 * gdb.t07/watchpoint.exp: Likewise.
27565 * gdb.t13/bitfields.exp: Likewise.
27566 * gdb.t15/{funcargs,return}.exp: Likewise.
27567 * gdb.stabs/weird.exp: Likewise.
27568 * config/{mips,udi}-gdb.exp: Likewise.
27569
27570 * hppa.sed: Enclose comments within a sed command to avoid
27571 losing with the old OSF1 sed.
27572
27573Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27574
27575 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
27576 sequent dynix.
27577 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
27578 * gdb.t15/funcargs.exp: Conditionally step again to really
27579 finish from marker_call_with_trampolines. Handle the case where
27580 the first step from within call_with_trampolines already steps
27581 us back to main.
27582 * gdb.t15/gdbme.c: Add comment to closing brace of
27583 call_with_trampolines for funcargs.exp.
27584
27585Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27586
d63a86f8 27587 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
27588 Fix typo(s).
27589
27590Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27591
27592 * gdb.t07/gdbme.c: More code for watchpoint testing.
27593
27594 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
27595 "Hardware watchpoint" throughout file.
27596 (test_watchpoint_triggered_in_syscall): New test.
27597 (test_complex_watchpoint): New test.
27598
27599Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27600
27601 * gdbme.c (call_with_trampolines): New function to try and step
27602 into. Tests trampoline problems on the PA.
27603
27604 * funcargs.exp (localvars_in_indirect_call): No longer expect
27605 stepping into indirect call to fail on PAs.
27606 (test_stepping_over_trampolines): New test.
27607
27608Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27609
27610 * TODO: Add suggestions for static member function tests, and
27611 completion tests.
27612
27613Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27614
27615 * TODO: Add suggestions for "p/a" tests.
27616
27617 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
27618 (default_gdb_exit): Replace all the hair with sending "quit" to
27619 the process with a simple close.
27620
27621Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27622
27623 * TODO: Add suggestions for shared library tests.
27624
27625Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27626
27627 * TODO: Add suggestions for x/s tests.
27628
27629Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27630
27631 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
27632 "enable once", and "enable breakpoints once" with ".*".
27633
27634Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27635
27636 * TODO: Add suggestions about structure passing tests.
27637
27638Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27639
27640 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
27641 the primary1 test, use work around if __GNUC__ < 2.
27642 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
27643 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
27644 Test for bad output rather than waiting for timeout. Issue
27645 second continue only if first continue failed.
27646
27647Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
27648
27649 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
27650 operator[] test with gdb_test because the old code didn't seem to
27651 be getting the quoting right with the new dejagnu.
27652
27653Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
27654
27655 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
27656 one from the path.
27657 * Makefile.in: Use a fresh expect if there is one, use runtest
27658 from the src tree if there is one.
d63a86f8 27659
c906108c
SS
27660Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
27661
27662 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
27663 next over recursive call. Revise the tests from that point on
27664 (which had been skipped) to match GDB's actual (correct) output.
27665
27666 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
27667 with next over a breakpoint whose condition is false.
27668
27669 * gdb.t00/help.exp: Comment out "help set print" tests just like
27670 (and for same reason as) "help set" test.
27671
27672Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27673
27674 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
27675 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
27676
27677Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27678
27679 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
27680 necessary gdb_target_udi.
27681
27682 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
27683
27684 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
27685 1838 and 2417; they are fixed.
27686
27687 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
27688 gdb.t03/ptype.exp (ptype structure, ptype union):
27689 Remove xfails; the test is looser than when the xfails were added.
27690
27691 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
27692 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
27693
27694 * gdb.t01/run.exp: Only run shell test if isnative.
27695
27696 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
27697 since "run" automatically loads if necessary. Call gdb_target_udi
27698 after the "file" since "file" kills any execution target.
27699
27700 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
27701 GDB. GDB doesn't work that way (not anymore at least) on UDI.
27702 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
27703 argument for UDI.
27704
27705Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
27706
27707 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
27708
27709 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
27710
27711Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27712
27713 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
27714 properly quoting regexps. This makes the second argument to
27715 demangle a fixed string, which matches the callers, instead of a
27716 shell-style pattern which is what the previous implementation
27717 used. Update some of the callers.
27718
27719Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27720
27721 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
27722 (comib_nullified_tests): Fix typo.
27723 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
27724 strings. No longer expected to fail.
27725
27726 * gdb.disasm/hppa.s (addib_tests): Fix typo.
27727 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
27728 strings. No longer expected to fail.
27729
27730 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
27731 string. No longer expected to fail.
27732
27733Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27734
27735 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
27736 No longer expected to fail.
27737
27738 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
27739 string. No longer expected to fail.
27740
27741Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27742
27743 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
27744 only in the names (I probably got most of them). I was even
27745 generous with some which differed in underscores in names, and
27746 probably missed a few, and I *still* was able to remove almost a
27747 third of the file with almost no impact on testsuite coverage.
27748
27749Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27750
27751 * gdb.t00/default.exp: Match udi_attach error message as well as
27752 the one from child_attach.
27753
27754 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
27755
27756 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
27757
27758 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
27759 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
27760
27761 * Move test with enums and partial symbols back to
27762 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
27763 Reverts the change of 26 May 93. Per today's change to
27764 stabs.texinfo, the behavior that weird.exp was expecting was
27765 unreasonable; what is important is that the compiler+gdb get
27766 things right, which happens with a recent gcc. Also fix the test
27767 to deal with native compilers which put out the stab gdb can't
27768 deal with.
27769
27770Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27771
27772 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
27773 in the names. The main thing these accomplish is to slow things down.
27774 Many more such duplicates surely remain.
27775
27776 * gdb.t00/help.exp: Comment out "help support" test just like
27777 (and for same reason as) "help set" test.
27778
27779Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
27780
27781 * gdb.t06/break.exp: Remove setup_xfails for
27782 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
27783 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
27784 about known bug in gcc to include up through 2.5.8.
27785 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
27786 well as "_vb$".
27787 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
27788 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
27789 with latest gcc and gdb.
27790 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
27791 well as "_vb$".
27792
27793Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27794
27795 * configure.in (hppa*-*-*): Also configure and build stabs-only
27796 tests.
27797
27798Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27799
27800 * gdb.t10/hppa.mt: A makefile fragment for the PA.
27801 * gdb.t10/configure.in (hppa*-*-*): Use it.
27802
27803Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27804
27805 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
27806
27807Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27808
27809 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
27810 versions prior to 1.13.5.
27811
27812Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27813
27814 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
27815 the prompt is at the start of a line.
27816
27817Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27818
27819 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
27820 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
27821 in the copr tests now.
27822 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
27823 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
27824 expected to fail.
27825
27826Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
27827
27828 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
27829 gdb.t31/chillvars.exp, lib/gdb.exp:
27830 Tweak to run under either version of expect.
27831 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
27832 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
27833 * gdb.t11/list.exp: Remove extraneous whitespace.
27834
27835Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27836
27837 * gdb.t16/printcmds.exp (test_print_strings): Accept
27838 "(unsigned char *) " before the string.
27839
27840 * TODO: Add notes about printing of fancy types and GDB expressions.
27841
27842Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
27843
27844 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
27845 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 27846 if doing mips-idt-ecoff.
c906108c
SS
27847
27848Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
27849
27850 * Most .exp files: Tweak to run under either version of expect.
27851
27852Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27853
27854 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
27855 xfails; I'm not sure why they are failing, but not because of PR 1806.
27856
27857Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
27858
27859 * config/unix-gdb.exp: Remove gdb_unload cause it's already
27860 defined in lib/gdb.exp.
27861
27862Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27863
27864 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
27865 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
27866 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
27867 have to be typeless.
27868
27869Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27870
27871 * TODO: Add suggestion for copyright year test.
27872
27873Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
27874
27875 * configure.in (*-*-lynxos*): Add stabs tests.
27876
27877Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
27878
27879 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
27880 so insert a tab before any assembler directive in column zero.
27881
27882 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
27883 stores.
27884 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
27885 stores.
27886 (fpu_short_memory_tests): Likewise.
27887
27888Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27889
27890 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
27891 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
27892 .stabs directives in comments.
27893
27894Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27895
27896 * TODO: New file, describing tests we could write.
27897 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
27898
27899Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27900
27901 * gdb.t06/signals.exp: Add kludge to force re-sync.
27902
27903 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
27904 to xgdb instead of gdb, get out of gdb.
27905
27906Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
27907
27908 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
27909 for info.
27910
27911Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
27912
27913 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
27914 * gdb.stabs/configure.in (hppa*-*-*): Use it.
27915 * gdb.stabs/hppa.sed: New sed script for the PA.
27916
27917Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27918
27919 * gdb.stabs: Re-write weird.def and configuration to use sed
27920 instead of cpp. sed is portable and POSIX; cpp is neither.
27921
27922Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27923
27924 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
27925
27926Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27927
27928 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
27929
27930Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27931
27932 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
27933 "_vb$".
27934 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
27935 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
27936
27937Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27938
27939 * lib/gdb.exp: Comment out code which depends on non-existent
27940 `transform' procedure.
27941
27942Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
27943
27944 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
27945 * lib/gdb.exp: Transform tool name.
27946 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
27947 1.1's new error handling system.
27948
27949Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27950
27951 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
27952
27953Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27954
27955 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
27956 They made pattern matching so slow that timeouts happened on
27957 heavily loaded systems. Now any output from "show print" which
27958 gets us back to the GDB prompt is a PASS.
27959
27960Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
27961
27962 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
27963
27964Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27965
27966 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
27967
27968 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
27969 It is not from PR 3220.
27970
27971Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27972
27973 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
27974 just started failing because they depended on the order the
27975 subcommands are presented, or exact docstring text. This kind of
27976 test is a pain and has minimal benefit.
27977
27978Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27979
27980 * gdb.t09/corefile.exp: At end of test, use "core" command with
27981 no arguments.
27982
27983Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
27984
27985 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
27986 17}/Makefile.in: Make it possible to run the testsuite with Sun
27987 make and CC = cross gcc by adding explicit build rules for .o
27988 files.
27989
27990Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27991
27992 * gdb.t15/funcargs.exp: Don't put comments on same line as
27993 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 27994
c906108c
SS
27995Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27996
27997 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
27998
27999Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
28000
28001 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
28002 * gdb.t20/inherit.exp: remove three dumplicate entries.
28003
28004Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28005
28006 * gdb.t06/break.exp: For "next over recursive call", fail on any
28007 incorrect output, not just on "factorial (value=2)".
28008
28009Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28010
28011 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
28012 working now. Add an xfail if accesing a bss variable causes
28013 a memory error if the target is not yet run.
28014
28015Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28016
28017 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
28018 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
28019 name of __st* demangling (2 strings). Did Kung really get the
28020 more than 95 others right without testing them?
28021
28022Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
28023
28024 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
28025
28026Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
28027
28028 * configure.in (configdirs): Add gdb.disasm
28029 * gdb.disasm: New directory for GDB disassembler tests.
28030 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
28031
28032Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28033
28034 * gdb.t00/help.exp: Don't test "help set".
28035
28036 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
28037 from within expect statements. None of these happen anymore and
28038 they cause regressions to be silently unnoticed.
28039
28040 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
28041 messages) about known failures with gcc cygnus-2.4.5-930417.
28042
28043 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
28044 comp-info.exp so it gets built if it doesn't exist.
28045
28046 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
28047 it is no longer used.
28048 * gdb.t13/comp-info.c: Removed.
28049
28050Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
28051
28052 * gdb.t06/signals.exp: Add xfail for sun3.
28053
28054Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28055
28056 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
28057 relevant because ^C doesn't get sent but failure can be reproduced
28058 interactively).
28059
28060Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28061
28062 * gdb.stabs/alpha.mt: New configuration file for alpha.
28063 * gdb.stabs/configure.in: Use it.
28064 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
28065 sharing with alpha.mt, redefine long to word via preprocessor.
28066 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
28067 for alpha.
28068 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
28069 native cc.
28070 * gdb.t00/teststrategy.exp: Change expect string so that we
28071 consume the `(xgdb)' from the command echo and from the gdb prompt.
28072 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
28073 gdb currently compares all values as long, so this failure probably
28074 applies to any configuration where LONGEST is bigger than a target int.
28075 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
28076 with gcc.
28077 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
28078 to handle opaque pointers, gcc is.
28079 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
28080 as first argument. Include <sys/types.h> and change all operator
28081 new definitions to use size_t.
28082 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
28083 now that we use size_t.
28084
28085Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28086
a9c64011 28087 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 28088 a long or float array cast all array members to the same type.
a9c64011 28089 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 28090 with 64 bit longs.
a9c64011 28091 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 28092 on alpha.
a9c64011 28093 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
28094
28095Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28096
28097 * gdb.t24 (demangle.exp): Constructors of templates have names like
28098 vector<int>::vector(int) not vector<int>::vector<int>(int). See
28099 section 14.6 of the ARM.
28100
28101 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
28102 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
28103 accomplish little and slow down the testsuite.
28104
28105 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
28106 Accept spaces various places.
28107
28108Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28109
28110 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
28111 with watchpoint enabled.
28112
28113 * Makefile.in: Remove definition of CC and remove the second
28114 definition of CXX (the "CXX = gcc" one remains). These definitions
28115 were causing backquotes to be expanded within backquotes, which
28116 doesn't work.
28117
28118Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
28119
28120 * gdb.t17/callfuncs.exp: Add "return 0" to end.
28121
28122Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28123
a9c64011
AS
28124 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
28125 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
28126 by mips cc and contains no stabs entries.
28127
28128Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
28129
28130 * config/vx-gdb.exp: Use fake device to load files rather than
28131 NFS.
28132 * lib/gdb.exp: New proc to do "file" command.
28133 * config/unix-gdb.exp: Use new "file" proc.
28134
28135Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
28136
28137 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
28138 Rework board rebooting slightly.
28139 (gdb_exit): Don't exit from the remote shell; there isn't one.
28140 * gdb.stabs/weird.exp: If a program is being debugged already,
28141 kill it.
28142 * gdb.t04/setvar.exp: Stop and restart gdb.
28143 * gdb.t05/expr.exp: Likewise.
28144 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
28145 restart gdb and reload the program.
28146 * gdb.t08/opaque.exp: Likewise.
28147 * gdb.t12/scope.exp: Likewise.
28148 * gdb.t13/bitfields.exp: Likewise.
28149 * gdb.t15/funcargs.exp: Likewise.
28150 * gdb.t20/classes.exp: Likewise.
28151 * gdb.t03/ptype.exp: Increase timeout.
28152 * gdb.t16/printcmds.exp (test_print_string_constants,
28153 test_print_array_constants): Likewise.
28154 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
28155 * gdb.t20/classes.exp (do_tests): Likewise.
28156 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
28157
28158Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
28159
28160 * gdb.stabs: Renamed *wierd* to *weird*.
28161
28162Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
28163
28164 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
28165 for timeout. Add "known gcc 2.4.5 bug" to failure message.
28166
28167Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
28168
28169 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
28170 (do_tests): Remove xfail for whatis on one_var and two_var.
28171
28172Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
28173
28174 * Makefile.in: Made cross building work better by adding
28175 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
28176
28177Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28178
28179 * gdb.t15/{return.c,return.exp,Makefile.in}:
28180 New test, currently commented out.
28181
28182Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
28183
28184 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
28185 still running and removes the leftover named socket so GDb can do
28186 clean restarts.
28187
28188Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
28189
28190 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
28191 console, not GDB.
28192 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
28193 cross testing works better with "make check"
28194 * config/unix-gdb: Use default procedures for exit and version.
28195 * config/vx-gdb.exp: Cleaned up and massaged back to working order
28196 with the newest VxWorks.
28197
28198Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28199
28200 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
28201 old form.
28202
28203 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
28204 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
28205
28206 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
28207
28208 * config/unix-gdb.exp: Remove this version of gdb_exit
28209 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
28210 Rob says he'll look at it when he gets back to testing boards.
28211
28212Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
28213
28214 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
28215 an expected fail for certain ptype commands.
28216
28217 * gdb.t20/classes.exp: Update expected results of "ptype class
28218 Base1" to account for the constructor that now appears in the type.
28219
28220Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
28221
28222 * configure.in (configdirs): Restore gdb.t04, which mysteriously
28223 disappeared from list.
28224 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
28225 "alldone" proc with call to cleanup and exit.
28226 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
28227 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
28228 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
28229 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
28230 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
28231 "alldone" proc with simple returns that suppress remaining
28232 tests. The alldone proc went away many months ago.
28233
28234Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28235
28236 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
28237
28238 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
28239
28240Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28241
28242 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
28243 as vax gdb will display them.
28244
28245Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28246
28247 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
28248 optimizers.
28249
28250 * scope.exp: Change "bad value for localval" messages so each one
28251 is unique.
28252
28253 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
28254 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
28255
28256 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
28257
28258Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28259
28260 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
28261 doesn't exist (due to optimization).
28262
28263Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28264
28265 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
28266 contains \r because the filename is long.
28267
28268 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
28269 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
28270
28271Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28272
28273 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
28274 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
28275 Ultrix.
28276 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
28277 int tests.
28278 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
28279
28280Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
28281
28282 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
28283
28284 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 28285 to match does not match the passing case but still matches the
c906108c
SS
28286 failing case.
28287
28288Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28289
28290 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
28291
28292Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
28293
28294 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
28295 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
28296 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
28297 Remove various versions of gdb_exit.
28298 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
28299 gdb_exit.
28300 * config/unix-gdb.exp: gdb_exit remains here, and should override
28301 the generic version, since it's doing a lot of wierd stuff that
28302 the other versions aren't. FIXME, fold it in, or abandon this
28303 version.
28304
28305Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28306
28307 * gdb.t24/demangle.exp: Add tests for PR 3220.
28308
28309Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28310
28311 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
28312
28313Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
28314
28315 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
28316 "i386-*-*". Works for i486 as well.
28317
28318 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
28319 bug, and expand domain of xfail to all SVR4 systems, since the
28320 actual problem is likely to be in generic SVR4 /proc support.
28321
28322Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28323
28324 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
28325
28326Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
28327
28328 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
28329 xfails for other systems. Match a missing 'Continuing.' as an
28330 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
28331
28332 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
28333 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
28334 Only issue warning for missing executables if -all option is used.
28335
28336 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
28337 file if -all option is used. It's like an unpredictable XFAIL.
28338
28339Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28340
28341 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
28342 for dynamically linked binaries.
28343
28344 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
28345
28346Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28347
28348 * gdb.t20/inherit.exp: Change message for "print tagless struct"
28349 to state that this is a known bug in old versions of g++.
28350
28351Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28352
28353 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
28354 while waiting for `Continuing'.
28355
28356Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
28357
28358 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
28359 in text, data, and bss.
28360 * gdb.t10/nodebug.c: Add local and global test variables for
28361 initialized and uninitialized data.
28362
28363Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28364
28365 * config/unix-gdb.exp (gdb_exit): Add "wait".
28366
28367Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28368
28369 * gdb.t06/signals.exp: xfail the continue from the handler for all
28370 targets.
28371
28372 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
28373 function with watchpoints enabled, the i386 call dummy starts with
28374 a call.
28375
28376 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
28377 386 bsd names its corefiles.
28378
28379Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
28380
28381 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
28382 compilers don't grok it.
28383 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
28384 with small octal ints rather than character constants, which
28385 are signed and might not fit if first promoted to int.
28386
28387Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
28388
28389 * gdb.t09/Makefile.in (clean): Remove corefile.
28390
28391Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28392
28393 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
28394
28395Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28396 and Jim Kingdon (kingdon@cygnus.com)
28397
28398 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
28399 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
28400 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
28401
28402Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28403
28404 * gdb.t17/interrupt.exp: Add xfail for hppa.
28405
28406Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28407
28408 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
28409 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
28410 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
28411 to determine signed-ness of bitfields and use the result to setup
28412 the xfail.
28413 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
28414 * gdb.t15/funcargs.exp: Use them to step until the second indirect
28415 call line is reached if necessary.
28416
28417Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28418
28419 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
28420
28421Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28422
28423 * gdb.t06/break.exp: Also test `clear' command.
28424
28425Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
28426
28427 * gdb.t00/teststrategy.exp: Remove extra quote.
28428
28429 * gdb.t07/watchpoint.exp: Change xfail for calling function with
28430 watchpoint enabled to be for all non-68k machines.
28431
28432 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
28433
28434Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28435
28436 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
28437 targets use aout.mt instead of ecoff.mt as gas understands
28438 standard aout format.
28439
28440Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
28441
28442 * lib/gdb.exp (runto): Don't insist that function we are running to
28443 was compiled with -g.
28444
28445 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
28446
28447 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
28448 to get back into the read system call.
28449 Accept leading newline in case where we woke it up.
28450
28451Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28452
28453 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
28454 to make the stabs test work on ecoff systems using gcc and -with-stabs.
28455 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
28456 enable ecoff configuration.
28457
28458Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28459
28460 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
28461
28462Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28463
28464 * gdb.t16/printcmds.exp: Add another printf test.
28465
28466Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
28467
28468 * configure.in: If configured -with-stabs on any target, add
28469 stabsdirs to configdirs.
28470
28471Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28472
28473 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
28474 fun" so pattern does not match the command itself.
28475
28476Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28477
28478 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
28479
28480Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28481
28482 * gdb.t17/interrupt.exp: Test for more things.
28483
28484Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28485
28486 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
28487 compiler arranges the code and line numbers.
28488
28489 * gdb.t17/interrupt.exp: Don't send \n after ^C.
28490
28491Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28492
28493 * gdb.t00/help.exp: Increase expect input buffer size.
28494
28495Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28496
28497 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
28498
28499 * gdb.t07/watchpoint.exp: Add xfail for hppa.
28500
28501 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
28502
28503 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
28504 [0-9]*, not just [0-9].
28505
28506Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28507
28508 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
28509
28510 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
28511
28512Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28513
28514 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
28515
28516Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28517
28518 * gdb.t06/signals.c: Add xfails for sun3.
28519
28520 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
28521
28522 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
28523 test_stepping tests.
28524
28525Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28526
28527 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
28528
28529 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
28530
28531 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
28532 rather than actually putting it through cpp twice.
28533
28534 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
28535
28536Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
28537
28538 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
28539 no longer needed.
28540
28541Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28542
28543 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
28544
28545 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
28546 C++ features prints as "struct", make it a pass, not an xfail.
28547
28548Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28549
28550 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
28551 Don't require VA to print as "class" rather than "struct".
28552
28553Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
28554
28555 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
28556
28557Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28558
28559 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
28560
28561Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28562
28563 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
28564 order.
28565
28566Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28567
28568 * gdb.t16/printcmds.exp: Add printf tests.
28569
28570 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
28571
28572 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
28573
28574Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
28575
28576 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
28577 pass counts, to counteract any existing or future setup_xfails.
28578
28579Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28580
28581 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
28582 {BEGIN,END}_COMMON for common block instead of STAB.
28583 * gdb.stabs/wierd.exp: Add xfail for rs6000.
28584
28585 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
28586 intp_var should be N_GSYM not N_LSYM.
28587 wierd-aout.S: Use a label for the value of the N_SO.
28588 wierd.def: Remove all backslashes.
28589 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
28590
28591Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28592
28593 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
28594 get the expected next to inheritance3.
28595
28596Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28597
28598 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
28599 now that gcc-2.4 gets it right.
28600
28601Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28602
28603 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
28604
28605 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
28606 generating comp-info.exp which works for cross-compilation.
28607
28608Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
28609
28610 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
28611 "*-*-sysv4.*".
28612
28613Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
28614
28615 * gdb.t01/run.exp: Start with a fresh gdb.
28616 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
28617 SVR4.x.
28618
28619Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
28620
28621 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
28622 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
28623 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
28624 Makefile.in (distclean, realclean): Remove gdbme.c from list of
28625 things to remove.
28626
28627Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
28628
28629 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
28630 test cases from bug reports.
28631
28632Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
28633
28634 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
28635 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
28636 avoid spurious xfails.
28637 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
28638 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
28639 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
28640
28641Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
28642
28643 * gdb.t00/teststrategy.exp: Rework to provide more useful
28644 description of each test, fix problem with systems that define
28645 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
28646 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
28647 results for "next over recursive call" so timeouts aren't taken
28648 by error.
28649
28650Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
28651
28652 * gdb.t12/scope.exp: Test printing of variables before run.
28653
28654 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
28655 printed in wrong order due to sorting.
28656
28657Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
28658
28659 * gdb.t00/teststrategy.exp: Fix expected results for printing
28660 user entered string constant. Is array of char, prints with no
28661 address.
28662
28663 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
28664 commands.
28665 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
28666 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
28667 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
28668 of struct of char arrays.
28669 * gdb.t00/radix.exp: New tests for radix commands.
28670
28671Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
28672
28673 * gdb.t16/printcmd.exp: Print a variable before running program
28674 (with xfail for AIX).
28675
28676Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
28677
28678 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
28679
28680 * gdb.t16/printcmd.exp: Don't print variables before running program.
28681
28682 * gdb.t06/break.exp: Don't require envp argument to main.
28683
28684 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
28685
28686 * gdb.t02/whatis.exp, gdb.t11/list.exp:
28687 Add xfails for rs6000.
28688
28689 * gdb.t02/whatis.exp: Change other tests not to re-test something
28690 we already tested.
28691
28692 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
28693 each type used has a variable of that type.
28694
28695Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
28696
28697 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
28698
28699Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
28700
28701 * configure.in: change srctrigger to be a file, not a directory
28702
28703Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
28704
28705 * configure.in (mips-idt-ecoff*): Added trailing '*'.
28706
28707 * gdb.t11/list.exp: Fixed a couple of typos.
28708
28709Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
28710
28711 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
28712 is fixed and PR is closed.
28713 * gdb.t16 (gdbme.c): Add simple test string variable.
28714 * gdb.t16 (printcmds.exp): Add tests with simple test string
28715 variable, primarily for boundaries on "set print elements".
28716
28717Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
28718
28719 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
28720 Make leading 0's optional and don't expect a tab in the middle
28721 of the number.
28722
28723 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
28724
28725 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
28726 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
28727 don't end command passed to gdb_test with newline.
28728
28729 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
28730 signed keyword away, don't expect signed bitfields to be signed.
28731
28732 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
28733 printing with only as many 1's as are in the field as well as printing
28734 with 32 1's (see comment).
28735
28736Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
28737
28738 * gdb.t00/default.exp: Start with a fresh gdb.
28739 * configure.in (configdirs): Remove gdb.t31 until the chill
28740 compiler works again. It no longer is able to find chillrt0
28741 since it isn't in libchill.a anymore.
28742 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
28743 wierd.o, make more modular.
28744 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
28745 spurious newlines that caused problems.
28746
28747Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28748
28749 * Move test with enums and partial symbols from gdb.t03/ptype.exp
28750 to gdb.stabs/wierd.exp since GCC has worked around the bug.
28751 gdb.stabs/wierd.{exp,def}: Many new tests.
28752
28753 * gdb.t00/default.exp: update info line for new message.
28754
28755 * gdb.t02/{whatis.exp,gdbme.c}:
28756 Test that "char *" doesn't print as "caddr_t".
28757
28758Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28759
28760 * gdb.t00/help.exp: Use .* in place of some help messages which
28761 just changed.
28762 gdb.t00/default.exp: Update "info frame" test for new message.
28763 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
28764 Remove some xfails
28765
28766Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28767
28768 * gdb.t03/{gdbme.c,ptype.exp}:
28769 Add tests for typedef'd struct and union without tags.
28770 Also check "whatis" on a variable of a typedef'd enum without a tag.
28771
28772 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
28773 PRMS 1823; the bug still exists but isn't reproduced by this test
28774 anymore), and remove rs6000 XFAIL (the bug is fixed).
28775
28776 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
28777 duplicated from whatis.exp. For those that are left, accept
28778 "long", "long int", or "int" for long variables (whatis.exp already
28779 has an XFAIL for "int", so no need to fail it here).
28780
28781 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
28782 Deal with GCC's names for types now that GDB uses the compiler's names.
28783
28784 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
28785 setup_xfail's for sunos4. If we #defined the signed keyword away,
28786 don't expect GDB to know that char it is signed.
28787
28788 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
28789
28790Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
28791
28792 * configure.in (configdirs): Add gdb.t24 for C++ tests that
28793 should work on any system, regardless of debugging format.
28794 * gdb.t21/demangle.exp: Move to gdb.t24.
28795 * gdb.t24/demangle.exp: Move from gdb.t21.
28796 * gdb.t24/{Makefile.in, configure.in}: New files.
28797
28798Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28799
28800 * configure.in: Do gdb.stabs and C++ tests only for stabs.
28801 * gdb.stabs: New directory.
28802
28803Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28804
28805 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
28806 not just "Quit anyway?".
28807
28808Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
28809
28810 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
28811 that all setup_xfails are immediately followed by clear_xfails.
28812
28813Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
28814
28815 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
28816 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
28817 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
28818 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
28819 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
28820 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
28821 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
28822 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
28823 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
28824 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
28825 gdb.t31/chillvars.exp, lib/gdb.exp:
28826 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
28827 bug-gdb@prep.ai.mit.edu.
28828
28829Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
28830
28831 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
28832 with 0.0, not integer 0.
28833
28834Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
28835
28836 * gdb.t06/break.exp: Update for "Kill the program" message change.
28837
28838Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
28839
28840 * Makefile.in (GDBFLAGS): Set to -nx.
28841 * Makefile.in (site.exp): Use GDBFLAGS.
28842
28843Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
28844
28845 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
28846 Makefiles.
28847 (check): depend on just-check.
28848 (just-check): added so that tests can be run without a noop
28849 build pass.
28850
28851Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
28852
28853 Switch to using configure's configdirs.
28854 * Makefile.in (Makefile): add configure.in dependency.
28855 (SUBDIRS): removed redundant assignment.
28856 * configure.in: switch subdirs assignment to configdirs.
28857 * gdb.t*/configure.in: new files.
28858
28859Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
28860
28861 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
28862 works.
28863
28864Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
28865
28866 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
28867 in explicit rules. Apparently this is not supported by some makes.
28868
28869Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
28870
28871 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
28872
28873Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28874
28875 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
28876 disappeared.
28877
28878Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
28879
28880 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
28881
28882Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
28883
28884 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
28885 watchpoint problem that is now fixed.
28886 * gdb.t30/chexp.exp: Remove setup_xfail for printing
28887 uninitialized convenience variables.
28888 * gdb.t31/chillvars.exp: Fix expected patterns for printing
28889 structures.
28890
28891Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28892
28893 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
28894 which causes expect to get out of sync with gdb on long output
28895 from help set.
28896 * gdb.t09/corefile.exp: Make expected pattern for core file
28897 failing signal and frame output format less sun specific.
28898
28899Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
28900
28901 * gdb.t31/chillvars.exp: Add and remove initial dummy
28902 breakpoint, so that symbol table is forced in.
28903 (Needed at least on Sunos4, though it seems not SVR4.)
28904 * gdb.t31/chillvars.exp: Update for changed output format.
28905
28906Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
28907
a9c64011 28908 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
28909
28910Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
28911
28912 * Makefile.in: Added --srcdir when invoking runtest, removed the
28913 need for a local config file. (optional now)
28914
28915Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
28916
28917 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
28918 failure count used to force early termination. Add some more
28919 expected failures for gnu style demangling.
28920
28921Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28922
28923 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
28924 pmi variable from gdb.t20/gdbme to get optimized away.
28925 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
28926 Check for written corefile upon timeout _and_ eof.
28927
28928Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28929
28930 * config/unix-gdb.exp: Add missing return 0.
28931
28932Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28933
28934 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
28935 test termination.
28936
28937Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
28938
28939 * configure.in (subdirs): Put back gdb.t17 which mysteriously
28940 disappeared.
28941
28942Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
28943
28944 * gdb.t10/crossload.exp: Disable the i860-elf test until such
28945 time as i860 support works.
28946
d63a86f8 28947 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
28948 "backtrace 100\r" rather than just "backtrace\r", to match last
28949 change.
28950
28951Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
28952
28953 * config/udi-gdb.exp (gdb_exit): Remove close command.
28954 (gdb_target_udi): New procedure to set the UDI target.
28955 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
28956 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
28957 Added waits for prompts after several question responses. Added
28958 some more responses used by a29k-amd-udi-gdb.
28959 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
28960 pass different arguments, restart UDI connection after program
28961 completion.
28962 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
28963 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
28964 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
28965 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
28966 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
28967 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
28968 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
28969 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
28970 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
28971 after program completion.
28972 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
28973 compiled with a SELECT_VECS setting.
28974 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
28975 infinite recursion.
28976
28977 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
28978 Added checks for COFF results, and made them expected failures for
28979 all targets. It would be better to make them expected failures
28980 for COFF targets only.
28981
28982Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
28983
28984 * Makefile.in: add null dvi target, don't bother to recurse
28985 through test directories for info and install-info; rename
28986 $(datadir) to be dejagnu instead of deja-gnu
28987
28988Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
28989
28990 * gdb.t31/gdbme.ch: Re-enable code that previously caused
28991 compiler to coredump.
28992 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
28993 code.
28994
28995Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
28996
28997 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
28998 coredump.
28999 * gdb.t31/chillvars.exp: Comment out tests that depend on that
29000 code.
29001
29002Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
29003
29004 * gdb.t03/ptype.exp: tests for return code from gdb_test.
29005 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
29006 which in a shell. Deletes xgdb when done.
29007 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
29008 Tests the return from the "set height" or "set width" commands.
29009 Added a few return codes where needed.
29010
29011Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
29012
29013 * Makefile.in (SUBDIRS): Add gdb.t17.
29014 * configure.in (subdirs): Add gdb.t17.
29015 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
29016 files to test gdb's calling of functions in the inferior with
29017 the correct arguments and gdb's ability to retrieve any
29018 result returned.
29019
29020Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
29021
29022 * config/unix-gdb.exp (gdb_exit): Remove close commands that
29023 may be called after gdb goes away. Previous versions of expect
29024 needed these to avoid file descriptor leaks, but they cause
29025 errors with the current revision of expect.
29026 * gdb.t00/gdbvars.exp: Use -re on expected output after
29027 setting sevenbit-strings.
29028 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
29029 to set sevenbit-strings consistent across tests.
29030 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
29031 set sevenbit-strings consistent across tests.
29032
29033Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
29034
29035 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
29036 expected output to match current "expect" expectations.
29037
29038Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
29039
29040 * gdb.t00/default.exp: Change expected output for default "source"
29041 command, to match new gdb behavior which requires a filename to
29042 source.
29043
29044Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
29045
29046 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
29047 expected fail for i486-*-* that misses the marker2 function.
29048 * gdb.t10/crossload.exp (bfddefault): Allow successful
29049 recognition of a format to pass even if no symbols are found.
29050 Explicitly catch failures where the format is not recognized
29051 or is ambiguous, and add the reason to the fail message.
29052 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
29053 the cause is and invalid target and add reason to failure message.
29054 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
29055 elf32-i386, elf32-sparc, and elf32-i860.
29056 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
29057 Set up expected failure for 'filename'::variable scope resolution,
29058 which is now apparently broken on all targets.
29059 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
29060 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
29061 gdb.t23/templates.exp: Change failure for missing binfile into
29062 just a warning.
29063 gdb.t21/demangle.exp: Change all cfront references to 'arm'
29064 references.
29065
29066Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
29067
29068 * gdb.t00/default.exp: Add expected output for default "source"
29069 command, to match new gdb behavior.
29070 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
29071
29072Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
29073
29074 * config/*-gdb.exp: returns an error, rather than exiting on
29075 internal errors.
29076
29077Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
29078
29079 * gdb.t03/gdbme.c: Add pointer to struct variable.
29080 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
29081 referencing struct members.
29082
29083Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
29084
29085 * configure.in (mips-idt-ecoff): New target.
29086 * config/mips-gdb.exp: New file for remote board using MIPS remote
29087 debugging protocol.
29088
29089 * Redid configuration scheme. Removed gdb.t*/configure.in.
29090 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
29091 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
29092 distclean targets. Built executables via .o files. Adjusted
29093 tests to account for source files in $(srcdir) rather than
29094 $(objdir).
29095 * lib/gdb.exp (runto): Don't expect () after the function name,
29096 because it may have arguments.
29097
29098Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
29099
29100 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
29101 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
29102 expected failures for mips-idt-* and mips-sgi-*.
29103 * gdb.t00/default.exp (attach): Kill process if requested.
29104 * gdb.t00/help.exp (help target core, help target): Accept a gdb
29105 that does not read core files.
29106 * gdb.t01/run.exp: Removed checks for exit status code.
29107 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
29108 it is linked in.
29109 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
29110 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
29111 appropriate, rather than doing it by hand.
29112 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
29113 execution.
29114 * gdb.t10/crossload.exp: Kill existing program if needed.
29115 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
29116 appropriate, rather than doing it by hand. Always increase
29117 timeout for this test, not just for VxWorks.
29118
29119Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
29120
29121 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
29122 of Chill STRUCT types and STRUCT values.
29123 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
29124 than "char".
29125 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 29126 struct2): New struct definitions and initializations to test
c906108c
SS
29127 simple Chill STRUCT types.
29128
29129Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
29130
29131 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
29132 the null byte at the end of strings.
29133 * gdb.t00/default.exp: Make show version insensitive to copyright
29134 date.
29135 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
29136 to avoid dependencies on target char signedness.
29137 * gdb.t16/printcmds.exp: Update expected results for explicitly
29138 unsigned char.
29139 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
29140 now work.
29141 * gdb.t21/demangle.exp: Add many more patterns for template
29142 demangling, most of them being expected failures.
29143 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
29144 string we are matching for, to match on the whole string.
29145 * gdb.t21/demangle.exp: Add many new test strings to demangle,
29146 and fix a whole bunch that had incorrect expected output but were
29147 passing anyway because of the bug in "proc demangle".
29148 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
29149 type.
29150 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
29151
29152Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
29153
a9c64011
AS
29154 * gdb/testsuite: made modifications to testcases, etc., to allow
29155 them to work properly given the reorganization of deja-gnu and the
29156 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
29157
29158Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
29159
29160 * gdb/testsuite: Initial creation of gdb/testsuite.
29161 Migrated dejagnu testcases and support files for testing nm to
29162 gdb/testsuite from deja-gnu. These files were moved "as is"
29163 with no modifications. This migration is part of a major overhaul
29164 of dejagnu. The modifications to these testcases, etc., which
29165 will allow them to work with the new version of dejagnu will be
29166 made in a future update.
48efe704 29167
8d8cb839 29168 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 29169\f
8d8cb839
EZ
29170;; Local Variables:
29171;; mode: change-log
29172;; left-margin: 8
29173;; fill-column: 74
29174;; version-control: never
29175;; End:
902f2ccb 29176
0b302171 29177 Copyright 1993-2005, 2012 Free Software Foundation, Inc.
902f2ccb
MC
29178 Copying and distribution of this file, with or without modification,
29179 are permitted provided the copyright notice and this notice are preserved.